JP5966262B2 - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP5966262B2
JP5966262B2 JP2011145647A JP2011145647A JP5966262B2 JP 5966262 B2 JP5966262 B2 JP 5966262B2 JP 2011145647 A JP2011145647 A JP 2011145647A JP 2011145647 A JP2011145647 A JP 2011145647A JP 5966262 B2 JP5966262 B2 JP 5966262B2
Authority
JP
Japan
Prior art keywords
focus
lens
zoom
unit
control unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2011145647A
Other languages
Japanese (ja)
Other versions
JP2013011809A (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 JP2011145647A priority Critical patent/JP5966262B2/en
Publication of JP2013011809A publication Critical patent/JP2013011809A/en
Application granted granted Critical
Publication of JP5966262B2 publication Critical patent/JP5966262B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、撮像装置に関する。   The present invention relates to an imaging apparatus.

レンズ鏡筒に、ズームレンズの移動に応じた焦点調節レンズの移動量を示すズームトラッキングデータを保存しておき、ズームレンズの駆動時に、ズームトラッキングデータに基づいて、焦点調節レンズを駆動させることで、ズーム倍率が変化することにより変化した焦点位置を補正するズームトラッキング技術が知られている(たとえば、特許文献1参照)。   By storing zoom tracking data indicating the amount of movement of the focus adjustment lens according to the movement of the zoom lens in the lens barrel, and driving the focus adjustment lens based on the zoom tracking data when driving the zoom lens. A zoom tracking technique that corrects a focal position that has changed due to a change in zoom magnification is known (see, for example, Patent Document 1).

特開平3−228036号公報JP-A-3-228036

しかしながら、従来技術では、焦点調節レンズの駆動状況に応じて、ズームトラッキングを実施するものではないため、焦点調節レンズがハンチング現象を起こしてしまう場合があるという問題や、使用感に劣ってしまうという問題などがあった。   However, in the prior art, zoom tracking is not performed according to the driving state of the focus adjustment lens, so that the focus adjustment lens may cause a hunting phenomenon and the usability is inferior. There was a problem.

本発明が解決しようとする課題は、光学系の焦点調節を適切に行なうことができる撮像装置を提供することにある。   The problem to be solved by the present invention is to provide an imaging apparatus capable of appropriately adjusting the focus of an optical system.

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

[1]本発明に係る撮像装置は、焦点調節レンズを光軸方向に駆動して、光学系の焦点状態を調節する焦点調節部と、ズームレンズを光軸方向に駆動して、ズーム倍率を変更するズーム倍率変更部と、前記焦点調節レンズを光軸方向に駆動させながら、異なる焦点状態における焦点評価値を算出することで、前記光学系の焦点状態の検出を行う第1焦点検出部と、前記ズームレンズの移動に応じて、前記焦点調節部に前記焦点調節レンズの移動を行わせるズームトラッキングを制御するズームトラッキング部と、前記光学系の焦点状態を検出するために前記焦点調節レンズの駆動が行われている場合に、ズームトラッキングを禁止する制御部と、位相差を用いて前記光学系の焦点状態を検出する第2焦点検出部と、シャッターレリーズボタンの半押し操作が行われた場合に、前記第1焦点検出部または前記第2焦点検出部による焦点検出結果に基づき、前記焦点調節部により、前記焦点調節レンズを合焦位置に駆動させ、その後、前記シャッターレリーズボタンの半押し操作がされている間は、焦点検出結果に基づく前記焦点調節レンズの駆動を禁止する第1モードを設定する第1モード設定部と、を備え、前記制御部は、前記第1モードに設定されている場合であり、かつ、前記第1焦点検出部または前記第2焦点検出部による焦点検出結果に基づき、前記焦点調節部により、前記焦点調節レンズを合焦位置に駆動させる合焦駆動動作が行なわれた後、焦点検出結果に基づく前記焦点調節レンズの駆動が禁止されている場合には、ズームトラッキングを許可する。 [1] an imaging apparatus according to the present onset bright drives the focusing lens in the optical axis direction, a focus adjustment unit for adjusting the focus state of the optical system, by driving the zoom lens in the optical axis direction, a zoom magnification And a first focus detection unit that detects a focus state of the optical system by calculating a focus evaluation value in a different focus state while driving the focus adjustment lens in the optical axis direction. A zoom tracking unit that controls zoom tracking that causes the focus adjustment unit to move the focus adjustment lens according to the movement of the zoom lens, and the focus adjustment lens to detect a focus state of the optical system. A control unit that prohibits zoom tracking, a second focus detection unit that detects a focus state of the optical system using a phase difference, and a shutter release button. When a push operation is performed, based on the focus detection result by the first focus detection unit or the second focus detection unit, the focus adjustment unit drives the focus adjustment lens to a focus position, and then A first mode setting unit that sets a first mode for prohibiting driving of the focus adjustment lens based on a focus detection result while the shutter release button is half-pressed, and the control unit includes the first mode setting unit. When the first mode is set and the focus adjustment unit drives the focus adjustment lens to the in-focus position based on the focus detection result by the first focus detection unit or the second focus detection unit. After the focusing driving operation is performed, zoom tracking is permitted when the driving of the focusing lens based on the focus detection result is prohibited.

本発明の撮像装置によれば、光学系の焦点調節を適切に行なうことができる。   According to the imaging apparatus of the present invention, it is possible to appropriately adjust the focus of the optical system.

図1は、本実施形態に係るカメラを示すブロック図である。FIG. 1 is a block diagram showing a camera according to the present embodiment. 図2は、図1に示す撮像素子の撮像面を示す正面図である。FIG. 2 is a front view showing an 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 diagram showing a zoom tracking table showing the relationship between the zoom lens position and the focus lens position. 図10は、AF−Fモードが選択されている場合における動作を示すフローチャートである。FIG. 10 is a flowchart showing the operation when the AF-F mode is selected. 図11は、AF−Fモードが選択されている場合における、フォーカスレンズ位置と焦点評価値との関係、およびフォーカスレンズ位置と時間との関係を示す図である。FIG. 11 is a diagram illustrating the relationship between the focus lens position and the focus evaluation value and the relationship between the focus lens position and time when the AF-F mode is selected. 図12は、AF−Fモードが選択されている場合における、フォーカスレンズ位置と時間との関係を示す図である。FIG. 12 is a diagram illustrating the relationship between the focus lens position and time when the AF-F mode is selected. 図13は、AF−SモードまたはAF−Aモードが選択されている場合における動作を示すフローチャートである。FIG. 13 is a flowchart showing an operation when the AF-S mode or the AF-A mode is selected. 図14は、AF−Sモードが選択されている場合における、フォーカスレンズ位置と焦点評価値との関係、およびフォーカスレンズ位置と時間との関係を示す図である。FIG. 14 is a diagram illustrating the relationship between the focus lens position and the focus evaluation value and the relationship between the focus lens position and time when the AF-S mode is selected. 図15は、AF−Sモードが選択されている場合における、フォーカスレンズ位置と時間との関係を示す図である。FIG. 15 is a diagram illustrating the relationship between the focus lens position and time when the AF-S mode is selected.

以下、本発明の実施形態を図面に基づいて説明する。   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、および絞り35を含む撮影光学系が内蔵されている。   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 photographing optical system including lenses 31, 32, 33, 34 and a diaphragm 35.

レンズ33は、フォーカスレンズであり、光軸L1方向に移動することで、撮影光学系の焦点距離を調節可能となっている。フォーカスレンズ33は、レンズ鏡筒3の光軸L1に沿って移動可能に設けられ、フォーカスレンズ用エンコーダ332によってその位置が検出されつつフォーカスレンズ駆動モータ331によってその位置が調節される。   The lens 33 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 33 is movably provided along the optical axis L 1 of the lens barrel 3, and its position is adjusted by the focus lens driving motor 331 while its position is detected by the focus lens encoder 332.

このフォーカスレンズ33の光軸L1に沿う移動機構の具体的構成は特に限定されない。一例を挙げれば、レンズ鏡筒3に固定された固定筒に回転可能に回転筒を挿入し、この回転筒の内周面にヘリコイド溝(螺旋溝)を形成するとともに、フォーカスレンズ33を固定するレンズ枠の端部をヘリコイド溝に嵌合させる。そして、フォーカスレンズ駆動モータ331によって回転筒を回転させることで、レンズ枠に固定されたフォーカスレンズ33が光軸L1に沿って直進移動することになる。   The specific configuration of the moving mechanism along the optical axis L1 of the focus lens 33 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 33 is fixed. The end of the lens frame is fitted into the helicoid groove. Then, by rotating the rotating cylinder by the focus lens driving motor 331, the focus lens 33 fixed to the lens frame moves straight along the optical axis L1.

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

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

本実施形態のフォーカスレンズ用エンコーダ332としては、回転筒の回転駆動に連結された回転円板の回転をフォトインタラプタなどの光センサで検出して、回転数に応じたパルス信号を出力するものや、固定筒と回転筒の何れか一方に設けられたフレキシブルプリント配線板の表面のエンコーダパターンに、何れか他方に設けられたブラシ接点を接触させ、回転筒の移動量(回転方向でも光軸方向の何れでもよい)に応じた接触位置の変化を検出回路で検出するものなどを用いることができる。   As the focus lens encoder 332 of this embodiment, the rotation of a rotating disk connected to the rotational drive of a rotating cylinder is detected by an optical sensor such as a photo interrupter, and a pulse signal corresponding to the number of rotations is output. The brush contact provided on either one of the encoder pattern on the surface of the flexible printed wiring board provided on one of the fixed cylinder and the rotating cylinder is brought into contact with the moving amount of the rotating cylinder (in the optical axis direction even in the rotation direction). Any of which can detect a change in the contact position according to the detection circuit by a detection circuit can be used.

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

また、レンズ32は、ズームレンズであり、光軸L1方向に移動することで、撮影光学系の撮影倍率を調節可能となっている。ズームレンズ32も、上述したフォーカスレンズ33と同様に、ズームレンズ用エンコーダ322によってその位置が検出されつつズームレンズ駆動モータ321によってその位置が調節される。ズームレンズ32の位置は、操作部28に設けられたズームボタンを操作することにより、あるいは、カメラ鏡筒3に設けられたズーム環(不図示)を操作することにより、調節される。なお、ズームレンズ32の光軸L1に沿う移動機構は、上述したフォーカスレンズ31の移動機構と同様とすることができる。また、ズームレンズ用エンコーダ322およびズームレンズ駆動モータ321の構成も、上述したフォーカスレンズ用エンコーダ332およびフォーカスレンズ駆動モータ331と同様とすることができる。   The lens 32 is a zoom lens, and can move in the optical axis L1 direction to adjust the shooting magnification of the shooting optical system. Similarly to the focus lens 33 described above, the position of the zoom lens 32 is adjusted by the zoom lens driving motor 321 while the position thereof is detected by the zoom lens encoder 322. The position of the zoom lens 32 is adjusted by operating a zoom button provided on the operation unit 28 or operating a zoom ring (not shown) provided on the camera barrel 3. The moving mechanism along the optical axis L1 of the zoom lens 32 can be the same as the moving mechanism of the focus lens 31 described above. The configurations of the zoom lens encoder 322 and the zoom lens drive motor 321 can also be the same as those of the focus lens encoder 332 and the focus lens drive motor 331 described above.

絞り35は、上記撮影光学系を通過して撮像素子22に至る光束の光量を制限するとともにボケ量を調整するために、光軸L1を中心にした開口径が調節可能に構成されている。絞り35による開口径の調節は、たとえば自動露出モードにおいて演算された適切な開口径が、カメラ制御部21からレンズ制御部36を介して送出されることにより行われる。また、カメラ本体2に設けられた操作部28によるマニュアル操作により、設定された開口径がカメラ制御部21からレンズ制御部36に入力される。絞り35の開口径は図示しない絞り開口センサにより検出され、レンズ制御部36で現在の開口径が認識される。   The diaphragm 35 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 adjust the amount of blur. The adjustment of the aperture diameter by the diaphragm 35 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 36. Further, the set aperture diameter is input from the camera control unit 21 to the lens control unit 36 by a manual operation by the operation unit 28 provided in the camera body 2. The aperture diameter of the aperture 35 is detected by an aperture sensor (not shown), and the lens controller 36 recognizes the current aperture diameter.

また、レンズ制御部36は、ズームレンズ用エンコーダ322によって検出されるズームレンズ32の位置を検出し、ズームレンズ32が駆動した場合には、ズームレンズ32の移動量に応じて、フォーカスレンズ33を駆動させて、フォーカスを微調整するズームトラッキング制御を行う。   The lens control unit 36 detects the position of the zoom lens 32 detected by the zoom lens encoder 322. When the zoom lens 32 is driven, the lens control unit 36 moves the focus lens 33 according to the amount of movement of the zoom lens 32. It is driven to perform zoom tracking control for fine adjustment of focus.

一方、カメラ本体2には、上記撮影光学系からの光束L1を受光する撮像素子22が、撮影光学系の予定焦点面に設けられ、その前面にシャッター23が設けられている。撮像素子22はCCDやCMOSなどのデバイスから構成され、受光した光信号を電気信号に変換してカメラ制御部21に送出する。カメラ制御部21に送出された撮影画像情報は、逐次、液晶駆動回路25に送出されて観察光学系の電子ビューファインダ(EVF)26に表示されるとともに、操作部28に備えられたレリーズボタン(不図示)が全押しされた場合には、その撮影画像情報が、記録媒体であるカメラメモリ24に記録される。なお、カメラメモリ24は着脱可能なカード型メモリや内蔵型メモリの何れをも用いることができる。撮像素子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 camera memory 24 which is a recording medium. The camera memory 24 can be either a removable card type memory or a built-in memory. Details of the structure of the image sensor 22 will be described later.

カメラ本体2には、撮像素子22で撮像される像を観察するための観察光学系が設けられている。本実施形態の観察光学系は、液晶表示素子からなる電子ビューファインダ(EVF)26と、これを駆動する液晶駆動回路25と、接眼レンズ27とを備えている。液晶駆動回路25は、撮像素子22で撮像され、カメラ制御部21へ送出された撮影画像情報を読み込み、これに基づいて電子ビューファインダ26を駆動する。これにより、ユーザは、接眼レンズ27を通して現在の撮影画像を観察することができる。なお、光軸L2による上記観察光学系に代えて、または、これに加えて、液晶ディスプレイをカメラ本体2の背面等に設け、この液晶ディスプレイに撮影画像を表示させることもできる。   The camera body 2 is provided with an observation optical system for observing an image picked up by the image pickup device 22. The observation optical system of the present embodiment includes an electronic viewfinder (EVF) 26 composed of a liquid crystal display element, a liquid crystal driving circuit 25 that drives the electronic viewfinder (EVF) 26, and an eyepiece lens 27. The liquid crystal drive circuit 25 reads the captured image information captured by the image sensor 22 and sent to the camera control unit 21, and drives the electronic viewfinder 26 based on the read image information. Thereby, the user can observe the current captured image through the eyepiece lens 27. Note that, instead of or in addition to the observation optical system using the optical axis L2, a liquid crystal display may be provided on the back surface of the camera body 2, and a photographed image may be displayed on the liquid crystal display.

カメラ本体2にはカメラ制御部21が設けられている。カメラ制御部21は、マウント部4に設けられた電気信号接点部41によりレンズ制御部36と電気的に接続され、このレンズ制御部36からレンズ情報を受信するとともに、レンズ制御部36へデフォーカス量や絞り開口径などの情報を送信する。また、カメラ制御部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 36 through an electrical signal contact unit 41 provided on the mount unit 4, receives lens information from the lens control unit 36, and defocuses to the lens control unit 36. 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. Are output to the liquid crystal drive circuit 25 and the camera 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の各種動作モードを設定するための入力スイッチであり、オートフォーカスモード/マニュアルフォーカスモードの切換や、オードフォーカスモードの中でも、AF−Sモード/AF−Aモード/AF−Fモードの切換が行えるようになっている。この操作部28により設定された各種モードはカメラ制御部21へ送出され、当該カメラ制御部21によりカメラ1全体の動作が制御される。また、シャッターレリーズボタンは、ボタンの半押しでONとなる第1スイッチSW1と、ボタンの全押しでONとなる第2スイッチSW2とを含む。   The operation unit 28 is an input switch for a photographer to set various operation modes of the camera 1, such as a shutter release button and a moving image shooting start button, and switches between an autofocus mode / manual focus mode and an autofocus mode. In particular, the AF-S mode / AF-A mode / AF-F mode can be switched. 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.

ここで、AF−Sモードとは、シャッターレリーズボタンの半押しがされた後、焦点検出結果に基づき、フォーカスレンズ33を駆動することで合焦駆動を行ない、一度調節したフォーカスレンズ33の位置を固定し、そのフォーカスレンズ位置で撮影するモードである。なお、AF−Sモードは、静止画撮影に適したモードであり、通常、静止画撮影を行なう際に選択される。また、AF−Aモードとは、シャッターレリーズボタンの半押しがされた後、焦点検出結果に基づき、フォーカスレンズ33を駆動することで合焦駆動を行ない、その後、シャッターレリーズボタンの半押し操作が継続されている間は、焦点状態の検出を繰り返し行い、焦点状態が変化した場合には、フォーカスレンズ33のスキャン駆動を行なうモードである。なお、AF−Aモードは、静止画撮影に適したモードであり、通常、静止画撮影を行なう際に選択される。さらに、AF−Fモードとは、シャッターレリーズボタンの操作の有無に関係なく、焦点検出結果に基づきフォーカスレンズ33を駆動することで合焦駆動を行ない、その後、焦点状態の検出を繰り返し行い、焦点状態が変化した場合には、フォーカスレンズ33のスキャン駆動を行なうモードである。なお、AF−Fモードは、動画撮影に適したモードであり、通常、動画撮影を行なう際に選択される。   Here, the AF-S mode means that after the shutter release button is half-pressed, the focus lens 33 is driven based on the focus detection result to perform focusing driving, and the position of the focus lens 33 adjusted once is set. This is a mode in which the subject is fixed and photographed at the focus lens position. The AF-S mode is a mode suitable for still image shooting, and is normally selected when still image shooting is performed. In the AF-A mode, after the shutter release button is half-pressed, the focus lens 33 is driven based on the focus detection result to drive the focus, and then the shutter release button is half-pressed. In this mode, the focus state is repeatedly detected while the focus state changes, and the focus lens 33 is scanned when the focus state changes. The AF-A mode is a mode suitable for still image shooting, and is normally selected when still image shooting is performed. Further, in the AF-F mode, regardless of whether or not the shutter release button is operated, the focus lens 33 is driven based on the focus detection result to perform the focus drive, and thereafter the focus state is repeatedly detected, and the focus is detected. When the state changes, this is a mode in which the focus lens 33 is scan-driven. The AF-F mode is a mode suitable for moving image shooting, and is usually selected when moving image shooting is performed.

また、本実施形態においては、オードフォーカスモードを切換えるためのスイッチとして、ワンショットモード/コンティニュアスモードを切換えるためのスイッチを備えているような構成としてもよい。そして、この場合においては、撮影者によりワンショットモードが選択された場合には、AF−Sモードに設定され、また、撮影者によりコンティニュアスモードが選択された場合には、撮影モードが静止画撮影モードであるときには、AF−Aモードに設定され、撮影モードが動画撮影モードであるときには、AF−Fモードに設定されるような構成とすることができる。   In the present embodiment, the switch for switching the autofocus mode may be provided with a switch for switching the one-shot mode / continuous mode. In this case, when the one-shot mode is selected by the photographer, the AF-S mode is set, and when the continuous mode is selected by the photographer, the photographing mode is stationary. When the image shooting mode is set, the AF-A mode is set. When the shooting mode is the moving image shooting mode, the AF-F mode is set.

次に、本実施形態に係る撮像素子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の撮像面には、上述した撮像画素221に代えて焦点検出画素222a,222bが配列された焦点検出画素列22a〜22eが設けられている。図3に示すように、一つの焦点検出画素列は、複数の焦点検出画素222aおよび222bが、互いに隣接して交互に、横一列に配列されて構成されている。本実施形態においては、焦点検出画素222aおよび222bは、ベイヤー配列された撮像画素221の緑画素Gと青画素Bとの位置にギャップを設けることなく密に配列されている。   In addition, on the imaging surface of the imaging element 22, focus detection pixel rows 22 a to 22 e in which focus detection pixels 222 a and 222 b are arranged instead of the above-described imaging pixel 221 are provided. As shown in FIG. 3, one focus detection pixel column is configured by a plurality of focus detection pixels 222 a and 222 b being alternately arranged adjacent to each other in a horizontal row. 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〜22eの位置は図示する位置にのみ限定されず、何れか一箇所、二箇所、三箇所、あるいは四箇所とすることもでき、また、六箇所以上の位置に配置することもできる。また、図3においては、16個の焦点検出画素222a,222bにより、焦点検出画素列を構成する例を示しているが、焦点検出画素列を構成する焦点検出画素の数は、この例に限定されるものではない。   Note that the positions of the focus detection pixel rows 22a to 22e shown in FIG. 2 are not limited to the illustrated positions, and may be any one, two, three, or four locations, and more than six locations. It can also be arranged at the position. FIG. 3 shows an example in which the focus detection pixel array is configured by 16 focus detection pixels 222a and 222b, but the number of focus detection pixels configuring the focus detection pixel array is limited to this example. Is not to be done.

図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〜22eを構成する。   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 22e 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が、射出瞳350の測距瞳351,352から照射される光束AB1−1,AB2−1,AB1−2,AB2−2をそれぞれ受光していることを示している。なお、図8においては、複数の焦点検出画素222a,222bのうち、撮影光軸L1近傍に位置するもののみを例示して示したが、図8に示す焦点検出画素以外のその他の焦点検出画素についても、同様に、一対の測距瞳351,352から照射される光束をそれぞれ受光するように構成されている。   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 and adjacent to each other are It shows that light beams AB1-1, AB2-1, AB1-2, and AB2-2 irradiated from the distance measuring pupils 351 and 352 of the exit pupil 350 are received. 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 351 and 352 are respectively received.

ここで、射出瞳350とは、撮影光学系の予定焦点面に配置された焦点検出画素222a,222bのマイクロレンズ2221a,2221bの前方の距離Dの位置に設定された像である。距離Dは、マイクロレンズの曲率、屈折率、マイクロレンズと光電変換部との距離などに応じて一義的に決まる値であって、この距離Dを測距瞳距離と称する。また、測距瞳351,352とは、焦点検出画素222a,222bのマイクロレンズ2221a,2221bにより、それぞれ投影された光電変換部2222a,2222bの像をいう。   Here, the exit pupil 350 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 351 and 352 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の配列方向は一対の測距瞳351,352の並び方向と一致している。   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 351, 352.

また、図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だけ離れた射出瞳350上に投影され、その投影形状は測距瞳351,352を形成する。   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 the micro lenses 2221a-1, 2221b-1, 2221a-2, 2221b-2. Projected onto the exit pupil 350 that is separated from the lenses 2221 a-1, 2221 b-1, 2221 a-2, and 2221 b-2 by a distance measurement distance D, and the projection shape forms distance measurement pupils 351 and 352.

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

図8に示すように、焦点検出画素222a−1の光電変換部2222a−1は、測距瞳351を通過し、マイクロレンズ2221a−1に向う光束AB1−1によりマイクロレンズ2221a−1上に形成される像の強度に対応した信号を出力する。同様に、焦点検出画素222a−2の光電変換部2222a−2は測距瞳351を通過し、マイクロレンズ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 351 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 351, 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は測距瞳352を通過し、マイクロレンズ2221b−1に向う光束AB2−1によりマイクロレンズ2221b−1上に形成される像の強度に対応した信号を出力する。同様に、焦点検出画素222b−2の光電変換部2222b−2は測距瞳352を通過し、マイクロレンズ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 352, 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 352, 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の出力を、測距瞳351と測距瞳352とのそれぞれに対応した出力グループにまとめることにより、測距瞳351と測距瞳352とのそれぞれを通過する焦点検出光束が焦点検出画素列上に形成する一対の像の強度分布に関するデータが得られる。そして、この強度分布データに対し、相関演算処理または位相差検出処理などの像ズレ検出演算処理を施すことにより、いわゆる位相差検出方式による像ズレ量を検出することができる。   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 used as the distance measurement pupil 351. Of the pair of images formed on the focus detection pixel array by the focus detection light fluxes passing through each of the distance measurement pupil 351 and the distance measurement pupil 352. 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 in the detection area), 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は、レンズ制御部36に制御信号を送出してフォーカスレンズ33を所定のサンプリング間隔(距離)で駆動させ、それぞれの位置における焦点評価値を求め、該焦点評価値が最大となるフォーカスレンズ33の位置を合焦位置として求める、コントラスト検出方式による焦点検出を実行する。なお、この合焦位置は、たとえば、フォーカスレンズ33を駆動させながら焦点評価値を算出した場合に、焦点評価値が、2回上昇した後、さらに、2回下降して推移した場合に、これらの焦点評価値を用いて、内挿法などの演算を行うことで求めることができる。   Then, the camera control unit 21 sends a control signal to the lens control unit 36 to drive the focus lens 33 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 33 is determined as the in-focus position. Note that this in-focus position is obtained when, for example, the focus evaluation value is calculated while the focus lens 33 is driven, and 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.

