JP2015049251A - Imaging device and control program - Google Patents

Imaging device and control program Download PDF

Info

Publication number
JP2015049251A
JP2015049251A JP2013178451A JP2013178451A JP2015049251A JP 2015049251 A JP2015049251 A JP 2015049251A JP 2013178451 A JP2013178451 A JP 2013178451A JP 2013178451 A JP2013178451 A JP 2013178451A JP 2015049251 A JP2015049251 A JP 2015049251A
Authority
JP
Japan
Prior art keywords
mode
focus lens
focus
accuracy mode
control unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013178451A
Other languages
Japanese (ja)
Inventor
武治 池田
Takeji Ikeda
武治 池田
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 JP2013178451A priority Critical patent/JP2015049251A/en
Publication of JP2015049251A publication Critical patent/JP2015049251A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To solve the problem in which when photographing a moving subject and the like, it takes much time for a photographing lens to move to a focus position, and thus, there have been cases where shooting timing is missed.SOLUTION: An imaging device according to a first embodiment comprises: a setting part that sets a control parameter about focus accuracy; and a control part that controls a movement speed of a focus lens on the basis of the setting by the setting part. A control program according to a second embodiment causes a computer to execute: a setting step of setting the control parameter about the focus accuracy; and a control step of controlling the movement speed of the focus lens on the basis of the setting.

Description

本発明は、撮像装置および制御プログラムに関する。   The present invention relates to an imaging apparatus and a control program.

デフォーカス量が時間の経過とともに減少するように位置軌跡値が設定された位置テーブルを備え、当該位置テーブルが示す位置軌跡値に沿って撮影レンズを合焦位置へ駆動するレンズ駆動制御装置が知られている(例えば、特許文献1参照)。
[先行技術文献]
[特許文献]
[特許文献1] 特開2012−208138号公報
A lens drive control device that includes a position table in which a position locus value is set so that the defocus amount decreases with time and drives the photographing lens to a focus position along the position locus value indicated by the position table is known. (For example, refer to Patent Document 1).
[Prior art documents]
[Patent Literature]
[Patent Document 1] JP 2012-208138 A

移動する被写体を撮影する場合等において、撮影レンズが合焦位置へ移動するまでに時間を要し、撮影タイミングを逃してしまう場合があった。   When shooting a moving subject, it takes time for the photographic lens to move to the in-focus position, and the shooting timing may be missed.

本発明の第1の態様における撮像装置は、フォーカスの精度に関する制御パラメータを設定する設定部と、設定部による設定に基づいてフォーカスレンズの移動速度を制御する制御部とを備える。   The imaging device according to the first aspect of the present invention includes a setting unit that sets a control parameter related to focus accuracy, and a control unit that controls the moving speed of the focus lens based on the setting by the setting unit.

本発明の第2の態様における制御プログラムは、フォーカスの精度に関する制御パラメータを設定する設定ステップと、設定に基づいてフォーカスレンズの移動速度を制御する制御ステップとをコンピュータに実行させる。   The control program according to the second aspect of the present invention causes a computer to execute a setting step for setting a control parameter relating to focus accuracy and a control step for controlling the moving speed of the focus lens based on the setting.

なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではない。また、これらの特徴群のサブコンビネーションもまた、発明となりうる。   It should be noted that the above summary of the invention does not enumerate all the necessary features of the present invention. In addition, a sub-combination of these feature groups can also be an invention.

本実施形態に係るデジタルカメラの構成を説明する図である。It is a figure explaining the structure of the digital camera which concerns on this embodiment. 高精度モードおよび低精度モードを説明する図である。It is a figure explaining a high accuracy mode and a low accuracy mode. 高精度モードおよび低精度モードのいずれかが自動的に選択される場合を説明する図である。It is a figure explaining the case where either high accuracy mode or low accuracy mode is selected automatically. 一定速度で移動している被写体に対してフォーカスレンズ212を合焦させ追従させる場合を説明する図である。It is a figure explaining the case where the focus lens 212 is made to focus and track with respect to the to-be-photographed object moving at a fixed speed. オートフォーカスモードにおける選択画面の表示例を説明する図である。It is a figure explaining the example of a display of the selection screen in autofocus mode. オート選択モードでの撮影動作に係る処理の一例を示すフロー図である。It is a flowchart which shows an example of the process which concerns on imaging | photography operation | movement in auto selection mode.

以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではない。また、実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。   Hereinafter, the present invention will be described through embodiments of the invention, but the following embodiments do not limit the invention according to the claims. In addition, not all the combinations of features described in the embodiments are essential for the solving means of the invention.

図1は、本実施形態に係るデジタルカメラ100の構成を説明する図である。デジタルカメラ100は、交換レンズ200がカメラ本体300に装着されて構成される。交換レンズ200は、撮影光学系としての撮影レンズ210、交換レンズ制御部220、システムメモリ230、ズームレンズ駆動部240、およびフォーカスレンズ駆動部250を備える。カメラ本体300は、メインミラー301、サブミラー302、ピント板303、ペンタプリズム304、接眼光学系305、ファインダ窓306、AFセンサ307、撮像素子308、A/D変換器309、内部メモリ310、画像処理部311、記録媒体IF312、表示制御部313、表示部314、操作部材315、レリーズスイッチ316、システムメモリ317、およびカメラ本体制御部318を備える。   FIG. 1 is a diagram illustrating a configuration of a digital camera 100 according to the present embodiment. The digital camera 100 is configured by mounting an interchangeable lens 200 on a camera body 300. The interchangeable lens 200 includes a photographing lens 210 as a photographing optical system, an interchangeable lens control unit 220, a system memory 230, a zoom lens driving unit 240, and a focus lens driving unit 250. The camera body 300 includes a main mirror 301, a sub mirror 302, a focus plate 303, a pentaprism 304, an eyepiece optical system 305, a finder window 306, an AF sensor 307, an image sensor 308, an A / D converter 309, an internal memory 310, and image processing. A unit 311, a recording medium IF 312, a display control unit 313, a display unit 314, an operation member 315, a release switch 316, a system memory 317, and a camera body control unit 318.

また、交換レンズ200はレンズマウント260を備え、カメラ本体300はカメラマウント360を備える。レンズマウント260とカメラマウント360とが係合すると、交換レンズ200側の通信端子とカメラ本体300側の通信端子との接続が確立される。これにより、交換レンズ制御部220とカメラ本体制御部318は、互いに制御信号等の通信を行うことができる。交換レンズ制御部220およびカメラ本体制御部318は、相互に通信を実行しつつ協働して交換レンズ200とカメラ本体300とを制御する。   The interchangeable lens 200 includes a lens mount 260, and the camera body 300 includes a camera mount 360. When the lens mount 260 and the camera mount 360 are engaged, the connection between the communication terminal on the interchangeable lens 200 side and the communication terminal on the camera body 300 side is established. Thereby, the interchangeable lens control unit 220 and the camera body control unit 318 can communicate a control signal and the like with each other. The interchangeable lens control unit 220 and the camera body control unit 318 cooperate with each other while performing communication to control the interchangeable lens 200 and the camera body 300.

交換レンズ200には、光学特性が異なる複数の種類が存在する。ユーザは、任意の一つをカメラ本体300へ装着することができる。交換レンズ200に備えられた撮影レンズ210は、複数の光学レンズ群から構成される。具体的には、撮影レンズ210は、ズームレンズ211、フォーカスレンズ212を含んで構成される。撮影レンズ210は、光軸201に沿って入射する被写体光束をカメラ本体300内に配置された撮像素子308へ導く。   There are a plurality of types of interchangeable lenses 200 having different optical characteristics. The user can attach any one to the camera body 300. The taking lens 210 provided in the interchangeable lens 200 includes a plurality of optical lens groups. Specifically, the taking lens 210 includes a zoom lens 211 and a focus lens 212. The photographic lens 210 guides the subject luminous flux incident along the optical axis 201 to the image sensor 308 disposed in the camera body 300.

メインミラー301は、回転軸周りに回転することによって、光軸201を中心とする被写体光束中に斜設される状態と、被写体光束から退避する状態とを取り得る。メインミラー301は、ピント板303側へ被写体像を導く場合に、被写体光束中に斜設される。斜設された状態におけるメインミラー301は、撮影レンズ210から入射される被写体像をピント板303側へ反射する。ピント板303は、撮像素子308の受光面と共役の位置に配置されている。ピント板303には、メインミラー301で反射された被写体像が結像する。ピント板303で結像した被写体像は、ペンタプリズム304で正立像に変換され、接眼光学系305を介してファインダ窓306からユーザに観察される。斜設された状態におけるメインミラー301の光軸201の近傍領域は、ハーフミラーとして形成されており、入射される光束の一部を透過する。透過した光束は、メインミラー301と連動して動作するサブミラー302により反射して、AFセンサ307へ入射する。なお、サブミラー302は、メインミラー301が退避された状態では、メインミラー301に連動して被写体光束から退避する。   By rotating around the rotation axis, the main mirror 301 can take a state of being obliquely provided in the subject light flux centered on the optical axis 201 and a state of being retracted from the subject light flux. The main mirror 301 is obliquely provided in the subject luminous flux when the subject image is guided to the focus plate 303 side. The main mirror 301 in the inclined state reflects the subject image incident from the photographing lens 210 toward the focus plate 303 side. The focus plate 303 is disposed at a position conjugate with the light receiving surface of the image sensor 308. A subject image reflected by the main mirror 301 is formed on the focus plate 303. The subject image formed on the focusing screen 303 is converted into an erect image by the pentaprism 304 and is observed by the user from the viewfinder window 306 via the eyepiece optical system 305. A region in the vicinity of the optical axis 201 of the main mirror 301 in an oblique state is formed as a half mirror and transmits a part of the incident light beam. The transmitted light beam is reflected by the sub mirror 302 that operates in conjunction with the main mirror 301 and enters the AF sensor 307. The sub mirror 302 retracts from the subject light beam in conjunction with the main mirror 301 in a state where the main mirror 301 is retracted.

AFセンサ307には、光学系を透過して入射する被写体光束の一部がサブミラー302により導かれる。AFセンサ307は、サブミラー302から導かれた被写体光束の一部を受光する複数の光電変換素子列を有する。AFセンサ307は、合焦状態にある場合には位相が一致した信号を出力し、前ピン状態または後ピン状態にある場合には、位相ずれした信号を出力する。位相のずれ量は、焦点状態からのずれ量に対応する。AFセンサ307は、光電変換素子列の出力を相関演算することで位相差を検出して、位相差を示す位相差信号をカメラ本体制御部318に出力する。また、AFセンサ307は、デフォーカス状態の場合に、合焦位置からのデフォーカス量も検出することができるように構成されている。カメラ本体制御部318は、フォーカスレンズ212を目標位置に移動させるための制御信号を交換レンズ制御部220へ出力する。   A part of the subject light beam incident through the optical system is guided to the AF sensor 307 by the sub mirror 302. The AF sensor 307 includes a plurality of photoelectric conversion element arrays that receive a part of the subject light beam guided from the sub mirror 302. The AF sensor 307 outputs a signal with a phase match when in the in-focus state, and outputs a signal with a phase shift when in the front pin state or the rear pin state. The amount of phase shift corresponds to the amount of shift from the focus state. The AF sensor 307 detects a phase difference by performing a correlation operation on the output of the photoelectric conversion element array, and outputs a phase difference signal indicating the phase difference to the camera body control unit 318. Further, the AF sensor 307 is configured to be able to detect the defocus amount from the in-focus position in the defocus state. The camera body control unit 318 outputs a control signal for moving the focus lens 212 to the target position to the interchangeable lens control unit 220.

