JP6432150B2 - Lens barrel and camera body - Google Patents

Lens barrel and camera body Download PDF

Info

Publication number
JP6432150B2
JP6432150B2 JP2014079200A JP2014079200A JP6432150B2 JP 6432150 B2 JP6432150 B2 JP 6432150B2 JP 2014079200 A JP2014079200 A JP 2014079200A JP 2014079200 A JP2014079200 A JP 2014079200A JP 6432150 B2 JP6432150 B2 JP 6432150B2
Authority
JP
Japan
Prior art keywords
drive
lens
focus
target
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014079200A
Other languages
Japanese (ja)
Other versions
JP2015200767A (en
Inventor
前田 敏彰
敏彰 前田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2014079200A priority Critical patent/JP6432150B2/en
Publication of JP2015200767A publication Critical patent/JP2015200767A/en
Application granted granted Critical
Publication of JP6432150B2 publication Critical patent/JP6432150B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Structure And Mechanism Of Cameras (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)
  • Focusing (AREA)
  • Lens Barrels (AREA)

Description

本発明は、レンズ鏡筒およびカメラボディに関する。   The present invention relates to a lens barrel and a camera body.

従来より、被写体にピントの合う焦点調節レンズのレンズ位置を目標駆動位置として算出し、焦点調節レンズを目標駆動位置まで駆動する技術が知られている(たとえば、特許文献1参照)。   2. Description of the Related Art Conventionally, a technique for calculating a lens position of a focus adjustment lens that is in focus on a subject as a target drive position and driving the focus adjustment lens to the target drive position is known (see, for example, Patent Document 1).

特開平08−50229号公報Japanese Patent Laid-Open No. 08-50229

しかしながら、焦点調節レンズの目標駆動位置への駆動が完了している必要がある時間は、オートフォーカスモードや撮影モードなどによって異なるが、従来技術では、焦点調節レンズの目標駆動位置への駆動時間に余裕がある場合でも、焦点調節レンズが最短時間で目標駆動位置に駆動するように焦点調節レンズの駆動を制御するために、光学系の焦点調節精度が低下してしまう場合があった。   However, the time required for the focus adjustment lens to be driven to the target drive position varies depending on the autofocus mode, the shooting mode, and the like. Even when there is a margin, the focus adjustment accuracy of the optical system may be lowered because the drive of the focus adjustment lens is controlled so that the focus adjustment lens is driven to the target drive position in the shortest time.

本発明が解決しようとする課題は、焦点調節レンズの駆動を適切に制御することができるレンズ鏡筒を提供することである。   The problem to be solved by the present invention is to provide a lens barrel capable of appropriately controlling the driving of the focus adjustment lens.

本発明は、以下の解決手段によって上記課題を解決する。   The present invention solves the above problems by the following means.

[1]本発明に係るレンズ鏡筒は、焦点調節レンズを含む光学系と、前記焦点調節レンズの目標駆動位置または目標駆動量と、前記目標駆動位置または前記目標駆動量に基づいた前記焦点調節レンズの駆動を完了させる目標駆動完了時間とを、カメラボディから受信するレンズ通信部と、前記焦点調節レンズを第1速度で前記目標駆動位置に駆動させる場合の駆動時間、または、前記焦点調節レンズを前記第1速度で前記目標駆動量を駆動させる場合の駆動時間を予定駆動完了時間として算出する算出部と、前記予定駆動完了時間が前記目標駆動完了時間よりも短い場合には、前記予定駆動完了時間よりも長くかつ前記目標駆動完了時間以下の時間内で、前記焦点調節レンズを第1の方向への駆動及び前記第1の方向と反対方向の第2の方向への駆動をして前記目標駆動位置に駆動するように、または、前記焦点調節レンズを第1の方向への駆動及び前記第1の方向と反対の第2の方向への駆動をして前記目標駆動量を駆動するように、前記焦点調節レンズの駆動を制御する制御部と、を有する。
[2]上記レンズ鏡筒に係る発明において、前記レンズ通信部は、前記レンズ鏡筒が前記目標駆動完了時間に基づいた駆動制御を実行できるか否かを識別するための識別信号を、前記カメラボディに対して送信する。
[1] A lens barrel according to the present invention includes an optical system including a focus adjustment lens, a target drive position or a target drive amount of the focus adjustment lens, and the focus adjustment based on the target drive position or the target drive amount. A lens communication unit that receives a target drive completion time for completing the driving of the lens from the camera body, a drive time for driving the focus adjustment lens to the target drive position at a first speed, or the focus adjustment lens Calculating the drive time when the target drive amount is driven at the first speed as the scheduled drive completion time, and when the planned drive completion time is shorter than the target drive completion time, the scheduled drive The focus adjustment lens is driven in the first direction and driven in the second direction opposite to the first direction within a time longer than the completion time and not longer than the target drive completion time. The target drive position is driven to move to the target drive position, or the focus adjustment lens is driven in a first direction and in a second direction opposite to the first direction. And a controller for controlling the driving of the focusing lens so as to drive the amount.
[2] In the invention related to the lens barrel, the lens communication unit may send an identification signal for identifying whether or not the lens barrel can execute drive control based on the target drive completion time to the camera. Send to body.

本発明によれば、焦点調節レンズの駆動を適切に制御することができる。   According to the present invention, it is possible to appropriately control the driving of the focus adjustment lens.

図1は、本実施形態に係るカメラを示すブロック図である。FIG. 1 is a block diagram showing a camera according to the present embodiment. 図2は、図1に示す撮像素子の撮像面を示す正面図である。FIG. 2 is a front view showing an imaging surface of the imaging device shown in FIG. 図3は、図2のIII部を拡大して焦点検出画素222a,222bの配列を模式的に示す正面図である。FIG. 3 is a front view schematically showing the arrangement of the focus detection pixels 222a and 222b by enlarging the III part of FIG. 図4(A)は、撮像画素221の一つを拡大して示す正面図、図4(B)は、焦点検出画素222aの一つを拡大して示す正面図、図4(C)は、焦点検出画素222bの一つを拡大して示す正面図、図4(D)は、撮像画素221の一つを拡大して示す断面図、図4(E)は、焦点検出画素222aの一つを拡大して示す断面図、図4(F)は、焦点検出画素222bの一つを拡大して示す断面図である。4A is an enlarged front view showing one of the imaging pixels 221, FIG. 4B is an enlarged front view showing one of the focus detection pixels 222a, and FIG. FIG. 4D is an enlarged front view showing one of the focus detection pixels 222b, FIG. 4D is a cross-sectional view showing one of the imaging pixels 221 in an enlarged manner, and FIG. 4E is one of the focus detection pixels 222a. FIG. 4F is an enlarged sectional view showing one of the focus detection pixels 222b. 図5は、図3のV-V線に沿う断面図である。FIG. 5 is a cross-sectional view taken along the line VV in FIG. 図6は、コントラスト検出方式による焦点検出方法の一例を説明するための図である。FIG. 6 is a diagram for explaining an example of a focus detection method using a contrast detection method. 図7は、第1実施形態におけるレンズ鏡筒とカメラ本体とのフォーカスレンズの駆動制御に関する情報の授受の一例を説明するための図である。FIG. 7 is a diagram for explaining an example of transmission / reception of information regarding drive control of the focus lens between the lens barrel and the camera body in the first embodiment. 図8は、第1実施形態に係るカメラ1の動作を示すフローチャートである。FIG. 8 is a flowchart showing the operation of the camera 1 according to the first embodiment. 図9は、第1実施形態に係る位相差検出方式による焦点検出結果に基づくレンズ駆動制御処理を示すフローチャートである。FIG. 9 is a flowchart showing a lens drive control process based on the focus detection result by the phase difference detection method according to the first embodiment. 図10は、第1駆動制御および第2駆動制御でのフォーカスレンズの駆動制御方法を説明するための図である。FIG. 10 is a diagram for explaining a focus lens drive control method in the first drive control and the second drive control. 図11(A),(B)は、第1駆動制御および第2駆動制御によるフォーカスレンズの停止位置の一例を示す図である。FIGS. 11A and 11B are diagrams illustrating an example of a stop position of the focus lens by the first drive control and the second drive control. 図12は、第2駆動制御でのフォーカスレンズの他の駆動制御方法を説明するための図である。FIG. 12 is a diagram for explaining another drive control method of the focus lens in the second drive control. 図13は、第1実施形態に係るコントラスト検出方式による焦点検出結果に基づくレンズ駆動制御処理を示すフローチャートである。FIG. 13 is a flowchart illustrating a lens drive control process based on a focus detection result by the contrast detection method according to the first embodiment. 図14は、フォーカスレンズの駆動伝達機構のガタ量Gを説明するための図である。FIG. 14 is a diagram for explaining the play amount G of the focus lens drive transmission mechanism. 図15は、第2駆動制御でのフォーカスレンズの他の駆動制御方法を説明するための図である。FIG. 15 is a diagram for explaining another drive control method of the focus lens in the second drive control. 図16は、第2実施形態におけるレンズ鏡筒とカメラ本体とのフォーカスレンズ32の駆動制御に関する情報の授受の一例を説明するための図である。FIG. 16 is a diagram for explaining an example of exchange of information regarding drive control of the focus lens 32 between the lens barrel and the camera body in the second embodiment. 図17は、第2実施形態に係る位相差検出方式による焦点検出結果に基づくレンズ駆動制御処理を示すフローチャートである。FIG. 17 is a flowchart showing a lens drive control process based on a focus detection result by the phase difference detection method according to the second embodiment. 図18(A)は、レンズ鏡筒が駆動残時間を送信できないレンズ鏡筒である場合のカメラの動作を説明するための図であり、図18(B)は、レンズ鏡筒が駆動残時間を送信可能なレンズ鏡筒である場合のカメラの動作を説明するための図である。18A is a diagram for explaining the operation of the camera when the lens barrel is a lens barrel that cannot transmit the remaining drive time, and FIG. 18B is a diagram illustrating the remaining drive time of the lens barrel. It is a figure for demonstrating operation | movement of a camera in the case of a lens-barrel which can transmit. 図19は、第2実施形態に係る位相差検出方式による焦点検出結果に基づくレンズ駆動制御処理を示すフローチャートである。FIG. 19 is a flowchart showing a lens drive control process based on a focus detection result by the phase difference detection method according to the second embodiment.

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

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

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

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

エンコーダ35で検出されたフォーカスレンズ32の現在位置情報は、レンズ制御部37を介して、後述するカメラ制御部21へ送出される。そして、カメラ制御部21は、この情報に基づいて、フォーカスレンズ32の目標駆動量を演算し、演算したフォーカスレンズ32の目標駆動量を、レンズ制御部37を介して、フォーカスレンズ駆動モータ36に送信する。これにより、フォーカスレンズ駆動モータ36は、フォーカスレンズ32を目標駆動位置まで駆動させることができる。   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. The camera control unit 21 calculates the target drive amount of the focus lens 32 based on this information, and sends the calculated target drive amount of the focus lens 32 to the focus lens drive motor 36 via the lens control unit 37. Send. Thereby, the focus lens drive motor 36 can drive the focus lens 32 to the target drive position.

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

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

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

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

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

操作部28は、シャッターレリーズボタンなどの撮影者がカメラ1の各種動作モードを設定するための入力スイッチであり、オートフォーカスモード/マニュアルフォーカスモードの切換や、オートフォーカスモードの中でも、AF−Sモード/AF−Cモードの切換が行えるようになっている。さらに、操作部28は、これらに加えて、静止画撮影モード/動画撮影モードの切換、風景撮影モード/スポーツ撮影モード/ペット撮影モードなどの撮影シーンモードの切換、連写撮影モード/単写撮影モードの切換、省電力モードの設定、速度優先モードの設定などが行えるようになっている。操作部28により設定された各種モードはカメラ制御部21へ送出され、当該カメラ制御部21によりカメラ1全体の動作が制御される。また、シャッターレリーズボタンは、ボタンの半押しでONとなる第1スイッチSW1と、ボタンの全押しでONとなる第2スイッチSW2とを含む。さらに、ユーザは、シャッターレリーズボタンの半押し操作(第1スイッチSW1のオン)の直後に全押し操作(第2スイッチSW2のオン)を行うことで、一気押し操作を行うことができ、この場合、一気押し操作が行われたことを示す情報がカメラ制御部21に送信される。   The operation unit 28 is an input switch for a photographer to set various operation modes of the camera 1 such as a shutter release button. The auto-focus mode / manual focus mode is switched, and the AF-S mode is also used in the auto-focus mode. / AF-C mode can be switched. Further, in addition to these, the operation unit 28 switches between still image shooting mode / moving image shooting mode, switching of a shooting scene mode such as landscape shooting mode / sport shooting mode / pet shooting mode, continuous shooting mode / single shooting mode. Mode switching, power saving mode setting, speed priority mode setting, etc. can be performed. Various modes set by the operation unit 28 are sent to the camera control unit 21, and the operation of the entire camera 1 is controlled by the camera control unit 21. The shutter release button includes a first switch SW1 that is turned on when the button is half-pressed and a second switch SW2 that is turned on when the button is fully pressed. Furthermore, the user can perform a full-press operation (second switch SW2 is turned on) immediately after the shutter release button is half-pressed (first switch SW1 is turned on). Information indicating that a single push operation has been performed is transmitted to the camera control unit 21.

ここで、AF−Sモードとは、シャッターレリーズボタンの半押しがされた後、焦点検出結果に基づき、フォーカスレンズ32を駆動することで合焦駆動を行ない、一度調節したフォーカスレンズ32の位置を固定し、そのフォーカスレンズ位置で撮影するモードである。なお、AF−Sモードは、合焦精度を重視したモードであり、たとえば、静止している被写体を撮影する際に選択される。また、AF−Cモードとは、シャッターレリーズボタンの半押しがされた後、焦点検出結果に基づき、フォーカスレンズ32を駆動することで合焦駆動を行ない、その後、シャッターレリーズボタンの半押し操作が継続されている間は、焦点状態の検出を繰り返し行い、焦点状態が変化した場合には、変化した焦点状態に応じて、フォーカスレンズ32を駆動するモードである。なお、AF−Cモードは、被写体への追従性を重視したモードであり、たとえば、動体である被写体を撮影する際に選択される。   Here, the AF-S mode means that after the shutter release button is half-pressed, the focus lens 32 is driven based on the focus detection result to perform the focus drive, and the position of the focus lens 32 adjusted once is set. This is a mode in which the subject is fixed and photographed at the focus lens position. The AF-S mode is a mode in which focusing accuracy is emphasized, and is selected, for example, when shooting a stationary subject. In the AF-C mode, after the shutter release button is half-pressed, the focus lens 32 is driven based on the focus detection result to perform in-focus driving, and then the shutter release button is half-pressed. While the operation is continued, the focus state is repeatedly detected, and when the focus state changes, the focus lens 32 is driven in accordance with the changed focus state. The AF-C mode is a mode in which followability to a subject is emphasized, and is selected when, for example, a subject that is a moving object is photographed.

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

また、省電力モードとは、消費電力の抑制を優先するモードである。たとえば、本実施形態では、省電力モードが設定されている場合には、カメラ1の消費電力を抑制するために、画像処理回路の一部に対する電力供給の抑制や、フォーカスレンズ32の駆動モータに対する電力供給の抑制が行われる。   The power saving mode is a mode that prioritizes suppression of power consumption. For example, in the present embodiment, when the power saving mode is set, in order to suppress the power consumption of the camera 1, the power supply to a part of the image processing circuit or the drive motor for the focus lens 32 is suppressed. The power supply is suppressed.

さらに、速度優先モードとは、消費電力の抑制よりも、被写体に素早くピントを合わせることを優先するモードである。たとえば、本実施形態では、速度優先モードが設定されている場合に、カメラ制御部21により、短い時間でフォーカスレンズ32が合焦位置まで駆動するように、フォーカスレンズ32の駆動制御が行われる。   Furthermore, the speed priority mode is a mode in which priority is given to quickly focusing on the subject rather than suppression of power consumption. For example, in the present embodiment, when the speed priority mode is set, drive control of the focus lens 32 is performed by the camera control unit 21 so that the focus lens 32 is driven to the in-focus position in a short time.

次に、本実施形態に係る撮像素子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 the III part of FIG.

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

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

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

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

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

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

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

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

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

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

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

なお、図5において焦点検出画素222a−1,222b−1,222a−2,222b−2の配列方向は一対の測距瞳351,352の並び方向と一致している。   In FIG. 5, 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 measuring pupils 351 and 352.

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

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

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

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

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

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

なお、これら位相差検出方式による像ズレ量の演算、デフォーカス量の演算、および合焦駆動はカメラ制御部21により実行される。   The calculation of the image shift amount, the calculation of the defocus amount, and the focus drive by these phase difference detection methods are executed by the camera control unit 21.

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

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

ここで、図6は、コントラスト検出方式による焦点検出方法の一例を説明するための図である。図6に示す例では、フォーカスレンズ32が、図6に示すP0に位置しており、まず、P0から、所定のサーチ開始位置(図6中、P1の位置)まで、フォーカスレンズ32を駆動させる初期駆動が行われる。そして、フォーカスレンズ32を、サーチ開始位置から(図6中、P1の位置)、無限遠側から至近側に向けて駆動させながら、所定間隔で、コントラスト検出方式による焦点評価値の取得を行うサーチ駆動が行われる。そして、フォーカスレンズ32を、図6に示すP2の位置に移動させた時点において、焦点評価値のピーク位置(図6中、P3の位置)が合焦位置として検出され、検出された合焦位置(図6中、P3の位置)まで、フォーカスレンズ32を駆動させる合焦駆動が行われる。   Here, FIG. 6 is a diagram for explaining an example of a focus detection method using a contrast detection method. In the example shown in FIG. 6, the focus lens 32 is located at P0 shown in FIG. 6. First, the focus lens 32 is driven from P0 to a predetermined search start position (position P1 in FIG. 6). Initial drive is performed. Then, the focus lens 32 is driven from the search start position (position P1 in FIG. 6) from the infinity side to the close side, and the focus evaluation value is acquired by the contrast detection method at a predetermined interval. Driving is performed. When the focus lens 32 is moved to the position P2 shown in FIG. 6, the peak position of the focus evaluation value (position P3 in FIG. 6) is detected as the focus position, and the detected focus position is detected. Focusing driving for driving the focus lens 32 is performed up to (position P3 in FIG. 6).

次に、第1実施形態におけるレンズ鏡筒3とカメラ本体2とのフォーカスレンズ32の駆動制御に関する情報の授受について説明する。図7は、第1実施形態におけるレンズ鏡筒3とカメラ本体2とのフォーカスレンズ32の駆動制御に関する情報の授受の一例を説明するための図である。   Next, transmission / reception of information relating to drive control of the focus lens 32 between the lens barrel 3 and the camera body 2 in the first embodiment will be described. FIG. 7 is a diagram for explaining an example of exchange of information regarding drive control of the focus lens 32 between the lens barrel 3 and the camera body 2 in the first embodiment.

第1実施形態において、カメラ本体2は、位相差検出方式によりデフォーカス量を算出した場合には、デフォーカス量に基づいてフォーカスレンズ32の目標駆動量を算出し、図7に示すように、算出した目標駆動量を、命令IDを含む駆動命令とともにレンズ鏡筒3に送信する。また、本実施形態では、目標駆動量に基づいてフォーカスレンズ32を目標駆動位置まで駆動している間も、位相差検出方式による焦点検出は繰り返し行われおり、カメラ本体2は、所定の時間間隔で、駆動命令と目標駆動量とをレンズ鏡筒3に送信する。   In the first embodiment, when the camera body 2 calculates the defocus amount by the phase difference detection method, the camera body 2 calculates the target drive amount of the focus lens 32 based on the defocus amount, and as shown in FIG. The calculated target drive amount is transmitted to the lens barrel 3 together with the drive command including the command ID. In the present embodiment, focus detection by the phase difference detection method is repeatedly performed while the focus lens 32 is being driven to the target drive position based on the target drive amount, and the camera body 2 has a predetermined time interval. Then, the drive command and the target drive amount are transmitted to the lens barrel 3.

そして、カメラ本体2からレンズ鏡筒3に駆動命令と目標駆動量とが送信されると、レンズ鏡筒3は、フォーカスレンズ32が目標駆動量を駆動するように、フォーカスレンズ32を駆動する。また、レンズ鏡筒3は、フォーカスレンズ32のレンズ位置を繰り返し検出しており、フォーカスレンズのレンズ位置を駆動命令の命令IDに関連付けて、カメラ本体2に周期的に送信する。   When a drive command and a target drive amount are transmitted from the camera body 2 to the lens barrel 3, the lens barrel 3 drives the focus lens 32 so that the focus lens 32 drives the target drive amount. The lens barrel 3 repeatedly detects the lens position of the focus lens 32 and periodically transmits the focus lens position to the camera body 2 in association with the command ID of the drive command.

また、コントラスト検出方式により合焦位置を検出した場合には、カメラ本体2は、フォーカスレンズ32を合焦位置まで駆動するための目標駆動量を算出し、算出した目標駆動量を、命令IDを含む駆動命令とともにレンズ鏡筒3に送信する。この場合も、レンズ鏡筒3は、フォーカスレンズ32が目標駆動量を駆動するように、フォーカスレンズ32を駆動するともに、フォーカスレンズ32のレンズ位置を検出し、駆動命令に含まれる命令IDとフォーカスレンズのレンズ位置とをカメラ本体2に送信する。   When the in-focus position is detected by the contrast detection method, the camera body 2 calculates a target drive amount for driving the focus lens 32 to the in-focus position, and uses the calculated target drive amount as a command ID. It is transmitted to the lens barrel 3 together with the drive command including it. In this case as well, the lens barrel 3 drives the focus lens 32 so that the focus lens 32 drives the target drive amount, detects the lens position of the focus lens 32, and includes the command ID and focus included in the drive command. The lens position of the lens is transmitted to the camera body 2.

さらに、第1実施形態において、カメラ本体2は、フォーカスレンズ32の目標駆動完了時間をレンズ鏡筒3に送信する。ここで、目標駆動完了時間とは、駆動命令に基づいてフォーカスレンズ32を駆動させる場合に、フォーカスレンズ32が目標駆動位置に到達するまでに与えられる駆動時間である。言い換えれば、目標駆動完了時間とは、駆動命令に基づいてフォーカスレンズ32を駆動させる場合に、当該目標駆動完了時間内に、フォーカスレンズ32の駆動が完了していることが望まれる時間である。   Furthermore, in the first embodiment, the camera body 2 transmits the target drive completion time of the focus lens 32 to the lens barrel 3. Here, the target drive completion time is a drive time given until the focus lens 32 reaches the target drive position when the focus lens 32 is driven based on the drive command. In other words, the target drive completion time is a time when it is desired that the drive of the focus lens 32 is completed within the target drive completion time when the focus lens 32 is driven based on the drive command.

本実施形態においては、目標駆動完了時間の長さは、カメラ制御部21により設定される。具体的には、カメラ制御部21は、AF−S/AF−Cのフォーカスモード、風景撮影シーン、スポーツ撮影シーン、またはペット撮影シーンなどの撮影シーンモード、単写撮影であるか連写撮影であるか、動画撮影であるか静止画撮影であるか、レリーズボタンを一気押ししているか否か、省電力モードが設定されているか否か、速度優先モードが設定されているか否か、レンズ鏡筒3がマクロレンズであるか否かなどに基づいて、目標駆動完了時間の長さを決定することができる。なお、カメラ制御部21による目標駆動完了時間の設定方法については後述する。   In the present embodiment, the length of the target drive completion time is set by the camera control unit 21. Specifically, the camera control unit 21 performs AF-S / AF-C focus mode, shooting scene mode such as a landscape shooting scene, a sports shooting scene, or a pet shooting scene, single shooting or continuous shooting. Whether it is video shooting or still image shooting, whether the release button is pressed at once, whether the power saving mode is set, whether the speed priority mode is set, the lens mirror The length of the target drive completion time can be determined based on whether or not the cylinder 3 is a macro lens. A method for setting the target drive completion time by the camera control unit 21 will be described later.

また、レンズ鏡筒3は、カメラ本体2から目標駆動完了時間を受信すると、目標駆動完了時間内でフォーカスレンズ32を駆動するように、フォーカスレンズ32の駆動制御を実行する。また、本実施形態において、レンズ鏡筒3は、図7に示すように、目標駆動完了時間に基づくフォーカスレンズ32の駆動制御が実行可能なレンズ鏡筒であることを示す識別信号をカメラ本体2に送信しており、カメラ本体2は、レンズ鏡筒3からこの識別信号を受信した場合に、カメラ鏡筒3に対して目標駆動完了時間を送信する。   When the lens barrel 3 receives the target drive completion time from the camera body 2, the lens barrel 3 performs drive control of the focus lens 32 so that the focus lens 32 is driven within the target drive completion time. In the present embodiment, as shown in FIG. 7, the lens barrel 3 receives an identification signal indicating that the lens barrel 3 is a lens barrel capable of executing drive control of the focus lens 32 based on the target drive completion time. When the camera body 2 receives this identification signal from the lens barrel 3, the camera body 2 transmits a target drive completion time to the camera barrel 3.

なお、レンズ鏡筒3が目標駆動完了時間に基づいた駆動制御を実行することができないレンズ鏡筒である場合には、レンズ鏡筒3からカメラ本体2に対して、上記識別信号は送信されない。このように、レンズ鏡筒3から識別信号を受信できない場合には、カメラ本体2は、目標駆動完了時間をレンズ鏡筒3に送信せずに、駆動命令および目標駆動量のみをレンズ鏡筒3に送信する。   When the lens barrel 3 is a lens barrel that cannot execute drive control based on the target drive completion time, the identification signal is not transmitted from the lens barrel 3 to the camera body 2. As described above, when the identification signal cannot be received from the lens barrel 3, the camera body 2 does not transmit the target drive completion time to the lens barrel 3, but only the drive command and the target drive amount. Send to.

次いで、第1実施形態に係るカメラ1の動作例を説明する。図8は、カメラ1の動作を示すフローチャートである。なお、図8に示す動作は、カメラ本体2の電源がオンされることで開始される。   Next, an operation example of the camera 1 according to the first embodiment will be described. FIG. 8 is a flowchart showing the operation of the camera 1. The operation shown in FIG. 8 is started when the camera body 2 is turned on.

まず、ステップS101では、カメラ制御部21により、レンズ鏡筒3が、目標駆動完了時間に基づいたフォーカスレンズ32の駆動制御を実行可能なレンズ鏡筒であるか否かを確認するレンズ確認処理が行われる。本実施形態では、レンズ鏡筒3が目標駆動完了時間に基づいた駆動制御を実行可能である場合には、図7に示すように、レンズ鏡筒3が目標駆動完了時間に基づいた駆動制御を実行可能であることを示す識別信号が、レンズ鏡筒3からカメラ本体2に周期的に送信される。これにより、カメラ制御部21は、レンズ鏡筒3が目標駆動完了時間に基づいた駆動制御を実行可能なレンズ鏡筒であるか否かを確認することができる。なお、このレンズ確認処理の結果は、後述するステップ202,302において利用されることとなる。   First, in step S101, the camera control unit 21 performs lens confirmation processing for confirming whether the lens barrel 3 is a lens barrel capable of executing drive control of the focus lens 32 based on the target drive completion time. Done. In the present embodiment, when the lens barrel 3 can execute the drive control based on the target drive completion time, the lens barrel 3 performs the drive control based on the target drive completion time as shown in FIG. An identification signal indicating that it can be executed is periodically transmitted from the lens barrel 3 to the camera body 2. Thereby, the camera control unit 21 can confirm whether or not the lens barrel 3 is a lens barrel capable of executing drive control based on the target drive completion time. The result of this lens confirmation process is used in steps 202 and 302 described later.

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

ステップS103では、カメラ制御部21による焦点評価値の算出処理が開始される。本実施形態では、焦点評価値の算出処理は、撮像素子22の撮像画素221の画素出力を読み出し、読み出した画素出力の高周波成分を、高周波透過フィルタを用いて抽出し、これを積算することにより行われる。焦点評価値の算出は、使用者の手動操作により、特定の焦点検出位置が選択されているときには、選択された焦点検出位置に対応する撮像画素221の画素出力のみを読み出すような構成としてもよい。なお、焦点評価値の算出処理も、所定の間隔で繰り返し実行される。   In step S103, the camera control unit 21 starts a focus evaluation value calculation process. In the present embodiment, the focus evaluation value calculation process is performed by reading out the pixel output of the imaging pixel 221 of the imaging element 22, extracting a high-frequency component of the read-out pixel output using a high-frequency transmission filter, and accumulating these. Done. The calculation of the focus evaluation value may be configured to read out only the pixel output of the imaging pixel 221 corresponding to the selected focus detection position when a specific focus detection position is selected by a user's manual operation. . The focus evaluation value calculation process is also repeatedly executed at predetermined intervals.

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

ステップS105では、カメラ制御部21により、デフォーカス量が算出できたか否かの判定が行なわれる。位相差検出方式によりデフォーカス量が算出できた場合には、測距可能と判断して、ステップS110に進む。一方、デフォーカス量が算出できなかった場合には、測距不能と判断して、ステップS106に進む。なお、本実施形態においては、デフォーカス量の算出ができた場合でも、算出されたデフォーカス量の信頼性が低い場合にも、デフォーカス量の算出ができなかったものとして扱い、ステップS106に進むこととする。   In step S105, the camera control unit 21 determines whether or not the defocus amount has been calculated. If the defocus amount can be calculated by the phase difference detection method, it is determined that distance measurement is possible, and the process proceeds to step S110. On the other hand, if the defocus amount cannot be calculated, it is determined that distance measurement is impossible, and the process proceeds to step S106. In the present embodiment, even when the defocus amount can be calculated, even if the reliability of the calculated defocus amount is low, it is treated that the defocus amount cannot be calculated, and the process returns to step S106. Let's go ahead.

ステップS105において、デフォーカス量が算出できたと判定され、測距可能と判断された場合には、ステップS110に進み、位相差検出方式により算出されたデフォーカス量に基づいて、フォーカスレンズ32を駆動させるレンズ駆動制御処理が行なわれる。ここで、図9は、ステップS110のレンズ駆動制御処理を示すフローチャートであり、図10は、本実施形態に係るフォーカスレンズの駆動制御を説明するための図である。   If it is determined in step S105 that the defocus amount has been calculated and it is determined that distance measurement is possible, the process proceeds to step S110, and the focus lens 32 is driven based on the defocus amount calculated by the phase difference detection method. A lens drive control process is performed. Here, FIG. 9 is a flowchart showing the lens drive control process in step S110, and FIG. 10 is a diagram for explaining the drive control of the focus lens according to the present embodiment.

第1実施形態に係るフォーカスレンズ32の駆動制御では、図10に示すように、フォーカスレンズ32を最大駆動速度で目標駆動位置まで駆動させる第1駆動制御と、少なくとも目標駆動位置近傍においてフォーカスレンズ32の駆動速度を遅くすることで、フォーカスレンズ32をより高い精度で目標駆動位置に停止させる第2駆動制御とが行われる。   In the drive control of the focus lens 32 according to the first embodiment, as shown in FIG. 10, the first drive control for driving the focus lens 32 to the target drive position at the maximum drive speed, and the focus lens 32 at least in the vicinity of the target drive position. The second drive control for stopping the focus lens 32 at the target drive position with higher accuracy is performed by slowing down the drive speed.

まず、ステップS201では、カメラ制御部21により、位相差検出方式により算出されたデフォーカス量に基づいて、フォーカスレンズ32の目標駆動量の算出が行われる。   First, in step S201, the camera controller 21 calculates the target drive amount of the focus lens 32 based on the defocus amount calculated by the phase difference detection method.

そして、ステップS202では、カメラ制御部21により、レンズ鏡筒3が、第2駆動制御に対応するレンズ鏡筒であるか否か、すなわち、目標駆動完了時間に基づく駆動制御可能なレンズ鏡筒であるか否かの判断が行われる。たとえば、カメラ制御部21は、ステップS101でのレンズ確認処理の結果を参照することで、レンズ鏡筒3が第2駆動制御に対応するレンズ鏡筒であるか否かを判断することができる。そして、レンズ鏡筒3が第2駆動制御に対応するレンズ鏡筒であると判断された場合には、ステップS205に進み、一方、レンズ鏡筒3が第2駆動制御に対応しないレンズ鏡筒であると判断された場合には、ステップS203に進む。   In step S202, the camera control unit 21 determines whether or not the lens barrel 3 is a lens barrel corresponding to the second drive control, that is, a lens barrel that can be driven and controlled based on the target drive completion time. A determination is made whether or not there is. For example, the camera control unit 21 can determine whether or not the lens barrel 3 is a lens barrel corresponding to the second drive control by referring to the result of the lens confirmation processing in step S101. If it is determined that the lens barrel 3 is a lens barrel corresponding to the second drive control, the process proceeds to step S205, while the lens barrel 3 is a lens barrel not corresponding to the second drive control. If it is determined that there is, the process proceeds to step S203.

ステップS203〜204では、レンズ鏡筒3が第2駆動制御に対応していないレンズ鏡筒であると判断されているため、従来と同様に、フォーカスレンズ32を、フォーカスレンズ32の最大駆動速度で目標駆動位置まで駆動させる第1駆動制御が行われる。   In steps S203 to S204, since it is determined that the lens barrel 3 is a lens barrel that does not support the second drive control, the focus lens 32 is moved at the maximum drive speed of the focus lens 32 as in the conventional case. First drive control for driving to the target drive position is performed.

すなわち、まず、ステップS203では、カメラ制御部21により、ステップS201で算出された目標駆動量と駆動命令とがレンズ鏡筒3に送信される。なお、ステップS203では、レンズ鏡筒3が第2駆動制御に対応していないレンズ鏡筒であると判断されているため、カメラ本体2からレンズ鏡筒3に対して目標駆動完了時間は送信されず、目標駆動量と駆動命令のみが送信される。そして、カメラ本体2から送信された目標駆動量および駆動命令がレンズ鏡筒3により受信される。   That is, first, in step S203, the target drive amount and the drive command calculated in step S201 are transmitted to the lens barrel 3 by the camera control unit 21. In step S203, since the lens barrel 3 is determined to be a lens barrel that does not support the second drive control, the target drive completion time is transmitted from the camera body 2 to the lens barrel 3. Instead, only the target drive amount and the drive command are transmitted. Then, the target drive amount and the drive command transmitted from the camera body 2 are received by the lens barrel 3.

ステップS204では、レンズ制御部37により、ステップS202で受信したレンズ駆動量に基づいて、フォーカスレンズ32の第1駆動制御が行われる。具体的には、レンズ制御部37は、図10に示すように、フォーカスレンズ32を最大駆動速度で目標駆動量だけ駆動させる。   In step S204, the lens controller 37 performs first drive control of the focus lens 32 based on the lens drive amount received in step S202. Specifically, as shown in FIG. 10, the lens control unit 37 drives the focus lens 32 by the target drive amount at the maximum drive speed.

一方、ステップS202において、レンズ鏡筒3が第2駆動制御に対応するレンズ鏡筒であると判断された場合には、ステップS205に進む。そして、ステップS205〜S209では、目標駆動完了時間に基づいてフォーカスレンズ32の駆動制御を行う第2駆動制御が実行される。   On the other hand, if it is determined in step S202 that the lens barrel 3 is a lens barrel corresponding to the second drive control, the process proceeds to step S205. In steps S <b> 205 to S <b> 209, second drive control that performs drive control of the focus lens 32 based on the target drive completion time is executed.

まず、ステップS205では、カメラ制御部21により、目標駆動完了時間の設定が行われる。たとえば、カメラ制御部21は、オートフォーカスモードとしてAF−Cモードが設定されている場合には、移動する被写体に短い時間でピントを合わせる必要があるため、目標駆動完了時間を短く設定することができ、また、オートフォーカスモードとしてAF−Sモードが設定されている場合には、精度優先の観点から、目標駆動完了時間を長く設定することができる。   First, in step S205, the camera control unit 21 sets a target drive completion time. For example, when the AF-C mode is set as the autofocus mode, the camera control unit 21 needs to focus on the moving subject in a short time, so that the target drive completion time can be set short. In addition, when the AF-S mode is set as the autofocus mode, the target drive completion time can be set longer from the viewpoint of accuracy priority.

また、カメラ制御部21は、たとえば、静止画撮影モードが設定されている場合には、被写体に素早くピントを合わせるために目標駆動完了時間を短く設定し、動画撮影モードが設定されている場合には、たとえば、フォーカスレンズ32のレンズ位置の変化により画角が短時間で大きく変化してしまわないように、目標駆動完了時間を長く設定することができる。さらに、カメラ制御部21は、たとえば、撮影シーンモードとして風景撮影シーンが設定されている場合には、被写体の像面位置の変化が少ないものと判断して、目標駆動完了時間を長く設定することができ、また、撮影シーンモードとしてスポーツ撮影モードやペット撮影モードが設定されている場合には、被写体の像面位置の変化が大きいものと判断して、目標駆動完了時間を長く設定することができる。   For example, when the still image shooting mode is set, the camera control unit 21 sets a short target drive completion time to quickly focus on the subject, and when the moving image shooting mode is set. For example, the target drive completion time can be set long so that the angle of view does not change significantly in a short time due to a change in the lens position of the focus lens 32. Furthermore, for example, when a landscape shooting scene is set as the shooting scene mode, the camera control unit 21 determines that the change in the image plane position of the subject is small and sets the target drive completion time to be long. If the sport shooting mode or the pet shooting mode is set as the shooting scene mode, it can be determined that the change in the image plane position of the subject is large and the target drive completion time can be set longer. it can.

さらに、カメラ制御部21は、たとえば、連写撮影モードが設定されている場合には、移動する被写体に短い時間でピントを合わせる必要がある傾向が高いため、目標駆動完了時間を短く設定し、一方、単写撮影モードが設定されている場合には、このような時間的な要求は小さいため、目標駆動完了時間を長く設定することができる。また、カメラ制御部21は、ユーザがレリーズボタンを一気押しした場合には、ユーザは素早く被写体を撮影したいと判断し、目標駆動完了時間を短く設定することができる。   Furthermore, for example, when the continuous shooting mode is set, the camera control unit 21 has a high tendency to focus on a moving subject in a short time, so the target drive completion time is set short, On the other hand, when the single shooting mode is set, such a time requirement is small, so that the target drive completion time can be set long. In addition, when the user presses the release button all at once, the camera control unit 21 determines that the user wants to quickly photograph the subject and can set the target drive completion time to be short.

加えて、カメラ制御部21は、たとえば省電力モードが設定されている場合には、フォーカスレンズ32の駆動速度が抑えられるため、目標駆動完了時間を長く設定することができる。さらに、カメラ制御部21は、たとえば速度優先モードが設定されている場合には、撮影までの時間が短くなるため、目標駆動完了時間を短く設定することができる。   In addition, for example, when the power saving mode is set, the camera control unit 21 can set the target drive completion time longer because the drive speed of the focus lens 32 is suppressed. Furthermore, for example, when the speed priority mode is set, the camera control unit 21 can set the target drive completion time short because the time until photographing is shortened.

また、カメラ制御部21は、フォーカスレンズ32のレンズ情報に基づいて、フォーカスレンズ32がマクロレンズであると判断できた場合には、被写界深度が浅いため、フォーカスレンズ32の停止精度を優先し、目標駆動完了時間を長く設定することができる。   In addition, when the camera control unit 21 can determine that the focus lens 32 is a macro lens based on the lens information of the focus lens 32, the depth of field is shallow, so priority is given to the stop accuracy of the focus lens 32. In addition, the target drive completion time can be set longer.

カメラ制御部21は、このような条件を総合的に判断して、目標駆動完了時間を適切に設定することができる。   The camera control unit 21 can comprehensively determine such a condition and appropriately set the target drive completion time.

そして、ステップS206では、カメラ制御部21により、ステップS201で算出した目標駆動量と、ステップS205で設定した目標駆動完了時間とが、駆動命令とともにレンズ鏡筒3に送信される。そして、カメラ制御部21により送信された目標駆動量と目標駆動完了時間と駆動命令とがレンズ制御部37に受信される。このように、ステップS206では、レンズ鏡筒3が第2駆動制御に対応するレンズ鏡筒であると判断されているため、目標駆動完了時間が目標駆動量とともにレンズ鏡筒3に送信される。   In step S206, the camera control unit 21 transmits the target drive amount calculated in step S201 and the target drive completion time set in step S205 to the lens barrel 3 together with the drive command. Then, the target drive amount, the target drive completion time, and the drive command transmitted by the camera control unit 21 are received by the lens control unit 37. Thus, in step S206, since it is determined that the lens barrel 3 is a lens barrel corresponding to the second drive control, the target drive completion time is transmitted to the lens barrel 3 together with the target drive amount.

さらに、ステップS207では、レンズ制御部21により、予定駆動完了時間の算出が行われる。たとえば、レンズ制御部21は、フォーカスレンズ32を最大駆動速度で目標駆動量だけ駆動させた場合にかかる時間を、予定駆動完了時間として算出することができる。また、レンズ制御部37は、フォーカスレンズ32を最大駆動速度で目標駆動量だけ駆動させた場合にかかる時間と、ガタ詰めに必要な時間との合計時間を、予定駆動完了時間として算出する構成としてもよい。   Further, in step S207, the lens control unit 21 calculates a scheduled drive completion time. For example, the lens control unit 21 can calculate the time required for driving the focus lens 32 by the target drive amount at the maximum drive speed as the scheduled drive completion time. In addition, the lens control unit 37 calculates the total time of the time required to drive the focus lens 32 by the target drive amount at the maximum drive speed and the time required for backlash as the scheduled drive completion time. Also good.

ステップS208では、レンズ制御部37により、ステップS206で受信した目標駆動完了時間と、ステップS207で算出した予定駆動完了時間との比較が行われる。そして、ステップS209では、レンズ制御部37により、ステップS208の比較結果に基づいて、フォーカスレンズ32の駆動時間に余裕があるか否かの判断が行われる。   In step S208, the lens control unit 37 compares the target drive completion time received in step S206 with the scheduled drive completion time calculated in step S207. In step S209, the lens control unit 37 determines whether or not the drive time of the focus lens 32 has a margin based on the comparison result in step S208.

たとえば、レンズ制御部37は、予定駆動完了時間が目標駆動完了時間よりも短い場合には、フォーカスレンズ32の駆動時間に余裕があると判断することができる。そして、フォーカスレンズ32の駆動時間に余裕があると判断された場合には、第2駆動制御を行うためにステップS210に進む。一方、フォーカスレンズ32の駆動時間に余裕がないと判断された場合には、ステップS204に進み、上述した第1駆動制御が行われる。   For example, when the planned drive completion time is shorter than the target drive completion time, the lens control unit 37 can determine that the drive time of the focus lens 32 has a margin. If it is determined that the drive time of the focus lens 32 is sufficient, the process proceeds to step S210 to perform the second drive control. On the other hand, if it is determined that there is no allowance for the drive time of the focus lens 32, the process proceeds to step S204, and the first drive control described above is performed.

ステップS210では、レンズ制御部37により、フォーカスレンズ32の第2駆動制御が行われる。具体的には、レンズ制御部37は、図10に示すように、第1駆動制御と比べて、フォーカスレンズ32の駆動速度が目標駆動位置近傍で遅くなるように、フォーカスレンズ32の駆動速度を制御する。また、レンズ制御部37は、第2駆動制御におけるフォーカスレンズ32の駆動時間が、第1駆動制御におけるフォーカスレンズ32の駆動時間よりも長く、かつ、目標駆動完了時間以下となるように、フォーカスレンズ32の駆動を制御する。   In step S <b> 210, the lens control unit 37 performs second drive control of the focus lens 32. Specifically, as shown in FIG. 10, the lens control unit 37 sets the drive speed of the focus lens 32 so that the drive speed of the focus lens 32 is slower in the vicinity of the target drive position than in the first drive control. Control. The lens control unit 37 also sets the focus lens so that the drive time of the focus lens 32 in the second drive control is longer than the drive time of the focus lens 32 in the first drive control and is equal to or less than the target drive completion time. 32 drive is controlled.

このように、フォーカスレンズ32の第2駆動制御では、フォーカスレンズ32の駆動速度を目標駆動位置近傍で遅くすることで、フォーカスレンズ32をより高い精度で目標駆動位置に停止させることができる。ここで、図11(A),(B)は、第1駆動制御および第2駆動制御によるフォーカスレンズ32の駆動停止位置の一例を示す図である。   In this way, in the second drive control of the focus lens 32, the focus lens 32 can be stopped at the target drive position with higher accuracy by slowing the drive speed of the focus lens 32 in the vicinity of the target drive position. Here, FIGS. 11A and 11B are diagrams illustrating an example of a drive stop position of the focus lens 32 by the first drive control and the second drive control.

すなわち、第1駆動制御では、位相差検出方式により検出されたデフォーカス量に基づいてフォーカスレンズ32を目標駆動位置まで駆動させる場合に、カメラ制御部21は、フォーカスレンズ32を目標駆動位置まで駆動させながらデフォーカス量の算出を繰り返し行い、算出したデフォーカス量が所定値以下となった場合に、フォーカスレンズ32の駆動を終了する。そのため、第1駆動制御では、たとえば図11(A)に示すように、現在のフォーカスレンズ位置がp0である場合には、フォーカスレンズ32が、デフォーカス量が所定値以下となる合焦許容範囲内(たとえば、p1の位置)に到達した場合に、合焦許容範囲内のレンズ位置(たとえば、p1の位置)において、フォーカスレンズ32が停止する。   That is, in the first drive control, when the focus lens 32 is driven to the target drive position based on the defocus amount detected by the phase difference detection method, the camera control unit 21 drives the focus lens 32 to the target drive position. The defocus amount is repeatedly calculated while the focus lens 32 is driven when the calculated defocus amount is equal to or less than a predetermined value. Therefore, in the first drive control, for example, as illustrated in FIG. 11A, when the current focus lens position is p0, the focus lens 32 allows the focus tolerance range in which the defocus amount is equal to or less than a predetermined value. When the lens reaches the inside (for example, the position of p1), the focus lens 32 stops at the lens position (for example, the position of p1) within the focusing allowable range.

これに対して、第2駆動制御では、デフォーカス量がゼロとなる目標駆動位置p2近傍において、フォーカスレンズ32の駆動速度を遅くし、フォーカスレンズ32を目標駆動位置p2で停止するように、フォーカスレンズ32の駆動を制御する。これにより、第2駆動制御では、フォーカスレンズ32を、第1駆動制御におけるレンズ停止位置(たとえば、図11(A)のp1の位置)よりも、被写体によりピントの合う目標駆動位置p2に停止させることができ、光学系の焦点調節精度をより向上させることができる。   On the other hand, in the second drive control, the focus lens 32 is slowed down at the target drive position p2 where the defocus amount is zero, and the focus lens 32 is stopped at the target drive position p2. The driving of the lens 32 is controlled. Thus, in the second drive control, the focus lens 32 is stopped at the target drive position p2 that is in focus by the subject, rather than the lens stop position (for example, the position p1 in FIG. 11A) in the first drive control. Therefore, the focus adjustment accuracy of the optical system can be further improved.

また、第1駆動制御の目標駆動位置近傍での駆動速度v1は、第2駆動制御の目標駆動位置近傍での駆動速度v2よりも速いため、仮にフォーカスレンズ32を目標駆動位置p2に停止させようとしても、フォーカスレンズ32を目標駆動位置p2に停止させることが困難な場合があった。すなわち、第1駆動制御では、目標駆動位置近傍での駆動速度v1が速いために、図11(B)に示すように、合焦許容範囲内のレンズ位置までフォーカスレンズ32を駆動させることはできるが、速度が速すぎて、フォーカスレンズ32を目標駆動位置に正確に停止させることができない場合があった。これに対して、第2駆動制御では、目標駆動位置p2近傍での駆動速度を抑えることで、目標駆動位置p2にフォーカスレンズ32をより正確に停止させることが可能となる。   Further, since the drive speed v1 near the target drive position in the first drive control is faster than the drive speed v2 in the vicinity of the target drive position in the second drive control, let's temporarily stop the focus lens 32 at the target drive position p2. However, it may be difficult to stop the focus lens 32 at the target drive position p2. That is, in the first drive control, since the drive speed v1 in the vicinity of the target drive position is high, the focus lens 32 can be driven to a lens position within the focusing allowable range as shown in FIG. However, the focus lens 32 may not be accurately stopped at the target drive position because the speed is too high. In contrast, in the second drive control, the focus lens 32 can be more accurately stopped at the target drive position p2 by suppressing the drive speed in the vicinity of the target drive position p2.

また、第2駆動制御におけるフォーカスレンズ32の駆動方法は、上述した例に限定されず、以下のように、フォーカスレンズ32の駆動を制御する構成としてもよい。ここで、図12は、第2駆動制御におけるフォーカスレンズ32の他の駆動制御方法を説明するための図である。   In addition, the driving method of the focus lens 32 in the second drive control is not limited to the above-described example, and the driving of the focus lens 32 may be controlled as follows. Here, FIG. 12 is a diagram for explaining another drive control method of the focus lens 32 in the second drive control.

すなわち、図12に示すように、目標駆動完了時間内において、フォーカスレンズ32を目標駆動位置を超えるレンズ位置まで駆動し、その後、フォーカスレンズ32を反転させて、フォーカスレンズ32を目標駆動位置まで駆動する構成としてもよい。たとえば、本実施形態では、目標駆動量として、目標駆動量に応じたパルス数をレンズ鏡筒3に送信しているが、レンズ鏡筒3が有する駆動能力によっては、数パルス以下の駆動が行えない場合もある。一例を挙げると、たとえば、10パルス以上での駆動しかできず、仮に10パルス未満の駆動量が送信されてきた場合には、フォーカスレンズ32の駆動を行わないレンズ鏡筒などがある。このような場合も、図12に示すように第2駆動制御を行うことで、たとえば、目標駆動位置を超えるレンズ位置までフォーカスレンズを駆動し(たとえば14パルスでフォーカスレンズを駆動し)、その後、フォーカスレンズ32を反転させて、10パルス以上の駆動を行う(たとえば10パルスでフォーカスレンズ駆動する)ことで、フォーカスレンズ32を最初のレンズ位置から10パルス未満(上記例では4パルス)のレンズ位置に停止させることができる。   That is, as shown in FIG. 12, within the target drive completion time, the focus lens 32 is driven to a lens position that exceeds the target drive position, and then the focus lens 32 is reversed to drive the focus lens 32 to the target drive position. It is good also as composition to do. For example, in the present embodiment, the number of pulses corresponding to the target drive amount is transmitted to the lens barrel 3 as the target drive amount. However, depending on the drive capability of the lens barrel 3, driving of several pulses or less can be performed. There may be no. As an example, there is a lens barrel that does not drive the focus lens 32, for example, when it can only be driven with 10 pulses or more and a drive amount less than 10 pulses is transmitted. Also in such a case, by performing the second drive control as shown in FIG. 12, for example, the focus lens is driven to a lens position exceeding the target drive position (for example, the focus lens is driven with 14 pulses), and then By reversing the focus lens 32 and driving 10 pulses or more (for example, driving the focus lens with 10 pulses), the lens position of the focus lens 32 is less than 10 pulses (4 pulses in the above example) from the initial lens position. Can be stopped.

次いで、図8に戻り、ステップS105において、位相差検出方式によりデフォーカス量が算出できないと判断された場合には、ステップS106に進み、カメラ制御部21により、スキャン動作が開始される。   Next, returning to FIG. 8, when it is determined in step S105 that the defocus amount cannot be calculated by the phase difference detection method, the process proceeds to step S106, and the camera control unit 21 starts a scanning operation.

スキャン動作とは、フォーカスレンズ駆動モータ36により、フォーカスレンズ32を所定の駆動速度で駆動(スキャン駆動)させながら、カメラ制御部21により、位相差検出方式によるデフォーカス量の算出、および焦点評価値の算出を、所定の間隔で同時に行い、これにより、位相差検出方式による合焦位置の検出と、コントラスト検出方式による合焦位置の検出とを、所定の間隔で、同時に実行する動作である。   The scan operation means that the focus lens drive motor 36 drives the focus lens 32 at a predetermined drive speed (scan drive), the camera control unit 21 calculates the defocus amount by the phase difference detection method, and the focus evaluation value. This calculation is performed simultaneously at predetermined intervals, whereby 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 performed simultaneously at the predetermined interval.

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

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

そして、ステップS107では、カメラ制御部21により、スキャン動作を行なった結果、位相差検出方式によりデフォーカス量が算出できたか否かの判定が行なわれる。デフォーカス量が算出できた場合には、測距可能と判断して、ステップS110に進み、一方、デフォーカス量が算出できなかった場合には、測距不能と判断して、ステップS108に進む。なお、ステップS107においても、上述したステップS105と同様に、デフォーカス量の算出ができた場合でも、算出されたデフォーカス量の信頼性が低い場合には、デフォーカス量の算出ができなかったものとして扱い、ステップ108に進むこととする。   In step S107, the camera control unit 21 determines whether the defocus amount can be calculated by the phase difference detection method as a result of the scanning operation. If the defocus amount can be calculated, it is determined that distance measurement is possible and the process proceeds to step S110. On the other hand, if the defocus amount cannot be calculated, it is determined that distance measurement is not possible and the process proceeds to step S108. . In step S107, as in step S105 described above, even when the defocus amount can be calculated, the defocus amount cannot be calculated when the reliability of the calculated defocus amount is low. It is assumed that the process proceeds to step 108.

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

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

そして、スキャン動作を実行した結果、ステップS107において、位相差検出方式により、デフォーカス量が算出できたと判定された場合には、スキャン動作を停止し、ステップS110に進み、上記と同様にして、位相差検出方式での焦点検出結果に基づくフォーカスレンズ32の駆動制御が行われる。   As a result of executing the scanning operation, if it is determined in step S107 that the defocus amount can be calculated by the phase difference detection method, the scanning operation is stopped, and the process proceeds to step S110. The drive control of the focus lens 32 is performed based on the focus detection result in the phase difference detection method.

また、スキャン動作を実行した結果、ステップS108において、コントラスト検出方式により合焦位置が検出できたと判定された場合には、スキャン動作を停止し、ステップS111に進み、コントラスト検出方式による焦点検出結果に基づくフォーカスレンズ32の駆動制御が行われる。ここで、図13は、コントラスト検出方式による焦点検出結果に基づくレンズ駆動制御処理を示すフローチャートである。   As a result of executing the scanning operation, if it is determined in step S108 that the in-focus position has been detected by the contrast detection method, the scanning operation is stopped, and the process proceeds to step S111 to obtain the focus detection result by the contrast detection method. The drive control of the focus lens 32 is performed. Here, FIG. 13 is a flowchart showing the lens drive control process based on the focus detection result by the contrast detection method.

まず、ステップS301では、カメラ制御部21により、コントラスト検出方式により検出された合焦位置に基づいて、フォーカスレンズ32を合焦位置に駆動するための目標駆動量の算出が行われる。   First, in step S301, the camera control unit 21 calculates a target drive amount for driving the focus lens 32 to the in-focus position based on the in-focus position detected by the contrast detection method.

また、ステップS302〜S310では、ステップS202〜S210と同様の処理が行われる。すなわち、レンズ鏡筒3が第2駆動制御に対応するレンズ鏡筒ではないと判断された場合には(ステップS301=No)、従来と同様に、カメラ制御部21からレンズ鏡筒3に対して目標駆動量が送信され、図10に示すように、フォーカスレンズ32を、フォーカスレンズ32の最大駆動速度で合焦位置まで駆動させる第1駆動制御が行われる(ステップS304)。   In steps S302 to S310, processing similar to that in steps S202 to S210 is performed. That is, when it is determined that the lens barrel 3 is not a lens barrel corresponding to the second drive control (step S301 = No), the camera control unit 21 applies the lens barrel 3 to the lens barrel 3 as in the conventional case. The target drive amount is transmitted, and as shown in FIG. 10, the first drive control for driving the focus lens 32 to the in-focus position at the maximum drive speed of the focus lens 32 is performed (step S304).

一方、レンズ鏡筒3が第2駆動制御に対応しているレンズ鏡筒であると判断された場合には(ステップS301=Yes)、カメラ制御部21は、目標駆動完了時間を設定し(ステップS305)、目標駆動完了時間および目標駆動量をレンズ鏡筒3に送信する(ステップS306)。そして、レンズ制御部37は、目標駆動量に基づいて予定駆動完了時間を算出し(ステップS307)、目標駆動完了時間と予定駆動完了時間との比較結果に基づいて、フォーカスレンズ32の駆動時間に余裕があるか否かを判断する(ステップS308,S309)。フォーカスレンズ32の駆動時間に余裕がある場合には(ステップS309=Yes)、図15に示すように、フォーカスレンズ32の第2駆動制御が行なわれる(ステップS310)。なお、図15は、第2駆動制御でのフォーカスレンズの他の駆動制御方法を説明するための図である。   On the other hand, when it is determined that the lens barrel 3 is a lens barrel compatible with the second drive control (step S301 = Yes), the camera control unit 21 sets a target drive completion time (step S301). In step S305, the target drive completion time and the target drive amount are transmitted to the lens barrel 3 (step S306). Then, the lens control unit 37 calculates the planned drive completion time based on the target drive amount (step S307), and sets the drive time of the focus lens 32 based on the comparison result between the target drive completion time and the planned drive completion time. It is determined whether there is a margin (steps S308 and S309). If the drive time of the focus lens 32 is sufficient (step S309 = Yes), the second drive control of the focus lens 32 is performed as shown in FIG. 15 (step S310). FIG. 15 is a diagram for explaining another drive control method of the focus lens in the second drive control.

すなわち、フォーカスレンズ32を駆動するためのフォーカスレンズ駆動モータ36は、通常、機械的な駆動伝達機構から構成され、このような駆動伝達機構は、たとえば、図14に示すように、第1の駆動機構500および第2の駆動機構600からなり、第1の駆動機構500が駆動することにより、これに伴い、フォーカスレンズ32側の第2の駆動機構600を駆動させ、これにより、フォーカスレンズ32を、至近側あるいは無限遠側に移動させるような構成を備えている。そして、このような駆動機構においては、通常、歯車の噛み合わせ部の円滑な動作の観点より、ガタ量Gが設けられている。しかしその一方で、コントラスト検出方式においては、その機構上、図6に示すように、フォーカスレンズ32は、スキャン動作により、一度、合焦位置を通り過ぎた後に、駆動方向を反転させ、合焦位置へと駆動させる必要がある。そして、この場合において、図6に示すように、ガタ詰め駆動をしない場合には、フォーカスレンズ32のレンズ位置が、ガタ量Gだけ合焦位置からずれてしまうという特性がある。そのため、このようなガタ量Gの影響を除去するためには、図6に示すように、フォーカスレンズ32の合焦駆動を行う際に、一度、合焦位置を通り過ぎた後に、再度、駆動方向を反転させて合焦位置へと駆動させるガタ詰め駆動を行う必要が生じてくる。   In other words, the focus lens drive motor 36 for driving the focus lens 32 is usually composed of a mechanical drive transmission mechanism, such as the first drive as shown in FIG. The mechanism 500 and the second drive mechanism 600 are driven. When the first drive mechanism 500 is driven, the second drive mechanism 600 on the focus lens 32 side is driven accordingly. , It is configured to move to the near side or infinity side. And in such a drive mechanism, the backlash amount G is normally provided from a viewpoint of the smooth operation | movement of the meshing part of a gearwheel. On the other hand, however, in the contrast detection method, as shown in FIG. 6, in the contrast detection method, the focus lens 32 reverses the driving direction after passing the in-focus position once by the scanning operation, and the in-focus position. It is necessary to drive to. In this case, as shown in FIG. 6, there is a characteristic that the lens position of the focus lens 32 is shifted from the in-focus position by the backlash amount G when the backlash driving is not performed. Therefore, in order to remove the influence of such a backlash amount G, as shown in FIG. 6, when the focus lens 32 is driven to focus, the driving direction is once again passed after passing the focus position. It becomes necessary to perform backlashing driving that reverses and drives to the in-focus position.

そこで、第2駆動制御として、コントラスト検出方式による焦点検出結果に基づいてフォーカスレンズ32を駆動する場合、レンズ制御部37は、たとえば、フォーカスレンズ32を最大駆動速度で合焦位置まで駆動させた場合にかかる時間とガタ詰めに必要な時間との合計時間を予定駆動完了時間として算出し(ステップS307)、算出した予定駆動完了時間と目標駆動完了時間とを比較し(ステップS308)、比較の結果、フォーカスレンズ32の駆動時間に余裕があると判断した場合には(ステップS309=Yes)、図15に示すように、目標駆動完了時間内で、フォーカスレンズ32のガタ詰めを行うように、フォーカスレンズ32の駆動を制御する第2駆動制御を実行する。   Therefore, when the focus lens 32 is driven based on the focus detection result by the contrast detection method as the second drive control, for example, the lens control unit 37 drives the focus lens 32 to the in-focus position at the maximum drive speed. Is calculated as the scheduled drive completion time (step S307), the calculated planned drive completion time is compared with the target drive completion time (step S308), and the comparison result is obtained. If it is determined that the drive time of the focus lens 32 has a margin (step S309 = Yes), the focus lens 32 is loosened within the target drive completion time as shown in FIG. Second drive control for controlling the driving of the lens 32 is executed.

たとえば、第2駆動制御として、レンズ制御部37は、図15に示すように、時刻t1において、合焦位置を超えたレンズ位置で合焦位置を検出すると、フォーカスレンズ32を合焦位置まで駆動するために、フォーカスレンズ32の駆動方向を反転する。そして、レンズ制御部37は、時刻t2において、フォーカスレンズ32を合焦位置を超えた位置まで駆動し、フォーカスレンズ32をさらに反転することで、ガタ詰め処理を実行する。これにより、ガタ量Gの影響を除外することができる。   For example, as the second drive control, as shown in FIG. 15, when the lens control unit 37 detects the in-focus position at a lens position that exceeds the in-focus position at time t1, the focus lens 32 is driven to the in-focus position. In order to do this, the drive direction of the focus lens 32 is reversed. Then, at time t2, the lens control unit 37 drives the focus lens 32 to a position beyond the in-focus position, and further reverses the focus lens 32 to execute a backlash process. Thereby, the influence of the backlash amount G can be excluded.

また、図15に示すように、レンズ制御部37は、第1駆動制御と比べて、第2駆動制御において、焦点評価値を算出する際のスキャン駆動の駆動速度を遅くすることで、焦点評価値の算出間隔を短くすることができ、その分だけ、合焦位置の検出精度を高くすることができる。   Further, as shown in FIG. 15, the lens control unit 37 makes the focus evaluation by slowing the drive speed of the scan drive when calculating the focus evaluation value in the second drive control as compared with the first drive control. The value calculation interval can be shortened, and the in-focus position detection accuracy can be increased accordingly.

図8に戻り、ステップS109において、スキャン駆動範囲の全域について、スキャン動作の実行が完了していると判定された場合には、ステップS112に進む。ステップS112では、スキャン動作を行なった結果、位相差検出方式およびコントラスト検出方式のいずれの方式によっても、焦点検出を行うことができなかったため、スキャン動作の終了処理が行なわれ、ステップS113に進み、合焦位置を検出できなかったため、合焦不能表示が行われる。   Returning to FIG. 8, when it is determined in step S109 that the scan operation has been completed for the entire scan drive range, the process proceeds to step S112. In step S112, as a result of performing the scanning operation, focus detection could not be performed by any of the phase difference detection method and the contrast detection method. Therefore, the scanning operation is terminated, and the process proceeds to step S113. Since the in-focus position could not be detected, an out-of-focus display is performed.

以上のように、第1実施形態に係るカメラ1の動作が行われる。   As described above, the operation of the camera 1 according to the first embodiment is performed.

このように、第1実施形態に係るカメラ1によれば、カメラ本体2からレンズ鏡筒3に対して目標駆動完了時間を送信し、目標駆動完了時間と予定駆動完了時間との比較の結果、フォーカスレンズ32の駆動時間に余裕がある場合には、レンズ鏡筒3において、図10または図11に示すように、目標駆動完了時間内において、少なくとも目標駆動位置近傍におけるフォーカスレンズ32の駆動速度を、第1駆動制御と比べて遅く駆動する第2駆動制御を行うことで、フォーカスレンズ32を目標駆動位置により高い精度で停止させることができ、光学系の焦点調節精度をより向上させることができる。   As described above, according to the camera 1 according to the first embodiment, the target drive completion time is transmitted from the camera body 2 to the lens barrel 3, and as a result of the comparison between the target drive completion time and the scheduled drive completion time, When the drive time of the focus lens 32 has a margin, as shown in FIG. 10 or FIG. 11, in the lens barrel 3, the drive speed of the focus lens 32 at least near the target drive position is set within the target drive completion time. By performing the second drive control that is driven slower than the first drive control, the focus lens 32 can be stopped with higher accuracy at the target drive position, and the focus adjustment accuracy of the optical system can be further improved. .

また、カメラ制御部21は、フォーカスレンズ32の駆動速度が優先される場合には、目標駆動完了時間を短く設定し、一方、フォーカスレンズ32の駆動精度が優先される場合には、目標駆動完了時間を長く設定する。これにより、フォーカスレンズ32の駆動速度が優先される場合には、フォーカスレンズ32を目標駆動位置まで短時間で駆動させることができるとともに、フォーカスレンズ32の駆動精度が優先される場合には、フォーカスレンズ32を目標駆動位置に高い精度で停止させることができる。   The camera control unit 21 sets the target drive completion time to be short when the drive speed of the focus lens 32 is prioritized, and completes the target drive when the drive accuracy of the focus lens 32 is prioritized. Set a longer time. Thereby, when the driving speed of the focus lens 32 is given priority, the focus lens 32 can be driven to the target driving position in a short time, and when the driving accuracy of the focus lens 32 is given priority, the focus lens 32 can be driven. The lens 32 can be stopped at the target drive position with high accuracy.

《第2実施形態》
次に、本発明の第2実施形態を図面に基づいて説明する。第2実施形態では、図1に示すカメラ1において、以下に説明するようにカメラ1が動作すること以外は、第1実施形態と同様の構成を備え、第1実施形態と同様に動作する。
<< Second Embodiment >>
Next, 2nd Embodiment of this invention is described based on drawing. In the second embodiment, the camera 1 shown in FIG. 1 has the same configuration as the first embodiment except that the camera 1 operates as described below, and operates in the same manner as the first embodiment.

ここで、図16は、第2実施形態におけるレンズ鏡筒3とカメラ本体2とのフォーカスレンズ32の駆動制御に関する情報の授受の一例を説明するための図である。第2実施形態では、第1実施形態と同様に、カメラ本体2からレンズ鏡筒3に対して、目標駆動量と命令IDを含む駆動命令とが送信される。   Here, FIG. 16 is a diagram for explaining an example of exchange of information regarding drive control of the focus lens 32 between the lens barrel 3 and the camera body 2 in the second embodiment. In the second embodiment, similarly to the first embodiment, a drive command including a target drive amount and a command ID is transmitted from the camera body 2 to the lens barrel 3.

また、第2実施形態では、レンズ鏡筒3からカメラ本体2に対して、レンズ位置、駆動残時間、命令ID、および識別信号が送信される。ここで、駆動残時間とは、フォーカスレンズ32の目標駆動量への駆動が完了するまでの残り時間である。本実施形態において、駆動残時間は、カメラ本体2から送信された目標駆動量に基づいて、レンズ鏡筒3により算出される。そして、レンズ鏡筒3は、算出した駆動残時間を駆動命令の命令IDに関連付けて、カメラ本体2に送信する。   In the second embodiment, the lens position, the remaining drive time, the command ID, and the identification signal are transmitted from the lens barrel 3 to the camera body 2. Here, the remaining drive time is the remaining time until the drive of the focus lens 32 to the target drive amount is completed. In the present embodiment, the remaining drive time is calculated by the lens barrel 3 based on the target drive amount transmitted from the camera body 2. Then, the lens barrel 3 transmits the calculated remaining drive time to the camera body 2 in association with the command ID of the drive command.

さらに、第2実施形態では、レンズ鏡筒3が駆動残時間を算出し、算出した駆動残時間をカメラ本体2に送信する機能を有している場合に、レンズ鏡筒3は、図16に示すように、駆動残時間を送信可能なレンズ鏡筒であることをカメラ本体2に識別させるための識別信号を、カメラ本体2に送信する。   Furthermore, in the second embodiment, when the lens barrel 3 has a function of calculating the remaining drive time and transmitting the calculated remaining drive time to the camera body 2, the lens barrel 3 is shown in FIG. As shown, an identification signal for causing the camera body 2 to identify that the lens barrel is capable of transmitting the remaining drive time is transmitted to the camera body 2.

次に、第2実施形態に係るカメラ1の動作について説明する。第2実施形態においても、カメラ1は図8に示す処理を実行する。ただし、第2実施形態においては、図8に示す処理のうち、ステップS101のレンズ確認処理、ステップS110の位相差検出方式による焦点検出結果に基づくレンズ駆動制御処理、ステップS111のコントラスト検出方式による焦点検出結果に基づくレンズ駆動制御処理において、第1実施形態とは異なる内容の処理が行われることとなる。   Next, the operation of the camera 1 according to the second embodiment will be described. Also in the second embodiment, the camera 1 executes the processing shown in FIG. However, in the second embodiment, among the processes shown in FIG. 8, the lens confirmation process in step S101, the lens drive control process based on the focus detection result by the phase difference detection method in step S110, and the focus by the contrast detection method in step S111. In the lens drive control process based on the detection result, a process different from that in the first embodiment is performed.

すなわち、第2実施形態に係るステップS101のレンズ確認処理では、レンズ鏡筒3が駆動残時間を送信可能なレンズ鏡筒であるか否かを確認するレンズ確認処理が行われる。上述したように、第2実施形態において、レンズ鏡筒3は、駆動残時間をカメラ本体2に送信可能なレンズ鏡筒であることをカメラ本体2に識別させるための識別信号を、カメラ本体2に送信しており、カメラ制御部21は、レンズ鏡筒3から識別信号を受信できた場合に、レンズ鏡筒3は駆動残時間を送信可能なレンズ鏡筒であると判断することができる。なお、このレンズ確認処理の結果は、後述するステップ402,502において利用される。   That is, in the lens confirmation process in step S101 according to the second embodiment, a lens confirmation process for confirming whether or not the lens barrel 3 is a lens barrel capable of transmitting the remaining drive time is performed. As described above, in the second embodiment, the lens barrel 3 transmits an identification signal for causing the camera body 2 to identify that the lens barrel 3 can transmit the remaining drive time to the camera body 2. When the camera control unit 21 can receive the identification signal from the lens barrel 3, the camera barrel 21 can determine that the lens barrel 3 is a lens barrel capable of transmitting the remaining drive time. The result of this lens confirmation process is used in steps 402 and 502 described later.

ステップS102〜S109においては、第1実施形態と同様に処理が行われる。すなわち、位相差検出方式によるデフォーカス量の算出処理と、コントラスト検出方式による焦点評価値の算出処理が開始され(ステップS102,S103)、フォーカスレンズの半押し操作後(ステップS104=Yes)、デフォーカス量が算出された場合には(ステップS105=Yes)、位相差検出方式による焦点検出結果に基づくレンズ駆動制御処理が行なわれる(ステップS110)。また、デフォーカス量が算出できない場合には、スキャン動作が実行され(ステップS106)、スキャン動作を行なった結果、位相差検出方式によりデフォーカス量が算出できた場合には、位相差検出方式による焦点検出結果に基づくレンズ駆動制御処理が行われ(ステップS110)、コントラスト検出方式により合焦位置の検出ができた場合には、コントラスト検出方式による焦点検出結果に基づくレンズ駆動制御処理が行われる(ステップS111)。   In steps S102 to S109, processing is performed in the same manner as in the first embodiment. That is, the calculation process of the defocus amount by the phase difference detection method and the calculation process of the focus evaluation value by the contrast detection method are started (steps S102 and S103), and after the half-press operation of the focus lens (step S104 = Yes), When the focus amount is calculated (step S105 = Yes), a lens drive control process based on the focus detection result by the phase difference detection method is performed (step S110). If the defocus amount cannot be calculated, a scan operation is executed (step S106). If the defocus amount can be calculated by the phase difference detection method as a result of the scan operation, the phase difference detection method is used. Lens drive control processing based on the focus detection result is performed (step S110), and when the in-focus position can be detected by the contrast detection method, lens drive control processing based on the focus detection result by the contrast detection method is performed (step S110). Step S111).