ここで、図2には、撮影画面内の第1領域と第2領域とを、撮像素子22に対応させて表示している(なお、図2に示す一点鎖線で囲まれた領域が、第1領域であり、この第1領域の周囲に位置する外側の領域が第2領域である)。撮影画面内の第1領域は、撮像素子22のうちの焦点検出画素列22a〜22eを含む領域に対応しており、これにより、光学系の焦点状態を、位相差検出方式およびコントラスト検出方式により検出することが可能な領域である。また、撮影画面内の第2領域は、図2に示すように、撮影画面内の第1領域の周囲に位置し、撮像素子22のうちの焦点検出画素列22a〜22eを含まない領域であり、光学系の焦点状態を、コントラスト検出方式のみにより検出することが可能な領域である。そのため、本実施形態においては、カメラ制御部21は、図2に示すように、焦点検出を行うための焦点検出エリアAFPが、撮影画面内の第1領域に存在する場合には、位相差検出方式およびコントラスト検出方式により焦点状態の検出を行うことができ、一方、焦点検出エリアAFPが、撮影画面の第2領域に存在する場合には、コントラスト検出方式により焦点状態の検出を行うことができる。   Here, in FIG. 2, the first area and the second area in the shooting screen are displayed in correspondence with the image sensor 22 (note that the area surrounded by the one-dot chain line shown in FIG. 1 area, and the outer area located around the first area is the second area). The first area in the imaging screen corresponds to an area including the focus detection pixel rows 22a to 22e in the image sensor 22, and thereby the focus state of the optical system is determined by the phase difference detection method and the contrast detection method. This is an area that can be detected. Further, as shown in FIG. 2, the second area in the shooting screen is an area that is located around the first area in the shooting screen and does not include the focus detection pixel rows 22 a to 22 e in the image sensor 22. This is an area where the focus state of the optical system can be detected only by the contrast detection method. Therefore, in the present embodiment, as shown in FIG. 2, the camera control unit 21 detects the phase difference when the focus detection area AFP for performing focus detection exists in the first region in the shooting screen. The focus state can be detected by the method and the contrast detection method. On the other hand, when the focus detection area AFP exists in the second region of the shooting screen, the focus state can be detected by the contrast detection method. .

