JP2013205787A - Focusing device - Google Patents

Focusing device Download PDF

Info

Publication number
JP2013205787A
JP2013205787A JP2012077772A JP2012077772A JP2013205787A JP 2013205787 A JP2013205787 A JP 2013205787A JP 2012077772 A JP2012077772 A JP 2012077772A JP 2012077772 A JP2012077772 A JP 2012077772A JP 2013205787 A JP2013205787 A JP 2013205787A
Authority
JP
Japan
Prior art keywords
focus
lens
peak
focus lens
position information
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.)
Granted
Application number
JP2012077772A
Other languages
Japanese (ja)
Other versions
JP6063633B2 (en
Inventor
Tetsuhisa Kikuchi
哲央 菊地
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.)
Olympus Imaging Corp
Original Assignee
Olympus Imaging 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 Olympus Imaging Corp filed Critical Olympus Imaging Corp
Priority to JP2012077772A priority Critical patent/JP6063633B2/en
Publication of JP2013205787A publication Critical patent/JP2013205787A/en
Application granted granted Critical
Publication of JP6063633B2 publication Critical patent/JP6063633B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide a focusing device able to estimate an appropriate focusing position according to a status of a subject.SOLUTION: A scanning operation is repeated (S17), positional information of a focus lens that has the peak of image contrast is detected and stored (S41). In accordance with the detection result of the scanning operation performed at last, a determination is made whether to estimate a focusing position at a specific time (S51 and S53). If the final focusing position can be used for the estimation of a focusing position (Yes in S53), a focusing position at a specific time is estimated based on the stored past positional information (S63). If the final focusing position cannot be used (No in S53), a focusing position in the final scan is estimated (S55). Then, based on the plurality of pieces of stored past positional information and the estimated focusing position, the focusing position at the specific time is estimated.

Description

本発明は、焦点調節装置に関し、詳しくは、撮像素子から得た撮像データに基づいて画像のコントラスがピークとなる位置にフォーカスレンズを移動させることによりピント合わせを行う焦点調節装置に関する。   The present invention relates to a focus adjustment apparatus, and more particularly to a focus adjustment apparatus that performs focusing by moving a focus lens to a position where the contrast of an image reaches a peak based on imaging data obtained from an imaging element.

動きのある被写体の場合には、ピントがあっても、シャッタレリーズ釦が操作されてからシャッタのタイムラグの間に被写体が動き、ピントの合わない写真となってしまう場合がある。そこで、シャッタレリーズ釦が操作されるまでの間に行った複数回の測距結果に基づいて、本露光時におけるピント位置を予測するようにした焦点調節装置が知られている。このため位相差法による焦点調節の場合には、検知された複数のデフォーカス量の履歴に基づいてピント位置を予測し、またコントラスト法による焦点調節の場合には、検知された複数の合焦位置の履歴に基づいてピント位置を予測する(特許文献1参照)。   In the case of a moving subject, even if the subject is in focus, the subject may move during the shutter time lag after the shutter release button is operated, resulting in an out-of-focus photograph. In view of this, there is known a focus adjustment device that predicts a focus position during main exposure based on a plurality of distance measurement results performed until the shutter release button is operated. For this reason, in the case of focus adjustment by the phase difference method, the focus position is predicted based on a history of a plurality of detected defocus amounts, and in the case of focus adjustment by the contrast method, a plurality of detected in-focus states are predicted. The focus position is predicted based on the position history (see Patent Document 1).

特開2010−107711号公報JP 2010-107711 A

上述したような焦点調節装置は、本露光時の合焦位置を予測するので、ピンボケの写真となるおそれを低減することができる。しかし、コントラスト法による焦点調節の場合には、位相差法の場合と異なり、実際にフォーカスレンズを移動させながら、コントラスト値のピークを検出するので、合焦位置を決定するために時間がかかってしまう。このため、被写体の動きが速い場合には合焦位置の予測精度が低下してしまい、かえってピンボケの写真が増えてしまうおそれがある。また、被写体によっては、過去の合焦履歴に基づいて、本露光時に合焦位置の予測を行うべきではない場合もある。   Since the focus adjusting apparatus as described above predicts the in-focus position at the time of the main exposure, it is possible to reduce the possibility of being out of focus. However, in the case of focus adjustment by the contrast method, unlike the case of the phase difference method, since the peak of the contrast value is detected while actually moving the focus lens, it takes time to determine the focus position. End up. For this reason, when the movement of the subject is fast, the prediction accuracy of the in-focus position is lowered, and there is a possibility that the number of out-of-focus pictures will be increased. In addition, depending on the subject, the focus position may not be predicted during the main exposure based on the past focus history.

本発明は、このような事情を鑑みてなされたものであり、被写体の状態に応じて適切な合焦位置の予測を行うことが可能な焦点調節装置を提供することを目的とする。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a focus adjustment device capable of predicting an appropriate in-focus position according to the state of a subject.

上記目的を達成するため第1の発明に係る焦点調節装置は、レンズ駆動部によって光軸方向に移動可能なフォーカスレンズを含み被写体からの光を結像させ撮影光学系の焦点調節を行う焦点調節装置において、上記撮影光学系により結像される上記被写体の撮像データを得る撮像素子と、上記フォーカスレンズを移動させて上記撮像素子による撮像動作を実行し、上記撮像素子の出力する複数の撮像データに基づいて画像のコントラストのピークとなる上記フォーカスレンズの位置を検出するスキャン動作を行う制御部と、を具備し、上記制御部は、上記スキャン動作を本露光の直前まで繰り返し実行して上記画像のコントラストがピークとなる上記フォーカスレンズの位置情報を検出して記憶し、記憶した複数の過去の位置情報に基づいて所定時刻の合焦位置を予測する予測制御部と、上記本露光の直前に実行したスキャン動作の検出結果に応じて、上記記憶した複数の過去の位置情報に基づいて所定の時刻の合焦位置を予測するか否かを判定する判定部と、を有する。   In order to achieve the above object, a focus adjustment apparatus according to a first aspect of the present invention includes a focus lens that can be moved in the optical axis direction by a lens driving unit and forms an image of light from a subject to perform focus adjustment of a photographing optical system. In the apparatus, an imaging element that obtains imaging data of the subject imaged by the imaging optical system, and a plurality of imaging data output by the imaging element by performing an imaging operation by the imaging element by moving the focus lens And a control unit that performs a scanning operation for detecting the position of the focus lens at which the contrast peak of the image is based on the image, and the control unit repeatedly executes the scanning operation until immediately before the main exposure. The position information of the focus lens at which the contrast of the peak reaches is detected and stored, and based on the stored plurality of past position information A prediction control unit that predicts a focus position at a fixed time, and a focus position at a predetermined time based on the plurality of stored past position information according to the detection result of the scan operation performed immediately before the main exposure. A determination unit that determines whether or not to predict.

第2の発明に係る焦点調節装置は、上記第1の発明において、上記判定部は、上記記憶した複数の過去の位置情報のうちの最新の位置情報と、上記本露光の直前にスキャン動作を終了した時点での上記フォーカスレンズの位置との差が第1の所定値よりも大きい場合に、上記過去の位置情報に基づいて所定時刻の合焦位置を予測しないと判定する。   According to a second aspect of the present invention, in the first aspect of the invention, the determination unit performs a scan operation immediately before the main exposure and the latest position information of the plurality of stored past position information. When the difference from the position of the focus lens at the time of completion is larger than the first predetermined value, it is determined that the in-focus position at the predetermined time is not predicted based on the past position information.

第3の発明に係る焦点調節装置は、上記第1の発明において、上記スキャン動作を実行して上記画像のコントラストがピークとなるフォーカスレンズ位置を検出する時刻を検出し記憶する時刻記憶部を有し、上記判定部は、上記時刻記憶部に記憶した複数の過去の位置情報のうちの最新の位置情報を検出した時刻と、上記本露光の直前にスキャン動作を終了した時点での時刻との差が第2の所定値よりも大きい場合に、上記過去の位置情報に基づいて所定時刻の合焦位置を予測しないと判定する。   According to a third aspect of the present invention, there is provided a focus adjustment apparatus according to the first aspect, further comprising a time storage unit that detects and stores a time at which the focus lens position at which the contrast of the image reaches a peak is detected by executing the scan operation. The determination unit is configured to detect a time at which the latest position information among a plurality of past position information stored in the time storage unit is detected, and a time at which the scanning operation is terminated immediately before the main exposure. When the difference is larger than the second predetermined value, it is determined that the focus position at the predetermined time is not predicted based on the past position information.

第4の発明に係る焦点調節装置は、上記第1の発明において、上記制御部は、上記撮像素子による本露光動作を制御し、上記判定部が、上記本露光の直前に実行したスキャン動作の検出結果に応じて、上記記憶した複数の過去の位置情報に基づいて所定時刻の合焦位置を予測する場合に、上記予測制御部は、上記記憶した複数の過去の位置情報に基づいて上記撮像素子による本露光時刻の合焦位置を予測して上記フォーカスレンズを移動させる。   According to a fourth aspect of the present invention, in the first aspect, the control unit controls the main exposure operation by the image sensor, and the determination unit performs a scan operation performed immediately before the main exposure. When predicting an in-focus position at a predetermined time based on the stored plurality of past position information according to the detection result, the prediction control unit performs the imaging based on the stored plurality of past position information. The focus lens is moved by predicting the focus position at the main exposure time by the element.

第5の発明に係る焦点調節装置は、上記第1の発明において、上記判定部が、上記本露光の直前に実行したスキャン動作の検出結果に応じて、上記記憶した複数の過去の位置情報に基づいて所定時刻の合焦位置を予測しないと判定する場合に、上記制御部は、本露光時のフォーカスレンズの位置を上記本露光の直前に実行したスキャン動作の終了時のフォーカスレンズの位置とする。   According to a fifth aspect of the present invention, in the first aspect of the present invention, the determination unit uses the stored plurality of past position information according to the detection result of the scanning operation performed immediately before the main exposure. When determining that the in-focus position at a predetermined time is not predicted based on the above, the control unit sets the position of the focus lens at the time of main exposure to the position of the focus lens at the end of the scan operation executed immediately before the main exposure. To do.

第6の発明に係る焦点調節装置は、上記第1の発明において、レンズ駆動部によって光軸方向に移動可能なフォーカスレンズを含み被写体からの光を結像させる撮影光学系の焦点調節を行う焦点調節装置において、上記撮影光学系により結像される上記被写体の撮像データを得る撮像素子と、上記フォーカスレンズを移動させて上記撮像素子による撮像動作を実行し、上記撮像素子の出力する複数の撮像データに基づいて画像のコントラストのピークとなる上記フォーカスレンズの位置を検出するスキャン動作を行う制御部と、を具備し、上記制御部は、上記スキャン動作を本露光の直前まで繰り返し実行して上記画像のコントラストがピークとなる上記フォーカスレンズの位置情報を検出して記憶し、記憶した複数の過去の位置情報に基づいて所定時刻の合焦位置を予測する予測制御部と、上記本露光の直前に実行したスキャン動作により上記画像のコントラストがピークとなる上記フォーカスレンズの位置を検出できない場合であっても、ピークとなるフォーカスレンズの位置を推定するピーク推定部と、を有し、上記予測制御部は、上記ピーク推定部が推定するピークとなるフォーカスレンズ位置、または上記記憶した過去の位置情報、または上記ピーク推定部が推定するピークとなるフォーカスレンズ位置と上記記憶した過去の位置情報の両方に基づいて所定時刻合焦位置を算出する。   According to a sixth aspect of the present invention, there is provided a focus adjustment apparatus according to the first aspect, wherein the focus is adjusted by a photographing optical system that includes a focus lens that can be moved in the optical axis direction by the lens driving unit and forms an image of light from a subject. In the adjustment device, an imaging device that obtains imaging data of the subject imaged by the imaging optical system, and an imaging operation by the imaging device is performed by moving the focus lens, and a plurality of imagings output by the imaging device And a control unit that performs a scanning operation for detecting the position of the focus lens where the contrast peak of the image is based on the data, and the control unit repeatedly executes the scanning operation until immediately before the main exposure, and The position information of the focus lens where the contrast of the image reaches a peak is detected and stored, and based on a plurality of stored past position information. Even if the position of the focus lens at which the contrast of the image reaches a peak cannot be detected by the prediction control unit that predicts the in-focus position at a predetermined time and the scan operation performed immediately before the main exposure, A peak estimation unit that estimates the position of the focus lens, and the prediction control unit is a focus lens position that is a peak estimated by the peak estimation unit, the stored past position information, or the peak estimation The focus position at a predetermined time is calculated based on both the focus lens position that is the peak estimated by the unit and the stored past position information.