ここで、第2実施形態における、ステップS110の位相差検出方式による焦点検出結果に基づくレンズ駆動制御処理について説明する。図17は、第2実施形態に係る位相差検出方式による焦点検出結果に基づくレンズ駆動制御処理を示すフローチャートである。   Here, the lens drive control process based on the focus detection result by the phase difference detection method of step S110 in the second embodiment will be described. FIG. 17 is a flowchart showing a lens drive control process based on a focus detection result by the phase difference detection method according to the second embodiment.

まず、ステップS401では、第1実施形態のステップS201と同様に、位相差検出方式により算出されたデフォーカス量に基づいて、目標駆動量の算出が行われる。続くステップS402では、カメラ制御部21により、レンズ鏡筒3が駆動残時間を送信可能なレンズ鏡筒であるか否かの判断が行われる。たとえば、カメラ制御部21は、ステップS101のレンズ確認処理の結果を参照することで、レンズ鏡筒3が駆動残時間を送信可能なレンズ鏡筒であるか否かを判断することができる。そして、レンズ鏡筒3が駆動残時間を送信可能なレンズ鏡筒であると判断された場合には、ステップS407に進み、一方、レンズ鏡筒3が駆動残時間を送信できないレンズ鏡筒であると判断された場合には、ステップS403に進む。   First, in step S401, as in step S201 of the first embodiment, the target drive amount is calculated based on the defocus amount calculated by the phase difference detection method. In subsequent step S402, the camera control unit 21 determines whether or not the lens barrel 3 is a lens barrel capable of transmitting the remaining drive time. For example, the camera control unit 21 can determine whether or not the lens barrel 3 is a lens barrel capable of transmitting the remaining drive time by referring to the result of the lens confirmation processing in step S101. If it is determined that the lens barrel 3 is a lens barrel capable of transmitting the remaining drive time, the process proceeds to step S407, while the lens barrel 3 is a lens barrel that cannot transmit the remaining drive time. If it is determined, the process proceeds to step S403.