さらに、カメラ制御部21は、レンズ制御部36に、ズームトラッキング制御を禁止するためのズームトラッキング禁止信号、およびズームトラッキング制御を許可するためのズームトラッキング許可信号を送出することで、レンズ制御部36により実行されるズームトラッキング制御の許可/禁止を制御する。すなわち、レンズ制御部36は、ズームトラッキング許可信号を受信した際においては、ズームレンズ用エンコーダ322によって検出されるズームレンズ32の位置を検出し、ズームレンズ32が駆動した場合に、ズームレンズ32の移動量に応じて、フォーカスレンズ33を駆動させて、フォーカスを微調整するズームトラッキング制御を行う。具体的には、レンズ制御部36は、ズームレンズ32の駆動を検出した場合に、撮影距離ごとの、ズームレンズ32の位置とフォーカスレンズ33の位置との関係を示すズームトラッキング用のテーブルを用いて、ズームレンズ32の移動量に応じたフォーカスレンズ33の駆動量を算出する。そして、算出したフォーカスレンズ33の駆動量を、フォーカスレンズ駆動モータ331に送ることで、フォーカスレンズ33を駆動させることにより、フォーカスを微調整するズームトラッキング制御が行われる。   Furthermore, the camera control unit 21 sends the zoom control prohibiting signal for prohibiting the zoom tracking control and the zoom tracking permission signal for permitting the zoom tracking control to the lens control unit 36, so that the lens control unit 36. Control of permission / prohibition of zoom tracking control executed by. In other words, the lens control unit 36 detects the position of the zoom lens 32 detected by the zoom lens encoder 322 when receiving the zoom tracking permission signal, and when the zoom lens 32 is driven, Depending on the amount of movement, the focus lens 33 is driven to perform zoom tracking control for finely adjusting the focus. Specifically, when detecting the driving of the zoom lens 32, the lens control unit 36 uses a zoom tracking table indicating the relationship between the position of the zoom lens 32 and the position of the focus lens 33 for each shooting distance. Thus, the drive amount of the focus lens 33 corresponding to the movement amount of the zoom lens 32 is calculated. Then, by sending the calculated drive amount of the focus lens 33 to the focus lens drive motor 331, the focus lens 33 is driven to perform zoom tracking control for finely adjusting the focus.

一方、レンズ制御部36は、ズームトラッキング禁止信号を受信した際においては、ズームレンズ用エンコーダ322によってズームレンズ32の駆動を検出した場合でも、このようなズームトラッキング制御を実行せず、その後、ズームトラッキング許可信号を受信した場合に、ズームトラッキング制御を行う。   On the other hand, when the lens control unit 36 receives the zoom tracking prohibition signal, even if the zoom lens encoder 322 detects the driving of the zoom lens 32, the lens control unit 36 does not execute such zoom tracking control. Zoom tracking control is performed when a tracking permission signal is received.

次いで、本実施形態に係るカメラ1の動作例を説明する。まず、本実施形態では、動画撮影に適したモードであるAF−Fモードが選択されている場合における動作例を説明する。図10は、AF−Fモードが選択されている場合における動作を示すフローチャートである。なお、AF−Fモードは、通常、動画撮影を行なう際に選択されるモードであるため、以下においては、動画撮影時においてAF−Fモード選択されている場面を特に例示して説明する。また、以下の動作は、たとえば、カメラ1の電源がオンされ、動画撮影開始ボタンがオンされることにより開始される。   Next, an operation example of the camera 1 according to the present embodiment will be described. First, in the present embodiment, an operation example when the AF-F mode, which is a mode suitable for moving image shooting, is selected will be described. FIG. 10 is a flowchart showing the operation when the AF-F mode is selected. Note that since the AF-F mode is a mode that is usually selected when shooting a moving image, the following description will be given specifically illustrating a scene in which the AF-F mode is selected at the time of moving image shooting. The following operations are started when, for example, the camera 1 is turned on and the moving image shooting start button is turned on.

まず、ステップS101では、カメラ制御部21により、ズームトラッキングを許可する処理が行なわれる。具体的には、ズームトラッキング許可信号が、カメラ制御部21からレンズ制御部36に送信され、これにより、レンズ制御部36によるズームトラッキング制御が許可とされる。そして、ズームトラッキング制御が許可とされることにより、レンズ制御部36により、ズームレンズ32の駆動が検出された場合に、ズームトラッキング制御が行われることとなる。すなわち、ズームレンズ32の駆動が検出された場合には、レンズ制御部36は、ズームレンズ32の移動量に応じたフォーカスレンズ33の駆動量を、図9に示すズームトラッキング用のテーブルに基づいて算出し、算出した駆動量を、フォーカスレンズ駆動モータ331に送出することで、フォーカスレンズ33を駆動させ、これによりフォーカスの微調整が行なわれることとなる。   First, in step S101, the camera control unit 21 performs processing for permitting zoom tracking. Specifically, a zoom tracking permission signal is transmitted from the camera control unit 21 to the lens control unit 36, whereby the zoom tracking control by the lens control unit 36 is permitted. When the zoom tracking control is permitted, the zoom tracking control is performed when the lens control unit 36 detects the driving of the zoom lens 32. That is, when the driving of the zoom lens 32 is detected, the lens control unit 36 determines the driving amount of the focus lens 33 according to the moving amount of the zoom lens 32 based on the zoom tracking table shown in FIG. By calculating and sending the calculated drive amount to the focus lens drive motor 331, the focus lens 33 is driven, and fine adjustment of the focus is thereby performed.

次いで、ステップS102では、カメラ制御部21により、位相差検出方式によるデフォーカス量の算出処理が開始される。本実施形態では、位相差検出方式によるデフォーカス量の算出処理は、次のように行なわれる。すなわち、まず、カメラ制御部21により、撮像素子22の5つの焦点検出画素列22a〜22eを構成する各焦点検出画素222a,222bから一対の像に対応した一対の像データの読み出しが行なわれる。そして、カメラ制御部21は、読み出された一対の像データに基づいて像ズレ検出演算処理(相関演算処理)を実行し、5つの焦点検出画素列22a〜22eに対応する焦点検出位置における像ズレ量を演算し、さらに像ズレ量をデフォーカス量に変換する。また、カメラ制御部21は、算出したデフォーカス量の信頼性の評価を行う。なお、デフォーカス量の信頼性の評価は、たとえば、一対の像データの一致度やコントラストなどに基づいて行なわれる。そして、このような位相差検出方式によるデフォーカス量の算出処理は、所定の間隔で繰り返し実行される。   Next, in step S102, the camera control unit 21 starts defocus amount calculation processing by the phase difference detection method. In the present embodiment, the calculation process of the defocus amount by the phase difference detection method is performed as follows. That is, first, the camera control unit 21 reads a pair of image data corresponding to a pair of images from the focus detection pixels 222a and 222b constituting the five focus detection pixel rows 22a to 22e of the image sensor 22. Then, the camera control unit 21 executes 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 five focus detection pixel rows 22a to 22e. The shift amount is calculated, and the image shift amount is converted into a defocus amount. Further, the camera control unit 21 evaluates the reliability of the calculated defocus amount. Note that the reliability of the defocus amount is evaluated based on, for example, the degree of coincidence and contrast of a pair of image data. The defocus amount calculation process using such a phase difference detection method is repeatedly executed at predetermined intervals.

ステップS103では、カメラ制御部21により、焦点評価値の算出処理が開始される。本実施形態では、焦点評価値の算出処理は、撮像素子22の撮像画素221の画素出力を読み出し、読み出した画素出力の高周波成分を、高周波透過フィルタを用いて抽出し、これを積算して焦点電圧を検出することにより行われる。なお、焦点評価値の算出処理は、所定の間隔で繰り返し実行される。   In step S103, the camera control unit 21 starts a focus evaluation value calculation process. In the present embodiment, the focus evaluation value calculation process reads out the pixel output of the imaging pixel 221 of the imaging device 22, extracts a high-frequency component of the read-out pixel output using a high-frequency transmission filter, integrates it, and focuses on it. This is done by detecting the voltage. The focus evaluation value calculation process is repeatedly executed at predetermined intervals.

次いで、ステップS104では、カメラ制御部21により、被写体を追尾するための追尾演算処理が開始される。本実施形態では、まず、使用者の手動操作により、あるいは、カメラ制御部21による被写体認識処理により指定された追尾対象となる特定被写体に対応するテンプレート画像の生成が行なわれる。そして、生成されたテンプレート画像との一致度が所定以上であるエリアの探索を行い、一致度が所定以上であるエリアを逐次抽出し、抽出したエリアを、焦点検出エリアAFP(たとえば、図2参照)として設定することにより行われる。なお、追尾演算処理は、所定の間隔で繰り返し実行される。   In step S104, the camera control unit 21 starts tracking calculation processing for tracking the subject. In the present embodiment, first, a template image corresponding to a specific subject to be tracked designated by a user's manual operation or by subject recognition processing by the camera control unit 21 is generated. Then, an area where the degree of coincidence with the generated template image is equal to or greater than a predetermined value is searched, areas where the degree of coincidence is equal to or greater than a predetermined value are sequentially extracted, and the extracted area is designated as a focus detection area AFP (see, for example, FIG. 2). ). The tracking calculation process is repeatedly executed at a predetermined interval.

ステップS105では、カメラ制御部21により、位相差検出方式により、追尾演算処理に基づいて設定された焦点検出エリアAFPにおける、デフォーカス量の算出ができたか否かの判定が行なわれる。デフォーカス量が算出できた場合には、測距可能と判断して、ステップS111に進む。一方、デフォーカス量が算出できなかった場合には、測距不能と判断して、ステップS106に進む。なお、本実施形態においては、追尾演算処理に基づいて設定された焦点検出エリアAFPにおける、デフォーカス量の算出ができた場合でも、算出されたデフォーカス量の信頼性が低い場合にも、デフォーカス量の算出ができなかったものとして扱い、ステップS106に進むこととする。本実施形態においては、たとえば、被写体のコントラストが低い場合、被写体が超低輝度被写体である場合、あるいは被写体が超高輝度被写体である場合などにおいて、デフォーカス量の信頼性が低いと判断される。また、追尾演算処理に基づいて設定された焦点検出エリアAFPが、図2に示す第1領域内に位置する場合には、位相差検出方式による光学系の焦点状態の検出が可能である一方で、焦点検出エリアAFPが、図2に示す第2領域内に位置する場合には、位相差検出方式による光学系の焦点状態の検出ができないため、この場合には、デフォーカス量が算出できなかったものとして、ステップS106に進む。   In step S105, the camera control unit 21 determines whether or not the defocus amount has been calculated in the focus detection area AFP set based on the tracking calculation process by the phase difference detection method. If the defocus amount can be calculated, it is determined that distance measurement is possible, and the process proceeds to step S111. On the other hand, if the defocus amount cannot be calculated, it is determined that distance measurement is impossible, and the process proceeds to step S106. In the present embodiment, even when the defocus amount can be calculated in the focus detection area AFP set based on the tracking calculation process, the defocus amount is not reliable even when the calculated defocus amount is low. It is assumed that the focus amount cannot be calculated, and the process proceeds to step S106. In the present embodiment, for example, when the subject has a low contrast, the subject is an ultra-low brightness subject, or the subject is an ultra-high brightness subject, it is determined that the reliability of the defocus amount is low. . In addition, when the focus detection area AFP set based on the tracking calculation process is located in the first region shown in FIG. 2, it is possible to detect the focus state of the optical system by the phase difference detection method. When the focus detection area AFP is located in the second region shown in FIG. 2, the focus state of the optical system cannot be detected by the phase difference detection method. In this case, the defocus amount cannot be calculated. As a result, the process proceeds to step S106.