本発明によれば、被写体の状態に応じて適切な合焦位置の予測を行うことが可能な焦点調節装置を提供することができる。   According to the present invention, it is possible to provide a focus adjustment device capable of predicting an appropriate in-focus position according to the state of a subject.

本発明の一実施形態に係るカメラの主として電気的構成を示すブロック図である。1 is a block diagram mainly showing an electrical configuration of a camera according to an embodiment of the present invention. 本発明の一実施形態に係るカメラの基本動作(単写AF)を示すフローチャートである。6 is a flowchart showing a basic operation (single-shooting AF) of a camera according to an embodiment of the present invention. 本発明の一実施形態に係るカメラの基本動作(連写AF)を示すフローチャートである。6 is a flowchart illustrating a basic operation (continuous shooting AF) of a camera according to an embodiment of the present invention. 本発明の一実施形態に係るカメラのスキャン制御の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the scan control of the camera which concerns on one Embodiment of this invention. 本発明の一実施形態に係るカメラの合焦位置算出の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the focusing position calculation of the camera which concerns on one Embodiment of this invention. 本発明の一実施形態に係るカメラの最終合焦位置使用可能判断の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the final focusing position availability determination of the camera which concerns on one Embodiment of this invention. 本発明の一実施形態に係るカメラの最終スキャンでの合焦位置推測の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of focus position estimation in the last scan of the camera which concerns on one Embodiment of this invention. 本発明の一実施形態に係るカメラにおいて、予測実施可能な場合のレンズ位置の制御の一例を示すグラフである。It is a graph which shows an example of control of the lens position when prediction is possible in the camera concerning one embodiment of the present invention. 本発明の一実施形態に係るカメラにおいて、予測実施不可能な場合のレンズ位置の制御の一例を示すグラフである。6 is a graph illustrating an example of lens position control when prediction is impossible in the camera according to the embodiment of the present invention. 本発明の一実施形態に係るカメラにおいて、最終スキャンでの合焦位置実施の制御の一例を示すグラフである。6 is a graph illustrating an example of control of in-focus position implementation in a final scan in a camera according to an embodiment of the present invention.

以下、図面に従って本発明を適用したカメラを用いて好ましい実施形態について説明する。本発明の好ましい一実施形態に係るカメラは、デジタルカメラであり、レンズ駆動部によって光軸方向に移動可能なフォーカスレンズを含み被写体からの光を結像させ撮影光学系の焦点調節を行う。   A preferred embodiment will be described below using a camera to which the present invention is applied according to the drawings. The camera according to a preferred embodiment of the present invention is a digital camera, and includes a focus lens that can be moved in the optical axis direction by a lens driving unit to form an image of light from a subject and perform focus adjustment of the photographing optical system.

すなわち、本実施形態に係るカメラは、撮像部を有し、この撮像部によって被写体像を画像データに変換し、この変換された画像データに基づいて、被写体像を本体の背面に配置した表示部にライブビュー表示する。撮影者はライブビュー表示を観察することにより、構図やシャッタチャンスを決定する。   That is, the camera according to the present embodiment includes an imaging unit, and the imaging unit converts the subject image into image data, and the display unit arranges the subject image on the back of the main body based on the converted image data. Live view display. The photographer determines the composition and the photo opportunity by observing the live view display.

また、コンティニュアスAFが設定されると、撮像部からの画像データに基づいてコントラスト値を取得し、このコントラスト値がピークとなり、合焦位置に達した時の時刻とフォーカスレンズの合焦位置の履歴を記憶する。レリーズ操作時やこれに続く連写時には、合焦履歴に基づいて、タイムラグを考慮して本露光時の合焦位置を予測する。このとき予測された合焦位置が現在位置から大きくずれている場合や、また最新の合焦時の時刻と、現在の時刻の差が大きい場合には、予測合焦位置の信頼性が低いことから、現在のレンズ位置を合焦位置とする。本露光によって画像データを取得すると、これに画像処理を施し、記録媒体に記録する。記録媒体に記録された画像データは、再生モードを選択すると、表示部に再生表示することができる。   In addition, when continuous AF is set, a contrast value is acquired based on image data from the imaging unit, the time when the contrast value reaches the in-focus position, and the in-focus position of the focus lens. Remember the history. At the time of the release operation or subsequent continuous shooting, the focus position at the time of the main exposure is predicted based on the focus history in consideration of the time lag. If the predicted focus position is greatly deviated from the current position, or if the difference between the latest focus time and the current time is large, the reliability of the predicted focus position is low. Therefore, the current lens position is set as the in-focus position. When image data is acquired by the main exposure, the image data is subjected to image processing and recorded on a recording medium. The image data recorded on the recording medium can be reproduced and displayed on the display unit when the reproduction mode is selected.

図1は、本発明の一実施形態に係るカメラの主として電気的構成を示すブロック図である。本実施形態に係るカメラは、交換レンズ100とカメラ本体200から構成され、図示しないマウント部を介して両者は着脱自在である。なお、本実施形態においては、交換レンズ式としたが、レンズ鏡胴をカメラ本体に固定するようにしても勿論かまわない。   FIG. 1 is a block diagram mainly showing an electrical configuration of a camera according to an embodiment of the present invention. The camera according to the present embodiment includes an interchangeable lens 100 and a camera body 200, and both are detachable via a mount unit (not shown). In this embodiment, the interchangeable lens type is used. However, it is of course possible to fix the lens barrel to the camera body.

交換レンズ100内には、撮影レンズ101、モータ駆動部102、レンズ制御部103、記憶部104を有する。撮影レンズ101は、フォーカスレンズやズームレンズ等の光学レンズを含み、これらの光学レンズによって構成される撮影光学系によって被写体像を結像する。モータ駆動部102は、モータ等の駆動源を有し、フォーカスレンズを撮影光学系の光軸方向に沿って移動させる。   The interchangeable lens 100 includes a photographing lens 101, a motor driving unit 102, a lens control unit 103, and a storage unit 104. The photographing lens 101 includes optical lenses such as a focus lens and a zoom lens, and forms a subject image by a photographing optical system constituted by these optical lenses. The motor drive unit 102 has a drive source such as a motor, and moves the focus lens along the optical axis direction of the photographing optical system.

レンズ制御部103は、レンズCPUやその周辺回路から構成される。レンズCPUは、記憶部104に記憶されているプログラム、およびカメラ本体200側の本体制御部204内の本体CPUからの制御命令に従って、交換レンズ100の制御を行う。制御としては、例えば、本体制御部204からの命令に従いモータ駆動部102を介して撮影レンズ101のスキャン動作や、合焦位置への駆動等を行う。また、フォーカスレンズやズームレンズの現在位置等、スキャン動作中等のレンズ状態等を検知し、レンズデータとしてカメラ本体200側に送信する。記憶部104は、前述のプログラムの他に、交換レンズ100の光学情報等の固有情報や、工場出荷段階での調整値等も記憶している。   The lens control unit 103 includes a lens CPU and its peripheral circuits. The lens CPU controls the interchangeable lens 100 in accordance with a program stored in the storage unit 104 and a control command from the main body CPU in the main body control unit 204 on the camera main body 200 side. As the control, for example, the scanning operation of the photographing lens 101, the driving to the in-focus position, and the like are performed via the motor driving unit 102 in accordance with a command from the main body control unit 204. Further, the current state of the focus lens and zoom lens, the lens state during the scanning operation, and the like are detected and transmitted to the camera body 200 side as lens data. In addition to the above-described program, the storage unit 104 also stores unique information such as optical information of the interchangeable lens 100, adjustment values at the time of factory shipment, and the like.

カメラ本体200内には、撮像素子201、液晶表示部202、記憶部203、本体制御部204、操作部205を有する。撮像素子201は、撮影レンズ101の光軸上であって、被写体像の結像位置付近に配置され、二次元配列された複数の画素によって被写体像を光電変換し画像データ(撮像データともいう)を本体制御部204に出力する。   The camera body 200 includes an image sensor 201, a liquid crystal display unit 202, a storage unit 203, a body control unit 204, and an operation unit 205. The imaging element 201 is disposed on the optical axis of the photographing lens 101 and in the vicinity of the imaging position of the subject image, and the subject image is photoelectrically converted by a plurality of pixels arranged two-dimensionally to obtain image data (also referred to as imaging data). Is output to the main body control unit 204.

本体制御部204は、本体CPUやその周辺回路から構成される。本体CPUは、記憶部203に記憶されているプログラムに従って、カメラ全体の制御を行う。本体制御部204内の周辺回路として、画像処理回路、コントラストAF回路、伸張圧縮回路、通信回路等、種々の回路が設けられている。コントラストAF回路は、撮像素子201からの画像データを入力し、隣接画素間の差分信号を得ることにより、被写体像のコントラスト値を取得する。   The main body control unit 204 includes a main body CPU and its peripheral circuits. The main body CPU controls the entire camera according to the program stored in the storage unit 203. Various circuits such as an image processing circuit, a contrast AF circuit, an expansion / compression circuit, and a communication circuit are provided as peripheral circuits in the main body control unit 204. The contrast AF circuit receives the image data from the image sensor 201 and obtains the contrast value of the subject image by obtaining a difference signal between adjacent pixels.

また、本体制御部204は、前述のレンズ制御部103に対して、通信回路を介して、スキャン動作命令、合焦位置移動命令、レンズデータ要求命令等の制御命令をレンズ制御部103に出力する。また、本体制御部204は、光学情報、交換レンズ100の状態等のレンズデータをレンズ制御部103から入力する。   Further, the main body control unit 204 outputs a control command such as a scan operation command, a focus position movement command, and a lens data request command to the lens control unit 103 via the communication circuit to the lens control unit 103 described above. . The main body control unit 204 also receives optical data, lens data such as the state of the interchangeable lens 100 from the lens control unit 103.

また、本体制御部204は、撮影レンズ101内のフォーカスレンズを移動させて撮像素子201による撮像動作を実行し、撮像素子201の出力する複数の撮像データに基づいて画像のコントラストのピークとなるフォーカスレンズの位置を検出するスキャン動作を行う制御部として機能する。この制御部は、スキャン動作を繰り返し実行して画像のコントラストがピークとなるフォーカスレンズの位置情報を検出して記憶し、記憶した複数の過去の位置情報に基づいて所定時刻の合焦位置を予測する予測制御部(後述する図5のS63参照)と、最後に実行したスキャン動作の検出結果に応じて、記憶した複数の過去の位置情報に基づいて所定の時刻の合焦位置を予測するか否かを判定する判定部(後述する図5のS57参照)としての機能も有する。   In addition, the main body control unit 204 moves the focus lens in the photographing lens 101 to execute an imaging operation by the imaging element 201, and a focus at which an image contrast peak occurs based on a plurality of imaging data output by the imaging element 201. It functions as a control unit that performs a scanning operation for detecting the position of the lens. The control unit repeatedly executes a scanning operation to detect and store position information of the focus lens at which the contrast of the image reaches a peak, and predicts a focus position at a predetermined time based on a plurality of stored past position information. Whether to predict the in-focus position at a predetermined time based on a plurality of stored past position information in accordance with the prediction control section (see S63 in FIG. 5 described later) and the detection result of the scan operation executed last. It also has a function as a determination unit (see S57 of FIG. 5 described later) for determining whether or not.

また、本体制御部204は、上述の判定部として、記憶した複数の過去の位置情報のうちの最新の位置情報と、最後に実行したスキャン動作により検出したフォーカスレンズの位置との差が第1の所定値よりも大きい場合に、過去の位置情報に基づいて所定時刻の合焦位置を予測しないと判定する(後述する図6のS71参照)。   In addition, the main body control unit 204, as the determination unit described above, has a difference between the latest position information of the plurality of stored past position information and the position of the focus lens detected by the last scan operation performed. If it is larger than the predetermined value, it is determined that the in-focus position at the predetermined time is not predicted based on the past position information (see S71 in FIG. 6 described later).

また、本体制御部204は、上述の判定部として、複数の過去の位置情報のうちの最新の位置情報を検出した時刻と、最後に実行したスキャン動作によりフォーカスレンズ位置を検出した時刻との差が第2の所定値よりも大きい場合に、過去の位置情報に基づいて所定時刻の合焦位置を予測しないと判定する(後述する図6のS73参照)。   Further, the main body control unit 204, as the above-described determination unit, detects the difference between the time when the latest position information among a plurality of past position information is detected and the time when the focus lens position is detected by the lastly executed scanning operation. Is larger than the second predetermined value, it is determined that the in-focus position at the predetermined time is not predicted based on the past position information (see S73 in FIG. 6 described later).

