JP5987285B2 - Focus adjustment device and imaging device - Google Patents

Focus adjustment device and imaging device Download PDF

Info

Publication number
JP5987285B2
JP5987285B2 JP2011200147A JP2011200147A JP5987285B2 JP 5987285 B2 JP5987285 B2 JP 5987285B2 JP 2011200147 A JP2011200147 A JP 2011200147A JP 2011200147 A JP2011200147 A JP 2011200147A JP 5987285 B2 JP5987285 B2 JP 5987285B2
Authority
JP
Japan
Prior art keywords
focus
unit
lens
amount
adjustment
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.)
Active
Application number
JP2011200147A
Other languages
Japanese (ja)
Other versions
JP2012181492A (en
Inventor
宏明 高原
宏明 高原
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 JP2011200147A priority Critical patent/JP5987285B2/en
Publication of JP2012181492A publication Critical patent/JP2012181492A/en
Application granted granted Critical
Publication of JP5987285B2 publication Critical patent/JP5987285B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、焦点調節装置および撮像装置に関する。   The present invention relates to a focus adjustment device and an imaging device.

従来より、シャッターレリーズボタンが半押しされた後に、位相検出方式により光学系の焦点状態を検出する技術が知られている(たとえば、特許文献1)。   Conventionally, a technique for detecting a focus state of an optical system by a phase detection method after a shutter release button is half-pressed is known (for example, Patent Document 1).

特開2010−243899号公報JP 2010-243899 A

しかしながら、従来技術では、レリーズボタンが半押しされた後に、デフォーカス量を算出し、算出されたデフォーカス量に基づいて、フォーカスレンズの駆動量を算出し、その後、フォーカスレンズを駆動させるため、レリーズボタンが半押しされてから、フォーカスレンズが駆動されるまでに、時間を要してしまう場合があった。   However, in the prior art, after the release button is pressed halfway, the defocus amount is calculated, and based on the calculated defocus amount, the focus lens drive amount is calculated, and then the focus lens is driven. In some cases, it takes time until the focus lens is driven after the release button is pressed halfway.

本発明が解決しようとする課題は、好適な焦点調節が可能な焦点調節装置を提供することである。   The problem to be solved by the present invention is to provide a focus adjustment device capable of suitable focus adjustment.

本発明は、以下の解決手段によって上記課題を解決する。なお、以下においては、本発明の実施形態を示す図面に対応する符号を付して説明するが、この符号は発明の理解を容易にするためだけのものであって発明を限定する趣旨ではない。   The present invention solves the above problems by the following means. In the following description, reference numerals corresponding to the drawings showing the embodiment of the present invention are given and described. However, the reference numerals are only for facilitating the understanding of the invention and are not intended to limit the invention. .

[] 本実施形態の第1の観点に係る焦点調節装置は、フォーカスレンズを有する光学系による像面のずれ量を検出する焦点検出部と、前記フォーカスレンズを光軸方向に駆動させることで、前記光学系の焦点調節を行う焦点調節部と、前記焦点調節部による焦点調節を起動する起動部と、前記焦点検出部により検出された前記ずれ量を記憶する記憶部と、前記起動部により、前記焦点調節の起動が行われた場合に、前記焦点調節を起動する前に検出された前記ずれ量を前記記憶部から読み出し、読み出した前記ずれ量に基づいて、前記フォーカスレンズの駆動量を演算し、演算した前記駆動量に基づいて、前記焦点調節部に前記フォーカスレンズの駆動を行なわせる制御部とを有し、前記制御部は、前記焦点調節を起動する直前に検出されたずれ量の信頼性が第1の閾値未満である場合には、前記焦点調節を起動する前に検出されたずれ量のうち、信頼性が前記第1の閾値以上であるずれ量に基づいて、前記フォーカスレンズの駆動量を演算する。 [ 1 ] A focus adjusting apparatus according to a first aspect of the present embodiment includes a focus detection unit that detects an image plane shift amount by an optical system having a focus lens, and driving the focus lens in the optical axis direction. A focus adjustment unit that performs focus adjustment of the optical system, an activation unit that activates focus adjustment by the focus adjustment unit, a storage unit that stores the shift amount detected by the focus detection unit, and an activation unit. When the focus adjustment is activated, the deviation amount detected before the focus adjustment is activated is read from the storage unit, and the driving amount of the focus lens is determined based on the read deviation amount. And a control unit that causes the focus adjustment unit to drive the focus lens based on the calculated drive amount, and the control unit is detected immediately before starting the focus adjustment. When the reliability of the shift amount is less than the first threshold, based on the shift amount detected before starting the focus adjustment, the reliability is greater than or equal to the first threshold. calculating a driving amount of the focus lens.

[2]本実施形態の第2の観点に係る焦点調節装置は、フォーカスレンズを有する光学系による像面のずれ量を検出する焦点検出部と、前記フォーカスレンズを光軸方向に駆動させることで、前記光学系の焦点調節を行う焦点調節部と、前記焦点調節部による焦点調節を起動する起動部と、前記焦点検出部により検出された前記ずれ量を記憶する記憶部と、前記起動部により、前記焦点調節の起動が行われた場合に、前記焦点調節を起動する前に検出された前記ずれ量を前記記憶部から読み出し、読み出した前記ずれ量に基づいて、前記フォーカスレンズの駆動量を演算し、演算した前記駆動量に基づいて、前記焦点調節部に前記フォーカスレンズの駆動を行なわせる制御部とを有し、前記制御部は、前記焦点調節の起動が行われた場合に、前記焦点調節を起動する前に検出されたずれ量のうち、信頼性が最も高いずれ量に基づいて、前記フォーカスレンズの駆動量を演算す [2] A focus adjustment apparatus according to a second aspect of the present embodiment includes a focus detection unit that detects an image plane shift amount by an optical system having a focus lens, and driving the focus lens in the optical axis direction. A focus adjustment unit that performs focus adjustment of the optical system, an activation unit that activates focus adjustment by the focus adjustment unit, a storage unit that stores the shift amount detected by the focus detection unit, and an activation unit. When the focus adjustment is activated, the deviation amount detected before the focus adjustment is activated is read from the storage unit, and the driving amount of the focus lens is determined based on the read deviation amount. calculated, based on the calculated the drive amount, and a control unit to perform the driving of the focus lens on the focus adjusting section, wherein, when the start of the focusing has been performed, before Among the detected displacement amount before starting the focus adjustment, on the basis of the reliability the highest deviation amount, it calculates a drive amount of the focus lens.

[3]本実施形態の第3の観点に係る焦点調節装置は、フォーカスレンズを有する光学系による像面のずれ量を検出する焦点検出部と、前記フォーカスレンズを光軸方向に駆動させることで、前記光学系の焦点調節を行う焦点調節部と、前記焦点調節部による焦点調節を起動する起動部と、前記焦点検出部により検出された前記ずれ量を記憶する記憶部と、前記起動部により、前記焦点調節の起動が行われた場合に、前記焦点調節を起動する前に検出された前記ずれ量を前記記憶部から読み出し、読み出した前記ずれ量に基づいて、前記フォーカスレンズの駆動量を演算し、演算した前記駆動量に基づいて、前記焦点調節部に前記フォーカスレンズの駆動を行なわせる制御部とを有し、前記制御部は、前記焦点調節の起動が行われた場合に、前記焦点調節を起動する前に検出されたずれ量のうち、撮影画面内に設定された焦点検出位置における輝度が所定値以上変化した後に検出されたずれ量に基づいて、前記フォーカスレンズの駆動量を演算する。 [3] A focus adjustment apparatus according to a third aspect of the present embodiment includes a focus detection unit that detects an image plane shift amount by an optical system having a focus lens, and driving the focus lens in the optical axis direction. A focus adjustment unit that performs focus adjustment of the optical system, an activation unit that activates focus adjustment by the focus adjustment unit, a storage unit that stores the shift amount detected by the focus detection unit, and an activation unit. When the focus adjustment is activated, the deviation amount detected before the focus adjustment is activated is read from the storage unit, and the driving amount of the focus lens is determined based on the read deviation amount. calculated, based on the calculated the drive amount, and a control unit to perform the driving of the focus lens on the focus adjusting section, wherein, when the start of the focusing has been performed, before Among the detected displacement amount before starting the focus adjustment, on the basis of the shift amount which the luminance is detected after the change more than a predetermined value in the set focus detection position on the shooting screen, the driving amount of the focus lens you arithmetic.

[4]本実施形態の第4の観点に係る焦点調節装置は、フォーカスレンズを有する光学系による像面のずれ量を検出する焦点検出部と、前記フォーカスレンズを光軸方向に駆動させることで、前記光学系の焦点調節を行う焦点調節部と、前記焦点調節部による焦点調節を起動する起動部と、前記焦点検出部により検出された前記ずれ量を記憶する記憶部と、前記起動部により、前記焦点調節の起動が行われた場合に、前記焦点調節を起動する前に検出された前記ずれ量を前記記憶部から読み出し、読み出した前記ずれ量に基づいて、前記フォーカスレンズの駆動量を演算し、演算した前記駆動量に基づいて、前記焦点調節部に前記フォーカスレンズの駆動を行なわせる制御部とを有し、前記制御部は、前記焦点調節の起動が行われた場合に、前記焦点調節を起動する前に検出されたずれ量のうち、撮影画面内に設定された焦点検出位置における被写体の色味が所定値以上変化した後に検出されたずれ量に基づいて、前記フォーカスレンズの駆動量を演算する。 [4] A focus adjustment apparatus according to a fourth aspect of the present embodiment includes a focus detection unit that detects an image plane shift amount by an optical system having a focus lens, and driving the focus lens in the optical axis direction. A focus adjustment unit that performs focus adjustment of the optical system, an activation unit that activates focus adjustment by the focus adjustment unit, a storage unit that stores the shift amount detected by the focus detection unit, and an activation unit. When the focus adjustment is activated, the deviation amount detected before the focus adjustment is activated is read from the storage unit, and the driving amount of the focus lens is determined based on the read deviation amount. calculated, based on the calculated the drive amount, and a control unit to perform the driving of the focus lens on the focus adjusting section, wherein, when the start of the focusing has been performed, before Among the detected displacement amount before starting the focus adjustment, on the basis of the shift amount color of the object is detected after the change more than a predetermined value in the set focus detection position on the shooting screen, the focus lens It calculates the drive amount.

[5]本実施形態の第5の観点に係る焦点調節装置は、フォーカスレンズを有する光学系の焦点状態を検出する焦点検出部と、操作可能な操作部と、前記操作部が操作される前において、前記焦点検出部による前記焦点状態の検出結果の信頼性が閾値より低いとき信頼性が前記閾値より低い前記焦点状態の検出結果に基づいた前記フォーカスレンズの駆動制御を行わず、前記焦点検出部による前記焦点状態の検出結果の信頼性が前記閾値より高いとき信頼性が前記閾値より高い前記焦点状態の検出結果に基づいた前記フォーカスレンズの駆動制御を行う制御部とを有する。[5] A focus adjustment apparatus according to a fifth aspect of the present embodiment includes a focus detection unit that detects a focus state of an optical system having a focus lens, an operable operation unit, and before the operation unit is operated. And the focus detection is not performed based on the detection result of the focus state having a reliability lower than the threshold when the reliability of the detection result of the focus state by the focus detection unit is lower than the threshold. A control unit that performs drive control of the focus lens based on the detection result of the focus state that is higher in reliability than the threshold when the reliability of the focus state detection result by the unit is higher than the threshold.

[6]本実施形態の第6の観点に係る焦点調節装置は、フォーカスレンズを有する光学系の焦点状態を検出する焦点検出部と、操作可能な操作部と、前記操作部が操作された場合、前記操作部が操作される前に前記焦点検出部が検出した前記焦点状態のうち、信頼性が最も高い前記焦点状態を用いて前記フォーカスレンズの駆動制御を行う制御部とを有する。[6] The focus adjustment apparatus according to the sixth aspect of the present embodiment includes a focus detection unit that detects a focus state of an optical system having a focus lens, an operable operation unit, and the operation unit being operated. A control unit that performs drive control of the focus lens using the focus state having the highest reliability among the focus states detected by the focus detection unit before the operation unit is operated.

[7]本実施形態の第7の観点に係る焦点調節装置は、フォーカスレンズを有する光学系の焦点状態を検出する焦点検出部と、操作可能な操作部と、前記操作部が操作された場合、前記操作部が操作される前に前記焦点検出部が検出した前記焦点状態のうち、前記焦点検出部により前記焦点状態が検出される位置における明るさが所定値以上変化した後に検出された前記焦点状態を用いて前記フォーカスレンズの駆動制御を行う制御部とを有する。[7] The focus adjustment apparatus according to the seventh aspect of the present embodiment includes a focus detection unit that detects a focus state of an optical system having a focus lens, an operable operation unit, and the operation unit being operated. The focus state detected by the focus detection unit before the operation unit is operated is detected after the brightness at a position where the focus state is detected by the focus detection unit is changed by a predetermined value or more. And a control unit that performs drive control of the focus lens using the focus state.

[8]本実施形態の第8の観点に係る焦点調節装置は、フォーカスレンズを有する光学系の焦点状態を検出する焦点検出部と、操作可能な操作部と、前記操作部が操作された場合、前記操作部が操作される前に前記焦点検出部が検出した前記焦点状態のうち、前記焦点検出部により前記焦点状態が検出される位置における被写界の色が所定値以上変化した後に検出された前記焦点状態を用いて前記フォーカスレンズの駆動制御を行う制御部とを有する。[8] The focus adjustment apparatus according to the eighth aspect of the present embodiment includes a focus detection unit that detects a focus state of an optical system having a focus lens, an operable operation unit, and the operation unit being operated. Detected after the color of the object scene at a position where the focus state is detected by the focus detection unit changes more than a predetermined value among the focus states detected by the focus detection unit before the operation unit is operated. And a control unit that performs drive control of the focus lens using the focused state.

本発明によれば、好適な焦点調節を実現することができる。   According to the present invention, a suitable focus adjustment can be realized.

図1は、本実施形態に係るカメラを示すブロック図である。FIG. 1 is a block diagram showing a camera according to the present embodiment. 図2は、図1に示す撮像素子の撮像面における焦点検出位置を示す正面図である。FIG. 2 is a front view showing a focus detection position on the imaging surface of the imaging device shown in FIG. 図3は、図2のIII部を拡大して焦点検出画素222a,222bの配列を模式的に示す正面図である。FIG. 3 is a front view schematically showing the arrangement of the focus detection pixels 222a and 222b by enlarging the III part of FIG. 図4は、撮像画素221の一つを拡大して示す正面図である。FIG. 4 is an enlarged front view showing one of the imaging pixels 221. 図5(A)は、焦点検出画素222aの一つを拡大して示す正面図、図5(B)は、焦点検出画素222bの一つを拡大して示す正面図である。FIG. 5A is an enlarged front view showing one of the focus detection pixels 222a, and FIG. 5B is an enlarged front view showing one of the focus detection pixels 222b. 図6は、撮像画素221の一つを拡大して示す断面図である。FIG. 6 is an enlarged cross-sectional view showing one of the imaging pixels 221. 図7(A)は、焦点検出画素222aの一つを拡大して示す断面図、図7(B)は、焦点検出画素222bの一つを拡大して示す断面図である。FIG. 7A is an enlarged cross-sectional view showing one of the focus detection pixels 222a, and FIG. 7B is an enlarged cross-sectional view showing one of the focus detection pixels 222b. 図8は、図3のVIII-VIII線に沿う断面図である。8 is a cross-sectional view taken along line VIII-VIII in FIG. 図9は、本実施形態に係るカメラの動作例を示すフローチャートである。FIG. 9 is a flowchart illustrating an operation example of the camera according to the present embodiment. 図10は、ステップS112のスキャン動作実行処理を示すフローチャートである。FIG. 10 is a flowchart showing the scan operation execution process in step S112. 図11は、本実施形態に係るカメラの動作例を説明するための図である。FIG. 11 is a diagram for explaining an operation example of the camera according to the present embodiment. 図12は、従来のカメラの動作例を説明するための図である。FIG. 12 is a diagram for explaining an operation example of a conventional camera. 図13は、本実施形態に係るカメラの動作例を説明するための図である。FIG. 13 is a diagram for explaining an operation example of the camera according to the present embodiment.

以下、本発明の実施形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の実施形態に係るデジタルカメラ1を示す要部構成図である。本実施形態のデジタルカメラ1(以下、単にカメラ1という。)は、カメラ本体2とレンズ鏡筒3から構成され、これらカメラ本体2とレンズ鏡筒3はマウント部4により着脱可能に結合されている。   FIG. 1 is a main part configuration diagram showing a digital camera 1 according to an embodiment of the present invention. A digital camera 1 according to the present embodiment (hereinafter simply referred to as a camera 1) includes a camera body 2 and a lens barrel 3, and the camera body 2 and the lens barrel 3 are detachably coupled by a mount unit 4. Yes.

レンズ鏡筒3は、カメラ本体2に着脱可能な交換レンズである。図1に示すように、レンズ鏡筒3には、レンズ31,32,33、および絞り34を含む撮影光学系が内蔵されている。   The lens barrel 3 is an interchangeable lens that can be attached to and detached from the camera body 2. As shown in FIG. 1, the lens barrel 3 includes a photographic optical system including lenses 31, 32, 33 and a diaphragm 34.

レンズ32は、フォーカスレンズであり、光軸L1方向に移動することで、撮影光学系の焦点距離を調節可能となっている。フォーカスレンズ32は、レンズ鏡筒3の光軸L1に沿って移動可能に設けられ、エンコーダ35によってその位置が検出されつつフォーカスレンズ駆動モータ36によってその位置が調節される。   The lens 32 is a focus lens, and can adjust the focal length of the photographing optical system by moving in the direction of the optical axis L1. The focus lens 32 is provided so as to be movable along the optical axis L1 of the lens barrel 3, and its position is adjusted by the focus lens drive motor 36 while its position is detected by the encoder 35.

このフォーカスレンズ32の光軸L1に沿う移動機構の具体的構成は特に限定されない。一例を挙げれば、レンズ鏡筒3に固定された固定筒に回転可能に回転筒を挿入し、この回転筒の内周面にヘリコイド溝(螺旋溝)を形成するとともに、フォーカスレンズ32を固定するレンズ枠の端部をヘリコイド溝に嵌合させる。そして、フォーカスレンズ駆動モータ36によって回転筒を回転させることで、レンズ枠に固定されたフォーカスレンズ32が光軸L1に沿って直進移動することになる。   The specific configuration of the moving mechanism along the optical axis L1 of the focus lens 32 is not particularly limited. For example, a rotating cylinder is rotatably inserted into a fixed cylinder fixed to the lens barrel 3, a helicoid groove (spiral groove) is formed on the inner peripheral surface of the rotating cylinder, and the focus lens 32 is fixed. The end of the lens frame is fitted into the helicoid groove. Then, by rotating the rotating cylinder by the focus lens drive motor 36, the focus lens 32 fixed to the lens frame moves straight along the optical axis L1.

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

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

本実施形態のエンコーダ35としては、回転筒の回転駆動に連結された回転円板の回転をフォトインタラプタなどの光センサで検出して、回転数に応じたパルス信号を出力するものや、固定筒と回転筒の何れか一方に設けられたフレキシブルプリント配線板の表面のエンコーダパターンに、何れか他方に設けられたブラシ接点を接触させ、回転筒の移動量(回転方向でも光軸方向の何れでもよい)に応じた接触位置の変化を検出回路で検出するものなどを用いることができる。   As the encoder 35 of this embodiment, an encoder 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, or a fixed cylinder 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) A device that detects a change in the contact position according to the detection circuit using a detection circuit can be used.