なお、ステップS105においては、直近の一回のデフォーカス量算出処理の結果を用いて、上記判定を行なうが、直近の所定回数のデフォーカス量算出処理において、連続して、デフォーカス量が算出できなかった場合、あるいは、連続して、デフォーカス量の信頼性が低かった場合に、測距不能と判断して、ステップS106に進み、逆に、直近の所定回数のデフォーカス量算出処理において、一度でもデフォーカス量が算出された場合には、測距可能と判断して、ステップS111に進むような構成としてもよい。   In step S105, the above determination is performed using the result of the most recent defocus amount calculation process. However, the defocus amount is continuously calculated in the most recent predetermined number of defocus amount calculation processes. If not, or continuously, if the reliability of the defocus amount is low, it is determined that ranging is impossible, and the process proceeds to step S106. Conversely, in the defocus amount calculation process of the most recent predetermined number of times. If the defocus amount is calculated even once, it may be determined that distance measurement is possible and the process proceeds to step S111.

ステップS105において、焦点検出エリアAFPにおける、デフォーカス量が算出できたと判定され、測距可能と判断された場合には、ステップS111に進み、位相差検出方式により算出されたデフォーカス量に基づく合焦駆動(ステップS112)を行なうために、ズームトラッキング禁止信号が、カメラ制御部21からレンズ制御部36に送信され、これにより、レンズ制御部36によるズームトラッキング制御が禁止される。すなわち、本実施形態では、位相差検出方式により算出されたデフォーカス量に基づく合焦駆動中においては、ズームトラッキングを禁止し、ズームレンズ32の駆動が検出された場合でも、ズームトラッキング制御、すなわち、ズームレンズ32の移動量に応じたフォーカスレンズ33を駆動する動作が実行されないこととなる。   If it is determined in step S105 that the defocus amount in the focus detection area AFP has been calculated and it is determined that the distance can be measured, the process proceeds to step S111, and a result based on the defocus amount calculated by the phase difference detection method is obtained. In order to perform the focus drive (step S112), a zoom tracking prohibition signal is transmitted from the camera control unit 21 to the lens control unit 36, thereby prohibiting the zoom tracking control by the lens control unit 36. In other words, in the present embodiment, zoom tracking is prohibited during focus driving based on the defocus amount calculated by the phase difference detection method, and even when the driving of the zoom lens 32 is detected, Accordingly, the operation of driving the focus lens 33 according to the movement amount of the zoom lens 32 is not executed.

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

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

そして、フォーカスレンズ33が合焦位置まで駆動すると、ステップS115に進み、位相差検出方式により算出されたデフォーカス量に基づく合焦駆動が終了したため、カメラ制御部21により、ズームトラッキングの禁止を解除するために、ズームトラッキング許可信号がレンズ制御部36に送信され、これにより、レンズ制御部36によるズームトラッキング制御が許可とされる。なお、この場合において、ズームトラッキングの禁止中に、ズームレンズ32の駆動が行われた場合には、ズームトラッキング制御が許可とされた後、ズームトラッキングの禁止中におけるズームレンズ32の駆動量に応じて、フォーカスレンズ33の駆動が行なわれる。   When the focus lens 33 is driven to the in-focus position, the process proceeds to step S115, and since the focus drive based on the defocus amount calculated by the phase difference detection method is completed, the prohibition of zoom tracking is canceled by the camera control unit 21. For this purpose, a zoom tracking permission signal is transmitted to the lens control unit 36, whereby the zoom tracking control by the lens control unit 36 is permitted. In this case, if the zoom lens 32 is driven while zoom tracking is prohibited, the zoom tracking control is permitted, and then the zoom lens 32 is driven according to the drive amount of the zoom lens 32 when zoom tracking is prohibited. Thus, the focus lens 33 is driven.

次いで、ステップS116では、光学系の焦点状態が変化したか否かの判断が行なわれる。たとえば、カメラ制御部21によって繰り返し算出されている位相差検出方式によるデフォーカス量が所定値以上変化した場合や、デフォーカス量が算出できなかった場合、あるいは、同じくカメラ制御部21によって繰り返し算出されている焦点評価値が所定値以上変化した場合に、光学系の焦点状態が変化したと判断することができる。光学系の焦点状態が変化したと判断された場合には、ステップS105に戻り、再度、フォーカスレンズ33を合焦位置まで駆動させるための動作が行なわれる。一方、光学系の焦点状態が変化していない場合には、所定の終了動作、たとえば、カメラ1の電源オフ動作や動画撮影の終了動作が行なわれるか(ステップS117)、あるいは、光学系の焦点状態が変化するまで(ステップS116)、フォーカスレンズ33を現在のレンズ位置に停止させたまま待機する。   Next, in step S116, it is determined whether or not the focus state of the optical system has changed. For example, when the defocus amount by the phase difference detection method repeatedly calculated by the camera control unit 21 changes by a predetermined value or more, or when the defocus amount cannot be calculated, or is also repeatedly calculated by the camera control unit 21. When the focus evaluation value is changed by a predetermined value or more, it can be determined that the focus state of the optical system has changed. If it is determined that the focus state of the optical system has changed, the process returns to step S105, and the operation for driving the focus lens 33 to the in-focus position is performed again. On the other hand, if the focus state of the optical system has not changed, a predetermined end operation, for example, a power-off operation of the camera 1 or a video shooting end operation is performed (step S117), or the focus of the optical system Until the state is changed (step S116), the focus lens 33 is stopped at the current lens position and waits.

一方、ステップS105において、位相差検出方式により、焦点検出エリアAFPにおける、デフォーカス量の算出ができなかったと判定された場合には、ステップS106に進み、カメラ制御部21により、スキャン動作(ステップS107〜S110)を行なうために、ズームトラッキング禁止信号が、カメラ制御部21からレンズ制御部36に送信され、これにより、レンズ制御部36によるズームトラッキング制御が禁止される。すなわち、本実施形態では、スキャン動作中においては、ズームトラッキングを禁止し、ズームレンズ32の駆動が検出された場合でも、ズームトラッキング制御、すなわち、ズームレンズ32の移動量に応じたフォーカスレンズ33を駆動する動作が実行されないこととなる。   On the other hand, if it is determined in step S105 that the defocus amount cannot be calculated in the focus detection area AFP by the phase difference detection method, the process proceeds to step S106, and the camera control unit 21 performs a scan operation (step S107). ˜S110), a zoom tracking prohibition signal is transmitted from the camera control unit 21 to the lens control unit 36, whereby zoom tracking control by the lens control unit 36 is prohibited. That is, in the present embodiment, during the scanning operation, zoom tracking is prohibited, and even when the driving of the zoom lens 32 is detected, zoom tracking control, that is, the focus lens 33 corresponding to the amount of movement of the zoom lens 32 is set. The driving operation is not executed.

ステップS106に続くステップS107では、カメラ制御部21により、スキャン動作の開始処理が行なわれる。本実施形態のスキャン動作は、フォーカスレンズ駆動モータ36により、フォーカスレンズ33をスキャン駆動させながら、カメラ制御部21により、位相差検出方式によるデフォーカス量の算出、および焦点評価値の算出を、所定の間隔で同時に行い、これにより、位相差検出方式による合焦位置の検出と、コントラスト検出方式による合焦位置の検出とを、所定の間隔で、同時に実行する動作である。   In step S107 following step S106, the camera control unit 21 performs a scan operation start process. In the scan operation of this embodiment, the focus lens drive motor 36 scans the focus lens 33 while the camera control unit 21 calculates the defocus amount and the focus evaluation value by the phase difference detection method. 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.

具体的には、カメラ制御部21は、レンズ制御部36にスキャン駆動開始指令を送出し、レンズ制御部36は、カメラ制御部21からの指令に基づき、フォーカスレンズ駆動モータ36を駆動させ、フォーカスレンズ33を光軸L1に沿ってスキャン駆動させる。なお、フォーカスレンズ33のスキャン駆動は、無限遠端位置から至近端位置に向かって、あるいは、至近端位置から無限遠端位置に向かって行なう。   Specifically, the camera control unit 21 sends a scan drive start command to the lens control unit 36, and the lens control unit 36 drives the focus lens drive motor 36 based on the command from the camera control unit 21 to focus. The lens 33 is scan-driven along the optical axis L1. Note that the scan driving of the focus lens 33 is performed from the infinity end position toward the close end position, or from the close end position toward the infinity end position.

そして、カメラ制御部21は、フォーカスレンズ33を駆動させながら、所定間隔で、撮像素子22の焦点検出画素222a,222bから一対の像に対応した一対の像データの読み出しを行い、これに基づき、位相差検出方式により、デフォーカス量の算出および算出されたデフォーカス量の信頼性の評価を行うとともに、フォーカスレンズ33を駆動させながら、所定間隔で、撮像素子22の撮像画素221から画素出力の読み出しを行い、これに基づき、焦点評価値を算出し、これにより、異なるフォーカスレンズ位置における焦点評価値を取得することで、コントラスト検出方式により合焦位置の検出を行う。なお、本実施形態においては、追尾演算処理に基づいて設定された焦点検出エリアAFPが、図2に示す第1領域内に位置する場合には、位相差検出方式による光学系の焦点状態の検出が可能である一方で、焦点検出エリアAFPが、図2に示す第2領域内に位置する場合には、位相差検出方式による光学系の焦点状態の検出ができない。そのため、焦点検出エリアAFPが、図2に示す第2領域内に位置する場合には、本実施形態のスキャン動作においては、位相差検出方式による合焦位置の検出を行わずに、コントラスト検出方式による合焦位置の検出のみを行うこととする。   Then, while driving the focus lens 33, 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 33 to drive the pixel output from the imaging pixel 221 of the imaging element 22 at predetermined intervals. 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. In the present embodiment, when the focus detection area AFP set based on the tracking calculation process is located in the first region shown in FIG. 2, the focus state of the optical system is detected by the phase difference detection method. On the other hand, when the focus detection area AFP is located in the second region shown in FIG. 2, the focus state of the optical system cannot be detected by the phase difference detection method. Therefore, when the focus detection area AFP is located in the second region shown in FIG. 2, the contrast detection method is not performed in the scan operation of the present embodiment without detecting the focus position by the phase difference detection method. Only the in-focus position is detected.

ステップS108では、カメラ制御部21により、スキャン動作を行なった結果、位相差検出方式により、焦点検出エリアAFPにおける、デフォーカス量が算出できたか否かの判定が行なわれる。デフォーカス量が算出できた場合には、測距可能と判断して、ステップS112に進み、一方、デフォーカス量が算出できなかった場合には、測距不能と判断して、ステップS109に進む。なお、ステップS108においては、上述したステップS105と同様に、デフォーカス量の算出ができた場合でも、算出されたデフォーカス量の信頼性が低い場合には、デフォーカス量の算出ができなかったものとして扱い、ステップS109に進むこととする。なお、焦点検出エリアAFPが、図2に示す第2領域内に位置する場合には、位相差検出方式による光学系の焦点状態の検出ができないため、この場合には、デフォーカス量の算出ができなかったものとして、ステップS109に進むこととする。   In step S108, it is determined whether the defocus amount in the focus detection area AFP can be 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 S112. 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 S109. . In step S108, as in step S105 described above, even when the defocus amount can be calculated, the defocus amount cannot be calculated if the reliability of the calculated defocus amount is low. It is assumed that the process proceeds to step S109. When the focus detection area AFP is located in the second region shown in FIG. 2, the focus state of the optical system cannot be detected by the phase difference detection method. In this case, the defocus amount is calculated. Assuming that it was not possible, the process proceeds to step S109.

ステップS109では、カメラ制御部21により、スキャン動作を行なった結果、コントラスト検出方式により、焦点検出エリアAFPにおける、合焦位置の検出ができたか否かの判定が行なわれる。コントラスト検出方式により、焦点検出エリアAFPにおける、合焦位置の検出ができた場合には、ステップS113に進み、一方、合焦位置の検出ができなかった場合には、ステップS110に進む。   In step S109, it is determined whether or not the in-focus position in the focus detection area AFP 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 in the focus detection area AFP can be detected by the contrast detection method, the process proceeds to step S113. If the in-focus position cannot be detected, the process proceeds to step S110.

