JP2011145602A - Focus detector and imaging apparatus - Google Patents

Focus detector and imaging apparatus Download PDF

Info

Publication number
JP2011145602A
JP2011145602A JP2010008123A JP2010008123A JP2011145602A JP 2011145602 A JP2011145602 A JP 2011145602A JP 2010008123 A JP2010008123 A JP 2010008123A JP 2010008123 A JP2010008123 A JP 2010008123A JP 2011145602 A JP2011145602 A JP 2011145602A
Authority
JP
Japan
Prior art keywords
focus detection
focus
accumulation
area
control unit
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
JP2010008123A
Other languages
Japanese (ja)
Inventor
Naoyuki Onishi
直之 大西
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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Priority to JP2010008123A priority Critical patent/JP2011145602A/en
Publication of JP2011145602A publication Critical patent/JP2011145602A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a focus detector capable of appropriately detecting a focus state for a subject even when there is a bright subject in a background. <P>SOLUTION: The focus detector includes: a light receiving means 161 outputting light receiving signals corresponding to a plurality of focus detecting positions; a radiation means 140 radiating luminous flux to an object; a photometry means 162 obtaining first photometric values on the plurality of focus detecting positions in a state where the irradiation means 140 does not radiate the luminous flux, and second photometric values on the plurality of focus detecting positions in a state where the radiation means 140 radiates the luminous flux; a storage control means 162 performing storage control of the light receiving means according to storage conditions based on the light receiving signal corresponding to a second focus detecting position except a first focus detecting position where the photometric value equal to or above the predetermined value is obtained in terms of both the first photometric value and the second photometric value out of the plurality of focus detecting positions; and a focus detection means 163 detecting the focus state of an optical system based on the light receiving signal corresponding to the second focus detecting position. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、焦点検出装置および撮像装置に関するものである。   The present invention relates to a focus detection apparatus and an imaging apparatus.

従来より、全体的に低輝度の被写体に対して照明光を照射して焦点検出する技術が知られている。
(特許文献1)。
2. Description of the Related Art Conventionally, there has been known a technique for detecting a focus by irradiating illumination light to an object with a low luminance as a whole.
(Patent Document 1).

特開2008−129082号公報JP 2008-129082 A

しかしながら、従来技術では、背景に光源等の明るい被写体が存在する場合、補助光を照射しても、主要被写体の明るさが明るい被写体よりも暗い場合は、当該明るい被写体に対して焦点を検出してしまい、適切な焦点検出が行われない場合があった。   However, in the conventional technique, when a bright subject such as a light source exists in the background, the focus is detected for the bright subject when the brightness of the main subject is darker than the bright subject even when the auxiliary light is irradiated. As a result, proper focus detection may not be performed.

本発明が解決しようとする課題は、背景に明るい被写体がある場合でも、適切に焦点検出することができる焦点検出装置を提供することである。   The problem to be solved by the present invention is to provide a focus detection apparatus capable of appropriately detecting a focus even when a bright subject is present in the background.

この発明は、以下の解決手段によって上記課題を解決する。なお、発明の実施形態を示す図面に対応する符号を付して説明するが、この符号は発明の理解を容易にするためだけのものであって発明を限定する趣旨ではない。   The present invention solves the above problems by the following means. In addition, although the code | symbol corresponding to drawing which shows embodiment of this invention is attached | subjected and demonstrated, this code | symbol is only for making an understanding of invention easy, and is not the meaning which limits invention.

[1]本発明に係る焦点検出装置は、光学系による像面内の複数位置に対して設定された複数の焦点検出位置に対応する光束を受光して電荷を蓄積し、受光信号を出力する受光手段(161d)と、前記複数の焦点検出位置に対応する対象に対して光束を照射する照射手段(140)と、前記照射手段による光束を照射していない状態で前記複数の焦点検出位置のそれぞれに対応して得られる光束を測光した第1測光値と、前記照射手段による光束を照射した状態で前記複数の焦点検出位置のそれぞれに対応して得られる光束を測光した第2測光値とを求める測光手段(162)と、前記複数の焦点検出位置のうち、前記第1測光値と前記第2測光値のいずれにおいても所定値以上の測光値が得られる第1の焦点検出位置を除外した第2の焦点検出位置に対応する前記受光信号に基づく蓄積条件によって前記受光手段を蓄積制御する蓄積制御手段(162)と、前記第2の焦点検出位置に対応する前記受光信号に基づいて前記光学系の焦点状態を検出する焦点検出手段(163)とを、備えることを特徴とする。   [1] A focus detection apparatus according to the present invention receives a light beam corresponding to a plurality of focus detection positions set for a plurality of positions in an image plane by an optical system, accumulates charges, and outputs a light reception signal. A light receiving means (161d), an irradiating means (140) for irradiating a light beam to an object corresponding to the plurality of focus detection positions; A first photometric value obtained by measuring the luminous flux obtained in correspondence with each of the light beams, and a second photometric value obtained by measuring the luminous flux obtained in correspondence with each of the plurality of focus detection positions in a state in which the luminous flux is emitted by the irradiating means. Excluding the first focus detection position that obtains a photometric value greater than or equal to a predetermined value in both the first photometric value and the second photometric value among the plurality of focus detection positions. The second Accumulation control means (162) for accumulating and controlling the light receiving means according to an accumulation condition based on the light reception signal corresponding to the detection position, and a focus state of the optical system based on the light reception signal corresponding to the second focus detection position And a focus detection means (163) for detecting.

[2]上記焦点検出装置に係る発明において、前記蓄積制御手段(162)は、前記焦点状態と前記第2測光値とに基づいて選択された焦点検出位置に対応する前記受光信号に基づいて前記蓄積条件を決定するように構成することができる。   [2] In the invention relating to the focus detection device, the accumulation control unit (162) may be configured to perform the operation based on the light reception signal corresponding to the focus detection position selected based on the focus state and the second photometric value. The accumulation condition can be determined.

[3]上記焦点検出装置に係る発明において、前記蓄積制御手段(162)は、前記照射手段(140)による光束を照射していない状態で前記焦点検出手段により検出した前記焦点状態が所定の撮影距離に対応するものである焦点検出位置を除外した焦点検出位置に対応する前記受光信号に基づく前記蓄積条件によって前記受光手段(161d)を蓄積制御するように構成することができる。   [3] In the invention related to the focus detection device, the accumulation control means (162) is configured to capture the predetermined focus state detected by the focus detection means in a state where the light flux from the irradiation means (140) is not irradiated. The light receiving means (161d) can be configured to perform accumulation control according to the accumulation condition based on the light reception signal corresponding to the focus detection position excluding the focus detection position corresponding to the distance.

[4]上記焦点検出装置に係る発明において、前記蓄積制御手段(162)は、前記照射手段の照射能力に応じて前記所定の撮影距離を決定するように構成することができる。   [4] In the invention related to the focus detection apparatus, the accumulation control unit (162) may be configured to determine the predetermined photographing distance according to the irradiation capability of the irradiation unit.

[5]上記焦点検出装置に係る発明において、前記焦点検出手段(163)は、前記第2の焦点検出位置に属する複数の焦点検出位置の少なくとも一部を焦点検出位置群とし、前記焦点検出位置群に対して検出される複数の前記焦点状態のいずれかを選択する選択手段(163)を備えるように構成することができる。   [5] In the invention according to the focus detection apparatus, the focus detection unit (163) uses at least a part of a plurality of focus detection positions belonging to the second focus detection position as a focus detection position group, and the focus detection position. Selection means (163) for selecting any of the plurality of focus states detected for the group can be provided.

[6]本発明に係る撮像装置は、上記焦点検出装置を備えることを特徴とする。   [6] An imaging apparatus according to the present invention includes the focus detection apparatus.

本発明によれば、背景に明るい被写体がある場合でも、主要な被写体に対する焦点状態を適切に検出することができる。   According to the present invention, even when there is a bright subject in the background, it is possible to appropriately detect the focus state with respect to the main subject.

図1は、本実施形態に係るカメラ1を示すブロック図である。FIG. 1 is a block diagram showing a camera 1 according to the present embodiment. 図2は、撮像光学系の撮影画面内に設定された複数の焦点検出エリアの配置例を示す図である。FIG. 2 is a diagram illustrating an arrangement example of a plurality of focus detection areas set in the imaging screen of the imaging optical system. 図3は、撮像光学系の撮影画面内に設定された複数の焦点検出エリアと焦点検出モジュール161のラインセンサ161dとの対応関係を説明するための図である。FIG. 3 is a diagram for explaining a correspondence relationship between a plurality of focus detection areas set in the imaging screen of the imaging optical system and the line sensor 161d of the focus detection module 161. 図4は、第1実施形態に係るカメラ1の動作を示すフローチャートである。FIG. 4 is a flowchart showing the operation of the camera 1 according to the first embodiment. 図5は、第1実施形態に係る照明時制御処理を示すフローチャートである。FIG. 5 is a flowchart illustrating the control process at the time of illumination according to the first embodiment. 図6は、撮像光学系の撮影画面内で撮像された被写体の一場面例を示す図である。FIG. 6 is a diagram illustrating an example of a scene of a subject imaged on the imaging screen of the imaging optical system. 図7は、図6に示す撮像光学系の撮影画面内で撮像された被写体と、撮像光学系の撮影画面内に設定された複数の焦点検出エリアとの対応関係の一例を示す図である。FIG. 7 is a diagram illustrating an example of a correspondence relationship between a subject imaged in the imaging screen of the imaging optical system illustrated in FIG. 6 and a plurality of focus detection areas set in the imaging screen of the imaging optical system. 図8は、第2実施形態に係るカメラ1の動作を示すフローチャートである。FIG. 8 is a flowchart showing the operation of the camera 1 according to the second embodiment. 図9は、第2実施形態に係るセンサ領域特定制御処理及び電荷蓄積制御処理を示すフローチャートである。FIG. 9 is a flowchart showing a sensor region specifying control process and a charge accumulation control process according to the second embodiment.

以下においては、本発明を一眼レフデジタルカメラに適用した実施形態を図面に基づいて説明する。ただし本発明は、銀塩フィルムカメラなどのその他の撮像装置にも適用することができる。   In the following, an embodiment in which the present invention is applied to a single-lens reflex digital camera will be described with reference to the drawings. However, the present invention can also be applied to other imaging devices such as a silver salt film camera.

≪第1実施形態≫
図1は、本実施形態に係る一眼レフデジタルカメラ1を示すブロック図であり、本発明の焦点検出装置および撮像装置に関する構成以外のカメラの一般的構成については、その図示と説明を一部省略する。
<< First Embodiment >>
FIG. 1 is a block diagram showing a single-lens reflex digital camera 1 according to the present embodiment. The illustration and description of a general configuration of the camera other than the configuration related to the focus detection apparatus and the imaging apparatus of the present invention are partially omitted. To do.

図1に示すように、本実施形態の一眼レフデジタルカメラ1(以下、単にカメラ1という。)は、カメラボディ100とレンズ鏡筒200とを備え、カメラボディ100とレンズ鏡筒200とは着脱可能に結合される。   As shown in FIG. 1, the single-lens reflex digital camera 1 (hereinafter simply referred to as camera 1) of the present embodiment includes a camera body 100 and a lens barrel 200, and the camera body 100 and the lens barrel 200 are detachable. Combined as possible.

