JP2019095808A - Imaging apparatus - Google Patents

Imaging apparatus Download PDF

Info

Publication number
JP2019095808A
JP2019095808A JP2019020776A JP2019020776A JP2019095808A JP 2019095808 A JP2019095808 A JP 2019095808A JP 2019020776 A JP2019020776 A JP 2019020776A JP 2019020776 A JP2019020776 A JP 2019020776A JP 2019095808 A JP2019095808 A JP 2019095808A
Authority
JP
Japan
Prior art keywords
focus
optical system
unit
control unit
defocus amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2019020776A
Other languages
Japanese (ja)
Inventor
宏明 高原
Hiroaki Takahara
宏明 高原
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 JP2019020776A priority Critical patent/JP2019095808A/en
Publication of JP2019095808A publication Critical patent/JP2019095808A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

To provide an imaging apparatus capable of reducing the time from the half-pressing of a release button to the driving of a focus lens.SOLUTION: The imaging apparatus includes an imaging part which captures an image by an optical system having a focus adjustment optical system 32 and outputs a signal, a detection part which detects the focusing position of the focus adjustment optical system 32 where the image by the optical system is focused on the imaging part on the basis of the signal outputted from the imaging part, a position control part which controls the position of the focus adjustment optical system 32, and an operation part which is operated to control the position of the focus adjustment optical system 32 to the focusing position by the position control part. When the operation part is operated, the position control part controls the position of the focus adjustment optical system 32 on the basis of the focusing position detected by the detection part up to movement to the focusing position from the start of the movement of the focus adjustment optical system 32.SELECTED DRAWING: Figure 1

Description

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

従来より、レリーズボタンが半押しされた後に、光学系の焦点状態の検出を行う焦点調節装置が知られている。このような焦点調節装置において、光学系の焦点状態を適切に検出するため、焦点検出に用いる画像信号の出力レベルが所定範囲内にない場合には、露出制御を行う技術が知られている(たとえば、特許文献1)。   Conventionally, there is known a focusing device which detects a focusing state of an optical system after a release button is pressed halfway. In such a focusing device, there is known a technique for performing exposure control when the output level of an image signal used for focus detection is not within a predetermined range in order to appropriately detect the focus state of the optical system ( For example, Patent Document 1).

特開平4−157411号公報JP-A-4-157411

しかしながら、従来技術では、光学系の焦点状態を検出する際に、焦点検出に用いる画像信号の出力レベルが所定範囲内にない場合には、一律に、露出制御が行われてしまうため、レリーズボタンが半押しされてから、フォーカスレンズが駆動されるまでに、時間を要してしまう場合があった。   However, in the prior art, when detecting the focus state of the optical system, if the output level of the image signal used for focus detection is not within the predetermined range, the exposure control is uniformly performed, so the release button There is a case where it takes time until the focus lens is driven after half-pressing.

本発明が解決しようとする課題は、レリーズボタンが半押しされてから、フォーカスレンズが駆動されるまでの時間を短縮することが可能な撮像装置を提供することである。   The problem to be solved by the present invention is to provide an imaging device capable of shortening the time from when the release button is pressed halfway to when the focus lens is driven.

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

[1]本発明に係る撮像装置は、焦点調節光学系を有する光学系による像を撮像して信号を出力する撮像部と、前記撮像部から出力された信号に基づいて、前記光学系による像が前記撮像部に合焦する前記焦点調節光学系の合焦位置を検出する検出部と、前記焦点調節光学系の位置を制御する位置制御部と、前記位置制御部により前記焦点調節光学系の位置を前記合焦位置に制御するために操作される操作部と、を備え、前記位置制御部は、前記操作部が操作されると、前記焦点調節光学系の移動が開始されてから前記合焦位置へ移動するまでに前記検出部により検出された合焦位置に基づいて前記焦点調節光学系の位置を制御する。
[2]上記撮像装置に係る発明において、前記位置制御部は、前記操作部が操作されると、前記操作部が操作されるまでに前記検出部により検出された合焦位置へ前記焦点調節光学系の移動を開始し、前記焦点調節光学系の移動が開始されてから前記合焦位置へ移動するまでに前記検出部により検出された合焦位置に基づいて前記焦点調節光学系の位置を制御するように構成できる。
[3]上記撮像装置に係る発明において、焦点調節光学系を有する光学系による像を撮像して信号を出力する撮像部を備え、前記検出部は、前記撮像部から出力された信号に基づいて、前記焦点調節光学系の合焦位置と前記焦点調節光学系とのずれ量を検出し、前記位置制御部は、前記検出部により検出されたずれ量に基づいて前記焦点調節光学系の位置を制御するように構成できる。
[4]上記撮像装置に係る発明において、前記位置制御部は、前記操作部が操作されるまでに前記検出部により検出されたずれ量に信頼性があると、前記操作部が操作されるまでに検出されたずれ量に基づいて、前記焦点調節光学系の位置を制御するように構成できる。
[5]上記撮像装置に係る発明において、前記位置制御部は、前記操作部が操作されるまでに前記検出部により検出された前記ずれ量に信頼性がないと、前記操作部が操作されてから前記焦点調節光学系の移動が開始されるまでに前記検出部により検出されたずれ量に基づいて前記焦点調節光学系の位置を制御するように構成できる。
[6]上記撮像装置に係る発明において、前記位置制御部は、前記操作部が操作されるまでに前記検出部により検出された前記ずれ量に信頼性がなく、前記撮像部から出力された信号の大きさが所定範囲内であると、前記検出部により合焦位置を検出するために前記焦点調節光学系を移動させるように構成できる。
[7]上記撮像装置に係る発明において、前記操作部が操作されると、前記位置制御部により前記焦点調節光学系の移動が開始されてから前記合焦位置へ移動するまでに、前記検出部により合焦位置を検出するための露出制御を行う露出制御部と、を備えるように構成できる。
[8]上記撮像装置に係る発明において、前記露出制御部は、前記操作部が操作されるまで、前記表示部に表示する画像を撮像するための露出制御を行い、前記位置制御部により前記焦点調節光学系の移動が開始されてから前記合焦位置へ移動するまでに、前記検出部により合焦位置を検出するための露出制御を行うように構成できる。
[1] An image pickup apparatus according to the present invention is an image pickup section for picking up an image by an optical system having a focusing optical system and outputting a signal, and an image by the optical system based on a signal outputted from the image pickup section. A detection unit that detects the in-focus position of the focusing optical system that focuses on the imaging unit; a position control unit that controls the position of the focusing optical system; and And an operation unit operated to control the position to the in-focus position, and the position control unit is configured to start the movement of the focusing optical system after the operation unit is operated. The position of the focusing optical system is controlled based on the in-focus position detected by the detection unit before moving to the in-focus position.
[2] In the invention according to the above imaging apparatus, when the operation unit is operated, the position control unit moves the focusing optical system to the in-focus position detected by the detection unit until the operation unit is operated. The movement of the system is started, and the position of the focusing optical system is controlled based on the in-focus position detected by the detection unit from the start of the movement of the focusing optical system to the movement to the in-focus position. Can be configured to
[3] In the invention relating to the image pickup apparatus described above, the image pickup section for picking up an image by an optical system having a focusing optical system and outputting a signal is provided, and the detection section is based on the signal output from the image pickup section. A shift amount between the focusing position of the focusing optical system and the focusing optical system is detected, and the position control unit detects the position of the focusing optical system based on the shift amount detected by the detection unit. It can be configured to control.
[4] In the invention according to the above-mentioned imaging device, the position control unit is operated until the operation unit is operated if the displacement amount detected by the detection unit is reliable before the operation unit is operated. The position of the focusing optical system can be controlled based on the detected displacement amount.
[5] In the invention relating to the above imaging device, the position control unit operates the operation unit when the displacement amount detected by the detection unit is not reliable before the operation unit is operated. The position of the focusing optical system can be controlled based on the amount of displacement detected by the detection unit until the movement of the focusing optical system is started.
[6] In the invention relating to the imaging device, the position control unit does not have reliability in the displacement amount detected by the detection unit before the operation unit is operated, and the signal output from the imaging unit When the size of is within a predetermined range, the focus adjustment optical system can be moved to detect the in-focus position by the detection unit.
[7] In the invention relating to the above imaging apparatus, when the operation unit is operated, the position control unit starts moving the focusing optical system until the detection unit moves to the in-focus position. And an exposure control unit that performs exposure control for detecting the in-focus position.
[8] In the invention relating to the above imaging apparatus, the exposure control unit performs exposure control for capturing an image to be displayed on the display unit until the operation unit is operated, and the position control unit performs the focus control. The exposure control for detecting the in-focus position can be performed by the detection unit from the start of the movement of the adjustment optical system to the movement to the in-focus position.