フォーカスレンズ32は、上述した回転筒の回転によってカメラボディ側の端部(至近端ともいう)から被写体側の端部(無限端ともいう)までの間を光軸L1方向に移動することができる。ちなみに、エンコーダ35で検出されたフォーカスレンズ32の現在位置情報は、レンズ制御部37を介して後述するカメラ制御部21へ送出され、フォーカスレンズ駆動モータ36は、この情報に基づいて演算されたフォーカスレンズ32の駆動位置が、カメラ制御部21からレンズ制御部37を介して送出されることにより駆動する。   The focus lens 32 can move in the direction of the optical axis L1 from the end on the camera body side (also referred to as the closest end) to the end on the subject side (also referred to as the infinite end) by the rotation of the rotating cylinder described above. it can. Incidentally, the current position information of the focus lens 32 detected by the encoder 35 is sent to the camera control unit 21 to be described later via the lens control unit 37, and the focus lens drive motor 36 calculates the focus calculated based on this information. The driving position of the lens 32 is driven by being sent from the camera control unit 21 via the lens control unit 37.

絞り34は、上記撮影光学系を通過して撮像素子22に至る光束の光量を制限するとともにボケ量を調整するために、光軸L1を中心にした開口径が調節可能に構成されている。絞り34による開口径の調節は、たとえば自動露出モードにおいて演算された適切な開口径が、カメラ制御部21からレンズ制御部37を介して送出されることにより行われる。また、カメラ本体2に設けられた操作部28によるマニュアル操作により、設定された開口径がカメラ制御部21からレンズ制御部37に入力される。絞り34の開口径は図示しない絞り開口センサにより検出され、レンズ制御部37で現在の開口径が認識される。   The diaphragm 34 is configured such that the aperture diameter around the optical axis L1 can be adjusted in order to limit the amount of light flux that passes through the photographing optical system and reaches the image sensor 22 and to adjust the blur amount. The adjustment of the aperture diameter by the diaphragm 34 is performed, for example, by sending an appropriate aperture diameter calculated in the automatic exposure mode from the camera control unit 21 via the lens control unit 37. Further, the set aperture diameter is input from the camera control unit 21 to the lens control unit 37 by a manual operation by the operation unit 28 provided in the camera body 2. The aperture diameter of the aperture 34 is detected by an aperture sensor (not shown), and the lens controller 37 recognizes the current aperture diameter.