撮像素子308は、被写体像である光学像を光電変換する素子である。撮像素子308として、CCDセンサ、CMOSセンサを用いることができる。撮像素子308により光電変換された被写体像は、A/D変換器309でアナログ信号からデジタル信号に変換される。   The imaging element 308 is an element that photoelectrically converts an optical image that is a subject image. A CCD sensor or a CMOS sensor can be used as the image sensor 308. The subject image photoelectrically converted by the image sensor 308 is converted from an analog signal to a digital signal by an A / D converter 309.

デジタル信号に変換された被写体像は、画像データとして順次処理される。画像データは、一旦内部メモリ310に記憶される。内部メモリ310は、高速で読み書きできるランダムアクセスメモリである。内部メモリ310として、DRAM、SRAMを用いることができる。内部メモリ310は、画像処理部311が行う画像処理、圧縮処理において、ワークメモリとしての役割を担う。内部メモリ310は、当該役割を担うに相当する十分なメモリ容量を備える。   The subject image converted into the digital signal is sequentially processed as image data. The image data is temporarily stored in the internal memory 310. The internal memory 310 is a random access memory that can be read and written at high speed. A DRAM or SRAM can be used as the internal memory 310. The internal memory 310 plays a role as a work memory in the image processing and compression processing performed by the image processing unit 311. The internal memory 310 has a sufficient memory capacity corresponding to this role.

画像処理部311は、設定されている撮影モード、ユーザからの指示に則して、画像データを所定の画像フォーマットに従った画像データに変換する。静止画像としてJPEGファイルを生成する場合に、色変換処理、ガンマ処理、ホワイトバランス処理等の画像処理を行った後に適応離散コサイン変換等を施して圧縮処理を行う。動画像としてMPEGファイルを生成する場合に、所定の画素数に縮小されて生成された連続する静止画としてのフレーム画像に対して、フレーム内符号化、フレーム間符号化を施して圧縮処理を行う。そして、変換された画像データは、再び内部メモリ310に格納される。   The image processing unit 311 converts the image data into image data according to a predetermined image format in accordance with the set shooting mode and an instruction from the user. When a JPEG file is generated as a still image, image processing such as color conversion processing, gamma processing, and white balance processing is performed, and then adaptive discrete cosine conversion is performed to perform compression processing. When an MPEG file is generated as a moving image, intra-frame encoding and inter-frame encoding are performed on a frame image as a continuous still image generated by being reduced to a predetermined number of pixels, and compression processing is performed. . The converted image data is stored in the internal memory 310 again.

画像処理部311によって処理された静止画像データ、動画像データは、記録媒体IF312を介して、内部メモリ310から記録媒体400に記録される。記録媒体400は、フラッシュメモリ等により構成される、カメラ本体300に対して着脱可能な不揮発性メモリである。画像処理部311は、記録用に処理される画像データに並行して、表示用の画像データを生成する。生成された表示用の画像データは、表示制御部313の制御に従って、表示部314に表示される。記録の有無に関わらず、カメラ本体制御部318が、画像処理部311に逐次表示用の画像データを生成させ、表示部314に表示させれば、電子ファインダ機能としてのライブビューを実現できる。また、各種設定用の設定画面を表示部314に表示させることもできる。   Still image data and moving image data processed by the image processing unit 311 are recorded from the internal memory 310 to the recording medium 400 via the recording medium IF 312. The recording medium 400 is a non-volatile memory that is configured with a flash memory or the like and is detachable from the camera body 300. The image processing unit 311 generates display image data in parallel with the image data processed for recording. The generated display image data is displayed on the display unit 314 according to the control of the display control unit 313. Regardless of the presence or absence of recording, if the camera body control unit 318 causes the image processing unit 311 to generate image data for sequential display and display it on the display unit 314, a live view as an electronic viewfinder function can be realized. In addition, a setting screen for various settings can be displayed on the display unit 314.

カメラ本体300は、上記の画像処理における各々の要素も含めて、カメラ本体制御部318により直接的または間接的に制御される。カメラ本体制御部318は、システムメモリ317と通信する。システムメモリ317は、電気的に消去・記録可能な不揮発性メモリであり、例えばEEPROM(登録商標)等により構成される。システムメモリ317は、デジタルカメラ100の動作時に必要な定数、変数、プログラム等を、デジタルカメラ100の非動作時にも失われないように記録している。プログラムとして、例えば、後述するオート選択モードでの撮影動作に係る処理を実行するプログラムが記録されている。また、後述する切り替え判定時間を記憶している。カメラ本体制御部318は、定数、変数、プログラム等を適宜内部メモリ310に展開して、デジタルカメラ100の制御に利用する。   The camera body 300 is controlled directly or indirectly by the camera body control unit 318 including each element in the image processing described above. The camera body control unit 318 communicates with the system memory 317. The system memory 317 is an electrically erasable / recordable nonvolatile memory, and is configured by, for example, an EEPROM (registered trademark). The system memory 317 records constants, variables, programs, and the like necessary when the digital camera 100 is operating so that they are not lost even when the digital camera 100 is not operating. As the program, for example, a program for executing processing related to a photographing operation in an auto selection mode described later is recorded. Moreover, the switching determination time mentioned later is memorize | stored. The camera body control unit 318 expands constants, variables, programs, and the like in the internal memory 310 as appropriate and uses them for controlling the digital camera 100.

ズームレンズ211は、カメラ本体制御部318および交換レンズ制御部220の統括制御のもと、ズームレンズ駆動部240によって駆動される。ズームレンズ駆動部240は、ユーザの指示に応じてズームレンズ211を駆動して、画角を変更する。   The zoom lens 211 is driven by the zoom lens driving unit 240 under the overall control of the camera body control unit 318 and the interchangeable lens control unit 220. The zoom lens driving unit 240 drives the zoom lens 211 according to a user instruction to change the angle of view.

フォーカスレンズ212は、カメラ本体制御部318および交換レンズ制御部220の統括制御のもと、フォーカスレンズ駆動部250によって駆動される。フォーカスレンズ駆動部250は、AFセンサ307の情報に応じて、特定の領域の被写体像が撮像素子308の受光面上で合焦するように、フォーカスレンズ212を駆動する。フォーカスレンズ駆動部250は、フォーカスレンズ212を駆動するための駆動モータ251と、フォーカスレンズ212の位置を検出するためのエンコーダ252とを含む。エンコーダ252により検出されたフォーカスレンズ212の位置を示す情報は、交換レンズ制御部220を介してカメラ本体制御部318へ送出される。   The focus lens 212 is driven by the focus lens driving unit 250 under the overall control of the camera body control unit 318 and the interchangeable lens control unit 220. The focus lens driving unit 250 drives the focus lens 212 so that a subject image in a specific area is focused on the light receiving surface of the image sensor 308 according to information from the AF sensor 307. The focus lens driving unit 250 includes a drive motor 251 for driving the focus lens 212 and an encoder 252 for detecting the position of the focus lens 212. Information indicating the position of the focus lens 212 detected by the encoder 252 is sent to the camera body control unit 318 via the interchangeable lens control unit 220.

システムメモリ230は、フォーカスレンズ212の駆動制御に用いる駆動制御用テーブルを記憶している。駆動制御用テーブルは、フォーカスレンズ212の駆動範囲を複数に区分した範囲である区分範囲毎に設定されている。駆動制御用テーブルは、フォーカスレンズ212の制御パラメータと、フォーカスレンズ212の目標位置に対するずれの許容範囲とを規定している。フォーカスレンズ212の駆動制御に用いる制御パラメータとして、フォーカスレンズ212の目標速度を用いることができる。フォーカスレンズ212の目標速度は、フォーカスレンズ212の区分範囲毎に異なるように設定されている。許容範囲および目標速度は、フォーカスレンズ212の各区分範囲において、後述する高精度モードおよび低精度モードのそれぞれで異なるように設定されている。また、システムメモリ230は、後述するオート選択モードに設定された場合に用いる判定用テーブルを、フォーカスレンズ212の区分範囲毎に記憶している。判定用テーブルは、例えば、高精度モードおよび低精度モードのそれぞれの場合におけるデフォーカス量と時間の関係、すなわち後述する特性曲線を示すテーブルである。   The system memory 230 stores a drive control table used for drive control of the focus lens 212. The drive control table is set for each divided range that is a range obtained by dividing the drive range of the focus lens 212 into a plurality of ranges. The drive control table defines the control parameters of the focus lens 212 and the allowable range of deviation of the focus lens 212 from the target position. As a control parameter used for driving control of the focus lens 212, the target speed of the focus lens 212 can be used. The target speed of the focus lens 212 is set to be different for each segment range of the focus lens 212. The allowable range and the target speed are set to be different in each of the high-accuracy mode and the low-accuracy mode to be described later in each segment range of the focus lens 212. Further, the system memory 230 stores a determination table used when the auto selection mode, which will be described later, is set, for each segment range of the focus lens 212. The determination table is, for example, a table showing a relationship between the defocus amount and time in each of the high accuracy mode and the low accuracy mode, that is, a characteristic curve described later.

交換レンズ制御部220は、カメラ本体制御部318との通信が確立されると、駆動制御用テーブルおよび判定用テーブルをカメラ本体制御部318に送信する。これにより、カメラ本体制御部318は、装着された交換レンズ200の光学特性に応じた駆動制御用テーブルおよび判定用テーブルを取得することができる。   When communication with the camera main body control unit 318 is established, the interchangeable lens control unit 220 transmits a drive control table and a determination table to the camera main body control unit 318. Accordingly, the camera body control unit 318 can acquire a drive control table and a determination table according to the optical characteristics of the attached interchangeable lens 200.

デジタルカメラ100は、ユーザからの操作を受け付ける操作部材315を複数備えている。カメラ本体制御部318は、これら操作部材315が操作されたことを検知し、操作に応じた動作を実行する。例えば、後述するオートフォーカスモードのモードに応じて、フォーカスレンズ212の制御パラメータと、フォーカスレンズ212の目標位置に対するずれの許容範囲とを設定する。操作部材315は、デジタルカメラ100に関する各種設定に用いられる。操作部材315は、例えば、フォーカスモードの設定に用いられる。ユーザは、操作部材315を操作することにより、オートフォーカスモードおよびマニュアルフォーカスモードのいずれかに設定することができる。本実施形態においては、オートフォーカスモードは、高精度モード、低精度モード、およびオート選択モードを含む。高精度モードは、フォーカスレンズ212の目標位置に対して、許容範囲として第1誤差範囲まで許容するモードである。低精度モードは、許容範囲として第1誤差範囲よりも大きな第2誤差範囲まで許容するモードである。オート選択モードは、カメラ本体制御部318によって、高精度モードおよび低精度モードのいずれかに自動的に設定されるモードである。   The digital camera 100 includes a plurality of operation members 315 that receive operations from the user. The camera body control unit 318 detects that these operation members 315 are operated, and executes an operation corresponding to the operation. For example, the control parameter of the focus lens 212 and the allowable range of deviation of the focus lens 212 with respect to the target position are set in accordance with the auto focus mode described later. The operation member 315 is used for various settings related to the digital camera 100. The operation member 315 is used for setting a focus mode, for example. The user can set the auto focus mode or the manual focus mode by operating the operation member 315. In the present embodiment, the autofocus mode includes a high accuracy mode, a low accuracy mode, and an auto selection mode. The high-accuracy mode is a mode that allows a first error range as an allowable range with respect to the target position of the focus lens 212. The low accuracy mode is a mode that allows a second error range that is larger than the first error range as an allowable range. The auto selection mode is a mode that is automatically set to either the high accuracy mode or the low accuracy mode by the camera body control unit 318.