本発明によれば、レリーズボタンが半押しされてから、フォーカスレンズが駆動されるまでの時間を短縮することができる。   According to the present invention, it is possible to shorten the time from when the release button is pressed halfway to when the focus lens is driven.

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

以下、本発明の実施形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described based on 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. The digital camera 1 (hereinafter simply referred to as the camera 1) of the present embodiment is composed of 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 There is.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

なお、単位画素群223の配列は、図示する稠密正方格子以外にも、たとえば稠密六方格子配列にすることもできる。また、カラーフィルタの構成や配列はこれに限定されることはなく、補色フィルタ(緑:G、イエロー:Ye、マゼンタ:Mg,シアン:Cy)の配列を採用することもできる。   The arrangement of the unit pixel groups 223 may be, for example, a close hexagonal lattice arrangement, as well as the close square lattice shown in the drawing. Further, the configuration and arrangement of the color filter 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 sectional view. One imaging pixel 221 includes a microlens 2211, a photoelectric conversion unit 2212, and a color filter (not shown), and as shown in the cross-sectional view of FIG. 6, the photoelectric conversion unit is formed on the surface of the semiconductor circuit substrate 2213 of the imaging device 22. 2212 is fabricated, and a microlens 2211 is formed on the surface. The photoelectric conversion unit 2212 is shaped so as to receive the imaging light flux passing through the exit pupil (for example, F1.0) of the imaging optical system by the microlens 2211 and receives the imaging light flux.

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

なお、図2に示す焦点検出画素列22a〜22cの位置は図示する位置にのみ限定されず、何れか一箇所、二箇所にすることもでき、また、四箇所以上の位置に配置することもできる。また、実際の焦点検出に際しては、複数配置された焦点検出画素列22a〜22cの中から、撮影者が操作部28を手動操作することにより所望の焦点検出画素列を、焦点検出位置として選択することもできる。   The positions of the focus detection pixel arrays 22a to 22c shown in FIG. 2 are not limited to the illustrated positions, but may be one or two, or may be disposed at four or more positions. it can. Further, at the time of actual focus detection, the photographer selects a desired focus detection pixel row as a focus detection position by manually operating the operation unit 28 from among the plurality of arranged focus detection pixel rows 22a to 22c. It can also 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〜22cを構成する。   FIG. 5A is an enlarged front view of one of the focus detection pixels 222a, and FIG. 7A is a cross-sectional view of the focus detection pixel 222a. 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. The focus detection pixel 222a includes a micro lens 2221a and a semicircular photoelectric conversion unit 2222a as shown in FIG. 5A, and as shown in the cross sectional view of FIG. The photoelectric conversion portion 2222a is formed on the surface of the semiconductor circuit substrate 2213, and the micro lens 2221a is formed on the surface. Further, as shown in FIG. 5B, the focus detection pixel 222b is composed of a micro lens 2221b and a photoelectric conversion unit 2222b, and as shown in the cross sectional view of FIG. 7B, the semiconductor of the imaging device 22 is The photoelectric conversion portion 2222b is formed on the surface of the circuit board 2213, and the micro lens 2221b is formed on the surface. The focus detection pixels 222a and 222b are arranged adjacent to each other and alternately in a horizontal row, as shown in FIG. 3, to form the focus detection pixel rows 22a to 22c shown in FIG.

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

また、図5(A)、図5(B)に示す焦点検出画素222a,222bの光電変換部2222a,2222bは半円形状としたが、光電変換部2222a,2222bの形状はこれに限定されず、他の形状、たとえば、楕円形状、矩形状、多角形状とすることもできる。   Although the photoelectric conversion units 2222a and 2222b of the focus detection pixels 222a and 222b shown in FIGS. 5A and 5B are semicircular, the shape of the photoelectric conversion units 2222a and 2222b is not limited thereto. And other shapes, for example, an oval shape, a rectangular shape, and a polygonal shape.

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

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

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

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

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

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

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

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

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

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

なお、これら位相差検出方式による像ズレ量の演算と、これに基づくデフォーカス量の演算は、カメラ制御部21により実行される。   The calculation of the image shift amount by the phase difference detection method and the calculation of the defocus amount based on this 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 the focus evaluation value based on the read pixel output. The focus evaluation value can be obtained, for example, by extracting a high frequency component of the image output from the imaging pixel 221 of the image sensor 22 using a high frequency transmission filter and integrating the same to detect a focus voltage. Alternatively, high-frequency components can be extracted by using two high-frequency transmission filters having different cutoff frequencies, and integration can be performed to detect the focus voltage.

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

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

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

ステップS102では、カメラ制御部21により、スルー画像生成用の露出制御が開始される。具体的には、カメラ制御部21は、撮像素子22の出力に基づいて、撮影画面全体の輝度値Bvを算出し、算出した撮影画面全体の輝度値Bvに基づいて、撮影画面全体で適正露出が得られるように、受光感度Sv、露光時間Tv、および絞りAvなどの露出条件を設定する。また、カメラ制御部21は、算出した輝度値Bvをメモリ24に記憶する。メモリ24に記憶された輝度値Bvは、後述するステップS110またはステップS117において、焦点検出用の露出制御を行う際に用いられる。なお、スルー画像生成時の露出制御は、所定の間隔で繰り返し実行されるが、スルー画像生成用の露出制御を行う間隔は、スルー画像の生成およびスルー画像の表示を繰り返す間隔よりも長い間隔とすることができる。例えば、スルー画像の生成およびスルー画像の表示が3回繰り返される間に、スルー画像生成用の露出制御を1回行うようにすることができる。   In step S102, the camera control unit 21 starts exposure control for through image generation. Specifically, the camera control unit 21 calculates the luminance value Bv of the entire imaging screen based on the output of the imaging device 22, and based on the calculated luminance value Bv of the entire imaging screen, the appropriate exposure over the entire imaging screen The exposure conditions such as the light reception sensitivity Sv, the exposure time Tv, and the aperture Av are set so that Further, the camera control unit 21 stores the calculated brightness value Bv in the memory 24. The luminance value Bv stored in the memory 24 is used when performing exposure control for focus detection in step S110 or step S117 described later. Although exposure control at the time of through image generation is repeatedly performed at a predetermined interval, the interval at which exposure control for through image generation is performed is longer than the interval at which through image generation and through image display are repeated. can do. For example, exposure control for through image generation can be performed once while generation of the through image and display of the through image are repeated three times.

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

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

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

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

そして、続くステップS105〜S108では、シャッターレリーズボタンの半押し前に算出されたデフォーカス量の信頼性が「高」または「中」であるかの判断が行われる。   Then, in the subsequent steps S105 to S108, it is determined whether the reliability of the defocus amount calculated before the half depression of the shutter release button is "high" or "medium".

