JP2012027367A - Focus detector - Google Patents

Focus detector Download PDF

Info

Publication number
JP2012027367A
JP2012027367A JP2010168029A JP2010168029A JP2012027367A JP 2012027367 A JP2012027367 A JP 2012027367A JP 2010168029 A JP2010168029 A JP 2010168029A JP 2010168029 A JP2010168029 A JP 2010168029A JP 2012027367 A JP2012027367 A JP 2012027367A
Authority
JP
Japan
Prior art keywords
pixel
detection
control unit
range
focus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2010168029A
Other languages
Japanese (ja)
Inventor
Tetsuhisa Kikuchi
哲央 菊地
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 Imaging Corp
Original Assignee
Olympus Imaging 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 Imaging Corp filed Critical Olympus Imaging Corp
Priority to JP2010168029A priority Critical patent/JP2012027367A/en
Publication of JP2012027367A publication Critical patent/JP2012027367A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a focus detector with which the pixel arrangement corresponding to the dense focal position in the imaging area can be performed and the monitoring region of the focal detection processing can be flexibly selected even in the multiple focal detection system.SOLUTION: A camera system according to the present invention has a focal detection mechanism which sets the detection area of pixel output respectively for a plurality of pixel columns in a area sensor position 27, makes the maximum detection circuits C1 to C14 select the pixel output corresponding to the detection range set from the pixel output of the pixel columns of the area sensor position 27 as valid signals, and controls the pixel accumulation of each pixel columns by detecting the output of pixels selected by the maximum detection circuits C1 to C14 as valid signals.

Description

本発明は、例えば撮像装置に設けられる焦点検出装置に関する。   The present invention relates to a focus detection apparatus provided in an imaging apparatus, for example.

カメラの焦点検出方式に関して、撮影レンズを通過した光束を一対の光電変換素子上に導き、その出力に対して積分制御を含む焦点検出演算を行うことで撮影レンズのデフォーカス量を検出するTTL位相差自動焦点検出(AF)方式は、一般に、一眼レフレックスカメラにおいて多く採用されている。また、最近の一眼レフレックスカメラは、撮影領域内の複数の焦点検出領域で焦点検出或いは測距を行うことも一般的となっている。   Regarding the camera focus detection method, the TTL position that detects the defocus amount of the photographing lens by guiding the light beam that has passed through the photographing lens onto a pair of photoelectric conversion elements and performing focus detection calculation including integration control on the output of the light beam. In general, the phase difference automatic focus detection (AF) method is widely used in single-lens reflex cameras. In addition, recent single-lens reflex cameras generally perform focus detection or distance measurement in a plurality of focus detection areas in the imaging area.

このような複数の測距点を実現するために、複数の画素からなる光電変換素子列を密に配置する。そして、これらの複数の光電変換素子列をそれぞれ測距に最適な蓄積時間で制御するために、蓄積制御は、ラインごと(光電変換素子列毎)に行う必要がある。   In order to realize such a plurality of distance measuring points, photoelectric conversion element arrays composed of a plurality of pixels are densely arranged. In order to control each of the plurality of photoelectric conversion element arrays with an accumulation time optimum for distance measurement, it is necessary to perform accumulation control for each line (for each photoelectric conversion element array).

ここで、効率的かつ正確に積分制御を行うために、モニタ用の画素として、1ライン全てに対応する画素とは別に、1ラインの一部に対応する複数の画素を配置し、いずれかを選択して蓄積制御を行う焦点検出装置が提案されている(たとえば、特許文献1参照)。   Here, in order to perform integration control efficiently and accurately, a plurality of pixels corresponding to a part of one line are arranged as monitor pixels, apart from pixels corresponding to all one line, There has been proposed a focus detection device that selectively controls accumulation (see, for example, Patent Document 1).

また、一眼レフレックスカメラに搭載される場合には1ライン全ての画素を用い、レンズシャッタカメラに搭載される場合には1ラインの一部の画素のみを用いて蓄積制御を行う焦点検出装置が提案されている(たとえば、特許文献2参照)。   Further, there is a focus detection device that performs accumulation control using all pixels in one line when mounted on a single-lens reflex camera, and using only some pixels of one line when mounted on a lens shutter camera. It has been proposed (see, for example, Patent Document 2).

特開平9−121311号公報Japanese Patent Application Laid-Open No. 9-121311 特開平10−39203号公報Japanese Patent Laid-Open No. 10-39203

しかしながら、特許文献1記載のものは、1ライン分の画素以外にも1ラインの一部に対応する複数の画素も配置するために、1ライン以上の幅が必要となり、画素配置が効率的ではない。また、特許文献2記載のものは、レジスタを用いて、搭載されるカメラのAF方式に合わせてモニタ画素を替えるものであり、多点のAFセンサにそのまま適用することができない。   However, in the device described in Patent Document 1, a plurality of pixels corresponding to a part of one line other than the pixels for one line are arranged, so that a width of one line or more is necessary, and the pixel arrangement is not efficient. Absent. In addition, the device described in Patent Document 2 uses a register to change monitor pixels in accordance with the AF method of the mounted camera, and cannot be applied to a multipoint AF sensor as it is.

そして、特許文献1,2のいずれに記載されたものにおいても、撮影画面内に密に配置される合焦位置に対応させた画素配置を実現することができない。また、蓄積制御のためのモニタ画素として、1ライン全ての画素、あるいは、予め決められた一部の画素のみのいずれかを設定できるにすぎない。   Further, in any of those described in Patent Documents 1 and 2, it is not possible to realize a pixel arrangement corresponding to a focus position that is densely arranged in the photographing screen. In addition, as the monitor pixels for accumulation control, it is only possible to set all the pixels in one line or only some of the predetermined pixels.

本発明は、上記に鑑みてなされたものであって、撮影画面内の密な合焦位置に対応する画素配置を可能とし、かつ、多点合焦検出方式においても焦点検出処理のモニタ範囲を柔軟に選択できる焦点検出装置を実現することを目的とする。   The present invention has been made in view of the above, and enables a pixel arrangement corresponding to a dense in-focus position in a photographing screen, and also provides a monitor range for focus detection processing even in a multi-point in-focus detection method. An object of the present invention is to realize a focus detection device that can be selected flexibly.

上述した課題を解決し、目的を達成するために、本発明にかかる焦点検出装置は、複数画素から構成される画素列を複数有するエリアセンサを有し、前記画素列ごとに画素の出力を検出して前記画素列に含まれる画素の蓄積制御を行い、検出した前記画素の出力に基づいて焦点検出を行う焦点検出装置において、前記エリアセンサの複数の画素列のそれぞれに画素出力の検出範囲を設定する検出範囲設定手段と、前記検出範囲設定手段が設定した検出範囲に対応する画素の出力を有効信号として選択する検出範囲制御手段と、前記検出範囲制御手段が有効信号として選択した画素の出力を検出して前記画素列の画素の蓄積を制御する蓄積制御手段と、を有することを特徴とする。   In order to solve the above-described problems and achieve the object, a focus detection apparatus according to the present invention includes an area sensor having a plurality of pixel columns each including a plurality of pixels, and detects an output of the pixel for each pixel column. Then, in a focus detection device that performs accumulation control of pixels included in the pixel column and performs focus detection based on the detected output of the pixel, a detection range of pixel output is provided for each of the plurality of pixel columns of the area sensor. A detection range setting means for setting, a detection range control means for selecting an output of a pixel corresponding to the detection range set by the detection range setting means as an effective signal, and an output of the pixel selected by the detection range control means as an effective signal And accumulation control means for controlling accumulation of pixels in the pixel column.

また、この発明にかかる焦点検出装置は、前記画素ごとに、前記検出範囲制御手段の制御のもとで前記画素と前記蓄積制御手段とを電気的に接続あるいは切断するスイッチを備えることを特徴とする。   The focus detection apparatus according to the present invention includes a switch for electrically connecting or disconnecting the pixel and the accumulation control unit for each pixel under the control of the detection range control unit. To do.

また、この発明にかかる焦点検出装置は、合焦目標位置の手動選択あるいは自動選択を設定でき、前記検出範囲設定手段は、前記手動選択が設定されたときには直近の焦点検出で検出された前回デフォーカス量に応じて検出範囲を設定することを特徴とする。   In addition, the focus detection apparatus according to the present invention can set manual selection or automatic selection of the focus target position, and the detection range setting means can detect the previous time detected by the most recent focus detection when the manual selection is set. A detection range is set according to the focus amount.

また、この発明にかかる焦点検出装置は、前記検出範囲設定手段は、前記前回デフォーカス量の絶対値が所定値より小さい場合、前記画素列中の合焦目標位置を含む一部領域である所定の標準検出領域を前記検出範囲として設定し、前記前回デフォーカス量の絶対値が所定値より大きい場合、前記標準検出領域よりも広い範囲を前記検出範囲として設定することを特徴とする。   In the focus detection apparatus according to the present invention, the detection range setting means may be a predetermined region that includes a focus target position in the pixel row when the absolute value of the previous defocus amount is smaller than a predetermined value. The standard detection region is set as the detection range, and when the absolute value of the previous defocus amount is larger than a predetermined value, a range wider than the standard detection region is set as the detection range.

また、この発明にかかる焦点検出装置は、前記検出範囲設定手段は、前記前回デフォーカス量の絶対値が所定値より大きい場合、前記標準検出領域に前記前回デフォーカス量に相当する画素領域を加えた領域を前記検出範囲として設定することを特徴とする。   In the focus detection apparatus according to the present invention, when the absolute value of the previous defocus amount is larger than a predetermined value, the detection range setting unit adds a pixel region corresponding to the previous defocus amount to the standard detection region. The region is set as the detection range.

また、この発明にかかる焦点検出装置は、合焦目標位置の手動選択あるいは自動選択を設定でき、前記検出範囲設定手段は、前記自動選択が設定されたとき、前記エリアセンサの全画素の出力結果をもとに合焦対象である主要被写体が占める範囲を検出し、検出した主要被写体が占める範囲を前記検出範囲として設定することを特徴とする。   The focus detection apparatus according to the present invention can set manual selection or automatic selection of a focus target position, and the detection range setting means outputs an output result of all pixels of the area sensor when the automatic selection is set. And a range occupied by the main subject to be focused is detected, and the range occupied by the detected main subject is set as the detection range.

また、この発明にかかる焦点検出装置は、前記蓄積制御手段は、前記検出範囲制御手段が選択した画素の蓄積中の出力のうち最大値が所定値を超えた場合に前記画素列の画素の蓄積を終了させることを特徴とする。   In the focus detection apparatus according to the present invention, the accumulation control unit accumulates the pixels in the pixel column when the maximum value among the accumulation outputs of the pixels selected by the detection range control unit exceeds a predetermined value. It is characterized by terminating.