また、本体制御部204は、撮像素子201による本撮影動作を制御する。上述の判定部として、最後に実行したスキャン動作の検出結果に応じて、記憶した複数の過去の位置情報に基づいて所定時刻の合焦位置を予測する場合に(後述する図5のS53参照)、上記予測制御部として、記憶した複数の過去の位置情報に基づいて上記撮像素子による本撮影時刻の合焦位置を予測し(後述する図5のS63参照)、フォーカスレンズを移動させる(後述する図3のS21)。   Further, the main body control unit 204 controls the main photographing operation by the image sensor 201. As a determination unit described above, when a focus position at a predetermined time is predicted based on a plurality of stored past position information in accordance with the detection result of the scan operation executed last (see S53 in FIG. 5 described later). The prediction control unit predicts the in-focus position at the main photographing time by the image sensor based on the stored plurality of past position information (see S63 in FIG. 5 described later), and moves the focus lens (described later). S21 in FIG.

また、本体制御部204は、上述の判定部として、最後に実行したスキャン動作の検出結果に応じて、記憶した複数の過去の位置情報に基づいて所定時刻の合焦位置を予測しないと判定する場合に(後述する図5のS53No)、上述の制御部として、本撮影時のフォーカスレンズの位置を最後に実行したスキャン動作の終了時のフォーカスレンズの位置とする(図5のS59参照)。   In addition, the main body control unit 204 determines, as the above-described determination unit, that the in-focus position at a predetermined time is not predicted based on a plurality of stored past position information in accordance with the detection result of the lastly executed scan operation. In this case (S53 No. in FIG. 5 to be described later), as the above-described control unit, the position of the focus lens at the time of actual photographing is set as the position of the focus lens at the end of the last scan operation (see S59 in FIG. 5).

また、本体制御部204は、最後に実行したスキャン動作により画像のコントラストがピークとなるフォーカスレンズの位置を検出できない場合であっても、ピークとなるフォーカスレンズの位置を推定するピーク推定部(後述する図5のS55、図7のS83参照)としての機能も果たす。また、上述の予測制御部として、ピーク推定部が推定するピークとなるフォーカスレンズ位置、または記憶した過去の位置情報、またはピーク推定部が推定するピークとなるフォーカスレンズ位置と記憶した過去の位置情報の両方に基づいて所定時刻合焦位置を算出する(図5のS57Yes→S61→S63参照)。   Further, the main body control unit 204 is configured to estimate a peak focus lens position (to be described later) even when the focus lens position where the image contrast reaches a peak cannot be detected by the last scan operation. (See S55 in FIG. 5 and S83 in FIG. 7). Further, as the above-described prediction control unit, the focus lens position that is the peak estimated by the peak estimation unit or the stored past position information, or the focus lens position that is the peak estimated by the peak estimation unit and the past position information stored Based on both of these, the focus position at a predetermined time is calculated (see S57 Yes → S61 → S63 in FIG. 5).

カメラ本体200内の記憶部203は、RAM等の書き換え可能な揮発性メモリ、フラッシュメモリ等の書き換え可能な不揮発性メモリ、装填自在な記憶媒体等の種々のメモリを有する。不揮発性メモリには、前述の本体CPU用のプログラムの他、調整用の種々のデータが記憶されている。また、記憶媒体には、本体制御部204によって画像処理された撮影画像の画像データが記録される。また、記憶部203は、スキャン動作を実行して画像のコントラストがピークとなるフォーカスレンズ位置を検出する時刻を検出し記憶する時刻記憶部としての機能を果たす。なお、なお時刻記憶部としての機能は、本体制御部204に一時記憶部を内蔵させ、この一時記憶部が果たすようにしても勿論かまわない。   The storage unit 203 in the camera body 200 includes various memories such as a rewritable volatile memory such as a RAM, a rewritable nonvolatile memory such as a flash memory, and a loadable storage medium. The nonvolatile memory stores various data for adjustment in addition to the program for the main body CPU. In addition, image data of a captured image that has been subjected to image processing by the main body control unit 204 is recorded in the storage medium. In addition, the storage unit 203 functions as a time storage unit that detects and stores the time at which the focus lens position at which the contrast of the image reaches a peak is detected by executing a scanning operation. It should be noted that the function as the time storage unit may of course be configured such that the main body control unit 204 incorporates a temporary storage unit and this temporary storage unit fulfills the function.

液晶表示部202は、カメラ本体200の背面等に配置された液晶モニタを有する。液晶表示部202には、撮像素子201からの画像データに基づいてライブビュー表示を行い、また記憶部203から読み出された撮影画像データに基づいて再生表示を行い、また種々の撮影モードを設定するためのメニュー画像等を表示する。なお、液晶モニタに限らず、有機EL等の他のモニタでもよく、また、カメラ本体200の背面以外に配置するようにしても勿論かまわない。   The liquid crystal display unit 202 includes a liquid crystal monitor disposed on the back surface of the camera body 200. The liquid crystal display unit 202 performs live view display based on the image data from the image sensor 201, performs playback display based on the captured image data read from the storage unit 203, and sets various shooting modes. A menu image or the like is displayed. Note that the monitor is not limited to the liquid crystal monitor, and other monitors such as an organic EL may be used.

操作部205は、レリーズ釦、電源釦、メニュー釦、OK釦、十字釦等の種々の操作部材を含み、これらの操作部材の操作状態は、本体制御部204に出力される。本体制御部204は、操作部205からの操作信号に応じて、カメラ制御を実行する。   The operation unit 205 includes various operation members such as a release button, a power button, a menu button, an OK button, a cross button, and the operation state of these operation members is output to the main body control unit 204. The main body control unit 204 executes camera control in response to an operation signal from the operation unit 205.

次に、本実施形態における動作について、図2ないし図7に示すフローチャートを用いて説明する。これらのフローチャートは、記憶部203に記憶されたプログラムに従って本体制御部204によって実行される。なお、本実施形態における焦点調節動作は、コンティニュアスAF(C−AFともいう)がメニュー画面において設定された際の動作を示す。   Next, the operation in this embodiment will be described with reference to the flowcharts shown in FIGS. These flowcharts are executed by the main body control unit 204 in accordance with a program stored in the storage unit 203. The focus adjustment operation in the present embodiment is an operation when continuous AF (also referred to as C-AF) is set on the menu screen.

本実施形態におけるコンティニュアスAFは、単写と連写に適用されている。単写は、操作部205の内のレリーズ釦が押下げられると、1回、本露光を行い、画像データを記憶部203に記録する。また連写は、レリーズ釦が押下げられている間、所定の時間間隔で、本露光を繰り返し行い、本露光において取得した画像データを順次記憶部203に記録する。単写および連写はメニュー画面等において設定される。   The continuous AF in the present embodiment is applied to single shooting and continuous shooting. In single shooting, when the release button in the operation unit 205 is pressed, the main exposure is performed once and the image data is recorded in the storage unit 203. In continuous shooting, the main exposure is repeated at predetermined time intervals while the release button is pressed, and the image data acquired in the main exposure is sequentially recorded in the storage unit 203. Single shooting and continuous shooting are set on a menu screen or the like.

単写モードが設定され、レリーズ釦の半押しがなされると、図2に示す単写AFのフローが開始する。単写フローに入ると、まず、スキャン制御を実行する(S1)。ここでは、交換レンズ100内のレンズ制御部103に対し、モータ駆動部102によってフォーカスレンズを至近側または無限遠側に駆動を開始させ、フォーカスレンズの移動中に撮像素子201からの画像データ(撮像データ)に基づいて、本体制御部204内のコントラストAF回路がコントラスト値を算出する。このコントラスト値がピークとなるときのフォーカスレンズの合焦位置を演算し、合焦位置と合焦時刻のセットからなる合焦履歴を記憶部203に記録する。このスキャン制御の詳しい動作については、図4を用いて後述する。   When the single shooting mode is set and the release button is half-pressed, the single shooting AF flow shown in FIG. 2 starts. When the single shooting flow is entered, first, scan control is executed (S1). Here, the lens control unit 103 in the interchangeable lens 100 is started to drive the focus lens to the near side or the infinity side by the motor driving unit 102, and image data (imaging image) from the image sensor 201 is moved during the movement of the focus lens. Based on the data, the contrast AF circuit in the main body control unit 204 calculates a contrast value. The focus position of the focus lens when the contrast value reaches a peak is calculated, and a focus history including a set of the focus position and the focus time is recorded in the storage unit 203. Detailed operation of this scan control will be described later with reference to FIG.

スキャン制御を行うと、2ndレリーズを検出したか否かを判定する(S3)。操作部205の内のレリーズ釦が半押しから全押しに移行すると2ndレリーズスイッチがオンとなるので、このステップでは、2ndレリーズスイッチの状態に基づいて判定する。この判定の結果、2ndレリーズが検出されない場合、すなわち、レリーズ釦の全押しがなされていない場合には、ステップS1に戻り、スキャン制御を続行する。   When the scan control is performed, it is determined whether a 2nd release is detected (S3). Since the 2nd release switch is turned on when the release button in the operation unit 205 shifts from half-press to full-press, this step is determined based on the state of the 2nd release switch. As a result of this determination, if the 2nd release is not detected, that is, if the release button is not fully pressed, the process returns to step S1 to continue the scan control.

ステップS3における判定の結果、2ndレリーズを検出した場合には、合焦駆動を実施する(S5)。ここでは、ステップS1におけるスキャン制御の中で記憶した合焦履歴を用いて、本露光までのタイムラグを考慮し、本露光中(露光開始から露光終了までの時間の1/2が経過した時点)の合焦位置を予測し、レンズ制御部103およびモータ駆動部102によって予測された合焦位置にフォーカスレンズを移動させる。なお、予測位置の信頼性が低い場合には、最終の合焦位置にフォーカスレンズを移動させる。   If the result of determination in step S3 is that 2nd release has been detected, focus drive is carried out (S5). Here, using the in-focus history stored in the scan control in step S1, the time lag until the main exposure is taken into consideration, and during the main exposure (when half of the time from the start of exposure to the end of exposure has elapsed) The in-focus position is predicted, and the focus lens is moved to the in-focus position predicted by the lens control unit 103 and the motor driving unit 102. When the reliability of the predicted position is low, the focus lens is moved to the final focus position.

ステップS5において合焦駆動を実施すると、次に、本露光を実施する(S7)。ここでは、適正露光となる絞り値やシャッタ速度値等で露光制御を行い、このとき撮像素子201によって得られた画像データに対して画像処理を行い、この画像処理が施された画像データを記憶部203に記録する。本露光が終わると、この単写AFのフローを終了する。   Once focus driving is performed in step S5, next exposure is performed (S7). Here, exposure control is performed with an aperture value, shutter speed value, and the like for appropriate exposure, image processing is performed on the image data obtained by the image sensor 201 at this time, and the image data subjected to this image processing is stored. Recorded in the unit 203. When the main exposure is finished, the flow of the single-shot AF is finished.

次に、連写AFについて、図3に示すフローチャートを用いて説明する。連写モードが設定されている際に、レリーズ釦の全押しがなされると、図3に示す連写AFのフローが開始する。連写フローに入ると、まず、本露光を実施する(S11)。ここでは、図2のステップS7と同様にして取得した画像データに画像処理を施し、この画像データを記憶部203に記録する。   Next, continuous shooting AF will be described using the flowchart shown in FIG. If the release button is fully pressed while the continuous shooting mode is set, the flow of continuous shooting AF shown in FIG. 3 starts. If the continuous shooting flow is entered, first, the main exposure is performed (S11). Here, image processing is performed on the image data obtained in the same manner as in step S 7 in FIG. 2, and this image data is recorded in the storage unit 203.

ステップS11において本露光を実施すると、次に、初期位置駆動を実施する(S13)。後述するステップS17においてスキャン制御を行うが、このスキャン制御を開始する際にフォーカスレンズ位置が最適となる位置に駆動する。すなわち、コントラストAFにおいては、コントラスト値のピークを検出するが、ステップS11における本露光の際にはコントラスト値のピークにフォーカスレンズが移動している。コントラストAFにおけるスキャンは、ピーク位置よりも少しずれた位置から始めることが望ましい。そこで、このステップでは、それまでのフォーカスレンズの駆動方向を考慮し、コントラスト値のピーク位置より少しずれた位置が初期位置となるように駆動する。   Once the main exposure is performed in step S11, next, initial position driving is performed (S13). In step S17, which will be described later, scan control is performed. When the scan control is started, the focus lens position is driven to an optimum position. That is, in contrast AF, the peak of the contrast value is detected, but the focus lens is moved to the peak of the contrast value during the main exposure in step S11. It is desirable to start scanning in contrast AF from a position slightly shifted from the peak position. Therefore, in this step, the driving is performed so that the position slightly shifted from the peak position of the contrast value becomes the initial position in consideration of the driving direction of the focus lens so far.