高精度モードにおいては、フォーカスレンズ212の駆動速度として、第1速度まで許容する。低精度モードにおいては、フォーカスレンズ212の駆動速度として、第1速度よりも大きい第2速度まで許容する。高精度モードと低精度モードを比較すると、高精度モードにおいては、合焦精度は低精度モードよりも高い反面、立ち上がりの応答性は低くなる。ユーザは、操作部材315を操作することにより、高精度モード、低精度モード、およびオート選択モードのいずれかに設定することができる。ユーザは、モード選択を通じて、フォーカスレンズ212の移動速度の制御パラメータと、フォーカスレンズ212の目標位置に対するずれの許容範囲を選択することができる。なお、操作部材315は、高精度モード、低精度モード、およびオート選択モードのいずれかに設定するためのスイッチとして、フォーカス精度切替スイッチを含んでもよい。   In the high accuracy mode, the driving speed of the focus lens 212 is allowed up to the first speed. In the low accuracy mode, the driving speed of the focus lens 212 is allowed up to a second speed larger than the first speed. When the high accuracy mode and the low accuracy mode are compared, in the high accuracy mode, the focusing accuracy is higher than in the low accuracy mode, but the rising response is low. The user can set any of the high accuracy mode, the low accuracy mode, and the auto selection mode by operating the operation member 315. The user can select a control parameter for the moving speed of the focus lens 212 and an allowable range of deviation from the target position of the focus lens 212 through mode selection. The operation member 315 may include a focus accuracy changeover switch as a switch for setting any one of the high accuracy mode, the low accuracy mode, and the auto selection mode.

実際の撮影においては、厳密な合焦精度よりもAF速度を優先したい場合がある。特に、移動している被写体を撮影する場合には、時間を掛けてフォーカスレンズ212を駆動し、合焦精度を高めるよりも、より早くフォーカスレンズ212を駆動するほうが好ましい。より早くフォーカスレンズ212を駆動すれば、デフォーカス量が小さくなるので、結果として、画像のボケを抑制することができる。したがって、移動している被写体を撮影する場合等には、低精度モードに設定するとよい。   In actual shooting, it may be desired to prioritize AF speed over strict focusing accuracy. In particular, when shooting a moving subject, it is preferable to drive the focus lens 212 earlier than to drive the focus lens 212 over time and increase the focusing accuracy. If the focus lens 212 is driven earlier, the defocus amount is reduced, and as a result, blurring of the image can be suppressed. Therefore, when shooting a moving subject, the low accuracy mode may be set.

操作部材315は、オートフォーカスモードに設定されている場合において、AFサーボモードの設定に用いられる。ユーザは、操作部材315を操作することにより、フォーカス優先のシングルAFサーボ(AF−S)およびレリーズ優先のコンティニュアスAFサーボ(AF−C)のいずれかに設定することができる。   The operation member 315 is used for setting the AF servo mode when the auto focus mode is set. The user can set the focus priority single AF servo (AF-S) or the release priority continuous AF servo (AF-C) by operating the operation member 315.

デジタルカメラ100は、操作部材315の類としてレリーズスイッチ316を備える。レリーズスイッチ316は、押下げ方向に2段階に検知できる押しボタンで構成されている。カメラ本体制御部318は、1段階目の押下げであるSW1の検知により撮影準備動作であるAF等を実行し、2段階目の押下げであるSW2の検知により撮像素子308による被写体像の取得動作を実行する。   The digital camera 100 includes a release switch 316 as a kind of operation member 315. The release switch 316 includes a push button that can be detected in two steps in the pressing direction. The camera main body control unit 318 executes AF or the like as a shooting preparation operation by detecting SW1 that is the first-stage depression, and acquires the subject image by the image sensor 308 by detecting SW2 that is the second-stage depression. Perform the action.

図2は、高精度モードおよび低精度モードを説明する図である。図2(a)は、フォーカスレンズ212の動きを示す図である。特に、デフォーカス量がD1の場合における、現在位置から合焦範囲までのフォーカスレンズ212の動きを示す。図2(a)において、横軸は時間を示し、縦軸はフォーカスレンズ212のデフォーカス量を示す。実線は、高精度モードに設定されている場合の特性曲線101を示し、破線は、低精度モードに設定されている場合の特性曲線102を示す。図2(b)は、図2(a)で示した各特性曲線を得るための制御パラメータを示す。特に、制御パラメータとして目標速度を用いた場合を示す。図2(b)において、横軸は時間を示し、縦軸はフォーカスレンズ212を駆動させる場合の目標速度を示す。実線は、特性曲線101を得るための目標速度の軌跡を示し、破線は、特性曲線102を得るための目標速度の軌跡を示す。   FIG. 2 is a diagram illustrating the high accuracy mode and the low accuracy mode. FIG. 2A is a diagram illustrating the movement of the focus lens 212. In particular, the movement of the focus lens 212 from the current position to the in-focus range when the defocus amount is D1 is shown. In FIG. 2A, the horizontal axis indicates time, and the vertical axis indicates the defocus amount of the focus lens 212. A solid line indicates the characteristic curve 101 when the high accuracy mode is set, and a broken line indicates the characteristic curve 102 when the low accuracy mode is set. FIG. 2B shows control parameters for obtaining each characteristic curve shown in FIG. In particular, the case where the target speed is used as the control parameter is shown. In FIG. 2B, the horizontal axis represents time, and the vertical axis represents the target speed when the focus lens 212 is driven. The solid line shows the trajectory of the target speed for obtaining the characteristic curve 101, and the broken line shows the trajectory of the target speed for obtaining the characteristic curve 102.

まず、高精度モードについて説明する。高精度モードにおいては、駆動モータ251の駆動特性、動作環境等を考慮して、フォーカスレンズ212が滑らかに移動し合焦範囲内に停止できるように、制御パラメータが設定される。より詳細には、制御パラメータとして、加速時の目標速度勾配111、目標最大速度Max_a、減速時の目標速度勾配112が設定される。また、これらの制御パラメータに応じて第1誤差範囲である合焦範囲103が設定される。高精度モードにおいては、フォーカスレンズ212が後述する低精度モードにおける合焦範囲よりも狭い合焦範囲103内に収まるように制御する。そこで、加速時の目標速度勾配111、減速時の目標速度勾配112は、低精度モードにおける加速時の目標速度勾配、減速時の目標速度勾配よりも緩やかに設定されている。また、目標最大速度Max_aも、低精度モードにおける目標最大速度よりも遅く設定されている。   First, the high accuracy mode will be described. In the high-accuracy mode, control parameters are set so that the focus lens 212 can move smoothly and stop within the in-focus range in consideration of the drive characteristics of the drive motor 251, the operating environment, and the like. More specifically, a target speed gradient 111 during acceleration, a target maximum speed Max_a, and a target speed gradient 112 during deceleration are set as control parameters. Further, a focusing range 103 as a first error range is set according to these control parameters. In the high accuracy mode, control is performed so that the focus lens 212 is within the focusing range 103 that is narrower than the focusing range in the low accuracy mode described later. Therefore, the target speed gradient 111 during acceleration and the target speed gradient 112 during deceleration are set more gently than the target speed gradient during acceleration and the target speed gradient during deceleration in the low accuracy mode. The target maximum speed Max_a is also set slower than the target maximum speed in the low accuracy mode.

カメラ本体制御部318は、SW1を検知した時刻である時刻t0において、駆動モータ251に対する駆動制御を開始する。これにより、駆動モータ251に連動したフォーカスレンズ212の駆動制御も開始される。カメラ本体制御部318は、駆動モータ251の始動時においては、加速時の目標速度勾配111を用いてフィードバック制御する。時刻t3において、駆動モータ251の速度が目標最大速度Max_aに到達すると、カメラ本体制御部318は、一定期間、具体的には時刻t4までの間、目標最大速度Max_aを維持するように駆動モータ251を制御する。時刻t4に達すると、減速時の目標速度勾配112を用いてフィードバック制御する。なお、時刻t4は、目標位置までの残りのデフォーカス量が予め定められた値以下となる時刻である。時刻t4は、実験、シミュレーション等を通じて予め設定されている。時刻t6において、残りのデフォーカス量が合焦範囲103に到達すると、カメラ本体制御部318は、駆動モータ251を停止する。   The camera body control unit 318 starts drive control for the drive motor 251 at time t0, which is the time when SW1 is detected. Thereby, drive control of the focus lens 212 interlocked with the drive motor 251 is also started. The camera body control unit 318 performs feedback control using the target speed gradient 111 during acceleration when the drive motor 251 is started. When the speed of the drive motor 251 reaches the target maximum speed Max_a at time t3, the camera body control unit 318 maintains the target maximum speed Max_a for a certain period, specifically, until time t4. To control. When time t4 is reached, feedback control is performed using the target speed gradient 112 during deceleration. Time t4 is a time at which the remaining defocus amount up to the target position is equal to or less than a predetermined value. Time t4 is set in advance through experiments, simulations, and the like. When the remaining defocus amount reaches the in-focus range 103 at time t <b> 6, the camera body control unit 318 stops the drive motor 251.

次に、低精度モードについて説明する。低精度モードにおいては、駆動モータ251の立ち上がりの応答性を重視して制御パラメータが設定される。より詳細には、制御パラメータとして、加速時の目標速度勾配113、目標最大速度Max_b、減速時の目標速度勾配114が設定される。また、これらの制御パラメータに応じて第2誤差範囲である合焦範囲104が設定される。低精度モードにおいては、高精度モードに比べて、加速時の目標速度勾配113および減速時の目標速度勾配114が急峻に変化する。また、目標最大速度Max_bは、目標最大速度Max_aよりも速くなっている。一方で、図2(a)に示すように、フォーカスレンズ212の停止位置は、高精度モードにおける合焦範囲103外となる場合がある。そこで、低精度モードにおける合焦範囲104は、合焦範囲103よりも広くなっている。このように、低精度モードにおいては、高精度モードに比べて、合焦精度が緩くなっている。換言すると、レリーズを許可する範囲が広くなっているとも言える。   Next, the low accuracy mode will be described. In the low-accuracy mode, the control parameters are set with emphasis on the response of the drive motor 251 to rise. More specifically, the target speed gradient 113 during acceleration, the target maximum speed Max_b, and the target speed gradient 114 during deceleration are set as control parameters. Further, a focusing range 104 as a second error range is set according to these control parameters. In the low accuracy mode, the target speed gradient 113 during acceleration and the target speed gradient 114 during deceleration change more rapidly than in the high accuracy mode. Further, the target maximum speed Max_b is faster than the target maximum speed Max_a. On the other hand, as shown in FIG. 2A, the stop position of the focus lens 212 may be outside the focus range 103 in the high accuracy mode. Therefore, the focusing range 104 in the low accuracy mode is wider than the focusing range 103. Thus, in the low accuracy mode, the focusing accuracy is looser than in the high accuracy mode. In other words, it can be said that the range in which the release is permitted is widened.