本発明によれば、エリアセンサの複数の画素列のそれぞれに画素出力の検出範囲を設定する検出範囲設定手段と、画素列の画素出力のうち検出範囲設定手段が設定した検出範囲に対応する画素の出力を有効信号として選択する検出範囲制御手段と、モニタ範囲制御手段が有効信号として選択した画素の出力を検出して画素列の画素の蓄積を制御する蓄積制御手段とを備えることによって、撮影画面内の密な合焦位置に対応する画素配置を可能とし、かつ、多点合焦検出方式においても焦点検出処理のモニタ範囲を柔軟に選択できる。   According to the present invention, the detection range setting means for setting the detection range of the pixel output for each of the plurality of pixel columns of the area sensor, and the pixel corresponding to the detection range set by the detection range setting means among the pixel outputs of the pixel row A detection range control unit that selects the output of the pixel array as an effective signal, and an accumulation control unit that detects the output of the pixel selected by the monitor range control unit as the effective signal and controls the accumulation of the pixels in the pixel column. A pixel arrangement corresponding to a dense focus position in the screen can be made, and a monitor range for focus detection processing can be flexibly selected even in the multipoint focus detection method.

図1は、本発明の実施の形態のマルチAF方式の焦点検出装置が適用されるカメラシステムのAF周りの構成例を示す概略機構を含むブロック図である。FIG. 1 is a block diagram including a schematic mechanism showing a configuration example around an AF of a camera system to which a multi-AF type focus detection apparatus according to an embodiment of the present invention is applied. 図2は、AFセンサを含めてAF光学系の原理的な構成例を示す概略構成図である。FIG. 2 is a schematic configuration diagram showing an example of the basic configuration of the AF optical system including the AF sensor. 図3は、AFコントローラの構成例を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration example of the AF controller. 図4は、マルチ構成のAFセンサの配置例として、撮影画面上の測距点配置を示す概略正面図である。FIG. 4 is a schematic front view showing the arrangement of distance measuring points on the photographing screen as an example of the arrangement of multi-configuration AF sensors. 図5は、測距点の配置に対応するAFセンサのセンサチップ上での配置例を示す概略正面図である。FIG. 5 is a schematic front view showing an arrangement example of AF sensors on the sensor chip corresponding to the arrangement of distance measuring points. 図6は、最大値検出回路の構成例を示す回路図である。FIG. 6 is a circuit diagram showing a configuration example of the maximum value detection circuit. 図7は、実施の形態において設定される蓄積制御用のモニタ範囲を説明する図である。FIG. 7 is a diagram for explaining a monitor range for accumulation control set in the embodiment. 図8は、制御部の制御により実行される焦点検出・焦点補正動作例を示すフローチャートである。FIG. 8 is a flowchart showing an example of the focus detection / focus correction operation executed under the control of the control unit. 図9は、制御部の制御により実行される焦点検出・焦点補正動作例を示す概略フローチャートである。FIG. 9 is a schematic flowchart showing an example of a focus detection / focus correction operation executed under the control of the control unit. 図10は、図9に示す第1の焦点検出処理の処理手順を示すフローチャートである。FIG. 10 is a flowchart showing a processing procedure of the first focus detection process shown in FIG. 図11は、図9に示す第2の焦点検出処理の処理手順を示すフローチャートである。FIG. 11 is a flowchart illustrating a processing procedure of the second focus detection process illustrated in FIG. 9. 図12は、図11に示す主要被写体認識処理において得られるデフォーカス分布情報の一例を示す図である。FIG. 12 is a diagram showing an example of defocus distribution information obtained in the main subject recognition process shown in FIG. 図13は、図9に示す第3の焦点検出処理の処理手順を示すフローチャートである。FIG. 13 is a flowchart showing a processing procedure of the third focus detection processing shown in FIG.

以下に添付図面を参照して、本発明にかかる焦点検出装置の好適な実施の形態について説明する。本発明は、本実施の形態に限らず、本発明の趣旨を逸脱しない範囲であれば、種々の変形が可能である。   Exemplary embodiments of a focus detection apparatus according to the present invention will be described below with reference to the accompanying drawings. The present invention is not limited to this embodiment, and various modifications can be made without departing from the spirit of the present invention.

(実施の形態)
図1は、本実施の形態のマルチAF方式の焦点検出装置が適用されるカメラシステムの焦点検出(AF)機構周りの構成例を示す概略機構を含むブロック図である。ここでは、TTL位相差AF方式を一眼レフレックスカメラに適用した場合の例を示している。
(Embodiment)
FIG. 1 is a block diagram including a schematic mechanism showing a configuration example around a focus detection (AF) mechanism of a camera system to which the multi-AF focus detection apparatus of the present embodiment is applied. Here, an example in which the TTL phase difference AF method is applied to a single-lens reflex camera is shown.

まず、カメラ本体(図示せず)に着脱交換自在にマウントされる交換レンズ10は、撮影レンズ11を内蔵している。この撮影レンズ11をモータドライバ12により光軸方向に駆動することにより合焦状態が得られる。また、交換レンズ10は、レンズ制御部13を備える。このレンズ制御部13は、カメラ本体側からデフォーカス量を受信して撮影レンズ11の駆動量を演算し、その駆動量だけモータドライバ12を介して撮影レンズ11を駆動制御する。   First, an interchangeable lens 10 that is detachably mounted on a camera body (not shown) includes a photographing lens 11. An in-focus state is obtained by driving the photographing lens 11 in the optical axis direction by the motor driver 12. In addition, the interchangeable lens 10 includes a lens control unit 13. The lens control unit 13 receives the defocus amount from the camera body side, calculates the driving amount of the photographing lens 11, and drives and controls the photographing lens 11 via the motor driver 12 by the driving amount.

一方、カメラ本体内においては、撮影レンズ11の光軸上に位置させてメインミラー14が設けられている。このメインミラー14は、可動ミラー構成とされており、AF時は図示のようにダウンした位置に位置しており、撮影レンズ11を透過した光束をファインダ光学系16とAF光学系19とに分割する。メインミラー14が、被写体の撮影時には上方へアップ退避することにより、撮影レンズ11を透過した全光束が撮像素子24へ導かれる。   On the other hand, in the camera body, a main mirror 14 is provided on the optical axis of the taking lens 11. The main mirror 14 has a movable mirror configuration, and is positioned at a down position as shown in the figure during AF, and splits the light beam that has passed through the photographing lens 11 into a finder optical system 16 and an AF optical system 19. To do. The main mirror 14 retracts upward when photographing a subject, so that the total luminous flux transmitted through the photographing lens 11 is guided to the image sensor 24.

ここで、ファインダ光学系16は、周知のように、ペンタプリズム等の光学素子からなる。ファインダ光学系16の前段には、ファインダ用スクリーン15が配置される一方、ファインダ光学系16の後段には撮影者が覗くファインダ接眼レンズ17が配置されている。   Here, the finder optical system 16 includes an optical element such as a pentaprism as is well known. A finder screen 15 is disposed in front of the finder optical system 16, and a finder eyepiece 17 that is viewed by the photographer is disposed in the subsequent stage of the finder optical system 16.

また、撮影レンズ11の光軸方向に沿ってメインミラー14の後段側には、このメインミラー14がダウン位置に位置しているときにメインミラー14を透過した光束をAF光学系19側に全反射するサブミラー18が設けられている。このサブミラー18は、メインミラー14がアップ退避しているときには、撮像素子24への光束を遮らない位置にメインミラー14と一緒にアップ退避する。   Further, on the rear stage side of the main mirror 14 along the optical axis direction of the photographic lens 11, all the light beams transmitted through the main mirror 14 when the main mirror 14 is located at the down position are directed to the AF optical system 19 side. A reflecting sub-mirror 18 is provided. When the main mirror 14 is retracted up, the sub mirror 18 is retracted up together with the main mirror 14 at a position where the light flux to the image sensor 24 is not blocked.

また、カメラ本体には、メインミラー14により分割され、AF光学系19を経た光束を、内部の一対の光電変換素子列に入射して焦点検出のための信号を発生する光電変換素子であるAFセンサ20が設けられている。このAFセンサ20として、一対の光電変換素子列を複数の焦点検出領域ごとに持つマルチAFセンサが用いられている。   Further, the camera body is an AF that is a photoelectric conversion element that generates a signal for focus detection by entering a light beam split by the main mirror 14 and passing through the AF optical system 19 into a pair of internal photoelectric conversion element arrays. A sensor 20 is provided. As this AF sensor 20, a multi-AF sensor having a pair of photoelectric conversion element arrays for each of a plurality of focus detection areas is used.

さらに、カメラ本体内には、AF関係の制御を含む各部の制御処理や画像処理を司るシステムコントローラとして機能するマイクロコンピュータである制御部21が設けられている。この制御部21には、レンズ制御部13からは演算に必要なレンズデータが演算に先立って送信されている。また、制御部21は、レンズ制御部13に対してはAF演算結果であるデフォーカス量を送信する。   Further, the camera body is provided with a control unit 21 which is a microcomputer functioning as a system controller that controls control processing and image processing of each unit including control related to AF. Lens data necessary for the calculation is transmitted from the lens control unit 13 to the control unit 21 prior to the calculation. In addition, the control unit 21 transmits a defocus amount that is an AF calculation result to the lens control unit 13.

また、AFセンサ20と制御部21との間には、この制御部21により制御され、所定の指示情報をAFセンサ20に出力することによってAFセンサ20の制御を司るASIC構成を有するAFコントローラ22が設けられている。   Further, between the AF sensor 20 and the control unit 21, an AF controller 22 having an ASIC configuration that is controlled by the control unit 21 and controls the AF sensor 20 by outputting predetermined instruction information to the AF sensor 20. Is provided.

なお、図1において、撮像素子24としては2次元CCDが用いられているが、銀塩カメラの場合であればフィルムが相当する。この撮像素子24の前面にはフォーカルプレーンシャッタ23が設けられている。   In FIG. 1, a two-dimensional CCD is used as the image sensor 24, but a film corresponds to a silver salt camera. A focal plane shutter 23 is provided in front of the image sensor 24.

次に、AF光学系19とAFセンサ20の構成例について説明する。図2は、AFセンサ20を含めてAF光学系19の原理的な構成例を示す概略構成図である。AF光学系19は、公知のTTL位相差AF光学系の構成であるので、簡単に説明する。撮影レンズ11が合焦状態にあるときには、撮影レンズ11を透過した光束は、AF光学系19前面の仮想面である撮像等価面31で合焦し、コンデンサレンズ32で集光・分割されて一対のセパレータ絞り33で光束が絞られ、一対のセパレータレンズ34でAFセンサ20内の一対の光電変換素子列であるセンサアレイ35A,35B上に結像される。ここで、一対のセンサアレイ35A,35Bの結像間隔を測定することによって撮影レンズ11のデフォーカス量を測定する公知のTTL位相差AF方式が構築される。   Next, configuration examples of the AF optical system 19 and the AF sensor 20 will be described. FIG. 2 is a schematic configuration diagram showing an example of the basic configuration of the AF optical system 19 including the AF sensor 20. Since the AF optical system 19 has a configuration of a known TTL phase difference AF optical system, it will be briefly described. When the photographic lens 11 is in focus, the light beam transmitted through the photographic lens 11 is focused on the imaging equivalent surface 31 that is a virtual surface on the front surface of the AF optical system 19, condensed and divided by the condenser lens 32, and a pair. The light beam is narrowed by the separator diaphragm 33 and imaged on the sensor arrays 35 </ b> A and 35 </ b> B which are a pair of photoelectric conversion element arrays in the AF sensor 20 by the pair of separator lenses 34. Here, a known TTL phase difference AF method for measuring the defocus amount of the photographing lens 11 by measuring the imaging interval between the pair of sensor arrays 35A and 35B is constructed.