ステップS403では、カメラ制御部21により、ステップS401で算出された目標駆動量と駆動命令とがレンズ鏡筒3に対して送信される。続くステップS404では、レンズ制御部37により、ステップS403で送信された目標駆動量に基づいて、フォーカスレンズ32の駆動目標位置への駆動が開始される。そして、ステップS405では、レンズ制御部37により、フォーカスレンズ32の駆動目標位置への駆動が完了したか否かの判断が行われる。フォーカスレンズ32の駆動目標位置への駆動が完了するまでは、ステップS405で待機し、フォーカスレンズ32の駆動目標位置への駆動が完了すると、ステップS406に進み、ステップS406において、カメラ制御部21により、露光動作の前処理が開始される。たとえば、本実施形態では、露光動作の前処理として、撮像素子の感度などの切換え処理、シャッター速度の切換処理、絞り駆動処理、手ぶれ補正レンズのセンタリング処理などが行われる。   In step S403, the camera control unit 21 transmits the target drive amount and the drive command calculated in step S401 to the lens barrel 3. In subsequent step S404, the lens control unit 37 starts driving the focus lens 32 to the drive target position based on the target drive amount transmitted in step S403. In step S405, the lens control unit 37 determines whether the driving of the focus lens 32 to the driving target position is completed. Until the drive of the focus lens 32 to the drive target position is completed, the process waits in step S405. When the drive of the focus lens 32 to the drive target position is completed, the process proceeds to step S406. In step S406, the camera control unit 21 Then, preprocessing of the exposure operation is started. For example, in this embodiment, as pre-processing of the exposure operation, switching processing such as sensitivity of the image sensor, shutter speed switching processing, aperture driving processing, camera shake correction lens centering processing, and the like are performed.