ステップS110では、カメラ制御部21により、スキャン動作を、フォーカスレンズ33の駆動可能範囲の全域、すなわち、無限遠端位置から至近端位置の間の全域について行なったか否かの判定が行なわれる。フォーカスレンズ33の駆動可能範囲の全域について、スキャン動作を行なっていない場合には、ステップS108に戻り、ステップS108〜S110を繰り返すことにより、スキャン動作、すなわち、フォーカスレンズ33を駆動させながら、位相差検出方式によるデフォーカス量の算出、およびコントラスト検出方式による合焦位置の検出を、所定の間隔で同時に実行する動作を継続して行なう。一方、フォーカスレンズ33の駆動可能範囲の全域について、スキャン動作の実行を完了している場合には、ステップS114に進む。   In step S <b> 110, the camera control unit 21 determines whether or not the scan operation has been performed for the entire range in which the focus lens 33 can be driven, that is, for the entire region between the infinity end position and the closest end position. When the scan operation is not performed for the entire driveable range of the focus lens 33, the process returns to step S108, and steps S108 to S110 are repeated, so that the phase difference is detected while driving the focus lens 33. The operation of simultaneously executing the calculation of the defocus amount by the 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 33, the process proceeds to step S114.

そして、スキャン動作を実行した結果、ステップS108において、位相差検出方式により、デフォーカス量が算出できたと判定された場合には、スキャン動作を停止し、ステップS112に進み、上記と同様にして、位相差検出方式により算出されたデフォーカス量に基づく合焦駆動が行なわれる。なお、この場合においても、ステップS106において、ズームトラッキングを禁止する処理が行なわれているため、位相差検出方式により算出されたデフォーカス量に基づく合焦駆動中においては、ズームトラッキングは禁止され、ズームレンズ32の駆動が検出された場合でも、ズームトラッキング制御、すなわち、ズームレンズ32の移動量に応じたフォーカスレンズ33を駆動する動作が実行されないこととなる。そして、フォーカスレンズ33の合焦位置への駆動が完了すると、ステップS115に進み、位相差検出方式により算出されたデフォーカス量に基づく合焦駆動が終了したため、カメラ制御部21により、ズームトラッキングの禁止を解除するために、ズームトラッキング許可信号がレンズ制御部36に送信され、これにより、レンズ制御部36によるズームトラッキング制御が許可とされる。   As a result of executing the scanning operation, when it is determined in step S108 that the defocus amount can be calculated by the phase difference detection method, the scanning operation is stopped, and the process proceeds to step S112. Focusing driving based on the defocus amount calculated by the phase difference detection method is performed. Even in this case, zoom tracking is prohibited during the focus driving based on the defocus amount calculated by the phase difference detection method because the zoom tracking is prohibited in step S106. Even when the driving of the zoom lens 32 is detected, the zoom tracking control, that is, the operation of driving the focus lens 33 according to the movement amount of the zoom lens 32 is not executed. When the drive of the focus lens 33 to the in-focus position is completed, the process proceeds to step S115, and the focus control based on the defocus amount calculated by the phase difference detection method is completed. Therefore, the camera control unit 21 performs zoom tracking. In order to cancel the prohibition, a zoom tracking permission signal is transmitted to the lens control unit 36, whereby the zoom tracking control by the lens control unit 36 is permitted.

また、スキャン動作を実行した結果、ステップS109において、コントラスト検出方式により、合焦位置が検出できたと判定された場合には、スキャン動作を停止し、ステップS113に進み、コントラスト検出方式により検出された合焦位置に基づく合焦駆動が行なわれる。すなわち、ステップS113では、コントラスト検出方式により検出された合焦位置に基づいて、フォーカスレンズ33を、合焦位置まで駆動させる合焦駆動処理が行なわれる。なお、この場合においても、ステップS106において、ズームトラッキングを禁止する処理が行なわれているため、コントラスト検出方式により検出された合焦位置に基づく合焦駆動中においては、ズームトラッキングは禁止され、ズームレンズ32の駆動が検出された場合でも、ズームトラッキング制御、すなわち、ズームレンズ32の移動量に応じたフォーカスレンズ33を駆動する動作が実行されないこととなる。   As a result of executing the scanning operation, when it is determined in step S109 that the in-focus position has been detected by the contrast detection method, the scanning operation is stopped, and the process proceeds to step S113, where the detection is performed by the contrast detection method. Focusing driving based on the focusing position is performed. That is, in step S113, a focus drive process for driving the focus lens 33 to the focus position is performed based on the focus position detected by the contrast detection method. In this case as well, zoom tracking is prohibited in step S106, so zoom tracking is prohibited during focus drive based on the focus position detected by the contrast detection method, and zoom Even when the driving of the lens 32 is detected, zoom tracking control, that is, the operation of driving the focus lens 33 according to the movement amount of the zoom lens 32 is not executed.

ここで、図11に、スキャン動作の結果、コントラスト検出方式により合焦位置が検出された場合における、フォーカスレンズ位置と焦点評価値との関係、およびフォーカスレンズ位置と時間との関係を表す図を示す。なお、図11においては、フォーカスレンズ33の位置に対する、焦点評価値の変化を実線で示している。図11に示すように、スキャン動作開始時(時間t0〜t1)には、フォーカスレンズ33は、図11に示すP0に位置しており、P0から、無限遠側から至近側に向けてフォーカスレンズ33を駆動させながら、焦点評価値の取得を行う(時間t1〜t2)。そして、フォーカスレンズ33を、図11に示すP1の位置に移動させた時点において、焦点評価値のピーク位置(合焦位置)が検出されると(ステップS109=Yes)、スキャン動作を停止し、フォーカスレンズ33を合焦位置(図11中、P2の位置)まで駆動するための合焦駆動(ステップS113)が行なわれる(時間t2〜t3)。   FIG. 11 is a diagram illustrating the relationship between the focus lens position and the focus evaluation value and the relationship between the focus lens position and time when the in-focus position is detected by the contrast detection method as a result of the scanning operation. Show. In FIG. 11, the change in the focus evaluation value with respect to the position of the focus lens 33 is indicated by a solid line. As shown in FIG. 11, at the start of the scanning operation (time t0 to t1), the focus lens 33 is located at P0 shown in FIG. 11, and the focus lens from P0 toward the near side from the infinity side. The focus evaluation value is acquired while driving 33 (time t1 to t2). When the focus lens 33 is moved to the position P1 shown in FIG. 11 and the peak position (focus position) of the focus evaluation value is detected (step S109 = Yes), the scanning operation is stopped. Focus drive (step S113) for driving the focus lens 33 to the focus position (position P2 in FIG. 11) is performed (time t2 to t3).

なお、本実施形態においては、ステップS109において、コントラスト検出方式により、合焦位置が検出できたと判定され、コントラスト検出方式による検出結果に基づいて、フォーカスレンズ33を合焦位置への駆動を行なう際には、フォーカスレンズ33の合焦位置への駆動が完了するまでは、位相差検出方式による焦点検出結果に基づく、フォーカスレンズ33の駆動を禁止する。すなわち、コントラスト検出方式により、合焦位置が検出できたと判定された後においては、位相差検出方式によりデフォーカス量が算出できた場合でも、位相差検出方式の結果に基づいたフォーカスレンズ33の駆動を禁止する。これにより、フォーカスレンズ33のハンチング現象を抑制することができる。   In this embodiment, when it is determined in step S109 that the in-focus position has been detected by the contrast detection method, the focus lens 33 is driven to the in-focus position based on the detection result by the contrast detection method. In other words, until the drive of the focus lens 33 to the in-focus position is completed, the drive of the focus lens 33 based on the focus detection result by the phase difference detection method is prohibited. That is, after it is determined that the in-focus position can be detected by the contrast detection method, even when the defocus amount can be calculated by the phase difference detection method, the focus lens 33 is driven based on the result of the phase difference detection method. Is prohibited. Thereby, the hunting phenomenon of the focus lens 33 can be suppressed.

また、本実施形態のスキャン動作においては、上述したステップS108〜S110を繰り返し実行することで、フォーカスレンズ33をスキャン駆動させながら、位相差検出方式によるデフォーカス量の算出、およびコントラスト検出方式による合焦位置の検出を所定の間隔で同時に実行する。そして、上述したステップS108〜S110を繰り返し実行した結果、位相差検出方式およびコントラスト検出方式のうち、先にデフォーカス量の算出、または合焦位置の検出ができた検出方式による、焦点検出結果を用いて、フォーカスレンズ33を、合焦位置まで駆動させる処理を行なう。また、上述したように、本実施形態のスキャン動作においては、位相差検出方式によりデフォーカス量が算出できたか否かを判断した(ステップS108)後に、コントラスト検出方式により合焦位置の検出ができたか否かの判断を行う(ステップS109)ことで、位相差検出方式とコントラスト検出方式とで同時期にデフォーカス量の算出および合焦位置の検出ができた場合に、位相差検出方式による焦点検出結果を、コントラスト検出方式による焦点検出結果よりも優先して、採用するものである。   Further, in the scanning operation of the present embodiment, the above-described steps S108 to S110 are repeatedly executed, and while the focus lens 33 is driven to scan, the calculation of the defocus amount by the phase difference detection method and the comparison by the contrast detection method. The detection of the focal position is simultaneously performed at a predetermined interval. As a result of repeatedly executing steps S108 to S110 described above, the focus detection result by the detection method in which the defocus amount is calculated or the in-focus position can be detected first among the phase difference detection method and the contrast detection method. The focus lens 33 is driven 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 S108), 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.

そして、フォーカスレンズ33の合焦位置への駆動が完了すると、ステップS115に進み、コントラスト検出方式により検出された合焦位置に基づく合焦駆動が終了したため、カメラ制御部21により、ズームトラッキングの禁止を解除するために、ズームトラッキング許可信号がレンズ制御部36に送信され、これにより、レンズ制御部36によるズームトラッキング制御が許可とされ、ステップS116に進む。そして、ステップS116において、光学系の焦点状態が変化したか否かの判断が行なわれ、光学系の焦点状態が変化したと判断された場合には、ステップS105に戻り、再度、フォーカスレンズ33を合焦位置まで駆動させるための動作が行なわれる。一方、光学系の焦点状態が変化していない場合には、所定の終了動作、たとえば、カメラ1の電源オフ動作や動画撮影の終了動作が行なわれるか(ステップS117)、あるいは、光学系の焦点状態が変化するまで(ステップS116)、フォーカスレンズ33を現在のレンズ位置に停止させたまま待機する。   When the driving of the focus lens 33 to the in-focus position is completed, the process proceeds to step S115, and since the in-focus driving based on the in-focus position detected by the contrast detection method is completed, the camera control unit 21 prohibits zoom tracking. In order to cancel the zoom tracking permission signal, a zoom tracking permission signal is transmitted to the lens control unit 36, whereby the zoom tracking control by the lens control unit 36 is permitted, and the process proceeds to step S116. In step S116, it is determined whether or not the focus state of the optical system has changed. If it is determined that the focus state of the optical system has changed, the process returns to step S105, and the focus lens 33 is moved again. An operation for driving to the in-focus position is performed. On the other hand, if the focus state of the optical system has not changed, a predetermined end operation, for example, a power-off operation of the camera 1 or a video shooting end operation is performed (step S117), or the focus of the optical system Until the state is changed (step S116), the focus lens 33 is stopped at the current lens position and waits.

一方、ステップS110において、フォーカスレンズ33の駆動可能範囲の全域について、スキャン動作の実行が完了していると判定された場合には、ステップS114に進む。ステップS114では、スキャン動作を行なった結果、位相差検出方式およびコントラスト検出方式のいずれの方式によっても、焦点検出を行うことができなかったため、スキャン動作を終了し、フォーカスレンズ33を予め定められた所定位置まで駆動させる処理が行なわれる。   On the other hand, if it is determined in step S110 that the scan operation has been completed for the entire driveable range of the focus lens 33, the process proceeds to step S114. In step S114, 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 the scanning operation was terminated and the focus lens 33 was determined in advance. A process of driving to a predetermined position is performed.