図3は、AFコントローラ22の構成例を示すブロック図である。AFコントローラ22は、制御部21による制御のもとでAFセンサ20の動作制御を行うシーケンサ51を備える他、A/D変換器52、デジタル値保持用のメモリ53、AF演算部54、タイマ55、蓄積終了時間を保持するレジスタ56、およびフラッシュROM57等を備える。A/D変換器52は、AFセンサ20側から出力されるアナログ画素出力をデジタルデータに変換するためのものである。メモリ53は、A/D変換器52によりA/D変換されたデータを記憶し、焦点情報の演算等に供する。AF演算部54は、A/D変換器52によって変換されたAFセンサ20からの信号、レジスタ56に保持された蓄積終了時間等をもとにデフォーカス量を演算する。   FIG. 3 is a block diagram illustrating a configuration example of the AF controller 22. The AF controller 22 includes a sequencer 51 that controls the operation of the AF sensor 20 under the control of the control unit 21, an A / D converter 52, a digital value holding memory 53, an AF calculation unit 54, and a timer 55. A register 56 for holding the accumulation end time, a flash ROM 57, and the like. The A / D converter 52 is for converting the analog pixel output output from the AF sensor 20 side into digital data. The memory 53 stores the data A / D converted by the A / D converter 52 and provides it for calculation of focus information. The AF calculation unit 54 calculates the defocus amount based on the signal from the AF sensor 20 converted by the A / D converter 52, the accumulation end time held in the register 56, and the like.

図4は、マルチ構成のAFセンサ20の配置例として、撮影画面25上の測距点配置を示す概略正面図である。本実施の形態のAFセンサ20は、例えば7×5=35点の多数の測距点(焦点検出領域)Pを持つマルチAFセンサへの適用例を示す。これらの測距点Pは、それぞれ水平画素列と垂直画素列との組合せとして設定されている。図4では図面を見やすくするために、14ライン分の水平画素列を撮影画面25上に逆投影して重ねて表示している。実際は、10ライン分の垂直画素列も水平画素列と同様に、図4には図示していないものの、撮影画面25上に逆投影して重ねて示すことが可能である。   FIG. 4 is a schematic front view showing an arrangement of distance measuring points on the photographing screen 25 as an arrangement example of the multi-configuration AF sensor 20. The AF sensor 20 of the present embodiment shows an application example to a multi-AF sensor having a large number of distance measuring points (focus detection areas) P of, for example, 7 × 5 = 35 points. These distance measuring points P are set as combinations of horizontal pixel columns and vertical pixel columns, respectively. In FIG. 4, in order to make the drawing easy to see, the horizontal pixel columns for 14 lines are back-projected on the photographing screen 25 and displayed. Actually, the vertical pixel column for 10 lines, like the horizontal pixel column, is not shown in FIG. 4, but can be back-projected and superimposed on the photographing screen 25.

図5は、図3に示す一つの測距点Pの配置に対応するAFセンサ20のセンサチップ26上での配置例を示す概略正面図である。センサチップ26は、複数画素から構成される画素列を複数有し焦点検出光束を受光するエリアセンサ部27を有する。エリアセンサ部27は、複数の画素列を密に配列させることにより構成されている。   FIG. 5 is a schematic front view showing an arrangement example of the AF sensor 20 on the sensor chip 26 corresponding to the arrangement of one distance measuring point P shown in FIG. The sensor chip 26 includes an area sensor unit 27 that includes a plurality of pixel columns each including a plurality of pixels and receives a focus detection light beam. The area sensor unit 27 is configured by densely arranging a plurality of pixel columns.

具体的には、水平画素列は14ライン、垂直画素列は10ラインで構成されている。そして、14ライン分の水平画素列は、左右に位置する水平画素列群28a,28b(F値5.6に対応)あるいは水平画素列群128a,128b(F値2.8に対応)からなり、10ライン分の垂直画素列は、上下に位置する垂直画素列群29a,29bとからなる。すなわち、エリアセンサ部27は、一方向に分割した焦点検出光束に対応する複数の垂直画素列群29a,29bと、一方向と垂直な方向に分割した焦点検出光束に対応する複数の水平画素列群28a,28bとから構成されている。   Specifically, the horizontal pixel column is composed of 14 lines, and the vertical pixel column is composed of 10 lines. The horizontal pixel columns for 14 lines consist of horizontal pixel column groups 28a and 28b (corresponding to F value 5.6) or horizontal pixel column groups 128a and 128b (corresponding to F value 2.8) located on the left and right. A vertical pixel column for 10 lines is composed of vertical pixel column groups 29a and 29b positioned above and below. That is, the area sensor unit 27 includes a plurality of vertical pixel column groups 29a and 29b corresponding to the focus detection light beam divided in one direction and a plurality of horizontal pixel columns corresponding to the focus detection light beam divided in the direction perpendicular to one direction. It consists of groups 28a and 28b.

本実施の形態では、画素出力の最大値を検出する最大値検出回路C1〜C14を設けている。この最大値検出回路C1〜C14は、各ライン(画素列)にそれぞれ対応して設けられており、1ラインごとに蓄積制御を行う。そして、蓄積制御処理として、1ライン内の画素出力の最大値が一定値Vth以上になったら、蓄積を終了し、蓄積終了信号TGを出力する。   In the present embodiment, maximum value detection circuits C1 to C14 for detecting the maximum value of the pixel output are provided. The maximum value detection circuits C1 to C14 are provided corresponding to the respective lines (pixel columns), and perform accumulation control for each line. Then, as the accumulation control process, when the maximum value of the pixel output in one line becomes equal to or greater than a certain value Vth, the accumulation is terminated and an accumulation end signal TG is output.

まず、図6を参照して、最大値検出回路の構成および動作について説明する。図6は、最大値検出回路の構成例を示す回路図である。1ライン当りの画素数をNとし、1ライン中の各画素nの出力をVnとする。ここで、1≦n≦Nである。また、ライン数をLとし、どのラインかを示すシンボルをmとする。ここで、1≦m≦Lである。なお、図6においては、ライン1の画素列およびラインLの画素列を、P1、PLとして示す。   First, the configuration and operation of the maximum value detection circuit will be described with reference to FIG. FIG. 6 is a circuit diagram showing a configuration example of the maximum value detection circuit. The number of pixels per line is N, and the output of each pixel n in one line is Vn. Here, 1 ≦ n ≦ N. Further, the number of lines is L, and a symbol indicating which line is m. Here, 1 ≦ m ≦ L. In FIG. 6, the pixel column of line 1 and the pixel column of line L are shown as P1 and PL.

図6において、ライン1〜Lにそれぞれ設けられる最大値検出回路C1〜CLは、各画素nの出力が入力される差動アンプ61−nと、差動アンプ61−nの出力によりオン・オフ制御されるMOSスイッチ62−nと、MOSスイッチ62−nのオン時に、対応する画素nの出力を出力させる電圧ホロワ63−nとの組を画素毎に有し、OR接続された共通な出力ラインに差動アンプ64を有する。   In FIG. 6, the maximum value detection circuits C1 to CL provided on the lines 1 to L are turned on / off by the differential amplifier 61-n to which the output of each pixel n is input and the output of the differential amplifier 61-n, respectively. A common output that has a set of a MOS switch 62-n to be controlled and a voltage follower 63-n that outputs the output of the corresponding pixel n when the MOS switch 62-n is turned on is OR-connected. A differential amplifier 64 is provided on the line.

さらに、本実施の形態では、図6に示すように、各最大値検出回路C1〜CL内に、モニタ対象となる画素を選択する制御部(ライン1モニタ範囲制御部65−1〜ラインLモニタ範囲制御部65−L)と、MOSスイッチ62−nと差動アンプ64との間に画素ごとに選択スイッチ66−nとが設けられる。このスイッチ66−nは、ライン1モニタ範囲制御部65−1〜ラインLモニタ範囲制御部65−Lの制御のもとで各画素と蓄積制御部40とを電気的に接続あるいは切断する機能を有する。   Furthermore, in the present embodiment, as shown in FIG. 6, a control unit (line 1 monitor range control unit 65-1 to line L monitor) that selects a pixel to be monitored in each of the maximum value detection circuits C1 to CL. A selection switch 66-n is provided for each pixel between the range control unit 65-L), the MOS switch 62-n, and the differential amplifier 64. The switch 66-n has a function of electrically connecting or disconnecting each pixel and the accumulation control unit 40 under the control of the line 1 monitor range control unit 65-1 to the line L monitor range control unit 65-L. Have.

ライン1モニタ範囲制御部65−1〜ラインLモニタ範囲制御部65−Lは、蓄積制御用のモニタ範囲として指示された範囲に対応する画素の選択スイッチ66−nをオンとして、制御部21が設定した検出範囲に対応した画素と、蓄積制御部40との間を電気的に接続させる。そして、ライン1モニタ範囲制御部65−1〜ラインLモニタ範囲制御部65−Lは、それ以外の選択スイッチ66−nをオフとする。この結果、制御部21から指示されたモニタ範囲に含まれる画素のみがVn(m)を出力する。ライン1モニタ範囲制御部65−1〜ラインLモニタ範囲制御部65−Lは、ラインの画素出力のうち制御部21が設定した検出範囲に対応する画素の出力を有効信号として選択する機能を有する。したがって、ライン1モニタ範囲制御部65−1〜ラインLモニタ範囲制御部65−Lは、選択スイッチ66−nのオン・オフ制御を行うことによって、各ライン内での蓄積制御用のモニタ範囲をラインごとに柔軟に切り替えている。   The line 1 monitor range control unit 65-1 to line L monitor range control unit 65-L turns on the pixel selection switch 66-n corresponding to the range designated as the monitor range for accumulation control, and the control unit 21 The pixel corresponding to the set detection range and the accumulation control unit 40 are electrically connected. Then, the line 1 monitor range control unit 65-1 to the line L monitor range control unit 65-L turns off the other selection switches 66-n. As a result, only the pixels included in the monitor range instructed by the control unit 21 output Vn (m). The line 1 monitor range control unit 65-1 to the line L monitor range control unit 65-L have a function of selecting, as an effective signal, an output of a pixel corresponding to a detection range set by the control unit 21 from line pixel outputs. . Therefore, the line 1 monitor range control unit 65-1 to the line L monitor range control unit 65-L performs the on / off control of the selection switch 66-n, thereby setting the monitor range for accumulation control in each line. Each line is flexibly switched.