カメラ本体制御部318は、時刻t0において、駆動モータ251に対する駆動制御を開始する。これにより、駆動モータ251に連動したフォーカスレンズ212の駆動制御も開始される。カメラ本体制御部318は、駆動モータ251の始動時においては、加速時の目標速度勾配113を用いてフィードバック制御する。時刻t3よりも早い時刻t1において、駆動モータ251の速度が目標最大速度Max_bに到達すると、カメラ本体制御部318は、一定期間、具体的には時刻t2までの間、目標最大速度Max_bを維持するように駆動モータ251を制御する。時刻t2に達すると、減速時の目標速度勾配114を用いてフィードバック制御する。なお、時刻t2は、目標位置までの残りのデフォーカス量が予め定められた値以下となる時刻である。時刻t2は、実験、シミュレーション等を通じて予め設定されている。時刻t5において、残りのデフォーカス量が合焦範囲104に到達すると、カメラ本体制御部318は、駆動モータ251を停止する。   The camera body control unit 318 starts drive control for the drive motor 251 at time t0. Thereby, drive control of the focus lens 212 interlocked with the drive motor 251 is also started. When the drive motor 251 is started, the camera body control unit 318 performs feedback control using the target speed gradient 113 during acceleration. When the speed of the drive motor 251 reaches the target maximum speed Max_b at time t1 earlier than time t3, the camera body control unit 318 maintains the target maximum speed Max_b for a certain period, specifically until time t2. Thus, the drive motor 251 is controlled. When time t2 is reached, feedback control is performed using the target speed gradient 114 during deceleration. The time t2 is a time when the remaining defocus amount up to the target position is equal to or less than a predetermined value. The time t2 is set in advance through experiments, simulations, and the like. When the remaining defocus amount reaches the in-focus range 104 at time t5, the camera body control unit 318 stops the drive motor 251.

以上のように、カメラ本体制御部318は、高精度モードに設定されている場合には、フォーカスレンズ212が合焦範囲103内に収束したら、フォーカスレンズ212の移動を停止してユーザの撮像指示を受け付ける。低精度モードに設定されている場合には、フォーカスレンズ212が合焦範囲104内に収束したら、フォーカスレンズ212の移動を停止してユーザの撮像指示を受け付ける。低精度モードに設定されている場合には、高精度モードに設定されている場合に比べて、フォーカスレンズ212が、より早く合焦範囲内に収束するので、より早い段階でユーザの撮像指示を受けるけることができる。   As described above, when the high-precision mode is set, the camera body control unit 318 stops the movement of the focus lens 212 when the focus lens 212 converges within the in-focus range 103, and instructs the user to take an image. Accept. When the low-precision mode is set, when the focus lens 212 converges within the in-focus range 104, the movement of the focus lens 212 is stopped and a user's imaging instruction is accepted. When the low-precision mode is set, the focus lens 212 converges in the in-focus range more quickly than when the high-precision mode is set. I can receive it.

なお、低精度モードに設定されている場合には、フォーカスレンズ212が合焦範囲104内に収束したら、フォーカスレンズ212の移動を継続しつつユーザの撮像指示を受け付けてもよい。この場合に、合焦範囲104内に収まっていることをユーザに報知しつつ、フォーカスレンズ212の移動を継続してもよい。これにより、ユーザは、合焦範囲104内に収まっているので2段階目の押下げを行うのか、または、より精度が高い状態を待って2段階目の押下げを行うのかを決めることができる。なお、フォーカスレンズ212が合焦範囲104よりも小さな第3誤差範囲である合焦範囲内に収束したら、フォーカスレンズ212の移動を停止してもよい。これにより、低精度モードに設定されている場合における、許容する合焦範囲をより小さくすることができる。また、フォーカスレンズ212が合焦範囲104内に収束したら、目標速度勾配114よりも緩やかな速度勾配により、フォーカスレンズ212の移動を継続してもよい。これにより、フォーカスレンズ212が合焦範囲104外にはみ出すことを抑制することができる。   When the low-precision mode is set, when the focus lens 212 converges within the in-focus range 104, the user's imaging instruction may be accepted while continuing to move the focus lens 212. In this case, the movement of the focus lens 212 may be continued while notifying the user that it is within the focusing range 104. As a result, the user can decide whether to perform the second-stage depression because it is within the in-focus range 104, or whether to perform the second-stage depression after waiting for a higher accuracy state. . When the focus lens 212 converges within the focus range that is the third error range smaller than the focus range 104, the movement of the focus lens 212 may be stopped. Thereby, when the low-accuracy mode is set, the permissible focusing range can be further reduced. Further, when the focus lens 212 converges within the in-focus range 104, the movement of the focus lens 212 may be continued with a gentler velocity gradient than the target velocity gradient 114. As a result, the focus lens 212 can be prevented from protruding outside the focus range 104.

高精度モードおよび低精度モードのいずれかが自動的に選択される場合について説明する。図中の切り替え判定時間Tjudは、予め定められた条件に基づいて設定される。例えば、SW2が検知されてから実際に撮影処理がなされるまでの期間に対して、ユーザが遅いと感じる期間の統計を取り、その平均時間を切り替え判定時間Tjudとして定めることができる。詳しくは後述するが、切り替え判定時間Tjudを用いた制御は、特に、SW1およびSW2が略同時に検知される場合に効果的である。   A case where either the high accuracy mode or the low accuracy mode is automatically selected will be described. The switching determination time Tjud in the figure is set based on a predetermined condition. For example, it is possible to take statistics of a period that the user feels late with respect to the period from when SW2 is detected until the actual shooting process is performed, and to determine the average time as the switching determination time Tjud. As will be described in detail later, control using the switching determination time Tjud is particularly effective when SW1 and SW2 are detected substantially simultaneously.

カメラ本体制御部318は、SW1を検知すると、切り替え判定時間Tjudにおけるデフォーカス位置を推定する。より詳細には、SW1を検知すると、デフォーカス量を算出し、算出したデフォーカス量に応じた判定用テーブルを選択する。そして、選択した判定用テーブルを用いて、切り替え判定時間Tjudにおいて、高精度モードでのデフォーカス位置が合焦範囲104内に収まっているかを判定する。同様に、切り替え判定時間Tjudにおいて、選択した判定用テーブルを用いて、低精度モードでのデフォーカス位置が合焦範囲103内に収まっているかを判定する。カメラ本体制御部318は、これらの判定結果に応じて、高精度モードおよび低精度モードのいずれかでフォーカスレンズ212を駆動制御する。図2に示すように、切り替え判定時間Tjudにおいて、低精度モードでのデフォーカス位置が合焦範囲104内に収まっており、高精度モードでのデフォーカス位置が合焦範囲103内に収まっていない場合には、低精度モードに設定する。これにより、図2(a)の特性曲線102に沿った駆動制御を実現することができる。高精度モードに設定する場合に比べて素早くAFを行い、切り替え判定時間Tjudよりも早い段階で被写体を撮影することができる。   When the camera body control unit 318 detects SW1, the camera body control unit 318 estimates the defocus position in the switching determination time Tjud. More specifically, when SW1 is detected, a defocus amount is calculated, and a determination table corresponding to the calculated defocus amount is selected. Then, using the selected determination table, it is determined whether the defocus position in the high accuracy mode is within the in-focus range 104 at the switching determination time Tjud. Similarly, at the switching determination time Tjud, it is determined whether the defocus position in the low accuracy mode is within the in-focus range 103 using the selected determination table. The camera body control unit 318 drives and controls the focus lens 212 in either the high accuracy mode or the low accuracy mode according to these determination results. As shown in FIG. 2, at the switching determination time Tjud, the defocus position in the low accuracy mode is within the focus range 104, and the defocus position in the high accuracy mode is not within the focus range 103. In this case, the low precision mode is set. Thereby, the drive control along the characteristic curve 102 in FIG. 2A can be realized. Compared with the case of setting to the high accuracy mode, AF can be performed quickly, and the subject can be photographed at an earlier stage than the switching determination time Tjud.

図3は、高精度モードおよび低精度モードのいずれかが自動的に選択される場合を説明する図である。具体的には、フォーカスレンズ212の動きを示す図である。図3(a)、(b)において、横軸は時間を示し、縦軸はフォーカスレンズ212のデフォーカス量を示す。図3(a)において、実線は、高精度モードに設定されている場合の特性曲線105を示し、破線は、低精度モードに設定されている場合の特性曲線106を示す。また、デフォーカス量D1よりも小さいデフォーカス量の場合について示している。図3(b)において、実線は、高精度モードに設定されている場合の特性曲線107を示し、破線は、低精度モードに設定されている場合の特性曲線108を示す。また、デフォーカス量D1よりも大きいデフォーカス量の場合について示している。   FIG. 3 is a diagram illustrating a case where either the high accuracy mode or the low accuracy mode is automatically selected. Specifically, it is a diagram showing the movement of the focus lens 212. 3A and 3B, the horizontal axis indicates time, and the vertical axis indicates the defocus amount of the focus lens 212. In FIG. 3A, the solid line indicates the characteristic curve 105 when the high accuracy mode is set, and the broken line indicates the characteristic curve 106 when the low accuracy mode is set. Further, the case where the defocus amount is smaller than the defocus amount D1 is shown. In FIG. 3B, the solid line indicates the characteristic curve 107 when the high accuracy mode is set, and the broken line indicates the characteristic curve 108 when the low accuracy mode is set. Further, the case where the defocus amount is larger than the defocus amount D1 is shown.

図3(a)に示すように、デフォーカス量D2は、デフォーカス量D1よりも小さい。このため、切り替え判定時間Tjudにおいて、低精度モードでのデフォーカス位置が合焦範囲104内に収まっており、高精度モードでのデフォーカス位置も合焦範囲103内に収まっている。この場合には、カメラ本体制御部318は、高精度モードに設定する。これにより、図3(a)の特性曲線105に沿った駆動制御を実現することができる。したがって、切り替え判定時間Tjudよりも早く、かつ高い合焦精度で被写体を撮影することができる。   As shown in FIG. 3A, the defocus amount D2 is smaller than the defocus amount D1. Therefore, at the switching determination time Tjud, the defocus position in the low accuracy mode is within the focus range 104, and the defocus position in the high accuracy mode is also within the focus range 103. In this case, the camera body control unit 318 sets the high accuracy mode. As a result, drive control along the characteristic curve 105 in FIG. Accordingly, it is possible to photograph the subject with high focusing accuracy earlier than the switching determination time Tjud.

図3(b)に示すように、デフォーカス量D3は、デフォーカス量D1よりも大きい。このため、切り替え判定時間Tjudにおいて、低精度モードでのデフォーカス位置が合焦範囲104内に収まっておらず、高精度モードでのデフォーカス位置も合焦範囲103内に収まっていない。この場合には、カメラ本体制御部318は、低精度モードに設定する。これにより、図3(b)の特性曲線108に沿った駆動制御を実現することができる。したがって、切り替え判定時間Tjudを経過するものの、高精度モードに設定する場合に比べて素早くAFを行い、被写体を撮影することができる。   As shown in FIG. 3B, the defocus amount D3 is larger than the defocus amount D1. For this reason, at the switching determination time Tjud, the defocus position in the low accuracy mode is not within the focus range 104, and the defocus position in the high accuracy mode is not within the focus range 103. In this case, the camera body control unit 318 sets the low accuracy mode. Thereby, drive control along the characteristic curve 108 of FIG. 3B can be realized. Therefore, although the switching determination time Tjud elapses, AF can be performed quickly and the subject can be photographed as compared with the case where the high accuracy mode is set.