具体的には、まず、ステップS105において、カメラ制御部21により、所定のパラメータnが0に設定される。そして、ステップS106では、ステップS103で記憶したデフォーカス量の履歴データが参照され、シャッターレリーズボタンの半押し前に算出されたデフォーカス量およびデフォーカス量の信頼性のうち、パラメータnに応じたデフォーカス量およびデフォーカス量の信頼性が「高」または「中」であるか否かの判断が行われる。例えば、カメラ制御部21は、パラメータnが0に設定されている場合には、シャッターレリーズボタンが半押しされる直前に算出されたデフォーカス量および該デフォーカス量の信頼性を読み出し、シャッターレリーズボタンが半押しされる直前に算出されたデフォーカス量の信頼性が「高」または「中」であるか否かの判断を行う。また、カメラ制御部21は、パラメータnが1に設定されている場合には、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量よりも1つ前に算出されたデフォーカス量および該デフォーカス量の信頼性を読み出し、読み出されたデフォーカス量の信頼性が「高」または「中」であるか否かの判断を行う。同様に、カメラ制御部21は、nの値が大きくなるほど、過去に遡って、シャッターレリーズボタンが半押しされる直前に算出されたデフォーカス量よりもn個前に算出されたデフォーカス量の信頼性が「高」または「中」であるか否かの判断を行う。   Specifically, first, in step S105, the camera control unit 21 sets a predetermined parameter n to zero. Then, in step S106, the history data of the defocus amount stored in step S103 is referred to, and the defocus amount and the reliability of the defocus amount calculated before the half-press of the shutter release button is determined according to the parameter n. A determination is made as to whether the defocus amount and the reliability of the defocus amount are "high" or "medium". For example, when the parameter n is set to 0, the camera control unit 21 reads the defocus amount calculated immediately before the shutter release button is half-pressed and the reliability of the defocus amount, and the shutter release is performed. It is determined whether the reliability of the defocus amount calculated immediately before the button is half-pressed is "high" or "medium". In addition, when the parameter n is set to 1, the camera control unit 21 calculates the defocus amount and the defocus amount calculated one before the defocus amount calculated immediately before the shutter release button is half-depressed. The reliability of the focus amount is read, and it is determined whether the reliability of the read defocus amount is “high” or “medium”. Similarly, as the value of n increases, the camera control unit 21 goes back in the past and calculates the defocus amount n times before the defocus amount calculated immediately before the shutter release button is half-depressed. Determine whether the reliability is "high" or "medium".

そして、ステップS106において、シャッターレリーズボタンの半押し直前のデフォーカス量よりもn個前に算出されたデフォーカス量の信頼性が「高」または「中」であると判断された場合は、ステップS114に進み、一方、シャッターレリーズボタンの半押し直前のデフォーカス量よりもn個前に算出されたデフォーカス量の信頼性が「高」または「中」ではないと判断された場合は、ステップS107に進む。   When it is determined in step S106 that the reliability of the defocus amount calculated n times before the defocus amount immediately before the shutter release button is half pressed is “high” or “medium”, step The process advances to step S114, and if it is determined that the reliability of the defocus amount calculated n times before the defocus amount immediately before the shutter release button is not “high” or “medium”, the process proceeds to step It progresses to S107.

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

このように、ステップS106〜S108では、シャッターレリーズボタンの半押し前に算出されたデフォーカス量の信頼性が、新しく算出されたデフォーカス量から順に、所定の数だけ遡って判断される。そして、シャッターレリーズボタンの半押し前に算出されたデフォーカス量の信頼性が「高」または「中」であると判断された場合には、ステップS114に進み、一方、シャッターレリーズボタンの半押し前に算出されたデフォーカス量の信頼性が「高」または「中」ではないと判断された場合には、ステップS109に進む。   As described above, in steps S106 to S108, the reliability of the defocus amount calculated before the half depression of the shutter release button is determined retroactively by a predetermined number in order from the newly calculated defocus amount. If it is determined that the reliability of the defocus amount calculated before the shutter release button is half pressed is "high" or "medium", the process proceeds to step S114, while the shutter release button is half pressed If it is determined that the reliability of the defocus amount previously calculated is not "high" or "medium", the process proceeds to step S109.

ステップS114では、シャッターレリーズボタンの半押し前に算出されたデフォーカス量の信頼性が「高」または「中」であると判断されているため、カメラ制御部21により、信頼性が「高」または「中」であると判断された、シャッターレリーズボタンが半押しされる前のデフォーカス量に基づいて、フォーカスレンズ32を合焦位置まで駆動させるのに必要となるレンズ駆動量の算出が行われ、算出されたレンズ駆動量が、レンズ制御部37を介して、フォーカスレンズ駆動モータ36に送出される。次いで、ステップS115において、フォーカスレンズ駆動モータ36により、ステップS114で算出されたレンズ駆動量に基づいて、フォーカスレンズ32の駆動が行われる。   In step S114, since the reliability of the defocus amount calculated before the shutter release button is half pressed is determined to be “high” or “medium”, the camera control unit 21 determines that the reliability is “high”. Or, based on the defocus amount before the shutter release button is half-pressed determined to be “medium”, calculation of the lens driving amount necessary to drive the focus lens 32 to the in-focus position is performed. The calculated lens drive amount is sent to the focus lens drive motor 36 via the lens control unit 37. Next, in step S115, the focus lens drive motor 36 drives the focus lens 32 based on the lens drive amount calculated in step S114.

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

ステップS116では、カメラ制御部21により、後述する焦点検出用の露出制御が開始されているか否かの判断が行われる。焦点検出用の露出制御が開始されていると判断された場合は、ステップS118に進み、一方、焦点検出用の露出制御が開始されていないと判断された場合は、焦点検出用の露出制御を開始するために、ステップS117に進む。たとえば、上述したステップS106において、シャッターレリーズボタンの半押し前に算出されたデフォーカス量の信頼性が「高」または「中」であると判断された場合は、焦点検出用の露出制御が行われることなく、フォーカスレンズ32の駆動が開始されるため、ステップS116においては、焦点検出用の露出制御が開始されていないと判断され、ステップS117に進むこととなる。   In step S116, the camera control unit 21 determines whether exposure control for focus detection, which will be described later, is started. If it is determined that the exposure control for focus detection is started, the process proceeds to step S118. If it is determined that the exposure control for focus detection is not started, the exposure control for focus detection is performed. In order to start, the process proceeds to step S117. For example, when it is determined that the reliability of the defocus amount calculated before the shutter release button is half-pressed in step S106 described above is “high” or “medium”, exposure control for focus detection is performed. Since driving of the focus lens 32 is started without being stopped, it is determined in step S116 that the exposure control for focus detection has not been started, and the process proceeds to step S117.

ステップS117では、焦点検出画素222a,222bの出力レベルを所定の出力レベルの範囲内とするために、カメラ制御部21により、焦点検出用の露出制御が開始される。具体的には、カメラ制御部21は、撮像素子22の出力に基づいて、図2に示す焦点検出画素列22a〜22cを含む所定領域内の輝度値SpotBvを算出し、算出した輝度値SpotBvと、ステップS102において算出した撮影画面全体の輝度値Bvとの差をΔBvとして算出する。さらに、カメラ制御部21は、焦点検出に適した露出(例えば、適正露出よりも1段明るい露出)となるように、算出したΔBvを補正してΔBv’を求め、補正したΔBv’に基づいて、受光感度Sv、露光時間Tv、および絞りAvなどの露出条件を算出する。そして、カメラ制御部21は、ステップS102で設定されたスルー画像生成用の露出条件を、このステップS109で算出された焦点検出用の露出条件に変更する。   In step S117, the camera control unit 21 starts exposure control for focus detection in order to set the output levels of the focus detection pixels 222a and 222b within the range of a predetermined output level. Specifically, the camera control unit 21 calculates the luminance value SpotBv in a predetermined area including the focus detection pixel rows 22a to 22c shown in FIG. 2 based on the output of the imaging device 22, and the calculated luminance value SpotBv and The difference between the luminance value Bv of the entire photographed screen calculated in step S102 is calculated as ΔBv. Furthermore, the camera control unit 21 corrects the calculated ΔBv to obtain ΔBv ′ so as to obtain an exposure suitable for focus detection (for example, an exposure one step brighter than the appropriate exposure), and obtains ΔBv ′ based on the corrected ΔBv ′. The exposure conditions such as the light reception sensitivity Sv, the exposure time Tv, and the aperture Av are calculated. Then, the camera control unit 21 changes the exposure condition for through image generation set in step S102 to the exposure condition for focus detection calculated in step S109.