これによって、本実施の形態では、制御部21は、エリアセンサの複数のラインのそれぞれに画素出力のモニタ範囲を設定することができ、1ライン内で自由に画素を抽出して測距演算が可能になる。すなわち、本実施の形態によれば、焦点検出処理時に蓄積制御用のモニタ範囲を自由に設定できる。   Accordingly, in the present embodiment, the control unit 21 can set the monitor range of the pixel output for each of the plurality of lines of the area sensor, and can perform distance measurement calculation by freely extracting pixels within one line. It becomes possible. That is, according to the present embodiment, the monitor range for accumulation control can be freely set during the focus detection process.

ライン1を例にした場合、このような構成において、スイッチ66−nがオンとされた画素nから最大値検出回路C1に入力されるVn(1)が差動アンプ61−nにおいて現時点の最大値Vp(1)と比較され、Vn(1)が最大値Vp(1)を超えたならば、差動アンプ61−nの出力が反転し、MOSスイッチ62−nがオンとなる。そして、対応する画素出力Vn(1)が電圧ホロワ63−nを介して差動アンプ64に対して出力され、画素出力Vn(1)が新たな最大値Vp(1)となる。新たな最大値Vp(1)は、ダーク画素出力Vdと差動アンプ64で差動増幅され、該ライン1の最大値VP(1)が得られる。   When the line 1 is taken as an example, in such a configuration, Vn (1) input to the maximum value detection circuit C1 from the pixel n in which the switch 66-n is turned on is the current maximum in the differential amplifier 61-n. When compared with the value Vp (1) and Vn (1) exceeds the maximum value Vp (1), the output of the differential amplifier 61-n is inverted and the MOS switch 62-n is turned on. Then, the corresponding pixel output Vn (1) is output to the differential amplifier 64 via the voltage follower 63-n, and the pixel output Vn (1) becomes a new maximum value Vp (1). The new maximum value Vp (1) is differentially amplified by the dark pixel output Vd and the differential amplifier 64, and the maximum value VP (1) of the line 1 is obtained.

制御回路41から出力されるφS(1)信号が入力されるタイミングで、SW(1)がオンする。すると、コンパレータ42に、この最大値検出回路Clの最大値VP(1)が入力され、コンパレータ42にて、最大値VP(1)と蓄積制御レベルVthとが比較される。そして、制御回路41は、コンパレータ42において差動出力が設定レベルVthを超えたら蓄積終了と判断し、該当ライン1に対して蓄積終了信号TG(1)を出力する。この蓄積終了信号TG(1)は、蓄積終了した該当ライン1中の全画素に対して出力されるものである。制御回路41とコンパレータ42とは、φS(2)~φS(L)を各タイミング、たとえば時分割で出力することによって、最大値検出回路C2〜C4においても同様の処理を行う。制御回路41とコンパレータ42とによって、各ラインの画素の出力を検出して、ラインの画素の蓄積を制御する蓄積制御部40が構成される。   At the timing when the φS (1) signal output from the control circuit 41 is input, SW (1) is turned on. Then, the maximum value VP (1) of the maximum value detection circuit Cl is input to the comparator 42, and the comparator 42 compares the maximum value VP (1) with the accumulation control level Vth. Then, when the differential output exceeds the set level Vth in the comparator 42, the control circuit 41 determines that the accumulation is completed, and outputs the accumulation end signal TG (1) to the corresponding line 1. This accumulation end signal TG (1) is output to all the pixels in the corresponding line 1 where the accumulation has been completed. The control circuit 41 and the comparator 42 perform the same processing in the maximum value detection circuits C2 to C4 by outputting φS (2) to φS (L) at each timing, for example, time division. The control circuit 41 and the comparator 42 constitute an accumulation control unit 40 that detects the output of the pixels on each line and controls the accumulation of the pixels on the line.

この方式によれば、1ライン中の最大値VP(m)によって蓄積制御する方式の中では、回路構成が比較的簡易でありながら、モニタ対象の画素出力そのものによって蓄積終了を判断できるので、精度よく蓄積制御が行える。   According to this method, in the method in which accumulation control is performed using the maximum value VP (m) in one line, the end of accumulation can be determined by the pixel output itself to be monitored, while the circuit configuration is relatively simple. Accumulation control can be performed well.

本実施の形態では、たとえば、図5に示すように、14ラインからなる水平画素列を上下方向に2分割し、上側半分の7ライン(1〜7)に対しては水平画素列群28a,128aに対応するHI最大値検出回路C1〜C7、HO最大値検出回路C1〜C7の出力に基づいて蓄積制御を行い、下側半分の7ライン(8〜14)に対しては水平画素列群28b,128bに対応するHI最大値検出回路C8〜C14、HO最大値検出回路C8〜C14の出力にて蓄積制御を行う。HI最大値検出回路C1〜C7、HO最大値検出回路C1〜C7、HI最大値検出回路C8〜C14、HO最大値検出回路C8〜C14は、それぞれモニタ部30a,30b,130a,130bを構成し、モニタ部30a,30b,130a,130bごとに蓄積制御部40のような蓄積制御部が設けられる。   In the present embodiment, for example, as shown in FIG. 5, a horizontal pixel column consisting of 14 lines is divided into two in the vertical direction, and the horizontal pixel column group 28a, The accumulation control is performed based on the outputs of the HI maximum value detection circuits C1 to C7 and the HO maximum value detection circuits C1 to C7 corresponding to 128a, and the horizontal pixel column group is applied to the lower seven lines (8 to 14). Accumulation is controlled by the outputs of the HI maximum value detection circuits C8 to C14 and the HO maximum value detection circuits C8 to C14 corresponding to 28b and 128b. The HI maximum value detection circuits C1 to C7, the HO maximum value detection circuits C1 to C7, the HI maximum value detection circuits C8 to C14, and the HO maximum value detection circuits C8 to C14 constitute monitor units 30a, 30b, 130a, and 130b, respectively. A storage control unit such as the storage control unit 40 is provided for each of the monitor units 30a, 30b, 130a, and 130b.

垂直画素列10ラインについても同様に、10ラインを左右方向に2分割し、右側半分の5ライン(6〜10)に対しては垂直画素列群29a中の対応するV最大値検出回路C6〜C10の出力に基づいて蓄積制御を行い、左側半分の5ライン(1〜5)に対しては垂直画素列群29b中の対応するV最大値検出回路C1〜C5の出力にて蓄積制御を行う。V最大値検出回路C6〜C10、V最大値検出回路C1〜C5は、それぞれモニタ部30c,30dを構成し、モニタ部30c,30dごとに蓄積制御部40のような蓄積制御部が設けられる。   Similarly, for the 10 lines of the vertical pixel column, 10 lines are divided into two in the left-right direction, and the corresponding V maximum value detection circuits C6 to C6 in the vertical pixel column group 29a are applied to the right half 5 lines (6 to 10). Accumulation control is performed based on the output of C10, and accumulation control is performed on the left half 5 lines (1 to 5) by the output of the corresponding V maximum value detection circuits C1 to C5 in the vertical pixel column group 29b. . The V maximum value detection circuits C6 to C10 and the V maximum value detection circuits C1 to C5 constitute monitor units 30c and 30d, respectively, and an accumulation control unit such as the accumulation control unit 40 is provided for each of the monitor units 30c and 30d.

ノイズの影響を受けにくくするためにモニタ部30a〜30d,130a,130bに対応する各画素列とは近ければ近いほどよい。また、エリアセンサ部27に関して、水平画素列と垂直画素列が左右上下に十字状に広がっているため、センサチップ26の中心に対して四隅方向には画素列が存在しない。そこで、本実施の形態では、図5に示したように、各モニタ部30a〜30dを、垂直画素列と水平画素列との両方に隣接する四隅領域に1つずつ配置させている。このような配置により、センサチップ26上でのモニタ部30a〜30dの配置を容易に効率のよいものとすることができる上に、ノイズ性能の向上も可能となる。なお、モニタ部130a,130bは、水平画素列群128a,128bに隣接して配置される。   In order to make it less susceptible to noise, the closer to each pixel column corresponding to the monitor units 30a to 30d, 130a, and 130b, the better. Further, with respect to the area sensor unit 27, since the horizontal pixel column and the vertical pixel column spread in a cross shape on the left and right and up and down, there is no pixel column in the four corner directions with respect to the center of the sensor chip 26. Therefore, in the present embodiment, as shown in FIG. 5, each of the monitor units 30 a to 30 d is arranged one by one in the four corner regions adjacent to both the vertical pixel column and the horizontal pixel column. With such an arrangement, the arrangement of the monitor units 30a to 30d on the sensor chip 26 can be easily made efficient, and the noise performance can be improved. The monitor units 130a and 130b are disposed adjacent to the horizontal pixel column groups 128a and 128b.

次に、図7を参照して、ライン1モニタ範囲制御部65−1〜ラインLモニタ範囲制御部65−Lによって切り替えられる蓄積制御用のモニタ範囲についてライン1画素列P1を例にして説明する。   Next, with reference to FIG. 7, the monitor range for accumulation control switched by the line 1 monitor range control unit 65-1 to the line L monitor range control unit 65-L will be described by taking the line 1 pixel column P1 as an example. .

図7(a)に示すように、AFターゲット位置(合焦目標位置)T1を含む一部領域である所定の範囲が、標準のAFターゲットエリアTA1として予め設定されている。図7(a)に示すように、焦点がAFターゲット位置T1付近である場合には、ライン1モニタ範囲制御部65−1は、AFターゲットエリアTA1内に対してのみ蓄積制御を行えば十分である。このため、このような場合には、制御部21によってAFターゲットエリアTA1と同範囲が蓄積制御用モニタ画素範囲Saに設定され、ライン1モニタ範囲制御部65−1は、この蓄積制御用モニタ画素範囲Saに含まれる画素の選択スイッチ66−nをオンする。これによって、蓄積制御用モニタ画素範囲Sa、すなわちAFターゲットエリアTA1のみをモニタ範囲として、蓄積制御を行うことができる。   As shown in FIG. 7A, a predetermined range that is a partial region including the AF target position (focus target position) T1 is set in advance as a standard AF target area TA1. As shown in FIG. 7A, when the focal point is in the vicinity of the AF target position T1, it is sufficient for the line 1 monitor range control unit 65-1 to perform accumulation control only within the AF target area TA1. is there. Therefore, in such a case, the control unit 21 sets the same range as the AF target area TA1 as the accumulation control monitor pixel range Sa, and the line 1 monitor range control unit 65-1 uses the accumulation control monitor pixel. The selection switch 66-n for the pixels included in the range Sa is turned on. Accordingly, accumulation control can be performed using only the monitor pixel range Sa for accumulation control, that is, the AF target area TA1 as a monitor range.