ステップS13において初期位置駆動を実施すると、次に、スキャン用の露出条件を決定する(S15)。ここでは、ステップS17において行うスキャン制御の際の露出条件を決定する。露出条件の決定にあたっては、前回の本露光を行った際の画像データ、またはライブビュー画像の画像データを取り込み、この画像データから輝度情報を算出し、スキャン中の露出条件(例えば、電子シャッタ速度等)を決定する。   Once the initial position driving is performed in step S13, next, exposure conditions for scanning are determined (S15). Here, the exposure conditions for the scan control performed in step S17 are determined. In determining the exposure condition, the image data obtained at the previous main exposure or the image data of the live view image is taken in, the luminance information is calculated from the image data, and the exposure condition (for example, electronic shutter speed) during scanning is calculated. Etc.).

ステップS15において、露出条件の決定を行うと、次に、スキャン制御を行う(S17)。ここでは、図2のステップS1と同様に、フォーカスレンズを移動させながら、コントラスト値の取得を行う。このスキャン制御の詳しい動作については、図4を用いて後述する。なお、連写AFでは、レリーズ釦が全押しされている間、本露光やスキャン制御が繰り返される。所定のフレーム数分、スキャン駆動を行う(すなわち上限を超えない範囲内のフレーム数で行う)。   Once the exposure condition is determined in step S15, next, scan control is performed (S17). Here, as in step S1 in FIG. 2, the contrast value is acquired while moving the focus lens. Detailed operation of this scan control will be described later with reference to FIG. In continuous shooting AF, main exposure and scan control are repeated while the release button is fully pressed. Scan driving is performed for a predetermined number of frames (that is, performed with the number of frames within a range not exceeding the upper limit).

ステップS17において、スキャン制御を行うと、次に、合焦位置の算出を行う(S19)。ここでは、図2のステップS5と同様に、ステップS17におけるスキャン制御の中で記憶した合焦履歴を用いて、ステップS11における本露光までの連写間隔を考慮して本露光中の合焦位置を予測する。   If scan control is performed in step S17, then the in-focus position is calculated (S19). Here, as in step S5 of FIG. 2, the focus position stored in the scan control in step S17 is used, and the focus position during the main exposure is considered in consideration of the continuous shooting interval until the main exposure in step S11. Predict.

ステップS19において合焦位置の算出を行うと、次に、合焦駆動を実施する(S21)。ここでは、レンズ制御部103およびモータ駆動部102によって、ステップS19において予測された合焦位置にフォーカスレンズを移動させる。なお、最終のスキャンの結果、予測位置の信頼性が低い場合には、最終の合焦位置にフォーカスレンズを移動させる(図5のS51、S57、S59参照)。   Once the in-focus position is calculated in step S19, in-focus driving is then performed (S21). Here, the lens control unit 103 and the motor driving unit 102 move the focus lens to the in-focus position predicted in step S19. When the reliability of the predicted position is low as a result of the final scan, the focus lens is moved to the final focus position (see S51, S57, and S59 in FIG. 5).

ステップS21において、合焦駆動を実施すると、次に、2R保持継続か否かを判定する(S23)。前述したように連写モードにおいては、レリーズ釦が全押し中は連写を継続している。このステップでは、レリーズ釦の全押しに連動する2ndレリーズ(2R)スイッチがオンのままか否かを判定する。   In step S21, when the in-focus driving is performed, it is next determined whether or not the 2R holding is continued (S23). As described above, in the continuous shooting mode, continuous shooting is continued while the release button is fully pressed. In this step, it is determined whether or not the 2nd release (2R) switch that is linked to the full depression of the release button remains on.

ステップS23における判定の結果、2Rが保持されている場合には、ステップS11に戻り、合焦位置を予測し、本露光を行って、連写を続行する。一方、2R保持が継続されていなかった場合、すなわち、ユーザの指がレリーズ釦から離れた場合には、連写AFのフローを終了する。   If 2R is held as a result of the determination in step S23, the process returns to step S11, the in-focus position is predicted, main exposure is performed, and continuous shooting is continued. On the other hand, if 2R holding has not been continued, that is, if the user's finger has moved away from the release button, the flow of continuous shooting AF ends.

次に、ステップS1(図2参照)およびステップS17(図3参照)におけるスキャン制御の詳しい動作について、図4に示すフローチャートを用いて説明する。スキャン制御のフローに入ると、まず、スキャン駆動を開始する(S31)。ここでは、本体制御部204は、レンズ制御部103に対し、モータ駆動部102によってフォーカスレンズの走査(スキャン)を開始するように指示する。また、スキャンを開始すると、本体制御部204内のコントラストAF回路は、撮像素子201からの画像信号に基づいてコントラスト値を算出する。   Next, detailed operation of the scan control in step S1 (see FIG. 2) and step S17 (see FIG. 3) will be described using the flowchart shown in FIG. In the scan control flow, first, scan driving is started (S31). Here, the main body control unit 204 instructs the lens control unit 103 to start scanning of the focus lens by the motor driving unit 102. When scanning is started, the contrast AF circuit in the main body control unit 204 calculates a contrast value based on the image signal from the image sensor 201.

スキャン駆動を開始すると、次に、方向判断の確定を待つ(S33)。スキャン駆動を開始すると、1フレーム分の画像データが出力されるたびに、前述したようにコントラスト値が算出されるので、このコントラスト値が1フレームごとに増加しているのか減少しているのかを判定する。コントラスト値が所定フレーム数、増加すると、もしくは減少すると、方向判断が確定する。   When the scan driving is started, next, the determination of the direction determination is awaited (S33). When scan driving is started, the contrast value is calculated as described above every time image data for one frame is output, so whether the contrast value increases or decreases for each frame. judge. When the contrast value increases or decreases by a predetermined number of frames, the direction determination is confirmed.

ステップS33において方向判断が確定すると、次に、方向判断の確定結果が順方向か逆方向かを判定する(S35)。コントラスト値が増加していた場合には、フォーカスレンズの移動している方向にピークがあることから順方向と判断される。一方、コントラスト値が減少していた場合には、フォーカスレンズの移動している方向と逆方向にピークがあることから逆方向と判断される。   If the direction determination is confirmed in step S33, it is next determined whether the result of the direction determination is a forward direction or a reverse direction (S35). If the contrast value has increased, the forward direction is determined because there is a peak in the direction in which the focus lens is moving. On the other hand, if the contrast value has decreased, the reverse direction is determined because there is a peak in the direction opposite to the direction in which the focus lens is moving.

ステップS35における判定の結果、逆方向と判定された場合には、次に、スキャン方向を逆転する(S37)。ここでは、本体制御部204は、レンズ制御部103に対し、モータ駆動部102によるフォーカスレンズのスキャン方向を逆転するように指示する。   If the result of determination in step S <b> 35 is that the reverse direction is determined, then the scan direction is reversed (S <b> 37). Here, the main body control unit 204 instructs the lens control unit 103 to reverse the focus lens scanning direction by the motor driving unit 102.

ステップS37においてスキャン方向を逆転すると、またはステップS35における判定の結果、順方向であった場合には、次に、ピーク検出を待つ(S39)。前述したように、スキャン駆動中にコントラストAF回路は、1フレーム分の画像データが出力されるたびにコントラスト値を算出する。このステップでは、コントラスト値がピークを越えたときに生ずるコントラスト値の増加から減少への変化を待つ。   If the scan direction is reversed in step S37 or if the result of determination in step S35 is the forward direction, next peak detection is waited (S39). As described above, the contrast AF circuit calculates a contrast value every time image data for one frame is output during scan driving. This step waits for a change from an increase to a decrease in contrast value that occurs when the contrast value exceeds the peak.

ステップS39において、コントラスト値のピークを検出すると、次に、合焦位置を算出し、合焦履歴を保存する(S41)。ここでは、ピーク付近の3点のAF評価値(コントラスト値)と、そのときのフォーカスレンズの位置から、二次曲線の近似式を用いて、AF評価値のピークの合焦位置(フォーカスレンズ位置)を算出する。この合焦位置と合焦時刻を、セットで合焦履歴として記憶部203に保存する。この記憶部203は、スキャン動作を実行して画像のコントラストがピークとなるフォーカスレンズ位置を検出する時刻を検出し記憶する時刻記憶部として機能する。   If the peak of the contrast value is detected in step S39, then the in-focus position is calculated and the in-focus history is stored (S41). Here, the focus evaluation position (focus lens position) of the peak of the AF evaluation value is calculated from the AF evaluation values (contrast value) at three points near the peak and the focus lens position at that time, using an approximate expression of a quadratic curve. ) Is calculated. The in-focus position and the in-focus time are stored in the storage unit 203 as an in-focus history as a set. The storage unit 203 functions as a time storage unit that detects and stores the time at which the focus lens position at which the contrast of the image reaches a peak is detected by executing a scanning operation.

ステップS41において、合焦位置を算出し、合焦履歴を保存すると、次に、2ndレリーズを検出したか否かを判定する(S43)。ここでは、ステップS3(図2参照)と同様に、2ndレリーズスイッチの状態に基づいて判定する。   In step S41, when the in-focus position is calculated and the in-focus history is stored, it is next determined whether or not a 2nd release has been detected (S43). Here, as in step S3 (see FIG. 2), the determination is made based on the state of the 2nd release switch.

ステップS43における判定の結果、2ndレリーズを検出しなかった場合には、合焦方向を判定する(S45)。ステップS39において、コントラスト値のピークを越えたことから、再度、ピークを検出するために、フォーカスレンズの駆動方向を逆転させる。このため、本体制御部204は、レンズ制御部103に対し、モータ駆動部102によるフォーカスレンズのスキャン方向を逆転するように指示する。   If the result of determination in step S43 is that 2nd release has not been detected, the in-focus direction is determined (S45). In step S39, since the contrast value peak is exceeded, the driving direction of the focus lens is reversed in order to detect the peak again. Therefore, the main body control unit 204 instructs the lens control unit 103 to reverse the focus lens scanning direction by the motor driving unit 102.

ステップS45において駆動方向を逆転すると、ステップS33に戻り、ステップS33〜S41においてコントラスト値のピークを求め、合焦位置の算出を行う。一方、ステップS43における判定の結果、2ndレリーズを検出した場合には、スキャン制御のフローを終了し、元のフローに戻る。なお、図4に示すフローにおいては、ステップS43において、2ndレリーズの検出を行っているが、ステップS33〜S41を実行中に、2ndレリーズを検出した場合には、スキャン制御を終了する。   When the drive direction is reversed in step S45, the process returns to step S33, the peak of the contrast value is obtained in steps S33 to S41, and the in-focus position is calculated. On the other hand, if the result of determination in step S43 is that a 2nd release has been detected, the scan control flow is terminated and the original flow is restored. In the flow shown in FIG. 4, the 2nd release is detected in step S43. However, when the 2nd release is detected during the execution of steps S33 to S41, the scan control is terminated.

次に、ステップS19(図3参照)における合焦位置算出の詳しい動作について、図5に示すフローチャートを用いて説明する。合焦位置算出のフローに入ると、まず、最終合焦位置使用可能判断を行う(S51)。前述したように、コントラストAFでは、撮像素子201から1フレーム分の画像データが出力される度にコントラスト値が算出される。例えば、60フレーム/秒の場合には、1/60秒毎にコントラスト値が算出される。このため、2ndレリーズスイッチがオンとなり、連写が開始されたタイミングによっては、合焦位置(図4のステップS41参照)が算出されてから相当、時間が経ってしまった場合や、また、合焦位置算出後、被写体が急激に移動した場合には、合焦位置の予測演算の信頼性が低い場合がある。そこで、このステップでは、最終合焦位置情報(合焦位置と合焦時刻、図4のステップS41の合焦履歴参照)と現在の情報(現在位置と現在時刻)を用いて最終合焦位置情報が信頼に足るものであるか否かを判定する。この最終合焦位置使用可能判断の詳しい動作については、図6を用いて後述する。   Next, a detailed operation for calculating the in-focus position in step S19 (see FIG. 3) will be described using the flowchart shown in FIG. In the in-focus position calculation flow, first, the final in-focus position availability determination is performed (S51). As described above, in contrast AF, a contrast value is calculated every time one frame of image data is output from the image sensor 201. For example, in the case of 60 frames / second, the contrast value is calculated every 1/60 seconds. For this reason, depending on the timing at which the 2nd release switch is turned on and continuous shooting is started, a considerable amount of time has elapsed since the in-focus position (see step S41 in FIG. 4) has been calculated. If the subject moves abruptly after the focal position is calculated, the reliability of the in-focus position prediction calculation may be low. Therefore, in this step, the final in-focus position information (the in-focus position and the in-focus time, see the in-focus history in step S41 in FIG. 4) and the current information (the current position and the current time) are used. Is determined to be reliable or not. Detailed operation of the final focus position availability determination will be described later with reference to FIG.