また、カメラ制御部21は、焦点検出用の露出条件に変更した後も、焦点検出画素222a,222bの出力レベルを所定の出力レベルの範囲内になるように、所定の間隔で、焦点検出用の露出制御を繰り返し行う。具体的には、カメラ制御部21は、たとえば、焦点検出画素222a,222bの出力に基づいて、焦点検出画素222a,222bの出力レベルが、位相差検出方式による焦点検出に適した出力レベルの範囲内になるように、受光感度Sv、露光時間Tv、および絞りAvなどの露出条件の設定を、所定の間隔で繰り返し行う。なお、焦点検出用の露出制御を行う間隔は、焦点検出画素222a,222bから像データが出力される間隔よりも長い間隔とすることができ、たとえば、焦点検出画素222a,222bからの出力が3回行われる間に、焦点検出用の露出制御を1回行うようにすることができる。また、焦点検出用の露出制御では、受光感度Svおよび露光時間Tvを、絞りAvよりも優先して変更することが好適であり、受光感度Svおよび露光時間Tvを変更するだけでは、焦点検出画素222a,222bの出力レベルを、所定の出力レベルの範囲内とすることができない場合に、受光感度Svおよび露光時間Tvに加えて、絞りAvを変更する構成とすることができる。このように受光感度Svおよび露光時間Tvを絞りAvよりも優先して変更することで、絞りAvの変更に伴って絞り値が変更されてしまい、その結果、測距結果に誤差が生じてしまうことを有効に防止することができる。なお、焦点検出用の露出を、適正露出よりも明るい露出に変更した場合には、焦点検出時に表示されるスルー画像が明るくなってしまう場合があるため、このような場合には、スルー画像の明るさを暗くなるように制御してもよい。   Also, after changing to the exposure condition for focus detection, the camera control unit 21 for focus detection at a predetermined interval so that the output levels of the focus detection pixels 222a and 222b fall within the range of the predetermined output level. Repeat the exposure control of. Specifically, for example, based on the outputs of the focus detection pixels 222a and 222b, the camera control unit 21 sets the output level of the focus detection pixels 222a and 222b to a range of output levels suitable for focus detection by the phase difference detection method. The exposure conditions such as the light reception sensitivity Sv, the exposure time Tv, and the aperture Av are repeatedly set at predetermined intervals so as to be inside. The interval at which exposure control for focus detection is performed may be longer than the interval at which image data is output from the focus detection pixels 222a and 222b. For example, the output from the focus detection pixels 222a and 222b is 3 During the cycle, exposure control for focus detection can be performed once. Further, in exposure control for focus detection, it is preferable to change the light receiving sensitivity Sv and the exposure time Tv in preference to the aperture Av, and the focus detection pixel can be obtained simply by changing the light receiving sensitivity Sv and the exposure time Tv. When the output levels 222a and 222b can not be set within the predetermined output level range, the diaphragm Av can be changed in addition to the light receiving sensitivity Sv and the exposure time Tv. By changing the light receiving sensitivity Sv and the exposure time Tv in preference to the aperture Av as described above, the aperture value is changed along with the change of the aperture Av, and as a result, an error occurs in the distance measurement result. Can be effectively prevented. When the exposure for focus detection is changed to an exposure brighter than the proper exposure, the through image displayed at the time of focus detection may be bright. In such a case, You may control so that brightness may become dark.

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

このように、本実施形態では、シャッターレリーズボタンの半押し前に算出されたデフォーカス量の信頼性が「高」または「中」であると判断された場合には、焦点検出用の露出制御が行われることなく、シャッターレリーズボタンの半押し前に算出されたデフォーカス量に基づいて、フォーカスレンズ32の駆動量が算出され、フォーカスレンズ32の駆動が行われる。そして、フォーカスレンズ32の駆動が開始された後に、焦点検出用の露出制御が開始され、これにより、フォーカスレンズ32が合焦位置に駆動されるまでの間、焦点検出用の露出制御が繰り返され、焦点検出用の露出制御により変更された露出条件で算出されたデフォーカス量に基づいて、レンズ駆動が行われることとなる。   As described above, in the present embodiment, when it is determined that the reliability of the defocus amount calculated before the shutter release button is half-pressed is “high” or “medium”, exposure control for focus detection is performed. The drive amount of the focus lens 32 is calculated based on the defocus amount calculated before the shutter release button is half-pressed, and the focus lens 32 is driven. Then, after driving of the focus lens 32 is started, exposure control for focus detection is started, whereby exposure control for focus detection is repeated until the focus lens 32 is driven to the in-focus position. The lens drive is performed based on the defocus amount calculated under the exposure condition changed by the exposure control for focus detection.

また、ステップS106〜S108において、シャッターレリーズボタンの半押し前に算出されたデフォーカス量の信頼性が「高」または「中」ではないと判断された場合には、ステップS109に進む。ステップS109では、カメラ制御部21により、焦点検出画素222a,222bの出力レベルが、所定の出力レベルの範囲内であるか否かの判断が行われる。たとえば、カメラ制御部21は、焦点検出画素222a,222bの出力レベルが、焦点検出に適した出力レベルの範囲内にある場合には、焦点検出画素222a,222bの出力レベルが、所定の出力レベルの範囲内であると判断することができる。焦点検出画素222a,222bの出力レベルが、所定の出力レベルの範囲内であると判断された場合は、ステップS113に進み、一方、焦点検出画素222a,222bの出力レベルが、所定の出力レベルの範囲内ではないと判断された場合は、焦点検出用の露出制御を行うために、ステップS110に進む。   If it is determined in steps S106 to S108 that the reliability of the defocus amount calculated before the half depression of the shutter release button is not "high" or "medium", the process proceeds to step S109. In step S109, the camera control unit 21 determines whether the output levels of the focus detection pixels 222a and 222b are within the range of a predetermined output level. For example, when the output level of the focus detection pixels 222a and 222b is within the range of the output level suitable for focus detection, the camera control unit 21 determines that the output level of the focus detection pixels 222a and 222b is a predetermined output level. It can be determined that it is within the range of If it is determined that the output level of the focus detection pixels 222a and 222b is within the range of the predetermined output level, the process proceeds to step S113, while the output level of the focus detection pixels 222a and 222b is the predetermined output level. If it is determined that it is not within the range, the process proceeds to step S110 to perform exposure control for focus detection.

ステップS110では、上述したステップS117と同様に、カメラ制御部21により、焦点検出用の露出制御が開始される。そして、ステップS111では、カメラ制御部21により、焦点検出用の露出制御により変更された露出条件で算出されたデフォーカス量の信頼性が「高」または「中」であるか否かの判断が行われる。焦点検出用の露出制御により変更された露出条件で算出されたデフォーカス量の信頼性が「高」または「中」であると判断された場合は、ステップS114に進み、一方、焦点検出用の露出制御により変更された露出条件で算出されたデフォーカス量の信頼性が「高」または「中」ではないと判断された場合は、ステップS112に進む。   In step S110, as in the case of step S117 described above, the camera control unit 21 starts exposure control for focus detection. Then, in step S111, the camera control unit 21 determines whether the reliability of the defocus amount calculated under the exposure condition changed by the exposure control for focus detection is “high” or “medium”. To be done. If it is determined that the reliability of the defocus amount calculated under the exposure condition changed by the exposure control for focus detection is "high" or "medium", the process proceeds to step S114, while the focus detection If it is determined that the reliability of the defocus amount calculated under the exposure condition changed by the exposure control is not "high" or "medium", the process proceeds to step S112.