レンズ鏡筒200には、レンズ211,212,213、および絞り220を含む撮影光学系が内蔵されている。   The lens barrel 200 incorporates a photographing optical system including lenses 211, 212, 213 and a diaphragm 220.

フォーカスレンズ212は、レンズ鏡筒200の光軸L1に沿って移動可能に設けられ、エンコーダ260によってその位置が検出されつつレンズ駆動モータ230によってその位置が調節される。   The focus lens 212 is provided so as to be movable along the optical axis L1 of the lens barrel 200, and its position is adjusted by the lens driving motor 230 while its position is detected by the encoder 260.

このフォーカスレンズ212の光軸L1に沿う移動機構の具体的構成は特に限定されない。一例を挙げれば、レンズ鏡筒200に固定された固定筒に回転可能に回転筒を挿入し、この回転筒の内周面にヘリコイド溝(螺旋溝)を形成するとともに、フォーカスレンズ212を固定するレンズ枠の端部をヘリコイド溝に嵌合させる。そして、レンズ駆動モータ230によって回転筒を回転させることで、レンズ枠に固定されたフォーカスレンズ212が光軸L1に沿って直進移動することになる。なお、レンズ鏡筒200にはフォーカスレンズ212以外のレンズ211,213が設けられているが、ここではフォーカスレンズ212を例に挙げて本実施形態を説明する。   The specific configuration of the moving mechanism along the optical axis L1 of the focus lens 212 is not particularly limited. For example, a rotating cylinder is rotatably inserted into a fixed cylinder fixed to the lens barrel 200, a helicoid groove (spiral groove) is formed on the inner peripheral surface of the rotating cylinder, and the focus lens 212 is fixed. The end of the lens frame is fitted into the helicoid groove. Then, by rotating the rotating cylinder by the lens driving motor 230, the focus lens 212 fixed to the lens frame moves linearly along the optical axis L1. The lens barrel 200 is provided with lenses 211 and 213 other than the focus lens 212. Here, the embodiment will be described by taking the focus lens 212 as an example.

上述したようにレンズ鏡筒200に対して回転筒を回転させることによりレンズ枠に固定されたフォーカスレンズ212は光軸L1方向に直進移動するが、その駆動源としてのレンズ駆動モータ230がレンズ鏡筒200に設けられている。レンズ駆動モータ230と回転筒は、たとえば複数の歯車からなる変速機で連結され、レンズ駆動モータ230の駆動軸を何れか一方向へ回転駆動すると所定のギヤ比で回転筒に伝達され、そして、回転筒が何れか一方向へ回転することで、レンズ枠に固定されたフォーカスレンズ212が光軸L1の何れかの方向へ直進移動することになる。なお、レンズ駆動モータ230の駆動軸が逆方向に回転駆動すると、変速機を構成する複数の歯車も逆方向に回転し、フォーカスレンズ212は光軸L1の逆方向へ直進移動することになる。   As described above, the focus lens 212 fixed to the lens frame by rotating the rotating barrel with respect to the lens barrel 200 moves straight in the direction of the optical axis L1, but the lens drive motor 230 as its drive source is operated by the lens mirror. The tube 200 is provided. The lens driving motor 230 and the rotating cylinder are connected by, for example, a transmission including a plurality of gears, and when the driving shaft of the lens driving motor 230 is driven to rotate in any one direction, the lens driving motor 230 is transmitted to the rotating cylinder at a predetermined gear ratio, and When the rotary cylinder rotates in any one direction, the focus lens 212 fixed to the lens frame moves straight in any direction of the optical axis L1. When the drive shaft of the lens drive motor 230 is rotated in the reverse direction, the plurality of gears constituting the transmission also rotate in the reverse direction, and the focus lens 212 moves straight in the reverse direction of the optical axis L1.

フォーカスレンズ212の位置はエンコーダ260によって検出される。既述したとおり、フォーカスレンズ212の光軸L1方向の位置は回転筒の回転角に相関するので、たとえばレンズ鏡筒200に対する回転筒の相対的な回転角を検出すれば、その位置を求めることができる。   The position of the focus lens 212 is detected by the encoder 260. As described above, the position of the focus lens 212 in the direction of the optical axis L1 correlates with the rotation angle of the rotating cylinder. Therefore, if the relative rotation angle of the rotating cylinder with respect to the lens barrel 200 is detected, the position is obtained. Can do.

本実施形態のエンコーダ260には、回転筒の回転駆動に連結された回転円板の回転をフォトインタラプタなどの光センサで検出して、回転数に応じたパルス信号を出力するものや、固定筒と回転筒の何れか一方に設けられたフレキシブルプリント配線板の表面のエンコーダパターンに、何れか他方に設けられたブラシ接点を接触させ、回転筒の移動量(回転方向でも光軸方向の何れでもよい)に応じた接触位置の変化を検出回路で検出するものなどが用いられる。   The encoder 260 according to the present embodiment includes an encoder 260 that detects the rotation of a rotating disk coupled to the rotational drive of the rotating cylinder with an optical sensor such as a photo interrupter, and outputs a pulse signal corresponding to the number of rotations. And the contact point of the brush on the surface of the flexible printed wiring board provided on either one of the rotating cylinders, and the brush contact provided on the other, the amount of movement of the rotating cylinder (in either the rotational direction or the optical axis direction) The detection circuit detects a change in the contact position according to (good).

絞り220は、上記撮影光学系を通過して、カメラボディ100に備えられた撮像素子110に至る光束の光量を制限するとともにボケ量を調整するために、光軸L1を中心にした開口径が調節可能に構成されている。絞り220による開口径の調節は、たとえば自動露出モードにおいて演算された適切な開口径が、カメラ制御部170からレンズ制御部250を介して絞り駆動部240へ送信されることにより行われる。また、開口径の調節は、カメラボディ100に設けられた操作部150を介したマニュアル操作により、設定された開口径がカメラ制御部170からレンズ制御部250を介して絞り駆動部240へ送信されることによっても行われる。なお、絞り220の開口径は、レンズ制御部250で認識される。   The aperture 220 has an aperture diameter centered on the optical axis L1 in order to limit the amount of light flux that passes through the imaging optical system and reaches the image sensor 110 provided in the camera body 100 and adjusts the amount of blur. It is configured to be adjustable. Adjustment of the aperture diameter by the aperture 220 is performed by transmitting an appropriate aperture diameter calculated in the automatic exposure mode from the camera control unit 170 to the aperture drive unit 240 via the lens control unit 250, for example. In addition, the adjustment of the aperture diameter is performed by a manual operation via the operation unit 150 provided in the camera body 100, and the set aperture diameter is transmitted from the camera control unit 170 to the aperture drive unit 240 via the lens control unit 250. Is also done. Note that the aperture diameter of the diaphragm 220 is recognized by the lens control unit 250.

一方、カメラボディ100は、被写体からの光束を撮像素子110、ファインダ135、レンズ136、測光センサ137および焦点検出モジュール161へ導くためのミラー系120を備える。このミラー系120は、回転軸123を中心にして被写体の観察位置と撮像位置との間で所定角度だけ回転するクイックリターンミラー121と、このクイックリターンミラー121に軸支されてクイックリターンミラー121の回動に合わせて回転するサブミラー122とを備える。図1においては、ミラー系120が被写体の観察位置にある状態を実線で示し、被写体の撮像位置にある状態を二点鎖線で示す。   On the other hand, the camera body 100 includes a mirror system 120 for guiding the light flux from the subject to the image sensor 110, the finder 135, the lens 136, the photometric sensor 137, and the focus detection module 161. The mirror system 120 includes a quick return mirror 121 that rotates by a predetermined angle between the observation position and the imaging position of the subject around the rotation axis 123, and the quick return mirror 121 that is pivotally supported by the quick return mirror 121. And a sub mirror 122 that rotates in accordance with the rotation. In FIG. 1, a state where the mirror system 120 is at the observation position of the subject is indicated by a solid line, and a state where the mirror system 120 is at the imaging position of the subject is indicated by a two-dot chain line.

ミラー系120は、被写体の観察位置にある状態では光軸L1の光路上に挿入され、また被写体の撮像位置にある状態では光軸L1の光路から退避するように回転する。   The mirror system 120 is inserted on the optical path of the optical axis L1 in the state where the subject is in the observation position, and rotates so as to retract from the optical path of the optical axis L1 in the state where the subject is in the imaging position.

クイックリターンミラー121はハーフミラーで構成され、被写体の観察位置にある状態では、被写体からの光束(光軸L1)の一部の光束(光軸L2,L3)を当該クイックリターンミラー121で反射してファインダ135および測光センサ137に導き、一部の光束(光軸L4)を透過させてサブミラー122へ導く。これに対して、サブミラー122は全反射ミラーで構成され、クイックリターンミラー121を透過した光束(光軸L4)を焦点検出モジュール161へ導く。   The quick return mirror 121 is composed of a half mirror, and in a state where the subject is at the observation position, the quick return mirror 121 reflects a part of the light flux (optical axes L2 and L3) from the subject (optical axis L1). Then, the light is guided to the finder 135 and the photometric sensor 137, and a part of the light beam (optical axis L4) is transmitted to the sub mirror 122. On the other hand, the sub mirror 122 is configured by a total reflection mirror, and guides the light beam (optical axis L4) transmitted through the quick return mirror 121 to the focus detection module 161.

したがって、ミラー系120が観察位置にある場合は、被写体からの光束(光軸L1)はファインダ135、測光センサ137および焦点検出モジュール161へ導かれ、撮影者により被写体が観察されるとともに、露出演算やフォーカスレンズ212の焦点状態の検出が実行される。そして、撮影者がレリーズボタンを全押しするとミラー系120が撮影位置に回動し、被写体からの光束(光軸L1)は全て撮像素子110へ導かれ、撮影した画像データを図示しないメモリに保存する。   Therefore, when the mirror system 120 is at the observation position, the light flux (optical axis L1) from the subject is guided to the finder 135, the photometric sensor 137, and the focus detection module 161, and the subject is observed by the photographer and exposure calculation is performed. And the focus state of the focus lens 212 is detected. Then, when the photographer fully presses the release button, the mirror system 120 rotates to the photographing position, and all the luminous flux (optical axis L1) from the subject is guided to the image sensor 110, and the photographed image data is stored in a memory (not shown). To do.

クイックリターンミラー121で反射された被写体からの光束(光軸L2)は、撮像素子110と光学的に等価な面に配置された焦点板131に結像し、ペンタプリズム133と接眼レンズ134とを介して観察可能になっている。このとき、透過型液晶表示器132は、焦点板131上の被写体像に焦点検出エリアマークなどを重畳して表示するとともに、被写体像外のエリアにシャッター速度、絞り値、撮影枚数などの撮影に関する情報を表示する。これにより、撮影者は、撮影準備状態において、ファインダ135を通して被写体およびその背景ならびに撮影関連情報などを観察することができる。   The light flux (optical axis L2) from the subject reflected by the quick return mirror 121 forms an image on a focusing screen 131 disposed on a surface optically equivalent to the image sensor 110, and forms a pentaprism 133 and an eyepiece lens 134. It is possible to observe through. At this time, the transmissive liquid crystal display 132 superimposes and displays a focus detection area mark on the subject image on the focusing screen 131 and relates to shooting such as the shutter speed, aperture value, and number of shots in an area outside the subject image. Display information. As a result, the photographer can observe the subject, its background, and photographing related information through the finder 135 in the photographing preparation state.