ステップS51において、最終合焦位置使用可能判断を行うと、次に、最終合焦位置が使用可能であるか否かを判定する(S53)。ここでは、ステップS51における判断結果に応じて判定する。   If it is determined in step S51 that the final focus position is usable, it is next determined whether or not the final focus position is usable (S53). Here, the determination is made according to the determination result in step S51.

ステップS51における判定の結果、最終合焦位置使用可能でなかった場合には、次に、最終スキャンでの合焦位置推定を行う(S55)。ステップS53における判定の結果がNoであったのは、最終スキャンの結果、得られた画像データに基づいて合焦位置を決定することができなかった場合である。そこで、このステップでは、最終スキャンの結果を用いて合焦位置の推定を行う。この最終スキャンでの合焦位置推定の詳しい動作については、図7および図10を用いて後述する。   If the result of determination in step S51 is that the final focus position cannot be used, next, focus position estimation in the final scan is performed (S55). The result of the determination in step S53 is No when the in-focus position cannot be determined based on the obtained image data as a result of the final scan. Therefore, in this step, the focus position is estimated using the result of the last scan. Detailed operation of in-focus position estimation in this final scan will be described later with reference to FIGS.

ステップS55において最終スキャンでの合焦位置推定を行うと、次に、合焦位置推定可能か否かを判定する(S57)。ステップS55における合焦位置の推定では、合焦位置推定可能か否かを判断する(図7のS89、S91参照)。ステップ57では、この判断結果に基づいて判定する。   If the focus position is estimated in the last scan in step S55, it is next determined whether or not the focus position can be estimated (S57). In the estimation of the focus position in step S55, it is determined whether or not the focus position can be estimated (see S89 and S91 in FIG. 7). In step 57, the determination is made based on the determination result.

ステップS57における判定の結果、合焦位置推定が不可であった場合には、合焦位置pos=現LDPとする(S59)。ここでは、ステップ55において推定した合焦位置の信頼性が低くかったことから、最終スキャンで確定した合焦位置posを撮影レンズ101のフォーカスレンズの駆動位置(LDP)とする。合焦位置予測不可の場合の合焦駆動については、図9を用いて後述する。   If the result of determination in step S57 is that focus position estimation is not possible, focus position pos = current LDP is set (S59). Here, since the reliability of the in-focus position estimated in step 55 is low, the in-focus position pos determined in the final scan is set as the focus lens drive position (LDP) of the photographing lens 101. The in-focus drive when the in-focus position cannot be predicted will be described later with reference to FIG.

一方、ステップS53における判定の結果、最終合焦位置が使用可能であった場合、または、ステップS57における判定の結果、合焦位置推定可能であった場合には、動体予測時間算出を行う(S61)。ここでは、合焦履歴を用いて合焦位置を予測するにあたって、本露光までの時間を算出する。レリーズ釦が全押しされた場合には、2ndレリーズスイッチオンから本露光までの時間となり、また連写中の場合には、次の本露光までの時間となる。なお、本露光までの時間としては、本露光中の中間点(露光開始から露光終了までの時間の1/2が経過した時点)とする。   On the other hand, if the final in-focus position is usable as a result of the determination in step S53, or if the in-focus position can be estimated as a result of the determination in step S57, the moving object predicted time is calculated (S61). ). Here, when the in-focus position is predicted using the in-focus history, the time until the main exposure is calculated. When the release button is fully pressed, the time from when the 2nd release switch is turned on until the main exposure is reached. When continuous shooting is in progress, the time is the time until the next main exposure. Note that the time until the main exposure is an intermediate point during the main exposure (when half of the time from the start of exposure to the end of exposure has elapsed).

動体予測時間を算出すると、次に、予測パルス位置演算を行い、この演算値をposに設定する(S63)。ここでは、合焦履歴を用いて、ステップS61において算出した動体予測時間後に、被写体の位置の予測演算を行い、この予測演算結果の合焦位置に撮影レンズ101のフォーカスレンズを位置させるための駆動パルス位置LDPの設定を行う。本実施形態においては、合焦履歴で記憶されている合焦位置の情報を用いて、最小二乗法により直線近似で予測演算を行うが、これとは異なる予測演算式を採用しても勿論かまわない。なお、本実施形態においては、フォーカスレンズの駆動位置はLDPで表わされる。すなわち、基準位置からのフォトインタラプタ等のパルス数で表わされるものとする。   Once the moving body prediction time is calculated, a predicted pulse position calculation is performed, and this calculated value is set to pos (S63). Here, using the in-focus history, after the moving body prediction time calculated in step S61, the subject position is predicted and calculated, and driving for positioning the focus lens of the photographing lens 101 at the in-focus position of the prediction calculation result is performed. The pulse position LDP is set. In the present embodiment, the prediction calculation is performed by linear approximation using the least square method using the information on the in-focus position stored in the in-focus history, but it is of course possible to employ a different prediction calculation formula. Absent. In the present embodiment, the driving position of the focus lens is represented by LDP. That is, it is represented by the number of pulses from a reference position such as a photo interrupter.

ステップS59において合焦位置pos=現LDPとすると、またはステップS63において予測パルス位置演算⇒posに値を設定すると、元のフローに戻る。   If the focus position pos = current LDP is set in step S59, or if a value is set in predicted pulse position calculation => pos in step S63, the process returns to the original flow.

このように、最後に実行したスキャン動作(図3のS17参照)の検出結果に応じて、記憶した複数の過去の合焦位置情報(図4のS41参照)に基づいて所定時刻の合焦位置を予測する場合に(図5のS53Yes)、記憶した複数の過去の位置情報に基づいて撮像素子による本撮影時刻の合焦位置を予測している(図5のS63)。この予測演算の結果を用いてフォーカスレンズの移動を行う(図3のS21参照)。   As described above, the focus position at a predetermined time is based on a plurality of past focus position information stored (see S41 in FIG. 4) in accordance with the detection result of the last scan operation (see S17 in FIG. 3). Is predicted (S53 Yes in FIG. 5), the in-focus position of the main photographing time by the image sensor is predicted based on the stored past position information (S63 in FIG. 5). The focus lens is moved using the result of the prediction calculation (see S21 in FIG. 3).

また、最後に実行したスキャン動作(図3のS17参照)の検出結果に応じて、記憶した複数の過去の合焦位置情報(図4のS41参照)に基づいて所定時刻の合焦位置を予測しないと判定する場合に(図5のS53No)、本撮影時のフォーカスレンズの位置を最後に実行したスキャン動作の終了時のフォーカスレンズの位置としている(図5のS59)。   In addition, a focus position at a predetermined time is predicted based on a plurality of stored past focus position information (see S41 in FIG. 4) in accordance with the detection result of the last scan operation (see S17 in FIG. 3). When it is determined not to be performed (No in S53 in FIG. 5), the position of the focus lens at the time of actual photographing is set as the position of the focus lens at the end of the last scan operation (S59 in FIG. 5).

次に、ステップS51(図5参照)における最終合焦位置使用可能判断の詳しい動作について、図6に示すフローチャートを用いて説明する。最終合焦位置使用可能判断のフローに入ると、まず、|現LDP−最終合焦位置|≧TH1か否かの判定を行う(S71)。ここでは、本露光直前にスキャン動作を終了した時点でのフォーカスレンズの位置(現LDP)から、ステップS41(図4参照)において記憶した複数の過去の合焦位置情報のうちの最新の合焦位置情報(最終合焦位置)を減算した値の絶対値が、第1の所定値(TH1)よりも大きいか否かを判定する。なお、この|現LDP−最終合焦位置|は、後述する図9において距離LAに相当する。   Next, detailed operation of the final focus position availability determination in step S51 (see FIG. 5) will be described using the flowchart shown in FIG. If the flow for determining whether or not the final focus position can be used is entered, it is first determined whether or not | current LDP−final focus position | ≧ TH1 (S71). Here, from the focus lens position (current LDP) at the time when the scanning operation is terminated immediately before the main exposure, the latest focus among the plurality of past focus position information stored in step S41 (see FIG. 4). It is determined whether or not the absolute value of the value obtained by subtracting the position information (final in-focus position) is greater than the first predetermined value (TH1). This | current LDP-final in-focus position | corresponds to the distance LA in FIG.

ステップS71における判定の結果がNoであった場合には、次に、現在時刻−最終合焦時刻≧TH2か否かを判定する(S73)。ここでは、最後に実行したスキャン動作によりフォーカスレンズ位置を検出した時刻から、ステップS41において記憶した複数の過去の合焦位置情報のうちの最新の合焦位置情報を検出した時刻を減算した値が、第2の所定値(TH2)よりも大きいか否かを判定する。なお、この「現在時刻−最終合焦時刻」は、後述する図9において時間TAに相当する。   If the result of determination in step S71 is No, it is next determined whether or not current time-final focusing time ≧ TH2 (S73). Here, a value obtained by subtracting the time at which the latest in-focus position information from among the plurality of past in-focus position information stored in step S41 is subtracted from the time at which the focus lens position is detected by the scan operation executed last. Then, it is determined whether or not it is larger than the second predetermined value (TH2). This “current time-final focusing time” corresponds to time TA in FIG. 9 described later.

ステップS73における判定の結果がNoであった場合には、最終合焦位置使用可能と判断する(S75)。一方、ステップS71における判定の結果がYesであった場合、またはステップS73における判定の結果がYesであった場合には、最終合焦位置使用不可と判断する(S77)。ステップS75またはS77において判断を行うと元のフローに戻る。   If the result of determination in step S73 is No, it is determined that the final focus position can be used (S75). On the other hand, if the result of determination in step S71 is Yes, or if the result of determination in step S73 is Yes, it is determined that the final focus position cannot be used (S77). When the determination is made in step S75 or S77, the process returns to the original flow.

このように、最終合焦位置使用可能判断のフローでは、記憶した複数の過去の位置情報のうちの最新の位置情報と、最後に実行したスキャン動作により検出したフォーカスレンズの位置との差が第1の所定値(TH1)よりも大きい場合に(S71Yes)、過去の位置情報に基づいて所定時刻の合焦位置を予測しないと判定するようにしている(S77)。また、時刻記憶部(記憶部203)に記憶した複数の過去の位置情報のうちの最新の位置情報を検出した時刻と、最後に実行したスキャン動作によりフォーカスレンズ位置を検出した時刻との差が第2の所定値よりも大きい場合に(S73Yes)、上記過去の位置情報に基づいて所定時刻の合焦位置を予測しないと判定するようにしている(S77)。   As described above, in the flow for determining whether or not the final focus position can be used, the difference between the latest position information of the plurality of stored past position information and the position of the focus lens detected by the last scan operation is the first. When it is larger than the predetermined value (TH1) of 1 (S71 Yes), it is determined that the in-focus position at the predetermined time is not predicted based on the past position information (S77). Further, there is a difference between the time when the latest position information among the plurality of past position information stored in the time storage unit (storage unit 203) is detected and the time when the focus lens position is detected by the last scan operation. When it is larger than the second predetermined value (S73 Yes), it is determined that the in-focus position at the predetermined time is not predicted based on the past position information (S77).

次に、図8および図9を用いて、コンティニュアスAF時における合焦位置の予測の例を説明する。図8は、予測実施可能な場合のレンズ位置制御を、また図9は予測実施が不可能な場合のレンズ位置の制御を示す。図8および図9において、横軸は時間の変化をまた、縦軸にレンズ位置を示す。   Next, an example of prediction of the in-focus position during continuous AF will be described with reference to FIGS. 8 and 9. FIG. 8 shows the lens position control when the prediction can be performed, and FIG. 9 shows the lens position control when the prediction cannot be performed. 8 and 9, the horizontal axis indicates the change in time, and the vertical axis indicates the lens position.

図8において、時刻T1〜T3の間は、1回目のスキャンSC1が行われており、この間、撮像素子201からの画像データが出力される度にコントラスト値(AF評価値)が繰り返し算出される(図4のS33〜S39参照)。このときコントラスト値のピークが検出されると、合焦位置が算出される。図8に示す例では、時刻T2において合焦位置z11が算出される。   In FIG. 8, the first scan SC1 is performed between times T1 and T3, and during this time, the contrast value (AF evaluation value) is repeatedly calculated each time image data from the image sensor 201 is output. (See S33 to S39 in FIG. 4). At this time, when the peak of the contrast value is detected, the in-focus position is calculated. In the example shown in FIG. 8, the focus position z11 is calculated at time T2.