このように、第2実施形態では、レンズ鏡筒3が駆動残時間を送信できないレンズ鏡筒である場合には、図18(A)に示すように、フォーカスレンズ32の駆動目標位置への駆動(合焦駆動処理)が完了した後に、露光動作の前処理が開始される。なお、図18(A)は、レンズ鏡筒3が駆動残時間を送信できないレンズ鏡筒である場合のカメラ1の動作を説明するための図である。   Thus, in the second embodiment, when the lens barrel 3 is a lens barrel that cannot transmit the remaining drive time, as shown in FIG. 18A, the focus lens 32 is driven to the drive target position. After the (focus driving process) is completed, a pre-process for the exposure operation is started. FIG. 18A is a diagram for explaining the operation of the camera 1 when the lens barrel 3 is a lens barrel that cannot transmit the remaining drive time.

一方、ステップS402において、レンズ鏡筒3が駆動残時間を送信可能なレンズ鏡筒であると判断された場合には、ステップS407に進む。ステップS407〜S411では、駆動残時間に基づくフォーカスレンズ32の駆動制御が行われる。   On the other hand, if it is determined in step S402 that the lens barrel 3 is a lens barrel capable of transmitting the remaining drive time, the process proceeds to step S407. In steps S407 to S411, drive control of the focus lens 32 based on the remaining drive time is performed.