そして、フォーカスレンズ33が予め定められた所定位置まで駆動すると、ステップS115に進み、スキャン動作が終了したため、カメラ制御部21により、カメラ制御部21により、ズームトラッキングの禁止を解除するために、ズームトラッキング許可信号がレンズ制御部36に送信され、これにより、レンズ制御部36によるズームトラッキング制御が許可とされ、ステップS116に進む。そして、ステップS116において、光学系の焦点状態が変化したか否かの判断が行なわれ、光学系の焦点状態が変化したと判断された場合には、ステップS105に戻り、再度、フォーカスレンズ33を合焦位置まで駆動させるための動作が行なわれる。一方、光学系の焦点状態が変化していない場合には、所定の終了動作、たとえば、カメラ1の電源オフ動作や動画撮影の終了動作が行なわれるか(ステップS117)、あるいは、光学系の焦点状態が変化するまで(ステップS116)、フォーカスレンズ33を現在のレンズ位置に停止させたまま待機する。   When the focus lens 33 is driven to a predetermined position, the process proceeds to step S115, and the scanning operation is completed. Therefore, the camera control unit 21 causes the camera control unit 21 to cancel the zoom tracking prohibition. A tracking permission signal is transmitted to the lens control unit 36, whereby the zoom tracking control by the lens control unit 36 is permitted, and the process proceeds to step S116. In step S116, it is determined whether or not the focus state of the optical system has changed. If it is determined that the focus state of the optical system has changed, the process returns to step S105, and the focus lens 33 is moved again. An operation for driving to the in-focus position is performed. On the other hand, if the focus state of the optical system has not changed, a predetermined end operation, for example, a power-off operation of the camera 1 or a video shooting end operation is performed (step S117), or the focus of the optical system Until the state is changed (step S116), the focus lens 33 is stopped at the current lens position and waits.

本実施形態においては、動画撮影に適したモードであるAF−Fモードが選択されている場合には、以上のように動作する。   In the present embodiment, the operation is performed as described above when the AF-F mode, which is a mode suitable for moving image shooting, is selected.

すなわち、本実施形態においては、AF−Fモードに設定されている場合においては、図11に示すように、フォーカスレンズ33が停止している場合(時間t0〜t1)には、ズームトラッキングが許可とされ(ステップS101)、位相差検出方式によりデフォーカス量が算出されないと判断されると(ステップS105=No)、ズームトラッキングが禁止され(ステップS106)、ズームトラッキングが禁止とされた状態で、スキャン動作(ステップS107〜S110)が実行される(時間t1〜t2)。そして、コントラスト検出方式により合焦位置(P2の位置)の検出ができた場合(ステップS109=Yes)には、ズームトラッキングが禁止とされた状態のまま合焦駆動が行なわれる(時間t2〜t3)。次いで、合焦駆動が行なわれると、ズームトラッキングが許可とされ(ステップS115)、カメラ1の電源オフ動作や動画撮影の終了動作が行なわれるか(ステップS117)、あるいは、光学系の焦点状態が変化するまで(ステップS116)、フォーカスレンズ33を現在のレンズ位置に停止させたまま待機する(時間t3〜t4)。そして、この際においては、ズームレンズ32の駆動が検出されると、レンズ制御部36により、ズームトラッキング制御、すなわち、ズームレンズ32の移動量に応じたフォーカスレンズ33を駆動する動作が実行されることとなる。   That is, in the present embodiment, when the AF-F mode is set, zoom tracking is permitted when the focus lens 33 is stopped (time t0 to t1) as shown in FIG. When it is determined that the defocus amount is not calculated by the phase difference detection method (step S105 = No), zoom tracking is prohibited (step S106), and zoom tracking is prohibited. A scanning operation (steps S107 to S110) is executed (time t1 to t2). When the in-focus position (position P2) can be detected by the contrast detection method (step S109 = Yes), in-focus driving is performed with zoom tracking prohibited (time t2 to t3). ). Next, when in-focus driving is performed, zoom tracking is permitted (step S115), whether the power-off operation of the camera 1 or the end of moving image shooting is performed (step S117), or the focus state of the optical system is changed. Until the change (step S116), the focus lens 33 is stopped at the current lens position and waits (time t3 to t4). In this case, when driving of the zoom lens 32 is detected, the lens control unit 36 performs zoom tracking control, that is, an operation of driving the focus lens 33 according to the movement amount of the zoom lens 32. It will be.

そして、フォーカスレンズ33を現在のレンズ位置に停止させたまま待機している際に、たとえば、図11に示すように、合焦位置がP2からP3に変化した場合には(ステップS116)、再度、位相差検出方式によりデフォーカス量が算出されたか否かの判断が行なわれる(ステップS105)。その結果、位相差検出方式によりデフォーカス量が算出されないと判断されると(ステップS105=No)、ズームトラッキングが禁止され(ステップS106)、ズームトラッキングが禁止とされた状態で、再度、スキャン動作(ステップS107〜S110)が実行される(時間t4〜t5)。そして、同様に、コントラスト検出方式により合焦位置(P3の位置)の検出ができた場合(ステップS109=Yes)には、ズームトラッキングが禁止とされた状態のまま合焦駆動が行なわれる(時間t5〜t6)。次いで、合焦駆動が行なわれると、ズームトラッキングが許可とされ(ステップS115)、カメラ1の電源オフ動作や動画撮影の終了動作が行なわれるか(ステップS117)、あるいは、光学系の焦点状態が変化するまで(ステップS116)、フォーカスレンズ33を現在のレンズ位置に停止させたまま待機することとなる(時間t6〜t7)。   When the focus lens 33 is in a standby state while being stopped at the current lens position, for example, as shown in FIG. 11, when the in-focus position changes from P2 to P3 (step S116), again. Then, it is determined whether or not the defocus amount is calculated by the phase difference detection method (step S105). As a result, when it is determined that the defocus amount is not calculated by the phase difference detection method (step S105 = No), zoom tracking is prohibited (step S106), and the scan operation is performed again in a state where zoom tracking is prohibited. (Steps S107 to S110) are executed (time t4 to t5). Similarly, when the in-focus position (position P3) can be detected by the contrast detection method (step S109 = Yes), in-focus driving is performed with zoom tracking prohibited (time). t5 to t6). Next, when in-focus driving is performed, zoom tracking is permitted (step S115), whether the power-off operation of the camera 1 or the end of moving image shooting is performed (step S117), or the focus state of the optical system is changed. Until the change is made (step S116), the focus lens 33 is stopped at the current lens position and waits (time t6 to t7).

また、本実施形態においては、AF−Fモードに設定されている場合においては、図12に示すように、フォーカスレンズ33が停止している場合(時間t10〜t11)には、ズームトラッキングが許可とされ(ステップS101)、位相差検出方式によりデフォーカス量が算出されたと判断されると(ステップS105=Yes)、ズームトラッキングが禁止され(ステップS111)、ズームトラッキングが禁止とされた状態で、位相差検出方式により検出されたデフォーカス量に基づく合焦駆動(ステップS112)が実行される(時間t11〜t12)。次いで、合焦駆動の結果、フォーカスレンズ33が合焦位置(P11の位置)まで駆動されると、ズームトラッキングが許可とされ(ステップS115)、カメラ1の電源オフ動作や動画撮影の終了動作が行なわれるか(ステップS117)、あるいは、光学系の焦点状態が変化するまで(ステップS116)、フォーカスレンズ33を現在のレンズ位置に停止させたまま待機する(時間t12〜t13)。そして、この際においては、ズームレンズ32の駆動が検出されると、レンズ制御部36により、ズームトラッキング制御、すなわち、ズームレンズ32の移動量に応じたフォーカスレンズ33を駆動する動作が実行されることとなる。   In the present embodiment, when the AF-F mode is set, zoom tracking is permitted when the focus lens 33 is stopped (time t10 to t11) as shown in FIG. When it is determined that the defocus amount has been calculated by the phase difference detection method (step S105 = Yes), zoom tracking is prohibited (step S111), and zoom tracking is prohibited. Focus drive (step S112) based on the defocus amount detected by the phase difference detection method is executed (time t11 to t12). Next, when the focus lens 33 is driven to the in-focus position (position P11) as a result of the focus drive, zoom tracking is permitted (step S115), and the power-off operation of the camera 1 and the end operation of moving image shooting are performed. The focus lens 33 is stopped at the current lens position (time t12 to t13) until it is performed (step S117) or until the focus state of the optical system changes (step S116). In this case, when driving of the zoom lens 32 is detected, the lens control unit 36 performs zoom tracking control, that is, an operation of driving the focus lens 33 according to the movement amount of the zoom lens 32. It will be.

そして、フォーカスレンズ33を現在のレンズ位置に停止させたまま待機している際に、たとえば、図12に示すように、合焦位置がP11からP12に変化した場合には(ステップS116)、再度、位相差検出方式によりデフォーカス量が算出されたか否かの判断が行なわれる(ステップS105)。その結果、位相差検出方式によりデフォーカス量が算出されたと判断されると(ステップS105=Yes)、ズームトラッキングが禁止され(ステップS111)、ズームトラッキングが禁止とされた状態で、再度、位相差検出方式により検出されたデフォーカス量に基づく合焦駆動(ステップS112)が実行される(時間t13〜t14)。次いで、合焦駆動が行なわれると、ズームトラッキングが許可とされ(ステップS115)、カメラ1の電源オフ動作や動画撮影の終了動作が行なわれるか(ステップS117)、あるいは、光学系の焦点状態が変化するまで(ステップS116)、フォーカスレンズ33を現在のレンズ位置に停止させたまま待機することとなる(時間t14〜t15)。   When the focus lens 33 is stopped at the current lens position and is on standby, for example, as shown in FIG. 12, when the focus position is changed from P11 to P12 (step S116), again. Then, it is determined whether or not the defocus amount is calculated by the phase difference detection method (step S105). As a result, if it is determined that the defocus amount has been calculated by the phase difference detection method (step S105 = Yes), zoom tracking is prohibited (step S111), and the phase difference is again performed in a state where zoom tracking is prohibited. Focus drive (step S112) based on the defocus amount detected by the detection method is executed (time t13 to t14). Next, when in-focus driving is performed, zoom tracking is permitted (step S115), whether the power-off operation of the camera 1 or the end of moving image shooting is performed (step S117), or the focus state of the optical system is changed. Until the change is made (step S116), the focus lens 33 is stopped at the current lens position and waits (time t14 to t15).

次いで、静止画撮影に適したモードであるAF−SモードまたはAF−Aモードが選択されている場合における動作例を説明する。図13は、AF−SモードまたはAF−Aモードが選択されている場合における動作を示すフローチャートである。また、以下の動作は、たとえば、カメラ1の電源がオンされることにより開始される。   Next, an operation example when the AF-S mode or AF-A mode, which is a mode suitable for still image shooting, is selected will be described. FIG. 13 is a flowchart showing an operation when the AF-S mode or the AF-A mode is selected. Further, the following operation is started, for example, when the camera 1 is turned on.

まず、ステップS201〜S203では、上述した図10のステップS101〜S104と同様にして、ズームトラッキングを許可する処理(ステップS201)、位相差検出方式によるデフォーカス量の算出処理(ステップS202)、焦点評価値の算出処理(ステップS203)、および被写体を追尾するための追尾演算処理(ステップS204)を開始させるための処理が行なわれる。   First, in steps S201 to S203, zoom tracking is permitted (step S201), defocus amount calculation processing using a phase difference detection method (step S202), and focus as in steps S101 to S104 of FIG. Processing for starting evaluation value calculation processing (step S203) and tracking calculation processing (step S204) for tracking the subject is performed.

そして、ステップS205に進み、ステップS205では、カメラ制御部21により、操作部28に備えられたシャッターレリーズボタンの半押し(第1スイッチSW1のオン)がされたか否かの判断が行なわれる。第1スイッチSW1がオンした場合はステップS206に進む。一方、第1スイッチSW1がオンしていない場合は、第1スイッチSW1がオンされるまで、ステップS205を繰り返す。すなわち、第1スイッチSW1がオンされるまで、位相差検出方式によるデフォーカス量の算出処理、焦点評価値の算出処理、および追尾演算処理が繰り返し実行される。   In step S205, the camera control unit 21 determines whether the shutter release button provided in the operation unit 28 is half-pressed (the first switch SW1 is turned on). If the first switch SW1 is turned on, the process proceeds to step S206. On the other hand, if the first switch SW1 is not turned on, step S205 is repeated until the first switch SW1 is turned on. That is, the defocus amount calculation process, the focus evaluation value calculation process, and the tracking calculation process by the phase difference detection method are repeatedly executed until the first switch SW1 is turned on.

ステップS206では、上述した図10のステップ105と同様に、位相差検出方式により、追尾演算処理に基づいて設定された焦点検出エリアAFPにおける、デフォーカス量の算出ができたか否かの判定が行なわれる。デフォーカス量が算出できた場合には、測距可能と判断して、ステップS212に進む。一方、デフォーカス量が算出できなかった場合には、測距不能と判断して、ステップS207に進む。   In step S206, as in step 105 of FIG. 10 described above, it is determined whether or not the defocus amount has been calculated in the focus detection area AFP set based on the tracking calculation process by the phase difference detection method. It is. If the defocus amount can be calculated, it is determined that distance measurement is possible, and the process proceeds to step S212. On the other hand, if the defocus amount cannot be calculated, it is determined that distance measurement is impossible, and the process proceeds to step S207.