一方、カメラ本体2には、上記撮影光学系からの光束L1を受光する撮像素子22が、撮影光学系の予定焦点面に設けられ、その前面にシャッター23が設けられている。撮像素子22はCCDやCMOSなどのデバイスから構成され、受光した光信号を電気信号に変換してカメラ制御部21に送出する。カメラ制御部21に送出された撮影画像情報は、逐次、液晶駆動回路25に送出されて観察光学系の電子ビューファインダ(EVF)26に表示されるとともに、操作部28に備えられたレリーズボタン(不図示)が全押しされた場合には、その撮影画像情報が、記録媒体であるメモリ24に記録される。メモリ24は着脱可能なカード型メモリや内蔵型メモリの何れをも用いることができる。なお、撮像素子22の撮像面の前方には、赤外光をカットするための赤外線カットフィルタ、および画像の折り返しノイズを防止するための光学的ローパスフィルタが配置されている。撮像素子22の構造の詳細は後述する。   On the other hand, the camera body 2 is provided with an imaging element 22 that receives the light beam L1 from the photographing optical system on a planned focal plane of the photographing optical system, and a shutter 23 is provided on the front surface thereof. The image sensor 22 is composed of a device such as a CCD or CMOS, converts the received optical signal into an electrical signal, and sends it to the camera control unit 21. The captured image information sent to the camera control unit 21 is sequentially sent to the liquid crystal drive circuit 25 and displayed on the electronic viewfinder (EVF) 26 of the observation optical system, and a release button ( When (not shown) is fully pressed, the photographed image information is recorded in the memory 24 that is a recording medium. As the memory 24, any of a removable card type memory and a built-in type memory can be used. An infrared cut filter for cutting infrared light and an optical low-pass filter for preventing image aliasing noise are disposed in front of the imaging surface of the image sensor 22. Details of the structure of the image sensor 22 will be described later.

カメラ本体2にはカメラ制御部21が設けられている。カメラ制御部21は、マウント部4に設けられた電気信号接点部41によりレンズ制御部37と電気的に接続され、このレンズ制御部37からレンズ情報を受信するとともに、レンズ制御部37へデフォーカス量や絞り開口径などの情報を送信する。また、カメラ制御部21は、上述したように撮像素子22から画素出力を読み出すとともに、読み出した画素出力について、必要に応じて所定の情報処理を施すことにより画像情報を生成し、生成した画像情報を、電子ビューファインダ26の液晶駆動回路25やメモリ24に出力する。また、カメラ制御部21は、撮像素子22からの画像情報の補正やレンズ鏡筒3の焦点調節状態、絞り調節状態などを検出するなど、カメラ1全体の制御を司る。   A camera control unit 21 is provided in the camera body 2. The camera control unit 21 is electrically connected to the lens control unit 37 through an electric signal contact unit 41 provided in the mount unit 4, receives lens information from the lens control unit 37, and defocuses to the lens control unit 37. Send information such as volume and aperture diameter. The camera control unit 21 reads out the pixel output from the image sensor 22 as described above, generates image information by performing predetermined information processing on the read out pixel output as necessary, and generates the generated image information. Is output to the liquid crystal driving circuit 25 and the memory 24 of the electronic viewfinder 26. The camera control unit 21 controls the entire camera 1 such as correction of image information from the image sensor 22 and detection of a focus adjustment state and an aperture adjustment state of the lens barrel 3.

また、カメラ制御部21は、上記に加えて、撮像素子22から読み出した画素データに基づき、位相検出方式による撮影光学系の焦点状態の検出、およびコントラスト検出方式による撮影光学系の焦点状態の検出を行う。なお、具体的な焦点状態の検出方法については、後述する。   In addition to the above, the camera control unit 21 detects the focus state of the photographic optical system by the phase detection method and the focus state of the photographic optical system by the contrast detection method based on the pixel data read from the image sensor 22. I do. A specific focus state detection method will be described later.

操作部28は、シャッターレリーズボタンや撮影者がカメラ1の各種動作モードを設定するための入力スイッチであり、オートフォーカスモード/マニュアルフォーカスモードの切換や、オートフォーカスモードの中でも、ワンショットモード/コンティニュアスモードの切換が行えるようになっている。ここで、ワンショットモードとは、一度調節したフォーカスレンズ32の位置を固定し、そのフォーカスレンズ位置で撮影するモードであるのに対し、コンティニュアスモードとは、フォーカスレンズ32の位置を固定することなく被写体に応じてフォーカスレンズ位置を調節するモードである。また、操作部28は、静止画撮影モード/動画撮影モードの切換が行えるようにもなっている。この操作部28により設定された各種モードはカメラ制御部21へ送出され、当該カメラ制御部21によりカメラ1全体の動作が制御される。また、シャッターレリーズボタンは、ボタンの半押しでONとなる第1スイッチSW1と、ボタンの全押しでONとなる第2スイッチSW2とを含む。   The operation unit 28 is a shutter release button or an input switch for the photographer to set various operation modes of the camera 1, and switches between the auto focus mode / manual focus mode and the one shot mode / continuity even in the auto focus mode. It is possible to switch between the numeric modes. Here, the one-shot mode is a mode in which the position of the focus lens 32 once adjusted is fixed and photographing is performed at the focus lens position, whereas the continuous mode is a mode in which the position of the focus lens 32 is fixed. In this mode, the focus lens position is adjusted according to the subject. The operation unit 28 can also switch between the still image shooting mode / moving image shooting mode. Various modes set by the operation unit 28 are sent to the camera control unit 21, and the operation of the entire camera 1 is controlled by the camera control unit 21. The shutter release button 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.

次に、本実施形態に係る撮像素子22について説明する。   Next, the image sensor 22 according to the present embodiment will be described.

図2は、撮像素子22の撮像面を示す正面図、図3は、図2のIII部を拡大して焦点検出画素222a,222bの配列を模式的に示す正面図である。   FIG. 2 is a front view showing the imaging surface of the image sensor 22, and FIG. 3 is a front view schematically showing the arrangement of the focus detection pixels 222a and 222b by enlarging the III part of FIG.

本実施形態の撮像素子22は、図3に示すように、複数の撮像画素221が、撮像面の平面上に二次元的に配列され、緑色の波長領域を透過するカラーフィルタを有する緑画素Gと、赤色の波長領域を透過するカラーフィルタを有する赤画素Rと、青色の波長領域を透過するカラーフィルタを有する青画素Bがいわゆるベイヤー配列(Bayer Arrangement)されたものである。すなわち、隣接する4つの画素群223(稠密正方格子配列)において一方の対角線上に2つの緑画素が配列され、他方の対角線上に赤画素と青画素が1つずつ配列されている。このベイヤー配列された画素群223を単位として、当該画素群223を撮像素子22の撮像面に二次元状に繰り返し配列することで撮像素子22が構成されている。   As shown in FIG. 3, the imaging element 22 of the present embodiment includes a green pixel G having a color filter in which a plurality of imaging pixels 221 are two-dimensionally arranged on the plane of the imaging surface and transmit a green wavelength region. A red pixel R having a color filter that transmits a red wavelength region and a blue pixel B having a color filter that transmits a blue wavelength region are arranged in a so-called Bayer Arrangement. That is, in four adjacent pixel groups 223 (dense square lattice arrangement), two green pixels are arranged on one diagonal line, and one red pixel and one blue pixel are arranged on the other diagonal line. The image sensor 22 is configured by repeatedly arranging the pixel group 223 on the imaging surface of the image sensor 22 in a two-dimensional manner with the Bayer array pixel group 223 as a unit.

なお、単位画素群223の配列は、図示する稠密正方格子以外にも、たとえば稠密六方格子配列にすることもできる。また、カラーフィルタの構成や配列はこれに限定されることはなく、補色フィルタ(緑:G、イエロー:Ye、マゼンタ:Mg,シアン:Cy)の配列を採用することもできる。   The unit pixel group 223 may be arranged in a dense hexagonal lattice arrangement other than the dense square lattice shown in the figure. Further, the configuration and arrangement of the color filters are not limited to this, and an arrangement of complementary color filters (green: G, yellow: Ye, magenta: Mg, cyan: Cy) can also be adopted.

図4は、撮像画素221の一つを拡大して示す正面図、図6は断面図である。一つの撮像画素221は、マイクロレンズ2211と、光電変換部2212と、図示しないカラーフィルタから構成され、図6の断面図に示すように、撮像素子22の半導体回路基板2213の表面に光電変換部2212が造り込まれ、その表面にマイクロレンズ2211が形成されている。光電変換部2212は、マイクロレンズ2211により撮影光学系の射出瞳(たとえばF1.0)を通過する撮像光束を受光する形状とされ、撮像光束を受光する。   FIG. 4 is an enlarged front view showing one of the imaging pixels 221, and FIG. 6 is a cross-sectional view. One imaging pixel 221 includes a micro lens 2211, a photoelectric conversion unit 2212, and a color filter (not shown), and a photoelectric conversion unit is formed on the surface of the semiconductor circuit substrate 2213 of the image sensor 22 as shown in the cross-sectional view of FIG. 2212 is built in and a microlens 2211 is formed on the surface. The photoelectric conversion unit 2212 is configured to receive an imaging light beam that passes through an exit pupil (for example, F1.0) of the photographing optical system by the micro lens 2211, and receives the imaging light beam.

また、撮像素子22の撮像面の中心、ならびに中心から左右対称位置の3箇所には、上述した撮像画素221に代えて焦点検出画素222a,222bが配列された焦点検出画素列22a,22b,22cが設けられている。そして、図3に示すように、一つの焦点検出画素列は、複数の焦点検出画素222aおよび222bが、互いに隣接して交互に、横一列(22a,22b,22c)に配列されて構成されている。本実施形態においては、焦点検出画素222aおよび222bは、ベイヤー配列された撮像画素221の緑画素Gと青画素Bとの位置にギャップを設けることなく密に配列されている。   In addition, focus detection pixel rows 22a, 22b, and 22c in which focus detection pixels 222a and 222b are arranged in place of the above-described imaging pixels 221 at the center of the image pickup surface of the image pickup element 22 and three positions that are symmetrical from the center. Is provided. As shown in FIG. 3, one focus detection pixel column is configured by a plurality of focus detection pixels 222a and 222b being alternately arranged adjacent to each other in a horizontal row (22a, 22b, 22c). Yes. In the present embodiment, the focus detection pixels 222a and 222b are densely arranged without providing a gap at the position of the green pixel G and the blue pixel B of the image pickup pixel 221 arranged in the Bayer array.

なお、図2に示す焦点検出画素列22a〜22cの位置は図示する位置にのみ限定されず、何れか一箇所、二箇所にすることもでき、また、四箇所以上の位置に配置することもできる。また、実際の焦点検出に際しては、複数配置された焦点検出画素列22a〜22cの中から、撮影者が操作部28を手動操作することにより所望の焦点検出画素列を、焦点検出位置として選択することもできる。   Note that the positions of the focus detection pixel rows 22a to 22c shown in FIG. 2 are not limited to the illustrated positions, and may be any one or two, or may be arranged at four or more positions. it can. In actual focus detection, the photographer manually operates the operation unit 28 from among a plurality of focus detection pixel rows 22a to 22c, and selects a desired focus detection pixel row as a focus detection position. You can also

図5(A)は、焦点検出画素222aの一つを拡大して示す正面図、図7(A)は、焦点検出画素222aの断面図である。また、図5(B)は、焦点検出画素222bの一つを拡大して示す正面図、図7(B)は、焦点検出画素222bの断面図である。焦点検出画素222aは、図5(A)に示すように、マイクロレンズ2221aと、半円形状の光電変換部2222aとから構成され、図7(A)の断面図に示すように、撮像素子22の半導体回路基板2213の表面に光電変換部2222aが造り込まれ、その表面にマイクロレンズ2221aが形成されている。また、焦点検出画素222bは、図5(B)に示すように、マイクロレンズ2221bと、光電変換部2222bとから構成され、図7(B)の断面図に示すように、撮像素子22の半導体回路基板2213の表面に光電変換部2222bが造り込まれ、その表面にマイクロレンズ2221bが形成されている。そして、これら焦点検出画素222aおよび222bは、図3に示すように、互いに隣接して交互に、横一列に配列されることにより、図2に示す焦点検出画素列22a〜22cを構成する。   FIG. 5A is an enlarged front view showing one of the focus detection pixels 222a, and FIG. 7A is a cross-sectional view of the focus detection pixel 222a. FIG. 5B is an enlarged front view showing one of the focus detection pixels 222b, and FIG. 7B is a cross-sectional view of the focus detection pixel 222b. As shown in FIG. 5A, the focus detection pixel 222a includes a micro lens 2221a and a semicircular photoelectric conversion unit 2222a. As shown in the cross-sectional view of FIG. A photoelectric conversion portion 2222a is formed on the surface of the semiconductor circuit substrate 2213, and a micro lens 2221a is formed on the surface. The focus detection pixel 222b includes a micro lens 2221b and a photoelectric conversion unit 2222b as shown in FIG. 5B, and a semiconductor of the image sensor 22 as shown in a cross-sectional view of FIG. 7B. A photoelectric conversion unit 2222b is formed on the surface of the circuit board 2213, and a microlens 2221b is formed on the surface. Then, as shown in FIG. 3, these focus detection pixels 222a and 222b are alternately arranged adjacent to each other in a horizontal row, thereby forming focus detection pixel rows 22a to 22c shown in FIG.

なお、焦点検出画素222a,222bの光電変換部2222a,2222bは、マイクロレンズ2221a,2221bにより撮影光学系の射出瞳の所定の領域(たとえばF2.8)を通過する光束を受光するような形状とされる。また、焦点検出画素222a,222bにはカラーフィルタは設けられておらず、その分光特性は、光電変換を行うフォトダイオードの分光特性と、図示しない赤外カットフィルタの分光特性を総合したものとなっている。ただし、撮像画素221と同じカラーフィルタのうちの一つ、たとえば緑フィルタを備えるように構成することもできる。   The photoelectric conversion units 2222a and 2222b of the focus detection pixels 222a and 222b have such a shape that the microlenses 2221a and 2221b receive a light beam that passes through a predetermined region (eg, F2.8) of the exit pupil of the photographing optical system. Is done. Further, the focus detection pixels 222a and 222b are not provided with color filters, and their spectral characteristics are the total of the spectral characteristics of a photodiode that performs photoelectric conversion and the spectral characteristics of an infrared cut filter (not shown). ing. However, it may be configured to include one of the same color filters as the imaging pixel 221, for example, a green filter.

また、図5(A)、図5(B)に示す焦点検出画素222a,222bの光電変換部2222a,2222bは半円形状としたが、光電変換部2222a,2222bの形状はこれに限定されず、他の形状、たとえば、楕円形状、矩形状、多角形状とすることもできる。   In addition, although the photoelectric conversion units 2222a and 2222b of the focus detection pixels 222a and 222b illustrated in FIGS. 5A and 5B have a semicircular shape, the shapes of the photoelectric conversion units 2222a and 2222b are not limited thereto. Other shapes such as an elliptical shape, a rectangular shape, and a polygonal shape can also be used.

ここで、上述した焦点検出画素222a,222bの画素出力に基づいて撮影光学系の焦点状態を検出する、いわゆる位相差検出方式について説明する。   Here, a so-called phase difference detection method for detecting the focus state of the photographing optical system based on the pixel outputs of the focus detection pixels 222a and 222b described above will be described.

図8は、図3のVIII-VIII線に沿う断面図であり、撮影光軸L1近傍に配置され、互いに隣接する焦点検出画素222a−1,222b−1,222a−2,222b−2が、射出瞳34の測距瞳341,342から照射される光束AB1−1,AB2−1,AB1−2,AB2−2をそれぞれ受光していることを示している。なお、図8においては、複数の焦点検出画素222a,222bのうち、撮影光軸L1近傍に位置するもののみを例示して示したが、図8に示す焦点検出画素以外のその他の焦点検出画素についても、同様に、一対の測距瞳341,342から照射される光束をそれぞれ受光するように構成されている。   FIG. 8 is a cross-sectional view taken along the line VIII-VIII in FIG. 3. The focus detection pixels 222 a-1, 222 b-1, 222 a-2, and 222 b-2 that are arranged in the vicinity of the photographing optical axis L 1 It shows that light beams AB1-1, AB2-1, AB1-2, and AB2-2 irradiated from the distance measuring pupils 341 and 342 of the exit pupil 34 are received, respectively. 8 illustrates only the focus detection pixels 222a and 222b that are located in the vicinity of the photographing optical axis L1, but other focus detection pixels other than the focus detection pixels illustrated in FIG. 8 are illustrated. In the same manner, the light beams emitted from the pair of distance measuring pupils 341 and 342 are respectively received.

ここで、射出瞳34とは、撮影光学系の予定焦点面に配置された焦点検出画素222a,222bのマイクロレンズ2221a,2221bの前方の距離Dの位置に設定された像である。距離Dは、マイクロレンズの曲率、屈折率、マイクロレンズと光電変換部との距離などに応じて一義的に決まる値であって、この距離Dを測距瞳距離と称する。また、測距瞳341,342とは、焦点検出画素222a,222bのマイクロレンズ2221a,2221bにより、それぞれ投影された光電変換部2222a,2222bの像をいう。   Here, the exit pupil 34 is an image set at a distance D in front of the microlenses 2221a and 2221b of the focus detection pixels 222a and 222b arranged on the planned focal plane of the photographing optical system. The distance D is a value uniquely determined according to the curvature and refractive index of the microlens, the distance between the microlens and the photoelectric conversion unit, and the distance D is referred to as a distance measurement pupil distance. The distance measurement pupils 341 and 342 are images of the photoelectric conversion units 2222a and 2222b respectively projected by the micro lenses 2221a and 2221b of the focus detection pixels 222a and 222b.

なお、図8において焦点検出画素222a−1,222b−1,222a−2,222b−2の配列方向は一対の測距瞳341,342の並び方向と一致している。   In FIG. 8, the arrangement direction of the focus detection pixels 222a-1, 222b-1, 222a-2, 222b-2 coincides with the arrangement direction of the pair of distance measuring pupils 341, 342.

また、図8に示すように、焦点検出画素222a−1,222b−1,222a−2,222b−2のマイクロレンズ2221a−1,2221b−1,2221a−2,2221b−2は、撮影光学系の予定焦点面近傍に配置されている。そして、マイクロレンズ2221a−1,2221b−1,2221a−2,2221b−2の背後に配置された各光電変換部2222a−1,2222b−1,2222a−2,2222b−2の形状が、各マイクロレンズ2221a−1,2221b−1,2221a−2,2221b−2から測距距離Dだけ離れた射出瞳34上に投影され、その投影形状は測距瞳341,342を形成する。   As shown in FIG. 8, the microlenses 2221a-1, 2221b-1, 2221a-2, and 2221b-2 of the focus detection pixels 222a-1, 222b-1, 222a-2, and 222b-2 are photographic optical systems. Near the planned focal plane. The shapes of the photoelectric conversion units 2222a-1, 2222b-1, 2222a-2, 2222b-2 arranged behind the micro lenses 2221a-1, 2221b-1, 2221a-2, 2221b-2 are the same as Projected onto the exit pupil 34 separated from the lenses 2221a-1, 2221b-1, 2221a-2, 2221b-2 by the distance measurement distance D, and the projection shape forms the distance measurement pupils 341, 342.

すなわち、測距距離Dにある射出瞳34上で、各焦点検出画素の光電変換部の投影形状(測距瞳341,342)が一致するように、各焦点検出画素におけるマイクロレンズと光電変換部の相対的位置関係が定められ、それにより各焦点検出画素における光電変換部の投影方向が決定されている。   In other words, on the exit pupil 34 at the distance measurement distance D, the microlens and the photoelectric conversion unit in each focus detection pixel so that the projection shapes (the distance measurement pupils 341 and 342) of the photoelectric conversion unit of each focus detection pixel match. Is determined, and the projection direction of the photoelectric conversion unit in each focus detection pixel is thereby determined.

図8に示すように、焦点検出画素222a−1の光電変換部2222a−1は、測距瞳341を通過し、マイクロレンズ2221a−1に向う光束AB1−1によりマイクロレンズ2221a−1上に形成される像の強度に対応した信号を出力する。同様に、焦点検出画素222a−2の光電変換部2222a−2は測距瞳341を通過し、マイクロレンズ2221a−2に向う光束AB1−2によりマイクロレンズ2221a−2上に形成される像の強度に対応した信号を出力する。   As shown in FIG. 8, the photoelectric conversion unit 2222a-1 of the focus detection pixel 222a-1 is formed on the microlens 2221a-1 by the light beam AB1-1 that passes through the distance measuring pupil 341 and goes to the microlens 2221a-1. A signal corresponding to the intensity of the image to be output is output. Similarly, the photoelectric conversion unit 2222a-2 of the focus detection pixel 222a-2 passes through the distance measuring pupil 341, and the intensity of the image formed on the microlens 2221a-2 by the light beam AB1-2 toward the microlens 2221a-2. The signal corresponding to is output.

また、焦点検出画素222b−1の光電変換部2222b−1は測距瞳342を通過し、マイクロレンズ2221b−1に向う光束AB2−1によりマイクロレンズ2221b−1上に形成される像の強度に対応した信号を出力する。同様に、焦点検出画素222b−2の光電変換部2222b−2は測距瞳342を通過し、マイクロレンズ2221b−2に向う光束AB2−2によりマイクロレンズ2221b−2上に形成される像の強度に対応した信号を出力する。   Further, the photoelectric conversion unit 2222b-1 of the focus detection pixel 222b-1 passes through the distance measuring pupil 342, and the intensity of the image formed on the microlens 2221b-1 by the light beam AB2-1 directed to the microlens 2221b-1. Output the corresponding signal. Similarly, the photoelectric conversion unit 2222b-2 of the focus detection pixel 222b-2 passes through the distance measuring pupil 342, and the intensity of the image formed on the microlens 2221b-2 by the light beam AB2-2 toward the microlens 2221b-2. The signal corresponding to is output.

そして、上述した2種類の焦点検出画素222a,222bを、図3に示すように直線状に複数配置し、各焦点検出画素222a,222bの光電変換部2222a,2222bの出力を、測距瞳341と測距瞳342とのそれぞれに対応した出力グループにまとめることにより、測距瞳341と測距瞳342とのそれぞれを通過する焦点検出光束が焦点検出画素列上に形成する一対の像の強度分布に関するデータが得られる。そして、この強度分布データに対し、相関演算処理または位相差検出処理などの像ズレ検出演算処理を施すことにより、いわゆる位相差検出方式による像ズレ量を検出することができる。   Then, a plurality of the above-described two types of focus detection pixels 222a and 222b are arranged in a straight line as shown in FIG. 3, and the outputs of the photoelectric conversion units 2222a and 2222b of the focus detection pixels 222a and 222b are converted into the distance measurement pupil 341, respectively. Of the pair of images formed on the focus detection pixel row by the focus detection light fluxes that pass through each of the distance measurement pupil 341 and the distance measurement pupil 342. Data on the distribution is obtained. Then, by applying an image shift detection calculation process such as a correlation calculation process or a phase difference detection process to the intensity distribution data, an image shift amount by a so-called phase difference detection method can be detected.

そして、得られた像ズレ量に一対の測距瞳の重心間隔に応じた変換演算を施すことにより、予定焦点面に対する現在の焦点面(予定焦点面上のマイクロレンズアレイの位置に対応した焦点検出位置における焦点面をいう。)の偏差、すなわちデフォーカス量を求めることができる。   Then, a conversion calculation is performed on the obtained image shift amount according to the center-of-gravity interval of the pair of distance measuring pupils, thereby obtaining a focal plane corresponding to the current focal plane (the position corresponding to the position of the microlens array on the planned focal plane) The deviation of the focal plane at the detection position, that is, the defocus amount can be obtained.

なお、これら位相差検出方式による像ズレ量の演算と、これに基づくデフォーカス量の演算は、カメラ制御部21により実行される。   The calculation of the image shift amount by the phase difference detection method and the calculation of the defocus amount based thereon are executed by the camera control unit 21.

また、カメラ制御部21は、撮像素子22の撮像画素221の出力を読み出し、読み出した画素出力に基づき、焦点評価値の演算を行う。この焦点評価値は、たとえば撮像素子22の撮像画素221からの画像出力の高周波成分を、高周波透過フィルタを用いて抽出し、これを積算して焦点電圧を検出することで求めることができる。また、遮断周波数が異なる2つの高周波透過フィルタを用いて高周波成分を抽出し、それぞれを積算して焦点電圧を検出することでも求めることができる。   Further, the camera control unit 21 reads the output of the imaging pixel 221 of the imaging element 22 and calculates a focus evaluation value based on the read pixel output. This focus evaluation value can be obtained, for example, by extracting a high-frequency component of an image output from the imaging pixel 221 of the image sensor 22 using a high-frequency transmission filter and integrating the extracted high-frequency components to detect a focus voltage. It can also be obtained by extracting high-frequency components using two high-frequency transmission filters having different cutoff frequencies and integrating them to detect the focus voltage.

そして、カメラ制御部21は、レンズ制御部37に制御信号を送出してフォーカスレンズ32を所定のサンプリング間隔(距離)で駆動させ、それぞれの位置における焦点評価値を求め、該焦点評価値が最大となるフォーカスレンズ32の位置を合焦位置として求める、コントラスト検出方式による焦点検出を実行する。なお、この合焦位置は、たとえば、フォーカスレンズ32を駆動させながら焦点評価値を算出した場合に、焦点評価値が、2回上昇した後、さらに、2回下降して推移した場合に、これらの焦点評価値を用いて、内挿法などの演算を行うことで求めることができる。   Then, the camera control unit 21 sends a control signal to the lens control unit 37 to drive the focus lens 32 at a predetermined sampling interval (distance) to obtain a focus evaluation value at each position, and the focus evaluation value is maximum. The focus detection by the contrast detection method is performed in which the position of the focus lens 32 is determined as the in-focus position. Note that this in-focus position is obtained when, for example, when the focus evaluation value is calculated while driving the focus lens 32, the focus evaluation value rises twice and then moves down twice. Can be obtained by performing an operation such as interpolation using the focus evaluation value.

次いで、本実施形態に係るカメラ1の動作例を説明する。図9は、本実施形態に係るカメラ1の動作を示すフローチャートである。なお、以下の動作は、カメラ1の電源がオンされることにより開始される。また、以下においては、静止画撮影モードが選択されており、さらに、ワンショットモード、すなわち、一度調節したフォーカスレンズ32の位置を固定し、そのフォーカスレンズ位置で撮影するモードが選択されている場合を例示して説明を行なう。   Next, an operation example of the camera 1 according to the present embodiment will be described. FIG. 9 is a flowchart showing the operation of the camera 1 according to this embodiment. The following operation is started when the camera 1 is turned on. In the following, the still image shooting mode is selected, and the one-shot mode, that is, the mode in which the focus lens 32 adjusted once is fixed and the mode for shooting at the focus lens position is selected is selected. A description will be given by exemplifying.

まず、ステップS101では、カメラ制御部21による、スルー画像の生成、および観察光学系の電子ビューファインダ26による、スルー画像の表示が開始される。具体的には、撮像素子22により露光動作が行なわれ、カメラ制御部21により、撮像画素221の画素データの読み出しが行なわれる。そして、カメラ制御部21は、読み出したデータに基づきスルー画像を生成し、生成されたスルー画像は液晶駆動回路25に送出され、観察光学系の電子ビューファインダ26に表示される。そして、これにより、接眼レンズ27を介して、ユーザは被写体の動画を視認することが可能となる。なお、スルー画像の生成、およびスルー画像の表示は、所定の間隔で繰り返し実行される。   First, in step S101, generation of a through image by the camera control unit 21 and display of a through image by the electronic viewfinder 26 of the observation optical system are started. Specifically, an exposure operation is performed by the imaging element 22, and pixel data of the imaging pixel 221 is read by the camera control unit 21. Then, the camera control unit 21 generates a through image based on the read data, and the generated through image is sent to the liquid crystal drive circuit 25 and displayed on the electronic viewfinder 26 of the observation optical system. As a result, the user can view the moving image of the subject through the eyepiece lens 27. Note that the generation of the through image and the display of the through image are repeatedly executed at predetermined intervals.

ステップS102では、カメラ制御部21により、位相差検出方式によるデフォーカス量の算出処理が開始される。本実施形態では、位相差検出方式によるデフォーカス量の算出処理は、次のように行われる。すなわち、まず、撮像素子22により、撮影光学系からの光束の受光が行われ、カメラ制御部21により、撮像素子22の3つの焦点検出画素列22a〜22cを構成する各焦点検出画素222a,222bから一対の像に対応した一対の像データの読み出しが行われる。この場合、撮影者の手動操作により、特定の焦点検出位置が選択されているときは、その焦点検出位置に対応する焦点検出画素からのデータのみを読み出すような構成としてもよい。そして、カメラ制御部21は、読み出された一対の像データに基づいて像ズレ検出演算処理(相関演算処理)を実行し、3つの焦点検出画素列22a〜22cに対応する焦点検出位置における像ズレ量を演算し、さらに像ズレ量をデフォーカス量に変換する。   In step S102, the camera control unit 21 starts a defocus amount calculation process using a phase difference detection method. In the present embodiment, the defocus amount calculation process by the phase difference detection method is performed as follows. That is, first, the image sensor 22 receives a light beam from the photographing optical system, and the camera control unit 21 performs focus detection pixels 222a and 222b constituting the three focus detection pixel rows 22a to 22c of the image sensor 22. A pair of image data corresponding to the pair of images is read out. In this case, when a specific focus detection position is selected by a manual operation of the photographer, only data from focus detection pixels corresponding to the focus detection position may be read. Then, the camera control unit 21 performs image shift detection calculation processing (correlation calculation processing) based on the read pair of image data, and images at the focus detection positions corresponding to the three focus detection pixel rows 22a to 22c. The shift amount is calculated, and the image shift amount is converted into a defocus amount.

また、ステップS102において、カメラ制御部21は、算出したデフォーカス量について、その信頼性の評価を行う。本実施形態において、カメラ制御部21は、たとえば、一対の像データの一致度やコントラストなどに基づいて、デフォーカス量の信頼性を、「高」、「中」、「低」、および「測距不能」の4段階で評価する。例えば、カメラ制御部21は、一対の像データの一致度が高く、デフォーカス量の信頼性が第1の判定値以上である場合には、デフォーカス量の信頼性を「高」と評価し、デフォーカス量の信頼性が、第1の判定値未満であり、かつ、第1の判定値よりも小さい第2の判定値以上である場合には、デフォーカス量の信頼性を「中」と評価する。さらに、カメラ制御部21は、デフォーカス量の信頼性が、第2の判定値未満であり、かつ、第2の判定値よりも小さい第3の判定値以上である場合には、デフォーカス量の信頼性を「低」と評価し、デフォーカス量の信頼性が、第3の判定値未満である場合には、デフォーカス量の信頼性を「測距不能」と評価する。このように得られたデフォーカス量およびデフォーカス量の信頼性は、デフォーカス量の履歴データとして、メモリ24に記憶される。   In step S102, the camera control unit 21 evaluates the reliability of the calculated defocus amount. In the present embodiment, the camera control unit 21 sets the reliability of the defocus amount to “high”, “medium”, “low”, and “measurement” based on, for example, the matching degree and contrast of a pair of image data. Evaluation is based on four levels, “distance impossible”. For example, when the degree of coincidence between the pair of image data is high and the reliability of the defocus amount is equal to or higher than the first determination value, the camera control unit 21 evaluates the reliability of the defocus amount as “high”. If the reliability of the defocus amount is less than the first determination value and equal to or greater than the second determination value smaller than the first determination value, the reliability of the defocus amount is “medium”. And evaluate. Furthermore, when the reliability of the defocus amount is less than the second determination value and equal to or more than the third determination value smaller than the second determination value, the camera control unit 21 determines the defocus amount. Is evaluated as “low”, and when the defocus amount reliability is less than the third determination value, the defocus amount reliability is evaluated as “distance measurement impossible”. The defocus amount thus obtained and the reliability of the defocus amount are stored in the memory 24 as defocus amount history data.

なお、このような位相差検出方式によるデフォーカス量の算出処理は、このカメラ1の動作が行われている間、所定の間隔で繰り返し実行される。   Note that the defocus amount calculation processing by such a phase difference detection method is repeatedly performed at predetermined intervals while the operation of the camera 1 is being performed.

ステップS103では、カメラ制御部21により、操作部28に備えられたシャッターレリーズボタンの半押し(第1スイッチSW1のオン)がされたかどうかの判断が行なわれる。シャッターレリーズボタンが半押しされた場合はステップS104に進む。一方、シャッターレリーズボタンが半押しされていない場合は、シャッターレリーズボタンの半押しされるまで、ステップS103を繰り返す。すなわち、シャッターレリーズボタンが半押しされるまで、スルー画像の生成・表示、位相差検出方式によるデフォーカス量の算出処理、およびデフォーカス量の信頼性の評価処理が繰り返し実行される。   In step S103, the camera control unit 21 determines whether or not the shutter release button provided in the operation unit 28 is half-pressed (the first switch SW1 is turned on). If the shutter release button is pressed halfway, the process proceeds to step S104. On the other hand, if the shutter release button is not half-pressed, step S103 is repeated until the shutter release button is half-pressed. That is, until the shutter release button is pressed halfway, the through image generation / display, the defocus amount calculation processing by the phase difference detection method, and the defocus amount reliability evaluation processing are repeatedly executed.

ステップS104では、カメラ制御部21により、ステップS102で記憶したデフォーカス量の履歴データが参照され、シャッターレリーズボタンの半押し(第1スイッチSW1のオン)直前に算出されたデフォーカス量の信頼性が「高」または「中」であるか否かの判断が行われる。シャッターレリーズボタンの半押し直前に算出されたデフォーカス量の信頼性が「低」または「測距不能」であると判断された場合は、ステップS105に進み、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量の信頼性が「高」または「中」であると判断された場合は、ステップS113に進む。   In step S104, the camera control unit 21 refers to the defocus amount history data stored in step S102, and the reliability of the defocus amount calculated immediately before the shutter release button is half-pressed (the first switch SW1 is turned on). Is determined to be “high” or “medium”. If it is determined that the reliability of the defocus amount calculated immediately before the shutter release button is half-pressed is “low” or “distance cannot be measured”, the process proceeds to step S105 and is calculated immediately before the shutter release button is half-pressed. If it is determined that the reliability of the defocus amount is “high” or “medium”, the process proceeds to step S113.

ステップS113では、カメラ制御部21により、シャッターレリーズボタンの半押し前に算出されたデフォーカス量に基づいて、フォーカスレンズ32を合焦位置まで駆動させるのに必要となるレンズ駆動量の算出が行われ、算出されたレンズ駆動量が、レンズ制御部37を介して、フォーカスレンズ駆動モータ36に送出される。そして、ステップS114において、フォーカスレンズ駆動モータ36により、ステップS113で算出されたレンズ駆動量に基づいて、フォーカスレンズ32の駆動が行われる。   In step S113, the camera control unit 21 calculates the lens driving amount necessary to drive the focus lens 32 to the in-focus position based on the defocus amount calculated before the shutter release button is half-pressed. The calculated lens driving amount is sent to the focus lens driving motor 36 via the lens control unit 37. In step S114, the focus lens driving motor 36 drives the focus lens 32 based on the lens driving amount calculated in step S113.

また、上述したように、ステップS102におけるデフォーカス量の算出処理およびデフォーカス量の信頼性の評価処理は、シャッターレリーズボタンの半押し後においても、所定の間隔で繰り返し行われている。そこで、カメラ制御部21は、シャッターレリーズボタンの半押し後に算出されたデフォーカス量の信頼性が「高」または「中」である場合に、このデフォーカス量に基づいて、フォーカスレンズ32のレンズ駆動量を繰り返し算出し、新たに算出したレンズ駆動量に基づいて、フォーカスレンズ32を駆動する。なお、レンズ駆動量の演算は、後述するステップS116において、合焦ロック(フォーカスレンズ32の駆動を禁止する処理)が行なわれるまで、所定の間隔で繰り返し実行される。   Further, as described above, the defocus amount calculation process and the defocus amount reliability evaluation process in step S102 are repeatedly performed at predetermined intervals even after the shutter release button is half-pressed. Therefore, when the reliability of the defocus amount calculated after the shutter release button is half-pressed is “high” or “medium”, the camera control unit 21 determines the lens of the focus lens 32 based on the defocus amount. The driving amount is repeatedly calculated, and the focus lens 32 is driven based on the newly calculated lens driving amount. The calculation of the lens driving amount is repeatedly executed at predetermined intervals until focus lock (processing for prohibiting driving of the focus lens 32) is performed in step S116 described later.

そして、フォーカスレンズ32が合焦位置まで駆動された場合に、ステップS115に進み、合焦表示が行なわれ、次いで、ステップS116に進み、合焦ロック(フォーカスレンズ32の駆動を禁止する処理)が行なわれる。なお、ステップS115における合焦表示は、たとえば、電子ビューファインダ26により行われる。また、合焦表示を行なう際には、位相差検出方式により合焦動作が行われた旨をユーザに報知するための表示を併せて行なってもよい。   Then, when the focus lens 32 is driven to the in-focus position, the process proceeds to step S115, in-focus display is performed, and then the process proceeds to step S116, where the focus lock (processing for prohibiting the drive of the focus lens 32) is performed. Done. Note that the in-focus display in step S115 is performed by the electronic viewfinder 26, for example. Further, when performing the focus display, a display for notifying the user that the focus operation has been performed by the phase difference detection method may be performed together.

一方、ステップS104において、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量の信頼性が「低」または「測距不能」であると判断された場合は、ステップS105に進む。ステップS105〜S108では、カメラ制御部21により、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量よりも、さらに前に算出されたデフォーカス量の信頼性が「高」または「中」であるか否かの判断が行われる。   On the other hand, if it is determined in step S104 that the reliability of the defocus amount calculated immediately before the shutter release button is half-pressed is “low” or “distance cannot be measured”, the process proceeds to step S105. In steps S105 to S108, the reliability of the defocus amount calculated before by the camera control unit 21 just before the half-press of the shutter release button is “high” or “medium”. A determination is made whether or not there is.

具体的には、まず、ステップS105において、カメラ制御部21により、所定のパラメータであるnが1に設定される。そして、ステップS106では、ステップS102で記憶したデフォーカス量の履歴データが参照され、シャッターレリーズボタンの半押し直前のデフォーカス量よりもn個前に算出されたデフォーカス量およびデフォーカス量の信頼性が読み出され、読み出されたn個前のデフォーカス量の信頼性が「高」または「中」であるか否かの判断が行われる。例えば、ステップS105においてnが1に設定された直後のステップS106では、nが1に設定されているため、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量よりも1つ前に算出されたデフォーカス量および該デフォーカス量の信頼性の読み出しが行われ、読み出された1つ前のデフォーカス量の信頼性が「高」または「中」であるか否かの判断が行われる。   Specifically, first, in step S105, the camera control unit 21 sets n as a predetermined parameter to 1. In step S106, the defocus amount history data stored in step S102 is referred to, and the defocus amount and the defocus amount reliability calculated n times before the defocus amount immediately before the shutter release button is half-pressed. Then, it is determined whether or not the reliability of the read n defocus amount is “high” or “medium”. For example, in step S106 immediately after n is set to 1 in step S105, since n is set to 1, it is calculated one before the defocus amount calculated immediately before the shutter release button is half-pressed. The defocus amount and the reliability of the defocus amount are read out, and it is determined whether the reliability of the read defocus amount immediately before is “high” or “medium”. .

シャッターレリーズボタンの半押し直前のデフォーカス量よりもn個前に算出されたデフォーカス量の信頼性が「高」または「中」である場合は、ステップS109に進み、ステップS109において、シャッターレリーズボタンの半押し直前のデフォーカス量よりもn個前に算出されたデフォーカス量が、レンズ駆動量を演算するためのデフォーカス量として決定される。そして、続くステップS113,S114において、ステップS109で決定されたデフォーカス量に基づいて、フォーカスレンズ32の駆動が行われる。一方、シャッターレリーズボタンの半押し直前のデフォーカス量よりもn個前に算出されたデフォーカス量の信頼性が「低」または「測距不能」である場合は、ステップS107に進む。   If the reliability of the defocus amount calculated n times before the shutter release button half-pressed is “high” or “medium”, the process proceeds to step S109, and in step S109, the shutter release is released. The defocus amount calculated n times before the defocus amount immediately before half-pressing the button is determined as the defocus amount for calculating the lens drive amount. In subsequent steps S113 and S114, the focus lens 32 is driven based on the defocus amount determined in step S109. On the other hand, if the reliability of the defocus amount calculated n times before the defocus amount immediately before the shutter release button is half-pressed is “low” or “distance cannot be measured”, the process proceeds to step S107.

ステップS107では、カメラ制御部21により、nの値が所定数未満であるか否かの判断が行われる。nの値が所定数未満である場合は、ステップS108に進み、nの値に1が加えられた後、ステップS106に戻り、ステップS108において設定されたnを用いて、シャッターレリーズボタンの半押し直前のデフォーカス量よりもn個前に算出されたデフォーカス量の信頼性が「高」または「中」であるか否かの判断が行われる。一方、ステップS107において、nの値が所定数以上である場合は、ステップS110に進む。   In step S107, the camera control unit 21 determines whether the value of n is less than a predetermined number. If the value of n is less than the predetermined number, the process proceeds to step S108, 1 is added to the value of n, the process returns to step S106, and the shutter release button is half-pressed using n set in step S108. It is determined whether or not the reliability of the defocus amount calculated n times before the immediately preceding defocus amount is “high” or “medium”. On the other hand, if the value of n is greater than or equal to the predetermined number in step S107, the process proceeds to step S110.

このように、ステップS106〜S108では、シャッターレリーズボタンの半押し直前のデフォーカス量の信頼性が「高」または「中」ではない場合に、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量よりも前に算出されたデフォーカス量の信頼性が、新しく算出されたデフォーカス量から順に所定の数だけ遡って判断される。そして、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量よりも所定数前までに算出されたデフォーカス量の信頼性が「高」または「中」ではある場合には、この信頼性が「高」または「中」であるデフォーカス量に基づいて、レンズ駆動量の算出およびフォーカスレンズ32の駆動が行われる。   As described above, in steps S106 to S108, when the reliability of the defocus amount immediately before the shutter release button is half-pressed is not “high” or “medium”, the defocus calculated immediately before the shutter release button is half-pressed. The reliability of the defocus amount calculated before the amount is determined by going back a predetermined number in order from the newly calculated defocus amount. If the reliability of the defocus amount calculated up to a predetermined number before the defocus amount calculated immediately before the shutter release button is pressed halfway is “high” or “medium”, this reliability is Based on the defocus amount that is “high” or “medium”, the lens drive amount is calculated and the focus lens 32 is driven.

次いで、ステップS110では、カメラ制御部21により、シャッターレリーズボタンが半押しされる前に算出されたデフォーカス量の信頼性が「低」であるか否かの判断が行われる。具体的には、カメラ制御部21は、ステップS102で記憶したデフォーカス量の履歴データを参照し、シャッターレリーズボタンが半押しされる直前に算出されたデフォーカス量、および、シャッターレリーズボタンが半押しされる直前に算出されたデフォーカス量よりもn個前までに算出されたデフォーカス量について、デフォーカス量の信頼性が「低」であるか否かを、新しく算出されたデフォーカス量から順に遡って判断する。信頼性が「低」のデフォーカス量がある場合は、ステップS111に進み、ステップS111において、カメラ制御部21により、後述するスキャン動作におけるフォーカスレンズ32の駆動方向が、信頼性が「低」であるデフォーカス量に対応する方向に設定される。一方、信頼性が「低」のデフォーカス量がない場合は、スキャン動作におけるフォーカスレンズ32の駆動方向は設定されずに、ステップS112に進む。   Next, in step S110, the camera control unit 21 determines whether or not the reliability of the defocus amount calculated before the shutter release button is half-pressed is “low”. Specifically, the camera control unit 21 refers to the defocus amount history data stored in step S102, and calculates the defocus amount calculated immediately before the shutter release button is half-pressed and the shutter release button halfway. Whether or not the reliability of the defocus amount is “low” for the defocus amount calculated up to n times before the defocus amount calculated immediately before pressing is newly calculated. Judging retroactively in order. If there is a defocus amount whose reliability is “low”, the process proceeds to step S111. In step S111, the camera control unit 21 determines that the driving direction of the focus lens 32 in a scanning operation described later is “low”. It is set in a direction corresponding to a certain defocus amount. On the other hand, if there is no defocus amount with low reliability, the driving direction of the focus lens 32 in the scanning operation is not set, and the process proceeds to step S112.

ステップS112では、カメラ制御部21により、スキャン動作を実行するためのスキャン動作実行処理が行なわれる。ここで、スキャン動作とは、フォーカスレンズ駆動モータ36により、フォーカスレンズ32をスキャン駆動させながら、カメラ制御部21により、位相差検出方式によるデフォーカス量の算出、および焦点評価値の算出を、所定の間隔で同時に行い、これにより、位相差検出方式による合焦位置の検出と、コントラスト検出方式による合焦位置の検出とを、所定の間隔で、同時に実行する動作である。以下においては、図10を参照して、本実施形態に係るスキャン動作実行処理を説明する。なお、図10は、本実施形態に係るスキャン動作実行処理を示すフローチャートである。   In step S112, the camera control unit 21 performs a scan operation execution process for executing a scan operation. Here, the scan operation is a predetermined calculation of the defocus amount and the focus evaluation value by the phase difference detection method by the camera control unit 21 while the focus lens 32 is scan-driven by the focus lens drive motor 36. Thus, the detection of the in-focus position by the phase difference detection method and the detection of the in-focus position by the contrast detection method are simultaneously performed at predetermined intervals. In the following, the scan operation execution process according to the present embodiment will be described with reference to FIG. FIG. 10 is a flowchart showing the scan operation execution process according to the present embodiment.

まず、ステップS201では、カメラ制御部21により、スキャン動作の開始処理が行われる。具体的には、カメラ制御部21は、レンズ制御部37にスキャン駆動開始指令を送出し、レンズ制御部37は、カメラ制御部21からの指令に基づき、フォーカスレンズ駆動モータ36を駆動させ、フォーカスレンズ32を光軸L1に沿ってスキャン駆動させる。なお、シャッターレリーズボタンの半押し前に算出されたデフォーカス量の信頼性が「低」であると判断され、上述したステップS111において、フォーカスレンズ32の駆動方向が設定されている場合は、設定された方向に、フォーカスレンズ32のスキャン駆動を行う。一方、ステップS111においてフォーカスレンズ32の駆動方向が設定されていない場合は、スキャン駆動を行う方向は特に限定されず、フォーカスレンズ32のスキャン駆動を、無限端から至近端に向かって行なってもよいし、あるいは、至近端から無限端に向かって行なってもよい。   First, in step S201, the camera control unit 21 performs a scan operation start process. Specifically, the camera control unit 21 sends a scan drive start command to the lens control unit 37, and the lens control unit 37 drives the focus lens drive motor 36 based on the command from the camera control unit 21 to focus. The lens 32 is scan-driven along the optical axis L1. If the reliability of the defocus amount calculated before the shutter release button is half-pressed is determined to be “low” and the driving direction of the focus lens 32 is set in step S111 described above, the setting is made. In this direction, the focus lens 32 is scanned. On the other hand, when the drive direction of the focus lens 32 is not set in step S111, the direction in which the scan drive is performed is not particularly limited, and the scan drive of the focus lens 32 may be performed from the infinite end to the closest end. Alternatively, it may be performed from the closest end to the infinite end.

そして、カメラ制御部21は、フォーカスレンズ32を駆動させながら、所定間隔で、撮像素子22の焦点検出画素222a,222bから一対の像に対応した一対の像データの読み出しを行い、これに基づき、位相差検出方式により、デフォーカス量の算出および算出されたデフォーカス量の信頼性の評価を行うとともに、フォーカスレンズ32を駆動させながら、所定間隔で、撮像素子22の撮像画素221から画素出力の読み出しを行い、これに基づき、焦点評価値を算出し、これにより、異なるフォーカスレンズ位置における焦点評価値を取得することで、コントラスト検出方式により合焦位置の検出を行う。   Then, while driving the focus lens 32, the camera control unit 21 reads out a pair of image data corresponding to the pair of images from the focus detection pixels 222a and 222b of the image sensor 22 at predetermined intervals. The phase difference detection method calculates the defocus amount, evaluates the reliability of the calculated defocus amount, and drives the focus lens 32 to drive the pixel output from the imaging pixel 221 of the imaging element 22 at a predetermined interval. Reading is performed, and based on this, a focus evaluation value is calculated, thereby acquiring a focus evaluation value at a different focus lens position, thereby detecting a focus position by a contrast detection method.

ステップS202では、カメラ制御部21により、スキャン動作を行なった結果、位相差検出方式により、デフォーカス量が算出できたか否かの判定が行なわれる。デフォーカス量が算出できた場合には、測距可能と判断して、ステップS205に進み、一方、デフォーカス量が算出できなかった場合には、測距不能と判断して、ステップS203に進む。なお、ステップS202においては、デフォーカス量の算出ができた場合でも、算出されたデフォーカス量の信頼性が「低」または「測距不能」と評価された場合には、デフォーカス量の算出ができなかったものとして扱い、ステップS203に進むこととする。   In step S202, it is determined whether or not the defocus amount has been calculated by the phase difference detection method as a result of the scanning operation performed by the camera control unit 21. If the defocus amount can be calculated, it is determined that distance measurement is possible and the process proceeds to step S205. On the other hand, if the defocus amount cannot be calculated, it is determined that distance measurement is not possible and the process proceeds to step S203. . In step S202, even if the defocus amount can be calculated, if the reliability of the calculated defocus amount is evaluated as “low” or “distance cannot be measured”, the defocus amount is calculated. As a result, it proceeds to step S203.

ステップS203では、カメラ制御部21により、スキャン動作を行なった結果、コントラスト検出方式により、合焦位置の検出ができたか否かの判定が行なわれる。コントラスト検出方式により、合焦位置の検出ができた場合には、ステップS210に進み、一方、合焦位置の検出ができなかった場合には、ステップS204に進む。   In step S203, it is determined whether the in-focus position has been detected by the contrast detection method as a result of the scanning operation performed by the camera control unit 21. If the in-focus position can be detected by the contrast detection method, the process proceeds to step S210. If the in-focus position cannot be detected, the process proceeds to step S204.

ステップS204では、カメラ制御部21により、スキャン動作を、フォーカスレンズ32の駆動可能範囲の全域について行なったか否かの判定が行なわれる。フォーカスレンズ32の駆動可能範囲の全域について、スキャン動作を行なっていない場合には、ステップS202に戻り、ステップS202〜S204を繰り返すことにより、スキャン動作、すなわち、フォーカスレンズ32をスキャン駆動させながら、位相差検出方式によるデフォーカス量の算出、およびコントラスト検出方式による合焦位置の検出を、所定の間隔で同時に実行する動作を継続して行なう。一方、フォーカスレンズ32の駆動可能範囲の全域について、スキャン動作の実行を完了している場合には、ステップS214に進む。   In step S <b> 204, the camera control unit 21 determines whether the scan operation has been performed for the entire driveable range of the focus lens 32. If the scan operation is not performed for the entire driveable range of the focus lens 32, the process returns to step S202, and steps S202 to S204 are repeated to perform the scan operation, that is, while the focus lens 32 is scan-driven. The operation of simultaneously executing the calculation of the defocus amount by the phase difference detection method and the detection of the in-focus position by the contrast detection method at predetermined intervals is continuously performed. On the other hand, if the scan operation has been completed for the entire driveable range of the focus lens 32, the process proceeds to step S214.

そして、スキャン動作を実行した結果、ステップS202において、位相差検出方式により、デフォーカス量が算出できたと判定された場合には、ステップS205に進み、ステップS205〜S209において、位相差検出方式により算出されたデフォーカス量に基づく、合焦動作が行なわれる。   If it is determined in step S202 that the defocus amount can be calculated by the phase difference detection method in step S202, the process proceeds to step S205. In steps S205 to S209, the calculation is performed by the phase difference detection method. A focusing operation is performed based on the defocus amount.

すなわち、まず、ステップS205において、カメラ制御部21により、スキャン動作の停止処理が行なわれた後、ステップS206に進み、カメラ制御部21により、スキャン動作禁止処理が行なわれる。   That is, first, in step S205, the camera control unit 21 performs a scan operation stop process, and then proceeds to step S206. The camera control unit 21 performs a scan operation prohibition process.

そして、ステップS207では、ステップS202において位相差検出方式により算出されたデフォーカス量から、フォーカスレンズ32を合焦位置まで駆動させるのに必要となるレンズ駆動量の算出が行なわれ、算出されたレンズ駆動量が、レンズ制御部37を介して、レンズ駆動モータ36に送出される。そして、レンズ駆動モータ36は、カメラ制御部21により算出されたレンズ駆動量に基づいて、フォーカスレンズ32を合焦位置まで駆動させる。   In step S207, the lens driving amount necessary to drive the focus lens 32 to the in-focus position is calculated from the defocus amount calculated by the phase difference detection method in step S202, and the calculated lens is calculated. The driving amount is sent to the lens driving motor 36 via the lens control unit 37. Then, the lens driving motor 36 drives the focus lens 32 to the in-focus position based on the lens driving amount calculated by the camera control unit 21.

なお、本実施形態においては、レンズ駆動モータ36を駆動させ、フォーカスレンズ32を合焦位置まで駆動させている間においても、制御部21は、位相差検出方式によるデフォーカス量の算出を繰り返し行い、その結果、新たなデフォーカス量が算出された場合には、制御部21は、新たなデフォーカス量に基づいて、フォーカスレンズ32を駆動させる。   In the present embodiment, the controller 21 repeatedly calculates the defocus amount by the phase difference detection method while the lens drive motor 36 is driven and the focus lens 32 is driven to the in-focus position. As a result, when a new defocus amount is calculated, the control unit 21 drives the focus lens 32 based on the new defocus amount.

そして、フォーカスレンズ32の合焦位置への駆動が完了すると、ステップS208に進み、合焦表示が行なわれ、次いで、ステップS209に進み、合焦ロック(フォーカスレンズ32の駆動を禁止する処理)が行なわれる。なお、ステップS208における合焦表示は、たとえば、電子ビューファインダ26により行われる。また、合焦表示を行なう際には、位相差検出方式により合焦動作が行われた旨をユーザに報知するための表示を併せて行なってもよい。   When the driving of the focus lens 32 to the in-focus position is completed, the process proceeds to step S208, where focus display is performed, and then the process proceeds to step S209, where the focus lock (processing for prohibiting the drive of the focus lens 32) is performed. Done. The focus display in step S208 is performed by the electronic viewfinder 26, for example. Further, when performing the focus display, a display for notifying the user that the focus operation has been performed by the phase difference detection method may be performed together.

また、スキャン動作を実行した結果、ステップS203において、コントラスト検出方式により、合焦位置が検出できたと判定された場合には、ステップS210に進み、ステップS210〜S213において、コントラスト検出方式により検出された合焦位置に基づく、フォーカスレンズ32の駆動動作が行なわれる。   As a result of executing the scanning operation, if it is determined in step S203 that the in-focus position has been detected by the contrast detection method, the process proceeds to step S210, and in steps S210 to S213, the detection is performed by the contrast detection method. Based on the in-focus position, the focus lens 32 is driven.

すなわち、まず、ステップS210において、カメラ制御部21により、スキャン動作の停止処理が行なわれた後、ステップS211に進み、上述したステップS206と同様に、カメラ制御部21により、スキャン動作禁止処理が行なわれる。   That is, first, in step S210, the camera control unit 21 performs a scan operation stop process, and then proceeds to step S211. As in step S206 described above, the camera control unit 21 performs a scan operation prohibition process. It is.

そして、ステップS212に進み、コントラスト検出方式により検出された合焦位置に基づいて、フォーカスレンズ32を、合焦位置まで駆動させるレンズ駆動処理が行なわれる。なお、コントラスト検出方式による検出結果に基づいて、フォーカスレンズ32を合焦位置への駆動を行なう際には、フォーカスレンズ32の合焦位置への駆動が完了するまでは、位相差検出方式による焦点検出結果に基づく、フォーカスレンズ32の駆動を禁止することが好適である。これにより、フォーカスレンズ32のハンチング現象を抑制することができる。   Then, the process proceeds to step S212, and a lens driving process for driving the focus lens 32 to the in-focus position is performed based on the in-focus position detected by the contrast detection method. When driving the focus lens 32 to the in-focus position based on the detection result by the contrast detection method, the focus by the phase difference detection method is completed until the drive of the focus lens 32 to the in-focus position is completed. It is preferable to prohibit the driving of the focus lens 32 based on the detection result. Thereby, the hunting phenomenon of the focus lens 32 can be suppressed.

そして、フォーカスレンズ32の合焦位置への駆動が完了すると、ステップS213に進み、合焦表示が行なわれ、次いで、ステップS209に進み、合焦ロック(フォーカスレンズ32の駆動を禁止する処理)が行なわれる。なお、ステップS213における合焦表示は、たとえば、電子ビューファインダ26により行われる。また、合焦表示を行なう際には、コントラスト検出方式により合焦動作が行われた旨をユーザに報知するための表示を併せて行なってもよい。   Then, when the driving of the focus lens 32 to the in-focus position is completed, the process proceeds to step S213, in-focus display is performed, and then the process proceeds to step S209, where focus lock (processing for prohibiting the drive of the focus lens 32) is performed. Done. The in-focus display in step S213 is performed by the electronic viewfinder 26, for example. Further, when performing the in-focus display, a display for notifying the user that the in-focus operation has been performed by the contrast detection method may be performed together.

なお、本実施形態のスキャン動作においては、上述したステップS202〜S204を繰り返し実行することで、フォーカスレンズ32をスキャン駆動させながら、位相差検出方式によるデフォーカス量の算出、およびコントラスト検出方式による合焦位置の検出を所定の間隔で同時に実行する。そして、上述したステップS202〜S204を繰り返し実行した結果、位相差検出方式およびコントラスト検出方式のうち、先にデフォーカス量の算出、または合焦位置の検出ができた検出方式による、焦点検出結果を用いて、フォーカスレンズ32を、合焦位置まで駆動させる処理を行なう。また、上述したように、本実施形態のスキャン動作においては、位相差検出方式によりデフォーカス量が算出できたか否かを判断した(ステップS202)後に、コントラスト検出方式により合焦位置の検出ができたか否かの判断を行う(ステップS203)ことで、位相差検出方式とコントラスト検出方式とで同時期にデフォーカス量の算出および合焦位置の検出ができた場合に、位相差検出方式による焦点検出結果を、コントラスト検出方式による焦点検出結果よりも優先して、採用するものである。   In the scanning operation of the present embodiment, the above-described steps S202 to S204 are repeatedly executed, so that the focus lens 32 is driven to scan, and the defocus amount is calculated by the phase difference detection method and the contrast detection method is used. The detection of the focal position is simultaneously performed at a predetermined interval. As a result of repeatedly executing steps S202 to S204 described above, the focus detection result obtained by the detection method in which the defocus amount can be calculated or the in-focus position can be detected first among the phase difference detection method and the contrast detection method. The focus lens 32 is used to drive to the in-focus position. Further, as described above, in the scanning operation of this embodiment, after determining whether or not the defocus amount can be calculated by the phase difference detection method (step S202), the in-focus position can be detected by the contrast detection method. If the phase difference detection method and the contrast detection method can calculate the defocus amount and detect the in-focus position at the same time by determining whether or not the focus position has been detected, the focus by the phase difference detection method is determined. The detection result is adopted in preference to the focus detection result by the contrast detection method.

一方、ステップS204において、フォーカスレンズ32の駆動可能範囲の全域について、スキャン動作の実行が完了していると判定された場合には、ステップS214に進む。ステップS214では、スキャン動作を行なった結果、位相差検出方式およびコントラスト検出方式のいずれの方式によっても、焦点検出を行うことができなかったため、スキャン動作の終了処理が行なわれ、次いで、ステップS215に進み、合焦不能表示が行なわれる。合焦不能表示は、たとえば、電子ビューファインダ26により行われる。   On the other hand, if it is determined in step S204 that the scan operation has been completed for the entire driveable range of the focus lens 32, the process proceeds to step S214. In step S214, as a result of the scanning operation, focus detection could not be performed by any of the phase difference detection method and the contrast detection method, so that the scanning operation end processing is performed, and then in step S215 Advancing and in-focus indication is performed. The in-focus indication is performed by the electronic viewfinder 26, for example.

そして、ステップS216に進み、カメラ制御部21により、シャッターレリーズボタンの半押し(第1スイッチSW1のオン)がされた状態が継続しているか否かの判定が行なわれる。シャッターレリーズボタンが半押しされている場合はステップS217に進み、シャッターレリーズボタンの半押しされていない場合は、ステップS219に進む。   In step S216, the camera control unit 21 determines whether or not the state where the shutter release button is half-pressed (the first switch SW1 is turned on) continues. If the shutter release button is half-pressed, the process proceeds to step S217. If the shutter release button is not half-pressed, the process proceeds to step S219.

ステップS216において、シャッターレリーズボタンが半押しされていると判定された場合には、ステップS217に進み、上述したステップS202と同様に、位相差検出方式により、デフォーカス量が算出できたか否かの判定が行なわれる。その結果、デフォーカス量が算出できたと判定された場合には、ステップS218に進み、合焦不能表示をオフとする処理が行なわれた後、ステップS206に進み、ステップS206〜S209において、位相差検出方式により算出されたデフォーカス量に基づく、合焦動作が行なわれる。一方、デフォーカス量が算出できなかったと判定された場合には、ステップS216に戻り、シャッターレリーズボタンが半押しされている状態が継続している間、ステップS216、S217を繰り返し実行する。なお、この場合においては、フォーカスレンズ32は、停止した状態であるため、コントラスト検出方式による焦点検出は実行されず、位相差検出方式による焦点検出のみが行われることとなる。   If it is determined in step S216 that the shutter release button has been pressed halfway, the process proceeds to step S217, and whether or not the defocus amount has been calculated by the phase difference detection method as in step S202 described above. A determination is made. As a result, if it is determined that the defocus amount can be calculated, the process proceeds to step S218, a process for turning off the in-focus display is performed, and then the process proceeds to step S206. In steps S206 to S209, the phase difference is determined. A focusing operation based on the defocus amount calculated by the detection method is performed. On the other hand, if it is determined that the defocus amount cannot be calculated, the process returns to step S216, and steps S216 and S217 are repeatedly executed while the shutter release button is being pressed halfway. In this case, since the focus lens 32 is in a stopped state, focus detection by the contrast detection method is not performed, and only focus detection by the phase difference detection method is performed.

一方、ステップS216において、シャッターレリーズボタンが半押しされていないと判定された場合には、ステップS219に進み、合焦不能表示をオフとする処理が行なわれる。   On the other hand, if it is determined in step S216 that the shutter release button has not been pressed halfway, the process proceeds to step S219, and processing for turning off the in-focus display is performed.

このように、ステップS112のスキャン動作実行処理は行われ、ステップS112のスキャン動作実行処理が終了した後は、このカメラ1の動作も終了する。   As described above, the scan operation execution process in step S112 is performed, and after the scan operation execution process in step S112 is completed, the operation of the camera 1 is also ended.

次に、本実施形態に係るカメラ1の動作例を、図11に基づいて説明する。図11は、本実施形態に係るカメラ1の動作例を説明するための図であり、シャッターレリーズボタンの半押し直前のデフォーカス量の信頼性が「高」または「中」である場面を例示している。また、図11では、横軸に時間を示しており、時刻t6においてシャッターレリーズボタンが半押しされた場面を示している。たとえば、図11に示す例では、時刻t1において、撮像素子22の焦点検出画素222a,222bにより、入射光に応じた電荷の蓄積が開始される。また、本実施形態において、焦点検出画素222a,222bは、例えば、CMOSイメージセンサーであり、電荷の蓄積と並行して、時刻t1以降に蓄積された電荷の量に応じた画素信号の転送が開始される。そして、時刻t3では、時刻t2で開始された画素信号の転送が終了し、デフォーカス量の演算が開始される(ステップS102)。これにより、時刻t4において、デフォーカス量が算出されるとともに、デフォーカス量の信頼性が評価され、メモリ24に記憶される。そして、図11に示すように、このような電荷の蓄積、画素信号の転送、デフォーカス量の演算、およびデフォーカス量の信頼性の評価が、所定の間隔で繰り返し行われる。なお、図11においては、「高」または「中」と評価されたデフォーカス量の信頼性を「○」で表している(図12,13においても同様)。   Next, an operation example of the camera 1 according to the present embodiment will be described with reference to FIG. FIG. 11 is a diagram for explaining an operation example of the camera 1 according to the present embodiment, and illustrates a scene in which the defocus amount reliability immediately before the shutter release button is half-pressed is “high” or “medium”. doing. In FIG. 11, time is shown on the horizontal axis, and a scene in which the shutter release button is half-pressed at time t6 is shown. For example, in the example illustrated in FIG. 11, at time t1, the focus detection pixels 222a and 222b of the image sensor 22 start to accumulate charges according to incident light. In the present embodiment, the focus detection pixels 222a and 222b are, for example, CMOS image sensors, and in parallel with the charge accumulation, transfer of pixel signals corresponding to the amount of charge accumulated after time t1 is started. Is done. At time t3, the transfer of the pixel signal started at time t2 ends, and the calculation of the defocus amount is started (step S102). Thereby, at time t4, the defocus amount is calculated, and the reliability of the defocus amount is evaluated and stored in the memory 24. Then, as shown in FIG. 11, such charge accumulation, pixel signal transfer, defocus amount calculation, and defocus amount reliability evaluation are repeatedly performed at predetermined intervals. In FIG. 11, the reliability of the defocus amount evaluated as “high” or “medium” is represented by “◯” (the same applies to FIGS. 12 and 13).

そして、時刻t6において、シャッターレリーズボタンが半押しされる(ステップS103=Yes)と、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量(図11中では時刻t5において算出されたデフォーカス量)の信頼性が「高」または「中」であるか否かの判断が行われる(ステップS104)。ここで、図11に示す例では、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量(時刻t5において算出されたデフォーカス量)の信頼性は「高」または「中」であるため(ステップS104=Yes)、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量(時刻t5において算出されたデフォーカス量)に基づいて、フォーカスレンズ32のレンズ駆動量の演算が開始される(ステップS113)。その結果、時刻t7において、レンズ駆動量が算出され、算出されたレンズ駆動量に基づいて、フォーカスレンズ32の駆動が指示され、フォーカスレンズ32の駆動が開始される(ステップS114)。   When the shutter release button is half-pressed at time t6 (step S103 = Yes), the defocus amount calculated immediately before the shutter release button is half-pressed (defocus amount calculated at time t5 in FIG. 11). ) Is determined as to whether the reliability is “high” or “medium” (step S104). Here, in the example shown in FIG. 11, the reliability of the defocus amount calculated immediately before the shutter release button is half-pressed (defocus amount calculated at time t5) is “high” or “medium” ( In step S104 = Yes, calculation of the lens drive amount of the focus lens 32 is started based on the defocus amount calculated immediately before the shutter release button is half-pressed (defocus amount calculated at time t5) (step S104). S113). As a result, at time t7, the lens driving amount is calculated, the driving of the focus lens 32 is instructed based on the calculated lens driving amount, and the driving of the focus lens 32 is started (step S114).