具体的には、まず、ステップS407では、カメラ制御部21により、ステップS401で算出された目標駆動量と駆動命令とがレンズ鏡筒3に対して送信される。そして、ステップS408では、レンズ制御部37により、ステップS407で送信された目標駆動量に基づいて、フォーカスレンズ32の駆動が開始される。   Specifically, first, in step S407, the camera controller 21 transmits the target drive amount and drive command calculated in step S401 to the lens barrel 3. In step S408, the lens control unit 37 starts driving the focus lens 32 based on the target drive amount transmitted in step S407.

また、ステップS409では、レンズ制御部37により、ステップS407で送信された目標駆動量に基づいて、フォーカスレンズ32の目標駆動位置への駆動が完了するまでの残り時間が、駆動残時間として算出される。具体的には、レンズ制御部37は、ガタ詰めの実施の要否を判断し、ガタ詰めの実施が必要な場合には、フォーカスレンズ32を最大駆動速度で現在のレンズ位置から目標駆動位置まで駆動する場合の駆動時間と、ガタ詰めに要する時間との合計時間を、駆動残時間として算出することができる。また、レンズ制御部37は、ガタ詰めの実施が不要な場合には、フォーカスレンズ32を最大駆動速度で現在のレンズ位置から目標駆動位置まで駆動する場合の駆動時間を、駆動残時間として算出することができる。   In step S409, the remaining time until the driving of the focus lens 32 to the target drive position is completed is calculated as the remaining drive time by the lens control unit 37 based on the target drive amount transmitted in step S407. The Specifically, the lens control unit 37 determines whether or not the backlash is necessary, and when the backlash is necessary, the focus lens 32 is moved from the current lens position to the target drive position at the maximum drive speed. The total time of the drive time for driving and the time required for backlashing can be calculated as the remaining drive time. In addition, when it is not necessary to perform backlashing, the lens control unit 37 calculates a driving time when the focus lens 32 is driven from the current lens position to the target driving position at the maximum driving speed as the remaining driving time. be able to.