一方、図7(b)に示すように、焦点がAFターゲット位置T1から大きくずれた状態では、焦点検出のための演算範囲を広くする必要があるため、蓄積制御用のモニタ範囲を広く設定する必要がある。このため、制御部21は、AFターゲットエリアTA1に所定のデフォーカス量分を加算した範囲を、蓄積制御用モニタ画素範囲Sbと設定し、ライン1モニタ範囲制御部65−1は、この蓄積制御用モニタ画素範囲Sbに対応する画素の選択スイッチ66−nをオンする。これによって、AFターゲットエリアTA1よりも広いモニタ範囲が設定され、焦点がAFターゲット位置T1からずれた場合であっても、適切に蓄積制御できるようにしている。所定のデフォーカス量は、直近の焦点検出で検出された前回のデフォーカス量の絶対値に基づいて決める。また、たとえば、デフォーカス量の絶対値が、AFターゲットエリアの2分の1の幅の画素領域に対応する値を超える場合には、AFターゲットエリアTA1に所定のデフォーカス量に相当する画素領域を加えた領域を蓄積制御用モニタ画素範囲Sbとして設定する。   On the other hand, as shown in FIG. 7B, in a state in which the focus is greatly deviated from the AF target position T1, it is necessary to widen the calculation range for focus detection, so the monitor range for accumulation control is set wide. There is a need. Therefore, the control unit 21 sets a range obtained by adding a predetermined defocus amount to the AF target area TA1 as the accumulation control monitor pixel range Sb, and the line 1 monitor range control unit 65-1 performs the accumulation control. The pixel selection switch 66-n corresponding to the monitor pixel range Sb is turned on. Thus, a monitor range wider than the AF target area TA1 is set, and even when the focus is shifted from the AF target position T1, accumulation control can be performed appropriately. The predetermined defocus amount is determined based on the absolute value of the previous defocus amount detected by the most recent focus detection. Further, for example, when the absolute value of the defocus amount exceeds a value corresponding to a pixel region having a half width of the AF target area, a pixel region corresponding to a predetermined defocus amount in the AF target area TA1. Is set as the accumulation control monitor pixel range Sb.

このように、本実施の形態では、ライン1モニタ範囲制御部65−1〜ラインLモニタ範囲制御部65−Lによるスイッチ66−nのオン・オフ制御を行うことによって、合焦状態に応じた蓄積制御用のモニタ範囲を選択して、合焦状態等に応じた最適な蓄積制御を行うことが可能となる。   As described above, in the present embodiment, the on / off control of the switch 66-n by the line 1 monitor range control unit 65-1 to the line L monitor range control unit 65-L is performed in accordance with the in-focus state. It is possible to select a monitor range for accumulation control and perform optimum accumulation control according to the in-focus state.

また、本実施の形態では、全画素列中の最大値を示す画素出力に基づいて蓄積終了を行うために外部に制御回路41を設けることで、どれかのラインにて蓄積終了を検出したら、全てのラインに対して蓄積終了信号(TG(1)〜TG(L))を出力する機能を制御回路41に持たせることができる。これによって、顔検出時等で主要被写体を選択するときは、全画素の蓄積終了タイミングを同一とすることで、AFセンサ20の検出結果をもとに主要被写体選択を行うための顔認識情報などを取得することを可能にする。   Further, in the present embodiment, by providing an external control circuit 41 in order to end accumulation based on the pixel output indicating the maximum value in all pixel columns, if the accumulation end is detected in any line, The control circuit 41 can be provided with a function of outputting accumulation end signals (TG (1) to TG (L)) to all lines. Accordingly, when selecting a main subject at the time of face detection, face recognition information for selecting a main subject based on the detection result of the AF sensor 20 by making the accumulation end timing of all the pixels the same. Makes it possible to get

本実施の形態におけるカメラシステムは、最初のレリーズ(半押し操作)、すなわち1stレリーズがあった後に、焦点検出処理が行われ、その後、次の押し操作、すなわち2ndレリーズがあってから撮像処理が行われる。本実施の形態におけるカメラシステムは、この各処理を繰り返し行うことで複数の画像を順次撮像する。まず、焦点検出機構の焦点検出、焦点補正動作について説明する。図8は、制御部21の制御により実行される焦点検出・焦点補正動作例を示すフローチャートである。   In the camera system according to the present embodiment, the focus detection process is performed after the first release (half-pressing operation), that is, the first release, and then the imaging process is performed after the next pressing operation, that is, the 2nd release. Done. The camera system according to the present embodiment sequentially captures a plurality of images by repeating these processes. First, focus detection and focus correction operations of the focus detection mechanism will be described. FIG. 8 is a flowchart showing an example of focus detection / focus correction operation executed under the control of the control unit 21.

制御部21は、1stレリーズがあるか否かを判断する(ステップS201)。制御部21は、1stレリーズがあると判断するまでステップS201の判断処理を繰り返し、1stレリーズがあると判断した場合には(ステップS201;Yes)、AFコントローラ22を介して、AFセンサ20に各ラインに対する蓄積動作を開始させる(ステップS202)。そして、制御部21は、蓄積終了アイランドが発生したら、対象となる該アイランドの光電変換素子列の蓄積時間(今回)をタイマ55により検出する(ステップS203)。ここで、アイランドとは、図4に示した測距点Pの組を有する複数のラインである。制御部21は、この処理を全てのアイランドについて蓄積終了となるまで繰返す(ステップS204)。   The control unit 21 determines whether there is a 1st release (step S201). The control unit 21 repeats the determination process of step S201 until it is determined that there is a 1st release (step S201; Yes), and each AF sensor 20 is connected to the AF sensor 20 via the AF controller 22 when it is determined that there is a 1st release. The accumulation operation for the line is started (step S202). When the storage end island is generated, the control unit 21 detects the storage time (current time) of the photoelectric conversion element array of the target island by the timer 55 (step S203). Here, the island is a plurality of lines having the set of distance measuring points P shown in FIG. The control unit 21 repeats this process until the accumulation is completed for all islands (step S204).

次いで、制御部21の制御のもと、AFコントローラ22は、画素出力の転送(CCD転送)を開始し(ステップS205)、所定の照度補正を行った後(ステップS206)、TTL位相差方式に従い相関演算を行い(ステップS207)、焦点情報としてデフォーカス量を算出する(ステップS208)。AFコントローラ22は、算出されたデフォーカス量に応じて採用する測距点Pを選択する。(ステップS209)、その後、制御部21が、その測距点Pのデフォーカス量をレンズ制御部13に対して出力し、レンズ制御部13がモータドライバ12を制御して撮影レンズ11を合焦状態にレンズ駆動する(ステップS210)。これにより、一眼レフレックスカメラでは撮像可能となり、撮像動作へ移行する。   Next, under the control of the control unit 21, the AF controller 22 starts pixel output transfer (CCD transfer) (step S205), performs predetermined illumination correction (step S206), and then follows the TTL phase difference method. A correlation calculation is performed (step S207), and a defocus amount is calculated as focus information (step S208). The AF controller 22 selects a distance measuring point P to be employed according to the calculated defocus amount. (Step S209) After that, the control unit 21 outputs the defocus amount of the distance measuring point P to the lens control unit 13, and the lens control unit 13 controls the motor driver 12 to focus the photographing lens 11. The lens is driven to the state (step S210). As a result, the single-lens reflex camera can take an image, and the process proceeds to an imaging operation.

さらに、本実施の形態では、蓄積制御用のモニタ範囲を自由に設定できるため、以下のように、手動でAFターゲット位置を選択するときと、自動でAFターゲット位置を選んだときとで、それぞれ最適なモニタ範囲を設定してセンサ制御を行うことも可能である。   Furthermore, in the present embodiment, the monitor range for accumulation control can be freely set, so that when the AF target position is manually selected and when the AF target position is automatically selected as follows, It is also possible to perform sensor control by setting an optimum monitor range.

このような場合には、図9のフローチャートに示すように、制御部21は、AFターゲット位置の選択内容を判断する(ステップS1000)。制御部21は、AFターゲット位置を手動選択すると判断した場合には(ステップS1000:手動選択)、第1の焦点検出処理を行う(ステップS1001)。また、制御部21は、AFターゲット位置を顔検出なしで自動選択すると判断した場合には(ステップS1000:顔検出なし自動選択)、第2の焦点検出処理を行う(ステップS1002)。また、制御部21は、AFターゲット位置を顔検出つきで自動選択すると判断した場合には(ステップS1000:顔検出つき自動選択)、第3の焦点検出処理を行う(ステップS1003)。その後、制御部21は、撮像動作に移行し、各構成部材を制御して撮像処理を行う(ステップS1004)。   In such a case, as shown in the flowchart of FIG. 9, the control unit 21 determines the selection content of the AF target position (step S1000). When it is determined that the AF target position is manually selected (step S1000: manual selection), the control unit 21 performs a first focus detection process (step S1001). If the control unit 21 determines that the AF target position is automatically selected without face detection (step S1000: automatic selection without face detection), it performs a second focus detection process (step S1002). If the control unit 21 determines that the AF target position is automatically selected with face detection (step S1000: automatic selection with face detection), the control unit 21 performs a third focus detection process (step S1003). Thereafter, the control unit 21 shifts to an imaging operation, and controls each component to perform an imaging process (step S1004).

次に、図10のフローチャートを参照して、AFターゲット位置を手動選択するときの第1の焦点検出処理について説明する。図10は、図9に示す第1の焦点検出処理の処理手順を示すフローチャートである。まず、カメラシステムの使用者の操作によって、AFターゲットエリアが設定される(ステップS1100)。AFターゲット位置を手動選択するときには、焦点が大きくずれた状態では、焦点検出のための演算に使用する画素範囲が広いので蓄積制御用のモニタ範囲を広くとっておく必要がある。一方、ほぼ合焦している状態では、AFターゲット位置付近のみの画素で蓄積制御を行っても適切に処理を行える。   Next, the first focus detection process when manually selecting the AF target position will be described with reference to the flowchart of FIG. FIG. 10 is a flowchart showing a processing procedure of the first focus detection process shown in FIG. First, an AF target area is set by an operation of the user of the camera system (step S1100). When manually selecting the AF target position, it is necessary to keep a wide monitor range for accumulation control because the pixel range used for the calculation for focus detection is wide when the focus is greatly deviated. On the other hand, in a substantially in-focus state, appropriate processing can be performed even if accumulation control is performed with pixels only near the AF target position.