また、本実施形態では、シャッターレリーズボタンが半押しされた後も、デフォーカス量の算出が繰り返し行われ、算出されたデフォーカス量に基づいて、レンズ駆動量の演算が繰り返し行われる。例えば、図11に示す例では、シャッターレリーズボタンが半押しされた後に、時刻t8において、デフォーカス量が算出され、時刻t9において、レンズ駆動量が算出される。これにより、フォーカスレンズ32のレンズ駆動量が、時刻t7において算出したレンズ駆動量から、時刻t9において新たに算出したレンズ駆動量に更新され、時刻t9において算出したレンズ駆動量に基づいて、フォーカスレンズ32が駆動される。同様に、時刻t9以降においても、フォーカスレンズ32が合焦位置に駆動するまで、デフォーカス量の演算とレンズ駆動量の算出とが繰り返され、新たに算出されたレンズ駆動量に基づいて、フォーカスレンズ32の駆動が行われることとなる。   In this embodiment, the defocus amount is repeatedly calculated even after the shutter release button is half-pressed, and the lens drive amount is repeatedly calculated based on the calculated defocus amount. For example, in the example shown in FIG. 11, after the shutter release button is pressed halfway, the defocus amount is calculated at time t8, and the lens drive amount is calculated at time t9. As a result, the lens driving amount of the focus lens 32 is updated from the lens driving amount calculated at time t7 to the lens driving amount newly calculated at time t9, and the focus lens is calculated based on the lens driving amount calculated at time t9. 32 is driven. Similarly, after time t9, the calculation of the defocus amount and the calculation of the lens drive amount are repeated until the focus lens 32 is driven to the in-focus position, and the focus is calculated based on the newly calculated lens drive amount. The lens 32 is driven.