図4は、一定速度で移動している被写体に対してフォーカスレンズ212を合焦させ追従させる場合を説明する図である。図4(a)は、フォーカスレンズ212の動きを示す図である。図において、一点鎖線は、被写体の移動の軌跡123を示す。実線は、高精度モードの特性曲線121を示す。破線は、低精度モードの特性曲線122を示す。低精度モードにおいては、高精度モードに比べて立ち上がりの応答性を速くしているので、図示するように、オーバーシュートする場合があり得る。   FIG. 4 is a diagram for explaining a case where the focus lens 212 is focused and followed with respect to a subject moving at a constant speed. FIG. 4A is a diagram illustrating the movement of the focus lens 212. In the figure, the alternate long and short dash line indicates the locus 123 of movement of the subject. The solid line shows the characteristic curve 121 in the high accuracy mode. A broken line shows the characteristic curve 122 of the low accuracy mode. In the low-accuracy mode, the rising response is made faster than in the high-accuracy mode, so that overshoot may occur as shown in the figure.

まず、カメラ本体制御部318は、被写体に対してフォーカスレンズ212を合焦させるべく、図2、図3で説明した駆動制御である定量駆動制御を行う。これにより、フォーカスレンズ212を合焦範囲まで移動させる。そして、その後、移動する被写体に対し追従する追従駆動制御を行う。カメラ本体制御部318は、ユーザの設定に応じて、高精度モードと低精度モードのいずれかに設定することができる。   First, the camera body control unit 318 performs quantitative drive control, which is the drive control described with reference to FIGS. 2 and 3, in order to focus the focus lens 212 on the subject. Thereby, the focus lens 212 is moved to the in-focus range. Then, follow-up drive control for following the moving subject is performed. The camera body control unit 318 can set either the high accuracy mode or the low accuracy mode according to the user setting.

高精度モードに設定された場合には、特性曲線121に示すように、SW1を検知した時刻である時刻t0から定量駆動を開始し、時刻t4で定量駆動が完了する。時刻t4において、追従駆動に移行する。低精度モードに設定された場合には、特性曲線122に示すように、時刻t0から定量駆動を開始する。より高速で駆動することにより、時刻t4よりも手前の時刻t2で定量駆動が完了する。そして、時刻t2において、追従駆動に移行する。低精度モードに設定された場合には、移動している被写体を撮影する場合に、素早く定量駆動を完了するので、より早い段階で撮影タイミングを得ることができる。結果として、撮影タイミングを逃す可能性を低減することができる。   When the high accuracy mode is set, as shown in the characteristic curve 121, the quantitative driving is started from time t0 that is the time when SW1 is detected, and the quantitative driving is completed at time t4. At time t4, the operation shifts to follow-up driving. When the low accuracy mode is set, as shown by the characteristic curve 122, the quantitative driving is started from time t0. By driving at higher speed, the quantitative driving is completed at time t2 before time t4. At time t2, the driving is shifted to follow-up driving. When the low-accuracy mode is set, when photographing a moving subject, the quantitative driving is completed quickly, so that the photographing timing can be obtained at an earlier stage. As a result, the possibility of missing the shooting timing can be reduced.

高精度モードおよび低精度モードのいずれかが自動的に選択される場合について説明する。図中の切り替え判定時間Tjudは、図2で説明したとおりである。カメラ本体制御部318は、SW1を検知すると、切り替え判定時間Tjudにおけるデフォーカス位置を推定する。より詳細には、SW1を検知すると、デフォーカス量を算出し、算出したデフォーカス量に応じた判定用テーブルを選択する。そして、選択した判定用テーブルを用いて、切り替え判定時間Tjudにおいて、低精度モードでのデフォーカス位置が合焦範囲104内に収まっているかを判定する。同様に、切り替え判定時間Tjudにおいて、選択した判定用テーブルを用いて、高精度モードでのデフォーカス位置が合焦範囲103内に収まっているかを判定する。カメラ本体制御部318は、これらの判定結果に応じて、高精度モードおよび低精度モードのいずれかでフォーカスレンズ212を駆動制御する。例えば、図4(a)に示すように、切り替え判定時間Tjudにおいて、低精度モードでのデフォーカス位置が合焦範囲104内に収まっており、高精度モードでのデフォーカス位置が合焦範囲103内に収まっていない場合には、低精度モードに設定する。   A case where either the high accuracy mode or the low accuracy mode is automatically selected will be described. The switching determination time Tjud in the figure is as described in FIG. When the camera body control unit 318 detects SW1, the camera body control unit 318 estimates the defocus position in the switching determination time Tjud. More specifically, when SW1 is detected, a defocus amount is calculated, and a determination table corresponding to the calculated defocus amount is selected. Then, using the selected determination table, it is determined whether the defocus position in the low accuracy mode is within the in-focus range 104 at the switching determination time Tjud. Similarly, at the switching determination time Tjud, it is determined whether the defocus position in the high accuracy mode is within the focusing range 103 using the selected determination table. The camera body control unit 318 drives and controls the focus lens 212 in either the high accuracy mode or the low accuracy mode according to these determination results. For example, as shown in FIG. 4A, at the switching determination time Tjud, the defocus position in the low accuracy mode is within the focus range 104, and the defocus position in the high accuracy mode is in the focus range 103. If it is not within, set to the low accuracy mode.

カメラ本体制御部318は、特性曲線121における合焦範囲104に到達する時刻と、特性曲線122における定量駆動が終了する時刻とを比較してもよい。図4(a)に示す例においては、時刻t3と時刻t2を比較する。そして、時刻t2が時刻t3よりも早ければ、低精度モードの制御パラメータを用いて制御する。特性曲線121における合焦範囲104に到達する時刻と、特性曲線122における合焦範囲104に到達する時刻とを比較してもよい。図4(a)に示す例においては、時刻t3と時刻t1を比較する。   The camera body control unit 318 may compare the time at which the focusing range 104 in the characteristic curve 121 is reached with the time at which the quantitative driving in the characteristic curve 122 ends. In the example shown in FIG. 4A, time t3 and time t2 are compared. If the time t2 is earlier than the time t3, the control is performed using the control parameter in the low accuracy mode. The time at which the focusing range 104 in the characteristic curve 121 is reached may be compared with the time at which the focusing range 104 in the characteristic curve 122 is reached. In the example shown in FIG. 4A, time t3 is compared with time t1.

なお、低精度モードでフォーカスレンズ212を駆動したとしても、当該フォーカスレンズ212が合焦範囲103に収まらない確率は、数%程度である場合がある。そこで、以上の説明では、高精度モードと低精度モードとで許容する合焦範囲を異ならせたが、合焦範囲を同一にし、合焦範囲に収まる確率を異ならせてもよい。すなわち、互いに異なる許容範囲を有するモードを選択する構成ではなく、互いに異なる合焦確率を有するモードを選択する構成としてもよい。   Even if the focus lens 212 is driven in the low-accuracy mode, the probability that the focus lens 212 does not fall within the in-focus range 103 may be about several percent. Therefore, in the above description, the in-focus range allowed in the high-accuracy mode and the low-accuracy mode are different, but the in-focus range may be the same and the probability of being in the in-focus range may be different. That is, it is good also as a structure which selects the mode which has a mutually different focus probability instead of the structure which selects a mutually different tolerance range.

図4(b)は、高精度モードと低精度モードとを合焦精度によって切り替えるための判定用テーブルを説明する図である。判定用テーブルは、高精度モードに設定された場合において、駆動時間と合焦範囲103に収まる確率とを対応付けている。同様に、低精度モードに設定された場合において、駆動時間と合焦範囲103に収まる確率とを対応付けている。なお、低精度モードにおいては、合焦範囲103に収まる確率そのものを示す補正なしの場合と、合焦範囲103に収まる確率に判定補正係数を掛けた補正ありの場合との二通りについて示している。ここでは、判定補正係数は0.9である。また、駆動時間と切り替え判定とを対応付けている。切り替え判定の項目において、数値1は高精度モードを示し、数値2は低精度モードを示す。低精度モード(補正あり)の確率が、高精度モードの確率よりも高い場合に数値1が設定され、高精度モードの確率よりも低い場合に数値2が設定される。判定補正係数を適宜調整することにより、切り替え判定の項目の数値は変更され得る。判定用テーブルは、予め実験、シミュレーション等を通じて生成される。例えば、製造工程におけるフォーカスレンズ212の駆動試験等において、駆動時間毎のデータをログとして記録しておけば、当該ログを用いて判定用テーブルを生成することができる。   FIG. 4B illustrates a determination table for switching between the high accuracy mode and the low accuracy mode depending on the focusing accuracy. The determination table associates the driving time with the probability of being in the in-focus range 103 when the high accuracy mode is set. Similarly, when the low-accuracy mode is set, the driving time is associated with the probability of being in the focusing range 103. In the low-accuracy mode, two cases are shown: a case where there is no correction indicating the probability itself falling within the focusing range 103 and a case where there is correction where the probability falling within the focusing range 103 is multiplied by a determination correction coefficient. . Here, the determination correction coefficient is 0.9. Further, the driving time and the switching determination are associated with each other. In the item of switching determination, the numerical value 1 indicates the high accuracy mode, and the numerical value 2 indicates the low accuracy mode. A numerical value 1 is set when the probability of the low accuracy mode (with correction) is higher than the probability of the high accuracy mode, and a numerical value 2 is set when it is lower than the probability of the high accuracy mode. By appropriately adjusting the determination correction coefficient, the numerical value of the item of switching determination can be changed. The determination table is generated in advance through experiments, simulations, and the like. For example, in a driving test of the focus lens 212 in the manufacturing process, if data for each driving time is recorded as a log, the determination table can be generated using the log.

高精度モードにおいては、フォーカスレンズ212が最終的に合焦範囲103内に100%の確率で収まるように制御パラメータが設定されている。低精度モード(補正なし)においては、フォーカスレンズ212が最終的に合焦範囲103内に85%の確率で収まるように制御パラメータが設定されている。例えば、高精度モードにおいては、駆動開始から90ms後に、100%の確率で合焦範囲103に収まることがわかる。駆動開始から50ms後では、合焦範囲103に収まる確率は0%であることがわかる。一方、低精度モード(補正なし)においては、駆動開始から40ms後に、85%の確率で合焦範囲103に収まることがわかる。駆動開始から20ms後では、合焦範囲103に収まる確率は0%であることがわかる。   In the high-accuracy mode, the control parameters are set so that the focus lens 212 is finally within the focusing range 103 with a probability of 100%. In the low-accuracy mode (without correction), the control parameters are set so that the focus lens 212 is finally within the focus range 103 with a probability of 85%. For example, in the high accuracy mode, it can be seen that 90 ms after the start of driving falls within the focusing range 103 with a probability of 100%. It can be seen that the probability of being in the in-focus range 103 is 0% after 50 ms from the start of driving. On the other hand, in the low-accuracy mode (without correction), it can be seen that after 40 ms from the start of driving, it falls within the focusing range 103 with a probability of 85%. It can be seen that after 20 ms from the start of driving, the probability of being in the focusing range 103 is 0%.