ステップS112では、カメラ制御部21により、焦点検出用の露出制御が開始された後の焦点検出画素222a,222bの出力レベルが、所定の出力レベルの範囲内であるか否かの判断が行われる。焦点検出画素222a,222bの出力レベルが所定の範囲内であると判断された場合は、ステップS113に進み、一方、焦点検出画素222a,222bの出力レベルが、所定の出力レベルの範囲内ではないと判断された場合は、ステップS111に戻り、焦点検出画素222a,222bの出力レベルが、所定の出力レベルの範囲内となるまで、ステップS111,S112で、焦点検出用の露出制御と、該焦点検出用の露出制御により変更された露出条件で算出されたデフォーカス量の信頼性の判断とが繰り返し行われることとなる。   In step S112, the camera control unit 21 determines whether the output level of the focus detection pixels 222a and 222b after the start of the exposure control for focus detection is within the range of a predetermined output level. . If it is determined that the output levels of the focus detection pixels 222a and 222b are within the predetermined range, the process proceeds to step S113, and the output levels of the focus detection pixels 222a and 222b are not within the range of the predetermined output level. If it is determined, the process returns to step S111, and exposure control for focus detection and the focus in steps S111 and S112 until the output levels of the focus detection pixels 222a and 222b fall within the predetermined output level range. The determination of the reliability of the defocus amount calculated under the exposure condition changed by the exposure control for detection is repeatedly performed.

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

まず、ステップS201では、カメラ制御部21により、スキャン動作の開始処理が行われる。具体的には、カメラ制御部21は、レンズ制御部37にスキャン駆動開始指令を送出し、レンズ制御部37は、カメラ制御部21からの指令に基づき、フォーカスレンズ駆動モータ36を駆動させ、フォーカスレンズ32を光軸L1に沿ってスキャン駆動させる。なお、スキャン駆動を行う方向は特に限定されず、フォーカスレンズ32のスキャン駆動を、無限端から至近端に向かって行なってもよいし、あるいは、至近端から無限端に向かって行なってもよい。   First, in step S201, the camera control unit 21 performs processing for starting a scanning operation. Specifically, the camera control unit 21 sends a scan drive start command to the lens control unit 37, and the lens control unit 37 drives the focus lens drive motor 36 based on the command from the camera control unit 21 to perform focusing. The lens 32 is scan driven along the optical axis L1. The direction in which the scan drive is performed is not particularly limited, and the scan drive of the focus lens 32 may be performed from the infinite end to the close end, or even from the close end to the infinity end. Good.

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

ステップS202では、コントラスト検出方式による合焦位置の検出を行っている間に、露出が変更されてしまうことを防止するため、AEロック(露出条件の変更を禁止する処理)が行われる。そして、ステップS203では、カメラ制御部21により、スキャン動作を行なった結果、位相差検出方式により、デフォーカス量が算出できたか否かの判定が行なわれる。デフォーカス量が算出できた場合には、測距可能と判断して、ステップS206に進み、一方、デフォーカス量が算出できなかった場合には、測距不能と判断して、ステップS204に進む。なお、ステップS203においては、デフォーカス量の算出ができた場合でも、算出されたデフォーカス量の信頼性が「低」または「測距不能」と評価された場合には、デフォーカス量の算出ができなかったものとして扱い、ステップS204に進むこととする。   In step S202, in order to prevent the exposure from being changed while detecting the in-focus position by the contrast detection method, AE lock (processing to prohibit the change of the exposure condition) is performed. Then, in step S203, as a result of the scan operation being performed by the camera control unit 21, it is determined whether or not the defocus amount has been calculated 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 S206. On the other hand, if the defocus amount can not be calculated, it is determined that the distance measurement is impossible, and the process proceeds to step S204. . In step S203, even when the defocus amount can be calculated, the defocus amount is calculated when the reliability of the calculated defocus amount is evaluated as "low" or "impossible to measure distance". It treats as what was not able to be done, and decides to advance to step S204.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

続いて、本実施形態に係るカメラ1の動作例を、図11に基づいて説明する。図11は、本実施形態に係るカメラ1の動作例を説明するための図であり、シャッターレリーズボタンの半押し前のデフォーカス量の信頼性が「高」または「中」である場面を例示している。なお、図11においては、「高」または「中」と評価されたデフォーカス量の信頼性を「○」で表している(図12においても同じ)。また、図11では、横軸に時間を示しており、時刻t6においてシャッターレリーズボタンが半押しされた場面を例示している。たとえば、カメラ1の電源がオンされると、スルー画像の生成・表示が開始される(ステップS101)。これにより、図11に示すように、まず、時刻t1において、入射光に応じた電荷の蓄積が開始され、時刻t2において、蓄積された電荷の量に応じた像データの転送が開始される。そして、時刻t3において、像データの転送が終了し、スルー画像生成用の露出演算とデフォーカス量の演算とが開始される(ステップS102,ステップS103)。これにより、時刻t4において、露出演算の結果に基づくスルー画像生成用の露出制御が行われ、また、時刻t5において、デフォーカス量の算出およびデフォーカス量の信頼性の評価が行われる。このような電荷の蓄積、像データの転送、スルー画像生成用の露出制御、デフォーカス量の演算、およびデフォーカス量の信頼性の評価は、図11に示すように、所定の間隔で繰り返し行われる。   Subsequently, an operation example of the camera 1 according to the present embodiment will be described based on FIG. FIG. 11 is a diagram for explaining an operation example of the camera 1 according to the present embodiment, and illustrates a scene in which the reliability of the defocus amount before the shutter release button is pressed halfway is “high” or “medium”. doing. In FIG. 11, the reliability of the defocus amount evaluated as “high” or “medium” is represented by “o” (the same applies to FIG. 12). Further, in FIG. 11, the horizontal axis indicates time, and illustrates a scene in which the shutter release button is half-pressed at time t6. For example, when the power of the camera 1 is turned on, generation and display of a through image are started (step S101). Thus, as shown in FIG. 11, first, at time t1, accumulation of charges according to incident light is started, and at time t2, transfer of image data according to the amount of accumulated charges is started. Then, at time t3, the transfer of the image data is completed, and the exposure calculation for generating the through image and the calculation of the defocus amount are started (steps S102 and S103). Thus, at time t4, exposure control for through image generation based on the result of the exposure calculation is performed, and at time t5, calculation of the defocus amount and evaluation of the reliability of the defocus amount are performed. Such accumulation of charge, transfer of image data, exposure control for through image generation, calculation of defocus amount, and evaluation of reliability of defocus amount are repeated at predetermined intervals as shown in FIG. It will be.

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

さらに、本実施形態では、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量(時刻t5において算出されたデフォーカス量)の信頼性が「高」または「中」であるため、フォーカスレンズ32を駆動する前の焦点検出用の露出制御は不要であると判断され、時刻t7では、焦点検出用の露出制御を行うことなく、フォーカスレンズ32の駆動が開始される(ステップS115)。   Furthermore, in the present embodiment, since the reliability of the defocus amount (the defocus amount calculated at time t5) calculated immediately before the shutter release button is half pressed is “high” or “medium”, the focus lens 32 is It is determined that the exposure control for focus detection before driving is not necessary, and the drive of the focus lens 32 is started without performing the exposure control for focus detection at time t7 (step S115).