ステップS206において、焦点検出エリアAFPにおける、デフォーカス量が算出できたと判定され、測距可能と判断された場合には、ステップS212に進み、上述した図10のステップS111と同様にして、ズームトラッキングを禁止する処理が行なわれ、ステップS213に進み、上述した図10のステップS112と同様にして、位相差検出方式により算出されたデフォーカス量に基づく合焦駆動が行なわれる。   If it is determined in step S206 that the defocus amount in the focus detection area AFP has been calculated and it is determined that distance measurement is possible, the process proceeds to step S212, and zoom tracking is performed in the same manner as in step S111 in FIG. The process proceeds to step S213, and focusing drive based on the defocus amount calculated by the phase difference detection method is performed in the same manner as step S112 in FIG. 10 described above.

一方、ステップS206において、位相差検出方式により、焦点検出エリアAFPにおける、デフォーカス量の算出ができなかったと判定された場合には、ステップS207に進み、上述した図10のステップS106と同様にして、ズームトラッキングを禁止する処理が行なわれ、ステップS208に進み、上述した図10のステップS107〜S110と同様にして、スキャン動作の開始処理が行なわれ、ステップS209〜S211において、スキャン動作が実行される。   On the other hand, if it is determined in step S206 that the defocus amount cannot be calculated in the focus detection area AFP by the phase difference detection method, the process proceeds to step S207, and the same as step S106 in FIG. 10 described above. Then, a process for prohibiting zoom tracking is performed, and the process proceeds to step S208, where a scan operation start process is performed in the same manner as steps S107 to S110 in FIG. 10 described above. The

そして、スキャン動作を行なった結果、位相差検出方式により、焦点検出エリアAFPにおける、デフォーカス量の算出ができた場合(ステップS209=Yes)には、ステップS213に進み、位相差検出方式により算出されたデフォーカス量に基づく合焦駆動が行なわれる。また、スキャン動作を行なった結果、コントラスト検出方式により、焦点検出エリアAFPにおける、合焦位置が検出できた場合(ステップS210=Yes)には、ステップS214に進み、上述した図10のステップS113と同様にして、コントラスト検出方式により検出された合焦位置に基づく合焦駆動が行なわれる。なお、この場合においても、ステップS106において、ズームトラッキングを禁止する処理が行なわれているため、位相差検出方式により算出されたデフォーカス量に基づく合焦駆動中(ステップS213)、コントラスト検出方式により検出された合焦位置に基づく合焦駆動中(ステップS214)のいずれの場合においても、ズームトラッキングは禁止され、ズームレンズ32の駆動が検出された場合でも、ズームトラッキング制御、すなわち、ズームレンズ32の移動量に応じたフォーカスレンズ33を駆動する動作が実行されないこととなる。   If the defocus amount in the focus detection area AFP can be calculated by the phase difference detection method as a result of the scanning operation (step S209 = Yes), the process proceeds to step S213 and is calculated by the phase difference detection method. Focusing driving based on the defocus amount is performed. As a result of the scanning operation, when the in-focus position in the focus detection area AFP can be detected by the contrast detection method (step S210 = Yes), the process proceeds to step S214, and the above-described step S113 in FIG. Similarly, focusing driving based on the focusing position detected by the contrast detection method is performed. Even in this case, since processing for prohibiting zoom tracking is performed in step S106, focusing is being performed based on the defocus amount calculated by the phase difference detection method (step S213), and the contrast detection method is used. In any case of in-focus driving based on the detected in-focus position (step S214), zoom tracking is prohibited, and even when driving of the zoom lens 32 is detected, zoom tracking control, that is, the zoom lens 32 is detected. The operation of driving the focus lens 33 according to the amount of movement is not executed.

一方、ステップS211において、フォーカスレンズ33の駆動可能範囲の全域について、スキャン動作の実行が完了していると判定された場合には、ステップS215に進む。ステップS215では、スキャン動作を行なった結果、位相差検出方式およびコントラスト検出方式のいずれの方式によっても、焦点検出を行うことができなかったため、スキャン動作を終了し、フォーカスレンズ33を予め定められた所定位置まで駆動させる処理が行なわれる。   On the other hand, if it is determined in step S211 that the scan operation has been completed for the entire driveable range of the focus lens 33, the process proceeds to step S215. In step S215, as a result of the scanning operation, focus detection could not be performed by either the phase difference detection method or the contrast detection method, so the scanning operation was terminated and the focus lens 33 was determined in advance. A process of driving to a predetermined position is performed.

そして、ステップS213において、位相差検出方式により算出されたデフォーカス量に基づいてフォーカスレンズ33を合焦位置に駆動させた後、ステップS214において、コントラスト検出方式により検出された合焦位置に基づいてフォーカスレンズ33を合焦位置に駆動させた後、あるいは、ステップS215において、フォーカスレンズ33を予め定められた所定位置まで駆動させる処理が行なわれた後には、ステップS216に進み、カメラ制御部21により、ズームトラッキングの禁止を解除するために、ズームトラッキング許可信号がレンズ制御部36に送信され、これにより、レンズ制御部36によるズームトラッキング制御が許可とされ、ステップS217に進む。   In step S213, the focus lens 33 is driven to the in-focus position based on the defocus amount calculated by the phase difference detection method, and in step S214, based on the in-focus position detected by the contrast detection method. After the focus lens 33 is driven to the in-focus position, or after the process of driving the focus lens 33 to a predetermined position in step S215 is performed, the process proceeds to step S216, and the camera control unit 21 In order to cancel the prohibition of zoom tracking, a zoom tracking permission signal is transmitted to the lens control unit 36, whereby the zoom tracking control by the lens control unit 36 is permitted, and the process proceeds to step S217.

そして、ステップS217では、オートフォーカスモードがAF−Sモードに設定されているか否かの判定が行なわれる。AF−Sモードに設定されている場合には、ステップS218に進み、AF−Sモードではなく、AF−Aモードに設定されている場合には、ステップS220に進む。   In step S217, it is determined whether or not the autofocus mode is set to the AF-S mode. If the AF-S mode is set, the process proceeds to step S218. If the AF-A mode is set instead of the AF-S mode, the process proceeds to step S220.

AF−Sモードに設定されている場合には、ステップS218に進み、ステップS218では、フォーカスレンズ33を現在のレンズ位置に固定する合焦ロックが行なわれる。そして、ステップS219にて、操作部28に備えられたシャッターレリーズボタンの全押し(第2スイッチSW2のオン)がされたか否かの判断が行なわれ、第2スイッチSW2がオンされると、ステップS222に進み、被写体像の撮影が行なわれる。一方、第2スイッチSW2がオンされない場合には、フォーカスレンズ33を現在のレンズ位置に固定したまま、第2スイッチSW2がオンされるまで、待機する。   If the AF-S mode is set, the process proceeds to step S218, and in step S218, focus lock for fixing the focus lens 33 at the current lens position is performed. Then, in step S219, it is determined whether or not the shutter release button provided in the operation unit 28 has been fully pressed (second switch SW2 is turned on). If the second switch SW2 is turned on, step S219 is performed. Proceeding to S222, a subject image is shot. On the other hand, when the second switch SW2 is not turned on, the focus lens 33 is fixed at the current lens position, and the process waits until the second switch SW2 is turned on.

一方、AF−Aモードに設定されている場合には、ステップS220に進み、光学系の焦点状態が変化したか否かの判断が行なわれる。たとえば、カメラ制御部21によって繰り返し算出されている位相差検出方式によるデフォーカス量が所定値以上変化した場合や、デフォーカス量が算出できなかった場合、あるいは、同じくカメラ制御部21によって繰り返し算出されている焦点評価値が所定値以上変化した場合に、光学系の焦点状態が変化したと判断することができる。光学系の焦点状態が変化したと判断された場合には、ステップS206に戻り、第1スイッチSW1がオンされた状態である場合には、上述してステップS207〜S215の処理を再度行なうことにより、フォーカスレンズ33を合焦位置まで駆動させるための動作が行なわれる。一方、光学系の焦点状態が変化していない場合には、第2スイッチSW2がオンされるか(ステップS221)、あるいは、光学系の焦点状態が変化するまで(ステップS220)、フォーカスレンズ33を現在のレンズ位置に停止させたまま待機する。   On the other hand, if the AF-A mode is set, the process advances to step S220 to determine whether or not the focus state of the optical system has changed. For example, when the defocus amount by the phase difference detection method repeatedly calculated by the camera control unit 21 changes by a predetermined value or more, or when the defocus amount cannot be calculated, or is also repeatedly calculated by the camera control unit 21. When the focus evaluation value is changed by a predetermined value or more, it can be determined that the focus state of the optical system has changed. If it is determined that the focus state of the optical system has changed, the process returns to step S206. If the first switch SW1 is turned on, the processes of steps S207 to S215 are performed again as described above. Then, an operation for driving the focus lens 33 to the in-focus position is performed. On the other hand, when the focus state of the optical system has not changed, the focus lens 33 is moved until the second switch SW2 is turned on (step S221) or until the focus state of the optical system changes (step S220). Wait while stopping at the current lens position.

本実施形態においては、静止画撮影に適したモードであるAF−SモードまたはAF−Aモードが選択されている場合には、以上のように動作する。   In this embodiment, when the AF-S mode or the AF-A mode, which is a mode suitable for still image shooting, is selected, the above operation is performed.

すなわち、本実施形態においては、AF−Sモードに設定されている場合においては、図14に示すように、フォーカスレンズ33が停止している場合(時間t20〜t21)には、ズームトラッキングが許可とされ(ステップS201)、第1スイッチSW1がオンされ(ステップS205)、位相差検出方式によりデフォーカス量が算出されないと判断されると(ステップS206=No)、ズームトラッキングが禁止され(ステップS207)、ズームトラッキングが禁止とされた状態で、スキャン動作(ステップS208〜S211)が実行される(時間t21〜t22)。そして、コントラスト検出方式により合焦位置(P2の位置)の検出ができた場合(ステップS210=Yes)には、ズームトラッキングが禁止とされた状態のまま合焦駆動が行なわれる(時間t22〜t23)。次いで、合焦駆動が行なわれると、ズームトラッキングが許可とされ(ステップS216)、合焦ロック(S218)とされる。そして、この際においては、時間t24において、合焦位置がP2からP3に変化した場合でも、フォーカスレンズ33の駆動を行われない一方で、ズームレンズ32の駆動が検出されると、カメラ制御部21により、ズームトラッキング制御、すなわち、ズームレンズ32の移動量に応じたフォーカスレンズ33を駆動する動作が実行されることとなる。   That is, in the present embodiment, when the AF-S mode is set, zoom tracking is permitted when the focus lens 33 is stopped (time t20 to t21) as shown in FIG. When the first switch SW1 is turned on (step S205) and it is determined that the defocus amount is not calculated by the phase difference detection method (step S206 = No), zoom tracking is prohibited (step S207). ) In a state where zoom tracking is prohibited, the scanning operation (steps S208 to S211) is executed (time t21 to t22). When the in-focus position (position P2) can be detected by the contrast detection method (step S210 = Yes), in-focus driving is performed with zoom tracking prohibited (time t22 to t23). ). Next, when in-focus driving is performed, zoom tracking is permitted (step S216), and in-focus locking (S218) is performed. At this time, even when the in-focus position changes from P2 to P3 at time t24, the focus lens 33 is not driven, but if the drive of the zoom lens 32 is detected, the camera control unit 21, the zoom tracking control, that is, the operation of driving the focus lens 33 according to the movement amount of the zoom lens 32 is executed.

また、本実施形態においては、AF−Sモードに設定されている場合においては、図15に示すように、フォーカスレンズ33が停止している場合(時間t30〜t31)には、ズームトラッキングが許可とされ(ステップS201)、第1スイッチSW1がオンされ(ステップS205)、位相差検出方式によりデフォーカス量が算出されたと判断されると(ステップS206=Yes)、ズームトラッキングが禁止され(ステップS212)、ズームトラッキングが禁止とされた状態で、位相差検出方式により検出されたデフォーカス量に基づく合焦駆動(ステップS213)が実行される(時間t31〜t32)。次いで、合焦駆動の結果、フォーカスレンズ33が合焦位置(P11の位置)まで駆動されると、ズームトラッキングが許可とされ(ステップS216)、合焦ロック(S218)とされる。そして、この際においては、時間t33において、合焦位置がP11からP12に変化した場合でも、フォーカスレンズ33の駆動を行われない一方で、ズームレンズ32の駆動が検出されると、カメラ制御部21により、ズームトラッキング制御、すなわち、ズームレンズ32の移動量に応じたフォーカスレンズ33を駆動する動作が実行されることとなる。   In the present embodiment, when the AF-S mode is set, zoom tracking is permitted when the focus lens 33 is stopped (time t30 to t31) as shown in FIG. When the first switch SW1 is turned on (step S205) and it is determined that the defocus amount is calculated by the phase difference detection method (step S206 = Yes), zoom tracking is prohibited (step S212). ) In a state where zoom tracking is prohibited, focusing drive (step S213) based on the defocus amount detected by the phase difference detection method is executed (time t31 to t32). Next, when the focus lens 33 is driven to the focus position (P11 position) as a result of focus drive, zoom tracking is permitted (step S216) and focus lock (S218) is set. At this time, even when the in-focus position changes from P11 to P12 at time t33, if the focus lens 33 is not driven while the drive of the zoom lens 32 is detected, the camera control unit 21, the zoom tracking control, that is, the operation of driving the focus lens 33 according to the movement amount of the zoom lens 32 is executed.