カメラ本体制御部318は、判定用テーブルを参照することにより、切り替え判定時間Tjudにおいてフォーカスレンズ212が合焦範囲103内に収まっているか否かを判定し、判定結果に応じて高精度モードおよび低精度モードのいずれかに設定する。切り替え判定時間Tjudが駆動開始から50ms後に設定されている場合について説明する。カメラ本体制御部318は、駆動開始から50ms後における、高精度モードでの確率と、低精度モード(補正あり)での確率を比較する。図4(b)に示すように、高精度モードで駆動モータ251を駆動すると、フォーカスレンズ212が合焦範囲103に入る確率は0%であるとわかる。一方、低精度モード(補正あり)で駆動モータ251を駆動すると、フォーカスレンズ212が合焦範囲103に入る確率は76.5%であるとわかる。低精度モード(補正あり)での確率は、高精度モードでの確率よりも高いので、カメラ本体制御部318は、低精度モードで駆動モータ251を制御するように自動的に切り替える。なお、低精度モード(補正なし)での確率と、高精度モードでの確率とを比較してもよい。また、ユーザは、操作部材315を用いて許容できる確率を登録してもよい。そして、高精度モードでの確率よりも高く、かつ、登録した確率よりも高い場合に、低精度モードが選択されてもよい。   The camera body control unit 318 determines whether or not the focus lens 212 is within the in-focus range 103 during the switching determination time Tjud by referring to the determination table, and determines the high accuracy mode and the low accuracy mode according to the determination result. Set to one of the accuracy modes. A case where the switching determination time Tjud is set 50 ms after the start of driving will be described. The camera body control unit 318 compares the probability in the high accuracy mode and the probability in the low accuracy mode (with correction) 50 ms after the start of driving. As shown in FIG. 4B, when the drive motor 251 is driven in the high accuracy mode, it can be seen that the probability that the focus lens 212 enters the in-focus range 103 is 0%. On the other hand, when the drive motor 251 is driven in the low accuracy mode (with correction), it can be seen that the probability that the focus lens 212 enters the in-focus range 103 is 76.5%. Since the probability in the low accuracy mode (with correction) is higher than the probability in the high accuracy mode, the camera body control unit 318 automatically switches to control the drive motor 251 in the low accuracy mode. Note that the probability in the low accuracy mode (without correction) and the probability in the high accuracy mode may be compared. The user may register an allowable probability using the operation member 315. The low accuracy mode may be selected when the probability is higher than the probability in the high accuracy mode and higher than the registered probability.

以上のように、高精度モードにおいては、AFが撮影タイミングに間に合わない場合であっても、低精度モードにおいては、撮影タイミングに間に合う場合がある。このような場合に、カメラ本体制御部318は、判定用テーブルを用いて、自動的に低精度モードに設定することができる。   As described above, in the high accuracy mode, even when AF is not in time for the shooting timing, in the low accuracy mode, the shooting timing may be in time. In such a case, the camera body control unit 318 can automatically set the low accuracy mode using the determination table.

図5は、オートフォーカスモードにおける選択画面の表示例を説明する図である。図5(a)は、AF精度の選択画面の表示例を示す図である。ユーザは、カスタムメニュー設定からAF精度を選択することができる。AF精度として高精度モードを示す「高精度」が選択された場合には、カメラ本体制御部318は、上述の高精度モード用の制御パラメータを用いて駆動モータ251を制御する。「低精度」が選択された場合には、カメラ本体制御部318は、上述の低精度モード用の制御パラメータを用いて駆動モータ251を制御する。「オート選択」が選択された場合には、高精度モードと低精度モードとが自動的に切り替えられる。   FIG. 5 is a diagram illustrating a display example of the selection screen in the autofocus mode. FIG. 5A is a diagram illustrating a display example of an AF accuracy selection screen. The user can select the AF accuracy from the custom menu settings. When “high accuracy” indicating the high accuracy mode is selected as the AF accuracy, the camera body control unit 318 controls the drive motor 251 using the control parameters for the high accuracy mode described above. When “low accuracy” is selected, the camera body control unit 318 controls the drive motor 251 using the control parameters for the low accuracy mode described above. When “auto selection” is selected, the high accuracy mode and the low accuracy mode are automatically switched.

図5(b)は、AF精度のオプションの選択画面の表示例を示す図である。AF精度が「低精度」に設定されている場合において、AF精度オプションが「AF−C」に設定されれば、「AF−C」で撮影される場合に低精度モードでの撮影が行われる。この場合には、高精度モードと低精度モードにおいて、特に定量駆動時にAF速度の差が顕著になる。AF精度が「低精度」に設定されている場合において、AF精度オプションが「AF−S」に設定されれば、「AF−S」で撮影される場合に低精度モードでの撮影が行われる。AF精度が「低精度」に設定されている場合において、AF精度オプションが「全AFモード」に選択されれば、「AF−C」および「AF−S」のいずれで撮影される場合であっても、低精度モードでの撮影が行われる。   FIG. 5B is a diagram illustrating a display example of an AF accuracy option selection screen. If the AF accuracy is set to “low accuracy” and the AF accuracy option is set to “AF-C”, shooting in the low accuracy mode is performed when shooting with “AF-C”. . In this case, the difference in AF speed becomes significant between the high accuracy mode and the low accuracy mode, particularly during quantitative driving. If the AF accuracy is set to “low accuracy” and the AF accuracy option is set to “AF-S”, shooting in the low accuracy mode is performed when shooting with “AF-S”. . When the AF accuracy is set to “low accuracy” and the AF accuracy option is selected to “all AF mode”, the image is shot with either “AF-C” or “AF-S”. Even in this case, shooting in the low accuracy mode is performed.

図6は、オート選択モードでの撮影動作に係る処理の一例を示すフロー図である。本フローは、オート選択モードに設定された状態において、SW1がオンされたことをカメラ本体制御部318が検知することによって開始される。なお、カメラ本体制御部318は、交換レンズ200が装着されたときに、すでに駆動制御用テーブル、および判定用テーブルを取得している。   FIG. 6 is a flowchart showing an example of processing related to the photographing operation in the auto selection mode. This flow is started when the camera body control unit 318 detects that SW1 is turned on in the state where the auto selection mode is set. The camera main body control unit 318 has already acquired the drive control table and the determination table when the interchangeable lens 200 is attached.

カメラ本体制御部318は、SW1がオンされたことを検知すると、高精度モードでのAFを実行する(ステップS101)。具体的には、カメラ本体制御部318は、まず、AFセンサ307により検出されたデフォーカス量を取得する。そして、デフォーカス量からフォーカスレンズ212の駆動量を算出する。駆動量を算出すると、当該駆動量に対応する駆動制御用テーブルを選択し、高精度モードの制御パラメータを用いてAFを実行する。   When the camera body control unit 318 detects that SW1 is turned on, the camera body control unit 318 executes AF in the high accuracy mode (step S101). Specifically, the camera body control unit 318 first acquires the defocus amount detected by the AF sensor 307. Then, the drive amount of the focus lens 212 is calculated from the defocus amount. When the drive amount is calculated, a drive control table corresponding to the drive amount is selected, and AF is executed using the control parameter in the high accuracy mode.

カメラ本体制御部318は、SW1のタイマがオフされたか判定する(ステップS102)。SW1のタイマがオフされたと判定すれば(ステップS102でYes)、一連の処理を終了する。SW1のタイマがオフされていないと判定すれば(ステップS102でNo)、SW2がオンされたかを判定する(ステップS103)。SW2がオンされていないと判定すれば(ステップS103でNo)、ステップS102に移行する。SW2がオンされたと判定すれば(ステップS103でYes)、レリーズタイムラグが経過したか否かを判定する(ステップS104)。ここで、レリーズタイムラグは、SW2、すなわち撮影指示から実際に撮影可能になるまでの時間である。レリーズタイムラグは、AF、測光、その他の撮影準備が完了する期間である。レリーズタイムラグが経過していないと判定した場合には(ステップS104でNo)、低精度モードに切り替える(ステップS105)。具体的には、ステップ101において選択した駆動制御用テーブルを参照し、低精度モードの制御パラメータを用いてAFを実行する。上述したように、移動している被写体を撮影する場合には、SW1とSW2を略同時に押下する場合がある。この場合には、レリーズタイムラグが経過する前にSW2が押下されると考えられる。そこで、AFによってレリーズタイムラグが長くなっている場合には、低精度モードに切り替えることにより、レリーズタイムラグを短縮させることができる。   The camera body control unit 318 determines whether the timer of SW1 is turned off (step S102). If it is determined that the timer of SW1 has been turned off (Yes in step S102), the series of processing ends. If it is determined that the timer of SW1 is not turned off (No in step S102), it is determined whether SW2 is turned on (step S103). If it is determined that SW2 is not turned on (No in step S103), the process proceeds to step S102. If it is determined that SW2 is turned on (Yes in step S103), it is determined whether the release time lag has elapsed (step S104). Here, the release time lag is SW2, that is, the time from when a shooting instruction is issued until when shooting is actually possible. The release time lag is a period during which AF, photometry, and other shooting preparations are completed. If it is determined that the release time lag has not elapsed (No in step S104), the mode is switched to the low accuracy mode (step S105). Specifically, the drive control table selected in step 101 is referred to, and AF is executed using the control parameters in the low accuracy mode. As described above, when shooting a moving subject, SW1 and SW2 may be pressed almost simultaneously. In this case, it is considered that SW2 is pressed before the release time lag elapses. Therefore, when the release time lag is long due to AF, the release time lag can be shortened by switching to the low accuracy mode.

低精度モードに切り替えた後にレリーズタイムラグが経過すれば、または、ステップ104においてすでにレリーズタイムラグが経過したと判定されれば(ステップS104でYes)に、撮影処理を実行し(ステップS106)、一連の処理を終了する。   If the release time lag elapses after switching to the low-accuracy mode, or if it is determined in step 104 that the release time lag has already elapsed (Yes in step S104), the shooting process is executed (step S106). The process ends.

以上の説明では、カメラ本体制御部318は、判定用テーブルを用いて、高精度モードおよび低精度モードのいずれに設定するかを判定したが、判定用テーブルを用いずに判定することもできる。フォーカスレンズ212の駆動量が決まると、駆動量と時間との関係式を用いて、当該駆動量に対する時間を推定してもよい。   In the above description, the camera body control unit 318 uses the determination table to determine whether to set the high accuracy mode or the low accuracy mode, but can also determine without using the determination table. When the drive amount of the focus lens 212 is determined, the time for the drive amount may be estimated using a relational expression between the drive amount and time.

以上の説明では、図2(b)に示したように、加減速時の目標速度勾配は直線で表されたが、曲線で表されてもよい。また、目標速度勾配に関するパラメータが記述されたテーブルを用いて目標速度勾配を算出してもよい。   In the above description, as shown in FIG. 2B, the target speed gradient during acceleration / deceleration is represented by a straight line, but may be represented by a curve. Alternatively, the target speed gradient may be calculated using a table in which parameters related to the target speed gradient are described.

以上の説明では、制御パラメータとして目標速度、目標速度勾配を用いたが、駆動モータ251の特性曲線に影響を与えるパラメータであれば、他の制御パラメータを用いてもよい。例えば、駆動モータ251の目標加速度を用いることができる。この場合には、カメラ本体制御部318は、フォーカスレンズ212の加速度を制御することによって、フォーカスレンズ212の速度制御を変更する。   In the above description, the target speed and the target speed gradient are used as the control parameters, but other control parameters may be used as long as they affect the characteristic curve of the drive motor 251. For example, the target acceleration of the drive motor 251 can be used. In this case, the camera body control unit 318 changes the speed control of the focus lens 212 by controlling the acceleration of the focus lens 212.

以上の説明では、デジタルカメラ100は、交換式レンズ式であったが、レンズ一体式であってもよい。また、以上の説明では、AF方式として位相差AFを採用した場合を例に挙げたが、コントラストAFを採用してもよい。   In the above description, the digital camera 100 is an interchangeable lens type, but may be a lens integrated type. In the above description, the case where phase difference AF is adopted as the AF method is taken as an example, but contrast AF may be adopted.