また、図11に示す例では、フォーカスレンズ32の駆動が開始されるまで、焦点検出用の露出制御が行われていないため(ステップS116=No)、フォーカスレンズ32の駆動が開始された後の時刻t8において、焦点検出用の露出制御が開始される(ステップS117)。たとえば、時刻t8では、時刻t4で得られた露出演算の測光結果のうち、焦点検出画素列22a〜22cを含む所定領域内の輝度に基づいて、焦点検出画素222a,222bの出力レベルが、焦点検出に適した所定の出力レベルの範囲内となるように、受光感度Svや露光時間Tvなどの露出条件が変更される。また、時刻t8における焦点検出用の露出制御により変更された露出条件は、時刻t9以降に開始される電荷の蓄積に反映される。そのため、時刻t9から、時刻t8で変更された露出条件で電荷の蓄積が開始され、時刻t11において、時刻t8で変更された露出条件で蓄積された電荷に基づく像データが転送され、時刻t12において、時刻t8で変更された露出条件で得られた像データに基づくデフォーカス量が算出される。その結果、時刻t13において、時刻t8で変更された焦点検出用の露出条件で算出されたデフォーカス量に基づいて、レンズ駆動量が算出され、この焦点検出用の露出条件で算出されたレンズ駆動量に基づいて、フォーカスレンズ32が駆動されることとなる。同様に、時刻t10,t14およびt15においても、焦点検出用の露出制御が繰り返し行われ、これにより、焦点検出画素222a,222bの出力レベルが、焦点検出に適した所定の出力レベルの範囲内とされる。   Further, in the example shown in FIG. 11, since the exposure control for focus detection is not performed until the drive of the focus lens 32 is started (step S116 = No), after the drive of the focus lens 32 is started At time t8, exposure control for focus detection is started (step S117). For example, at time t8, the output level of the focus detection pixels 222a and 222b is the focus based on the luminance in the predetermined area including the focus detection pixel rows 22a to 22c among the photometry results of the exposure calculation obtained at time t4. Exposure conditions such as the light reception sensitivity Sv and the exposure time Tv are changed so as to fall within a predetermined output level range suitable for detection. Further, the exposure condition changed by the exposure control for focus detection at time t8 is reflected in the accumulation of charges started after time t9. Therefore, from time t9, charge accumulation starts under the changed exposure condition at time t8, and at time t11, image data based on the charge accumulated under the changed exposure condition at time t8 is transferred, and at time t12 The defocus amount is calculated based on the image data obtained under the changed exposure condition at time t8. As a result, at time t13, the lens drive amount is calculated based on the defocus amount calculated under the focus detection exposure condition changed at time t8, and the lens drive calculated under the focus detection exposure condition The focus lens 32 is driven based on the amount. Similarly, at times t10, t14 and t15, exposure control for focus detection is repeatedly performed, whereby the output levels of the focus detection pixels 222a and 222b fall within the range of predetermined output levels suitable for focus detection. Be done.

また、図12は、本実施形態に係るカメラ1の動作例を説明するための図であり、シャッターレリーズボタンの半押し前のデフォーカス量の信頼性が「低」または「測距不能」である場面を例示している。なお、図12においては、「低」または「測距不能」と評価されたデフォーカス量の信頼性を「×」で表している。また、図12では、横軸に時間を示しており、時刻t27においてシャッターレリーズボタンが半押しされた場面を例示している。図12に示す例では、時刻t21において、入射光に応じた電荷の蓄積が開始され、時刻t22において、蓄積された電荷に応じた像データの転送が開始され、時刻t23において、転送された像データに基づいて、スルー画像生成用の露出演算とデフォーカス量の演算とが開始される(ステップS102,ステップS103)。これにより、時刻t24において、スルー画像生成用の露出演算の演算結果に基づいて、露出条件を変更する露出制御が行われ、また、時刻t25において、デフォーカス量の算出およびデフォーカス量の信頼性の評価が行われる。そして、このような電荷の蓄積、像データの転送、スルー画像生成用の露出制御、デフォーカス量の演算、およびデフォーカス量の信頼性の評価が繰り返し行われることで、図12に示す例では、シャッターレリーズボタンが半押しされる時刻t27までの時刻t25,t26において、デフォーカス量の算出が行われる。   FIG. 12 is a view for explaining an operation example of the camera 1 according to the present embodiment, in which the reliability of the defocus amount before the shutter release button is pressed halfway is “low” or “distance measurement impossible” It illustrates a certain scene. In FIG. 12, the reliability of the defocus amount evaluated as “low” or “impossible to measure distance” is indicated by “x”. Further, in FIG. 12, the horizontal axis indicates time, and illustrates a scene in which the shutter release button is half-pressed at time t27. In the example shown in FIG. 12, accumulation of charges corresponding to incident light is started at time t21, transfer of image data corresponding to stored charges is started at time t22, and transferred image is performed at time t23. Based on the data, the exposure calculation for generating the through image and the calculation of the defocus amount are started (steps S102 and S103). Thus, at time t24, exposure control for changing the exposure condition is performed based on the calculation result of the exposure calculation for through image generation, and at time t25, calculation of the defocus amount and reliability of the defocus amount Evaluation is performed. In the example illustrated in FIG. 12, such accumulation of charge, transfer of image data, exposure control for through image generation, calculation of defocus amount, and evaluation of reliability of defocus amount are repeatedly performed. The defocus amount is calculated at times t25 and t26 before time t27 at which the shutter release button is pressed halfway.

そして、時刻t27において、シャッターレリーズボタンが半押しされると(ステップS104=Yes)、まず、シャッターレリーズボタンの半押し直前のデフォーカス量、すなわち、時刻t26において算出されたデフォーカス量の信頼性が判断される(ステップS105,S106)。ここで、図12に示す例においては、シャッターレリーズボタンの半押し直前に算出されたデフォーカス量(時刻t26において算出されたデフォーカス量)の信頼性は「高」または「中」ではないため(ステップS106=No)、シャッターレリーズボタンの半押し直前のデフォーカス量(時刻t26において算出されたデフォーカス量)よりも1つ前に算出されたデフォーカス量(時刻t25において算出されたデフォーカス量)の信頼性が判断される。しかしながら、図12に示す例では、シャッターレリーズボタンの半押し直前のデフォーカス量よりも1つ前に算出されたデフォーカス量(時刻t25において算出されたデフォーカス量)の信頼性も「高」または「中」ではないため(ステップS106=No)、シャッターレリーズボタンの半押し後に算出されたデフォーカス量に基づいて、フォーカスレンズ32の駆動が行われることとなる。   When the shutter release button is pressed halfway at time t27 (step S104 = Yes), first, the defocus amount immediately before the shutter release button is pressed halfway, that is, the reliability of the defocus amount calculated at time t26. Is determined (steps S105 and S106). Here, in the example shown in FIG. 12, the reliability of the defocus amount (the defocus amount calculated at time t26) calculated immediately before the shutter release button is half pressed is not “high” or “medium”. (Step S106 = No), the defocus amount calculated immediately before the defocus amount immediately before the shutter release button is half-pressed (the defocus amount calculated at time t26) (the defocus amount calculated at time t25) Reliability) is determined. However, in the example shown in FIG. 12, the reliability of the defocus amount (the defocus amount calculated at time t25) calculated one before the defocus amount immediately before the shutter release button being half pressed is also "high". Or, since it is not "middle" (step S106 = No), the focus lens 32 is driven based on the defocus amount calculated after half-pressing the shutter release button.

すなわち、図12に示す例では、シャッターレリーズボタンの半押し前に算出されたデフォーカス量の信頼性が「高」または「中」ではないため、まず、焦点検出画素222a,222bの出力レベルが、所定の出力レベルの範囲内であるか否かの判断が行われる(ステップS109)。焦点検出画素222a,222bの出力レベルが、所定の出力レベルの範囲内ではない場合(ステップS109=No)には、時刻t28において、時刻t24の露出演算での測光結果に基づいて、焦点検出用の露出制御が開始される(ステップS110)。なお、焦点検出用の露出制御は、焦点検出用の露出制御の開始後に、所定の間隔で繰り返し行われ、図12に示す例では、時刻t29、t32、t35において行われる。   That is, in the example shown in FIG. 12, since the reliability of the defocus amount calculated before pressing the shutter release button halfway is not "high" or "medium", first, the output level of the focus detection pixels 222a and 222b is A determination is made as to whether it is within the range of a predetermined output level (step S109). If the output levels of the focus detection pixels 222a and 222b are not within the predetermined output level range (step S109 = No), at time t28, for focus detection based on the photometry result in the exposure calculation at time t24. Exposure control is started (step S110). Note that exposure control for focus detection is repeatedly performed at predetermined intervals after the start of exposure control for focus detection, and is performed at times t29, t32, and t35 in the example illustrated in FIG.