1回目のスキャンSC1が終わると、フォーカスレンズの駆動方向を逆転し(図4のS45参照)、時刻T3〜T5において2回目のスキャンSC2を実行し、時刻T4において合焦位置z12を算出する。以後、同様にして、時刻T5〜T7の間で3回目のスキャンSC3を実行し、時刻T6において合焦位置z13を算出し、時刻T7〜T9の間で4回目のスキャンSC4を実行し、時刻T8において合焦位置z14を算出し、時刻T9〜T11の間で4回目のスキャンSC5を実行し、時刻T10において合焦位置z15を算出し、時刻T11〜T21の間で6回目のスキャンSC6を実行し、時刻T12において合焦位置z16を算出する。   When the first scan SC1 is completed, the driving direction of the focus lens is reversed (see S45 in FIG. 4), the second scan SC2 is executed from time T3 to T5, and the in-focus position z12 is calculated at time T4. Thereafter, similarly, the third scan SC3 is executed between times T5 and T7, the in-focus position z13 is calculated at time T6, and the fourth scan SC4 is executed between times T7 and T9. The focus position z14 is calculated at T8, the fourth scan SC5 is executed between times T9 and T11, the focus position z15 is calculated at time T10, and the sixth scan SC6 is performed between times T11 and T21. The focus position z16 is calculated at time T12.

合焦位置m1〜m6におけるレンズ位置を結んだ線は、被写体位置の変化の様子を示す被写体移動ラインPとなる。合焦位置m6は最新の合焦位置を示し、合焦位置m5は1つ前の合焦位置を示し、合焦位置4は2つ前の合焦位置を示し、これらの合焦位置に対応するレンズ位置(z11〜z16)とその時の時刻(T2、T4、T6、T8、T10、T12)がセットで、合焦履歴として、記憶部203に記憶される。   A line connecting the lens positions at the in-focus positions m1 to m6 becomes a subject movement line P indicating a change in the subject position. The focus position m6 indicates the latest focus position, the focus position m5 indicates the previous focus position, the focus position 4 indicates the previous focus position, and corresponds to these focus positions. The lens position (z11 to z16) to be used and the time (T2, T4, T6, T8, T10, T12) at that time are set and stored in the storage unit 203 as a focusing history.

時刻T21において、2ndレリーズ押下げによりスキャンが終了すると、または連写時の次の本露光のタイミングになると、図5に示される合焦位置算出中のステップS53における最終合焦位置使用可能判定がなされ、図8に示す例では、最終合焦位置(この例では、合焦位置m6)が使用可能と判断される。   At time T21, when the scanning is finished by pressing down the 2nd release or when the timing of the next main exposure at the time of continuous shooting is reached, the final focus position availability determination in step S53 during the focus position calculation shown in FIG. 5 is performed. In the example shown in FIG. 8, it is determined that the final focus position (in this example, the focus position m6) can be used.

最終合焦位置が使用可能と判定されると、本露光が時刻T31に開始し、露光時間の1/2が経過する時刻T32における被写体の位置を、時刻T21から時刻T32までの動体予測時間を算出し(図5のS61参照)、この動体予測時間と被写体移動ラインPを表す式に基づいて、本露光時における合焦位置を予測演算し(図5のS63参照)、フォーカスレンズの駆動を駆動ラインAFDに沿って行う(図3のS21)。   When it is determined that the final in-focus position can be used, the main exposure starts at time T31, and the position of the subject at time T32 when ½ of the exposure time elapses is calculated as the moving object predicted time from time T21 to time T32. The focus position at the time of the main exposure is predicted and calculated based on the equation representing the moving object prediction time and the subject movement line P (see S63 in FIG. 5), and the focus lens is driven. This is performed along the drive line AFD (S21 in FIG. 3).

図9には、前述したように、予測実施が不可能な場合のレンズ位置の制御の例を示す。時刻T1〜T11までは、図8の場合と同様に、スキャンSC1〜SC5を行う。6回目のスキャンSC6aを開始時後、時刻T13において、スキャン方向の逆転がなされる。これは、ステップS45(図4参照)において方向を反転してフォーカスレンズの移動を開始したものの、ステップS33、S35における判断と判定の結果、コントラスト値が減少したために、スキャン方向を逆転した場合である(図4のS37参照)。   FIG. 9 shows an example of control of the lens position when prediction cannot be performed as described above. From time T1 to time T11, scans SC1 to SC5 are performed as in the case of FIG. After starting the sixth scan SC6a, the scan direction is reversed at time T13. This is a case where the direction of the focus lens is reversed and the movement of the focus lens is started in step S45 (see FIG. 4). However, as a result of the determination and determination in steps S33 and S35, the contrast value has decreased and the scan direction is reversed. Yes (see S37 in FIG. 4).

スキャン方向が逆転され、スキャンSC6bの実行中の時刻T21において、2ndレリーズが押下げられ、または連写の次の本露光のタイミングになる。この場合にも、図5に示される合焦位置算出中のステップS53における最終合焦位置使用可能判定がなされる。図9に示す例では、最終合焦位置(この例では、合焦位置m5)が使用不可能と判断される。すなわち、ステップS71における判定、|現LDP−最終合焦位置|≧TH1となっている。図9に示す例では、最終合焦位置m5と現LDP(z21)の差分LAが、所定値TH1よりも大きい。なお、ステップS73における判定を行ったとすると、最終合焦位置m5における時刻T10と、現在時刻T21との差分時間TAが、所定値TH2よりも大きい。   The scan direction is reversed, and at time T21 during execution of the scan SC6b, the 2nd release is pushed down or the timing of the main exposure next to the continuous shooting is reached. Also in this case, the final focus position availability determination in step S53 during calculation of the focus position shown in FIG. 5 is performed. In the example shown in FIG. 9, it is determined that the final focus position (in this example, the focus position m5) cannot be used. That is, the determination in step S71 is | current LDP−final in-focus position | ≧ TH1. In the example shown in FIG. 9, the difference LA between the final focus position m5 and the current LDP (z21) is larger than the predetermined value TH1. If the determination in step S73 is made, the difference time TA between the time T10 at the final focus position m5 and the current time T21 is greater than the predetermined value TH2.

このように図9に示す例では、最終合焦位置(m5)が使用不可能と判断される。このため、最終のスキャン(6回目のスキャンSC6a,SC6b)におけるコントラスト値(AF評価値)を用いて、合焦位置が推定可能であれば(図5のS57Yes)、この推定された合焦位置を用いて、合焦位置の予測を行い(図5のS63)、フォーカスレンズの駆動を駆動ラインAFDに沿って行う(図4のS21)。一方、合焦位置の推定が不可能であれば、現在時刻T21の現在位置に対応したレンズ位置z21で(図5のS59)、合焦駆動を行う。   Thus, in the example shown in FIG. 9, it is determined that the final focus position (m5) cannot be used. For this reason, if the in-focus position can be estimated using the contrast value (AF evaluation value) in the final scan (the sixth scan SC6a, SC6b) (S57 in FIG. 5), the estimated in-focus position Is used to predict the in-focus position (S63 in FIG. 5), and the focus lens is driven along the drive line AFD (S21 in FIG. 4). On the other hand, if the focus position cannot be estimated, focus drive is performed at the lens position z21 corresponding to the current position at the current time T21 (S59 in FIG. 5).

次に、ステップS55(図5参照)における最終スキャンでの合焦位置推定の詳しい動作について、図7に示すフローチャートを用いて説明する。   Next, the detailed operation of in-focus position estimation in the final scan in step S55 (see FIG. 5) will be described using the flowchart shown in FIG.

最終スキャンでの合焦位置推定のフローに入ると、まず、データ数が5点以上あるか否かを判定する(S81)。コントラストAFにおける合焦位置の算出は、コントラスト値のピーク付近の3点のデータを用いてピーク位置(合焦位置)を算出する(図4のS41)。しかし、この最終スキャンでの合焦位置推定では、コントラスト値のピークを検出しない状態であることから、ピーク推定の信頼性を確保するために、コントラスト値として5点以上の情報があるか否かの判定を行っている。   If the in-focus position estimation flow in the final scan is entered, it is first determined whether or not the number of data is 5 or more (S81). In the calculation of the in-focus position in contrast AF, the peak position (in-focus position) is calculated using data of three points near the peak of the contrast value (S41 in FIG. 4). However, since the focus position estimation in the final scan is in a state where the peak of the contrast value is not detected, whether or not there is information on five or more points as the contrast value in order to ensure the reliability of the peak estimation. Judgment is made.

ステップS81における判定の結果、データ数が5点以上あった場合には、次に、ガウス関数近似式算出を行う(S83)。ここでは、5点以上のデータを用いてガウス関数近似式でコントラス情報のピーク位置を算出し、このピーク位置をフォーカスレンズ位置(zc)とする。このガウス関数近似式によるフォーカスレンズ位置(zc)の算出の詳細については、後述する。   If the result of determination in step S81 is that there are 5 or more data points, Gaussian function approximate expression calculation is performed (S83). Here, the peak position of the contrast information is calculated by the Gaussian function approximate expression using data of five points or more, and this peak position is set as the focus lens position (zc). Details of the calculation of the focus lens position (zc) by this Gaussian function approximate expression will be described later.

ステップS83においてガウス関数近似式算出を行うと、次に、評価値の差≧TH3か否かの判定を行う(S85)。コントラスト値のピーク位置を近似式で算出するにあたって、ガウス関数の裾野部分等、AF評価値(コントラスト値)の差が小さい部分では信頼性が低くなってしまう。そこで、このステップでは、AF評価値の差に基づいて信頼性の判定を行っている。なお、後述する図10に示す例では、AF評価値の差は、5点のAF評価値の最大と最小の差分Zに相当する。   Once the Gaussian function approximate expression is calculated in step S83, it is next determined whether or not the evaluation value difference ≧ TH3 (S85). When calculating the peak position of the contrast value with an approximate expression, the reliability is low in a portion where the difference in AF evaluation value (contrast value) is small, such as the base portion of a Gaussian function. Therefore, in this step, reliability is determined based on the difference in AF evaluation values. In the example shown in FIG. 10 described later, the difference between the AF evaluation values corresponds to the maximum and minimum difference Z of the five AF evaluation values.

ステップS85における判定の結果、AF評価値の差が所定値TH3以上であった場合には、つぎに、信頼性があるか否かを判定する(S87)。この信頼性の判定のための演算については、ガウス関数近似式の算出について詳細に説明する際に併せて説明するが、概略、ガウス曲線に近似する際に、このガウス曲線と実際のデータの残差の二乗和(後述する式(3)参照)を信頼性の判定の基礎とする。   If the result of determination in step S85 is that the difference in AF evaluation values is greater than or equal to a predetermined value TH3, it is next determined whether or not there is reliability (S87). The calculation for determining the reliability will be described together with the detailed description of the calculation of the Gaussian function approximation formula. However, when approximating the Gaussian curve, the Gaussian curve and the rest of the actual data are approximated. The sum of squares of the differences (see formula (3) described later) is used as the basis for determining the reliability.

ステップS87における判定の結果、信頼性がOKであった場合には、合焦位置推定可能と判断する(S89)。一方、ステップS87における判定の結果、信頼性がNGであった場合、またはステップS81における判定の結果、データ数が5点未満であった場合、またはステップS85における判定の結果、AF評価値の差がTH3よりも小さかった場合には、合焦位置推定不可と判断する(S91)。   If the result of determination in step S87 is OK, it is determined that the in-focus position can be estimated (S89). On the other hand, if the result of determination in step S87 is NG, or the result of determination in step S81 is that the number of data is less than 5, or the result of determination in step S85 is the difference in AF evaluation values Is smaller than TH3, it is determined that the in-focus position cannot be estimated (S91).

ステップS89、S91において合焦位置推定の可否を判断すると、元のフローに戻り、前述のステップS57(図5参照)に進む。   If it is determined in steps S89 and S91 whether the in-focus position can be estimated, the process returns to the original flow and proceeds to the above-described step S57 (see FIG. 5).

この最終スキャンでの合焦位置推定の一例について、図10を用いて説明する。図10は、スキャン制御中におけるコントラスト値(AF評価値)の変化を示し、横軸にフォーカスレンズの位置を、また縦軸にAF評価値を示す。この例では、5フレーム分の画像データに対して、コントラスト値(AF評価値)を5点算出できたところで、2ndレリーズ等が入ったことから、スキャン動作を停止し、取得した5点からコントラスト値のピーク位置を推定する。   An example of in-focus position estimation in the final scan will be described with reference to FIG. FIG. 10 shows a change in contrast value (AF evaluation value) during scan control. The horizontal axis indicates the position of the focus lens, and the vertical axis indicates the AF evaluation value. In this example, when 5 points of contrast values (AF evaluation values) can be calculated for 5 frames of image data, a 2nd release or the like is entered, so the scanning operation is stopped, and contrast is obtained from the acquired 5 points. Estimate the peak position of the value.