また、本実施形態においては、AF−Aモードに設定されている場合には、上述したAF−Fモードと同様に、図11、図12に示すように動作することとなる。   Further, in the present embodiment, when the AF-A mode is set, the operation is performed as shown in FIGS. 11 and 12 as in the AF-F mode described above.

本実施形態においては、フォーカスレンズ33をスキャン駆動させる際、フォーカスレンズ33を位相差検出方式により算出されたデフォーカス量に基づいて合焦駆動させる際、および、フォーカスレンズ33をコントラスト検出方式により検出された合焦位置に基づいて合焦駆動させる際において、ズームレンズ32が駆動した場合に、ズームレンズ32の移動量に応じて、フォーカスレンズ33を駆動させて、フォーカスを微調整するズームトラッキング制御を禁止するため、フォーカスレンズ33がハンチング現象を起こしてしまうという不具合の発生を有効に防止することができ、これにより、使用感の向上および焦点調節精度の向上が可能となる。   In the present embodiment, when the focus lens 33 is driven to scan, the focus lens 33 is driven to focus based on the defocus amount calculated by the phase difference detection method, and the focus lens 33 is detected by the contrast detection method. When the zoom lens 32 is driven when the focus lens is driven based on the in-focus position, zoom tracking control for finely adjusting the focus by driving the focus lens 33 according to the movement amount of the zoom lens 32. Therefore, it is possible to effectively prevent the occurrence of a problem that the focus lens 33 causes the hunting phenomenon, thereby improving the feeling of use and improving the focus adjustment accuracy.

加えて、本実施形態では、フォーカスレンズ33のスキャン駆動が終了した後、および、フォーカスレンズ33の合焦駆動が終了した後においては、ズームトラッキング制御を許可するため、スキャン駆動中または合焦駆動中において、ズームレンズ32の駆動が行われた場合でも、スキャン駆動後または合焦駆動後において、ズームトラッキング制御を実行することで、スキャン駆動中または合焦駆動中における、ズームレンズ32の駆動によるピントズレを適切に解消することができる。   In addition, in this embodiment, after the scanning drive of the focus lens 33 is completed and after the focusing drive of the focus lens 33 is completed, the zoom tracking control is permitted to perform zoom scanning control. Even when the zoom lens 32 is driven, the zoom tracking control is executed after the scan drive or the focus drive, so that the zoom lens 32 is driven during the scan drive or the focus drive. The focus shift can be properly eliminated.

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

たとえば、上述した実施形態においては、AF−Fモードに設定されている場合において、位相差検出方式により算出されたデフォーカス量に基づく合焦駆動、およびコントラスト検出方式により検出された合焦位置に基づく合焦駆動を行なった後は、フォーカスレンズ33を合焦位置に停止させるような構成を例示したが、フォーカスレンズ33を、合焦位置近傍において、微小に往復駆動させるウォブリング駆動を行なってもよい。そして、この場合においては、フォーカスレンズ33をウォブリング駆動している際には、ズームトラッキング制御を行っても、フォーカスレンズ33のハンチング現象の問題が発生しないため、ウォブリング駆動中は、ズームトラッキング制御は許可とすることで、使用感を損なうことなく、ズームレンズ32の駆動によるピントズレを適切に解消することが可能となる。   For example, in the above-described embodiment, when the AF-F mode is set, the focus drive based on the defocus amount calculated by the phase difference detection method and the focus position detected by the contrast detection method are used. Although the focus lens 33 is stopped at the in-focus position after performing the in-focus driving based on the above, the wobbling driving for reciprocating the focus lens 33 in the vicinity of the in-focus position is performed. Good. In this case, since the problem of the hunting phenomenon of the focus lens 33 does not occur even if the zoom tracking control is performed when the focus lens 33 is driven by wobbling, the zoom tracking control is not performed during the wobbling drive. By setting the permission, it is possible to appropriately eliminate the focus shift caused by driving the zoom lens 32 without impairing the feeling of use.

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

Claims (4)

焦点調節レンズを光軸方向に駆動して、光学系の焦点状態を調節する焦点調節部と、
ズームレンズを光軸方向に駆動して、ズーム倍率を変更するズーム倍率変更部と、
前記焦点調節レンズを光軸方向に駆動させながら、異なる焦点状態における焦点評価値を算出することで、前記光学系の焦点状態の検出を行う第1焦点検出部と、
前記ズームレンズの移動に応じて、前記焦点調節部に前記焦点調節レンズの移動を行わせるズームトラッキングを制御するズームトラッキング部と、
前記光学系の焦点状態を検出するために前記焦点調節レンズの駆動が行われている場合に、ズームトラッキングを禁止する制御部と、
位相差を用いて前記光学系の焦点状態を検出する第2焦点検出部と、
シャッターレリーズボタンの半押し操作が行われた場合に、前記第1焦点検出部または前記第2焦点検出部による焦点検出結果に基づき、前記焦点調節部により、前記焦点調節レンズを合焦位置に駆動させ、その後、前記シャッターレリーズボタンの半押し操作がされている間は、焦点検出結果に基づく前記焦点調節レンズの駆動を禁止する第1モードを設定する第1モード設定部と、を備え、
前記制御部は、前記第1モードに設定されている場合であり、かつ、前記第1焦点検出部または前記第2焦点検出部による焦点検出結果に基づき、前記焦点調節部により、前記焦点調節レンズを合焦位置に駆動させる合焦駆動動作が行なわれた後、焦点検出結果に基づく前記焦点調節レンズの駆動が禁止されている場合には、ズームトラッキングを許可する撮像装置。
A focus adjustment unit that adjusts the focus state of the optical system by driving the focus adjustment lens in the optical axis direction;
A zoom magnification change unit for changing the zoom magnification by driving the zoom lens in the optical axis direction;
A first focus detection unit that detects a focus state of the optical system by calculating a focus evaluation value in a different focus state while driving the focus adjustment lens in the optical axis direction;
A zoom tracking unit that controls zoom tracking that causes the focus adjustment unit to move the focus adjustment lens according to the movement of the zoom lens;
A control unit that prohibits zoom tracking when the focus adjustment lens is driven to detect a focus state of the optical system;
A second focus detection unit that detects a focus state of the optical system using a phase difference;
When the shutter release button is half-pressed, the focus adjustment unit drives the focus adjustment lens to the in-focus position based on the focus detection result by the first focus detection unit or the second focus detection unit. And a first mode setting unit for setting a first mode for prohibiting the driving of the focus adjustment lens based on a focus detection result while the shutter release button is half-pressed,
The control unit is set to the first mode, and based on a focus detection result by the first focus detection unit or the second focus detection unit, the focus adjustment unit causes the focus adjustment lens to An imaging device that permits zoom tracking when the focus adjustment lens is driven based on a focus detection result after a focus drive operation for driving the lens to a focus position is performed.
請求項1に記載の撮像装置において、
前記第1焦点検出部または前記第2焦点検出部による焦点検出結果に基づき、前記焦点調節部により、前記焦点調節レンズを合焦位置に駆動させた後においても、前記光学系の焦点状態の変化に応じて、前記焦点調節レンズを駆動させる第2モードを設定する第2モード設定部をさらに備え、
前記制御部は、前記第2モードに設定されている場合であり、かつ、前記第2焦点検出部による焦点検出結果に基づき、前記焦点調節部により、前記焦点調節レンズを合焦位置に駆動させている場合には、ズームトラッキングを禁止する撮像装置。
The imaging device according to claim 1,
Based on the focus detection result by the first focus detection unit or the second focus detection unit, the focus adjustment unit changes the focus state of the optical system even after the focus adjustment unit is driven to the in-focus position by the focus adjustment unit. And a second mode setting unit for setting a second mode for driving the focus adjustment lens ,
The control unit is set to the second mode, and the focus adjustment unit drives the focus adjustment lens to a focus position based on a focus detection result by the second focus detection unit. An imaging device that prohibits zoom tracking.
請求項に記載の撮像装置において、
前記制御部は、前記第2モードに設定されている場合であり、かつ、前記第1焦点検出部による焦点検出結果に基づき、前記焦点調節部により、前記焦点調節レンズを合焦位置に駆動させる合焦駆動動作が行なわれた後においては、ズームトラッキングを許可する撮像装置。
The imaging device according to claim 2 ,
The control unit is a case where the second mode is set, and the focus adjustment unit drives the focus adjustment lens to a focus position based on a focus detection result by the first focus detection unit. An imaging device that permits zoom tracking after a focus drive operation is performed.
請求項1〜のいずれかに記載の撮像装置において、
前記制御部は、前記焦点調節レンズのウォブリング駆動が行われている場合には、ズームトラッキングを許可する撮像装置。
In the imaging device in any one of Claims 1-3 ,
The control unit is an image pickup apparatus that permits zoom tracking when the wobbling drive of the focus adjustment lens is performed.
JP2011145647A 2011-06-30 2011-06-30 Imaging device Active JP5966262B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011145647A JP5966262B2 (en) 2011-06-30 2011-06-30 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011145647A JP5966262B2 (en) 2011-06-30 2011-06-30 Imaging device

Publications (2)

Publication Number Publication Date
JP2013011809A JP2013011809A (en) 2013-01-17
JP5966262B2 true JP5966262B2 (en) 2016-08-10

Family

ID=47685719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011145647A Active JP5966262B2 (en) 2011-06-30 2011-06-30 Imaging device

Country Status (1)

Country Link
JP (1) JP5966262B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019238044A1 (en) * 2018-06-12 2019-12-19 深圳市大疆创新科技有限公司 Determination device, mobile object, determination method and program

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6071669B2 (en) * 2013-03-15 2017-02-01 キヤノン株式会社 Lens device and camera system
JP6971692B2 (en) * 2016-08-24 2021-11-24 キヤノン株式会社 Control device, image pickup device, control method, program, and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2763428B2 (en) * 1991-10-18 1998-06-11 三菱電機株式会社 Auto focus device
JP2005326771A (en) * 2004-05-17 2005-11-24 Canon Inc Driving control device of lens apparatus
JP2009258680A (en) * 2008-03-27 2009-11-05 Panasonic Corp Camera system, camera body, interchangeable lens unit, focus control method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019238044A1 (en) * 2018-06-12 2019-12-19 深圳市大疆创新科技有限公司 Determination device, mobile object, determination method and program

Also Published As

Publication number Publication date
JP2013011809A (en) 2013-01-17

Similar Documents

Publication Publication Date Title
JP5782843B2 (en) Imaging device
JP5776210B2 (en) Focus adjustment device and imaging device
JP2013015559A (en) Focus detector and imaging apparatus
JP2013050690A (en) Focus adjusting device and imaging apparatus
JP6187617B2 (en) Imaging device
JP5966262B2 (en) Imaging device
JP6399140B2 (en) Imaging device
JP5796388B2 (en) Focus detection apparatus and imaging apparatus
JP5891668B2 (en) Focus adjustment device and imaging device
JP5891667B2 (en) Focus adjustment device and imaging device provided with the same
JP5929060B2 (en) Focus detection apparatus and imaging apparatus
JP6127730B2 (en) Imaging device
JP2013061579A (en) Focusing device and imaging apparatus
JP6183482B2 (en) Focus detection apparatus and imaging apparatus
JP2013011811A (en) Imaging device and lens barrel
JP6642531B2 (en) Imaging device
JP5402997B2 (en) Focus adjustment device and imaging device provided with the same
JP2013011763A (en) Focus adjustment device and imaging apparatus having the same
JP6014977B2 (en) Focus detector, camera body, and camera
JP5561246B2 (en) Focus adjustment device and imaging device provided with the same
JP2012181448A (en) Focusing device and imaging apparatus
JP6477630B2 (en) Imaging device
JP6332372B2 (en) Focus adjustment device and imaging device provided with the same
JP2014052653A (en) Focus adjustment device and imaging device provided with the same
JP5862087B2 (en) Focus adjustment device and imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140624

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150318

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150421

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150622

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160125

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: 20160607

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160620

R150 Certificate of patent or registration of utility model

Ref document number: 5966262

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