時刻t29で設定された露出条件は、時刻t30以降に開始される電荷の蓄積に反映され、時刻t30から、時刻t29で設定された露出条件で電荷の蓄積が開始される。これにより、時刻t31では、時刻t29で設定された露出条件で蓄積された電荷に基づく像データの転送が行われ、時刻t33では、時刻t29で設定された露出条件で得られた像データに基づくデフォーカス量が算出される。図12に示す例では、時刻t33において算出されたデフォーカス量の信頼性が「高」または「中」と判断されるため(ステップS111=Yes)、焦点検出画素222a,222bの出力レベルが、所定の出力レベルの範囲内であるか否かに関係なく、時刻t33において算出されたデフォーカス量に基づいて、フォーカスレンズ32の駆動量が演算され(ステップS114)、その結果、時刻t34において、フォーカスレンズ32の駆動が開始される(ステップS116)。   The exposure condition set at time t29 is reflected in the charge accumulation started after time t30, and from time t30 charge accumulation is started under the exposure condition set at time t29. Thereby, at time t31, transfer of image data based on the charge stored under the exposure condition set at time t29 is performed, and at time t33 based on the image data obtained under the exposure condition set at time t29. The defocus amount is calculated. In the example shown in FIG. 12, since the reliability of the defocus amount calculated at time t33 is determined to be “high” or “medium” (step S111 = Yes), the output levels of the focus detection pixels 222a and 222b are The drive amount of the focus lens 32 is calculated based on the defocus amount calculated at time t33 regardless of whether it is within the predetermined output level range (step S114). As a result, at time t34, Driving of the focus lens 32 is started (step S116).

なお、図12に示す例では、時刻t33において算出されたデフォーカス量の信頼性が「高」または「中」と判断されているが、たとえば、時刻t33において算出されたデフォーカス量の信頼性が「高」または「中」ではなく(ステップS111=No)、かつ、焦点検出画素222a,222bの出力レベルが、所定の出力レベルの範囲内であると判断された場合には(ステップS112=Yes)、スキャン動作が実行されることとなる。   In the example shown in FIG. 12, the reliability of the defocus amount calculated at time t33 is determined to be “high” or “medium”, but for example, the reliability of the defocus amount calculated at time t33 Is not "high" or "medium" (step S111 = No), and it is determined that the output levels of the focus detection pixels 222a and 222b are within the predetermined output level range (step S112 =). Yes), the scan operation will be performed.

以上のように、本実施形態では、シャッターレリーズボタンの半押し前に算出したデフォーカス量の信頼性が「高」または「中」である場合には、図11に示すように、シャッターレリーズボタンの半押し前に算出したデフォーカス量に基づいて、フォーカスレンズ32の駆動を開始する。これにより、本実施形態では、シャッターレリーズボタンの半押し後に算出されたデフォーカス量に基づいて、フォーカスレンズ32を駆動させる場合と比較して、シャッターレリーズボタンが半押されてから、フォーカスレンズ32が駆動されるまでの時間を短縮することができる。   As described above, in the present embodiment, when the reliability of the defocus amount calculated before the shutter release button is half-pressed is “high” or “medium”, as shown in FIG. The drive of the focus lens 32 is started based on the defocus amount calculated before half-pressing of. Thus, in the present embodiment, the focus lens 32 is pressed after the shutter release button is pressed halfway as compared to the case where the focus lens 32 is driven based on the defocus amount calculated after the shutter release button is pressed halfway. The time until the drive is driven can be shortened.

また、本実施形態では、図11に示すように、シャッターレリーズボタンの半押し前に算出したデフォーカス量の信頼性が「高」または「中」である場合には、フォーカスレンズ32を駆動する前の焦点検出用の露出制御は不要であると判断し、焦点検出用の露出制御を行うことなく、フォーカスレンズ32の駆動を開始する。これにより、シャッターレリーズボタンの半押し後、フォーカスレンズ32の駆動を開始するまでの間に、焦点検出用の露出制御を行い、焦点検出用の露出制御により変更された露出条件で焦点検出画素222a,222bから像データを取得し、取得した像データに基づいてデフォーカス量を算出する一連の処理時間を省くことができる。そのため、フォーカスレンズ32を駆動する前に焦点調節用の露出制御を行う場合と比較して、シャッターレリーズボタンが半押されてから、フォーカスレンズ32が駆動されるまでの時間をより短縮することができる。   Further, in the present embodiment, as shown in FIG. 11, when the reliability of the defocus amount calculated before the shutter release button is half-pressed is “high” or “medium”, the focus lens 32 is driven. It is determined that the previous exposure control for focus detection is unnecessary, and the drive of the focus lens 32 is started without performing the exposure control for focus detection. Thus, after the shutter release button is pressed halfway, exposure control for focus detection is performed until drive of the focus lens 32 is started, and the focus detection pixel 222a is exposed under the exposure condition changed by the exposure control for focus detection. , 222b, and the series of processing time for calculating the defocus amount based on the acquired image data can be omitted. Therefore, compared to the case where exposure control for focus adjustment is performed before driving the focus lens 32, the time from when the shutter release button is pressed halfway to when the focus lens 32 is driven can be further shortened. it can.

さらに、本実施形態では、フォーカスレンズ32の駆動を開始した後に、焦点検出画素222a,222bの出力レベルが、焦点検出に適した所定の出力レベルの範囲となるように、スルー画像生成用の露出条件を焦点検出用の露出条件に変更するとともに、その後、焦点検出用の露出制御を繰り返して行う。これにより、本実施形態では、焦点検出画素222a,222bの出力のS/Nを向上させることができ、その結果、デフォーカス量のばらつきを低減させ、デフォーカス量の算出精度を高めることができる。   Furthermore, in the present embodiment, the exposure for through image generation is performed so that the output levels of the focus detection pixels 222a and 222b become the range of the predetermined output level suitable for focus detection after the drive of the focus lens 32 is started. The condition is changed to the exposure condition for focus detection, and thereafter, the exposure control for focus detection is repeated. As a result, in the present embodiment, the S / N of the outputs of the focus detection pixels 222a and 222b can be improved, and as a result, the variation in the defocus amount can be reduced and the calculation accuracy of the defocus amount can be improved. .

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

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

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

さらに、上述した実施形態では、シャッターレリーズボタンが半押しされた場合に、シャッターレリーズボタンが半押しされる前に算出されたデフォーカス量に基づいて、焦点検出用の露出制御を行うか否かを判断する構成を例示したが、例えば、シャッターレリーズボタンとは別に、光学系の焦点調節を起動するためのボタンが設けられている場合には、焦点調節を起動するためのボタンが押される前からデフォーカス量を算出しておき、焦点調節を起動するためのボタンが押された場合に、焦点調節を起動するためのボタンが押される前に算出したデフォーカス量に基づいて、焦点検出用の露出制御を行うか否かを判断する構成としてもよい。   Furthermore, in the embodiment described above, whether or not to perform exposure control for focus detection based on the defocus amount calculated before the shutter release button is pressed halfway when the shutter release button is pressed halfway For example, when a button for activating the focus adjustment of the optical system is provided separately from the shutter release button, for example, before the button for activating the focus adjustment is pressed. The defocus amount is calculated from the above, and when the button for activating focus adjustment is pressed, for focus detection based on the defocus amount calculated before the button for activating focus adjustment is pressed. It may be determined whether or not to perform the exposure control.

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

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

さらに、上述した実施形態のステップS109,S112においては、焦点検出画素222a,222bの出力レベルが、所定の出力レベルの範囲内となった場合に、スキャン動作を実行しているが、この構成に限定されず、たとえば、焦点検出画素222a,222bの出力レベルが、位相差検出方式による焦点検出に適した所定の出力レベルの範囲内となり、かつ、撮像画素221の出力レベルが、コントラスト検出方式による焦点検出に適した所定の出力レベルの範囲内となった場合に、スキャン動作を実行する構成としてもよい。   Furthermore, in steps S109 and S112 in the above-described embodiment, the scan operation is performed when the output levels of the focus detection pixels 222a and 222b fall within the range of a predetermined output level. For example, the output levels of the focus detection pixels 222a and 222b fall within the range of a predetermined output level suitable for focus detection by the phase difference detection method, and the output level of the imaging pixel 221 is by the contrast detection method. The scanning operation may be performed when the predetermined output level range suitable for focus detection is reached.

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

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