そして、時刻t10において、フォーカスレンズ32が合焦位置まで駆動されると、合焦表示が点灯され(ステップS115)、フォーカスレンズ32の駆動が停止される(ステップS116)。なお、フォーカスレンズ32が合焦位置まで駆動された後は、デフォーカス量に基づいたレンズ駆動量の演算は行われない。   At time t10, when the focus lens 32 is driven to the in-focus position, the focus display is turned on (step S115), and the drive of the focus lens 32 is stopped (step S116). Note that after the focus lens 32 is driven to the in-focus position, the lens drive amount is not calculated based on the defocus amount.

一方、図12は、従来のカメラの動作例を説明するための図であり、図11と同様に、横軸に時間を示している。図12に示す例では、図11に示す例と同様に、時刻t11において、入射光に応じた電荷の蓄積が開始され、時刻t12において、蓄積された電画の量に応じた画素信号の転送が開始される。しかしながら、図12に示す例では、図11に示す例と異なり、シャッターレリーズボタンが半押しされる前に、デフォーカス量の演算が行われない。そして、時刻t13において、シャッターレリーズボタンが半押しされると、シャッターレリーズボタンが半押しされた後に転送された画素信号に基づいて、デフォーカス量の演算が開始される(時刻t14)。デフォーカス量が算出された後は、算出したデフォーカス量の信頼性が判断され、デフォーカス量の信頼性が高い場合に、フォーカスレンズ32のレンズ駆動量の演算が開始される(時刻t15)。そして、フォーカスレンズ32のレンズ駆動量が算出され、算出されたレンズ駆動量に基づいて、フォーカスレンズ32の駆動が行われる(時刻t16)。このように、図12に示す例では、シャッターレリーズボタンが半押しされてから、フォーカスレンズ32が駆動するまでに、デフォーカス量の演算およびフォーカスレンズ32の駆動量の演算が行われる。   On the other hand, FIG. 12 is a diagram for explaining an example of the operation of a conventional camera, and the time is shown on the horizontal axis as in FIG. In the example shown in FIG. 12, similarly to the example shown in FIG. 11, accumulation of electric charges according to incident light is started at time t11, and transfer of pixel signals according to the amount of accumulated image at time t12. Is started. However, in the example shown in FIG. 12, unlike the example shown in FIG. 11, the defocus amount is not calculated before the shutter release button is half-pressed. When the shutter release button is half-pressed at time t13, calculation of the defocus amount is started based on the pixel signal transferred after the shutter release button is half-pressed (time t14). After the defocus amount is calculated, the reliability of the calculated defocus amount is determined, and when the defocus amount is highly reliable, calculation of the lens drive amount of the focus lens 32 is started (time t15). . Then, the lens drive amount of the focus lens 32 is calculated, and the focus lens 32 is driven based on the calculated lens drive amount (time t16). As described above, in the example illustrated in FIG. 12, the defocus amount and the drive amount of the focus lens 32 are calculated from when the shutter release button is pressed halfway down until the focus lens 32 is driven.