測光センサ137は、二次元カラーCCDイメージセンサなどで構成され、撮影の際の露出値を演算するため、撮影画面を複数の領域に分割して領域ごとの輝度に応じた信号を出力する。測光センサ137で検出された信号はカメラ制御部170へ出力され、自動露出制御に用いられる。   The photometric sensor 137 is composed of a two-dimensional color CCD image sensor or the like, and divides the photographing screen into a plurality of regions and outputs a signal corresponding to the luminance of each region in order to calculate an exposure value at the time of photographing. A signal detected by the photometric sensor 137 is output to the camera control unit 170 and used for automatic exposure control.

AF補助光源140は、カメラ制御部170からの制御信号によって制御される。AF補助光源140により照射される照明光は、例えば、全体に均一の強度を有する照明光であってもよいし、所定のコントラストパターンを有する照明光であってもよく、その種類は特に限定されない。   The AF auxiliary light source 140 is controlled by a control signal from the camera control unit 170. The illumination light emitted from the AF auxiliary light source 140 may be, for example, illumination light having a uniform intensity as a whole or illumination light having a predetermined contrast pattern, and the type thereof is not particularly limited. .

操作部150は、例えば、シャッターレリーズボタン、およびカメラ1の各種動作モードを設定するためのモード設定スイッチなどを備えており、操作部150により、オートフォーカスモード/マニュアルフォーカスモードの切換や、オートフォーカスモードのうち焦点調節に用いるための焦点検出エリアを自動で選択する自動選択AFモードを選べるようになっている。また、シャッターレリーズボタンのスイッチは、ボタンの半押しでONとなる第1スイッチSW1と、ボタンの全押しでONとなる第2スイッチSW2とを含む。   The operation unit 150 includes, for example, a shutter release button, a mode setting switch for setting various operation modes of the camera 1, and the operation unit 150 is used to switch between an autofocus mode / manual focus mode and an autofocus. An automatic selection AF mode for automatically selecting a focus detection area to be used for focus adjustment among the modes can be selected. The shutter release button switch includes a first switch SW1 that is turned on when the button is half-pressed and a second switch SW2 that is turned on when the button is fully pressed.

焦点検出モジュール161は、位相差検出方式による焦点検出を実行するための焦点検出素子であり、サブミラー122で反射した光束(光軸L4)の光路中、撮像素子110の撮像面と光学的に等価な位置に固定されている。   The focus detection module 161 is a focus detection element for performing focus detection by the phase difference detection method, and is optically equivalent to the imaging surface of the image sensor 110 in the optical path of the light beam (optical axis L4) reflected by the sub mirror 122. It is fixed at the correct position.

ここで、撮影光学系の撮影画面50内に設定された複数の焦点検出エリアの配置例を図2に示す。図2に示すように、撮影光学系の撮影画面50内には複数の焦点検出エリアAFPが設定されており、本実施形態において、焦点検出モジュール161には、各焦点検出エリアAFPに対応して、後述するように、一対のラインセンサ161dが複数備えられており、これにより、各焦点検出エリアAFPにおける像信号を取得できるようになっている。本実施形態では、図2にAFP1〜51で示すように、51点の焦点検出エリアAFPが設けられ、それぞれの位置が撮像素子110の撮像範囲の所定位置に対応している。なお、焦点検出エリアAFPの個数および配置は、図2に示す態様に限定されるものではない。   Here, FIG. 2 shows an arrangement example of a plurality of focus detection areas set in the photographing screen 50 of the photographing optical system. As shown in FIG. 2, a plurality of focus detection areas AFP are set in the shooting screen 50 of the shooting optical system. In the present embodiment, the focus detection module 161 corresponds to each focus detection area AFP. As will be described later, a plurality of a pair of line sensors 161d are provided, so that an image signal in each focus detection area AFP can be acquired. In the present embodiment, as indicated by AFP 1 to 51 in FIG. 2, 51 focus detection areas AFP are provided, and each position corresponds to a predetermined position in the imaging range of the image sensor 110. Note that the number and arrangement of the focus detection areas AFP are not limited to those shown in FIG.

また、撮影光学系の撮影画面50内に設定された複数の焦点検出エリアと、焦点検出モジュール161のラインセンサ161dとの対応関係を図3に示す。図3に示すように、本実施形態では、ラインセンサ161d〜161d11の合計11個のラインセンサを備え、ラインセンサ161dがAFP1〜5に対応して設けられており、ラインセンサ161dがAFP6〜10に対応して設けられており、同様に、ラインセンサ161d〜161d11がAFP11〜51にそれぞれ対応して設けられている。なお、各ラインセンサ161d〜161d11はそれぞれ一対(2個)のラインセンサから構成されているが、図3においては、各ラインセンサ161d〜161d11を構成する一対のラインセンサのうち一方のラインセンサのみを示している。さらに、図3に示すように、ラインセンサ161d10の各領域161d10a〜161d10cは、焦点検出エリアAFP46〜48に対応しており、ラインセンサ161d10の領域161d10aで光束を受光して得られた像信号はAFP47に対応する像信号として出力され、ラインセンサ161d10の領域161d10bで光束を受光して得られた像信号はAFP46に対応する像信号として出力され、ラインセンサ161d10の領域161d10cで光束を受光して得られた像信号はAFP48に対応する像信号として出力される。同様に、各一対のラインセンサ161d〜161d、161d11における各領域(不図示)も、焦点検出エリアAFP1〜45、49〜51にそれぞれ対応しており、各一対のラインセンサ161d〜161d11の各領域で受光した像信号が各焦点検出エリアAFP1〜45、49〜51に対応する像信号として出力される。 FIG. 3 shows the correspondence between a plurality of focus detection areas set in the shooting screen 50 of the shooting optical system and the line sensor 161d of the focus detection module 161. As shown in FIG. 3, in this embodiment, a total of 11 line sensors 161d 1 to 161d 11 are provided, the line sensor 161d 1 is provided corresponding to the AFPs 1 to 5, and the line sensor 161d 2 Are provided corresponding to the AFPs 6 to 10, and similarly, the line sensors 161d 3 to 161d 11 are provided corresponding to the AFPs 11 to 51, respectively. Each of the line sensors 161d 1 to 161d 11 is composed of a pair (two) of line sensors, but in FIG. 3, one of the pair of line sensors constituting the line sensors 161d 1 to 161d 11 is one of them. Only the line sensor is shown. Furthermore, as shown in FIG. 3, each region 161d 10a ~161d 10c of the line sensor 161d 10 corresponds to the focus detection area AFP46~48, by receiving the light beam in the region 161d 10a of the line sensor 161d 10 obtained image signal which is the output as an image signal corresponding to AFP47, image signals obtained by receiving the light beam in the region 161d 10b of the line sensor 161d 10 is outputted as an image signal corresponding to AFP46, the line sensor 161d 10 An image signal obtained by receiving the light beam in the region 161d 10c is output as an image signal corresponding to the AFP48. Similarly, each region (not shown) in each of the pair of line sensors 161d 1 to 161d 9 and 161d 11 also corresponds to the focus detection areas AFP 1 to 45 and 49 to 51, respectively, and each of the pair of line sensors 161d 3 to 161d 3 image signal received in each region of 161d 11 is output as an image signal corresponding to each focus detection area AFP1~45,49~51.

図1に戻り、AF−CCD制御部162は、オートフォーカスモードにおいて、焦点検出モジュール161のラインセンサ161dのゲインや蓄積時間などの蓄積条件を制御するものであり、焦点検出モジュール161に備えられた複数対のラインセンサ161dにて検出された像信号を各焦点検出エリアに対応させて読み出し、読み出した像信号をカメラ制御部170およびデフォーカス演算部163へ出力する。   Returning to FIG. 1, the AF-CCD control unit 162 controls accumulation conditions such as the gain and accumulation time of the line sensor 161 d of the focus detection module 161 in the autofocus mode, and is provided in the focus detection module 161. The image signals detected by the plurality of pairs of line sensors 161d are read in correspondence with the respective focus detection areas, and the read image signals are output to the camera control unit 170 and the defocus calculation unit 163.

ここで、上述したように、焦点検出モジュール161の一対のラインセンサ161dは、それぞれ複数の焦点検出エリアAFPに対応するように設けられており、AF−CCD制御部162は、各一対のラインセンサ161dごとにゲインや蓄積時間などの蓄積条件を制御する。すなわち、同じ一対のラインセンサ161dに対応する複数の焦点検出エリアに対応する複数の像信号が、同じ蓄積条件で得られるようになっている。例えば、図3に示す例において、AFP46〜48は同じ一対のラインセンサ161d10に対応しているため、AF−CCD制御部162は、一対のラインセンサ161d10の蓄積条件を制御することで、AFP46〜48に対応する像信号を同じ蓄積条件で得ることになる。また、AF−CCD制御部162は、後述するように、焦点検出用の照明光を照射している状態における像信号の輝度(第1の輝度値)と、焦点検出用の照明光を照射していない状態における像信号の輝度(第2の輝度値)とを求め、各焦点検出エリアから高輝度の焦点検出エリアを特定し、当該高輝度の焦点検出エリアを除外した焦点検出エリアに対応する輝度に基づいて、ラインセンサ161dのゲインや蓄積時間などの蓄積条件を制御する。 Here, as described above, the pair of line sensors 161d of the focus detection module 161 are provided so as to correspond to the plurality of focus detection areas AFP, respectively, and the AF-CCD control unit 162 includes each pair of line sensors. The accumulation conditions such as gain and accumulation time are controlled every 161d. That is, a plurality of image signals corresponding to a plurality of focus detection areas corresponding to the same pair of line sensors 161d can be obtained under the same accumulation condition. For example, in the example shown in FIG. 3, because AFP46~48 corresponds to the same pair of line sensors 161d 10, AF-CCD controller 162, by controlling the accumulation conditions of the pair of line sensors 161d 10, Image signals corresponding to the AFPs 46 to 48 are obtained under the same accumulation conditions. Further, as will be described later, the AF-CCD control unit 162 irradiates the luminance (first luminance value) of the image signal and the illumination light for focus detection when the illumination light for focus detection is illuminated. The brightness (second brightness value) of the image signal in a state where the brightness is not detected is obtained, a focus detection area with high brightness is specified from each focus detection area, and the focus detection area corresponding to the focus detection area excluding the focus detection area with high brightness is supported. Based on the luminance, the accumulation conditions such as the gain and accumulation time of the line sensor 161d are controlled.

デフォーカス演算部163は、AF−CCD制御部162から送られてきた焦点検出エリアに対応した一対の像信号のずれ量をデフォーカス量に変換し、これをレンズ駆動量演算部164へ出力する。   The defocus calculation unit 163 converts the shift amount of the pair of image signals corresponding to the focus detection area sent from the AF-CCD control unit 162 into a defocus amount, and outputs this to the lens drive amount calculation unit 164. .