このため、制御部21は、直近の焦点検出の測距結果を取得し、この直近の焦点検出で検出された前回のデフォーカス量が所定値よりも小さいか否かを判断する(ステップS1101)。たとえば、制御部21は、デフォーカス量の絶対値が、AFターゲットエリアの2分の1の幅の画素領域に対応する値よりも小さいか否かを判断する。   Therefore, the control unit 21 acquires the distance measurement result of the latest focus detection, and determines whether or not the previous defocus amount detected by the latest focus detection is smaller than a predetermined value (step S1101). . For example, the control unit 21 determines whether or not the absolute value of the defocus amount is smaller than a value corresponding to a pixel region having a half width of the AF target area.

制御部21が前回のデフォーカス量が所定値よりも小さいと判断した場合には(ステップS1101:Yes)、AFターゲット位置付近のみの画素で蓄積制御を行っても適切に処理を行えるため、AFターゲットエリアを蓄積制御用のモニタ範囲に設定する(ステップS1102)。このとき、ライン1モニタ範囲制御部65−1〜ラインLモニタ範囲制御部65−Lは、AFターゲットエリアに対応する画素の選択スイッチ66−nをオンする。これによって、AFコントローラ22は、合焦検出のための演算処理において、AFターゲットエリアにおける画素出力を得ることができる。そして、AFセンサ20およびAFコントローラ22は、モニタ範囲として設定されたAFターゲットエリアにて蓄積制御処理を行い(ステップS1103)、デフォーカス量を演算する。この蓄積制御処理として、図8のステップS202〜209に示す処理動作を行う。   When the control unit 21 determines that the previous defocus amount is smaller than the predetermined value (step S1101: Yes), the process can be appropriately performed even if the accumulation control is performed only on the pixels near the AF target position. The target area is set as a monitor range for accumulation control (step S1102). At this time, the line 1 monitor range control unit 65-1 to the line L monitor range control unit 65-L turns on the pixel selection switch 66-n corresponding to the AF target area. Thereby, the AF controller 22 can obtain the pixel output in the AF target area in the arithmetic processing for focus detection. Then, the AF sensor 20 and the AF controller 22 perform accumulation control processing in the AF target area set as the monitor range (step S1103), and calculate the defocus amount. As this accumulation control processing, processing operations shown in steps S202 to S209 of FIG. 8 are performed.

これに対し、制御部21は、前回のデフォーカス量がAFターゲットエリアを外れてしまうほど大きいと判断した場合には(ステップS1101:No)、AFターゲットエリアよりも広い領域をモニタ範囲として設定する(ステップS1104)。このとき、制御部21は、AFターゲットエリアに前回のデフォーカス量分に想到する画素領域を加えた領域をモニタ範囲に設定する。そして、ライン1モニタ範囲制御部65−1〜ラインLモニタ範囲制御部65−Lは、この蓄積制御用モニタ画素範囲Sbに対応する画素の選択スイッチ66−nをオンする。そして、AFセンサ20およびAFコントローラ22は、モニタ範囲として設定されたAFターゲットエリアよりも広い領域にて蓄積制御処理を行い(ステップS1105)、デフォーカス量を演算する。この蓄積制御処理として、図8のステップS202〜209に示す処理動作を行う。これによって、AFコントローラ22は、合焦検出のための演算処理において、AFターゲットエリアよりも広い範囲で画素出力を得ることができる。   On the other hand, when the control unit 21 determines that the previous defocus amount is large enough to deviate from the AF target area (step S1101: No), the control unit 21 sets an area wider than the AF target area as the monitor range. (Step S1104). At this time, the control unit 21 sets an area obtained by adding a pixel area conceived for the previous defocus amount to the AF target area as a monitor range. Then, the line 1 monitor range control unit 65-1 to the line L monitor range control unit 65-L turns on the pixel selection switch 66-n corresponding to the accumulation control monitor pixel range Sb. Then, the AF sensor 20 and the AF controller 22 perform accumulation control processing in an area wider than the AF target area set as the monitor range (step S1105), and calculate the defocus amount. As this accumulation control processing, processing operations shown in steps S202 to S209 of FIG. 8 are performed. Thereby, the AF controller 22 can obtain a pixel output in a wider range than the AF target area in the calculation process for focus detection.

そして、制御部21は、1stレリーズがあるか否かを判断する(ステップS1106)。制御部21は、1stレリーズがないと判断した場合には(ステップS1106:No)、ステップS1100に戻る。一方、制御部21は、1stレリーズがあると判断した場合には(ステップS1106:Yes)、1stレリーズが押される直前のデフォーカス量演出結果からレンズ駆動量を算出して、撮影レンズ11を駆動させるレンズ駆動を行う(ステップS1107)。これによって、ほぼ合焦に近い位置にレンズが駆動するため、AFターゲット位置付近のみの画素で蓄積制御を行っても適切に処理を行えることから、制御部21は、AFターゲットエリアを蓄積制御用のモニタ範囲に設定する(ステップS1108)。   Then, the control unit 21 determines whether or not there is a 1st release (step S1106). When the control unit 21 determines that there is no first release (step S1106: No), the control unit 21 returns to step S1100. On the other hand, when the control unit 21 determines that the first release is present (step S1106: Yes), the lens drive amount is calculated from the defocus amount effect result immediately before the first release is pressed, and the photographing lens 11 is driven. The lens is driven (step S1107). As a result, the lens is driven to a position substantially close to the in-focus position, so that even if the accumulation control is performed only on the pixels near the AF target position, the process can be appropriately performed. Is set to the monitor range (step S1108).

レンズ駆動処理後、AFセンサ20およびAFコントローラ22は、モニタ範囲として設定されたAFターゲットエリアにて蓄積制御処理を行い(ステップS1009)、デフォーカス量を演算する。この蓄積制御処理として、図8のステップS202〜209に示す処理動作を行う。この結果をもとに、制御部21は、合焦範囲内であるか否かを判断する(ステップS1110)。   After the lens driving process, the AF sensor 20 and the AF controller 22 perform the accumulation control process in the AF target area set as the monitor range (step S1009), and calculate the defocus amount. As this accumulation control processing, processing operations shown in steps S202 to S209 of FIG. 8 are performed. Based on this result, the control unit 21 determines whether or not it is within the focusing range (step S1110).

制御部21が合焦範囲内でないと判断した場合には(ステップS1110:No)、ステップS1106に戻る。また、制御部21が合焦範囲内であると判断した場合には(ステップS1110:Yes)、2ndレリーズがあるまで、2ndレリーズの有無を判断する(ステップS1111)。制御部21が2ndレリーズはあったと判断した場合には(ステップS1111:Yes)、第1の焦点検出処理を終了する。   When the control unit 21 determines that it is not within the focusing range (step S1110: No), the process returns to step S1106. If the control unit 21 determines that it is within the focusing range (step S1110: Yes), it determines whether or not there is a 2nd release until there is a 2nd release (step S1111). When the control unit 21 determines that the 2nd release has occurred (step S1111: Yes), the first focus detection process ends.

このように、制御部21は、焦点検出の手動選択が設定されたときには、前回のデフォーカス量に応じて蓄積制御用モニタ画素範囲を設定して、適切かつ正確に焦点検出処理が行えるようにしている。   As described above, when manual selection of focus detection is set, the control unit 21 sets the monitor pixel range for accumulation control according to the previous defocus amount so that the focus detection process can be performed appropriately and accurately. ing.

次に、図11のフローチャートを参照して、顔検出なしでAFターゲットの自動選択を行うときの第2の焦点検出処理について説明する。図11は、図9に示す第2の焦点検出処理の処理手順を示すフローチャートである。AFターゲット位置を顔検出なしで自動選択するときは、焦点検出可能な範囲内にてデフォーカス分布情報を取得する必要がある。   Next, the second focus detection process when the AF target is automatically selected without face detection will be described with reference to the flowchart of FIG. FIG. 11 is a flowchart illustrating a processing procedure of the second focus detection process illustrated in FIG. 9. When the AF target position is automatically selected without face detection, it is necessary to acquire defocus distribution information within a focus detectable range.

このため、図11に示すように、制御部21は、AFセンサ20の全画素、すなわち全エリアを蓄積制御用のモニタ範囲として設定する(ステップS1200)。このとき、ライン1モニタ範囲制御部65−1〜ラインLモニタ範囲制御部65−Lは、各最大値検出回路C1〜C14のスイッチ66−1〜66−Nを全てオンする。AFセンサ20およびAFコントローラ22は、主要被写体認識ために全エリアにての蓄積制御処理を行い(ステップS1201)、デフォーカス量を演算する。この蓄積制御処理として、図8のステップS202〜209に示す処理動作を行う。この蓄積制御処理においては、ラインごとに蓄積制御を行う。このとき、制御回路41は、1ラインの有効画素の出力のうちの最大値が所定値であるVth以上になった場合には、1ライン内の全有効画素の蓄積を終了させる。そして、AFコントローラ22は、各ラインを複数エリアに分割して、デフォーカス量を複数エリアごとに算出する。このように算出することで、1ライン内でのセンサ情報が途切れることなく得られるため、1ライン内の複数領域でデフォーカス量を算出でき、たとえば図12に示すような、撮影画面内でのデフォーカス量分布を求めることができる。なお、XY面は、メモリセンサの2次元配置面に対応する。   For this reason, as shown in FIG. 11, the control unit 21 sets all the pixels of the AF sensor 20, that is, all the areas as the monitor range for accumulation control (step S1200). At this time, the line 1 monitor range control unit 65-1 to line L monitor range control unit 65-L turns on all the switches 66-1 to 66-N of the maximum value detection circuits C1 to C14. The AF sensor 20 and the AF controller 22 perform accumulation control processing in all areas in order to recognize the main subject (step S1201), and calculate the defocus amount. As this accumulation control processing, processing operations shown in steps S202 to S209 of FIG. 8 are performed. In this accumulation control process, accumulation control is performed for each line. At this time, when the maximum value among the outputs of the effective pixels in one line becomes equal to or higher than the predetermined value Vth, the control circuit 41 ends the accumulation of all the effective pixels in one line. Then, the AF controller 22 divides each line into a plurality of areas and calculates a defocus amount for each of the plurality of areas. By calculating in this way, sensor information in one line can be obtained without interruption, so the defocus amount can be calculated in a plurality of areas in one line. For example, as shown in FIG. Defocus amount distribution can be obtained. The XY plane corresponds to the two-dimensional arrangement plane of the memory sensor.

次いで、制御部21は、図12に例示するような撮影画面内でのデフォーカス量分布情報をもとに、中央領域重点、かつ、最至近のデフォーカス分布を示すエリアを合焦対象である主要被写体が占める範囲であると判断し、自動選択エリアとして検出する(ステップS1202)。たとえば、図12に示す場合には、後ピン方向に最もデフォーカス量が大きい、即ち最も距離が近い中央の領域A1を主要被写体に対応する自動選択エリアとして検出する。   Next, based on the defocus amount distribution information in the shooting screen as illustrated in FIG. 12, the control unit 21 focuses on the area indicating the center region emphasis and the closest defocus distribution. It is determined that the range is occupied by the main subject, and is detected as an automatic selection area (step S1202). For example, in the case shown in FIG. 12, the central area A1 having the largest defocus amount in the rear pin direction, that is, the closest distance is detected as the automatic selection area corresponding to the main subject.