これに対して、本実施形態では、図11に示すように、シャッターレリーズボタンの半押し前に算出したデフォーカス量を用いて、フォーカスレンズ32を駆動させることで、シャッターレリーズボタンが半押しされてから、フォーカスレンズ32が駆動するまでに、デフォーカス量の演算を省くことができるため、図12に示す例と比較して、シャッターレリーズボタンが半押されてからフォーカスレンズ32が駆動されるまでの時間を短縮することができる。   In contrast, in this embodiment, as shown in FIG. 11, the shutter release button is half-pressed by driving the focus lens 32 using the defocus amount calculated before the shutter release button is half-pressed. Since the calculation of the defocus amount can be omitted after the focus lens 32 is driven, the focus lens 32 is driven after the shutter release button is pressed halfway compared to the example shown in FIG. Can be shortened.

また、図13は、本実施形態に係るカメラ1の動作例を説明するための図であり、シャッターレリーズボタンの半押し直前のデフォーカス量の信頼性が「低」または「測距不能」である場面を例示している。なお、図13においては、「低」または「測距不能」と評価されたデフォーカス量の信頼性を「×」で表している。図13に示す場面例では、時刻t21において、入射光に応じた電荷の蓄積が開始され、時刻t22において、蓄積された電荷に応じた画素信号の転送が開始され、時刻t23において、画素信号に基づくデフォーカス量の演算が開始される(ステップS102)。これにより、時刻t24において、デフォーカス量が算出されるとともに、デフォーカス量の信頼性が評価され、メモリ24に記憶される。同様に、電荷の蓄積、画素信号の転送、デフォーカス量の演算、およびデフォーカス量の信頼性の評価が繰り返される。図13に示す例では、時刻t24において算出されたデフォーカス量の信頼性が「高」または「中」と評価され、時刻t24において算出されたデフォーカス量の次に算出されたデフォーカス量(時刻t25において算出されたデフォーカス量)の信頼性は「低」または「測距不能」と評価されたものとする。さらに、時刻t25において算出されたデフォーカス量の次に算出されたデフォーカス量(時刻t26において算出されたデフォーカス量)の信頼性も「低」または「測距不能」と評価されたものとする。   FIG. 13 is a diagram for explaining an example of the operation of the camera 1 according to the present embodiment. The reliability of the defocus amount immediately before the shutter release button is half-pressed is “low” or “distance cannot be measured”. A scene is illustrated. In FIG. 13, the reliability of the defocus amount evaluated as “low” or “impossible distance measurement” is represented by “x”. In the example of the scene shown in FIG. 13, accumulation of charges according to incident light is started at time t21, transfer of pixel signals according to the accumulated charges is started at time t22, and the pixel signals are converted at time t23. The calculation of the defocus amount is started (step S102). Thereby, at time t24, the defocus amount is calculated, and the reliability of the defocus amount is evaluated and stored in the memory 24. Similarly, charge accumulation, pixel signal transfer, defocus amount calculation, and defocus amount reliability evaluation are repeated. In the example shown in FIG. 13, the reliability of the defocus amount calculated at time t24 is evaluated as “high” or “medium”, and the defocus amount calculated next to the defocus amount calculated at time t24 ( Assume that the reliability of the defocus amount (calculated at time t25) is evaluated as “low” or “inability to measure distance”. Further, the reliability of the defocus amount calculated after the defocus amount calculated at time t25 (defocus amount calculated at time t26) is also evaluated as “low” or “range measurement impossible”. To do.

図13に示す例において、時刻t27において、シャッターレリーズボタンが半押しされた場合(ステップS103=Yes)に、シャッターレリーズボタンの半押し直前のデフォーカス量、すなわち、時刻t26において算出されたデフォーカス量の信頼性が判断される(ステップS104)。ここで、図13に示す例において、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量(時刻t26において算出されたデフォーカス量)の信頼性は「高」または「中」ではないため(ステップS104=No)、シャッターレリーズボタンの半押し直前のデフォーカス量(時刻t26において算出されたデフォーカス量)よりも1つ前に算出されたデフォーカス量(時刻t25において算出されたデフォーカス量)の信頼性が判断される(ステップS106〜S108)。シャッターレリーズボタンの半押し直前のデフォーカス量よりも1つ前に算出されたデフォーカス量(時刻t25において算出されたデフォーカス量)の信頼性も「高」または「中」ではないため(ステップS106=No)、続いて、シャッターレリーズボタンの半押し直前のデフォーカス量よりも2つ前に算出されたデフォーカス量(時刻t24において算出されたデフォーカス量)の信頼性が判断される(ステップS106〜S108)。図13に示す例では、シャッターレリーズボタンの半押し直前のデフォーカス量よりも2つ前に算出されたデフォーカス量(時刻t24において算出されたデフォーカス量)の信頼性が「高」または「中」であるため(ステップS106=Yes)、シャッターレリーズボタンの半押し直前のデフォーカス量よりも2つ前に算出されたデフォーカス量(時刻t24において算出されたデフォーカス量)が、フォーカスレンズ32のレンズ駆動量を算出するためのデフォーカス量に決定される(ステップS109)。そして、このデフォーカス量に基づいて、フォーカスレンズ32の駆動量が演算され(ステップS113)、その結果、時刻t28において、フォーカスレンズ32が駆動される(ステップS114)。   In the example shown in FIG. 13, when the shutter release button is half-pressed at time t27 (step S103 = Yes), the defocus amount immediately before the shutter release button is half-pressed, that is, the defocus calculated at time t26. A reliability of the quantity is determined (step S104). Here, in the example shown in FIG. 13, the reliability of the defocus amount calculated immediately before the shutter release button is half-pressed (defocus amount calculated at time t26) is not “high” or “medium” ( Step S104 = No), the defocus amount calculated immediately before the defocus amount (defocus amount calculated at time t26) immediately before the shutter release button is half-pressed (defocus amount calculated at time t25). ) Is determined (steps S106 to S108). The reliability of the defocus amount calculated immediately before the defocus amount immediately before the shutter release button is half-pressed (defocus amount calculated at time t25) is not “high” or “medium” (step) Subsequently, the reliability of the defocus amount calculated two times before the defocus amount immediately before the shutter release button is half-pressed (defocus amount calculated at time t24) is determined (S106 = No). Steps S106 to S108). In the example shown in FIG. 13, the reliability of the defocus amount calculated two times before the defocus amount immediately before the shutter release button is half-pressed (defocus amount calculated at time t24) is “high” or “ Medium ”(step S106 = Yes), the defocus amount calculated two times before the defocus amount immediately before the shutter release button is half-pressed (defocus amount calculated at time t24) is the focus lens. The defocus amount for calculating the lens drive amount of 32 is determined (step S109). Based on this defocus amount, the drive amount of the focus lens 32 is calculated (step S113). As a result, the focus lens 32 is driven at time t28 (step S114).