レンズ駆動量演算部164は、デフォーカス演算部163から送られてきたデフォーカス量に基づいて、当該デフォーカス量に応じたレンズ駆動量Δdを演算し、これをレンズ駆動制御部165へ出力する。   Based on the defocus amount sent from the defocus calculation unit 163, the lens drive amount calculation unit 164 calculates a lens drive amount Δd corresponding to the defocus amount, and outputs this to the lens drive control unit 165. .

レンズ駆動制御部165は、レンズ駆動量演算部164から送られてきたレンズ駆動量Δdに基づいて、レンズ駆動モータ230を駆動し、フォーカスレンズ212の位置を調整する。   The lens drive controller 165 drives the lens drive motor 230 based on the lens drive amount Δd sent from the lens drive amount calculator 164 and adjusts the position of the focus lens 212.

撮像素子110は、カメラボディ100の、被写体からの光束の光軸L1上であって、レンズ211,212,213を含む撮影光学系の規定の像面位置に設けられ、その前面にシャッター111が設けられている。この撮像素子110は、複数の光電変換素子が二次元に配置されたものであって、二次元CCDイメージセンサ、MOSセンサまたはCIDなどのデバイスから構成することができる。撮像素子110で光電変換された画像信号は、カメラ制御部170で画像処理されたのち図示しないメモリに保存される。なお、撮影画像を格納するメモリは内蔵型メモリやカード型メモリなどで構成することができる。   The image sensor 110 is provided on the optical axis L1 of the light beam from the subject of the camera body 100 and at a specified image plane position of the photographing optical system including the lenses 211, 212, and 213, and a shutter 111 is provided in front of the image sensor 110. Is provided. The image sensor 110 is a device in which a plurality of photoelectric conversion elements are two-dimensionally arranged, and can be composed of a device such as a two-dimensional CCD image sensor, a MOS sensor, or a CID. The image signal photoelectrically converted by the image sensor 110 is subjected to image processing by the camera control unit 170 and then stored in a memory (not shown). Note that the memory for storing the photographed image can be constituted by a built-in memory or a card-type memory.

カメラ制御部170はマイクロプロセッサとメモリなどの周辺部品から構成され、撮像素子110から画像信号を読み出すとともに、必要に応じて所定の情報処理を施し、図示しないメモリに出力する。この他にも、カメラ制御部170は、撮影画像情報の補正、レンズ鏡筒200の焦点調節状態の検出、および絞り調節状態の検出など、カメラ1全体の制御を司る。   The camera control unit 170 is composed of peripheral components such as a microprocessor and a memory, reads an image signal from the image sensor 110, performs predetermined information processing as necessary, and outputs it to a memory (not shown). In addition, the camera control unit 170 controls the entire camera 1 such as correction of captured image information, detection of the focus adjustment state of the lens barrel 200, and detection of the aperture adjustment state.

次に、図4を参照して、本実施形態に係るカメラ1の動作例を説明する。図4は、本実施形態に係るカメラ1の動作を示すフローチャートである。なお、以下においては、オートフォーカスモードのうち、焦点調節に用いるための焦点検出エリアを自動で選択する自動選択AFモードが選択されている場合を例示して説明する。   Next, an operation example of the camera 1 according to the present embodiment will be described with reference to FIG. FIG. 4 is a flowchart showing the operation of the camera 1 according to this embodiment. In the following, a case will be described as an example in which the automatic selection AF mode for automatically selecting a focus detection area for use in focus adjustment is selected from among the autofocus modes.

まず、ステップS101で、カメラ制御部170により、電源がオンであり、かつ、オートフォーカスモードのうち自動選択AFモードが選択されていることが確認された上で、ステップS102に進み、焦点検出モジュール161のラインセンサ161dによる電荷の蓄電が行われ、AF−CCD制御部162による蓄積制御が行われる。ラインセンサ161dで蓄電された電荷量は、各焦点検出エリアの輝度に相当し、AF−CCD制御部162は、ラインセンサ161dからの信号情報を、撮像光学系の撮影画面50内に設定された各焦点検出エリアに対応して読み出すことで、各焦点検出エリアの輝度(第1の輝度値)を測定する。なお、AF−CCD制御部162は、各一対のラインセンサ161d〜161d11ごとに、蓄積条件を制御する。 First, in step S101, the camera control unit 170 confirms that the power is on and the automatic selection AF mode is selected from among the autofocus modes. Then, the process proceeds to step S102, and the focus detection module. Charge storage is performed by the line sensor 161 d of 161, and accumulation control is performed by the AF-CCD control unit 162. The amount of charge stored in the line sensor 161d corresponds to the brightness of each focus detection area, and the AF-CCD control unit 162 sets the signal information from the line sensor 161d in the imaging screen 50 of the imaging optical system. By reading out corresponding to each focus detection area, the brightness (first brightness value) of each focus detection area is measured. The AF-CCD control unit 162 controls the accumulation condition for each pair of line sensors 161d 1 to 161d 11 .

自動選択AFモードにおいて、シャッターレリーズボタンが半押しされる前の状態の時(ステップS103を参照)、焦点を合わせるためのエリアの位置が定まっていないため、AF−CCD制御部162は、各一対のラインセンサ161d〜161d11のそれぞれに対応する全ての焦点検出エリアを、焦点を合わせるためのセンサの領域(AFセンサ領域)として特定し、各ラインセンサ161d〜161d11に対応するAFセンサ領域の像信号の輝度のうち、最も輝度の高い像信号の輝度に応じて、ラインセンサ161dのゲインや蓄積時間等の蓄積条件を制御する。 In the automatic selection AF mode, when the shutter release button is half-pressed (see step S103), since the position of the area for focusing is not determined, the AF-CCD control unit 162 sets each pair. All focus detection areas corresponding to the respective line sensors 161d 1 to 161d 11 are specified as sensor areas for focusing (AF sensor areas), and AF sensors corresponding to the respective line sensors 161d 1 to 161d 11 The storage conditions such as the gain and storage time of the line sensor 161d are controlled according to the brightness of the image signal having the highest brightness among the brightnesses of the image signals in the region.

例えば、図3に示すように、ラインセンサ161d10に対応する焦点検出エリアAFP47〜49のうち、焦点検出エリアAFP47の輝度が最も高い場合、AF−CCD制御部162は、焦点検出エリアAFP47の輝度に基づいて、ラインセンサ161d10の蓄積条件を制御する。 For example, as shown in FIG. 3, of the focus detection area AFP47~49 corresponding to the line sensor 161d 10, when the highest luminance of the focus detection area AFP47, AF-CCD controller 162, the luminance of the focus detection area AFP47 based on, to control the accumulation condition of the line sensor 161d 10.

ステップS103では、カメラ制御部170により、シャッターレリーズボタンの半押し(第1スイッチSW1のオン)がされたか否か判断される。第1スイッチSW1がオンであると判断された場合はステップS104に進み、第1スイッチSW1がオンではないと判断された場合はステップS101に戻り、第1スイッチSW1がオンされるまで、焦点検出モジュール161のラインセンサ161dによる蓄電と、蓄積された信号情報の出力とが、繰り返し行われる。   In step S103, the camera control unit 170 determines whether the shutter release button is half-pressed (the first switch SW1 is turned on). If it is determined that the first switch SW1 is on, the process proceeds to step S104. If it is determined that the first switch SW1 is not on, the process returns to step S101, and focus detection is performed until the first switch SW1 is turned on. Power storage by the line sensor 161d of the module 161 and output of the accumulated signal information are repeatedly performed.

次に、ステップS104にて、AF補助光源140による照明光を照射する条件を満たすか否か判断される。AF補助光源140の照射条件は、例えば、各焦点検出エリアの輝度が所定値未満の場合にAF補助光源140を照射し、各焦点検出エリアの輝度が所定値以上の場合にAF補助光源140を照射しない、とする。AF−CCD制御部162は、各焦点検出エリアの輝度情報をカメラ制御部170に送信し、カメラ制御部170は、AF−CCD制御部162から読み出される輝度情報から、当該照明条件に基づいて、AF補助光源140を照射するか否かを判断する。   Next, in step S104, it is determined whether a condition for irradiating illumination light from the AF auxiliary light source 140 is satisfied. The irradiation condition of the AF auxiliary light source 140 is, for example, that the AF auxiliary light source 140 is irradiated when the brightness of each focus detection area is less than a predetermined value, and the AF auxiliary light source 140 is turned on when the brightness of each focus detection area is greater than or equal to a predetermined value. Do not irradiate. The AF-CCD control unit 162 transmits the luminance information of each focus detection area to the camera control unit 170, and the camera control unit 170 uses the luminance information read from the AF-CCD control unit 162 based on the illumination condition. It is determined whether or not the AF auxiliary light source 140 is irradiated.

なお、本例のステップS104では、AF−CCD制御部162の蓄積条件に基づいて、AF補助光源140を照射するか否かを判断するが、測光センサ137により検出される輝度に基づいて、AF補助光源140を照射するか否かを判断してもよい。またAF−CCD制御部162が、当該照明条件に基づいて、AF補助光源140を照射するか否かを判断してもよい。   In step S104 of this example, it is determined whether or not to irradiate the AF auxiliary light source 140 based on the accumulation condition of the AF-CCD control unit 162. However, based on the luminance detected by the photometric sensor 137, AF is determined. It may be determined whether or not the auxiliary light source 140 is irradiated. Further, the AF-CCD control unit 162 may determine whether to irradiate the AF auxiliary light source 140 based on the illumination condition.

カメラ制御部170がAF補助光源140を照射しないと判断する場合、ステップS106に進み、カメラ制御部170がAF補助光源140を照射する判断する場合、ステップS105へ進む。   When the camera control unit 170 determines not to irradiate the AF auxiliary light source 140, the process proceeds to step S106. When the camera control unit 170 determines to irradiate the AF auxiliary light source 140, the process proceeds to step S105.

ステップS105では、照明光を照射し、AF−CCD制御部162による蓄積制御が行われる(照明光時制御処理)。以下において、図5〜図7を参照して、ステップS105のAF−CCD制御部162による蓄積制御等の処理について説明する。図5は、本実施形態に係る照明光を照射する際、ラインセンサ161dの蓄積制御のフローチャートある。図6は撮像光学系の撮影画面50内で撮像された被写体の一場面例を示す図であり、図7は、図6に示す撮像光学系の撮影画面50内で撮像された被写体と撮像光学系の撮影画面50内に設定された複数の焦点検出エリアとの対応関係の一例を示す図である。なお、図6および図7においては、撮像光学系の撮影画面50内に、第1被写体(人物)と、背景としての第2被写体(外灯)が撮像された場面を例示している。   In step S105, illumination light is irradiated, and accumulation control is performed by the AF-CCD control unit 162 (control process during illumination light). Hereinafter, with reference to FIGS. 5 to 7, processing such as accumulation control by the AF-CCD control unit 162 in step S <b> 105 will be described. FIG. 5 is a flowchart of accumulation control of the line sensor 161d when irradiating illumination light according to the present embodiment. FIG. 6 is a diagram showing an example of a scene of a subject imaged on the imaging screen 50 of the imaging optical system, and FIG. 7 is an illustration of the subject imaged on the imaging screen 50 of the imaging optical system shown in FIG. It is a figure which shows an example of a correspondence with the some focus detection area set in the imaging | photography screen 50 of a system. 6 and 7 exemplify scenes in which the first subject (person) and the second subject (outside light) as the background are imaged in the imaging screen 50 of the imaging optical system.