なお、カメラ制御部21は、たとえば、現在のレンズ位置と駆動開始時のレンズ位置と目標駆動量とから、目標駆動位置までの残りの駆動量を算出し、フォーカスレンズ32を最大駆動速度で残りの駆動量だけ駆動させるために要する時間を駆動残時間として算出することができる。また、カメラ制御部21は、ガタ詰めを行った場合の像面移動量と、光学系の焦点深度とを比較することで、ガタ詰めの実施が必要か否かを判断することができる。   Note that the camera control unit 21 calculates, for example, the remaining driving amount up to the target driving position from the current lens position, the lens position at the start of driving, and the target driving amount, and leaves the focus lens 32 at the maximum driving speed. It is possible to calculate the time required for driving by the drive amount as the remaining drive time. Further, the camera control unit 21 can determine whether or not it is necessary to perform backlashing by comparing the amount of movement of the image plane when backlashing is performed with the depth of focus of the optical system.

ステップS410では、レンズ鏡筒3からカメラ本体2に対して、ステップS409で算出した駆動残時間が送信される。そして、ステップS411では、カメラ制御部21により、ステップS410で受信した駆動残時間が所定時間未満であるか否かの判断が行われる。ここで、所定時間とは、たとえばガタ詰めの実施が必要な場合には、ガタ詰めに要する時間と、その後に行われる露光動作の準備時間との合計時間とすることができる。また、ガタ詰めの実施が不要な場合には、所定時間を、露光動作の準備時間とすることができる。一例として、所定時間を0.03秒などに設定することができる。駆動残時間が所定時間未満ではない場合は、ステップS409に戻り、レンズ鏡筒3での駆動残時間の算出と、算出した駆動残時間のカメラ本体2への送信とが繰り返し行われる。そして、駆動残時間が所定時間未満となった場合に、ステップS406に進み、露光動作の開始処理が行われる。   In step S410, the remaining drive time calculated in step S409 is transmitted from the lens barrel 3 to the camera body 2. In step S411, the camera control unit 21 determines whether the remaining drive time received in step S410 is less than a predetermined time. Here, for example, when it is necessary to perform backlashing, the predetermined time can be the total time of time required for backlashing and preparation time for the exposure operation performed thereafter. In addition, when it is not necessary to perform backlashing, the predetermined time can be set as the preparation time for the exposure operation. As an example, the predetermined time can be set to 0.03 seconds or the like. If the remaining drive time is not less than the predetermined time, the process returns to step S409, and the calculation of the remaining drive time in the lens barrel 3 and the transmission of the calculated remaining drive time to the camera body 2 are repeated. If the remaining drive time is less than the predetermined time, the process proceeds to step S406, where exposure process start processing is performed.