このように、図13に示す例でも、シャッターレリーズボタンが半押しされてから、フォーカスレンズ32が駆動するまでに、デフォーカス量の演算を省くことができるため、図12に示す例と比較して、シャッターレリーズボタンが半押されてからフォーカスレンズ32が駆動されるまでの時間を短縮することができる。   As described above, in the example shown in FIG. 13, the calculation of the defocus amount can be omitted from when the shutter release button is pressed halfway down until the focus lens 32 is driven. Thus, the time from when the shutter release button is pressed halfway down until the focus lens 32 is driven can be shortened.

また、図13に示す例では、シャッターレリーズボタンの半押し直前のデフォーカス量の信頼性が「高」または「中」ではない場合でも、シャッターレリーズボタンが半押しされたタイミングにより近いタイミングで算出されたデフォーカス量を用いて、フォーカスレンズ32を駆動することができるため、シャッターレリーズボタンの半押し直前のデフォーカス量の信頼性が一時的に低くなってしまった場合などに、直ぐに、スキャン動作が実行されてしまうことを防止することができ、その結果、スキャン動作による合焦時間の増大や画像のぼけなどを有効に防止することができる。また、本実施形態では、シャッターレリーズボタンの半押し直前のデフォーカス量の信頼性が「高」または「中」ではない場合に、シャッターレリーズボタンの半押し直前のデフォーカス量よりも前に算出された所定数のデフォーカス量のみについて、デフォーカス量の信頼性を判断することで、フォーカスレンズ32が駆動していない時間が長くなり、撮影者に違和感を与えることを防止することができる。   In the example shown in FIG. 13, even when the reliability of the defocus amount immediately before the shutter release button is half-pressed is not “high” or “medium”, the calculation is performed at a timing closer to the timing when the shutter release button is half-pressed. Since the focus lens 32 can be driven by using the defocus amount that has been set, the reliability of the defocus amount immediately before the shutter release button is half-pressed is temporarily reduced. It is possible to prevent the operation from being executed, and as a result, it is possible to effectively prevent an increase in focusing time and an image blur due to the scanning operation. In the present embodiment, when the reliability of the defocus amount immediately before the shutter release button is half-pressed is not “high” or “medium”, the calculation is performed before the defocus amount immediately before the shutter release button is half-pressed. By determining the reliability of the defocus amount only for the predetermined number of defocus amounts, it is possible to prevent the photographer from feeling uncomfortable because the time during which the focus lens 32 is not driven increases.

なお、以上説明した実施形態は、本発明の理解を容易にするために記載されたものであって、本発明を限定するために記載されたものではない。したがって、上記の実施形態に開示された各要素は、本発明の技術的範囲に属する全ての設計変更や均等物をも含む趣旨である。   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.

例えば、上述した実施形態では、シャッターレリーズボタンが半押しされた後に、フォーカスレンズ32のレンズ駆動量を算出しているが、レンズ駆動量を、シャッターレリーズボタンが半押しされる前に算出しておく構成としてもよい。これにより、シャッターレリーズボタンが半押しされた後に、フォーカスレンズ32のレンズ駆動量を算出する時間を省くことができるため、シャッターレリーズボタンが半押しされてから、フォーカスレンズ32が駆動されるまでの時間を、さらに短縮することができる。なお、シャッターレリーズボタンが半押しされる前に、フォーカスレンズ32の駆動量を算出する構成とした場合であっても、シャッターレリーズボタンが半押しされる前のフォーカスレンズ32の駆動は禁止される。   For example, in the above-described embodiment, the lens driving amount of the focus lens 32 is calculated after the shutter release button is pressed halfway. However, the lens driving amount is calculated before the shutter release button is pressed halfway. It is good also as composition to leave. Accordingly, it is possible to save time for calculating the lens driving amount of the focus lens 32 after the shutter release button is half-pressed. Therefore, the time from when the shutter release button is half-pressed until the focus lens 32 is driven. Time can be further reduced. Even when the driving amount of the focus lens 32 is calculated before the shutter release button is half-pressed, the drive of the focus lens 32 before the shutter release button is half-pressed is prohibited. .

また、上述した実施形態では、シャッターレリーズボタンの半押し前に算出されたデフォーカス量の信頼性を、新しく算出されたデフォーカス量から順に遡って判断し、信頼性が「高」または「中」であるデフォーカス量に基づいて、レンズ駆動量を算出する構成を例示していたが、この構成に限定されるものではなく、例えば、シャッターレリーズボタンの半押し前に算出されたデフォーカス量のうち、信頼性が最も高いデフォーカス量に基づいて、レンズ駆動量を算出する構成としてもよい。   In the above-described embodiment, the reliability of the defocus amount calculated before the shutter release button is half-pressed is determined retrospectively from the newly calculated defocus amount, and the reliability is “high” or “medium”. However, the present invention is not limited to this configuration, and for example, the defocus amount calculated before the shutter release button is pressed halfway. Among them, the lens driving amount may be calculated based on the defocus amount with the highest reliability.

さらに、上述した実施形態では、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量に基づいて、フォーカスレンズ32を駆動させる構成を例示したが、この構成に限定されず、たとえば、以下に説明するような構成としてもよい。たとえば、シャッターレリーズボタンが半押しされる前から、撮影画面内に設定された焦点検出位置における輝度を繰り返し検出しておき、シャッターレリーズボタンの半押しが行われた際に、メモリ24に記憶されたシャッターレリーズボタンが半押しされるまでの所定時間内に算出されたデフォーカス量のうち、焦点検出位置における輝度が所定値以上変化した後に算出されたデフォーカス量を用いて、フォーカスレンズ32を駆動させる構成としてもよい。あるいは、シャッターレリーズボタンが半押しされる前から、撮影画面内に設定された焦点検出位置における被写体の色味を繰り返し検出しておき、シャッターレリーズボタンの半押しが行われた際に、メモリ24に記憶されたシャッターレリーズボタンが半押しされるまでの所定時間内に算出されたデフォーカス量のうち、焦点検出位置における被写体の色味が所定値以上変化した後に算出されたデフォーカス量を用いて、フォーカスレンズ32を駆動させる構成としてもよい。これにより、たとえば、シャッターレリーズボタンの半押し前に光学系の焦点状態が変化した場合でも、シャッターレリーズボタンの半押し後、直ぐに、変化した光学系の焦点状態に応じたデフォーカス量に基づいて、フォーカスレンズ32を駆動させることができる。   Furthermore, in the above-described embodiment, the configuration in which the focus lens 32 is driven based on the defocus amount calculated immediately before the shutter release button is half-pressed is not limited to this configuration. It is good also as a structure which does. For example, the brightness at the focus detection position set in the shooting screen is repeatedly detected before the shutter release button is half-pressed, and stored in the memory 24 when the shutter release button is half-pressed. Of the defocus amounts calculated within a predetermined time until the shutter release button is half-pressed, the focus lens 32 is adjusted using the defocus amount calculated after the luminance at the focus detection position changes by a predetermined value or more. It is good also as a structure to drive. Alternatively, the color of the subject at the focus detection position set in the shooting screen is repeatedly detected before the shutter release button is half-pressed, and the memory 24 is displayed when the shutter release button is half-pressed. Among the defocus amounts calculated within a predetermined time until the shutter release button is half-pressed, the defocus amount calculated after the subject color tone at the focus detection position has changed by a predetermined value or more is used. Thus, the focus lens 32 may be driven. Thus, for example, even if the focus state of the optical system changes before the shutter release button is half-pressed, immediately after the shutter release button is half-pressed, immediately based on the defocus amount corresponding to the changed focus state of the optical system. The focus lens 32 can be driven.

また、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量に限らず、たとえば、シャッターレリーズボタンの半押し前に算出されたデフォーカス量のうち、シャッターレリーズボタンが半押しされたタイミングよりも所定時間前までに算出されたデフォーカス量に基づいて、フォーカスレンズ32を駆動させる構成としてもよい。たとえば、撮影者が、シャッターレリーズボタンを半押しして、被写体にピントを合わせようと決めたタイミングでの焦点状態に応じて、フォーカスレンズ32を駆動させることができるように、撮影者がシャッターレリーズボタンを半押ししようと決めたタイミングと、撮影者が実際にシャッターレリーズボタンの半押しを行うタイミングとのずれを考慮し、シャッターレリーズボタンが半押しされたタイミングの1秒前までに算出されたデフォーカス量、より好ましくは、シャッターレリーズボタンが半押しされたタイミングの0.5秒前までに算出されたデフォーカス量に基づいて、フォーカスレンズ32を駆動させる構成としてもよい。同様に、シャッターレリーズボタンの半押し直前から所定回数前までに算出されたデフォーカス量に基づいて、フォーカスレンズ32を駆動させる構成としてもよい。たとえば、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量から60回前までに算出されたデフォーカス量、より好ましくは、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量よりも30回前までに算出されたデフォーカス量に基づいて、フォーカスレンズ32を駆動させる構成とすることもできる。また、シャッターレリーズボタンの半押し直前から所定のフレーム数前までに算出されたデフォーカス量に基づいて、フォーカスレンズ32を駆動させる構成としてもよい。   In addition, the defocus amount calculated immediately before the shutter release button is half-pressed is not limited to, for example, the defocus amount calculated before the shutter release button is half-pressed than the timing when the shutter release button is half-pressed. The focus lens 32 may be driven based on the defocus amount calculated before a predetermined time. For example, the photographer can press the shutter release button halfway to drive the focus lens 32 according to the focus state at the timing at which the photographer decides to focus on the subject. Considering the difference between the timing at which the button was pressed halfway and the timing at which the photographer actually pressed the shutter release button halfway, it was calculated one second before the timing at which the shutter release button was pressed halfway. The focus lens 32 may be driven based on the defocus amount, more preferably the defocus amount calculated up to 0.5 seconds before the timing when the shutter release button is half-pressed. Similarly, the focus lens 32 may be driven based on the defocus amount calculated from a time just before the shutter release button is half-pressed to a predetermined number of times before. For example, the defocus amount calculated up to 60 times before the defocus amount calculated immediately before the shutter release button is half-pressed, more preferably 30 than the defocus amount calculated immediately before the shutter release button is half-pressed. The focus lens 32 may be driven based on the defocus amount calculated before the rotation. Alternatively, the focus lens 32 may be driven based on the defocus amount calculated immediately before the shutter release button is half-pressed and before a predetermined number of frames.

さらに、上述した実施形態では、シャッターレリーズボタンが半押しされた場合に、シャッターレリーズボタンが半押しされる前に算出されたデフォーカス量に基づいて、レンズ駆動量を算出する構成を例示したが、シャッターレリーズボタンは、光学系の焦点調節を開始(起動)するための部材の一例であって、この構成に限定されるものではない。例えば、シャッターレリーズボタンとは別に、光学系の焦点調節を開始(起動)するためのボタンが設けられている場合には、焦点調節を開始(起動)するためのボタンが押される前からデフォーカス量を算出しておき、焦点調節を開始(起動)するためのボタンが押された後に、焦点調節を開始(起動)するためのボタンが押される前に算出したデフォーカス量に基づいて、レンズ駆動量を算出する構成としてもよい。   Furthermore, in the above-described embodiment, when the shutter release button is half-pressed, the configuration for calculating the lens drive amount based on the defocus amount calculated before the shutter release button is half-pressed is illustrated. The shutter release button is an example of a member for starting (starting up) the focus adjustment of the optical system, and is not limited to this configuration. For example, in the case where a button for starting (starting up) focus adjustment of the optical system is provided separately from the shutter release button, defocusing is performed before the button for starting (starting up) focus adjustment is pressed. Based on the defocus amount calculated after the button for starting (starting up) focus adjustment is pressed and before the button for starting (starting up) focus adjustment is pressed, the amount is calculated. It may be configured to calculate the driving amount.

また、上述した実施形態では、静止画撮影において、スルー画像を表示している際にシャッターレリーズボタンを半押しする場面を例示したが、本発明は、例えば、動画撮影中にシャッターレリーズボタンを半押しする場面にも適用することができる。例えば、操作部28を介して、動画撮影モードが選択された場合に、動画撮影を行いながら、デフォーカス量を算出しておき、シャッターレリーズボタンが半押しされた後、直ぐに、フォーカスレンズ32を駆動する構成としてもよい。また、動画撮影を行う前から、デフォーカス量を算出しておき、動画撮影を開始するためのボタンが押され、動画撮影が開始された後、直ぐに、フォーカスレンズ32を駆動する構成とすることもできる。   Further, in the above-described embodiment, in the still image shooting, a case where the shutter release button is pressed halfway while a through image is displayed is illustrated. However, the present invention, for example, presses the shutter release button halfway during movie shooting. It can also be applied to scenes to be pushed. For example, when the moving image shooting mode is selected via the operation unit 28, the defocus amount is calculated while shooting the moving image, and immediately after the shutter release button is pressed halfway, the focus lens 32 is moved. It may be configured to drive. In addition, the defocus amount is calculated before moving image shooting, and the focus lens 32 is driven immediately after the button for starting moving image shooting is pressed and the moving image shooting is started. You can also.