ステップS104にてAF補助光源140を照射すると判断されると、まずAF−CCD制御部162は、ラインセンサ161d〜161d11毎に、対応する焦点検出エリアAFP1〜51の中で、それぞれ最も高輝度となる焦点検出エリアと2番目に輝度が高いエリアを特定し、それぞれの輝度を比較する(ステップS201)。例えば、図7に示すとおり、ラインセンサ161dに対応する焦点検出エリアAFP1〜5において、第1被写体があるため、焦点検出エリアAFP1の輝度が一番目に高く、焦点検出エリアAFP3の輝度が2番目に高いとする。また、ラインセンサ161dに対応する焦点検出エリアAFP26〜30において、第2被写体の光源が焦点検出エリアAFP27にあるため、焦点検出エリアAFP27の輝度が一番目に高く、焦点検出エリアAFP26の輝度が2番目に高いとする。 If it is determined that irradiates AF auxiliary light source 140 in step S104, first, AF-CCD controller 162, for each line sensor 161d 1 ~161d 11, in the corresponding focus detection area AFP1~51, highest respectively The focus detection area that is the luminance and the second highest luminance area are specified, and the respective luminances are compared (step S201). For example, as shown in FIG. 7, the focus detection area AFP1~5 corresponding to the line sensor 161d 1, since there is a first object, the brightness of the focus detection area AFP1 high to a first brightness of the focus detection area AFP3 2 The second highest. Further, in the focus detection area AFP26~30 corresponding to the line sensor 161d 6, since the light source of the second object is in the focus detection area AFP27, higher to a first luminance of the focus detection area AFP27, the brightness of the focus detection area AFP26 Suppose that it is the second highest.

図7に示す場合、AF−CCD制御部162は、焦点検出エリアAFP1〜5の中から、最も高輝度の領域として、焦点検出エリアAFP1を特定し、2番目に高い輝度の領域として、焦点検出エリアAFP3を特定し、焦点検出エリアAFP1の輝度値と焦点検出エリアAFP3の輝度値との差分をとる。また、AF−CCD制御部162は、焦点検出エリアAFP26〜30の中から、最も高輝度の領域として、焦点検出エリアAFP27を特定し、2番目に高い輝度の領域として、焦点検出エリアAFP26を特定し、焦点検出エリアAFP27の輝度値と焦点検出エリアAFP26の輝度値との差分をとる。同様に、AF−CCD制御部162は、他のラインセンサ161d〜161d11毎に、最大輝度値の焦点検出エリア及び2番目の輝度値の焦点検出エリアを特定し、当該輝度値の差分をとる。 In the case shown in FIG. 7, the AF-CCD control unit 162 specifies the focus detection area AFP1 as the highest brightness area from the focus detection areas AFP1 to AFP5, and detects the focus as the second highest brightness area. The area AFP3 is specified, and the difference between the brightness value of the focus detection area AFP1 and the brightness value of the focus detection area AFP3 is obtained. Further, the AF-CCD control unit 162 specifies the focus detection area AFP27 as the highest brightness area from the focus detection areas AFP26 to 30, and specifies the focus detection area AFP26 as the second highest brightness area. The difference between the luminance value of the focus detection area AFP27 and the luminance value of the focus detection area AFP26 is obtained. Similarly, the AF-CCD control unit 162 specifies the focus detection area of the maximum brightness value and the focus detection area of the second brightness value for each of the other line sensors 161d 2 to 161d 11 , and calculates the difference between the brightness values. Take.

次に、ステップS202にてAF−CCD制御部162は、ラインセンサ161d〜161d11毎の輝度値の差分と所定値とを比較し、輝度値の差分が当該所定値以上の場合、最大輝度値の焦点検出エリアをAFセンサ領域から除外し、残りの焦点検出エリアをAFセンサ領域とする。一方、AF−CCD制御部162は、輝度値の差分が当該所定値未満の場合、最大輝度値の焦点検出エリアをAFセンサ領域から除外せず、全ての焦点検出エリアをAFセンサ領域とする。 Next, in step S202, the AF-CCD control unit 162 compares the luminance value difference for each of the line sensors 161d 1 to 161d 11 with a predetermined value, and if the luminance value difference is equal to or greater than the predetermined value, the maximum luminance is obtained. The focus detection area of the value is excluded from the AF sensor area, and the remaining focus detection area is set as the AF sensor area. On the other hand, when the difference in luminance value is less than the predetermined value, the AF-CCD control unit 162 does not exclude the focus detection area with the maximum luminance value from the AF sensor area, and sets all focus detection areas as AF sensor areas.

例えば、図7に示すように、ラインセンサ161dに対応する焦点検出エリアAFP1〜5において、最大輝度値の焦点検出エリアAFP1及び2番目の輝度値の焦点検出エリアAFP3は、共に、第1被写体を撮像する領域であるため、輝度に差がないため、焦点検出エリアAFP1の輝度値と焦点検出エリアAFP3の輝度値との差分は小さく、所定値より小さい。そのため、AF−CCD制御部162は、最大輝度値の焦点検出エリアAFP1をAFセンサ領域から除外せず、全ての焦点検出エリアAFP1〜5をAFセンサ領域とする。 For example, as shown in FIG. 7, the focus detection area AFP1~5 corresponding to the line sensor 161d 1, the focus detection area AFP3 focus detection areas AFP1 and second luminance value of the maximum luminance value, both the first object Since there is no difference in luminance, the difference between the luminance value of the focus detection area AFP1 and the luminance value of the focus detection area AFP3 is small and smaller than a predetermined value. Therefore, the AF-CCD control unit 162 does not exclude the focus detection area AFP1 with the maximum luminance value from the AF sensor area, and sets all the focus detection areas AFP1 to AFP5 as AF sensor areas.

また、ラインセンサ161dに対応する焦点検出エリアAFP26〜30において、最大輝度値の焦点検出エリアAFP26は、第2被写体の光源を撮像しており、他のエリアに比べて輝度が高いため、焦点検出エリアAFP27の輝度値と焦点検出エリアAFP26の輝度値との差分は大きく、所定値より大きい。そのため、AF−CCD制御部162は、最大輝度値の焦点検出エリアAFP27をAFセンサ領域から除外し、残りの焦点検出エリアAFP26、28〜30をAFセンサ領域とする。これにより、本例は、背景の光源等により高輝度な領域が有る場合、当該高輝度な領域に対応する焦点検出エリアを、AFセンサ領域から、除外することができる。 Further, in the focus detection area AFP26~30 corresponding to the line sensor 161d 6, the focus detection area AFP26 of the maximum luminance value is imaging the second object light source, has high luminance as compared with other areas, the focus The difference between the luminance value of the detection area AFP27 and the luminance value of the focus detection area AFP26 is large and larger than a predetermined value. Therefore, the AF-CCD control unit 162 excludes the focus detection area AFP27 having the maximum luminance value from the AF sensor area, and sets the remaining focus detection areas AFP26 and 28 to 30 as AF sensor areas. Thus, in the present example, when there is a high-luminance region due to a background light source or the like, the focus detection area corresponding to the high-luminance region can be excluded from the AF sensor region.

次に、ステップS203にて、AF補助光源140を点灯させ、補助光を照射する。   Next, in step S203, the AF auxiliary light source 140 is turned on to emit auxiliary light.

そして、ステップS204にて、焦点検出モジュール161のラインセンサ161dによる電荷の蓄電が行われ、AF−CCD制御部162は、ステップS202により特定されたAFセンサ領域に対応する輝度に基づいて、ラインセンサ161dの蓄積条件の制御を行う。   In step S204, the electric charge is stored by the line sensor 161d of the focus detection module 161, and the AF-CCD control unit 162 performs line sensor detection based on the brightness corresponding to the AF sensor area specified in step S202. The accumulation condition 161d is controlled.

AF−CCD制御部162は、各一対のラインセンサ161d〜161d11に対応して、ステップS202にて特定されたAFセンサ領域の像信号の輝度のうち、最も輝度の高い像信号の輝度に応じて、ラインセンサ161dの蓄積条件で制御を行う。ここで、ステップS204におけるAF―CCD蓄積制御は、ステップS102のAF―CCD蓄積制御と比べて、AF照射光140が点灯されており、ステップS102の蓄積条件と同じ条件で、ラインセンサ161dの蓄積条件を決めると、オーバーフローを起こす可能性がある。そのため、ステップS204におけるAF―CCD蓄積制御は、AF照射光140の照射による輝度を加味して、例えば、ラインセンサ161dの蓄積時間をステップS102の蓄積時間より短くする等により、ラインセンサ161dの蓄積条件で制御を行う。これにより、本例はオーバーフローを防ぐことができる。 AF-CCD controller 162, corresponding to each pair of line sensors 161d 1 ~161d 11, among the luminance of the image signal in the AF sensor area identified at step S202, the brightness of the brightest high image signal Accordingly, control is performed under the accumulation conditions of the line sensor 161d. Here, in the AF-CCD accumulation control in step S204, the AF irradiation light 140 is turned on as compared with the AF-CCD accumulation control in step S102, and the accumulation of the line sensor 161d is performed under the same conditions as the accumulation conditions in step S102. If conditions are determined, there is a possibility of overflow. Therefore, in the AF-CCD accumulation control in step S204, the accumulation by the line sensor 161d is performed by taking into account the luminance due to the irradiation of the AF irradiation light 140, for example, by making the accumulation time of the line sensor 161d shorter than the accumulation time of step S102. Control by condition. Thereby, this example can prevent overflow.

図4に戻り、ステップS106では、AF補助光源140が照射されない場合は、各一対のラインセンサ161d〜161d11のそれぞれに対応する全ての焦点検出エリアの領域をAFセンサ領域として、当該領域のデフォーカス量を演算するデフォーカス量演算処理が行われ、AF補助光源140が照射する場合は、ステップS202で特定されたAFセンサ領域のデフォーカス量を演算するデフォーカス量演算処理が行われる。 Returning to FIG. 4, in step S <b> 106, when the AF auxiliary light source 140 is not irradiated, the regions of all focus detection areas corresponding to the respective pair of line sensors 161 d 1 to 161 d 11 are set as AF sensor regions. When the defocus amount calculation processing for calculating the defocus amount is performed and the AF auxiliary light source 140 emits light, the defocus amount calculation processing for calculating the defocus amount of the AF sensor area specified in step S202 is performed.

なお、ステップS106においては、算出されたデフォーカス量の信頼性も判定される。   In step S106, the reliability of the calculated defocus amount is also determined.

続くステップS107では、カメラ制御部170により、AFセンサ領域に属する全ての焦点検出エリアについてデフォーカス量が算出されたか否か判断される。AFセンサ領域に属する全ての焦点検出エリアについてデフォーカス量が算出されたと判断された場合は、ステップS108に進み、一方、AFセンサ領域に属する全ての焦点検出エリアについてデフォーカス量が算出されていないと判断された場合は、AFセンサ領域に属する全ての焦点検出エリアについてデフォーカス量が算出されるまで、デフォーカス量の算出が繰り返される。   In subsequent step S107, the camera control unit 170 determines whether or not the defocus amount has been calculated for all focus detection areas belonging to the AF sensor area. If it is determined that the defocus amount has been calculated for all focus detection areas belonging to the AF sensor area, the process proceeds to step S108, while the defocus amount has not been calculated for all focus detection areas belonging to the AF sensor area. When it is determined that the defocus amount is calculated for all focus detection areas belonging to the AF sensor area, the defocus amount calculation is repeated.