この自動選択エリアが確定した状態で、制御部21は、1stレリーズがあるか否かを判断する(ステップS1203)。制御部21は、1stレリーズがないと判断した場合には(ステップS1203:No)、ステップS1200に戻り、主要被写体を認識する処理を行う。   With this automatic selection area confirmed, the control unit 21 determines whether there is a 1st release (step S1203). If the control unit 21 determines that there is no first release (step S1203: No), the control unit 21 returns to step S1200 and performs processing for recognizing the main subject.

また、制御部21は、1stレリーズがあると判断した場合には(ステップS1203:Yes)、レンズ駆動(ステップS1204)後に、この確定した自動選択エリアをモニタ範囲として設定する(ステップS1205)。このとき、ライン1モニタ範囲制御部65−1〜ラインLモニタ範囲制御部65−Lは、制御部21の制御のもと、検出された自動選択エリアに対応する画素の選択スイッチ66−nをオンする。AFセンサ20およびAFコントローラ22は、この自動選択エリアにて蓄積制御処理を行い(ステップS1206)、デフォーカス量を演算する。この蓄積制御処理として、図8のステップS202〜209に示す処理動作を行う。この結果をもとに、制御部21は、合焦範囲内であるか否かを判断する(ステップS1207)。   If the control unit 21 determines that there is a first release (step S1203: Yes), after the lens is driven (step S1204), the determined automatic selection area is set as a monitor range (step S1205). At this time, the line 1 monitor range control unit 65-1 to the line L monitor range control unit 65-L sets the pixel selection switch 66-n corresponding to the detected automatic selection area under the control of the control unit 21. Turn on. The AF sensor 20 and the AF controller 22 perform accumulation control processing in this automatic selection area (step S1206), and calculate the defocus amount. As this accumulation control processing, processing operations shown in steps S202 to S209 of FIG. 8 are performed. Based on this result, the control unit 21 determines whether or not it is within the focusing range (step S1207).

制御部21が合焦範囲内でないと判断した場合には(ステップS1207:No)、ステップS1203に戻る。また、制御部21が合焦範囲内であると判断した場合には(ステップS1207:Yes)、2ndレリーズがあるまで、2ndレリーズの有無を判断する(ステップS1208)。制御部21が2ndレリーズがあったと判断した場合には(ステップS1208:Yes)、第2の焦点検出処理を終了する。   If the control unit 21 determines that it is not within the focusing range (step S1207: No), the process returns to step S1203. If the control unit 21 determines that it is within the focusing range (step S1207: Yes), it determines whether or not there is a 2nd release until there is a 2nd release (step S1208). If the control unit 21 determines that there is a 2nd release (step S1208: Yes), the second focus detection process is terminated.

このように、制御部21は、焦点検出の顔検出なしの自動選択が設定されたときは、AFセンサ20の全ラインの全画素の出力結果をもとに撮影画面内でのデフォーカス量分布を求め、これを用いて主要被写体が占める範囲を検出し、検出した主要被写体が占める範囲を蓄積制御用のモニタ画素範囲として設定する。   In this way, when automatic selection without focus detection face detection is set, the control unit 21 determines the defocus amount distribution in the shooting screen based on the output results of all pixels of all lines of the AF sensor 20. Is used to detect the range occupied by the main subject, and the range occupied by the detected main subject is set as the monitor pixel range for accumulation control.

次に、図13のフローチャートを参照して、顔検出つきでAFターゲットの自動選択を行うときの第3の焦点検出処理について説明する。図13は、図9に示す第3の焦点検出処理の処理手順を示すフローチャートである。図13では、顔検出をAFセンサ20によるセンサ情報をもとに行うことを前提としており、AFセンサ20がモニタ可能な範囲内で被写体距離分布情報を取得する。   Next, with reference to the flowchart of FIG. 13, a description will be given of the third focus detection process when the AF target is automatically selected with face detection. FIG. 13 is a flowchart showing a processing procedure of the third focus detection processing shown in FIG. In FIG. 13, it is assumed that face detection is performed based on sensor information from the AF sensor 20, and subject distance distribution information is acquired within a range that can be monitored by the AF sensor 20.

このため、図13に示すように、制御部21は、AFセンサ20の全画素、すなわち全エリアを蓄積制御用のモニタ範囲として設定する(ステップS1300)。このとき、ライン1モニタ範囲制御部65−1〜ラインLモニタ範囲制御部65−Lは、各最大値検出回路C1〜C14のスイッチ66−1〜66−Nを全てオンする。AFセンサ20およびAFコントローラ22は、顔検出のための全エリアにての蓄積制御処理を行い(ステップS1301)、デフォーカス量を演算する。この蓄積制御処理として、図8のステップS202〜205に示す処理動作を行う。AFセンサ20は、AFセンサ20の全ラインで全ライン共通の蓄積処理を行い、制御回路41は、いずれかのラインにて蓄積終了を検出したら、全てのライン1〜Lに対して蓄積終了信号(TG(1)〜TG(L))を出力して全画素の蓄積を同時に終了させる。このように、全画素の蓄積終了タイミングを同一とすることによって、AFセンサ20をエリアセンサとして用いることができる。   For this reason, as shown in FIG. 13, the control unit 21 sets all pixels of the AF sensor 20, that is, all areas, as a monitor range for accumulation control (step S1300). At this time, the line 1 monitor range control unit 65-1 to line L monitor range control unit 65-L turns on all the switches 66-1 to 66-N of the maximum value detection circuits C1 to C14. The AF sensor 20 and the AF controller 22 perform accumulation control processing in all areas for face detection (step S1301), and calculate the defocus amount. As the accumulation control process, the processing operation shown in steps S202 to S205 in FIG. 8 is performed. The AF sensor 20 performs an accumulation process common to all the lines of the AF sensor 20, and when the control circuit 41 detects the accumulation end in any line, the accumulation end signal for all the lines 1 to L is detected. (TG (1) to TG (L)) are output and the accumulation of all the pixels is simultaneously terminated. Thus, by making the accumulation end timings of all the pixels the same, the AF sensor 20 can be used as an area sensor.

そして、制御部21は、AFセンサ20の全ラインの画素出力データをもとに、顔エリアの検出を行う(ステップS1302)。たとえば、制御部21は、AFセンサ20の全ラインの画素出力データをもとに、画素出力レベル分布を求め、このうち同程度のレベルが位置する領域、すなわち、同一被写体と判定される領域を抽出する。そして、制御部21は、抽出した領域の形状がほぼ円形である場合には、この領域が被写体の顔に対応すると判断し、この領域を顔エリアとして検出する。   Then, the control unit 21 detects a face area based on the pixel output data of all lines of the AF sensor 20 (step S1302). For example, the control unit 21 obtains the pixel output level distribution based on the pixel output data of all the lines of the AF sensor 20, and among these, an area where the same level is located, that is, an area determined to be the same subject. Extract. Then, when the shape of the extracted region is substantially circular, the control unit 21 determines that this region corresponds to the face of the subject, and detects this region as a face area.

次に、制御部21は、検出した顔エリアを蓄積制御用のモニタ範囲として設定する(ステップS1303)。AFセンサ20およびAFコントローラ22は、モニタ範囲として設定された顔エリアにて蓄積制御処理を行い(ステップS1304)、デフォーカス量を演算する。この蓄積制御処理として、図8のステップS202〜209に示す処理動作を行う。   Next, the control unit 21 sets the detected face area as a monitor range for accumulation control (step S1303). The AF sensor 20 and the AF controller 22 perform accumulation control processing in the face area set as the monitor range (step S1304), and calculate the defocus amount. As this accumulation control processing, processing operations shown in steps S202 to S209 of FIG. 8 are performed.

続いて、制御部21が、1stレリーズがあるか否かを判断する(ステップS1305)。制御部21が1stレリーズがないと判断した場合には(ステップS1305:No)、ステップS1300に戻り、AFセンサ20およびAFコントローラ22は、全ラインで蓄積処理を行う。   Subsequently, the control unit 21 determines whether or not there is a first release (step S1305). If the control unit 21 determines that there is no first release (step S1305: NO), the process returns to step S1300, and the AF sensor 20 and the AF controller 22 perform accumulation processing on all lines.

また、制御部21が1stレリーズがあると判断した場合には(ステップS1305:Yes)、レンズ駆動(ステップS1306)後、AFターゲットエリアをモニタ範囲に設定する(ステップS1307)。なお、AFターゲット位置を含む一部領域である所定の範囲が、標準のAFターゲットエリアとして予め設定されている。AFセンサ20およびAFコントローラ22は、モニタ範囲として設定されたAFターゲットエリアにて蓄積制御を行い(ステップS1308)、デフォーカス量を演算する。この蓄積制御処理として、図8のステップS202〜209に示す処理動作を行う。この結果をもとに、制御部21は、合焦範囲内であるか否かを判断する(ステップS1309)。   If the control unit 21 determines that there is a first release (step S1305: Yes), after driving the lens (step S1306), the AF target area is set to the monitor range (step S1307). A predetermined range that is a partial area including the AF target position is set in advance as a standard AF target area. The AF sensor 20 and the AF controller 22 perform accumulation control in the AF target area set as the monitor range (step S1308), and calculate the defocus amount. As this accumulation control processing, processing operations shown in steps S202 to S209 of FIG. 8 are performed. Based on this result, the control unit 21 determines whether or not it is within the focusing range (step S1309).

制御部21が合焦範囲内でないと判断した場合には(ステップS1309:No)、ステップS1305に戻る。また、制御部21が、合焦範囲内であると判断した場合には(ステップS1309:Yes)、2ndレリーズがあるまで、2ndレリーズの有無を判断する(ステップS1310)。制御部21が2ndレリーズはあったと判断した場合には(ステップS1310:Yes)、第3の焦点検出処理を終了する。   When the control unit 21 determines that it is not within the focusing range (step S1309: No), the process returns to step S1305. If the control unit 21 determines that it is within the focusing range (step S1309: Yes), it determines whether or not there is a 2nd release until there is a 2nd release (step S1310). When the control unit 21 determines that the 2nd release has occurred (step S1310: Yes), the third focus detection process ends.

このように、制御部21は、焦点検出の顔検出つきの自動選択が設定されたときは、AFセンサ20の全ラインの全画素の出力分布を求め、これをもとに主要被写体が占める範囲を検出し、検出した主要被写体が占める範囲を蓄積制御用のモニタ画素範囲として設定する。   As described above, when automatic selection with face detection for focus detection is set, the control unit 21 obtains the output distribution of all pixels of all lines of the AF sensor 20, and based on this, the range occupied by the main subject is determined. The range occupied by the detected main subject is set as a monitor pixel range for accumulation control.