1点目は、フォーカスレンズ位置z1においてAF評価値がAFval_1である(この結果を、(AFval_1,z1)と略記する)。以後、2点目は(AFval_2,z2)であり、3点目は(AFval_3,z3)であり、4点目は(AFval_4,z4)であり、5点目は(AFval_5,z5)である。図中、実線は、1点目から5点目までのコントラスト値(AF評価値)の実測値を繋いで得られるコントラスト情報の曲線を示す。   The first point is that the AF evaluation value is AFval_1 at the focus lens position z1 (this result is abbreviated as (AFval_1, z1)). Thereafter, the second point is (AFval_2, z2), the third point is (AFval_3, z3), the fourth point is (AFval_4, z4), and the fifth point is (AFval_5, z5). In the figure, the solid line shows a curve of contrast information obtained by connecting the actual measured values of contrast values (AF evaluation values) from the first point to the fifth point.

図10において、2点鎖線は、1点目から5点目までのコントラスト値を用いて、ステップ83におけるガウス関数近似式によって推定したコントラスト値の曲線である。この推定コントラスト情報曲線Gからピーク位置zcを推定することができる。なお、破線は、5点目以降もスキャンを続行した場合に得られるコントラスト情報曲線Rを示す。理想としては、推定コントラスト情報曲線Gとコントラスト情報曲線Rが一致することが望ましい。   In FIG. 10, a two-dot chain line is a contrast value curve estimated by the Gaussian function approximate expression in step 83 using the contrast values from the first point to the fifth point. The peak position zc can be estimated from the estimated contrast information curve G. A broken line indicates a contrast information curve R obtained when scanning is continued after the fifth point. Ideally, it is desirable that the estimated contrast information curve G and the contrast information curve R match.

このように、最後に実行したスキャン動作により画像のコントラストがピークとなるフォーカスレンズの位置を検出できない場合であっても(図5のS53No)、ピークとなるフォーカスレンズの位置を推定するようにしている(図5のS55、図7のS83)。また、フォーカスレンズの合焦位置が推定できた場合には(図5のS57Yes)、この推定したピークとなるフォーカスレンズ位置と記憶した過去の位置情報の両方に基づいて所定時刻合焦位置を算出し(図5のS61)、所定時刻における合焦位置を予測するようにしている(図5のS63)。   As described above, even when the position of the focus lens at which the contrast of the image reaches the peak cannot be detected by the last scan operation (No in S53 in FIG. 5), the position of the focus lens at which the peak is estimated is estimated. (S55 in FIG. 5 and S83 in FIG. 7). If the focus lens focus position can be estimated (S57 in FIG. 5), the focus position at a predetermined time is calculated based on both the estimated focus lens position and the stored past position information. (S61 in FIG. 5), the in-focus position at a predetermined time is predicted (S63 in FIG. 5).

次に、ステップS83(図7参照)におけるガウス関数近似式を用いての算出方法について説明する。フォーカスレンズのピーク検出動作中に得られたAF評価値をAFval_i、対応するフォーカスレンズ位置をziとすると、複数の点(AFval_i ,zi)(i=1,2,3,…,n)に対して、最も近くを通るガウス曲線を求める処理を行う。   Next, the calculation method using the Gaussian function approximate expression in step S83 (see FIG. 7) will be described. When the AF evaluation value obtained during the peak detection operation of the focus lens is AFval_i and the corresponding focus lens position is zi, for a plurality of points (AFval_i, zi) (i = 1, 2, 3,..., N). Then, a process for obtaining a Gaussian curve passing through the nearest is performed.

このガウス曲線は以下の式(1)のように表わすことができる。
AFval_i=Nexp{−(zi−zc)/2σ} ・・・(1)
ただし、Nは定数、zcは平均、σは分散を示す。
This Gaussian curve can be expressed as the following equation (1).
AFval_i = Nexp {− (zi−zc) 2 / 2σ 2 } (1)
Here, N is a constant, zc is an average, and σ is variance.

式(1)のガウス関数の両辺の対数を取ると以下の式が導かれる。
Ln(AFval_i)= lnN+{−(zi−zc)/2σ} ・・・(2)
Taking the logarithm of both sides of the Gaussian function of equation (1), the following equation is derived.
Ln (AFval_i) = lnN + {− (zi−zc) 2 / 2σ 2 } (2)

式(2)において、ln(AFval_i)=Fi、a=−1/2σ、b=2zc/2σ、c=lnN−zc/2σとおくと、ガウス曲線を単なる2次式「F=az+bz+c」で表すことが可能となる。 In the formula (2), ln (AFval_i) = Fi, the put and a = -1 / 2σ 2, b = 2zc / 2σ 2, c = lnN-zc 2 / 2σ 2, mere quadratic Gaussian curve "F = Az 2 + bz + c ".

上記zc=−b/2aに係数a、bを代入して合焦位置を算出することができる。本実施形態では、ガウス曲線を表わす二次曲線に対する残差二乗和を各係数で偏微分した各式の値を0として求めた連立方程式を解いて各係数a、b、cを求める。   The in-focus position can be calculated by substituting coefficients a and b into zc = −b / 2a. In the present embodiment, the coefficients a, b, and c are obtained by solving simultaneous equations obtained by setting each equation value obtained by partial differentiation of the residual square sum of the quadratic curve representing the Gaussian curve to 0.

残差二乗和Sは、以下の式(3)のように表わすことができる。
S=Σ(Fi −azi−bzi−c)・・・(3)
なお、前述したように、この残差二乗和は、ステップS87において、信頼性の判断に使用される。
The residual sum of squares S can be expressed as the following equation (3).
S = Σ (Fi−azi 2 −bzi−c) 2 (3)
As described above, the residual sum of squares is used for determination of reliability in step S87.

上記式(3)を各係数a、b、cで偏微分した結果は以下の式(4)、(5)、(6)のように示される。
∂S/∂a=Σ(−2(Fi −azi −bzi −c))zi・・・(4)
∂S/∂b=Σ(−2(Fi −azi−bzi −c))zi・・・(5)
∂S/∂c=Σ(−2(Fi −azi−bzi −c))・・・(6)
ここで、i=1〜nである。
The result of partial differentiation of the above equation (3) with the coefficients a, b, and c is shown as the following equations (4), (5), and (6).
∂S / ∂a = Σ (−2 (Fi−azi 2 −bzi −c)) zi 2 (4)
∂S / ∂b = Σ (−2 (Fi−azi 2 −bzi−c)) zi (5)
∂S / ∂c = Σ (−2 (Fi−azi 2 −bzi −c)) (6)
Here, i = 1 to n.

各式(4)、(5)、(6)において偏微分値を0
とすると、以下の式(7)、(8)、(9)が導かれる。
Σ(zi Fi )=aΣ(zi)+bΣ(zi)+cΣ(zi)・・・(7)
Σ(zi Fi )=aΣ(zi)+bΣ(zi)+cΣ(zi)・・・(8)
Σ(Fi )=aΣ(zi)+bΣ(zi )+cn ・・・(9)
In each equation (4), (5), (6), the partial differential value is 0.
Then, the following formulas (7), (8), and (9) are derived.
Σ (zi 2 Fi) = aΣ (zi 4 ) + bΣ (zi 3 ) + cΣ (zi 2 ) (7)
Σ (zi Fi) = aΣ (zi 3 ) + bΣ (zi 2 ) + cΣ (zi) (8)
Σ (Fi) = aΣ (zi 2 ) + bΣ (zi) + cn (9)

上式(7)、(8)、(9)において、Σ(zi)=A、Σ(Fi)=B、Σ(ziFi)=C、Σ(zi)=D、Σ(zi)=E、Σ(zi)=F、Σ(ziFi)=Gとすると、以下の式(10)、(11)、(12)のように表わすことができる。
G=aF+bE+cD ・・・(10)
C=aE+bD+cA ・・・(11)
B=aD+bA+cn ・・・(12)
In the above equations (7), (8), (9), Σ (zi) = A, Σ (Fi) = B, Σ (ziFi) = C, Σ (zi 2 ) = D, Σ (zi 3 ) = If E, Σ (zi 4 ) = F, and Σ (zi 2 Fi) = G, they can be expressed as the following equations (10), (11), and (12).
G = aF + bE + cD (10)
C = aE + bD + cA (11)
B = aD + bA + cn (12)

上述の連立方程式(10)、(11)、(12)をa、b、cについて解くと、以下の式(13)、(14)、(15)のようになる。
a=((AB−Cn)(D2 −AE)−(DC−AG)(A2−Dn))/((AD−En)(D2 −AE)−(DE−AF)(A2 −Dn))・・・・・・(13)
b=((DC−AG)−a(DE−AF))/(D2−AE))・・・・(14)
c=(B−bA−aD)/n ・・・・・・・(15)
Solving the simultaneous equations (10), (11), and (12) with respect to a, b, and c yields the following equations (13), (14), and (15).
a = ((AB-Cn) (D2-AE)-(DC-AG) (A2-Dn)) / ((AD-En) (D2-AE)-(DE-AF) (A2-Dn))). (13)
b = ((DC-AG) -a (DE-AF)) / (D2-AE)) (14)
c = (B−bA−aD) / n (15)

AF評価値が最大となるフォーカスレンズ位置(合焦位置)は、ガウス分布の中央値である平均zcで表わされるので、a、b、cを算出してzc=−b/2aを求めることができる。   The focus lens position (focus position) at which the AF evaluation value is maximum is represented by the average zc that is the median value of the Gaussian distribution. Therefore, a, b, and c are calculated to obtain zc = −b / 2a. it can.

以上説明したように、本発明の一実施形態においては、スキャン動作を繰り返し実行して画像のコントラストがピークとなるフォーカスレンズの位置情報を検出して記憶し、記憶した複数の過去の位置情報に基づいて所定時刻の合焦位置を予測し(図5のS61参照)、また、最後に実行したスキャン動作の検出結果に応じて、記憶した複数の過去の位置情報に基づいて所定の時刻の合焦位置を予測するか否かを判定する(図5のS53参照)ようにしている。このため、被写体の状態に応じて適切な合焦位置の予測を行うことが可能となる。すなわち、本露光に前に、被写体の動きが大きくなった場合等であっても、適切に合焦位置の予測を行うことが可能となる。   As described above, in one embodiment of the present invention, the scan lens is repeatedly executed to detect and store the position information of the focus lens at which the contrast of the image reaches a peak, and the plurality of stored past position information are stored. Based on the detection result of the last scan operation performed, the focus position at the predetermined time is predicted based on the plurality of past position information stored. It is determined whether or not the focal position is predicted (see S53 in FIG. 5). For this reason, it is possible to predict an appropriate in-focus position according to the state of the subject. That is, it is possible to appropriately predict the in-focus position even when the movement of the subject increases before the main exposure.

なお、本発明の一実施形態においては、ステップS83(図7参照)における合焦位置の推定にあたってはガウス関数近似式を用いたがこれに限らず、コントラスト値のピーク位置を求められる近似式であれば、これとは異なる関数を採用しても勿論かまわない。   In the embodiment of the present invention, the Gaussian function approximate expression is used for estimating the in-focus position in step S83 (see FIG. 7). However, the present invention is not limited to this, and an approximate expression for obtaining the peak position of the contrast value is used. Of course, a different function may be adopted.

また、本発明の一実施形態においては、撮影のための機器として、デジタルカメラを用いて説明したが、カメラとしては、デジタル一眼レフカメラでもコンパクトデジタルカメラでもよく、ビデオカメラ、ムービーカメラのような動画用のカメラでもよく、さらに、携帯電話、スマートフォーンや携帯情報端末(PDA:Personal Digital Assist)、ゲーム機器等に内蔵されるカメラでも構わない。いずれにしても、コントラストAFによって焦点調節を行う機器であれば本発明を適用することができる。   In the embodiment of the present invention, the digital camera is used as the photographing device. However, the camera may be a digital single lens reflex camera or a compact digital camera, such as a video camera or a movie camera. It may be a camera for moving images, or may be a camera built in a mobile phone, a smart phone, a personal digital assistant (PDA), a game machine, or the like. In any case, the present invention can be applied to any device that performs focus adjustment by contrast AF.

また、特許請求の範囲、明細書、および図面中の動作フローに関して、便宜上「まず」、「次に」等の順番を表現する言葉を用いて説明したとしても、特に説明していない箇所では、この順で実施することが必須であることを意味するものではない。   In addition, regarding the operation flow in the claims, the specification, and the drawings, even if it is described using words expressing the order such as “first”, “next”, etc. It does not mean that it is essential to implement in this order.

本発明は、上記実施形態にそのまま限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素の幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   The present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, you may delete some components of all the components shown by embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