以上の説明では、高精度モードおよび低精度モードの二つのモードを有する構成としたが、三つ以上のモードを有する構成としてもよい。例えば、高精度モードおよび低精度モードに加えて標準モードを設けてもよい。標準モードにおいては、例えば、加速時の目標速度勾配を、低精度モードの加速時の目標速度勾配と高精度モードの加速時の目標速度勾配との間に設定する。同様に、減速時の目標速度勾配を、低精度モードの減速時の目標速度勾配と高精度モードの減速時の目標速度勾配との間に設定する。また、標準モードにおいては、フォーカスレンズの目標位置に対して、高精度モードで許容される誤差範囲と、低精度モードで許容される誤差範囲との間の誤差範囲を許容するとしてよい。これにより、選択可能な精度をより多くユーザに提供することができる。なお、標準モードで許容される誤差範囲を高精度モードで許容される誤差範囲と同一に設定してもよい。   In the above description, the configuration has two modes, the high accuracy mode and the low accuracy mode, but may have a configuration having three or more modes. For example, a standard mode may be provided in addition to the high accuracy mode and the low accuracy mode. In the standard mode, for example, the target speed gradient during acceleration is set between the target speed gradient during acceleration in the low accuracy mode and the target speed gradient during acceleration in the high accuracy mode. Similarly, the target speed gradient during deceleration is set between the target speed gradient during deceleration in the low accuracy mode and the target speed gradient during deceleration in the high accuracy mode. In the standard mode, an error range between the error range allowed in the high accuracy mode and the error range allowed in the low accuracy mode may be allowed for the target position of the focus lens. Thereby, more selectable accuracies can be provided to the user. The error range allowed in the standard mode may be set to be the same as the error range allowed in the high accuracy mode.

また、フォーカスレンズ212の駆動量が小さいほど、オーバーシュートする確率が高くなる。したがって、区分範囲のうち、駆動量が小さい側の範囲ほど特性曲線が緩やかになるように制御パラメータを設定してもよい。   Further, the smaller the driving amount of the focus lens 212, the higher the probability of overshooting. Therefore, the control parameter may be set so that the characteristic curve becomes gentler in the range with the smaller drive amount in the divided range.

以上の説明では、定量駆動、および定量駆動と追従駆動との組み合わせを例に挙げたが、駆動モータ251を制御できるのであれば、他の駆動方法、他の組み合わせであってもよい。カメラ本体制御部318は、フォーカスレンズ駆動部250の駆動モータ251をPID制御してもよい。この場合には、比例ゲインを高精度モードと低精度モードとで異ならせるとよい。これにより、高精度モードと低精度モードとで速度を変えることができる。また、比例ゲインに加えて、積分ゲインおよび微分ゲインの少なくとも一方を動的に変更してもよい。   In the above description, the fixed drive and the combination of the fixed drive and the follow-up drive have been described as examples. However, as long as the drive motor 251 can be controlled, other drive methods and other combinations may be used. The camera body control unit 318 may perform PID control on the drive motor 251 of the focus lens drive unit 250. In this case, the proportional gain may be different between the high accuracy mode and the low accuracy mode. Thereby, the speed can be changed between the high accuracy mode and the low accuracy mode. In addition to the proportional gain, at least one of the integral gain and the differential gain may be dynamically changed.

以上の説明では、判定用テーブルは、フォーカスレンズ212の区分範囲毎に設定されていたが、さらに温度について区分した温度範囲毎に設定されてもよい。PID制御においては、動作環境における温度は外乱となり得る。そこで、環境温度を検出し、当該環境温度に応じた判定用テーブルを用いることにより、PID制御の精度を向上させることができる。また、ユーザは、速度を選択することにより、合焦精度を選択してもよい。具体的には、低精度モードの代わりに高速モードを有し、高精度モードの代わりに低速モードを有してもよい。   In the above description, the determination table is set for each divided range of the focus lens 212, but may be set for each temperature range further divided for temperature. In PID control, the temperature in the operating environment can be a disturbance. Therefore, the accuracy of PID control can be improved by detecting the environmental temperature and using a determination table corresponding to the environmental temperature. Further, the user may select the focusing accuracy by selecting the speed. Specifically, a high speed mode may be provided instead of the low accuracy mode, and a low speed mode may be provided instead of the high accuracy mode.

以上の説明では、オート選択モードに設定されている場合には、切り替え判定時間を用いて高精度モードおよび低精度モードのいずれかに設定したが、撮影モードに応じて高精度モードおよび低精度モードのいずれかに設定してもよい。例えば、風景モードに設定されていれば、高精度モードに設定に設定するとよい。風景モードに設定されている場合には、静止している被写体を撮影する場合が多いと考えられる。したがって、この場合には、合焦するまでの時間よりも合焦精度を優先する。一方で、例えば、スポーツモードに設定されていれば、低精度モードに設定するとよい。スポーツモードに設定されている場合には、移動している被写体を撮影する場合が多いと考えられる。したがって、この場合には、合焦精度よりも合焦するまでの速度を優先する。   In the above description, when the auto selection mode is set, either the high accuracy mode or the low accuracy mode is set using the switching determination time. However, depending on the shooting mode, the high accuracy mode and the low accuracy mode are set. You may set to either. For example, if the landscape mode is set, the high accuracy mode may be set. When the landscape mode is set, it can be considered that a stationary subject is often photographed. Therefore, in this case, the focusing accuracy is given priority over the time until focusing. On the other hand, for example, if the sport mode is set, the low precision mode may be set. When the sports mode is set, it is considered that the moving subject is often photographed. Therefore, in this case, priority is given to the speed until focusing is achieved over focusing accuracy.

以上の説明では、ユーザが遅いと感じる期間の統計の平均を切り替え判定時間Tjudとして定めたが、レリーズタイムラグTrlsを用いて定めてもよい。具体的には、以下の式により算出することができる。
Tjud=α×Trls+β
ここで、αは調整補正係数であり、βは調整オフセットである。
調整補正係数および調整オフセットを適宜調整することにより、切り替え判定時間Tjudを調整することができる。また、切り替え判定時間Tjudを被写体速度に応じて変えてもよいし、連写速度に応じて変えてもよいし、環境温度に応じて変えてもよい。フォーカスレンズ212の区分範囲毎に切り替え判定時間Tjudを設定してもよい。また、AFを除くレリーズタイムラグを用いて切り替え判定時間Tjudを定めてもよい。AFを除くレリーズタイムラグがAF完了までに要する時間よりも長ければ、そもそもAF速度を上げなくてもよい。したがって、例えば、AFを除くレリーズタイムラグを切り替え判定時間Tjudとして用いれば、AFを除くレリーズタイムラグに応じてモードを変えることができる。例えば、AFを除くレリーズタイムラグがある程度短ければ、低精度モードに設定するとよい。また、フォーカスレンズ212の駆動量がある程度大きければ、AFは、AFを除くレリーズタイムラグよりも長い時間を要する可能性が高い。この場合には、低精度モードであっても高精度モードであっても、合焦範囲に収まっていない可能性が高い。そこで、AFを除くレリーズタイムラグに調整オフセットを加えた値を切り替え判定時間Tjudとして用いてもよい。また、切り替え判定時間をデフォーカス量に応じて設定してもよい。デフォーカス量が大きくなるほど、AF完了までに要する時間が長くなる。したがって、ユーザが遅いと感じる期間を考慮しつつ、デフォーカス量が大きくなるほど、切り替え判定時間を長く設定するとよい。
In the above description, the average of the statistics that the user feels late is determined as the switching determination time Tjud, but may be determined using the release time lag Trls. Specifically, it can be calculated by the following formula.
Tjud = α × Trls + β
Here, α is an adjustment correction coefficient, and β is an adjustment offset.
By appropriately adjusting the adjustment correction coefficient and the adjustment offset, the switching determination time Tjud can be adjusted. The switching determination time Tjud may be changed according to the subject speed, may be changed according to the continuous shooting speed, or may be changed according to the environmental temperature. The switching determination time Tjud may be set for each section range of the focus lens 212. Further, the switching determination time Tjud may be determined using a release time lag excluding AF. If the release time lag excluding AF is longer than the time required to complete AF, the AF speed need not be increased in the first place. Therefore, for example, if the release time lag excluding AF is used as the switching determination time Tjud, the mode can be changed according to the release time lag excluding AF. For example, if the release time lag excluding AF is somewhat short, the low accuracy mode may be set. If the drive amount of the focus lens 212 is large to some extent, AF is likely to take a longer time than the release time lag excluding AF. In this case, there is a high possibility that the low-precision mode or the high-precision mode is not within the in-focus range. Therefore, a value obtained by adding an adjustment offset to the release time lag excluding AF may be used as the switching determination time Tjud. Further, the switching determination time may be set according to the defocus amount. The larger the defocus amount, the longer the time required to complete AF. Therefore, it is preferable to set the switching determination time longer as the defocus amount increases while considering a period during which the user feels late.

フォーカスモードとしてパワーフォーカスモードを含んでもよい。この場合には、カメラ本体300は操作部材315として例えば回転ダイヤルを含む。パワーフォーカスモードにおいては、カメラ本体300は、ユーザによる回転ダイヤルの回転操作を検出する。そして、回転ダイヤルの回転量に応じて駆動モータ251を駆動することにより、フォーカスレンズ212を移動させる。パワーフォーカスモードは、上述した高精度モード、低精度モード、およびオート選択モードを含んでもよい。例えば、低精度モードに設定されていれば、回転量に応じて定まる目標位置に対して、高精度モードに設定されている場合よりも高速で駆動する。   The focus mode may include a power focus mode. In this case, the camera body 300 includes, for example, a rotary dial as the operation member 315. In the power focus mode, the camera body 300 detects a rotation operation of the rotary dial by the user. Then, the focus lens 212 is moved by driving the drive motor 251 in accordance with the rotation amount of the rotary dial. The power focus mode may include the above-described high accuracy mode, low accuracy mode, and auto selection mode. For example, if the low accuracy mode is set, the target position determined according to the rotation amount is driven at a higher speed than when the high accuracy mode is set.

フォーカスモードとして置きピンモードを含んでもよい。置きピンモードにおいては、被写体を撮影するにあたって、予め特定の被写体距離にフォーカスロックしておく。置きピンモードは、上述した高精度モード、低精度モード、およびオート選択モードを含んでもよい。例えば、低精度モードに設定されていれば、特定の被写体距離である目標位置に対して、高精度モードに設定されている場合よりも高速で駆動する。   The placing pin mode may be included as the focus mode. In the placement pin mode, when the subject is photographed, the focus is locked to a specific subject distance in advance. The standing pin mode may include the above-described high accuracy mode, low accuracy mode, and auto selection mode. For example, if the low accuracy mode is set, the target position that is a specific subject distance is driven at a higher speed than when the high accuracy mode is set.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。   As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above-described embodiment. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.

特許請求の範囲、明細書、および図面中において示した装置、システム、プログラム、および方法における動作、手順、ステップ、および段階等の各処理の実行順序は、特段「より前に」、「先立って」等と明示しておらず、また、前の処理の出力を後の処理で用いるのでない限り、任意の順序で実現しうることに留意すべきである。特許請求の範囲、明細書、および図面中の撮影動作フローに関して、便宜上「まず、」、「次に、」等を用いて説明したとしても、この順で実施することが必須であることを意味するものではない。   The order of execution of each process such as operations, procedures, steps, and stages in the apparatus, system, program, and method shown in the claims, the description, and the drawings is particularly “before” or “prior to”. It should be noted that the output can be realized in any order unless the output of the previous process is used in the subsequent process. Regarding the shooting operation flow in the claims, the description, and the drawings, even if it is described using “first,” “next,” etc. for convenience, it means that it is essential to carry out in this order. Not what you want.