Claims (8)

焦点調節光学系を有する光学系による像を撮像して信号を出力する撮像部と、
前記撮像部から出力された信号に基づいて、前記光学系による像が前記撮像部に合焦する前記焦点調節光学系の合焦位置を検出する検出部と、
前記焦点調節光学系の位置を制御する位置制御部と、
前記位置制御部により前記焦点調節光学系の位置を前記合焦位置に制御するために操作される操作部と、を備え、
前記位置制御部は、前記操作部が操作されると、前記焦点調節光学系の移動が開始されてから前記合焦位置へ移動するまでに前記検出部により検出された合焦位置に基づいて前記焦点調節光学系の位置を制御する撮像装置。
An imaging unit that captures an image by an optical system having a focusing optical system and outputs a signal;
A detection unit that detects an in-focus position of the focusing optical system at which an image by the optical system focuses on the imaging unit based on a signal output from the imaging unit;
A position control unit that controls the position of the focusing optical system;
And an operation unit operated to control the position of the focusing optical system to the in-focus position by the position control unit.
The position control unit is configured to move the focusing optical system based on the in-focus position detected by the detection unit after the movement of the focusing optical system is started when the operation unit is operated. An imaging device that controls the position of a focusing optical system.
請求項1に記載の撮像装置において、
前記位置制御部は、前記操作部が操作されると、前記操作部が操作されるまでに前記検出部により検出された合焦位置へ前記焦点調節光学系の移動を開始し、前記焦点調節光学系の移動が開始されてから前記合焦位置へ移動するまでに前記検出部により検出された合焦位置に基づいて前記焦点調節光学系の位置を制御する撮像装置。
In the imaging device according to claim 1,
When the operation unit is operated, the position control unit starts moving the focusing optical system to the in-focus position detected by the detection unit until the operation unit is operated, and the focus adjustment optical system An imaging apparatus that controls the position of the focusing optical system based on the in-focus position detected by the detection unit from when the system is started to move to the in-focus position.
請求項1または2に記載の撮像装置において、
焦点調節光学系を有する光学系による像を撮像して信号を出力する撮像部を備え、
前記検出部は、前記撮像部から出力された信号に基づいて、前記焦点調節光学系の合焦位置と前記焦点調節光学系とのずれ量を検出し、
前記位置制御部は、前記検出部により検出されたずれ量に基づいて前記焦点調節光学系の位置を制御する撮像装置。
In the imaging device according to claim 1 or 2,
An imaging unit that captures an image by an optical system having a focusing optical system and outputs a signal;
The detection unit detects an amount of deviation between the in-focus position of the focusing optical system and the focusing optical system based on the signal output from the imaging unit.
The image pickup apparatus, wherein the position control unit controls the position of the focusing optical system based on the displacement amount detected by the detection unit.
請求項3に記載の撮像装置において、
前記位置制御部は、前記操作部が操作されるまでに前記検出部により検出されたずれ量に信頼性があると、前記操作部が操作されるまでに検出されたずれ量に基づいて、前記焦点調節光学系の位置を制御する撮像装置。
In the imaging device according to claim 3,
When the displacement amount detected by the detection unit is reliable before the operation unit is operated, the position control unit may perform the displacement control based on the displacement amount detected before the operation unit is operated. An imaging device that controls the position of a focusing optical system.
請求項3または4に記載の撮像装置において、
前記位置制御部は、前記操作部が操作されるまでに前記検出部により検出された前記ずれ量に信頼性がないと、前記操作部が操作されてから前記焦点調節光学系の移動が開始されるまでに前記検出部により検出されたずれ量に基づいて前記焦点調節光学系の位置を制御する撮像装置。
In the imaging device according to claim 3 or 4,
If the displacement amount detected by the detection unit is not reliable before the operation unit is operated, the position control unit starts moving the focusing optical system after the operation unit is operated. An imaging device that controls the position of the focusing optical system based on the amount of displacement detected by the detection unit until then.
請求項3から5のいずれか1項に記載の撮像装置において、
前記位置制御部は、前記操作部が操作されるまでに前記検出部により検出された前記ずれ量に信頼性がなく、前記撮像部から出力された信号の大きさが所定範囲内であると、前記検出部により合焦位置を検出するために前記焦点調節光学系を移動させる撮像装置。
In the imaging device according to any one of claims 3 to 5,
The position control unit is not reliable in the displacement amount detected by the detection unit until the operation unit is operated, and the magnitude of the signal output from the imaging unit is within a predetermined range. An imaging device for moving the focusing optical system to detect a focusing position by the detection unit.
請求項1から6のいずれか1項に記載の撮像装置において、
前記操作部が操作されると、前記位置制御部により前記焦点調節光学系の移動が開始されてから前記合焦位置へ移動するまでに、前記検出部により合焦位置を検出するための露出制御を行う露出制御部と、を備える撮像装置。
The imaging device according to any one of claims 1 to 6.
Exposure control for detecting the in-focus position by the detection unit from when the movement of the focusing optical system is started by the position control unit when the operation unit is operated to when the movement to the in-focus position is performed And an exposure control unit that performs the image processing.
請求項7に記載の撮像装置において、
前記撮像部から出力された信号に基づいて画像を表示する表示部を備え、
前記露出制御部は、前記操作部が操作されるまで、前記表示部に表示する画像を撮像するための露出制御を行い、前記位置制御部により前記焦点調節光学系の移動が開始されてから前記合焦位置へ移動するまでに、前記検出部により合焦位置を検出するための露出制御を行う撮像装置。
In the imaging device according to claim 7,
A display unit configured to display an image based on the signal output from the imaging unit;
The exposure control unit performs exposure control for capturing an image to be displayed on the display unit until the operation unit is operated, and the movement of the focusing optical system is started by the position control unit. An imaging apparatus that performs exposure control for detecting the in-focus position by the detection unit before moving to the in-focus position.
JP2019020776A 2019-02-07 2019-02-07 Imaging apparatus Pending JP2019095808A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019020776A JP2019095808A (en) 2019-02-07 2019-02-07 Imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019020776A JP2019095808A (en) 2019-02-07 2019-02-07 Imaging apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016159919A Division JP6477630B2 (en) 2016-08-17 2016-08-17 Imaging device

Publications (1)

Publication Number Publication Date
JP2019095808A true JP2019095808A (en) 2019-06-20

Family

ID=66972972

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019020776A Pending JP2019095808A (en) 2019-02-07 2019-02-07 Imaging apparatus

Country Status (1)

Country Link
JP (1) JP2019095808A (en)

Similar Documents

Publication Publication Date Title
JP6019556B2 (en) Focus detection device, imaging device, and camera.
JP2013025144A (en) Focus adjustment device and imaging apparatus
JP2012168488A (en) Focusing device and imaging apparatus
JP5831070B2 (en) Imaging device
JP6477744B2 (en) interchangeable lens
JP5760792B2 (en) Focus adjustment device and imaging device
JP5891667B2 (en) Focus adjustment device and imaging device provided with the same
JP5454521B2 (en) Imaging device
JP2013061579A (en) Focusing device and imaging apparatus
JP6098690B2 (en) Lens barrel and camera body
JP6477630B2 (en) Imaging device
JP5987285B2 (en) Focus adjustment device and imaging device
JP5821934B2 (en) Focus detection device, camera body, and camera
JP2019095808A (en) Imaging apparatus
JP5370411B2 (en) Imaging device
JP2014074853A (en) Focus adjustment device and imaging device
JP5966283B2 (en) Camera body and camera
JP5423734B2 (en) Lens barrel and imaging device
JP6477576B2 (en) Imaging device
JP2016122210A (en) Focus detection device and imaging device
JP5764953B2 (en) Focus adjustment device and imaging device
JP2019095809A (en) Imaging apparatus
JP5545278B2 (en) Lens adapter and camera body
JP5434992B2 (en) Imaging device
JP2019095806A (en) Imaging apparatus and interchangeable lens

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200225

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20200424

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20200901