100・・・交換レンズ、101・・・撮影レンズ、102・・・モータ駆動部、103・・・レンズ制御部、104・・・記憶部、200・・・カメラ本体、201・・・撮像装置、202・・・液晶表示部、203・・・記憶部、204・・・本体制御部、205・・・操作部 DESCRIPTION OF SYMBOLS 100 ... Interchangeable lens, 101 ... Shooting lens, 102 ... Motor drive part, 103 ... Lens control part, 104 ... Memory | storage part, 200 ... Camera body, 201 ... Imaging device 202 ... Liquid crystal display unit 203 ... Storage unit 204 ... Main body control unit 205 ... Operation unit

Claims (6)

レンズ駆動部によって光軸方向に移動可能なフォーカスレンズを含み被写体からの光を結像させ撮影光学系の焦点調節を行う焦点調節装置において、
上記撮影光学系により結像される上記被写体の撮像データを得る撮像素子と、
上記フォーカスレンズを移動させて上記撮像素子による撮像動作を実行し、上記撮像素子の出力する複数の撮像データに基づいて画像のコントラストのピークとなる上記フォーカスレンズの位置を検出するスキャン動作を行う制御部と、
を具備し、
上記制御部は、
上記スキャン動作を本露光の直前まで繰り返し実行して上記画像のコントラストがピークとなる上記フォーカスレンズの位置情報を検出して記憶し、記憶した複数の過去の位置情報に基づいて所定時刻の合焦位置を予測する予測制御部と、
上記本露光の直前に実行したスキャン動作の検出結果に応じて、上記記憶した複数の過去の位置情報に基づいて所定の時刻の合焦位置を予測するか否かを判定する判定部と、
を有することを特徴とする焦点調節装置。
In a focus adjustment apparatus that includes a focus lens that can be moved in the optical axis direction by a lens driving unit and that forms an image of light from a subject and performs focus adjustment of a photographing optical system.
An imaging device for obtaining imaging data of the subject imaged by the imaging optical system;
Control that moves the focus lens to execute an image pickup operation by the image pickup device, and performs a scan operation to detect the position of the focus lens at which an image contrast peak is based on a plurality of image pickup data output from the image pickup device. And
Comprising
The control unit
The scan operation is repeatedly executed until immediately before the main exposure to detect and store the position information of the focus lens at which the contrast of the image reaches a peak, and focus at a predetermined time based on the plurality of stored past position information. A prediction control unit for predicting a position;
A determination unit configured to determine whether or not to predict an in-focus position at a predetermined time based on the plurality of stored past position information according to a detection result of a scan operation performed immediately before the main exposure;
A focus adjustment device comprising:
上記判定部は、上記記憶した複数の過去の位置情報のうちの最新の位置情報と、上記本露光の直前にスキャン動作を終了した時点での上記フォーカスレンズの位置との差が第1の所定値よりも大きい場合に、上記過去の位置情報に基づいて所定時刻の合焦位置を予測しないと判定することを特徴とする請求項1に記載の焦点調節装置。   The determination unit determines whether a difference between the latest position information of the stored past position information and the position of the focus lens at the time when the scanning operation is ended immediately before the main exposure is a first predetermined value. 2. The focus adjustment apparatus according to claim 1, wherein when the value is larger than the value, it is determined that the in-focus position at a predetermined time is not predicted based on the past position information. 上記スキャン動作を実行して上記画像のコントラストがピークとなるフォーカスレンズ位置を検出する時刻を検出し記憶する時刻記憶部を有し、
上記判定部は、上記時刻記憶部に記憶した複数の過去の位置情報のうちの最新の位置情報を検出した時刻と、上記本露光の直前にスキャン動作を終了した時点での時刻との差が第2の所定値よりも大きい場合に、上記過去の位置情報に基づいて所定時刻の合焦位置を予測しないと判定する、
ことを特徴とする請求項1に記載の焦点調節装置。
A time storage unit that detects and stores a time at which the focus lens position at which the contrast of the image reaches a peak is detected by executing the scanning operation
The determination unit is configured such that a difference between a time when the latest position information among a plurality of past position information stored in the time storage unit is detected and a time when the scanning operation is ended immediately before the main exposure is determined. When it is larger than the second predetermined value, it is determined that the in-focus position at the predetermined time is not predicted based on the past position information.
The focus adjusting apparatus according to claim 1, wherein:
上記制御部は、上記撮像素子による本露光動作を制御し、
上記判定部が、上記本露光の直前に実行したスキャン動作の検出結果に応じて、上記記憶した複数の過去の位置情報に基づいて所定時刻の合焦位置を予測する場合に、
上記予測制御部は、上記記憶した複数の過去の位置情報に基づいて上記撮像素子による本露光時刻の合焦位置を予測して上記フォーカスレンズを移動させる、
ことを特徴とする請求項1に記載の焦点調節装置。
The control unit controls the main exposure operation by the image sensor,
When the determination unit predicts an in-focus position at a predetermined time based on the stored plurality of past position information according to the detection result of the scanning operation performed immediately before the main exposure,
The prediction control unit moves the focus lens by predicting a focus position at the main exposure time by the imaging element based on the stored plurality of past position information.
The focus adjusting apparatus according to claim 1, wherein:
上記判定部が、上記本露光の直前に実行したスキャン動作の検出結果に応じて、上記記憶した複数の過去の位置情報に基づいて所定時刻の合焦位置を予測しないと判定する場合に、
上記制御部は、本露光時のフォーカスレンズの位置を上記本露光の直前に実行したスキャン動作の終了時のフォーカスレンズの位置とする、
ことを特徴とする請求項1に記載の焦点調節装置。
When the determination unit determines not to predict the in-focus position at a predetermined time based on the stored plurality of past position information according to the detection result of the scan operation performed immediately before the main exposure,
The control unit sets the position of the focus lens at the time of the main exposure as the position of the focus lens at the end of the scanning operation performed immediately before the main exposure.
The focus adjusting apparatus according to claim 1, wherein:
レンズ駆動部によって光軸方向に移動可能なフォーカスレンズを含み被写体からの光を結像させる撮影光学系の焦点調節を行う焦点調節装置において、
上記撮影光学系により結像される上記被写体の撮像データを得る撮像素子と、
上記フォーカスレンズを移動させて上記撮像素子による撮像動作を実行し、上記撮像素子の出力する複数の撮像データに基づいて画像のコントラストのピークとなる上記フォーカスレンズの位置を検出するスキャン動作を行う制御部と、
を具備し、
上記制御部は、
上記スキャン動作を本露光の直前まで繰り返し実行して上記画像のコントラストがピークとなる上記フォーカスレンズの位置情報を検出して記憶し、記憶した複数の過去の位置情報に基づいて所定時刻の合焦位置を予測する予測制御部と、
上記本露光の直前に実行したスキャン動作により上記画像のコントラストがピークとなる上記フォーカスレンズの位置を検出できない場合であっても、ピークとなるフォーカスレンズの位置を推定するピーク推定部と、
を有し、
上記予測制御部は、上記ピーク推定部が推定するピークとなるフォーカスレンズ位置、または上記記憶した過去の位置情報、または上記ピーク推定部が推定するピークとなるフォーカスレンズ位置と上記記憶した過去の位置情報の両方に基づいて所定時刻合焦位置を算出する、
ことを特徴とする焦点調節装置。
In a focus adjustment device that performs focus adjustment of a photographing optical system that includes a focus lens that can be moved in the optical axis direction by a lens driving unit and forms an image of light from a subject.
An imaging device for obtaining imaging data of the subject imaged by the imaging optical system;
Control that moves the focus lens to execute an image pickup operation by the image pickup device, and performs a scan operation to detect the position of the focus lens at which an image contrast peak is based on a plurality of image pickup data output from the image pickup device. And
Comprising
The control unit
The scan operation is repeatedly executed until immediately before the main exposure to detect and store the position information of the focus lens at which the contrast of the image reaches a peak, and focus at a predetermined time based on the plurality of stored past position information. A prediction control unit for predicting a position;
A peak estimator that estimates the position of the focus lens that becomes the peak even if the position of the focus lens that makes the contrast of the image peak cannot be detected by the scanning operation performed immediately before the main exposure;
Have
The prediction control unit includes a focus lens position that is a peak estimated by the peak estimation unit, or the stored past position information, or a focus lens position that is a peak estimated by the peak estimation unit and the stored past position. Calculate a predetermined time focus position based on both information,
A focusing device characterized by that.
JP2012077772A 2012-03-29 2012-03-29 Focus adjustment device Active JP6063633B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012077772A JP6063633B2 (en) 2012-03-29 2012-03-29 Focus adjustment device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012077772A JP6063633B2 (en) 2012-03-29 2012-03-29 Focus adjustment device

Publications (2)

Publication Number Publication Date
JP2013205787A true JP2013205787A (en) 2013-10-07
JP6063633B2 JP6063633B2 (en) 2017-01-18

Family

ID=49524888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012077772A Active JP6063633B2 (en) 2012-03-29 2012-03-29 Focus adjustment device

Country Status (1)

Country Link
JP (1) JP6063633B2 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01285908A (en) * 1988-05-13 1989-11-16 Canon Inc Automatic focusing device for camera
JPH04296709A (en) * 1991-03-26 1992-10-21 Olympus Optical Co Ltd Camera
JPH05203861A (en) * 1992-01-27 1993-08-13 Nikon Corp Camera with moving body forecasting function
JPH0829667A (en) * 1994-07-18 1996-02-02 Fuji Photo Optical Co Ltd Automatic focusing method
JPH09297335A (en) * 1996-03-06 1997-11-18 Olympus Optical Co Ltd Automatic focusing device for camera
JPH1068865A (en) * 1997-06-09 1998-03-10 Canon Inc Automatic focusing device
JPH1184220A (en) * 1997-09-02 1999-03-26 Olympus Optical Co Ltd Automatic focusing device for camera
JP2004085843A (en) * 2002-08-26 2004-03-18 Canon Inc Camera
JP2010072117A (en) * 2008-09-16 2010-04-02 Canon Inc Automatic focusing device, control method thereof, and imaging apparatus

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01285908A (en) * 1988-05-13 1989-11-16 Canon Inc Automatic focusing device for camera
JPH04296709A (en) * 1991-03-26 1992-10-21 Olympus Optical Co Ltd Camera
JPH05203861A (en) * 1992-01-27 1993-08-13 Nikon Corp Camera with moving body forecasting function
JPH0829667A (en) * 1994-07-18 1996-02-02 Fuji Photo Optical Co Ltd Automatic focusing method
JPH09297335A (en) * 1996-03-06 1997-11-18 Olympus Optical Co Ltd Automatic focusing device for camera
JPH1068865A (en) * 1997-06-09 1998-03-10 Canon Inc Automatic focusing device
JPH1184220A (en) * 1997-09-02 1999-03-26 Olympus Optical Co Ltd Automatic focusing device for camera
JP2004085843A (en) * 2002-08-26 2004-03-18 Canon Inc Camera
JP2010072117A (en) * 2008-09-16 2010-04-02 Canon Inc Automatic focusing device, control method thereof, and imaging apparatus

Also Published As

Publication number Publication date
JP6063633B2 (en) 2017-01-18

Similar Documents

Publication Publication Date Title
JP6063634B2 (en) Focus adjustment device
JP6457776B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP4661964B2 (en) Imaging apparatus and program
JP4979507B2 (en) Imaging apparatus and imaging method
JP6474693B2 (en) Focus detection apparatus, focus detection method, and recording medium
JP6634298B2 (en) Imaging device and imaging method
JP2011248159A (en) Imaging apparatus, imaging system, imaging apparatus control method and program
JP2009175478A (en) Imaging apparatus, imaging apparatus control method, and computer program
JP5500916B2 (en) Imaging apparatus and control method thereof
JP2006033023A (en) Image pickup device
JP6234261B2 (en) Focus adjustment apparatus and control method
TW200810534A (en) Image pickup apparatus and image pickup control method
JP2009069696A (en) Imaging device and focusing control method
WO2013094552A1 (en) Imaging device, method for controlling same, and program
JP2011191617A (en) Imaging device
US10313602B2 (en) Image capture apparatus and method for controlling the same
JP2013130761A (en) Imaging device, method for controlling the same, and program
JP2004191674A (en) Automatic focusing device and photographing device
JP2011053255A (en) Autofocus apparatus and method, and program
JP2009105851A (en) Imaging apparatus, control method and program thereof
JP5635546B2 (en) Imaging device and method for controlling imaging device
JP6063633B2 (en) Focus adjustment device
JP2010134309A (en) Autofocus device, autofocus method and imaging apparatus
JP6257186B2 (en) Imaging apparatus, imaging method, and program
JP2016006940A (en) Camera with contrast af function

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150313

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20150423

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151209

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160125

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20160630

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160912

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20160921

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161219

R151 Written notification of patent or utility model registration

Ref document number: 6063633

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250