JP6747541B2 - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP6747541B2
JP6747541B2 JP2019075440A JP2019075440A JP6747541B2 JP 6747541 B2 JP6747541 B2 JP 6747541B2 JP 2019075440 A JP2019075440 A JP 2019075440A JP 2019075440 A JP2019075440 A JP 2019075440A JP 6747541 B2 JP6747541 B2 JP 6747541B2
Authority
JP
Japan
Prior art keywords
focus
speed
lens
limit
optical system
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
JP2019075440A
Other languages
Japanese (ja)
Other versions
JP2019144573A (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 JP2019075440A priority Critical patent/JP6747541B2/en
Publication of JP2019144573A publication Critical patent/JP2019144573A/en
Application granted granted Critical
Publication of JP6747541B2 publication Critical patent/JP6747541B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

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

従来より、焦点調節レンズの駆動可能範囲を制限可能なレンズ鏡筒を用いて、焦点検出時における焦点調節レンズの駆動範囲を制限する技術が知られている(たとえば、特許文献1参照)。 Conventionally, there is known a technique of limiting the drive range of the focus adjustment lens at the time of focus detection by using a lens barrel capable of limiting the driveable range of the focus adjustment lens (for example, see Patent Document 1).

特開2006−126330号公報JP, 2006-126330, A

焦点調節レンズを駆動させながら光学系による像のコントラストに関する評価値を算出し、評価値がピークとなるレンズ位置を合焦位置として検出する、コントラスト検出方式による焦点検出を行う場合には、所定数以上(たとえば5点以上)の評価値を用いて、内挿法などの演算を行うことで、評価値のピークとなるレンズ位置が検出される。しかしながら、従来技術のように、焦点調節レンズの駆動可能範囲を制限してしまうと、カメラボディから指示された焦点調節レンズの駆動速度によっては、焦点調節レンズの駆動速度が速くなり過ぎてしまい、制限した焦点調節レンズの駆動可能範囲において、焦点検出に必要な数(たとえば5点)の評価値を算出することができず、その結果、合焦位置を適切に検出できない場合があった。 When driving the focus adjustment lens, calculate the evaluation value related to the image contrast by the optical system, and detect the lens position where the evaluation value reaches the peak as the in-focus position. By performing calculations such as interpolation using the evaluation values above (for example, 5 points or more), the lens position at the peak of the evaluation values is detected. However, if the drivable range of the focus adjustment lens is limited as in the prior art, the drive speed of the focus adjustment lens becomes too fast depending on the drive speed of the focus adjustment lens instructed by the camera body. In the limited drivable range of the focus adjustment lens, the number of evaluation values required for focus detection (for example, 5 points) cannot be calculated, and as a result, the in-focus position may not be properly detected.

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

[1]本発明に係る撮像装置は、フォーカスレンズを有し、光学系による像を撮像し信号を出力する撮像素子と、前記フォーカスレンズを移動させながら前記信号のコントラストに関する評価値を算出するコントラスト算出部と、前記フォーカスレンズの駆動範囲情報を設定する設定部と、前記評価値の算出をする前記フォーカスレンズの移動の速度を、前記光学系の絞り値に基づいて算出される第1速度と、前記駆動範囲情報に基づいて算出される第2速度とのいずれか遅い速度を設定し、前記評価値を算出する速度設定部と、を備える。
[2]上記撮像装置に係る発明において、前記撮像素子は一定の時間をあけて複数回の撮像を行い、前記速度設定部は、前記光学系の絞り値と前記一定の時間に基づいて前記第1速度を算出し、前記駆動範囲情報と前記一定の時間に基づいて前記第2速度を算出するように構成することができる。
[3]上記撮像装置に係る発明において、前記設定部は、前記光学系を有する鏡筒から受信した、前記フォーカスレンズの駆動範囲の制限に関する情報に基づいて前記フォーカスレンズの前記駆動範囲を決定するように構成することができる。
[4]上記撮像装置に係る発明において、前記速度設定部は、前記駆動範囲内で複数の前記評価値を算出できるように前記第2速度を決定するように構成することができる。
[5]上記撮像装置に係る発明において、前記速度設定部は、前記撮像素子の画素のサイズに基づいて前記第1速度を算出するように構成することができる。
[6]上記撮像装置に係る発明において、前記速度設定部は、前記フォーカスレンズの移動距離に対する前記光学系の像の移動距離の情報に基づいて前記第1速度を算出するように構成することができる。
[7]上記撮像装置に係る発明において、前記信号に基づいて、前記光学系の互いに異なる部分を通過した光による像の位置ずれ量に基づいて前記光学系と前記撮像素子の撮像面とのずれに関する値を算出するデフォーカス算出部と、前記速度設定部で設定した速度で前記フォーカスレンズを移動させながら、前記デフォーカス算出部による前記ずれに関する値の算出と、前記コントラスト算出部による前記評価値の算出とを行わせる制御部と、を有するように構成することができる。
[8]上記撮像装置に係る発明において、前記速度設定部が、前記第1速度を設定したか前記第2速度を設定したかを示す表示部を有するように構成することができる。
[9]上記撮像装置に係る発明において、前記光学系を有するレンズ鏡筒を有するように構成することができる。
[1] An image pickup apparatus according to the present invention includes a focus lens, an image pickup element that picks up an image by an optical system and outputs a signal, and a contrast that calculates an evaluation value regarding the contrast of the signal while moving the focus lens. A calculation unit, a setting unit for setting drive range information of the focus lens, and a first speed calculated based on an aperture value of the optical system for moving speed of the focus lens for calculating the evaluation value. A speed setting unit that sets a slower speed of the second speed calculated based on the drive range information and calculates the evaluation value.
[2] In the invention according to the above-mentioned image pickup device, the image pickup element performs a plurality of image pickups with a certain time interval, and the speed setting section is configured to perform the first image pickup based on the aperture value of the optical system and the certain time period. One speed may be calculated, and the second speed may be calculated based on the drive range information and the fixed time.
[3] In the invention relating to the above-mentioned image pickup apparatus, the setting unit determines the drive range of the focus lens based on information received from a lens barrel having the optical system regarding a limitation of a drive range of the focus lens. Can be configured as.
[4] In the invention according to the above-mentioned imaging device, the speed setting unit may be configured to determine the second speed so that a plurality of the evaluation values can be calculated within the drive range.
[5] In the invention according to the above-described image pickup apparatus, the speed setting unit may be configured to calculate the first speed based on a size of a pixel of the image pickup element.
[6] In the invention according to the above-mentioned imaging device, the speed setting unit may be configured to calculate the first speed based on information about a moving distance of an image of the optical system with respect to a moving distance of the focus lens. it can.
[7] In the invention according to the above-described image pickup apparatus, a shift between the optical system and an image pickup surface of the image pickup element is based on the signal, based on a positional shift amount of an image due to light passing through different portions of the optical system. A defocus calculation unit that calculates a value relating to the deviation, and a value related to the deviation calculated by the defocus calculation unit while moving the focus lens at the speed set by the speed setting unit; and the evaluation value calculated by the contrast calculation unit. And a control unit for performing calculation of.
[8] In the invention according to the above-described imaging device, the speed setting unit may be configured to have a display unit that indicates whether the first speed or the second speed is set.
[9] In the invention according to the above-mentioned imaging device, it may be configured to have a lens barrel having the optical system.

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

図1は、本実施形態に係るカメラを示すブロック図である。FIG. 1 is a block diagram showing a camera according to this embodiment. 図2は、本実施形態に係るレンズ鏡筒の外観図である。FIG. 2 is an external view of the lens barrel according to this embodiment. 図3は、フォーカスレンズの合焦可能範囲の一例を示す図である。FIG. 3 is a diagram showing an example of the focusable range of the focus lens. 図4は、レンズ鏡筒とカメラ本体との間の情報の授受の一例を説明するための図である。FIG. 4 is a diagram for explaining an example of exchanging information between the lens barrel and the camera body. 図5は、コントラスト検出方式による焦点検出方法の一例を説明するための図である。FIG. 5 is a diagram for explaining an example of a focus detection method by the contrast detection method. 図6は、本実施形態のカメラの動作を示すフローチャートである。FIG. 6 is a flowchart showing the operation of the camera of this embodiment. 図7は、サーチ駆動範囲の一例を示す図である。FIG. 7 is a diagram showing an example of the search drive range. 図8は、他の実施形態に係る撮像素子の撮像面の要部拡大図である。FIG. 8 is an enlarged view of a main part of an image pickup surface of an image pickup device according to another embodiment. 図9は、サーチ駆動範囲の他の例を示す図である。FIG. 9 is a diagram showing another example of the search drive range. 図10は、レンズ鏡筒の外観図の他の例を示す図である。FIG. 10 is a diagram showing another example of an external view of the lens barrel.

以下、本発明の実施形態を図面に基づいて説明する。 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 the present embodiment of the present invention. A digital camera 1 (hereinafter, simply referred to as a camera 1) of the present embodiment 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 portion 4. There is.

レンズ鏡筒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 incorporates a photographing optical system including lenses 31, 32, 33 and a diaphragm 34.

レンズ32は、フォーカスレンズであり、光軸L1方向に移動することで、撮影光学系の焦点距離を調節可能となっている。フォーカスレンズ32は、レンズ鏡筒3の光軸L1に沿って移動可能に設けられ、エンコーダ35によってその位置が検出されつつフォーカスレンズ駆動モータ36によってその位置が調節される。 The lens 32 is a focus lens, and the focal length of the photographing optical system can be adjusted by moving in the optical axis L1 direction. The focus lens 32 is movably provided 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へ送出され、フォーカスレンズ駆動モータ36は、この情報に基づいて演算されたフォーカスレンズ32の駆動位置が、カメラ制御部21からレンズ制御部37を介して送出されることにより駆動する。 The current position information of the focus lens 32 detected by the encoder 35 is sent to the camera control unit 21 described later via the lens control unit 37, and the focus lens drive motor 36 calculates the focus lens 32 based on this information. The driving position is driven by being sent from the camera control unit 21 via the lens control unit 37.

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

また、本実施形態に係るレンズ鏡筒3は、フォーカスレンズ32の合焦可能範囲が制限可能となっている。合焦可能範囲とは、当該合焦可能範囲内において、合焦位置が検出された場合に、合焦と判定される範囲である。本実施形態では、図1,2に示すように、レンズ鏡筒3に、合焦可能範囲を設定するためのフォーカスリミットスイッチ38を備えており、ユーザが、フォーカスリミットスイッチ38を操作して、フォーカスリミットモードを選択することで、合焦可能範囲を選択することができる。なお、図2は、本実施形態に係るレンズ鏡筒3の外観図である。 Further, in the lens barrel 3 according to the present embodiment, the focusable range of the focus lens 32 can be limited. The focusable range is a range determined to be in focus when a focus position is detected within the focusable range. In the present embodiment, as shown in FIGS. 1 and 2, the lens barrel 3 is provided with a focus limit switch 38 for setting the focusable range, and the user operates the focus limit switch 38 to By selecting the focus limit mode, the focusable range can be selected. 2. FIG. 2 is an external view of the lens barrel 3 according to this embodiment.

また、図3は、本実施形態で設定可能な合焦可能範囲の一例を示す図である。本実施形態では、図3(A)に示すように、無限遠端ソフトリミットSLIPから至近端ソフトリミットSLNPまでの範囲を、合焦可能範囲Rf1として設定する「FULLモード」と、図3(B)に示すように、無限遠端ソフトリミットSLIPから至近側ソフトリミットSLNSまでの範囲を、合焦可能範囲Rf2として設定する「至近側制限モード」と、図3(C)に示すように、無限遠側ソフトリミットSLISから至近端ソフトリミットSLNPまでの範囲を、合焦可能範囲Rf3として設定する「無限遠側制限モード」の、3つのフォーカスリミットモードを選択することができる。なお、本実施形態では、フォーカスリミットスイッチ38を、図2に示す「FULL」に合わせることで「FULLモード」が設定され、図2に示す「リミット1」に合わせることで「至近側制限モード」が設定され、図2に示す「リミット2」に合わせることで、「無限遠側制限モード」が設定される。 Further, FIG. 3 is a diagram showing an example of a focusable range that can be set in the present embodiment. In the present embodiment, as shown in FIG. 3A, a range from the infinity end soft limit SL IP to the near end soft limit SL NP is set as a focusable range Rf1, and a “FULL mode” is set. As shown in FIG. 3(B), the range from the infinity end soft limit SL IP to the close-up side soft limit SL NS is set as the focusable range Rf2, and the close-up side limit mode is shown in FIG. 3(C). As shown, select the three focus limit modes of "infinity side limit mode" that sets the range from the infinity side soft limit SL IS to the close end soft limit SL NP as the focusable range Rf3. You can In the present embodiment, the focus limit switch 38 is set to "FULL" shown in FIG. 2 to set the "FULL mode", and the focus limit switch 38 is set to "Limit 1" shown in FIG. Is set, and the “infinity side limit mode” is set by matching the “limit 2” shown in FIG.

そして、ユーザによりいずれかのフォーカスリミットモードが選択された場合には、図4に示すように、選択されたフォーカスリミットモードに対応するフォーカスリミット情報が、レンズ鏡筒3からカメラ本体2に送信される。なお、フォーカスリミット情報は、フォーカスリミットモードごとに、レンズ制御部37が備えるROMに記憶されている。 When the user selects one of the focus limit modes, the focus limit information corresponding to the selected focus limit mode is transmitted from the lens barrel 3 to the camera body 2 as shown in FIG. It The focus limit information is stored in the ROM included in the lens control unit 37 for each focus limit mode.

たとえば、フォーカスリミットスイッチ38により、図3(A)に示す「FULLモード」が設定された場合には、レンズ制御部37は、フォーカスリミット情報として、「FULLモード」における合焦可能範囲Rf1のリミット位置(端部)である無限遠端ソフトリミットSLIPおよび至近端ソフトリミットSLNPと、それに対応する無限遠端設計値DVIPおよび至近端設計値DVNPとを、カメラ本体2に送信する。 For example, when the “FULL mode” shown in FIG. 3A is set by the focus limit switch 38, the lens control unit 37 uses the focus limit information as the limit of the focusable range Rf1 in the “FULL mode”. The infinity end soft limit SL IP and the near end soft limit SL NP , which are the positions (ends), and the corresponding infinity end design value DV IP and the near end design value DV NP are transmitted to the camera body 2. To do.

また、フォーカスリミットスイッチ38により、図3(B)に示す「至近側制限モード」が設定された場合には、レンズ制御部37は、フォーカスリミット情報として、「至近側制限モード」における合焦可能範囲Rf2のリミット位置である、無限遠端ソフトリミットSLIPおよび至近側ソフトリミットSLNSと、それに対応する無限遠端設計値DVIPおよび至近側設計値DVNSとを、カメラ本体2に送信する。 Further, when the "close-up side limit mode" shown in FIG. 3(B) is set by the focus limit switch 38, the lens control unit 37 can focus in the "close-up side limit mode" as the focus limit information. The infinity end soft limit SL IP and the near side soft limit SL NS , which are the limit positions of the range Rf2, and the corresponding infinity end design value DV IP and the near side design value DV NS are transmitted to the camera body 2. ..

同様に、フォーカスリミットスイッチ38により、図3(C)に示す「無限遠側制限モード」が設定された場合には、レンズ制御部37は、フォーカスリミット情報として、「無限遠側制限モード」における合焦可能範囲Rf3のリミット位置である無限遠側ソフトリミットSLISおよび至近端ソフトリミットSLNPと、それに対応する無限遠側設計値DVISおよび至近端設計値DVNPとを、カメラ本体2に送信する。 Similarly, when the “infinity side limit mode” shown in FIG. 3C is set by the focus limit switch 38, the lens control unit 37 sets the focus limit information in the “infinity side limit mode”. The infinity side soft limit SL IS and the near end soft limit SL NP , which are the limit positions of the focusable range Rf3, and the corresponding infinity side design value DV IS and the near end design value DV NP are set in the camera body. Send to 2.

なお、本実施形態において、レンズ鏡筒3は、至近側ソフトリミットSLNS、至近側設計値DVNS、無限遠側ソフトリミットSLIS、または無限遠側設計値DVISを、ズームレンズ位置ごとに記憶しており、レンズ制御部37は、ズームレンズ位置に応じた至近側ソフトリミットSLNS、至近側設計値DVNS、無限遠側ソフトリミットSLIS、または無限遠側設計値DVISをROMから読み出し、フォーカスリミット情報として、カメラ本体2に送信する。 In the present embodiment, the lens barrel 3 uses the close-side soft limit SL NS , the close-side design value DV NS , the infinity side soft limit SL IS , or the infinity side design value DV IS for each zoom lens position. The lens control unit 37 stores the close-side soft limit SL NS , the close-side design value DV NS , the infinity side soft limit SL IS , or the infinity side design value DV IS according to the zoom lens position from the ROM. It is read and transmitted to the camera body 2 as focus limit information.

さらに、本実施形態においては、たとえば、合焦可能範囲Rf2,Rf3などのように、レンズ鏡筒3において、合焦可能範囲が合焦可能範囲を制限可能であるか否かを示す情報、および、「FULLモード」や「無限側制限モード」などのように、ユーザに選択されたフォーカスリミットモードの情報が、フォーカスリミット情報として、レンズ制御部37のROMに記憶されており、レンズ制御部37は、フォーカスリミット情報として、レンズ鏡筒3において合焦可能範囲が制限可能であるか否かを示す情報およびユーザに選択されたフォーカスリミットモードの情報をも、レンズ鏡筒3からカメラ本体2に送信することができる。 Further, in the present embodiment, for example, information indicating whether or not the focusable range can limit the focusable range in the lens barrel 3, such as the focusable ranges Rf2 and Rf3, and the like. , "FULL mode", "infinity side limit mode", and the like, information of the focus limit mode selected by the user is stored in the ROM of the lens control unit 37 as focus limit information, and the lens control unit 37 The focus limit information from the lens barrel 3 to the camera body 2 also includes information indicating whether or not the focusable range can be limited in the lens barrel 3 and the focus limit mode information selected by the user. Can be sent.

なお、図3(A)において、無限遠端設計値DVIPは、「FULLモード」において、レンズ鏡筒3が、設計上、被写体に合焦することを保証するレンズ位置のうち無限遠側のリミット位置であり、レンズ鏡筒3の設計誤差を考慮して、無限遠端設計値DVIPよりも無限遠側に無限遠端ソフトリミットSLIPを設け、この無限遠端ソフトリミットSLIPまで合焦位置の検出が可能となるように設計されている。同様に、至近端設計値DVNPは、レンズ鏡筒3が、設計上、被写体に合焦することを保証するレンズ位置のうち至近側のリミット位置であり、レンズ鏡筒3の設計誤差を考慮して、至近端設計値DVNPよりも至近側に至近端ソフトリミットSLNPを設け、この至近端ソフトリミットSLNPまで合焦位置の検出が可能となるように設計されている。 In FIG. 3(A), the infinity end design value DV IP is the infinity side of the lens position that ensures that the lens barrel 3 is designed to focus on the subject in the “FULL mode”. a limit position, taking into account the design errors of the lens barrel 3, an infinite far soft limit SL IP provided on the infinite side of the infinity end design value DV IP, if up to the infinite far soft limit SL IP It is designed so that the focus position can be detected. Similarly, the close end design value DV NP is the limit position on the close side of the lens positions that guarantees that the lens barrel 3 focuses on the subject, by designing the lens barrel 3 to prevent the design error of the lens barrel 3. Considering this, it is designed so that the close end soft limit SL NP is provided closer to the close end design value DV NP and the in- focus position can be detected up to the close end soft limit SL NP . ..

また、図3(B)において、至近側設計値DVNSは、「至近側制限モード」において、レンズ鏡筒3が、設計上、被写体に合焦することを保証するレンズ位置のうちの至近側のリミット位置であり、レンズ鏡筒3の設計誤差を考慮して、至近側設計値DVNSよりも至近側の至近側ソフトリミットSLNSまで、合焦位置の検出が可能となるように設計されている。同様に、図3(C)において、無限遠側設計値DVISは、「無限遠側制限モード」において、レンズ鏡筒3が、設計上、被写体に合焦することを保証するレンズ位置のうちの無限遠側のリミット位置であり、レンズ鏡筒3の設計誤差を考慮して、無限遠側設計値DVISよりも無限遠側の無限遠側ソフトリミットSLISまで、合焦位置の検出が可能となるように設計されている。 Further, in FIG. 3B, the close-up side design value DV NS is the close-up side of the lens positions that guarantee that the lens barrel 3 is designed to focus on the subject in the “close-up side limiting mode”. It is designed to be able to detect the in-focus position up to the close-side soft limit SL NS closer to the close-side design value DV NS in consideration of the design error of the lens barrel 3. ing. Similarly, in FIG. 3 (C), the infinity side design value DV IS is the "infinity side restriction mode", the lens barrel 3, the design, of the lens position to ensure that focus on the subject Is the limit position on the infinity side, and in consideration of the design error of the lens barrel 3, the in-focus position can be detected up to the infinity side soft limit SL IS on the infinity side from the infinity side design value DV IS. Designed to be possible.

また、図4に示すように、レンズ鏡筒3からカメラ本体2に対しては、フォーカスリミット情報に加えて、フォーカスレンズ位置の情報も周期的に送信される。そして、カメラ本体2においては、フォーカスリミット情報およびフォーカスレンズ32の位置情報に基づいて、フォーカスレンズ32のレンズ駆動量が算出され、算出されたレンズ駆動量がレンズ鏡筒3に送信される。なお、図4は、レンズ鏡筒3とカメラ本体2との情報の授受の一例を説明するための図である。 Further, as shown in FIG. 4, in addition to the focus limit information, information on the focus lens position is periodically transmitted from the lens barrel 3 to the camera body 2. Then, in the camera body 2, the lens drive amount of the focus lens 32 is calculated based on the focus limit information and the position information of the focus lens 32, and the calculated lens drive amount is transmitted to the lens barrel 3. Note that FIG. 4 is a diagram for explaining an example of exchanging information between the lens barrel 3 and the camera body 2.

一方、カメラ本体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 image pickup device 22 for receiving the light flux L1 from the photographing optical system on the planned focal plane of the photographing optical system, and a shutter 23 on the front surface thereof. The image pickup device 22 is composed of a device such as a CCD or a CMOS, converts the received optical signal into an electric 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 the release button (provided on the operation unit 28 ( When (not shown) is fully pressed, the captured image information is recorded in the camera memory 24 which is a recording medium. As the camera memory 24, either a removable card type memory or a built-in type memory can be used.

カメラ本体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 captured by the image sensor 22. The observation optical system of the present embodiment includes an electronic viewfinder (EVF) 26 including a liquid crystal display element, a liquid crystal drive 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 controller 21, and drives the electronic viewfinder 26 based on the captured image information. As a result, the user can observe the current captured image through the eyepiece lens 27. Instead of, or in addition to, the observation optical system based on the optical axis L2, a liquid crystal display may be provided on the back surface of the camera body 2 or the like to display a photographed image on the liquid crystal display.

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

また、カメラ制御部21は、上記に加えて、コントラスト検出方式による光学系の焦点状態の検出を行う。具体的には、カメラ制御部21は、撮像素子22の撮像画素221の出力を読み出し、読み出した画素出力に基づき、焦点評価値の演算を行う。この焦点評価値は、たとえば撮像素子22の撮像画素221からの画像出力の高周波成分を、高周波透過フィルタを用いて抽出することで求めることができる。また、遮断周波数が異なる2つの高周波透過フィルタを用いて高周波成分を抽出することでも求めることができる。 In addition to the above, the camera control unit 21 also detects the focus state of the optical system by the contrast detection method. Specifically, the camera control unit 21 reads the output of the image pickup pixel 221 of the image pickup element 22 and calculates the focus evaluation value based on the read pixel output. The focus evaluation value can be obtained, for example, by extracting a high frequency component of the image output from the image pickup pixel 221 of the image pickup device 22 using a high frequency transmission filter. It can also be obtained by extracting a high frequency component using two high frequency transmission filters having different cutoff frequencies.

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

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

操作部28は、シャッターレリーズボタンなどのユーザがカメラ1の各種動作モードを設定するための入力スイッチであり、オートフォーカスモード/マニュアルフォーカスモードの切換が行えるようになっている。この操作部28により設定された各種モードはカメラ制御部21へ送出され、当該カメラ制御部21によりカメラ1全体の動作が制御される。また、シャッターレリーズボタンは、ボタンの半押しでONとなる第1スイッチSW1と、ボタンの全押しでONとなる第2スイッチSW2とを含む。 The operation unit 28 is an input switch such as a shutter release button for the user to set various operation modes of the camera 1, and can switch between an auto focus mode and a manual focus mode. Various modes set by the operation unit 28 are sent to the camera control unit 21, and the operation of the entire camera 1 is controlled by the camera control unit 21. Further, the shutter release button includes a first switch SW1 which is turned on when the button is pressed halfway and a second switch SW2 which is turned on when the button is fully pressed.

次いで、本実施形態に係るカメラ1の動作例を説明する。図6は、カメラ1の動作を示すフローチャートである。 Next, an operation example of the camera 1 according to this embodiment will be described. FIG. 6 is a flowchart showing the operation of the camera 1.

まず、ステップS101では、カメラ制御部21により、フォーカスリミット情報の取得が行われる。本実施形態では、レンズ鏡筒3で設定されたフォーカスリミットモードに対応するフォーカスリミット情報が、レンズ制御部37からカメラ制御部21に一定間隔で周期的に送信されており、カメラ制御部21は、現在設定されているフォーカスリミットモードに対応するフォーカスリミット情報を、レンズ制御部37から取得することができる。 First, in step S101, the camera control unit 21 acquires focus limit information. In the present embodiment, focus limit information corresponding to the focus limit mode set in the lens barrel 3 is periodically transmitted from the lens control unit 37 to the camera control unit 21 at regular intervals, and the camera control unit 21 The focus limit information corresponding to the currently set focus limit mode can be acquired from the lens controller 37.

たとえば、図3(A)に示すように、フォーカスリミットスイッチ38により「FULLモード」が設定されている場合には、レンズ制御部37は、フォーカスリミット情報として、「FULLモード」における合焦可能範囲Rf1のリミット位置(端部)である、無限遠端ソフトリミットSLIPおよび至近端ソフトリミットSLNPを含む情報を、カメラ本体2に周期的に送信する。これにより、カメラ制御部21は、無限遠端ソフトリミットSLIPおよび至近端ソフトリミットSLNPを含むフォーカスリミット情報を取得することができる。 For example, as shown in FIG. 3A, when the “FULL mode” is set by the focus limit switch 38, the lens control unit 37 uses the focus limit information as the focusable range in the “FULL mode”. Information including the infinity end soft limit SL IP and the near end soft limit SL NP , which are the limit positions (ends) of Rf1, is periodically transmitted to the camera body 2. Accordingly, the camera control unit 21 can acquire focus limit information including the infinite end soft limit SL IP and the close end soft limit SL NP .

同様に、カメラ制御部21は、図3(B)に示すように、フォーカスリミットスイッチ38により「至近側制限モード」が設定されている場合には、「至近側制限モード」における合焦可能範囲Rf2のリミット位置である、無限遠端ソフトリミットSLIPおよび至近側ソフトリミットSLNSを含む情報を、フォーカスリミット情報として取得し、また、図3(C)に示すように、フォーカスリミットスイッチ38により「無限遠側制限モード」が設定されている場合には、「無限遠側制限モード」における合焦可能範囲Rf3のリミット位置である、無限遠側ソフトリミットSLISおよび至近端ソフトリミットSLNPを含む情報を、フォーカスリミット情報として取得することができる。 Similarly, as shown in FIG. 3B, the camera control unit 21 sets the focusable range in the "close-up side restriction mode" when the "close-up side restriction mode" is set by the focus limit switch 38. Information including the infinity end soft limit SL IP and the near side soft limit SL NS , which are the limit positions of Rf2, is acquired as focus limit information, and as shown in FIG. When the "infinity side limit mode" is set, the infinity side soft limit SL IS and the near end soft limit SL NP , which are the limit positions of the focusable range Rf3 in the "infinity side limit mode", are set. It is possible to acquire the information including the as the focus limit information.

なお、フォーカスリミットモードが同じ場合でも、レンズ鏡筒3の種別によっては、フォーカスレンズ32の合焦可能範囲Rf1〜Rf3が、それぞれ異なる範囲となる場合がある。そのため、カメラ制御部21は、レンズ鏡筒3から、当該レンズ鏡筒3に固有のフォーカスリミット情報を取得する。 Even if the focus limit modes are the same, the focusable ranges Rf1 to Rf3 of the focus lens 32 may be different ranges depending on the type of the lens barrel 3. Therefore, the camera control unit 21 acquires focus limit information specific to the lens barrel 3 from the lens barrel 3.

ステップS102では、カメラ制御部21により、ステップS101で取得されたフォーカスリミット情報に基づいて、図3(A)〜(C)に示すように、フォーカスレンズ32の合焦可能範囲の算出が行われる。 In step S102, the camera control unit 21 calculates the focusable range of the focus lens 32 based on the focus limit information acquired in step S101, as shown in FIGS. ..

たとえば、カメラ制御部21は、図3(A)に示すように、「FULLモード」が設定されており、フォーカスリミット情報として、無限遠端ソフトリミットSLIPおよび至近端ソフトリミットSLNPが取得されている場合には、無限遠端ソフトリミットSLIPから至近端ソフトリミットSLNPまでの範囲を、合焦可能範囲Rf1として算出する。 For example, as shown in FIG. 3A, the camera control unit 21 is set to the “FULL mode”, and acquires the infinity end soft limit SL IP and the near end soft limit SL NP as the focus limit information. If so, the range from the infinity end soft limit SL IP to the closest end soft limit SL NP is calculated as the focusable range Rf1.

同様に、カメラ制御部21は、図3(B)に示すように、「至近側制限モード」が設定されており、フォーカスリミット情報として、無限遠端ソフトリミットSLIPおよび至近側ソフトリミットSLNSが取得されている場合には、無限遠端ソフトリミットSLIPから至近側ソフトリミットSLNSまでの範囲を、合焦可能範囲Rf2として算出する。また、カメラ制御部21は、図3(C)に示すように、「無限遠側制限モード」が設定されており、フォーカスリミット情報として、無限遠側ソフトリミットSLISおよび至近端ソフトリミットSLNPが取得された場合には、無限遠側ソフトリミットSLISから至近端ソフトリミットSLNPまでの範囲を、合焦可能範囲Rf3として算出する。 Similarly, as shown in FIG. 3B, the camera control unit 21 is set to the “close-up side limit mode”, and as the focus limit information, the infinity end soft limit SL IP and the close-up side soft limit SL NS are set. Is acquired, the range from the infinity end soft limit SL IP to the close-up side soft limit SL NS is calculated as the focusable range Rf2. Further, as shown in FIG. 3C, the camera control unit 21 is set to the “infinity side limit mode”, and the focus limit information includes infinity side soft limit SL IS and the near end soft limit SL. When the NP is acquired, the range from the infinity side soft limit SL IS to the near end soft limit SL NP is calculated as the focusable range Rf3.

なお、レンズ鏡筒3の種別によっては、フォーカスリミット機能を有しておらず、フォーカスリミット情報を、レンズ鏡筒3から取得できない場合もある。このような場合には、カメラ制御部21は、図3(A)に示すように、無限遠端ソフトリミットSLIPから至近端ソフトリミットSLNPまでの範囲Rf1を合焦可能範囲として算出することができる。 Depending on the type of the lens barrel 3, it may not be possible to obtain focus limit information from the lens barrel 3 because it does not have a focus limit function. In such a case, the camera control unit 21 calculates, as shown in FIG. 3A, a range Rf1 from the infinite end soft limit SL IP to the close end soft limit SL NP as a focusable range. be able to.

ステップS103では、カメラ制御部21により、コントラスト検出方式による焦点検出を行うためのフォーカスレンズ32の駆動範囲が、サーチ駆動範囲として算出される。図7は、サーチ駆動範囲の一例を示す図である。図7(A)〜(C)に示すように、サーチ駆動範囲Rs1〜Rs3は、図3(A)〜(C)に示す合焦可能範囲Rf1〜Rf3を含み、かつ、合焦可能範囲Rf1〜Rf3よりも広い範囲として算出される。 In step S103, the camera control unit 21 calculates the drive range of the focus lens 32 for performing focus detection by the contrast detection method as the search drive range. FIG. 7 is a diagram showing an example of the search drive range. As shown in FIGS. 7A to 7C, the search drive ranges Rs1 to Rs3 include the focusable ranges Rf1 to Rf3 shown in FIGS. 3A to 3C and the focusable range Rf1. Is calculated as a range wider than Rf3.

ここで、コントラスト検出方式による焦点検出において、カメラ制御部21は、上述したように、フォーカスレンズ32を駆動させながら、焦点評価値の算出を所定のサンプリング間隔で行う。そして、コントラスト検出方式により焦点評価値のピーク位置(合焦位置)を検出するためには、図5に示すように、ピーク位置を超えた位置(図5中、P2)までフォーカスレンズ32を駆動させて焦点評価値を算出する必要がある。そのため、たとえば、コントラスト検出方式により、無限遠端ソフトリミットSLIPで焦点評価値のピーク位置(合焦位置)を検出するためには、フォーカスレンズ32を無限遠端ソフトリミットSLIPよりも無限遠側まで駆動して焦点評価値を算出する必要がある。同様に、たとえば、コントラスト検出方式により、至近端ソフトリミットSLNPで焦点評価値のピーク位置(合焦位置)を検出するためには、フォーカスレンズ32を至近端ソフトリミットSLNPよりも至近側まで駆動して焦点評価値を算出する必要がある。 Here, in focus detection by the contrast detection method, the camera control unit 21 calculates the focus evaluation value at a predetermined sampling interval while driving the focus lens 32 as described above. Then, in order to detect the peak position (focus position) of the focus evaluation value by the contrast detection method, as shown in FIG. 5, the focus lens 32 is driven to a position beyond the peak position (P2 in FIG. 5). Then, it is necessary to calculate the focus evaluation value. Therefore, for example, in order to detect the peak position (focus position) of the focus evaluation value by the infinity end soft limit SL IP by the contrast detection method, the focus lens 32 is set at infinity farther than the infinity end soft limit SL IP. It is necessary to drive to the side to calculate the focus evaluation value. Similarly, for example, in order to detect the peak position (focus position) of the focus evaluation value with the close-up soft limit SL NP by the contrast detection method, the focus lens 32 is located closer than the close-up soft limit SL NP. It is necessary to drive to the side to calculate the focus evaluation value.

そこで、カメラ制御部21は、フォーカスリミットモードが「FULLモード」である場合には、図7(A)に示すように、無限遠端ソフトリミットSLIPよりも無限遠側のレンズ位置から、至近端ソフトリミットSLNPよりも至近側のレンズ位置までの範囲を、サーチ駆動範囲Rs1として算出する。たとえば、本実施形態では、図5に示すように、焦点評価値が2回上昇した後、さらに2回下降して推移した場合に、これらの焦点評価値を用いて焦点評価値のピークを算出しているため、カメラ制御部21は、無限遠端ソフトリミットSLIPよりも無限遠側において焦点評価値を2つ算出することが可能なレンズ位置から、至近端ソフトリミットSLNPよりも至近側において焦点評価値を2つ算出することが可能なレンズ位置までの範囲を、サーチ駆動範囲Rs1として算出することができる。 Therefore, when the focus limit mode is the "FULL mode", the camera control unit 21 selects the lens position closer to the infinity than the infinity end soft limit SL IP as shown in FIG. 7A. The range up to the lens position closer to the near end soft limit SL NP is calculated as the search drive range Rs1. For example, in the present embodiment, as shown in FIG. 5, when the focus evaluation value rises twice and then falls twice more, the focus evaluation value is used to calculate the peak of the focus evaluation value. Therefore, the camera control unit 21 determines that the lens position where two focus evaluation values can be calculated on the infinity side of the infinity end soft limit SL IP is closer to the infinity end soft limit SL NP. The range up to the lens position where two focus evaluation values can be calculated on the side can be calculated as the search drive range Rs1.

また、カメラ制御部21は、フォーカスリミットモードが「至近側制限モード」である場合には、図7(B)に示すように、無限遠端ソフトリミットSLIPよりも無限遠側のレンズ位置から、至近側ソフトリミットSLNSよりも至近側のレンズ位置までの範囲を、サーチ駆動範囲Rs2として算出する。同様に、カメラ制御部21は、フォーカスリミットモードが「無限遠側制限モード」である場合には、図7(C)に示すように、無限遠側ソフトリミットSLISよりも無限遠側のレンズ位置から、至近端ソフトリミットSLNPよりも至近側のレンズ位置までの範囲を、サーチ駆動範囲Rs3として算出する。 Further, when the focus limit mode is the “closest side limit mode”, the camera control unit 21 starts from the lens position on the infinity side with respect to the infinity end soft limit SL IP as shown in FIG. 7B. , The range up to the lens position closer to the near side soft limit SL NS is calculated as the search drive range Rs2. Similarly, when the focus limit mode is the “infinity side limit mode”, the camera control unit 21 sets the lens on the infinity side of the infinity side soft limit SL IS as shown in FIG. 7C. The range from the position to the lens position closer to the closest end soft limit SL NP is calculated as the search drive range Rs3.

ステップS104では、カメラ制御部21により、第1目標速度V1の算出が行われる。具体的には、カメラ制御部21は、光学系の被写界深度と撮像素子22のフレームレートとに基づいて、コントラスト検出方式による焦点検出時のフォーカスレンズ32のレンズ駆動速度を、第1目標速度V1として算出する。 In step S104, the camera control unit 21 calculates the first target speed V1. Specifically, the camera control unit 21 sets the lens drive speed of the focus lens 32 at the time of focus detection by the contrast detection method to the first target based on the depth of field of the optical system and the frame rate of the image sensor 22. It is calculated as the speed V1.

ここで、コントラスト検出方式による焦点検出を行う場合には、フォーカスレンズ32を駆動することで、光学系による像面を光軸方向に移動させ、これにより、異なる像面において複数の焦点評価値を算出し、これら焦点評価値がピークとなるレンズ位置を、合焦位置として検出する。しかしながら、像面の移動速度を速くし過ぎてしまうと、焦点評価値を算出する像面の間隔が大きくなり過ぎてしまい、合焦位置を適切に検出することができなくなってしまう。一方、像面の移動速度を遅くし過ぎてしまうと、焦点検出にかかる時間が増大し、また、手ぶれなどの外乱の影響が大きくなる。そのため、本実施形態において、カメラ制御部21は、たとえば、合焦位置の検出に適した焦点評価値のサンプリング間隔を被写界深度の3倍として設定し、焦点評価値を算出する像面の間隔が被写界深度の3倍となる像面の移動速度を、第1目標速度V1として算出する。 Here, when performing focus detection by the contrast detection method, the focus lens 32 is driven to move the image plane of the optical system in the optical axis direction, whereby a plurality of focus evaluation values on different image planes are obtained. The calculated lens position where these focus evaluation values reach a peak is detected as the in-focus position. However, if the moving speed of the image plane is too fast, the distance between the image planes for calculating the focus evaluation value becomes too large, and the in-focus position cannot be properly detected. On the other hand, if the moving speed of the image plane is too slow, the time required for focus detection will increase and the influence of external disturbances such as camera shake will increase. Therefore, in the present embodiment, the camera control unit 21 sets, for example, the sampling interval of the focus evaluation value suitable for detecting the in-focus position as three times the depth of field, and determines the focus evaluation value on the image plane. The moving speed of the image plane where the distance is three times the depth of field is calculated as the first target speed V1.

たとえば、撮像素子22の一の画素で撮像される一点の像がボケて、当該一の画素の左右両隣の画素において当該一点の像が撮像される場合(すなわち、一の画素で撮像可能な一点の像がボケることで、一点の像が3画素に亘って撮像される場合)でも、人間の目では一点としか判別できない場合がある。この場合、この一点の像は被写界深度内に存在するものと判断することができる。そこで、本実施形態において、カメラ制御部21は、下記式(1)に示すように、一点の像が3画素の範囲内で撮像される深度を被写界深度Dとして定義し、画素の配列方向の幅WとF値とに基づいて、被写界深度Dを求める。
被写界深度D=3画素×画素の配列方向の幅W×F値 ・・・(1)
たとえば、各画素の配列方向の幅が5μmであり、F値が5.6である場合には、カメラ制御部21は、上記式(1)に基づいて、被写界深度を84μmとして算出することができる。
For example, when an image of one point captured by one pixel of the image sensor 22 is blurred and the image of that one point is captured by pixels on the left and right sides of the one pixel (that is, one point that can be captured by one pixel). However, even if the image of one point is captured over three pixels due to the blurring of the image (1), the human eye may sometimes be able to determine only one point. In this case, it can be determined that this one-point image exists within the depth of field. Therefore, in the present embodiment, the camera control unit 21 defines the depth at which an image of one point is captured within the range of 3 pixels as the depth of field D as shown in the following formula (1), and the array of pixels is defined. The depth of field D is obtained based on the width W and the F value in the direction.
Depth of field D=3 pixels×width in arrangement direction of pixels W×F value (1)
For example, when the width of each pixel in the array direction is 5 μm and the F value is 5.6, the camera control unit 21 calculates the depth of field as 84 μm based on the above equation (1). be able to.

そして、カメラ制御部21は、下記式(2)に示すように、被写界深度Dと、フレームレートfpsとに基づいて、焦点評価値を算出する像面の間隔が、被写界深度の3倍となる像面の移動速度を、第1目標速度V1として算出する。
第1目標速度V1=3×被写界深度D×フレームレートfps ・・・(2)
たとえば、被写界深度が84μmであり、フレームレートが200fpsである場合には、カメラ制御部21は、上記式(2)に基づいて、第1目標速度V1を50.4mm/sとして求めることができる。
Then, the camera control unit 21 calculates the focus evaluation value based on the depth of field D and the frame rate fps, as shown in the following expression (2). The triple moving speed of the image plane is calculated as the first target speed V1.
First target speed V1=3×depth of field D×frame rate fps (2)
For example, when the depth of field is 84 μm and the frame rate is 200 fps, the camera control unit 21 determines the first target speed V1 as 50.4 mm/s based on the above equation (2). You can

なお、上記式(1)において、一点の像がボケて複数の画素に亘って撮像される場合に、被写界深度内とみなされる画素の数は、3画素に限定されず、撮像素子22の各撮像画素の構成に基づいて、適宜設定することができる。また、上記式(2)においては、焦点評価値を算出する像面の間隔が被写界深度の3倍となる像面の移動速度を、焦点検出に適した像面の移動速度として算出しているが、この構成に限定されず、たとえば、焦点評価値を算出する像面の間隔が、被写界深度の2倍または4倍などとなる像面の移動速度を、焦点検出に適した像面の移動速度として算出する構成としてもよい。 In the above formula (1), when an image of one point is blurred and imaged over a plurality of pixels, the number of pixels considered to be within the depth of field is not limited to 3 pixels, and the image sensor 22 Can be appropriately set based on the configuration of each of the image pickup pixels. Further, in the above formula (2), the moving speed of the image surface at which the distance between the image surfaces for calculating the focus evaluation value is three times the depth of field is calculated as the moving speed of the image surface suitable for focus detection. However, the present invention is not limited to this configuration, and for example, the moving speed of the image plane at which the distance between the image planes for calculating the focus evaluation value is twice or four times the depth of field is suitable for focus detection. The configuration may be such that it is calculated as the moving speed of the image plane.

次いで、ステップS105では、カメラ制御部21により、第2目標速度V2の算出が行われる。具体的には、カメラ制御部21は、ステップS103で設定したサーチ駆動範囲内で、焦点検出に必要な所定数以上の焦点評価値を算出することができる像面の移動速度を、第2目標速度V2として算出する。 Next, in step S105, the camera control unit 21 calculates the second target speed V2. Specifically, the camera control unit 21 sets the moving speed of the image plane that can calculate a predetermined number or more of focus evaluation values necessary for focus detection within the search drive range set in step S103 as the second target. It is calculated as the speed V2.

ここで、本実施形態では、フォーカスレンズ32を駆動させながら焦点評価値を算出し、焦点評価値が、2回上昇した後、さらに、2回下降して推移した場合に、これら5点の焦点評価値を用いて、焦点評価値のピークを算出している。そのため、本実施形態では、ステップS103で算出したサーチ駆動範囲において、少なくとも5点以上の焦点評価値が検出できない場合には、焦点評価値のピークを検出することができなくなってしまう。 Here, in the present embodiment, the focus evaluation value is calculated while driving the focus lens 32, and when the focus evaluation value increases twice and then decreases twice, the focus of these five points is increased. The peak of the focus evaluation value is calculated using the evaluation value. Therefore, in the present embodiment, if the focus evaluation values of at least 5 points cannot be detected in the search drive range calculated in step S103, the peak of the focus evaluation value cannot be detected.

そこで、本実施形態において、カメラ制御部21は、下記式(3)に示すように、サーチ駆動範囲の大きさR(単位:パルス数)と、焦点検出に必要な最小の焦点評価値の数Nと、レンズ分解係数γ(単位:パルス数/mm)と、フレームレートfpsとに基づいて、合焦可能範囲内で所定数N以上の焦点評価値を算出することができる像面の移動速度のうち最大の速度を、第2目標速度V2として算出する。
第2目標速度V2=サーチ駆動範囲の大きさR/焦点評価値の数N/レンズ分解係数γ×フレームレートfps ・・・(3)
なお、レンズ分解係数γとは、フォーカスレンズ33の駆動量と像面の移動量との対応関係を示す値であり、例えば、フォーカスレンズ33の駆動量と像面の移動量との比である。また、レンズ分解係数γは、光学系の設計、レンズ鏡筒3の構造、および、フォーカスレンズ駆動モータ36の性能などにより決定する係数であり、カメラ制御部21は、それぞれのレンズ鏡筒3に固有のレンズ分解係数γを、レンズ制御部37から取得することができる。
Therefore, in the present embodiment, the camera control unit 21 determines the size R (unit: number of pulses) of the search drive range and the minimum number of focus evaluation values required for focus detection, as shown in the following formula (3). Based on N, the lens resolution coefficient γ (unit: number of pulses/mm), and the frame rate fps, a moving speed of the image plane capable of calculating a predetermined number N or more focus evaluation values within the focusable range. Of these, the maximum speed is calculated as the second target speed V2.
Second target speed V2=size of search drive range R/number of focus evaluation values N/lens resolution coefficient γ×frame rate fps (3)
The lens resolution coefficient γ is a value indicating the correspondence between the drive amount of the focus lens 33 and the movement amount of the image plane, and is, for example, the ratio of the drive amount of the focus lens 33 and the movement amount of the image plane. .. The lens resolution coefficient γ is a coefficient determined by the design of the optical system, the structure of the lens barrel 3, the performance of the focus lens drive motor 36, etc., and the camera control unit 21 controls the lens barrel 3 for each lens barrel 3. The unique lens decomposition coefficient γ can be acquired from the lens controller 37.

たとえば、無限遠端ソフトリミットSLIPから至近端ソフトリミットSLNPまでの合焦可能範囲の大きさが50パルスであり、焦点検出に必要な最小の焦点評価値の数Nが5点であり、レンズ分解係数γが80パルス/mmであり、フレームレートが200fpsである場合に、カメラ制御部21は、第2目標速度V2を、50/5/80×200=25mm/sとして算出することができる。 For example, the size of the focusable range from the infinity end soft limit SL IP to the near end soft limit SL NP is 50 pulses, and the minimum number N of focus evaluation values required for focus detection is 5 points. When the lens resolution coefficient γ is 80 pulses/mm and the frame rate is 200 fps, the camera control unit 21 calculates the second target speed V2 as 50/5/80×200=25 mm/s. You can

そして、ステップS106では、カメラ制御部21により、ステップS104で算出された第1目標速度V1およびステップS105で算出された第2目標速度V2のうち、遅い方の速度が、コントラスト方式による焦点検出時にフォーカスレンズ32を駆動させる駆動目標速度として設定される。たとえば、上述した例では、第1目標速度V1が50.4mm/sとして算出されており、第2目標速度V2が25mm/sとして算出されている。この場合、カメラ制御部21は、第2目標速度V2を駆動目標速度として設定することができる。なお、第1目標速度V1と第2目標速度V2とが同じ速度である場合、カメラ制御部21は、第2目標速度V2を駆動目標速度として設定することができる。 Then, in step S106, the camera control unit 21 determines that the slower speed of the first target speed V1 calculated in step S104 and the second target speed V2 calculated in step S105 is the focus detection by the contrast method. It is set as a drive target speed for driving the focus lens 32. For example, in the above example, the first target speed V1 is calculated as 50.4 mm/s, and the second target speed V2 is calculated as 25 mm/s. In this case, the camera control unit 21 can set the second target speed V2 as the drive target speed. When the first target speed V1 and the second target speed V2 are the same speed, the camera control unit 21 can set the second target speed V2 as the drive target speed.

ステップS107では、カメラ制御部21により、焦点評価値の算出が開始される。本実施形態では、焦点評価値の算出処理は、撮像素子22の撮像画素221の画素出力を読み出し、読み出した画素出力の高周波成分を、高周波透過フィルタを用いて抽出し、これを積算することにより行われる。焦点評価値の算出は、使用者の手動操作により、あるいは、被写体認識モードなどにより、特定の焦点検出位置が選択されているときには、選択された焦点検出位置に対応する撮像画素221の画素出力のみを読み出すような構成としてもよい。なお、焦点評価値の算出処理は、所定の間隔で繰り返し実行される。 In step S107, the camera control unit 21 starts calculation of the focus evaluation value. In the present embodiment, the focus evaluation value calculation processing reads the pixel output of the image pickup pixel 221 of the image pickup device 22, extracts the high frequency component of the read pixel output using the high frequency transmission filter, and integrates the extracted high frequency component. Done. The focus evaluation value is calculated only by the pixel output of the imaging pixel 221 corresponding to the selected focus detection position when the specific focus detection position is selected by the user's manual operation or the subject recognition mode or the like. May be read. The focus evaluation value calculation process is repeatedly executed at predetermined intervals.

ステップS108では、カメラ制御部21により、操作部28に備えられたシャッターレリーズボタンの半押し(第1スイッチSW1のオン)がされたかどうかの判断が行なわれる。第1スイッチSW1がオンした場合は、ステップS109に進む。一方、第1スイッチSW1がオンしていない場合は、第1スイッチSW1がオンされるまで、ステップS108を繰り返す。すなわち、第1スイッチSW1がオンされるまで、フォーカスレンズ32の駆動を停止したまま、焦点評価値の算出処理が繰り返し実行される。 In step S108, the camera control unit 21 determines whether or not the shutter release button provided on the operation unit 28 has been half-depressed (the first switch SW1 is turned on). If the first switch SW1 is turned on, the process proceeds to step S109. On the other hand, if the first switch SW1 is not turned on, step S108 is repeated until the first switch SW1 is turned on. That is, until the first switch SW1 is turned on, the focus evaluation value calculation process is repeatedly executed while the driving of the focus lens 32 is stopped.

ステップS109では、カメラ制御部21により、フォーカスレンズ32の駆動を開始する処理が行われる。具体的には、カメラ制御部21は、フォーカスレンズ32を、ステップS103で算出されたサーチ駆動範囲において、ステップS106で設定された駆動目標速度で駆動するように、フォーカスレンズ32の駆動制御を開始する。 In step S109, the camera control unit 21 performs a process of starting driving of the focus lens 32. Specifically, the camera control unit 21 starts drive control of the focus lens 32 so as to drive the focus lens 32 at the drive target speed set in step S106 within the search drive range calculated in step S103. To do.

具体的には、カメラ制御部21は、フォーカスレンズ32を、ステップS103で算出されたサーチ駆動範囲において、ステップS106で設定された駆動目標速度で駆動するように、レンズ制御部37に駆動開始指令を送出する。これにより、レンズ制御部37は、カメラ制御部21からの指令に基づいて、フォーカスレンズ駆動モータ36を駆動させ、その結果、フォーカスレンズ32を、サーチ駆動範囲において、駆動目標速度で駆動させることができる。なお、フォーカスレンズ32のサーチ駆動は、無限遠端から至近端に向かって行なってもよいし、あるいは、至近端から無限遠端に向かって行なってもよい。 Specifically, the camera control unit 21 instructs the lens control unit 37 to start driving the focus lens 32 at the drive target speed set in step S106 within the search drive range calculated in step S103. Is sent. Accordingly, the lens control unit 37 drives the focus lens drive motor 36 based on the command from the camera control unit 21, and as a result, the focus lens 32 can be driven at the drive target speed in the search drive range. it can. The search drive of the focus lens 32 may be performed from the infinity end to the infinity end, or may be performed from the infinity end to the infinity end.

ステップS110では、カメラ制御部21により、焦点評価値のピーク位置(合焦位置)を検出できたか否かの判断が行われる。合焦位置を検出できない場合には、ステップS113に進み、一方、合焦位置を検出できた場合には、ステップS111に進む。 In step S110, the camera control unit 21 determines whether or not the peak position (focus position) of the focus evaluation value has been detected. When the in-focus position cannot be detected, the process proceeds to step S113, while when the in-focus position can be detected, the process proceeds to step S111.

ステップS111では、合焦位置が検出できたと判断されているため、カメラ制御部21により、フォーカスレンズ32を合焦位置まで駆動させる合焦駆動が行われる。そして、フォーカスレンズ32を合焦位置まで駆動させた後は、ステップS112に進み、合焦表示が行われる。なお、合焦表示は、たとえば、電子ビューファインダ26により行われる。 In step S111, since it is determined that the focus position has been detected, the camera control unit 21 performs focus drive to drive the focus lens 32 to the focus position. Then, after driving the focus lens 32 to the in-focus position, the process proceeds to step S112, and in-focus display is performed. The in-focus display is performed by the electronic viewfinder 26, for example.

一方、ステップS110で、合焦位置が検出できなかったと判断された場合には、ステップS113に進む。ステップS113では、カメラ制御部21により、ステップS103で算出されたサーチ駆動範囲の全域において、焦点評価値のピーク位置(合焦位置)の検出が行われたか否かの判断が行われる。サーチ駆動範囲の全域において、焦点評価値のピーク位置(合焦位置)の検出が行われていない場合には、ステップS110に戻り、サーチ駆動が継続して行われる。一方、サーチ駆動範囲の全域において、焦点評価値のピーク位置(合焦位置)の検出が行われた場合には、合焦位置を検出できないものと判断して、ステップS114に進み、非合焦表示が行われる。なお、非合焦表示も、たとえば、電子ビューファインダ26により行われる。 On the other hand, when it is determined in step S110 that the in-focus position cannot be detected, the process proceeds to step S113. In step S113, the camera control unit 21 determines whether or not the peak position (focus position) of the focus evaluation value has been detected in the entire search drive range calculated in step S103. When the peak position (focus position) of the focus evaluation value is not detected in the entire search drive range, the process returns to step S110, and the search drive is continuously performed. On the other hand, when the peak position (focus position) of the focus evaluation value is detected in the entire search drive range, it is determined that the focus position cannot be detected, and the process proceeds to step S114 to defocus. Display is performed. The out-of-focus display is also performed by the electronic viewfinder 26, for example.

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

このように、本実施形態では、焦点評価値のサンプリング間隔が焦点検出に適した間隔となる像面の移動速度を、第1目標速度V1として算出するとともに、サーチ駆動範囲内で焦点検出に必要な数の焦点評価値を算出することができる像面の移動速度を、第2目標速度V2として算出する。そして、第1目標速度V1と第2目標速度V2とを比較し、遅い方の速度を駆動目標速度として設定し、像面の移動速度が駆動目標速度となるように、フォーカスレンズ32を駆動する。これにより、本実施形態では、フォーカスレンズ32の駆動に伴う像面の移動速度が、合焦可能範囲内で焦点検出に必要な数の焦点評価値を算出することができる速度ではないために、焦点評価値のピーク(合焦位置)を適切に検出することができなくなってしまうことを有効に防止することができる。また、本実施形態では、フォーカスレンズ32の駆動に伴う像面の移動速度が、焦点評価値のサンプリング間隔が焦点検出に適した間隔となる速度ではないために、焦点評価値のピーク(合焦位置)を高い精度で掲出できなくなってしまうことも有効に防止することができる。 As described above, in the present embodiment, the moving speed of the image plane at which the sampling interval of the focus evaluation values becomes an interval suitable for focus detection is calculated as the first target speed V1 and is required for focus detection within the search drive range. The moving speed of the image plane capable of calculating any number of focus evaluation values is calculated as the second target speed V2. Then, the first target speed V1 and the second target speed V2 are compared, the slower speed is set as the drive target speed, and the focus lens 32 is driven so that the moving speed of the image plane becomes the drive target speed. .. As a result, in the present embodiment, the moving speed of the image plane accompanying the driving of the focus lens 32 is not the speed at which the number of focus evaluation values necessary for focus detection within the focusable range can be calculated. It is possible to effectively prevent that the peak (focus position) of the focus evaluation value cannot be properly detected. Further, in the present embodiment, since the moving speed of the image plane accompanying the driving of the focus lens 32 is not the speed at which the sampling interval of the focus evaluation values is suitable for focus detection, the peak of the focus evaluation values (focus It is also possible to effectively prevent that the (position) cannot be displayed with high accuracy.

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

たとえば、上述した実施形態では、上記式(2)に示すように、被写界深度に基づいて、第1目標速度V1を算出する構成を例示したが、この構成に限定されず、たとえば、光学系の被写界深度(またはF値)と第2目標速度V2との関係を示すテーブルを、カメラ制御部21のROMに予め記憶しておき、光学系の被写界深度(またはF値)から第1目標速度V1を算出する構成とすることができる。また、第1目標速度V1を予め決定した固定値として、カメラ制御部21のROMに予め記憶しておく構成としてもよい。 For example, in the above-described embodiment, the configuration in which the first target velocity V1 is calculated based on the depth of field as shown in the above formula (2) has been illustrated, but the configuration is not limited to this configuration, and, for example, optical A table indicating the relationship between the depth of field (or F value) of the system and the second target speed V2 is stored in advance in the ROM of the camera control unit 21, and the depth of field (or F value) of the optical system is stored. The first target speed V1 can be calculated from the above. Further, the first target speed V1 may be stored in advance in the ROM of the camera control unit 21 as a predetermined fixed value.

また、上述した実施形態に加えて、フォーカスリミット情報に基づく第2目標速度V2が、駆動目標速度として設定された場合に、カメラ制御部21は、カメラ本体2に備えている背面モニターまたは電子ビューファインダ26を介して、フォーカスレンズ32を第2目標速度V2で駆動させている旨を、ユーザに報知する構成としてもよい。これにより、フォーカスレンズ32の駆動速度を第1目標速度V1と異なる第2目標速度V2としたことによる、ユーザの違和感を軽減することができる。 In addition to the above-described embodiment, when the second target speed V2 based on the focus limit information is set as the drive target speed, the camera control unit 21 controls the rear monitor or the electronic view provided in the camera body 2. The user may be informed via the finder 26 that the focus lens 32 is being driven at the second target speed V2. Accordingly, it is possible to reduce the discomfort of the user due to the drive speed of the focus lens 32 being set to the second target speed V2 different from the first target speed V1.

さらに、上述した実施形態では、上記式(3)に示すように、フォーカスレンズ32のサーチ駆動範囲に基づいて、第2目標速度V2を算出する構成を例示したが、この構成に限定されず、たとえば、上記式(3)において、フォーカスレンズ32のサーチ駆動範囲に代えて、図3に示す合焦可能範囲を用いて、第2目標速度V2を算出する構成としてもよい。 Further, in the above-described embodiment, the configuration in which the second target speed V2 is calculated based on the search drive range of the focus lens 32 as shown in the above formula (3) is illustrated, but the configuration is not limited to this. For example, in the above equation (3), instead of the search drive range of the focus lens 32, the focusable range shown in FIG. 3 may be used to calculate the second target speed V2.

加えて、上述した実施形態では、コントラスト検出方式による焦点検出を行う構成を例示したが、この構成に限定されず、たとえば、図8に示す撮像素子22aを備え、コントラスト検出方式による焦点検出と、位相差検出方式による焦点検出とを行う構成としてもよい。図8は、他の実施形態に係る撮像素子22aの撮像面の要部拡大図である。たとえば、図8に示す撮像素子22aは、画像撮像用の撮像素子221と、位相差検出用の焦点検出画素222a,222bとを有し、焦点検出画素222a,222bの出力をそれぞれの測距瞳に対応する出力グループにまとめることにより、一対の像の強度分布に関するデータを取得し、この強度分布データに対し、相関演算処理または位相差検出処理などの像ズレ検出演算処理を施すことにより、いわゆる位相差検出方式による像ズレ量を検出することができる。そして、得られた像ズレ量に一対の測距瞳の重心間隔に応じた変換演算を施すことにより、予定焦点面に対する現在の焦点面(予定焦点面上のマイクロレンズアレイの位置に対応した焦点検出エリアにおける焦点面をいう。)の偏差、すなわちデフォーカス量を求めることができ、算出したデフォーカス量に基づいて、フォーカスレンズ32を駆動させることで、光学系の焦点状態を調節することができる。 In addition, in the above-described embodiment, the configuration for performing the focus detection by the contrast detection method is illustrated, but the configuration is not limited to this configuration. For example, the imaging device 22a illustrated in FIG. The focus may be detected by the phase difference detection method. FIG. 8 is an enlarged view of a main part of the image pickup surface of the image pickup device 22a according to another embodiment. For example, the image pickup device 22a shown in FIG. 8 has an image pickup device 221 for image pickup and focus detection pixels 222a, 222b for phase difference detection, and outputs of the focus detection pixels 222a, 222b are used as distance measurement pupils. By collecting the data related to the intensity distribution of the pair of images by grouping the output groups corresponding to, and performing image shift detection calculation processing such as correlation calculation processing or phase difference detection processing on this intensity distribution data, the so-called An image shift amount can be detected by the phase difference detection method. Then, by performing a conversion operation on the obtained image shift amount according to the distance between the centers of gravity of the pair of distance-measuring pupils, the 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) is obtained. Deviation of the focal plane in the detection area, that is, the defocus amount can be obtained, and the focus state of the optical system can be adjusted by driving the focus lens 32 based on the calculated defocus amount. it can.

また、図8に示す撮像素子22aを備えることで、コントラスト検出方式による焦点検出と、位相差検出方式による焦点検出とを同時に行うスキャン動作を行う構成としてもよい。この場合、スキャン動作におけるフォーカスレンズ32のスキャン駆動範囲を、上述した実施形態のサーチ駆動範囲と同様に設定することができ、スキャン駆動範囲内で、焦点検出に必要な数の焦点評価値が算出できるように、第2目標速度を算出する構成とすることができる。 Further, the image pickup device 22a shown in FIG. 8 may be provided to perform a scan operation for simultaneously performing focus detection by the contrast detection method and focus detection by the phase difference detection method. In this case, the scan drive range of the focus lens 32 in the scan operation can be set similarly to the search drive range of the above-described embodiment, and the number of focus evaluation values necessary for focus detection is calculated within the scan drive range. As possible, the second target speed may be calculated.

また、上述した実施形態では、「FULLモード」が設定されている場合には、図7(A)に示すように、無限遠端ソフトリミットSLIPよりも無限遠側のレンズ位置から、至近端ソフトリミットSLNPよりも至近側のレンズ位置までの範囲を、サーチ駆動範囲Rs1として設定する構成を例示したが、この構成に限定されず、たとえば、図9(A)に示すように、無限遠端ソフトリミットSLIPから至近端ソフトリミットSLNPまでの範囲を、サーチ駆動範囲Rs1として設定する構成としてもよい。なお、図9は、サーチ駆動範囲の他の例を示す図である。 Further, in the above-described embodiment, when the “FULL mode” is set, as shown in FIG. 7A, the lens position closer to the infinity side than the infinity end soft limit SL IP is the closest position. Although the configuration in which the range up to the lens position closer to the end soft limit SL NP is set as the search drive range Rs1 has been illustrated, the configuration is not limited to this configuration and, for example, as shown in FIG. The range from the far end soft limit SL IP to the near end soft limit SL NP may be set as the search drive range Rs1. Note that FIG. 9 is a diagram showing another example of the search drive range.

同様に、「至近側制限モード」が設定されている場合には、図7(B)に示すように、無限遠端ソフトリミットSLIPよりも無限遠側のレンズ位置から、至近側ソフトリミットSLNSよりも至近側のレンズ位置までの範囲を、サーチ駆動範囲Rs2として算出する構成を例示したが、この構成に限定されず、たとえば、図9(B)に示すように、無限遠端ソフトリミットSLIPから、至近側ソフトリミットSLNSよりも至近側のレンズ位置までの範囲を、サーチ駆動範囲Rs2として算出する構成としてもよい。また、「無限遠側制限モード」が設定されている場合には、図9(C)に示すように、無限遠側ソフトリミットSLISよりも無限遠側のレンズ位置から、至近端ソフトリミットSLNPまでの範囲を、サーチ駆動範囲Rs3として算出する構成としてもよい。 Similarly, when the "close-up side limit mode" is set, as shown in FIG. 7B, from the lens position on the infinity side of the infinity end soft limit SL IP to the close-up side soft limit SL. Although the configuration in which the range up to the lens position closer to the NS is calculated as the search drive range Rs2 has been illustrated, the invention is not limited to this configuration and, for example, as shown in FIG. A configuration from the SL IP to the lens position closer to the closest soft limit SL NS than the lens position may be calculated as the search drive range Rs2. Further, when the "infinity side limit mode" is set, as shown in FIG. 9C, from the lens position on the infinity side to the infinity side soft limit SL IS , the near end soft limit is set. The range up to SL NP may be calculated as the search drive range Rs3.

また、上述した実施形態では、「FULLモード」、「至近側制限モード」、「無限遠側制限モード」の3つのモードが設定可能となっており、予め決められた合焦可能範囲Rf1,Rf2,Rf3をそれぞれ設定することが可能となっているが、この構成に限定されず、たとえば、ユーザが所望する範囲を合焦可能範囲として設定する構成としてもよい。 Further, in the above-described embodiment, three modes of "FULL mode", "closest side limit mode", and "infinity side limit mode" can be set, and predetermined focusable ranges Rf1, Rf2. , Rf3 can be set respectively, but the present invention is not limited to this configuration, and for example, a range desired by the user may be set as the focusable range.

たとえば、図10に示すように、カメラ鏡筒3aに、フォーカスリミットスイッチ38’とプリセット記憶スイッチ39とを備え、ユーザが、フォーカスリミットスイッチ38’を「プリセット」に合わせた状態で、ユーザが所望する合焦可能範囲の無限遠側のリミット位置(端部)および至近側のリミット位置(端部)で、プリセット記憶スイッチ39を押下することで、レンズ鏡筒3に、ユーザが所望する合焦可能範囲(プリセット範囲)を記憶させることができ、その後、ユーザがフォーカスリミットスイッチ38’を「プリセット」に合わせた場合に、合焦可能範囲をユーザが設定したプリセット範囲に制限することができる。 For example, as shown in FIG. 10, the camera barrel 3a is provided with a focus limit switch 38' and a preset storage switch 39, and the user sets the focus limit switch 38' to "preset" and the user desires it. By pressing the preset storage switch 39 at the limit position (end portion) on the infinity side and the limit position (end portion) on the closest side of the focusable range to be focused on the lens barrel 3, the focus desired by the user The possible range (preset range) can be stored, and then, when the user sets the focus limit switch 38' to "preset", the focusable range can be limited to the preset range set by the user.

また、上述した実施形態では、レンズ分解係数γを、フォーカスレンズ33の駆動量/像面の移動量(単位:パルス数/mm)で定義する構成を例示したが、この構成に限定されず、たとえば、レンズ分解係数γを、像面の移動量/フォーカスレンズ33の駆動量(mm/パルス数)で定義する構成としてもよい。この場合、上記式(3)に代えて、下記式(4)に基づいて、第2目標速度V2を算出することができる。
第2目標速度V2=サーチ駆動範囲の大きさR/焦点評価値の数N×レンズ分解係数γ×フレームレートfps ・・・(4)
In the above-described embodiment, the lens resolution coefficient γ is defined by the drive amount of the focus lens 33/the movement amount of the image plane (unit: pulse number/mm), but the present invention is not limited to this configuration. For example, the lens resolution coefficient γ may be defined by the amount of movement of the image plane/the amount of drive of the focus lens 33 (mm/the number of pulses). In this case, the second target speed V2 can be calculated based on the following equation (4) instead of the above equation (3).
Second target speed V2=size of search drive range R/number of focus evaluation values N×lens decomposition coefficient γ×frame rate fps (4)

なお、上述した実施形態のカメラ1は特に限定されず、例えば、デジタルビデオカメラ、レンズ一体型のデジタルカメラ、携帯電話用のカメラなどのその他の光学機器に本発明を適用してもよい。 The camera 1 of the above-described embodiment 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 main body 21... Camera control unit 22... Imaging device 3... Lens barrel 32... Focus lens 36... Focus lens drive motor 37... Lens control unit

Claims (9)

フォーカスレンズを有し、光学系による像を撮像し信号を出力する撮像素子と、
前記フォーカスレンズを移動させながら前記信号のコントラストに関する評価値を算出するコントラスト算出部と、
前記フォーカスレンズの駆動範囲情報を設定する設定部と、
前記評価値の算出をする前記フォーカスレンズの移動の速度を、前記光学系の絞り値に基づいて算出される第1速度と、前記駆動範囲情報に基づいて算出される第2速度とのいずれか遅い速度を設定し、前記評価値を算出する速度設定部と、
を備える撮像装置。
An image pickup device which has a focus lens and picks up an image by an optical system and outputs a signal,
A contrast calculation unit that calculates an evaluation value relating to the contrast of the signal while moving the focus lens;
A setting unit for setting drive range information of the focus lens;
The moving speed of the focus lens for calculating the evaluation value is either a first speed calculated based on the aperture value of the optical system or a second speed calculated based on the driving range information. A speed setting unit that sets a slow speed and calculates the evaluation value,
An imaging device comprising:
前記撮像素子は一定の時間をあけて複数回の撮像を行い、
前記速度設定部は、前記光学系の絞り値と前記一定の時間に基づいて前記第1速度を算出し、前記駆動範囲情報と前記一定の時間に基づいて前記第2速度を算出する、請求項1に記載の撮像装置。
The image pickup device performs imaging a plurality of times with a certain time interval,
The speed setting unit calculates the first speed based on the aperture value of the optical system and the fixed time, and calculates the second speed based on the drive range information and the fixed time. The imaging device according to 1.
前記設定部は、前記光学系を有する鏡筒から受信した、前記フォーカスレンズの駆動範囲の制限に関する情報に基づいて前記フォーカスレンズの前記駆動範囲を決定する、請求項1または2に記載の撮像装置。 The imaging device according to claim 1, wherein the setting unit determines the drive range of the focus lens based on information received from a lens barrel having the optical system and related to a limitation on a drive range of the focus lens. .. 前記速度設定部は、前記駆動範囲内で複数の前記評価値を算出できるように前記第2速度を決定する、請求項1から3のいずれか1項に記載の撮像装置。 The imaging device according to claim 1, wherein the speed setting unit determines the second speed so that a plurality of evaluation values can be calculated within the drive range. 前記速度設定部は、前記撮像素子の画素のサイズに基づいて前記第1速度を算出する、請求項1から4のいずれか1項に記載の撮像装置。 The imaging device according to claim 1, wherein the speed setting unit calculates the first speed based on a pixel size of the image sensor. 前記速度設定部は、前記フォーカスレンズの移動距離に対する前記光学系の像の移動距離の情報に基づいて前記第1速度を算出する、請求項1から5のいずれか1項に記載の撮像装置。 The imaging device according to claim 1, wherein the speed setting unit calculates the first speed based on information about a moving distance of an image of the optical system with respect to a moving distance of the focus lens. 前記信号に基づいて、前記光学系の互いに異なる部分を通過した光による像の位置ずれ量に基づいて前記光学系と前記撮像素子の撮像面とのずれに関する値を算出するデフォーカス算出部と、
前記速度設定部で設定した速度で前記フォーカスレンズを移動させながら、前記デフォーカス算出部による前記ずれに関する値の算出と、前記コントラスト算出部による前記評価値の算出とを行わせる制御部と、
を有する請求項1から6のいずれか1項に記載の撮像装置。
A defocus calculation unit that calculates a value related to a shift between the optical system and the image pickup surface of the image pickup device based on the position shift amount of an image due to light that has passed through different portions of the optical system based on the signal,
A control unit that causes the defocus calculation unit to calculate a value relating to the shift and the contrast calculation unit to calculate the evaluation value while moving the focus lens at the speed set by the speed setting unit;
The image pickup apparatus according to claim 1, further comprising:
前記速度設定部が、前記第1速度を設定したか前記第2速度を設定したかを示す表示部を有する請求項1から7のいずれか1項に記載の撮像装置。 The image pickup apparatus according to claim 1, wherein the speed setting unit includes a display unit that indicates whether the first speed or the second speed has been set. 前記光学系を有するレンズ鏡筒を有する請求項1から8のいずれか1項に記載の撮像装置。 The image pickup apparatus according to claim 1, further comprising a lens barrel having the optical system.
JP2019075440A 2019-04-11 2019-04-11 Imaging device Active JP6747541B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019075440A JP6747541B2 (en) 2019-04-11 2019-04-11 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019075440A JP6747541B2 (en) 2019-04-11 2019-04-11 Imaging device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013210401A Division JP6511714B2 (en) 2013-10-07 2013-10-07 Camera body and imaging device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2020132515A Division JP7078074B2 (en) 2020-08-04 2020-08-04 Imaging device

Publications (2)

Publication Number Publication Date
JP2019144573A JP2019144573A (en) 2019-08-29
JP6747541B2 true JP6747541B2 (en) 2020-08-26

Family

ID=67772366

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019075440A Active JP6747541B2 (en) 2019-04-11 2019-04-11 Imaging device

Country Status (1)

Country Link
JP (1) JP6747541B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH063516B2 (en) * 1985-12-09 1994-01-12 オリンパス光学工業株式会社 Camera power focus display
JP2006126330A (en) * 2004-10-27 2006-05-18 Canon Inc Camera, lens, and camera system
JP2012103616A (en) * 2010-11-12 2012-05-31 Nikon Corp Automatic focusing device, microscope device, and medium with program recorded thereon
JP5744501B2 (en) * 2010-12-10 2015-07-08 キヤノン株式会社 Focus adjustment apparatus, control method thereof, and program
JP2012226247A (en) * 2011-04-22 2012-11-15 Nikon Corp Focus detector and imaging apparatus

Also Published As

Publication number Publication date
JP2019144573A (en) 2019-08-29

Similar Documents

Publication Publication Date Title
US10732379B2 (en) Interchangeable lens, camera body, and camera
JP2008032963A (en) Optical device, imaging apparatus and its control method
JP5393300B2 (en) Imaging device
JP2011013645A5 (en)
JP5206292B2 (en) Imaging apparatus and image recording method
WO2016035642A1 (en) Imaging device, imaging device body, and lens barrel
JP6908143B2 (en) Lens barrel
JP5124929B2 (en) Focus adjustment device and digital camera
JP2007079204A (en) Auto-focusing device, camera, and lens barrel
JP6464551B2 (en) Camera body and imaging device
JP6747541B2 (en) Imaging device
JP7078074B2 (en) Imaging device
JP2016142924A (en) Imaging apparatus, method of controlling the same, program, and storage medium
JP2004038114A (en) Auto-focus camera
JP2013025129A (en) Focus detection device and imaging apparatus
JP2017207702A (en) Focus detection device and focus detection method
JP2012159796A (en) Focus adjustment device and imaging apparatus
JP6511714B2 (en) Camera body and imaging device
JP2012189742A (en) Focus adjustment device and camera body
JP2011013499A (en) Imaging apparatus
JP6593496B2 (en) Interchangeable lens and camera body
JP2018055134A (en) Lens barrel
JP6519696B2 (en) Focusing device and optical apparatus
JP6035777B2 (en) Imaging device
JP7378953B2 (en) Imaging device, imaging device control method, program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190411

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200720

R150 Certificate of patent or registration of utility model

Ref document number: 6747541

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250