このように、第2実施形態では、レンズ鏡筒3が駆動残時間を送信可能なレンズ鏡筒である場合には、図18(B)に示すように、フォーカスレンズ32の駆動目標位置への駆動が完了する前に、露光動作が開始されることとなる。これにより、合焦駆動処理が終了した後に直ぐに、露光動作を行うことができるため、図18(A)に示す場合と比べて、露光までにかかる時間を短縮することができる。なお、図18(B)は、レンズ鏡筒3が駆動残時間を送信可能なレンズ鏡筒である場合のカメラ1の動作を説明するための図である。   Thus, in the second embodiment, when the lens barrel 3 is a lens barrel capable of transmitting the remaining drive time, as shown in FIG. 18B, the focus lens 32 is moved to the drive target position. The exposure operation is started before the driving is completed. Accordingly, since the exposure operation can be performed immediately after the focusing driving process is completed, the time required for exposure can be reduced as compared with the case shown in FIG. FIG. 18B is a diagram for explaining the operation of the camera 1 when the lens barrel 3 is a lens barrel capable of transmitting the remaining drive time.

次に、第2実施形態における、ステップS111のコントラスト検出方式による焦点検出結果に基づくレンズ駆動制御処理について説明する。図19は、第2実施形態に係るコントラスト検出方式による焦点検出結果に基づくレンズ駆動制御処理を示すフローチャートである。   Next, lens drive control processing based on the focus detection result by the contrast detection method in step S111 in the second embodiment will be described. FIG. 19 is a flowchart showing a lens drive control process based on a focus detection result by the contrast detection method according to the second embodiment.

まず、ステップS501では、第1実施形態のステップS301と同様に、コントラスト検出方式により検出された合焦位置に基づいて、目標駆動量の算出が行われる。そして、ステップS502〜S511では、ステップS402〜S411と同様に処理が行われる。   First, in step S501, similarly to step S301 in the first embodiment, the target drive amount is calculated based on the focus position detected by the contrast detection method. In steps S502 to S511, processing is performed as in steps S402 to S411.

すなわち、レンズ鏡筒3が駆動残時間を送信できないレンズ鏡筒である場合には(ステップS502=No)、目標駆動量がカメラ本体2からレンズ鏡筒3に送信され(ステップS503)、フォーカスレンズ32の目標駆動位置への駆動が開始される(ステップS504)。そして、図18(A)に示すように、フォーカスレンズ32の駆動目標位置への駆動が完了した後に(ステップS505=Yes)、露光動作の前処理が開始される(ステップS506)。   That is, when the lens barrel 3 is a lens barrel that cannot transmit the remaining drive time (step S502 = No), the target drive amount is transmitted from the camera body 2 to the lens barrel 3 (step S503), and the focus lens. The drive to the 32 target drive positions is started (step S504). Then, as shown in FIG. 18A, after the driving of the focus lens 32 to the drive target position is completed (step S505 = Yes), pre-processing of the exposure operation is started (step S506).