加えて、上述した実施形態では、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量の信頼性が「高」または「中」ではない場合に、シャッターレリーズボタンの半押し直前のデフォーカス量よりも前に算出されたデフォーカス量の信頼性を、所定の数だけ、遡って判断しているが、この構成に限定されるものではなく、例えば、シャッターレリーズボタンの半押し直前のデフォーカス量の信頼性が「高」または「中」ではない場合に、シャッターレリーズボタンの半押し直前のデフォーカス量よりも所定時間(例えば、0.1秒)前までに算出されたデフォーカス量の信頼性を遡って判断する構成としてもよい。   In addition, in the above-described embodiment, when the reliability of the defocus amount calculated immediately before the shutter release button is half-pressed is not “high” or “medium”, the defocus amount immediately before the shutter release button is half-pressed. The reliability of the defocus amount calculated before is determined retroactively by a predetermined number, but is not limited to this configuration. For example, the defocus amount immediately before the shutter release button is half-pressed is determined. When the reliability of the amount is not “high” or “medium”, the defocus amount calculated up to a predetermined time (for example, 0.1 second) before the defocus amount immediately before the shutter release button is half-pressed. It is good also as a structure which judges retroactively.

また、上述した実施形態では、撮像素子22の焦点検出画素222a,222bにおいて、位相差検出方式による焦点状態の検出を行う構成を例示したが、この構成に限定されるものではなく、位相差検出方式による焦点状態の検出を行う焦点検出モジュールを、撮像素子22とは独立して設ける構成としてもよい。   In the above-described embodiment, the focus detection pixels 222a and 222b of the image sensor 22 are exemplified by the configuration for detecting the focus state by the phase difference detection method. However, the configuration is not limited to this configuration, and the phase difference detection is performed. A focus detection module that detects the focus state by the method may be provided independently of the image sensor 22.

なお、上述した実施形態のカメラ1は特に限定されず、例えば、デジタルビデオカメラ、一眼レフデジタルカメラ、レンズ一体型のデジタルカメラ、携帯電話用のカメラなどのその他の光学機器に本発明を適用してもよい。   The camera 1 of the above-described embodiment is not particularly limited. For example, the present invention is applied to other optical devices such as a digital video camera, a single-lens reflex digital camera, a lens-integrated digital camera, and a camera for a mobile phone. May be.

1…デジタルカメラ
2…カメラ本体
21…カメラ制御部
22…撮像素子
221…撮像画素
222a,222b…焦点検出画素
24…メモリ
28…操作部
3…レンズ鏡筒
32…フォーカスレンズ
36…フォーカスレンズ駆動モータ
37…レンズ制御部
DESCRIPTION OF SYMBOLS 1 ... Digital camera 2 ... Camera body 21 ... Camera control part 22 ... Imaging device 221 ... Imaging pixel 222a, 222b ... Focus detection pixel 24 ... Memory 28 ... Operation part 3 ... Lens barrel 32 ... Focus lens 36 ... Focus lens drive motor 37 ... Lens control unit

Claims (7)

フォーカスレンズを有する光学系による像を撮像する撮像部と、
前記光学系による像の結像面と前記撮像部の撮像面とのずれ量を検出する焦点検出部と、
前記フォーカスレンズを光軸方向に移動させる焦点調節部と、
前記焦点調節部による焦点調節を起動する起動部と、
前記焦点検出部により検出された前記ずれ量を記憶する記憶部と、
前記起動部により、前記焦点調節の起動が行われると、前記焦点調節を起動する前に検出された前記ずれ量を前記記憶部から読み出し、読み出した前記ずれ量に基づいて、前記フォーカスレンズの移動量を演算し、演算した前記移動量に基づいて、前記焦点調節部に前記フォーカスレンズを移動させる制御部とを有し、
前記制御部は、
前記焦点調節の起動が行われると、前記焦点調節を起動する前に検出されたずれ量のうち、前記焦点調節を起動する直前に検出されたずれ量に基づいて、前記フォーカスレンズの移動量を演算し、
前記焦点調節を起動する直前に検出されたずれ量の信頼性が第1の閾値未満である場合には、前記焦点調節を起動する前に検出されたずれ量のうち、信頼性が前記第1の閾値以上であるずれ量に基づいて、前記フォーカスレンズの移動量を演算する焦点調節装置。
An imaging unit that captures an image by an optical system having a focus lens ;
A focus detection unit that detects a shift amount between an imaging surface of an image formed by the optical system and an imaging surface of the imaging unit;
A focus point adjusting unit that is moved in the optical axis direction the focus lens,
An activation unit that activates focus adjustment by the focus adjustment unit;
A storage unit for storing the shift amount detected by the focus detection unit;
By the starting unit, when the focus start of adjustment Ru is performed, the read the deviation amount detected before starting the focus adjustment from the storage unit, on the basis of the shift amount read out, the focus lens A control unit that calculates a movement amount, and moves the focus lens to the focus adjustment unit based on the calculated movement amount;
The controller is
When the activation of the focus adjustment Ru performed, said among the detected displacement amount before starting the focus adjustment, on the basis of the detected shift amount immediately before activating the focusing movement amount of the focus lens And
When the reliability of the shift amount detected immediately before starting the focus adjustment is less than the first threshold value, the reliability is the first of the shift amounts detected before starting the focus adjustment. A focus adjustment device that calculates the amount of movement of the focus lens based on a shift amount that is equal to or greater than a threshold value.
請求項1に記載の焦点調節装置において、
前記制御部は、前記焦点調節を起動する前に検出されたずれ量のうち、信頼性が前記第1の閾値以上であるずれ量が存在しない場合には、前記焦点調節部に前記フォーカスレンズを所定方向に移動させる焦点調節装置。
The focus adjustment apparatus according to claim 1,
When there is no shift amount whose reliability is equal to or greater than the first threshold among the shift amounts detected before starting the focus adjustment, the control unit attaches the focus lens to the focus adjustment unit. A focusing device that moves in a predetermined direction .
請求項2に記載の焦点調節装置において、
前記制御部は、前記焦点調節を起動する前に検出されたずれ量のうち、信頼性が、前記第1の閾値よりも低い第2の閾値以上であるずれ量が存在する場合には、前記第2の閾値以上であるずれ量に基づいて、前記焦点調節部に前記フォーカスレンズを所定方向に移動させる際における、移動方向を決定する焦点調節装置。
The focusing apparatus according to claim 2, wherein
The control unit, when there is a deviation amount that is greater than or equal to a second threshold value whose reliability is lower than the first threshold value among deviation amounts detected before starting the focus adjustment, A focus adjustment device that determines a movement direction when the focus adjustment unit moves the focus lens in a predetermined direction based on a shift amount that is equal to or greater than a second threshold.
フォーカスレンズを有する光学系による像を撮像する撮像部と、
前記光学系による像の結像面と前記撮像部の撮像面とのずれ量を検出する焦点検出部と、
前記フォーカスレンズを光軸方向に移動させる焦点調節部と、
前記焦点調節部による焦点調節を起動する起動部と、
前記焦点検出部により検出された前記ずれ量を記憶する記憶部と、
前記起動部により、前記焦点調節の起動が行われると、前記焦点調節を起動する前に検出された前記ずれ量を前記記憶部から読み出し、読み出した前記ずれ量に基づいて、前記フォーカスレンズの移動量を演算し、演算した前記移動量に基づいて、前記焦点調節部に前記フォーカスレンズを移動させる制御部とを有し、
前記制御部は、前記焦点調節の起動が行われると、前記焦点調節を起動する前に検出されたずれ量のうち、信頼性が最も高いずれ量に基づいて、前記フォーカスレンズの移動量を演算する焦点調節装置。
An imaging unit that captures an image by an optical system having a focus lens ;
A focus detection unit that detects a shift amount between an imaging surface of an image formed by the optical system and an imaging surface of the imaging unit;
A focus point adjusting unit that is moved in the optical axis direction the focus lens,
An activation unit that activates focus adjustment by the focus adjustment unit;
A storage unit for storing the shift amount detected by the focus detection unit;
By the starting unit, when the focus start of adjustment Ru is performed, the read the deviation amount detected before starting the focus adjustment from the storage unit, on the basis of the shift amount read out, the focus lens A control unit that calculates a movement amount, and moves the focus lens to the focus adjustment unit based on the calculated movement amount;
Wherein, when the focus start of adjustment Ru performed, among the detected displacement amount before starting the focus adjustment, on the basis of the reliability the highest deviation amount, the movement amount of the focus lens Focus adjustment device to calculate.
フォーカスレンズを有する光学系による像を撮像する撮像部と、
前記光学系による像の結像面と前記撮像部の撮像面とのずれ量を検出する焦点検出部と、
前記フォーカスレンズを光軸方向に移動させる焦点調節部と、
前記焦点調節部による焦点調節を起動する起動部と、
前記焦点検出部により検出された前記ずれ量を記憶する記憶部と、
前記起動部により、前記焦点調節の起動が行われると、前記焦点調節を起動する前に検出された前記ずれ量を前記記憶部から読み出し、読み出した前記ずれ量に基づいて、前記フォーカスレンズの移動量を演算し、演算した前記移動量に基づいて、前記焦点調節部に前記フォーカスレンズを移動させる制御部とを有し、
前記制御部は、前記焦点調節の起動が行われると、前記焦点調節を起動する前に検出されたずれ量のうち、撮影画面内に設定された焦点検出位置における輝度が所定値以上変化した後に検出されたずれ量に基づいて、前記フォーカスレンズの移動量を演算する焦点調節装置。
An imaging unit that captures an image by an optical system having a focus lens ;
A focus detection unit that detects a shift amount between an imaging surface of an image formed by the optical system and an imaging surface of the imaging unit;
A focus point adjusting unit that is moved in the optical axis direction the focus lens,
An activation unit that activates focus adjustment by the focus adjustment unit;
A storage unit for storing the shift amount detected by the focus detection unit;
By the starting unit, when the focus start of adjustment Ru is performed, the read the deviation amount detected before starting the focus adjustment from the storage unit, on the basis of the shift amount read out, the focus lens A control unit that calculates a movement amount, and moves the focus lens to the focus adjustment unit based on the calculated movement amount;
Wherein, when the focus start of adjustment Ru performed, among the detected displacement amount before starting the focus adjustment, brightness in the set focus detection position on the shooting screen is changed more than a predetermined value A focus adjustment device that calculates a movement amount of the focus lens based on a shift amount detected later.
フォーカスレンズを有する光学系による像を撮像する撮像部と、
前記光学系による像の結像面と前記撮像部の撮像面とのずれ量を検出する焦点検出部と、
前記フォーカスレンズを光軸方向に移動させる焦点調節部と、
前記焦点調節部による焦点調節を起動する起動部と、
前記焦点検出部により検出された前記ずれ量を記憶する記憶部と、
前記起動部により、前記焦点調節の起動が行われると、前記焦点調節を起動する前に検出された前記ずれ量を前記記憶部から読み出し、読み出した前記ずれ量に基づいて、前記フォーカスレンズの移動量を演算し、演算した前記移動量に基づいて、前記焦点調節部に前記フォーカスレンズを移動させる制御部とを有し、
前記制御部は、前記焦点調節の起動が行われると、前記焦点調節を起動する前に検出されたずれ量のうち、撮影画面内に設定された焦点検出位置における被写体の色味が所定値以上変化した後に検出されたずれ量に基づいて、前記フォーカスレンズの移動量を演算する焦点調節装置。
An imaging unit that captures an image by an optical system having a focus lens ;
A focus detection unit that detects a shift amount between an imaging surface of an image formed by the optical system and an imaging surface of the imaging unit;
A focus point adjusting unit that is moved in the optical axis direction the focus lens,
An activation unit that activates focus adjustment by the focus adjustment unit;
A storage unit for storing the shift amount detected by the focus detection unit;
By the starting unit, when the focus start of adjustment Ru is performed, the read the deviation amount detected before starting the focus adjustment from the storage unit, on the basis of the shift amount read out, the focus lens A control unit that calculates a movement amount, and moves the focus lens to the focus adjustment unit based on the calculated movement amount;
Wherein, when the focus start of adjustment Ru performed, said among the detected displacement amount before starting the focus adjustment, tint predetermined value of the object in the set focus detection position on the photographing screen A focus adjustment device that calculates a movement amount of the focus lens based on a shift amount detected after the change.
請求項1から請求項6の何れか1項に記載された焦点調節装置を備え、
静止画撮影モード、及び、動画撮影モードの少なくとも1つを設定可能な設定部を有し、
前記撮像部は、前記静止画撮影モードが選択されている場合には、前記制御部によ前記フォーカスレンズが移動した後に、静止画撮影を行ない、前記動画撮影モードが選択されている場合には、前記制御部によ前記フォーカスレンズが移動している間に動画撮影を行なう撮像装置。
A focus adjustment apparatus according to any one of claims 1 to 6, comprising:
A setting unit capable of setting at least one of a still image shooting mode and a moving image shooting mode;
The imaging unit, wherein, when the still image shooting mode is selected, after the focus lens Ri by the said control unit is moved, performs still image shooting, and when the moving image photographing mode is selected the imaging apparatus for performing moving image shooting while the focus lens Ri by the said control unit is moving.
JP2011200147A 2011-02-08 2011-09-14 Focus adjustment device and imaging device Active JP5987285B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011200147A JP5987285B2 (en) 2011-02-08 2011-09-14 Focus adjustment device and imaging device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2011024979 2011-02-08
JP2011024979 2011-02-08
JP2011200147A JP5987285B2 (en) 2011-02-08 2011-09-14 Focus adjustment device and imaging device

Publications (2)

Publication Number Publication Date
JP2012181492A JP2012181492A (en) 2012-09-20
JP5987285B2 true JP5987285B2 (en) 2016-09-07

Family

ID=47012712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011200147A Active JP5987285B2 (en) 2011-02-08 2011-09-14 Focus adjustment device and imaging device

Country Status (1)

Country Link
JP (1) JP5987285B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6220144B2 (en) * 2013-04-09 2017-10-25 キヤノン株式会社 Focus adjustment apparatus and control method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2644252B2 (en) * 1987-02-24 1997-08-25 オリンパス光学工業株式会社 Auto focus camera
JP2008310072A (en) * 2007-06-15 2008-12-25 Nikon Corp Digital camera

Also Published As

Publication number Publication date
JP2012181492A (en) 2012-09-20

Similar Documents

Publication Publication Date Title
WO2013015131A1 (en) Focus adjustment device and image capturing apparatus
JP6019556B2 (en) Focus detection device, imaging device, and camera.
JP5776210B2 (en) Focus adjustment device and imaging device
JP5831070B2 (en) Imaging device
JP2013050690A (en) Focus adjusting device and imaging apparatus
JP5966267B2 (en) Focus adjustment device and imaging device
JP6477744B2 (en) interchangeable lens
JP5760792B2 (en) Focus adjustment device and imaging device
JP5929060B2 (en) Focus detection apparatus and imaging apparatus
JP5891668B2 (en) Focus adjustment device and imaging device
JP2014074855A (en) Focus adjustment device and imaging device
JP2013061579A (en) Focusing device and imaging apparatus
JP6127730B2 (en) Imaging device
JP5454521B2 (en) Imaging device
JP5987285B2 (en) Focus adjustment device and imaging device
JP6098690B2 (en) Lens barrel and camera body
JP2014074853A (en) Focus adjustment device and imaging device
JP5821934B2 (en) Focus detection device, camera body, and camera
JP6477630B2 (en) Imaging device
JP5423734B2 (en) Lens barrel and imaging device
JP5370411B2 (en) Imaging device
JP5966283B2 (en) Camera body and camera
JP2012181448A (en) Focusing device and imaging apparatus
JP5764953B2 (en) Focus adjustment device and imaging device
JP6477576B2 (en) Imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140911

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150611

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150623

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160119

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160318

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160712

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160725

R150 Certificate of patent or registration of utility model

Ref document number: 5987285

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250