なお、AFセンサ20ではなく、撮影用の撮像素子等の他のセンサにて顔検出を行う場合は、この顔検出結果に対応させて蓄積制御用のモニタ範囲を設定すればよく、設定したモニタ範囲にてAFセンサ20およびAFコントローラ22による蓄積制御を行えばよい。つまり、この場合には、第3の焦点検出処理として、他のセンサによって検出された顔エリアをモニタ範囲として設定し、この範囲において蓄積処理を行った後に、ステップS1305〜ステップS1310の処理を行う。   When face detection is performed by another sensor such as an image sensor for photographing instead of the AF sensor 20, a monitor range for accumulation control may be set in accordance with the face detection result. The accumulation control by the AF sensor 20 and the AF controller 22 may be performed within the range. That is, in this case, as the third focus detection process, the face area detected by another sensor is set as a monitor range, and after performing the accumulation process in this range, the processes in steps S1305 to S1310 are performed. .

このように、本実施の形態では、AFターゲット位置の選択条件に応じて最適なモニタ範囲を設定して焦点検出処理を行っているため、効率的かつ正確に焦点検出処理を行うことができる。   As described above, in the present embodiment, the focus detection process is performed by setting the optimum monitor range according to the AF target position selection condition, so that the focus detection process can be performed efficiently and accurately.

10 交換レンズ
11 撮影レンズ
12 モータドライバ
13 レンズ制御部
14 メインミラー
15 ファインダ用スクリーン
16 ファインダ光学系
17 ファインダ接眼レンズ
18 サブミラー
19 AF光学系
20 AFセンサ
21 制御部
22 AFコントローラ
23 フォーカルプレーンシャッタ
24 撮像素子
26 センサチップ
27 エリアセンサ部
28a,28b,128a,128b 水平画素列群
29a,29b 垂直画素列群
30a〜30d モニタ部
32 コンデンサレンズ
34 セパレータレンズ
35A,35B センサアレイ
40 蓄積制御部
41 制御回路
42 コンパレータ
51 シーケンサ
52 A/D変換器
53 メモリ
54 AF演算部
55 タイマ
56 レジスタ
57 フラッシュROM
61−1〜61−n 差動アンプ
62−1〜62−n MOSスイッチ
63−1〜63−n 電圧ホロワ
64 差動アンプ
65−1〜65−L モニタ範囲制御部
66−1〜66−n 選択スイッチ
C1〜C14 最大値検出回路
DESCRIPTION OF SYMBOLS 10 Interchangeable lens 11 Shooting lens 12 Motor driver 13 Lens control part 14 Main mirror 15 Viewfinder screen 16 Viewfinder optical system 17 Viewfinder eyepiece 18 Submirror 19 AF optical system 20 AF sensor 21 Control part 22 AF controller 23 Focal plane shutter 24 Image sensor 26 sensor chip 27 area sensor unit 28a, 28b, 128a, 128b horizontal pixel column group 29a, 29b vertical pixel column group 30a-30d monitor unit 32 condenser lens 34 separator lens 35A, 35B sensor array 40 accumulation control unit 41 control circuit 42 comparator 51 Sequencer 52 A / D Converter 53 Memory 54 AF Operation Unit 55 Timer 56 Register 57 Flash ROM
61-1 to 61-n Differential amplifier 62-1 to 62-n MOS switch 63-1 to 63-n Voltage follower 64 Differential amplifier 65-1 to 65-L Monitor range controller 66-1 to 66-n Selection switch C1-C14 Maximum value detection circuit

Claims (7)

複数画素から構成される画素列を複数有するエリアセンサを有し、前記画素列ごとに画素の出力を検出して前記画素列に含まれる画素の蓄積制御を行い、検出した前記画素の出力に基づいて焦点検出を行う焦点検出装置において、
前記エリアセンサの複数の画素列のそれぞれに画素出力の検出範囲を設定する検出範囲設定手段と、
前記検出範囲設定手段が設定した検出範囲に対応する画素の出力を有効信号として選択する検出範囲制御手段と、
前記検出範囲制御手段が有効信号として選択した画素の出力を検出して前記画素列の画素の蓄積を制御する蓄積制御手段と、
を備えたことを特徴とする焦点検出装置。
An area sensor having a plurality of pixel columns each composed of a plurality of pixels, detecting output of the pixels for each pixel column to perform accumulation control of the pixels included in the pixel column, and based on the detected output of the pixels In a focus detection device that performs focus detection,
Detection range setting means for setting a detection range of pixel output in each of the plurality of pixel columns of the area sensor;
Detection range control means for selecting an output of a pixel corresponding to the detection range set by the detection range setting means as an effective signal;
Accumulation control means for controlling the accumulation of pixels in the pixel column by detecting the output of the pixels selected by the detection range control means as an effective signal;
A focus detection apparatus comprising:
前記画素ごとに、前記検出範囲制御手段の制御のもとで前記画素と前記蓄積制御手段とを電気的に接続あるいは切断するスイッチを備えることを特徴とする請求項1に記載の焦点検出装置。   2. The focus detection apparatus according to claim 1, further comprising a switch for electrically connecting or disconnecting the pixel and the accumulation control unit for each pixel under the control of the detection range control unit. 当該焦点検出装置は、合焦目標位置の手動選択あるいは自動選択を設定でき、
前記検出範囲設定手段は、前記手動選択が設定されたときには直近の焦点検出で検出された前回デフォーカス量に応じて検出範囲を設定することを特徴とする請求項1または2に記載の焦点検出装置。
The focus detection device can set manual selection or automatic selection of the focus target position,
3. The focus detection according to claim 1, wherein the detection range setting unit sets a detection range according to a previous defocus amount detected by the most recent focus detection when the manual selection is set. apparatus.
前記検出範囲設定手段は、前記前回デフォーカス量の絶対値が所定値より小さい場合、前記画素列中の合焦目標位置を含む一部領域である所定の標準検出領域を前記検出範囲として設定し、前記前回デフォーカス量の絶対値が所定値より大きい場合、前記標準検出領域よりも広い範囲を前記検出範囲として設定することを特徴とする請求項3に記載の焦点検出装置。   When the absolute value of the previous defocus amount is smaller than a predetermined value, the detection range setting means sets a predetermined standard detection region that is a partial region including a focus target position in the pixel row as the detection range. The focus detection apparatus according to claim 3, wherein when the absolute value of the previous defocus amount is larger than a predetermined value, a range wider than the standard detection region is set as the detection range. 前記検出範囲設定手段は、前記前回デフォーカス量の絶対値が所定値より大きい場合、前記標準検出領域に前記前回デフォーカス量に相当する画素領域を加えた領域を前記検出範囲として設定することを特徴とする請求項4に記載の焦点検出装置。   When the absolute value of the previous defocus amount is larger than a predetermined value, the detection range setting means sets, as the detection range, an area obtained by adding a pixel area corresponding to the previous defocus amount to the standard detection area. The focus detection apparatus according to claim 4, wherein the focus detection apparatus is characterized. 当該焦点検出装置は、合焦目標位置の手動選択あるいは自動選択を設定でき、
前記検出範囲設定手段は、前記自動選択が設定されたとき、前記エリアセンサの全画素の出力結果をもとに合焦対象である主要被写体が占める範囲を検出し、検出した主要被写体が占める範囲を前記検出範囲として設定することを特徴とする請求項1または2に記載の焦点検出装置。
The focus detection device can set manual selection or automatic selection of the focus target position,
When the automatic selection is set, the detection range setting means detects a range occupied by a main subject as a focus target based on an output result of all pixels of the area sensor, and a range occupied by the detected main subject The focus detection device according to claim 1, wherein the detection range is set as the detection range.
前記蓄積制御手段は、前記検出範囲制御手段が選択した画素の蓄積中の出力のうち最大値が所定値を超えた場合に前記画素列の画素の蓄積を終了させることを特徴とする請求項1〜6のいずれか一つに記載の焦点検出装置。   2. The accumulation control unit terminates accumulation of pixels in the pixel column when a maximum value exceeds a predetermined value among outputs during accumulation of pixels selected by the detection range control unit. The focus detection apparatus as described in any one of -6.
JP2010168029A 2010-07-27 2010-07-27 Focus detector Pending JP2012027367A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010168029A JP2012027367A (en) 2010-07-27 2010-07-27 Focus detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010168029A JP2012027367A (en) 2010-07-27 2010-07-27 Focus detector

Publications (1)

Publication Number Publication Date
JP2012027367A true JP2012027367A (en) 2012-02-09

Family

ID=45780325

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010168029A Pending JP2012027367A (en) 2010-07-27 2010-07-27 Focus detector

Country Status (1)

Country Link
JP (1) JP2012027367A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9591201B2 (en) 2013-07-19 2017-03-07 Canon Kabushiki Kaisha AF controller, lens apparatus including the AF controller and image pickup apparatus
JP2017194654A (en) * 2016-04-22 2017-10-26 キヤノン株式会社 Image capturing device, control method therefor, program, and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9591201B2 (en) 2013-07-19 2017-03-07 Canon Kabushiki Kaisha AF controller, lens apparatus including the AF controller and image pickup apparatus
JP2017194654A (en) * 2016-04-22 2017-10-26 キヤノン株式会社 Image capturing device, control method therefor, program, and storage medium

Similar Documents

Publication Publication Date Title
JP5468178B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
JP5388544B2 (en) Imaging apparatus and focus control method thereof
EP2615825A2 (en) Image processing apparatus, image sensing appparatus, control method, program, and recording medium
JP6029309B2 (en) Focus detection device
JP2012173531A (en) Imaging device, focus control method and program
US9247122B2 (en) Focus adjustment apparatus and control method therefor
JP2011022386A (en) Imaging apparatus and control method therefor
JP5130178B2 (en) Focal length detection apparatus, imaging apparatus, imaging method, and camera
JP5095519B2 (en) Imaging apparatus and imaging method
JP2009047978A (en) Imaging apparatus, focusing unit, imaging method, and focusing method
JP2007024941A (en) Focus detecting apparatus, focusing apparatus and imaging apparatus
JP6076106B2 (en) Imaging apparatus and imaging method
JP2013113857A (en) Imaging device, and control method therefor
JP5676335B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2011090143A (en) Focal point detecting device and camera
JP2006050149A (en) Panning photographic method and photographing apparatus
JP2010060771A (en) Imaging device
JP2012027367A (en) Focus detector
JP5240591B2 (en) Imaging device, focusing device, imaging method, and focusing method
JP2009063689A (en) Focus detecting device and imaging apparatus
JP2009031343A (en) Camera
JP6845912B2 (en) Imaging device and its control method
JP2006322970A (en) Focus detector
JP6234094B2 (en) Focus detection apparatus and imaging apparatus
JP2011013499A (en) Imaging apparatus