100 デジタルカメラ、101 特性曲線、102 特性曲線、103 合焦範囲、104 合焦範囲、105 特性曲線、106 特性曲線、107 特性曲線、108 特性曲線、111 目標速度勾配、112 目標速度勾配、113 目標速度勾配、114 目標速度勾配、121 特性曲線、122 特性曲線、123 軌跡、200 交換レンズ、201 光軸、210 撮影レンズ、211 ズームレンズ、212 フォーカスレンズ、220 交換レンズ制御部、230 システムメモリ、240 ズームレンズ駆動部、250 フォーカスレンズ駆動部、251 駆動モータ、252 エンコーダ、260 レンズマウント、300 カメラ本体、301 メインミラー、302 サブミラー、303 ピント板、304 ペンタプリズム、305 接眼光学系、306 ファインダ窓、307 AFセンサ、308 撮像素子、309 A/D変換器、310 内部メモリ、311 画像処理部、312 記録媒体IF、313 表示制御部、314 表示部、315 操作部材、316 レリーズスイッチ、317 システムメモリ、318 カメラ本体制御部、360 カメラマウント、400 記録媒体   100 digital camera, 101 characteristic curve, 102 characteristic curve, 103 focusing range, 104 focusing range, 105 characteristic curve, 106 characteristic curve, 107 characteristic curve, 108 characteristic curve, 111 target speed gradient, 112 target speed gradient, 113 target Velocity gradient, 114 Target velocity gradient, 121 characteristic curve, 122 characteristic curve, 123 locus, 200 interchangeable lens, 201 optical axis, 210 photographing lens, 211 zoom lens, 212 focus lens, 220 interchangeable lens control unit, 230 system memory, 240 Zoom lens drive unit, 250 focus lens drive unit, 251 drive motor, 252 encoder, 260 lens mount, 300 camera body, 301 main mirror, 302 sub mirror, 303 focus plate, 304 penta prism, 3 5 eyepiece optical system, 306 finder window, 307 AF sensor, 308 image sensor, 309 A / D converter, 310 internal memory, 311 image processing unit, 312 recording medium IF, 313 display control unit, 314 display unit, 315 operation member 316 release switch, 317 system memory, 318 camera body control unit, 360 camera mount, 400 recording medium

Claims (14)

フォーカスの精度に関する制御パラメータを設定する設定部と、
前記設定部による設定に基づいてフォーカスレンズの移動速度を制御する制御部と
を備える撮像装置。
A setting unit for setting a control parameter related to the accuracy of the focus;
An imaging apparatus comprising: a control unit that controls a moving speed of the focus lens based on the setting by the setting unit.
前記設定部は、前記フォーカスレンズの移動速度の制御パラメータを第1パラメータとし、前記フォーカスレンズの目標位置に対するずれの許容範囲を第1範囲とする第1モードと、前記制御パラメータを前記第1パラメータとは異なる第2パラメータとし、前記許容範囲を前記第1範囲とは異なる第2範囲とする第2モードとのいずれかに設定する請求項1に記載の撮像装置。   The setting unit includes a first mode in which a control parameter for the moving speed of the focus lens is a first parameter, an allowable range of deviation with respect to a target position of the focus lens is a first range, and the control parameter is the first parameter. The imaging apparatus according to claim 1, wherein the second parameter is different from the first parameter, and the allowable range is set to any one of a second mode different from the first range. 前記第1モードは、前記フォーカスレンズの目標位置に対して第1誤差範囲まで許容する高精度モードであり、前記第2モードは、前記第1誤差よりも大きな第2誤差範囲まで許容する低精度モードであり、
前記制御部は、前記制御パラメータについて、前記第1モードが選択された場合には第1速度まで許容し、前記第2モードが選択された場合には第1速度よりも大きい第2速度まで許容する請求項2に記載の撮像装置。
The first mode is a high-accuracy mode that allows a first error range with respect to the target position of the focus lens, and the second mode is a low-accuracy that allows a second error range that is larger than the first error. Mode
When the first mode is selected, the control unit allows up to a first speed when the first mode is selected, and allows a second speed greater than the first speed when the second mode is selected. The imaging device according to claim 2.
前記制御部は、前記第1モードが選択された場合には、前記フォーカスレンズが前記目標位置に対して前記第1誤差範囲内に収束したら、前記フォーカスレンズの移動を停止してユーザの撮像指示を受け付け、前記第2モードが選択された場合には、前記フォーカスレンズが前記目標位置に対して前記第2誤差範囲内に収束したら、前記フォーカスレンズの移動を継続しつつ前記ユーザの撮像指示を受け付ける請求項3に記載の撮像装置。   When the first mode is selected, when the focus lens converges within the first error range with respect to the target position, the control unit stops moving the focus lens and instructs the user to take an image. And when the second mode is selected, when the focus lens converges within the second error range with respect to the target position, the user is instructed to take an image while continuing to move the focus lens. The imaging device according to claim 3 to receive. 前記制御部は、前記第2モードが選択された場合には、前記フォーカスレンズが前記目標位置に対して前記第2誤差範囲より小さな第3誤差範囲内に収束したら前記フォーカスレンズの移動を停止する請求項4に記載の撮像装置。   When the second mode is selected, the control unit stops the movement of the focus lens when the focus lens converges within a third error range smaller than the second error range with respect to the target position. The imaging device according to claim 4. 前記制御部は、前記第2モードが選択された場合には、前記フォーカスレンズが前記目標位置に対して前記第2誤差範囲内に収束したら、前記第2速度より小さい第3速度により前記フォーカスレンズの移動を継続する請求項4または5に記載の撮像装置。   When the second mode is selected, the control unit is configured such that when the focus lens converges within the second error range with respect to the target position, the focus lens is moved at a third speed smaller than the second speed. The imaging apparatus according to claim 4, wherein the movement of the camera continues. 前記設定部は、前記フォーカスレンズの移動速度の制御パラメータを第1パラメータとし、前記フォーカスレンズの目標位置に対する合焦確率を第1確率とする第1モードと、前記制御パラメータを前記第1パラメータとは異なる第2パラメータとし、前記合焦確率を第1確率とは異なる第2確率とする第2モードとのいずれかに設定する請求項1に記載の撮像装置。   The setting unit includes a first mode in which a control parameter for the moving speed of the focus lens is a first parameter, a focus probability with respect to a target position of the focus lens is a first probability, and the control parameter is the first parameter. The imaging apparatus according to claim 1, wherein the second parameter is different and the focus probability is set to any one of a second mode different from the first probability. 前記設定部は、ユーザによる入力指示に応じて、前記第1モードと前記第2モードとのいずれかに設定する請求項2から6のいずれか1項に記載の撮像装置。   The imaging device according to claim 2, wherein the setting unit sets the first mode or the second mode in accordance with an input instruction from a user. 前記設定部は、切り替え判定時間に基づいて、前記第1モードと前記第2モードとのいずれかに自動的に設定する請求項2から6のいずれか1項に記載の撮像装置。   The imaging device according to any one of claims 2 to 6, wherein the setting unit automatically sets one of the first mode and the second mode based on a switching determination time. 前記切り替え判定時間は、デフォーカス量に応じて設定される請求項9に記載の撮像装置。   The imaging apparatus according to claim 9, wherein the switching determination time is set according to a defocus amount. 前記切り替え判定時間は、被写体速度に応じて設定される請求項9に記載の撮像装置。   The imaging apparatus according to claim 9, wherein the switching determination time is set according to a subject speed. 前記切り替え判定時間は、連写速度に応じて設定される請求項9に記載の撮像装置。   The imaging apparatus according to claim 9, wherein the switching determination time is set according to a continuous shooting speed. 前記制御部は、前記制御パラメータとして前記フォーカスレンズの加速度を制御することによって、前記フォーカスレンズの速度制御を変更する請求項1から12のいずれか1項に記載の撮像装置。   The imaging device according to claim 1, wherein the control unit changes speed control of the focus lens by controlling acceleration of the focus lens as the control parameter. フォーカスの精度に関する制御パラメータを設定する設定ステップと、
前記設定に基づいてフォーカスレンズの移動速度を制御する制御ステップと
をコンピュータに実行させる制御プログラム。
A setting step for setting a control parameter relating to focus accuracy;
A control program for causing a computer to execute a control step of controlling a moving speed of the focus lens based on the setting.
JP2013178451A 2013-08-29 2013-08-29 Imaging device and control program Pending JP2015049251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013178451A JP2015049251A (en) 2013-08-29 2013-08-29 Imaging device and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013178451A JP2015049251A (en) 2013-08-29 2013-08-29 Imaging device and control program

Publications (1)

Publication Number Publication Date
JP2015049251A true JP2015049251A (en) 2015-03-16

Family

ID=52699358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013178451A Pending JP2015049251A (en) 2013-08-29 2013-08-29 Imaging device and control program

Country Status (1)

Country Link
JP (1) JP2015049251A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10175451B2 (en) 2016-08-24 2019-01-08 Olympus Corporation Imaging apparatus and focus adjustment method
JP7353868B2 (en) 2019-08-23 2023-10-02 キヤノン株式会社 Lens control device and its control method
JP7406889B2 (en) 2019-08-23 2023-12-28 キヤノン株式会社 Lens control device and its control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10175451B2 (en) 2016-08-24 2019-01-08 Olympus Corporation Imaging apparatus and focus adjustment method
JP7353868B2 (en) 2019-08-23 2023-10-02 キヤノン株式会社 Lens control device and its control method
JP7406889B2 (en) 2019-08-23 2023-12-28 キヤノン株式会社 Lens control device and its control method

Similar Documents

Publication Publication Date Title
EP1684503B1 (en) Camera and autofocus control method therefor
US9344621B2 (en) Imaging device and control method for imaging device
JP2004109690A (en) Camera system and camera
JP2006235616A (en) Camera, control method therefor, program and storage medium
JP2013205788A (en) Focal point adjustment device and camera system
JP2017211487A (en) Imaging apparatus and automatic focus adjustment method
JP2010107866A (en) Digital camera and optical apparatus
JP2006243372A (en) Camera
US9069123B2 (en) Lens device, drive method, recording medium, and image-capturing device
JP2017040879A (en) Imaging apparatus, control method, program, and storage medium
JP2004112529A (en) Camera and camera system
JP2003302571A (en) Method and device for automatic focus adjustment and imaging unit
JP2015049251A (en) Imaging device and control program
JP2016139023A (en) Imaging apparatus, and control method and program therefor
US8355626B2 (en) Lens-interchangeable camera performing focus control, lens barrel, and program
JP2013024900A (en) Lens control device of optical apparatus
US8086096B2 (en) Shake correction device and imaging apparatus
JP2010145495A (en) Camera system
US9756259B2 (en) Shooting apparatus including a diaphragm
JP4847352B2 (en) Imaging apparatus and control method thereof
JP2003241066A (en) Camera
CN111758069B (en) Aperture control device and method, interchangeable lens, camera body, and recording medium
WO2004021064A1 (en) Camera
JP2010136097A (en) Camera apparatus and camera system
JP2000032323A (en) Electronic camera