次に、ステップS108にて、カメラ制御部170により、焦点を合わせるために最適なエリアの位置を決定するための処理(自動選択AF処理)が行われる。自動選択AF処理の方法は、特に限定されないが、例えば、ステップS102又はステップS202で特定されたAFセンサ領域のデフォーカス量の中から、最も小さいデフォーカス量の焦点検出エリアを選択することにより、最も至近側の焦点検出エリアを選択する方法、または、ステップS102又はステップS202で特定されたAFセンサ領域の焦点検出エリアのうち、撮影画面50内において、中央部に位置する焦点検出エリアを選択する方法が挙げられる。   Next, in step S108, the camera control unit 170 performs a process (automatic selection AF process) for determining an optimum area position for focusing. The method of automatic selection AF processing is not particularly limited. For example, by selecting the focus detection area with the smallest defocus amount from the defocus amounts of the AF sensor area specified in step S102 or step S202, A method for selecting the closest focus detection area or a focus detection area located at the center in the shooting screen 50 among the focus detection areas of the AF sensor area specified in step S102 or step S202. A method is mentioned.

ステップS109では、ステップS108の自動選択AF処理に基づき、レンズ駆動量演算部164により、焦点調節に用いるための焦点検出エリアのデフォーカス量に応じたレンズ駆動量Δdが演算され、算出されたレンズ駆動量Δdがレンズ駆動制御部165へ出力される。   In step S109, based on the automatic selection AF processing in step S108, the lens driving amount calculation unit 164 calculates the lens driving amount Δd corresponding to the defocus amount of the focus detection area for use in focus adjustment, and calculates the calculated lens. The drive amount Δd is output to the lens drive control unit 165.

そして、ステップS110では、レンズ駆動制御部165により、ステップS112で算出されたレンズ駆動量Δdに基づいて、レンズ制御部250を介して、フォーカスレンズ駆動モータ230へ駆動指令が送出され、フォーカスレンズ212の駆動が行われる。   In step S110, the lens drive control unit 165 sends a drive command to the focus lens drive motor 230 via the lens control unit 250 based on the lens drive amount Δd calculated in step S112. Is driven.

なお、ステップS109及びステップS110において、初回の自動選択AF処理で検出できる焦点検出エリアが1つもない場合、スキャン動作が行われる。具体的には、レンズ駆動制御部250により、フォーカスレンズ駆動モータ230へレンズ駆動信号の送出が行われ、これにより、フォーカスレンズ212を所定方向へ駆動させながら、各焦点検出エリアについてデフォーカス量の演算を行うことにより、焦点状態の探索が行われる。   In step S109 and step S110, if there is no focus detection area that can be detected by the first automatic selection AF process, a scanning operation is performed. Specifically, the lens drive control unit 250 sends a lens drive signal to the focus lens drive motor 230, thereby driving the focus lens 212 in a predetermined direction and setting the defocus amount for each focus detection area. By performing the calculation, the focus state is searched.

ステップS111では、カメラ制御部170により、合焦判定が行われる。例えば、本実施形態では、焦点調節用の焦点検出エリアのデフォーカス量が所定値以下となった場合に、合焦と判定される。合焦と判定された場合には、ステップS112に進み、一方、合焦と判定されなかった場合には、ステップS103に戻り、合焦するまで、上述した処理が繰り返される。   In step S111, the camera control unit 170 performs in-focus determination. For example, in the present embodiment, when the defocus amount in the focus detection area for focus adjustment is equal to or less than a predetermined value, it is determined to be in focus. If it is determined to be in focus, the process proceeds to step S112. On the other hand, if it is not determined to be in focus, the process returns to step S103, and the above-described processing is repeated until focus is achieved.

ステップS112では、カメラ制御部170により、シャッターレリーズボタンの全押し(第2スイッチSW2のオン)がされたか否か判断される。第2スイッチSW2がオンであると判断された場合はステップS113へ進み、撮像素子110により、画像の撮像が行われる(ステップS113)。これにより、主要被写体に焦点の合った画像が撮像され、撮像された画像が、カメラ制御部170に送信されて所定の処理が施された後、画像データとして、図示しないメモリに記憶される。一方、ステップS112で、第2スイッチSW2がオフであると判断された場合はステップS103に戻り、第2スイッチSW2がオンされるまで、上述した処理が繰り返される。   In step S112, the camera control unit 170 determines whether or not the shutter release button is fully pressed (the second switch SW2 is turned on). When it is determined that the second switch SW2 is on, the process proceeds to step S113, and an image is picked up by the image sensor 110 (step S113). Thereby, an image focused on the main subject is captured, and the captured image is transmitted to the camera control unit 170 and subjected to predetermined processing, and then stored as image data in a memory (not shown). On the other hand, if it is determined in step S112 that the second switch SW2 is off, the process returns to step S103, and the above-described processing is repeated until the second switch SW2 is turned on.

上記のように、本例では、AF補助光源104を点灯しない状態で、撮影画面50内に設定された各焦点検出エリアの輝度(第1の輝度値)を測定し、各焦点検出エリアの第1の輝度値のうち所定値以上の輝度値が得られる焦点検出エリアを除外し、除外したエリアの輝度に基づいて、ラインセンサ161dの蓄積条件の制御を行う。すなわち、当該除外したエリアは、夜景の点光源や背景の光源等を含む領域であって、AF補助光源140を点灯しても、当該領域にAF補助光源140からの光が届きにくく、AF補助光源140の点灯前後で、輝度の変化が少ないエリアである。そのため、本例のように、当該エリアを除外して、AF補助光源140の点灯前後で、輝度の変化が大きい焦点検出エリアに基づいて、AF補助光源140の点灯時のラインセンサ161dの蓄積条件を制御することによって、本来の被写体を含む領域に対して、蓄積制御を行う。   As described above, in this example, the brightness (first brightness value) of each focus detection area set in the photographing screen 50 is measured in a state where the AF auxiliary light source 104 is not turned on. A focus detection area in which a luminance value equal to or higher than a predetermined value among the luminance values of 1 is obtained is excluded, and the accumulation condition of the line sensor 161d is controlled based on the luminance of the excluded area. That is, the excluded area is an area including a point light source for night scenes, a background light source, and the like. Even when the AF auxiliary light source 140 is turned on, it is difficult for light from the AF auxiliary light source 140 to reach the area. This is an area where there is little change in luminance before and after the light source 140 is turned on. Therefore, as in this example, the accumulation condition of the line sensor 161d when the AF auxiliary light source 140 is turned on based on a focus detection area where the luminance change is large before and after the AF auxiliary light source 140 is turned on, excluding the area. By controlling this, accumulation control is performed on the area including the original subject.

これにより、例えば背景に光源等の明るい被写体がある場合に、当該被写体を除いた領域で、ラインセンサ161dの蓄積制御を行い、オートフォーカス処理を行うため、光源等を含む背景に引っ張られず、本来の被写体に対応させてラインセンサ161dの蓄積制御を行い、適切に焦点を合わせることができる。   Thus, for example, when there is a bright subject such as a light source in the background, the accumulation control of the line sensor 161d is performed in an area excluding the subject and the autofocus process is performed. The accumulation control of the line sensor 161d is performed in correspondence with the subject, and the focus can be adjusted appropriately.

なお、ステップS202において、本例は、各ラインセンサ161d〜161d11に対応する焦点検出エリア内で、輝度値の差分が所定値より大きい場合に、最も高輝度の領域をAFセンサ領域から除外するが、除外する領域の特定方法は他の方法でもよく、例えば、当該焦点検出エリア内で、輝度値の平均値をとり、当該平均値との比較により、除外する領域を特定してもよい。 Note that, in step S202, this embodiment is excluded in the focus detection area corresponding to the line sensors 161d 1 ~161d 11, when the difference in luminance value is larger than the predetermined value, the region of highest intensity from the AF sensor region However, another method may be used for specifying the area to be excluded. For example, an average value of luminance values may be taken in the focus detection area, and the area to be excluded may be specified by comparison with the average value. .

≪第2実施形態≫
次に、本発明の第2実施形態を図面に基づいて説明する。本例は、上述した第1実施形態に対して、AF補助光源104を点灯する前にデフォーカス量を算出する点が異なる。これ以外の構成で、上述した第1実施形態と同じ構成は、その記載を適宜、援用する。図8は本例のカメラ1の動作を示すフローチャート、図9は、本例のセンサ領域特定制御処理及びAF補助光源104に基づく電荷蓄積制御処理を示すフローチャートである。
<< Second Embodiment >>
Next, 2nd Embodiment of this invention is described based on drawing. This example differs from the first embodiment described above in that the defocus amount is calculated before the AF auxiliary light source 104 is turned on. The description of the same configuration as that of the above-described first embodiment other than the above is incorporated as appropriate. FIG. 8 is a flowchart showing the operation of the camera 1 of this example, and FIG. 9 is a flowchart showing the sensor area specifying control process and the charge accumulation control process based on the AF auxiliary light source 104 of this example.

図8に示すように、ステップS301〜ステップS303及びステップS308〜ステップS313は、図4に示す、ステップS101〜ステップS103及びステップS108〜ステップS113と同様であるため、説明を省略する。   As shown in FIG. 8, steps S301 to S303 and steps S308 to S313 are the same as steps S101 to S103 and steps S108 to S113 shown in FIG.

ステップS303にて、シャッターレリーズボタンが半押しされると、センサ領域特定処理(ステップS304)及びAF補助光源104に基づく電荷蓄積制御処理(ステップS305)が行われる。以下、図9を用いて、ステップS304及びステップS305について、説明する。   When the shutter release button is half-pressed in step S303, a sensor area specifying process (step S304) and a charge accumulation control process based on the AF auxiliary light source 104 (step S305) are performed. Hereinafter, step S304 and step S305 will be described with reference to FIG.

ステップS304aにて、カメラ制御部170は、ステップS302により設定された蓄積条件に基づいて、ラインセンサ161dからの受信信号から、撮像光学系の撮影画面50内の各焦点検出エリアAFP1〜AFP51(図2を参照)のデフォーカス量を演算する。なお、デフォーカス量の演算方法は、上述したステップS106と同様の方法である。   In step S304a, the camera control unit 170 determines the focus detection areas AFP1 to AFP51 (see FIG. 5) in the imaging screen 50 of the imaging optical system from the received signal from the line sensor 161d based on the accumulation condition set in step S302. 2) is calculated. Note that the defocus amount calculation method is the same as that in step S106 described above.

次に、ステップS304bにて、カメラ制御部170は、レンズ211、レンズ212及びレンズ213の現在の位置の情報及び焦点距離の情報等を含むレンズ情報を読み出す。   Next, in step S304b, the camera control unit 170 reads lens information including information on the current positions of the lens 211, the lens 212, and the lens 213, information on the focal length, and the like.