また、レンズ鏡筒3が駆動残時間を送信可能なレンズ鏡筒である場合には(ステップS502=Yes)、目標駆動量がカメラ本体2からレンズ鏡筒3に送信され(ステップS507)、フォーカスレンズ32の目標駆動位置への駆動が開始される(ステップS508)。さらに、レンズ鏡筒3において駆動残時間の算出が行われ(ステップS509)、駆動残時間がレンズ鏡筒3からカメラ本体2に送信される(ステップS510)。そして、駆動残時間が所定時間未満となった場合に(ステップS511=Yes)、図18(B)に示すように、フォーカスレンズ32の駆動目標位置への駆動が完了する前に、露光動作の前処理が開始される(ステップS506)。   When the lens barrel 3 is a lens barrel capable of transmitting the remaining drive time (step S502 = Yes), the target drive amount is transmitted from the camera body 2 to the lens barrel 3 (step S507), and the focus The driving of the lens 32 to the target drive position is started (step S508). Further, the remaining drive time is calculated in the lens barrel 3 (step S509), and the remaining drive time is transmitted from the lens barrel 3 to the camera body 2 (step S510). When the remaining drive time is less than the predetermined time (step S511 = Yes), as shown in FIG. 18B, the exposure operation is performed before the drive of the focus lens 32 to the drive target position is completed. Preprocessing is started (step S506).

以上のように、第2実施形態では、レンズ鏡筒3が駆動残時間を送信可能なレンズ鏡筒である場合には、レンズ鏡筒3からカメラ本体2に駆動残時間が送信される。そして、カメラ本体2では、駆動残時間と所定時間とを比較し、駆動残時間が所定時間未満となった場合には、フォーカスレンズ32の駆動目標位置への駆動が完了する前であっても、露光動作の前処理を開始する。これにより、第2実施形態では、フォーカスレンズ32の駆動目標位置への駆動完了後、露光動作が開始されるまでのタイムラグを短縮することができ、ユーザがシャッターレリーズボタンを駆動してから露光が行われるまでの時間を短縮することが可能となる。   As described above, in the second embodiment, when the lens barrel 3 is a lens barrel capable of transmitting the remaining drive time, the remaining drive time is transmitted from the lens barrel 3 to the camera body 2. Then, the camera body 2 compares the remaining drive time with a predetermined time, and when the remaining drive time is less than the predetermined time, even before the drive of the focus lens 32 to the drive target position is completed. Then, pre-processing of the exposure operation is started. Thus, in the second embodiment, the time lag from the completion of driving the focus lens 32 to the drive target position to the start of the exposure operation can be shortened, and the exposure is performed after the user drives the shutter release button. It is possible to shorten the time until the process is performed.

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

また、上述した実施形態では、フォーカスレンズ32の駆動目標量をカメラ本体2からレンズ鏡筒3に送信する構成を例示したが、この構成に限定されず、たとえば、フォーカスレンズ32の駆動目標位置をカメラ本体2からレンズ鏡筒3に送信する構成としてもよい。   In the above-described embodiment, the configuration in which the drive target amount of the focus lens 32 is transmitted from the camera body 2 to the lens barrel 3 is exemplified. However, the configuration is not limited to this configuration. It is good also as a structure which transmits to the lens-barrel 3 from the camera main body 2. FIG.

さらに、上述した第2実施形態では、レンズ鏡筒3からカメラ本体2に対して駆動残時間を送信し、カメラ本体2において、駆動残時間が所定時間未満であると判断された場合に、露光動作の前処理を開始する構成を例示したが、この構成に限定されず、たとえば、レンズ鏡筒3において、駆動残時間が所定時間未満であるか否かを判断し、駆動残時間が所定時間未満である場合に、レンズ鏡筒3からカメラ本体2に対して、露光動作の前処理の開始を許可する信号を送信する構成としてもよい。   Further, in the second embodiment described above, the remaining drive time is transmitted from the lens barrel 3 to the camera body 2, and the exposure is performed when the remaining drive time is determined to be less than the predetermined time in the camera body 2. The configuration for starting the pre-processing of the operation is illustrated, but the configuration is not limited to this configuration. For example, in the lens barrel 3, it is determined whether the remaining drive time is less than the predetermined time, and the remaining drive time is the predetermined time. If it is less, the lens barrel 3 may be configured to transmit a signal permitting the start of the preprocessing of the exposure operation to the camera body 2.

また、上述した第2実施形態において、駆動残時間が所定時間未満となり、露光開始の前処理が開始される場合には、合焦表示を行う構成としてもよい。これにより、ユーザにより早く合焦したことを通知することができる。なお、駆動残時間が所定時間未満となり、露光開始の前処理が開始される時点では、フォーカスレンズ32の駆動は実際に完了していないが、スルー画像の表示準備時間などを考慮すると、フォーカスレンズ32が駆動中であることをユーザに知覚されるおそれは少ない。また、カメラ制御部21は、電子ビューファインダを介して、合焦である旨の表示を行うことができる。   In the above-described second embodiment, when the remaining drive time is less than the predetermined time and the pre-process for starting the exposure is started, a focus display may be performed. As a result, it is possible to notify the user that the in-focus state is early. Note that the drive of the focus lens 32 is not actually completed at the time when the remaining drive time is less than the predetermined time and the pre-process for starting the exposure is started. However, in consideration of the display preparation time of the through image, the focus lens The user is less likely to perceive that 32 is being driven. In addition, the camera control unit 21 can display the in-focus state via the electronic viewfinder.

さらに、上述した実施形態では、フォーカスレンズ32を目標駆動位置(合焦位置)まで駆動する合焦駆動において本発明に係るレンズ駆動制御処理を説明したが、この構成に限定されず、たとえば、図6に示す初期駆動において、本発明に係るレンズ駆動制御処理を行う構成としてもよい。この場合、たとえば、フォーカスレンズ32の駆動時間に余裕があると判断できる場合に、ウォブリング駆動を行う構成とすることができる。   Furthermore, in the above-described embodiment, the lens drive control process according to the present invention has been described in the focus drive that drives the focus lens 32 to the target drive position (focus position). However, the present invention is not limited to this configuration. In the initial driving shown in FIG. 6, the lens driving control process according to the present invention may be performed. In this case, for example, when it can be determined that there is a margin in the driving time of the focus lens 32, a configuration in which wobbling driving is performed can be employed.

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

1…デジタルカメラ
2…カメラ本体
21…カメラ制御部
22…撮像素子
3…レンズ鏡筒
32…フォーカスレンズ
36…フォーカスレンズ駆動モータ
37…レンズ制御部
DESCRIPTION OF SYMBOLS 1 ... Digital camera 2 ... Camera body 21 ... Camera control part 22 ... Imaging device 3 ... Lens barrel 32 ... Focus lens 36 ... Focus lens drive motor 37 ... Lens control part

Claims (2)

焦点調節レンズを含む光学系と、
前記焦点調節レンズの目標駆動位置または目標駆動量と、前記目標駆動位置または前記目標駆動量に基づいた前記焦点調節レンズの駆動を完了させる目標駆動完了時間とを、カメラボディから受信するレンズ通信部と、
前記焦点調節レンズを第1速度で前記目標駆動位置に駆動させる場合の駆動時間、または、前記焦点調節レンズを前記第1速度で前記目標駆動量を駆動させる場合の駆動時間を予定駆動完了時間として算出する算出部と、
前記予定駆動完了時間が前記目標駆動完了時間よりも短い場合には、前記予定駆動完了時間よりも長くかつ前記目標駆動完了時間以下の時間内で、前記焦点調節レンズを第1の方向への駆動及び前記第1の方向と反対方向の第2の方向への駆動をして前記目標駆動位置に駆動するように、または、前記焦点調節レンズを第1の方向への駆動及び前記第1の方向と反対の第2の方向への駆動をして前記目標駆動量を駆動するように、前記焦点調節レンズの駆動を制御する制御部と、
を有するレンズ鏡筒。
An optical system including a focusing lens;
A lens communication unit that receives from the camera body a target drive position or target drive amount of the focus adjustment lens and a target drive completion time for completing the drive of the focus adjustment lens based on the target drive position or the target drive amount When,
The driving time when the focus adjustment lens is driven to the target driving position at the first speed, or the driving time when the focus adjustment lens is driven at the first speed and the target driving amount is set as the scheduled driving completion time. A calculation unit for calculating,
When the scheduled drive completion time is shorter than the target drive completion time, the focus adjustment lens is driven in the first direction within a time longer than the scheduled drive completion time and less than or equal to the target drive completion time. Driving in the second direction opposite to the first direction to drive to the target driving position, or driving the focus adjustment lens in the first direction and the first direction. A control unit that controls driving of the focus adjustment lens so as to drive the target driving amount by driving in the second direction opposite to
A lens barrel.
請求項1に記載のレンズ鏡筒であって、
前記レンズ通信部は、前記レンズ鏡筒が前記目標駆動完了時間に基づいた駆動制御を実行できるか否かを識別するための識別信号を、前記カメラボディに対して送信するレンズ鏡筒。
The lens barrel according to claim 1,
The lens communication unit transmits an identification signal for identifying whether or not the lens barrel can execute drive control based on the target drive completion time to the camera body.
JP2014079200A 2014-04-08 2014-04-08 Lens barrel and camera body Active JP6432150B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014079200A JP6432150B2 (en) 2014-04-08 2014-04-08 Lens barrel and camera body

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014079200A JP6432150B2 (en) 2014-04-08 2014-04-08 Lens barrel and camera body

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2018210029A Division JP2019049744A (en) 2018-11-07 2018-11-07 Lens barrel, imaging device and camera

Publications (2)

Publication Number Publication Date
JP2015200767A JP2015200767A (en) 2015-11-12
JP6432150B2 true JP6432150B2 (en) 2018-12-05

Family

ID=54552058

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014079200A Active JP6432150B2 (en) 2014-04-08 2014-04-08 Lens barrel and camera body

Country Status (1)

Country Link
JP (1) JP6432150B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7019943B2 (en) * 2016-10-20 2022-02-16 株式会社ニコン Camera system, camera body and interchangeable lenses
JP2019049744A (en) * 2018-11-07 2019-03-28 株式会社ニコン Lens barrel, imaging device and camera

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8311407B2 (en) * 2008-03-28 2012-11-13 Panasonic Corporation Camera system, camera body, and interchangeable lens
JP5868109B2 (en) * 2011-10-12 2016-02-24 キヤノン株式会社 Optical apparatus, lens barrel, and automatic focusing method
JP6153419B2 (en) * 2013-08-09 2017-06-28 キヤノン株式会社 Automatic focus adjustment device, lens device, automatic focus adjustment method and program

Also Published As

Publication number Publication date
JP2015200767A (en) 2015-11-12

Similar Documents

Publication Publication Date Title
JP6642649B2 (en) Interchangeable lens and camera body
JP2013050690A (en) Focus adjusting device and imaging apparatus
JP6908143B2 (en) Lens barrel
JP6432150B2 (en) Lens barrel and camera body
JP6464551B2 (en) Camera body and imaging device
JP6399140B2 (en) Imaging device
JP5891668B2 (en) Focus adjustment device and imaging device
JP6127730B2 (en) Imaging device
JP2013061579A (en) Focusing device and imaging apparatus
JP2018055134A (en) Lens barrel
JP6183482B2 (en) Focus detection apparatus and imaging apparatus
JP6464550B2 (en) Camera body and imaging device
JP5899735B2 (en) interchangeable lens
JP2014211589A (en) Focus adjustment device and imaging device
JP2019049744A (en) Lens barrel, imaging device and camera
JP5982749B2 (en) Focus adjustment device and imaging device
JP6467768B2 (en) Imaging device
JP2023080152A (en) Lens barrel and camera body
JP2015049473A (en) Focus adjustment device and imaging device
JP2019082715A (en) Imaging apparatus
JP5966273B2 (en) Imaging device
JP5961979B2 (en) Focus adjustment device and imaging device
JP2014052653A (en) Focus adjustment device and imaging device provided with the same
JP5545278B2 (en) Lens adapter and camera body
JP5862087B2 (en) Focus adjustment device and imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170331

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180123

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180313

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20180511

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180712

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20181009

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181022

R150 Certificate of patent or registration of utility model

Ref document number: 6432150

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250