ステップS304cにて、カメラ制御部170は補助光種別情報を読み出す。補助光種別情報には、使用する補助光の到達距離の情報などが含まれている。AF補助光源140を利用する際には、当該AF補助光源140の種別情報が、補助光種別情報として読み出され、外付けの補助光又は外付けのストロボを利用する際は、それぞれ、外付けの補助光又はストロボの種別情報が、読み出される。   In step S304c, the camera control unit 170 reads auxiliary light type information. The auxiliary light type information includes information on the reach of auxiliary light to be used. When the AF auxiliary light source 140 is used, the type information of the AF auxiliary light source 140 is read as auxiliary light type information, and when using the external auxiliary light or the external strobe, the external information is attached respectively. The auxiliary light or strobe type information is read out.

そして、ステップS304dにて、AFセンサ領域を特定する。カメラ制御部170は、ラインセンサ161dの蓄積条件とステップS304aのデフォーカス量及びステップS304bの現在のレンズ情報から、高輝度で、かつ、無限遠側にあるエリアを抽出する。そして、ステップS304cの補助光種別情報に応じて、当該エリアをAFセンサ領域から除外し、AFセンサ領域を特定する。撮像光学系の撮影画面50内の各焦点検出エリアにおいて、AFセンサ領域に含まれるエリアは、撮影距離、補助光の照射範囲等に応じて設定される。そのため、カメラ制御部170は、ラインセンサ161dの蓄積条件及びステップS304a〜S304cまでのデフォーカス量、レンズ情報及び補助光種別情報から、被写体の撮影距離と、当該被写体に含まれる各焦点検出エリアの輝度、及び補助光の照射距離を特定し、補助光が届かず、高輝度のエリアを抽出して、AFセンサ領域から除外する。   In step S304d, the AF sensor area is specified. The camera control unit 170 extracts an area on the infinity side with high brightness from the accumulation condition of the line sensor 161d, the defocus amount in step S304a, and the current lens information in step S304b. Then, according to the auxiliary light type information in step S304c, the area is excluded from the AF sensor area, and the AF sensor area is specified. In each focus detection area in the imaging screen 50 of the imaging optical system, the area included in the AF sensor area is set according to the imaging distance, the irradiation range of the auxiliary light, and the like. Therefore, the camera control unit 170 determines the shooting distance of the subject and each focus detection area included in the subject from the accumulation condition of the line sensor 161d, the defocus amount from step S304a to S304c, lens information, and auxiliary light type information. The luminance and the irradiation distance of the auxiliary light are specified, the auxiliary light does not reach and a high luminance area is extracted and excluded from the AF sensor region.

次に、ステップS305aにて、AF補助光源140を点灯する条件を満たすか否か判断される。AF補助光源140の点灯条件は、例えば、各焦点検出エリアの輝度が所定値未満の場合にAF補助光源140を点灯し、各焦点検出エリアの輝度が所定値以上の場合にAF補助光源140を点灯しない、とする。AF−CCD制御部162は、各焦点検出エリアの輝度情報をカメラ制御部170に送信し、カメラ制御部170は、AF−CCD制御部162から読み出される輝度情報から、当該照明条件に基づいて、AF補助光源140を点灯するか否かを判断する。   Next, in step S305a, it is determined whether a condition for lighting the AF auxiliary light source 140 is satisfied. The lighting condition of the AF auxiliary light source 140 is, for example, that the AF auxiliary light source 140 is turned on when the brightness of each focus detection area is less than a predetermined value, and the AF auxiliary light source 140 is turned on when the brightness of each focus detection area is greater than or equal to a predetermined value. Suppose that it does not light up. The AF-CCD control unit 162 transmits the luminance information of each focus detection area to the camera control unit 170, and the camera control unit 170 uses the luminance information read from the AF-CCD control unit 162 based on the illumination condition. It is determined whether or not the AF auxiliary light source 140 is turned on.

なお、本例のステップS305aでは、AF−CCD制御部162の蓄積条件に基づいて、AF補助光源140を点灯するか否かを判断するが、測光センサ137により検出される輝度に基づいて、AF補助光源140を点灯するか否かを判断してもよい。またAF−CCD制御部162が、当該照明条件に基づいて、AF補助光源140を点灯するか否かを判断してもよい。   In step S305a of this example, it is determined whether or not the AF auxiliary light source 140 is turned on based on the accumulation condition of the AF-CCD control unit 162. However, based on the luminance detected by the photometric sensor 137, AF is determined. It may be determined whether or not the auxiliary light source 140 is turned on. Further, the AF-CCD control unit 162 may determine whether to turn on the AF auxiliary light source 140 based on the illumination condition.

カメラ制御部170がAF補助光源140を点灯しないと判断する場合、ステップS306に進み(図8を参照)、カメラ制御部170がAF補助光源140を点灯する判断する場合、ステップS305bへ進む。   When the camera control unit 170 determines that the AF auxiliary light source 140 is not turned on, the process proceeds to step S306 (see FIG. 8), and when the camera control unit 170 determines that the AF auxiliary light source 140 is turned on, the process proceeds to step S305b.

ステップS305bでは、AF補助光源140を点灯し、ステップS305cにて、AF−CCD制御部162による蓄積制御が行われる。ステップS305cの蓄積制御は、ステップS302の蓄積制御と同様であるが、制御対象となるエリアが異なる。   In step S305b, the AF auxiliary light source 140 is turned on, and accumulation control by the AF-CCD control unit 162 is performed in step S305c. The accumulation control in step S305c is the same as the accumulation control in step S302, but the area to be controlled is different.

すなわち、ステップS302の蓄積制御では、焦点を合わせるためのエリアの位置が定まっていないため、AF−CCD制御部162は、各一対のラインセンサ161d〜161d11のそれぞれに対応する全ての焦点検出エリアを、焦点を合わせるためのセンサの領域として特定し、各ラインセンサ161d〜161d11に対応するAFセンサ領域の像信号の輝度に応じて、ラインセンサ161dのゲインや蓄積時間等の蓄積条件を制御する。一方、ステップS305cの蓄積制御では、焦点を合わせるためのエリアの位置(AFセンサ領域)が、ステップS304cの制御処理により、定まっているため、AF−CCD制御部162は、ステップS304cにて特定されたAFセンサ領域内のラインセンサ161dに対応するAFセンサ領域の像信号の輝度に応じて、ラインセンサ161dのゲインや蓄積時間等の蓄積条件を制御する。そして、ステップS305cによる蓄積制御処理が終わると、ステップS306へ進む。 That is, in the accumulation control in step S302, since the position of the area for focusing is not determined, the AF-CCD control unit 162 detects all the focal points corresponding to each of the pair of line sensors 161d 1 to 161d 11. the area identified as area sensors for focusing, according to the luminance of the image signal in the AF sensor area corresponding to the line sensors 161d 1 ~161d 11, accumulation condition of the gain and the accumulation time of the line sensor 161d To control. On the other hand, in the accumulation control in step S305c, since the position of the area for focusing (AF sensor area) is determined by the control process in step S304c, the AF-CCD control unit 162 is specified in step S304c. The accumulation conditions such as the gain and accumulation time of the line sensor 161d are controlled in accordance with the brightness of the image signal in the AF sensor area corresponding to the line sensor 161d in the AF sensor area. When the accumulation control process in step S305c ends, the process proceeds to step S306.

図8に戻り、ステップS306では、AF補助光源140が点灯されない場合は、各一対のラインセンサ161d〜161d11のそれぞれに対応する全ての焦点検出エリアの領域をAFセンサ領域として、当該領域のデフォーカス量を演算するデフォーカス量演算処理が行われ、AF補助光源140が点灯する場合は、ステップS305cで特定されたAFセンサ領域のデフォーカス量を演算するデフォーカス量演算処理が行われる。デフォーカス量の演算方法は、ステップS106と同様の方法であるため、省略する。 Returning to FIG. 8, if the AF auxiliary light source 140 is not turned on in step S306, all focus detection area regions corresponding to the respective pair of line sensors 161d 1 to 161d 11 are used as AF sensor regions. When the defocus amount calculation process for calculating the defocus amount is performed and the AF auxiliary light source 140 is turned on, the defocus amount calculation process for calculating the defocus amount of the AF sensor area specified in step S305c is performed. The calculation method of the defocus amount is the same as that in step S106, and therefore will be omitted.

なお、ステップS306のデフォーカス量演算処理について、AF補助光源140を点灯しない場合、ステップS306のデフォーカス量演算処理を省略し、ステップS304aで演算したデフォーカス量を用いて、後のステップである、オートフォーカス処理を行ってもよい。   Note that, when the AF auxiliary light source 140 is not turned on, the defocus amount calculation process in step S306 is a subsequent step by omitting the defocus amount calculation process in step S306 and using the defocus amount calculated in step S304a. Auto focus processing may be performed.

続くステップS307では、カメラ制御部170により、AFセンサ領域に属する全ての焦点検出エリアについてデフォーカス量が算出されたか否か判断される。AFセンサ領域に属する全ての焦点検出エリアについてデフォーカス量が算出されたと判断された場合は、ステップS308に進み、一方、AFセンサ領域に属する全ての焦点検出エリアについてデフォーカス量が算出されていないと判断された場合は、AFセンサ領域に属する全ての焦点検出エリアについてデフォーカス量が算出されるまで、デフォーカス量の算出が繰り返される。   In subsequent step S307, the camera control unit 170 determines whether or not the defocus amount has been calculated for all focus detection areas belonging to the AF sensor area. If it is determined that the defocus amount has been calculated for all focus detection areas belonging to the AF sensor area, the process proceeds to step S308. On the other hand, the defocus amount has not been calculated for all focus detection areas belonging to the AF sensor area. When it is determined that the defocus amount is calculated for all focus detection areas belonging to the AF sensor area, the defocus amount calculation is repeated.

上記のように、本例では、AF補助光源104を点灯する前に、撮影画面50内に設定された各焦点検出エリアのデフォーカス量を演算し、AF補助光源104の照射範囲外であり高輝度である焦点検出エリアを除外し、除外したエリアの輝度に基づいて、ラインセンサ161dの蓄積条件の制御を行う。すなわち、当該除外したエリアは、夜景の点光源や背景の光源等を含む領域であって、AF補助光源140を点灯しても、当該領域にAF補助光源140からの光が届きにくく、AF補助光源140の点灯前後で、輝度の変化が少ないエリアである。そのため、本例のように、当該エリアを除外して、AF補助光源140の点灯時のラインセンサ161dの蓄積条件を制御することによって、本例の被写体を含む領域に対して、蓄積制御を行う。   As described above, in this example, before the AF auxiliary light source 104 is turned on, the defocus amount of each focus detection area set in the photographing screen 50 is calculated, and is outside the irradiation range of the AF auxiliary light source 104. The focus detection area that is the luminance is excluded, and the accumulation condition of the line sensor 161d is controlled based on the luminance of the excluded area. That is, the excluded area is an area including a point light source for night scenes, a background light source, and the like. Even when the AF auxiliary light source 140 is turned on, it is difficult for light from the AF auxiliary light source 140 to reach the area. This is an area where there is little change in luminance before and after the light source 140 is turned on. Therefore, as in this example, the area is excluded and the accumulation condition of the line sensor 161d when the AF auxiliary light source 140 is turned on is controlled to perform accumulation control on the area including the subject in this example. .

これにより、例えば背景に光源等の明るい被写体がある場合に、当該被写体を除いた領域で、ラインセンサ161dの蓄積制御を行い、オートフォーカス処理を行うため、光源等を含む背景に引っ張られず、本来の被写体に対応させてラインセンサ161dの蓄積制御を行い、適切に焦点を合わせることができる。   Thus, for example, when there is a bright subject such as a light source in the background, the accumulation control of the line sensor 161d is performed in an area excluding the subject and the autofocus process is performed. The accumulation control of the line sensor 161d is performed in correspondence with the subject, and the focus can be adjusted appropriately.

また、本例は、補助光種別情報に基づいて補助光の照射距離を特定し、AF補助光源104の照射範囲外であり高輝度である焦点検出エリアをAFセンサ領域から除外し、AFセンサ領域の輝度に基づいて、ラインセンサ161dの蓄積条件の制御を行う。   Further, in this example, the irradiation distance of the auxiliary light is specified based on the auxiliary light type information, the focus detection area that is outside the irradiation range of the AF auxiliary light source 104 and has high luminance is excluded from the AF sensor area, and the AF sensor area The accumulation condition of the line sensor 161d is controlled on the basis of the luminance.

これにより、補助光の照射能力に応じて、補助光の照射範囲を特定することができるため、補助光の種別に応じて、照射範囲外であり高輝度のエリアを除外し、光源等を含む背景に引っ張られず、本来の被写体に対応させてラインセンサ161dの蓄積制御を行うことができる。   As a result, the irradiation range of the auxiliary light can be specified according to the irradiation capability of the auxiliary light, and therefore, according to the type of the auxiliary light, an area outside the irradiation range and having a high luminance is excluded, and includes a light source and the like. The accumulation control of the line sensor 161d can be performed in correspondence with the original subject without being pulled by the background.

なお、以上説明した実施形態は、本発明の理解を容易にするために記載されたものであって、本発明を限定するために記載されたものではない。したがって、上記の実施形態に開示された各要素は、本発明の技術的範囲に属する全ての設計変更や均等物をも含む趣旨である。   The embodiment described above is described for facilitating the understanding of the present invention, and is not described for limiting the present invention. Therefore, each element disclosed in the above embodiment is intended to include all design changes and equivalents belonging to the technical scope of the present invention.

1…カメラ
100…カメラボディ
110…撮像素子
111…シャッター
120…ミラー系
121…クイックリターンミラー
122…サブミラー
123…回転軸
131…焦点板
132…透過型液晶表示器
133…ペンタリズム
134…接眼レンズ
135…ファインダ
136…レンズ
137…測光センサ
140…AF補助光源
150…操作部
161…焦点検出モジュール
161d…ラインセンサ
162…AF−CCD制御部
163…デフォーカス演算部
164…レンズ駆動量演算部
165…レンズ駆動制御部
170…カメラ制御部
200…レンズ鏡筒
211…レンズ
212…フォーカスレンズ
213…レンズ
220…絞り
230…レンズ駆動モータ
240…絞り駆動部
250…レンズ制御部
260…エンコーダ
50…撮像画面
DESCRIPTION OF SYMBOLS 1 ... Camera 100 ... Camera body 110 ... Image pick-up element 111 ... Shutter 120 ... Mirror system 121 ... Quick return mirror 122 ... Sub mirror 123 ... Rotating shaft 131 ... Focus plate 132 ... Transmission type liquid crystal display 133 ... Pentarhythm 134 ... Eyepiece lens 135 Finder 136 Lens 137 Photometric sensor 140 AF auxiliary light source 150 Operation unit 161 Focus detection module 161d Line sensor 162 AF-CCD control unit 163 Defocus calculation unit 164 Lens drive amount calculation unit 165 Lens Drive control unit 170 ... Camera control unit 200 ... Lens barrel 211 ... Lens 212 ... Focus lens 213 ... Lens 220 ... Aperture 230 ... Lens drive motor 240 ... Aperture drive unit 250 ... Lens control unit 260 ... Encoder 50 ... Imaging Surface

Claims (6)

光学系による像面内の複数位置に対して設定された複数の焦点検出位置に対応する光束を受光して電荷を蓄積し、受光信号を出力する受光手段と、
前記複数の焦点検出位置に対応する対象に対して光束を照射する照射手段と、
前記照射手段による光束を照射していない状態で前記複数の焦点検出位置のそれぞれに対応して得られる光束を測光した第1測光値と、前記照射手段による光束を照射した状態で前記複数の焦点検出位置のそれぞれに対応して得られる光束を測光した第2測光値とを求める測光手段と、
前記複数の焦点検出位置のうち、前記第1測光値と前記第2測光値のいずれにおいても所定値以上の測光値が得られる第1の焦点検出位置を除外した第2の焦点検出位置に対応する前記受光信号に基づく蓄積条件によって前記受光手段を蓄積制御する蓄積制御手段と、
前記第2の焦点検出位置に対応する前記受光信号に基づいて前記光学系の焦点状態を検出する焦点検出手段とを備えたことを特徴とする焦点検出装置。
A light receiving means for receiving a light beam corresponding to a plurality of focus detection positions set for a plurality of positions in an image plane by an optical system, accumulating charges, and outputting a light reception signal;
Irradiating means for irradiating a light beam to a target corresponding to the plurality of focus detection positions;
A first photometric value obtained by measuring a light beam obtained corresponding to each of the plurality of focus detection positions in a state where the light beam is not irradiated by the irradiation unit, and the plurality of focal points in a state where the light beam is irradiated by the irradiation unit. Photometric means for obtaining a second photometric value obtained by measuring a light flux obtained corresponding to each of the detection positions;
Of the plurality of focus detection positions, corresponding to a second focus detection position excluding the first focus detection position at which a photometric value equal to or greater than a predetermined value is obtained for both the first photometric value and the second photometric value. Accumulation control means for controlling accumulation of the light receiving means according to accumulation conditions based on the received light signal;
A focus detection apparatus comprising: focus detection means for detecting a focus state of the optical system based on the light reception signal corresponding to the second focus detection position.
請求項1に記載の焦点検出装置において、
前記蓄積制御手段は、前記焦点状態と前記第2測光値とに基づいて選択された焦点検出位置に対応する前記受光信号に基づいて前記蓄積条件を決定することを特徴とする焦点検出装置。
The focus detection apparatus according to claim 1,
The accumulation control means determines the accumulation condition based on the light reception signal corresponding to a focus detection position selected based on the focus state and the second photometric value.
請求項2に記載の焦点検出装置において、
前記蓄積制御手段は、前記照射手段による光束を照射していない状態で前記焦点検出手段により検出した前記焦点状態が所定の撮影距離に対応するものである焦点検出位置を除外した焦点検出位置に対応する前記受光信号に基づく前記蓄積条件によって前記受光手段を蓄積制御することを特徴とする焦点検出装置。
The focus detection apparatus according to claim 2,
The accumulation control unit corresponds to a focus detection position excluding a focus detection position in which the focus state detected by the focus detection unit corresponds to a predetermined shooting distance in a state where the light beam from the irradiation unit is not irradiated. A focus detection apparatus that controls accumulation of the light receiving means according to the accumulation condition based on the received light signal.
請求項3に記載の焦点検出装置において、
前記蓄積制御手段は、前記照射手段の照射能力に応じて前記所定の撮影距離を決定することを特徴とする焦点検出装置。
The focus detection apparatus according to claim 3,
The focus detection apparatus, wherein the accumulation control unit determines the predetermined photographing distance according to an irradiation capability of the irradiation unit.
請求項1〜4のいずれか一項に記載の焦点検出装置において、
前記焦点検出手段は、前記第2の焦点検出位置に属する複数の焦点検出位置の少なくとも一部を焦点検出位置群とし、
前記焦点検出位置群に対して検出される複数の前記焦点状態のいずれかを選択する選択手段を備えることを特徴とする焦点検出装置。
In the focus detection apparatus according to any one of claims 1 to 4,
The focus detection means sets at least a part of a plurality of focus detection positions belonging to the second focus detection position as a focus detection position group,
A focus detection apparatus comprising: selection means for selecting any of the plurality of focus states detected for the focus detection position group.
請求項1〜5のいずれか一項に記載の焦点検出装置を備えたことを特徴とする撮像装置。   An imaging apparatus comprising the focus detection apparatus according to claim 1.
JP2010008123A 2010-01-18 2010-01-18 Focus detector and imaging apparatus Pending JP2011145602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010008123A JP2011145602A (en) 2010-01-18 2010-01-18 Focus detector and imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010008123A JP2011145602A (en) 2010-01-18 2010-01-18 Focus detector and imaging apparatus

Publications (1)

Publication Number Publication Date
JP2011145602A true JP2011145602A (en) 2011-07-28

Family

ID=44460484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010008123A Pending JP2011145602A (en) 2010-01-18 2010-01-18 Focus detector and imaging apparatus

Country Status (1)

Country Link
JP (1) JP2011145602A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000171685A (en) * 1998-12-09 2000-06-23 Olympus Optical Co Ltd Focus detector
JP2008299048A (en) * 2007-05-31 2008-12-11 Nikon Corp Accumulation control device, focal point detecting device and imaging device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000171685A (en) * 1998-12-09 2000-06-23 Olympus Optical Co Ltd Focus detector
JP2008299048A (en) * 2007-05-31 2008-12-11 Nikon Corp Accumulation control device, focal point detecting device and imaging device

Similar Documents

Publication Publication Date Title
JP5195506B2 (en) Imaging apparatus and image composition method
JP5020651B2 (en) Imaging apparatus and imaging system
JP4766133B2 (en) Imaging device
JP2006098771A (en) Focus detecting device, imaging apparatus, imaging system, and lens unit
JP2011227372A (en) Lighting device and camera
JPH11326744A (en) Autofocusing camera
JP4992761B2 (en) LENS DRIVE DEVICE AND IMAGING DEVICE
JP2000275512A (en) Camera
JP5776191B2 (en) Focus detection apparatus and imaging apparatus
JP5458860B2 (en) Imaging device
JP5531607B2 (en) Focus detection apparatus and imaging apparatus
JP2013073140A (en) Focus detector and imaging apparatus with the same
CN109387992B (en) Image pickup apparatus capable of sufficiently ensuring light emission accuracy and control method thereof
JP5402189B2 (en) Focus adjustment device and imaging device provided with the same
JP2011145602A (en) Focus detector and imaging apparatus
JP5171124B2 (en) Focus adjustment device, imaging device, and focus adjustment method
JP5493470B2 (en) Focus adjustment device and imaging device provided with the same
JP2019053315A (en) Focus adjustment device and imaging device
JP6503625B2 (en) Image pickup device and image pickup apparatus provided with the same
JP2014164288A (en) Imaging device
JP5115324B2 (en) Focus detection apparatus and imaging apparatus
JP2013190569A (en) Imaging apparatus
JP2006017854A (en) Imaging apparatus and flash light emitting device
JP2010002472A (en) Imaging apparatus
JP2011033979A (en) Light emission quantity controller and light emission quantity control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130118

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131224

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140603

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20141111