JP6351310B2 - Imaging apparatus, control method therefor, program, and storage medium - Google Patents

Imaging apparatus, control method therefor, program, and storage medium Download PDF

Info

Publication number
JP6351310B2
JP6351310B2 JP2014046759A JP2014046759A JP6351310B2 JP 6351310 B2 JP6351310 B2 JP 6351310B2 JP 2014046759 A JP2014046759 A JP 2014046759A JP 2014046759 A JP2014046759 A JP 2014046759A JP 6351310 B2 JP6351310 B2 JP 6351310B2
Authority
JP
Japan
Prior art keywords
focus
focus position
correction amount
evaluation value
optical system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014046759A
Other languages
Japanese (ja)
Other versions
JP2015169907A5 (en
JP2015169907A (en
Inventor
友美 渡邉
友美 渡邉
英之 浜野
英之 浜野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2014046759A priority Critical patent/JP6351310B2/en
Publication of JP2015169907A publication Critical patent/JP2015169907A/en
Publication of JP2015169907A5 publication Critical patent/JP2015169907A5/ja
Application granted granted Critical
Publication of JP6351310B2 publication Critical patent/JP6351310B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、撮像素子により取得される画像信号を使用して焦点検出を行う撮像装置に関するものである。   The present invention relates to an imaging apparatus that performs focus detection using an image signal acquired by an imaging element.

デジタルカメラやビデオカメラにおいては、CCDやCMOSセンサ等の撮像素子からの出力信号を利用し、被写体の焦点評価値に応じた信号を検出して合焦させるコントラスト検出式のオートフォーカス(以下、AF)方法が一般的である。この焦点検出システムでは、フォーカスレンズを所定の移動範囲にわたって光軸方向に移動させながら被写体の焦点評価値を順次検出(AFスキャン動作)し、焦点評価値が最大となるフォーカスレンズ位置を合焦位置として検出する。   In digital cameras and video cameras, a contrast detection type autofocus (hereinafter referred to as AF) that uses an output signal from an image sensor such as a CCD or CMOS sensor to detect and focus a signal according to a focus evaluation value of a subject. ) The method is common. In this focus detection system, the focus evaluation value of the object is sequentially detected (AF scan operation) while moving the focus lens in the optical axis direction over a predetermined movement range, and the focus lens position where the focus evaluation value is maximized is determined as the in-focus position. Detect as.

但し、撮影光学系の実際の最良像面(観察者の感じる周波数における光束の集中度または解像力が最大の結像面:ベストピント位置)と焦点検出システムが算出する合焦位置とには、後述する理由により、差が生ずる場合が多い。   However, the actual best image plane of the photographing optical system (imaging plane having the maximum luminous flux concentration or resolving power at the frequency felt by the observer: best focus position) and the focus position calculated by the focus detection system will be described later. There are many cases where a difference occurs due to the reason.

上記のベストピント位置の補正が必要な理由について説明する。撮影光学系の最良像面は、球面収差や色収差、非点収差等の影響によって近軸像面からずれた位置に存在する。一方、人の感じる空間周波数帯域と焦点検出に用いる空間周波数帯域とに差があるため、球面収差に因って生まれる空間周波数毎のピント位置変化によって、焦点検出システムにより得られる合焦位置には最良像面との差が生まれる。また、撮像面に配置されるフィルムや撮像素子と、焦点検出システムの受光素子とには分光感度の差があるため、色収差によっても撮影光学系の最良像面と焦点検出システムにより得られる合焦位置とに差が生じる。さらに、焦点検出システムの評価方向が一方向にしか無い場合には、人間が撮像画像の全方向から焦点位置を判別するのに対し差が生まれるため、非点収差によっても撮影光学系の最良像面と焦点検出システムにより得られる合焦位置とに差が生じる。ベストピント補正量は、この差を考慮してフォーカスレンズの駆動量を補正するためのものである。   The reason why the above best focus position correction is necessary will be described. The best image plane of the photographing optical system exists at a position shifted from the paraxial image plane due to the influence of spherical aberration, chromatic aberration, astigmatism and the like. On the other hand, because there is a difference between the spatial frequency band perceived by humans and the spatial frequency band used for focus detection, the focus position obtained by the focus detection system depends on the change in focus position for each spatial frequency caused by spherical aberration. A difference from the best image plane is created. In addition, since there is a difference in spectral sensitivity between the film or image sensor arranged on the imaging surface and the light receiving element of the focus detection system, the focus obtained by the best image plane of the imaging optical system and the focus detection system is also caused by chromatic aberration. There is a difference in position. Furthermore, when the evaluation direction of the focus detection system is only one direction, a difference is produced when a human determines the focus position from all directions of the captured image. Therefore, the best image of the photographing optical system is also caused by astigmatism. There is a difference between the surface and the in-focus position obtained by the focus detection system. The best focus correction amount is for correcting the driving amount of the focus lens in consideration of this difference.

但し、フォーカス駆動前のベストピント補正量を用いてフォーカスレンズの駆動量を演算しても、フォーカスレンズの移動によって撮影光学系の収差が変化する場合がある。この場合、フォーカス駆動前のベストピント補正量とに差が生ずるため、フォーカス駆動後の合焦位置補正を、フォーカス駆動前の位置でのベストピント補正量を用いて行うと、合焦度が十分でなかったり、AFのやり直しが必要になったりする。このため、特許文献1に開示されている撮像装置では、予め焦点検出システムによって得られたフォーカスのデフォーカス量に基づいて、フォーカス駆動の前に、フォーカス駆動後のフォーカスレンズ位置でのベストピント補正量を求める。そして、フォーカス駆動のためのフォーカス駆動量を求める。   However, even if the drive amount of the focus lens is calculated using the best focus correction amount before the focus drive, the aberration of the photographing optical system may change due to the movement of the focus lens. In this case, since there is a difference between the best focus correction amount before the focus drive, if the focus position correction after the focus drive is performed using the best focus correction amount at the position before the focus drive, the degree of focus is sufficient. Or AF may need to be redone. For this reason, in the imaging device disclosed in Patent Document 1, based on the focus defocus amount obtained in advance by the focus detection system, the best focus correction at the focus lens position after the focus drive is performed before the focus drive. Find the amount. Then, a focus drive amount for focus drive is obtained.

特開2008−241733号公報JP 2008-241733 A

しかしながら、従来のコントラスト検出方式による焦点検出システムにおいては、予めフォーカス駆動量を得ることが出来ないため、フォーカス駆動後のベストピント補正量を得ることが出来ない。また、コントラスト検出方式の場合には、最良像面を通り過ぎたフォーカスレンズ位置から、焦点評価値が最大値をとる検出された最良像面までのフォーカス駆動量を求める。しかし、その位置から再度通信を行い、ベストピント補正量を算出すると、焦点検出に時間がかかってしまう。   However, in the conventional focus detection system based on the contrast detection method, since the focus drive amount cannot be obtained in advance, the best focus correction amount after the focus drive cannot be obtained. Further, in the case of the contrast detection method, the focus drive amount from the focus lens position that has passed the best image plane to the detected best image plane having the maximum focus evaluation value is obtained. However, if communication is performed again from that position and the best focus correction amount is calculated, it takes time to detect the focus.

本発明は上述した課題に鑑みてなされたものであり、その目的は、最良像面位置でのベストピント補正量を予測することで、精度良く焦点検出を可能にした撮像装置を提供することである。   The present invention has been made in view of the above-described problems, and an object of the present invention is to provide an imaging apparatus that can accurately detect a focus by predicting the best focus correction amount at the best image plane position. is there.

本発明に係わる撮像装置は、焦点を合わせるために撮影光学系の一部を駆動させる駆動手段を制御する制御手段と、前記撮影光学系により結像された被写体像を光電変換する撮像素子と、前記撮像素子から得られる信号から、焦点評価値を算出する評価値算出手段と、前記焦点評価値から、合焦位置を算出する合焦位置算出手段と、前記合焦位置算出手段により前記合焦位置を算出するより前に、前記撮影光学系の各位置での前記補正量を、撮像装置の撮影パラメータごとの合焦位置の補正量を記憶する補正量記憶手段から取得する取得手段と、前記焦点評価値に基づいて、前記取得手段により前記補正量を取得するか否かを判定する判定手段と、を備え、前記制御手段は、前記合焦位置算出手段により算出された前記合焦位置を、前記取得手段により取得された前記補正量を用いて補正し、前記駆動手段を動作させることを特徴とする。
また、本発明に係わる撮像装置は、焦点を合わせるために撮影光学系の一部を駆動させる駆動手段を制御する制御手段と、前記撮影光学系により結像された被写体像を光電変換する撮像素子と、前記撮像素子から得られる信号から、焦点評価値を取得するスキャン動作を行い、該焦点評価値に基づいて合焦位置を算出する合焦位置算出手段と、前記合焦位置算出手段により前記合焦位置を算出するより前に、前記撮影光学系の各位置での前記補正量を、撮像装置の撮影パラメータごとの合焦位置の補正量を記憶する補正量記憶手段から取得する取得手段と、前記スキャン動作のモードに基づいて、前記取得手段により前記補正量を取得するか否かを判定する判定手段と、を備え、前記制御手段は、前記合焦位置算出手段により算出された前記合焦位置を、前記取得手段により取得された前記補正量を用いて補正し、前記駆動手段を動作させることを特徴とする。
An imaging apparatus according to the present invention includes a control unit that controls a driving unit that drives a part of a photographing optical system to adjust a focus, an imaging element that photoelectrically converts a subject image formed by the photographing optical system, From the signal obtained from the image sensor, an evaluation value calculation unit that calculates a focus evaluation value, a focus position calculation unit that calculates a focus position from the focus evaluation value, and the focus position calculation unit calculates the focus. Acquiring the correction amount at each position of the imaging optical system from a correction amount storage unit that stores the correction amount of the in-focus position for each imaging parameter of the imaging apparatus, before calculating the position; and Determination means for determining whether or not the correction amount is acquired by the acquisition means based on a focus evaluation value, and the control means calculates the focus position calculated by the focus position calculation means. , Get the above It corrected using the correction amount obtained by the step, characterized in that operating the driving unit.
In addition, an imaging apparatus according to the present invention includes a control unit that controls a driving unit that drives a part of a photographing optical system for focusing, and an imaging element that photoelectrically converts a subject image formed by the photographing optical system. A focus position calculating means for performing a scanning operation for obtaining a focus evaluation value from a signal obtained from the image sensor and calculating a focus position based on the focus evaluation value; and An acquisition unit that acquires the correction amount at each position of the photographing optical system from a correction amount storage unit that stores a correction amount of the focusing position for each photographing parameter of the imaging apparatus, before calculating the in-focus position; Determination means for determining whether or not to acquire the correction amount by the acquisition means based on the mode of the scanning operation, and the control means is calculated by the in-focus position calculation means The focus position is corrected using the acquired correction amount by the acquisition unit, and wherein the operating the drive means.

本発明によれば、最良像面位置でのベストピント補正量を予測することで、精度良く焦点検出を可能にした撮像装置を提供することができる。   According to the present invention, it is possible to provide an imaging apparatus that can accurately detect a focus by predicting the best focus correction amount at the best image plane position.

本発明の第1の実施形態に係わる撮像装置の概略構成を示すブロック図。1 is a block diagram showing a schematic configuration of an imaging apparatus according to a first embodiment of the present invention. 第1の実施形態におけるAF動作手順を示すフローチャート。5 is a flowchart showing an AF operation procedure in the first embodiment. 第1の実施形態の第1の方法における焦点評価値とBP補正値の関係を示した図。The figure which showed the relationship between the focus evaluation value and BP correction value in the 1st method of 1st Embodiment. 第1の実施形態の第2の方法における焦点評価値とBP補正値の関係を示した図。The figure which showed the relationship between the focus evaluation value and BP correction value in the 2nd method of 1st Embodiment. 第1の実施形態の第3の方法における焦点評価値とBP補正値の関係を示した図。The figure which showed the relationship between the focus evaluation value and BP correction value in the 3rd method of 1st Embodiment. 第1の実施形態におけるフォーカスレンズ駆動量を示した図。FIG. 5 is a diagram illustrating a focus lens driving amount in the first embodiment. 第2の実施形態におけるAF動作手順を示すフローチャート。9 is a flowchart showing an AF operation procedure in the second embodiment. 第2の実施形態の第1の方法におけるレンズ位置とBP補正値の関係を示した図。The figure which showed the relationship between the lens position and BP correction value in the 1st method of 2nd Embodiment. 第2の実施形態の第2の方法におけるレンズ位置とBP補正値の関係を示した図。The figure which showed the relationship between the lens position and BP correction value in the 2nd method of 2nd Embodiment.

以下、本発明の実施形態について、添付図面を参照して詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

(第1の実施形態)
図1は、本発明の第1の実施形態に係わる焦点調節装置を有する撮像装置の概略構成を示すブロック図である。撮像装置は、例えば、デジタルスチルカメラやデジタルビデオカメラを含むが、これに限るものではない。入射する光学像をエリアセンサなどの2次元配列された固体センサを用いて光電変換により電気的な画像として取得するものであれば、本発明を適用することが可能である。
(First embodiment)
FIG. 1 is a block diagram showing a schematic configuration of an imaging apparatus having a focus adjustment apparatus according to the first embodiment of the present invention. The imaging device includes, for example, a digital still camera and a digital video camera, but is not limited thereto. The present invention can be applied as long as an incident optical image is acquired as an electrical image by photoelectric conversion using a two-dimensionally arranged solid state sensor such as an area sensor.

図1において、Aはカメラ、BはカメラAに対して着脱可能に装着される交換レンズである。2はズームレンズ群、3はフォーカスレンズ群で、撮影光学系31を構成している。4は撮影光学系を透過する光束の量を制御する光量調節手段であり露出手段である絞りである。31はズームレンズ群2、フォーカスレンズ群3、絞り4等を含む撮影光学系(レンズ鏡筒)である。   In FIG. 1, A is a camera, and B is an interchangeable lens that is detachably attached to the camera A. Reference numeral 2 denotes a zoom lens group, and reference numeral 3 denotes a focus lens group, which constitutes a photographing optical system 31. Reference numeral 4 denotes a light amount adjusting means for controlling the amount of light flux that passes through the photographing optical system, and an aperture that is an exposure means. A photographing optical system (lens barrel) 31 includes a zoom lens group 2, a focus lens group 3, a diaphragm 4, and the like.

5は撮影光学系を透過した被写体像が結像し、これを光電変換するCCD等の撮像素子である。撮像素子は、CMOSセンサでも良い。予定結像面の付近には、光学ローパスフィルタ、赤外カットフィルタ、およびCCDセンサ又はCMOSセンサからなる撮像素子を含む撮像素子ユニットが配置されている。また、Lは撮影レンズB内に備えられた撮影光学系31の光軸である。   Reference numeral 5 denotes an image pickup device such as a CCD for photoelectrically converting a subject image that has passed through the photographing optical system. The image sensor may be a CMOS sensor. An image sensor unit including an image sensor composed of an optical low-pass filter, an infrared cut filter, and a CCD sensor or a CMOS sensor is disposed in the vicinity of the planned imaging plane. L is an optical axis of the photographing optical system 31 provided in the photographing lens B.

6は撮像素子5によって光電変換された電気信号を受けて各種の画像処理を施すことにより所定の画像信号を生成する撮像回路を示している。7は撮像回路6により生成されたアナログ画像信号をデジタル画像信号に変換するA/D変換回路である。   Reference numeral 6 denotes an image pickup circuit that receives an electric signal photoelectrically converted by the image pickup device 5 and performs various image processing to generate a predetermined image signal. Reference numeral 7 denotes an A / D conversion circuit that converts an analog image signal generated by the imaging circuit 6 into a digital image signal.

SDRAM8はA/D変換回路7から出力されるデジタル画像信号を一時的に記憶するバッファメモリ等のメモリである。SDRAM8は、撮像素子5の撮像領域の一部領域の出力信号を記録することができる。SDRAM8で記録された出力信号から、カメラCPU15を介して後述するスキャンAF処理回路14で、焦点検出を行うことが出来る。   The SDRAM 8 is a memory such as a buffer memory that temporarily stores a digital image signal output from the A / D conversion circuit 7. The SDRAM 8 can record an output signal of a partial area of the imaging area of the imaging element 5. From the output signal recorded by the SDRAM 8, focus detection can be performed by the scan AF processing circuit 14 described later via the camera CPU 15.

12は半導体メモリ等からなる画像データを記録する記録用メモリである。圧縮回路により圧縮処理や符号化処理が施された画像データ及び再生表示等を行うのに最適な形態に伸長処理を施された画像データが、記録用メモリ12に保存される。   Reference numeral 12 denotes a recording memory that records image data including a semiconductor memory or the like. Image data that has been subjected to compression processing and encoding processing by the compression circuit and image data that has been subjected to decompression processing in an optimal form for performing reproduction display are stored in the recording memory 12.

13はA/D変換回路7からの出力を受けて自動露出(AE)処理を行うAE処理回路である。14はA/D変換回路7からの出力を受けてオートフォーカス(AF)処理を行うスキャンAF処理回路である。   Reference numeral 13 denotes an AE processing circuit that receives an output from the A / D conversion circuit 7 and performs automatic exposure (AE) processing. Reference numeral 14 denotes a scan AF processing circuit that receives an output from the A / D conversion circuit 7 and performs autofocus (AF) processing.

15は撮像装置の制御を行う演算用のメモリを内蔵したカメラCPUである。カメラCPUは、本実施形態では、現在の撮影条件(例えば、フォーカスステート、ズームステート、F値、AF像高等の撮影パラメータ)を記憶する記憶手段をもつ。   Reference numeral 15 denotes a camera CPU with a built-in memory for controlling the image pickup apparatus. In this embodiment, the camera CPU has storage means for storing current shooting conditions (for example, shooting parameters such as a focus state, a zoom state, an F value, and an AF image height).

17は撮像素子ドライバである。40はレンズの制御を行う演算用のメモリを内蔵したレンズCPUである。レンズCPU40は、撮影レンズBがカメラAに装着されると、カメラCPU15と通信を行う。21は絞り4を駆動する絞り駆動モータである。18は絞り駆動モータ21を駆動制御する第1モータ駆動回路である。22はフォーカスレンズ群3を駆動するフォーカス駆動モータである。本実施形態中では、レンズCPU40がフォーカス駆動モータ22を動作させ、レンズ駆動手段を形成する。19はフォーカス駆動モータ22を駆動制御する第2モータ駆動回路である。23はズームスレンズ群2を駆動するズーム駆動モータである。20はズーム駆動モータ23を駆動制御する第3モータ駆動回路である。   Reference numeral 17 denotes an image sensor driver. Reference numeral 40 denotes a lens CPU with a built-in memory for controlling the lens. When the photographing lens B is attached to the camera A, the lens CPU 40 communicates with the camera CPU 15. Reference numeral 21 denotes an aperture drive motor that drives the aperture 4. Reference numeral 18 denotes a first motor driving circuit for driving and controlling the diaphragm driving motor 21. A focus drive motor 22 drives the focus lens group 3. In the present embodiment, the lens CPU 40 operates the focus drive motor 22 to form lens drive means. Reference numeral 19 denotes a second motor drive circuit that drives and controls the focus drive motor 22. A zoom drive motor 23 drives the zoom lens group 2. Reference numeral 20 denotes a third motor drive circuit for driving and controlling the zoom drive motor 23.

25は各種制御等を行うプログラムや各種動作を行わせるために使用するデータ等が予め記憶されている電気的に書き換え可能な読み出し専用メモリであるEEPROMである。   An EEPROM 25 is an electrically rewritable read-only memory in which programs for performing various controls, data used for performing various operations, and the like are stored in advance.

また、操作スイッチ24としては、主電源スイッチ、レリーズスイッチ、再生スイッチ、ズームスイッチ、AF評価値信号のモニターへの表示をON/OFFするためのスイッチ等を含む。主電源スイッチは、カメラAを起動させ、電源供給を行うためのものである。   The operation switch 24 includes a main power switch, a release switch, a reproduction switch, a zoom switch, a switch for turning on / off the display of the AF evaluation value signal on the monitor, and the like. The main power switch is for starting up the camera A and supplying power.

また、レリーズスイッチは、撮影動作(記憶動作)等を開始させる。再生スイッチは、再生動作を開始させる。ズームスイッチは、撮影光学系のズームレンズ群2を移動させズームを行わせる。そして、レリーズスイッチは撮影動作に先立って行われるAE処理、AF処理を開始させる指示信号を発生する第1ストローク(以下SW1)と実際の露光動作を開始させる指示信号を発生する第2ストローク(以下SW2)との二段スイッチにより構成される。   The release switch starts a shooting operation (storage operation) and the like. The reproduction switch starts a reproduction operation. The zoom switch moves the zoom lens group 2 of the photographing optical system to perform zooming. The release switch then performs a first stroke (hereinafter referred to as SW1) for generating an instruction signal for starting an AE process and an AF process performed prior to a photographing operation and a second stroke (hereinafter referred to as an instruction signal for starting an actual exposure operation). SW2) and a two-stage switch.

本実施形態中では、レンズCPU40内のメモリまたは、カメラA側のEEPROM25内に、補正量記憶部を有し、フォーカスステートごとのBP(ベストピント)補正テーブルを記憶している。   In the present embodiment, the memory in the lens CPU 40 or the EEPROM 25 on the camera A side has a correction amount storage unit and stores a BP (best focus) correction table for each focus state.

次に、図2を参照して、上記構成を有する撮像装置の合焦動作(AF動作)について説明する。図2は、撮像装置のAF動作手順を示すフローチャートである。この動作に関する制御プログラムは、カメラCPU15によって実行さる。   Next, the focusing operation (AF operation) of the imaging apparatus having the above configuration will be described with reference to FIG. FIG. 2 is a flowchart illustrating an AF operation procedure of the imaging apparatus. A control program related to this operation is executed by the camera CPU 15.

ステップS1では、カメラCPU15は、カメラ本体に設けられた操作SW24のSW1の操作に応じて、焦点検出を開始し、同時に、レンズCPU40と通信を行う。この初期通信により、例えば、カメラCPU15は装着されたレンズ名(シリアル情報)や撮影光学系の光学情報(例えば、フォーカスレンズ群3のフォーカス敏感度情報)を取得し、レンズCPU40は現撮影条件(例えば、フォーカスステート、ズームステート、F値、AF像高等)を取得する。   In step S1, the camera CPU 15 starts focus detection in accordance with the operation of SW1 of the operation SW 24 provided on the camera body, and simultaneously communicates with the lens CPU 40. Through this initial communication, for example, the camera CPU 15 acquires the name of the attached lens (serial information) and optical information of the photographing optical system (for example, focus sensitivity information of the focus lens group 3), and the lens CPU 40 acquires the current photographing condition ( For example, the focus state, zoom state, F value, AF image height, etc.) are acquired.

ステップS2では、AFスキャン(焦点検出動作)を行う。ここでは、第2モータ駆動回路19を動作させて、フォーカスレンズ3を駆動することで、スキャン駆動回数n回、フォーカスレンズ位置LP[n]でのAFスキャンを行う。   In step S2, AF scan (focus detection operation) is performed. Here, the second motor drive circuit 19 is operated to drive the focus lens 3, thereby performing AF scan at the focus lens position LP [n] for n times of scan drive times.

ステップS3では、第2モータ駆動回路を動作させ、フォーカスレンズ群3をスキャン開始位置からスキャン終了位置まで所定量ずつ移動させる。そして、この所定量ずつの駆動をさせながら、スキャンAF処理回路14により各フォーカスレンズ群の位置LP[n]における、焦点評価値M[n]を計算し、カメラCPU15に記憶していく。この動作は、本実施形態では、焦点評価値算出手段を形成する。   In step S3, the second motor drive circuit is operated to move the focus lens group 3 by a predetermined amount from the scan start position to the scan end position. Then, while driving this predetermined amount, the scan AF processing circuit 14 calculates a focus evaluation value M [n] at the position LP [n] of each focus lens group and stores it in the camera CPU 15. In this embodiment, this operation forms a focus evaluation value calculation unit.

ステップS4では、ステップS2で設定されたループ回数nが2回目以上であるかを判定する。nが2以上であれば、ステップS6に進み、n=1であれば、次のループ演算を開始する。   In step S4, it is determined whether the number of loops n set in step S2 is the second or more. If n is 2 or more, the process proceeds to step S6, and if n = 1, the next loop calculation is started.

ステップS6では、カメラCPU15とレンズCPU40の間でレンズ情報の通信を行い、補正量記憶部のBP(ベストピント)補正値テーブルから、現フォーカスレンズ位置LP[n]でのBP補正量BPを取得する。本動作は、本実施形態での補正量取得手段を形成する。ステップS6の処理では、BP補正値BPを、現フォーカスレンズ位置LP[n]でのBP補正量BP[x]に更新する。   In step S6, lens information is communicated between the camera CPU 15 and the lens CPU 40, and the BP correction amount BP at the current focus lens position LP [n] is obtained from the BP (best focus) correction value table in the correction amount storage unit. To do. This operation forms correction amount acquisition means in the present embodiment. In step S6, the BP correction value BP is updated to the BP correction amount BP [x] at the current focus lens position LP [n].

ステップS6でのxの選択方法について説明する。以下、三通りの方法を示すが、その要旨の範囲内で種々の変形及び変更が可能である。   A method of selecting x in step S6 will be described. Hereinafter, three methods will be described, but various modifications and changes can be made within the scope of the gist.

まず、第1の方法としては、x=n−OPとする。ここで言うOPとは、コントラストAFスキャンを行う際に発生する合焦位置通過後から、フォーカスレンズ停止位置までの行き過ぎ量のことである。図3を用いて図解を行う。   First, as a first method, x = n−OP. OP here refers to the amount of overshoot from the in-focus position to the focus lens stop position that occurs when performing contrast AF scanning. An illustration is given using FIG.

図3(a)は横軸にフォーカスレンズ位置LPをとった際の、焦点評価値Mの変化例を示した図である。図3(b)は、横軸にフォーカスレンズ位置LPをとった際の、レンズ通信によって取得されるべきBP値BP[n]の変化例を示した図である。図中では、各フォーカスレンズ位置に対して、BP補正値BP[n]を持つイメージを記しているが、取得されるBP補正値の情報としては、BP_Cの関数形として、各次数項を記憶しておく形でも構わない。   FIG. 3A is a diagram illustrating an example of a change in the focus evaluation value M when the focus lens position LP is taken on the horizontal axis. FIG. 3B is a diagram illustrating a change example of the BP value BP [n] to be acquired by lens communication when the focus lens position LP is taken on the horizontal axis. In the drawing, an image having a BP correction value BP [n] is shown for each focus lens position, but each order term is stored as a function form of BP_C as information on the acquired BP correction value. It does not matter if you keep it.

今、初期フォーカスレンズ位置がLP1でLP1からLP7の方向にコントラストAFスキャンが行われているとする。すると、フォーカスレンズはI+IIのような動作を行い、合焦位置LP4に戻る。I方向のスキャンの際に、焦点評価値Mは、M[4]付近で最大値をとり、合焦位置付近であるとわかる。しかし、実際には、ノイズ等の影響を加味し、評価値ピークから評価値が何点か下り、焦点評価値カーブAF_Cが、信頼性のある山形状であるかの判定を行ってから、合焦位置まで反転駆動を行う。この時の信頼性判定方法の詳細はここでは述べないが、評価値のゲイン、焦点評価値最大値からの左右の評価値の減少度合等で判定を行うことが考えられる。つまり、コントラストAFスキャンにおいては、図3のII分のフォーカスレンズ行き過ぎ量OPが発生する。この時のOPの量は、上述の信頼性判定によって決定する値であるため、既知の数である。図3では、フォーカスレンズスキャン間隔Pに対してOP=3Pとしている。つまり、3点前の位置でのBP補正値BP[n]を取得していれば、概ね、合焦位置付近のBP補正値[n]を取得可能であるので、x=n−OPとする。このようにして、各フォーカスレンズ位置でのBP補正値取得通信を行うと、図3(c)のようになり、フォーカスレンズLP7でのBP補正値がBP[4]となることで、後述するステップS11でのフォーカスレンズ駆動量計算を正しく行うことが出来る。   Assume that the initial focus lens position is LP1 and the contrast AF scan is performed in the direction from LP1 to LP7. Then, the focus lens performs an operation like I + II and returns to the focus position LP4. When scanning in the I direction, the focus evaluation value M takes the maximum value in the vicinity of M [4] and is found to be in the vicinity of the in-focus position. However, in actuality, after taking into account the influence of noise, etc., after evaluating some points from the evaluation value peak and determining whether the focus evaluation value curve AF_C has a reliable mountain shape, Reverse drive is performed up to the focal position. Although details of the reliability determination method at this time will not be described here, it is conceivable to perform determination based on the gain of the evaluation value, the degree of decrease in the left and right evaluation values from the maximum focus evaluation value, and the like. That is, in the contrast AF scan, the focus lens overshoot amount OP for II in FIG. 3 occurs. Since the amount of OP at this time is a value determined by the above-described reliability determination, it is a known number. In FIG. 3, OP = 3P with respect to the focus lens scan interval P. That is, if the BP correction value BP [n] at the position three points before is acquired, the BP correction value [n] in the vicinity of the in-focus position can be acquired. Therefore, x = n−OP. . In this way, when BP correction value acquisition communication is performed at each focus lens position, as shown in FIG. 3C, the BP correction value at the focus lens LP7 becomes BP [4], which will be described later. The focus lens drive amount calculation in step S11 can be performed correctly.

次に、第2の方法としては、第1の方法からより高精度にBP補正を行うために、フォーカスレンズの駆動方向毎に取得するBP値を変化させるものである。図4を用いて図解を行う。   Next, as a second method, in order to perform BP correction with higher accuracy than the first method, the BP value acquired for each driving direction of the focus lens is changed. An illustration is given using FIG.

図4(a)は横軸にフォーカスレンズ位置LPをとった際の、焦点評価値Mの変化例を示した図である。図4(b)は、横軸にフォーカスレンズ位置LPをとった際の、レンズ通信によって取得されるべきBP補正値BP[n]の変化例を示した図である。図中では、各フォーカスレンズ位置に対して、BP補正値BP[n]を持つイメージを記しているが、BP補正値情報としては、BP_Cの関数形として、各次数項を記憶しておく形でも構わない。   FIG. 4A is a diagram showing a change example of the focus evaluation value M when the focus lens position LP is taken on the horizontal axis. FIG. 4B is a diagram illustrating a change example of the BP correction value BP [n] to be acquired by lens communication when the focus lens position LP is taken on the horizontal axis. In the figure, an image having a BP correction value BP [n] is shown for each focus lens position. However, as the BP correction value information, each order term is stored as a function form of BP_C. It doesn't matter.

BP[n]は、フォーカススキャンの方向が、I方向場合のBP補正値、BP’[n]はフォーカススキャンの方向が、IIの方向の場合のBP補正値を表している。フォーカスレンズの駆動方向に因っては、レンズ面の倒れ、偏心等が光学収差の出方に変化を与え、BP補正値が変化することが考えられる。そのため、第2の方法では、図4(b)のように、BP補正値を、駆動方向毎に持つ。   BP [n] represents a BP correction value when the focus scan direction is the I direction, and BP ′ [n] represents a BP correction value when the focus scan direction is the II direction. Depending on the driving direction of the focus lens, tilting of the lens surface, decentration, etc. may change the way in which optical aberrations occur, and the BP correction value may change. Therefore, in the second method, as shown in FIG. 4B, a BP correction value is provided for each driving direction.

第2の方法でも、第1の方法と同様に、各フォーカスレンズ位置LPでのBP補正値BP[x]を取得していく。第1の方法と異なる点は、コントラストAFスキャン方向と最終レンズ駆動方向が同じか否かで、取得するBP補正値を変化させることにある。図4(a)は、コントラストAFスキャン方向と最終レンズ駆動方向が異なる場合の図解である。通常であれば、図4(a)のようにコントラストAFスキャン方向と最終レンズ駆動方向が異なるが、レンズによっては、レンズ停止位置精度向上のために、レンズを停止させる方向を一方向に限定し、図4(a)中のIIIのような駆動を入れる場合がある。これは、予め既知の情報であり、ステップS1の初期通信の際に取得可能である。   Also in the second method, as in the first method, the BP correction value BP [x] at each focus lens position LP is acquired. The difference from the first method is that the acquired BP correction value is changed depending on whether the contrast AF scan direction and the final lens driving direction are the same. FIG. 4A is an illustration when the contrast AF scan direction is different from the final lens drive direction. Normally, the contrast AF scan direction and the final lens drive direction are different as shown in FIG. 4A. However, depending on the lens, the lens stop direction is limited to one direction in order to improve the lens stop position accuracy. In some cases, a drive like III in FIG. This is known information in advance and can be acquired at the time of initial communication in step S1.

つまり、第2の方法では、x=n−OPとするのに加えて、レンズの駆動方向も考慮して、BP補正値の取得通信を行うことで、より高精度にBP補正値を取得可能である。このようにして、各フォーカスレンズ位置でのBP補正値取得通信を行うと、図4(c)のようになり、フォーカスレンズLP7でのBP補正値がBP’[4]となることで、後述するステップS11でのフォーカスレンズ駆動量計算を正しく行うことが出来る。   That is, in the second method, in addition to x = n−OP, the BP correction value can be acquired with higher accuracy by performing communication for acquiring the BP correction value in consideration of the lens driving direction. It is. In this way, when BP correction value acquisition communication is performed at each focus lens position, as shown in FIG. 4C, the BP correction value at the focus lens LP7 becomes BP ′ [4], which will be described later. The focus lens drive amount calculation in step S11 can be performed correctly.

最後に、第3の方法としては、xを評価値が増加した時のみ現フォーカスレンズ位置nに更新するものである。図2(b)と図5を用いて詳細に説明を行う。   Finally, as a third method, x is updated to the current focus lens position n only when the evaluation value increases. This will be described in detail with reference to FIG. 2B and FIG.

図5(a)は横軸にフォーカスレンズ位置LPをとった際の、焦点評価値Mの変化例を示した図である。図5(b)は、横軸にフォーカスレンズ位置LPをとった際の、レンズ通信によって取得されるべきBP補正値BP[n]の変化例を示した図である。図中では、各フォーカスレンズ位置に対して、BP補正値BP[n]を持つイメージを記しているが、BP補正値情報としては、BP_Cの関数形として、各次数項を記憶しておく形でも構わない。   FIG. 5A is a diagram showing a change example of the focus evaluation value M when the focus lens position LP is taken on the horizontal axis. FIG. 5B is a diagram illustrating a change example of the BP correction value BP [n] to be acquired by lens communication when the focus lens position LP is taken on the horizontal axis. In the figure, an image having a BP correction value BP [n] is shown for each focus lens position. However, as the BP correction value information, each order term is stored as a function form of BP_C. It doesn't matter.

図2(b)を用いて本動作について説明する。まず、ステップS21では、カメラCPU15とレンズCPU40の間でレンズ情報通信を開始する。   This operation will be described with reference to FIG. First, in step S21, lens information communication is started between the camera CPU 15 and the lens CPU 40.

次に、ステップS22では、ステップS3で求めた焦点評価値M[n]が増加しているか否かを判定する。ステップS22で、焦点評価値が増加していると判断された場合には、ステップS23に進み、それ以外の場合には、ステップS24に進む。   Next, in step S22, it is determined whether or not the focus evaluation value M [n] obtained in step S3 has increased. If it is determined in step S22 that the focus evaluation value has increased, the process proceeds to step S23, and otherwise, the process proceeds to step S24.

ステップS23では、x=nとして、BP補正値を現フォーカスレンズ位置nの位置のBP補正値に更新する。ステップS24では、x=n−1として、BP補正値を前回フォーカスレンズ位置でのBP補正値のままとして、更新を行わない。ステップS25で、レンズ情報通信の動作を終了し、ステップS7に戻る。   In step S23, x = n, and the BP correction value is updated to the BP correction value at the current focus lens position n. In step S24, x = n−1, the BP correction value remains the BP correction value at the previous focus lens position, and no update is performed. In step S25, the lens information communication operation is terminated, and the process returns to step S7.

このようにして、各フォーカスレンズ位置に対応するBP補正値取得通信を行うと、図5(c)のようになり、フォーカスレンズLP7でのBP補正値がBP[4]となることで、後述するステップS11でのフォーカスレンズ駆動量計算を正しく行うことが出来る。第3の方法の動作でも、第2の方法のように、レンズの駆動方向毎に異なるBP値を取得しても構わない。   In this way, when BP correction value acquisition communication corresponding to each focus lens position is performed, as shown in FIG. 5C, the BP correction value in the focus lens LP7 becomes BP [4], which will be described later. The focus lens drive amount calculation in step S11 can be performed correctly. Even in the operation of the third method, different BP values may be acquired for each lens driving direction as in the second method.

ステップS7では、スキャンを終了するか否かを判定する。例えば、ステップS3で得られる焦点評価値M[n]の変化が、図3(a)のような変化だった場合、フォーカスレンズ位置LP7(n=7)迄スキャンを行えば、十分に焦点評価値ピークを捉え、合焦位置検出が可能である。信頼性判定方法の詳細はここでは述べないが、評価値のゲイン、焦点評価値最大値からの左右の評価値の減少度合等で、コントラストAFスキャンを終了するか否かの判定を行うことが考えられる。例えば、焦点評価値が三回連続で減少した場合には、AFスキャンを終了する、などとすれば良い。ステップS7でAFスキャン終了と判定された場合には、ステップS2からのループを抜け、ステップS10に進む。ステップS7でAFスキャン終了と判断されなかった場合にはステップS8に進み、繰り返しループ処理を行う。ステップS8は、ステップS2からの繰り返しループ処理である。   In step S7, it is determined whether or not to end scanning. For example, if the change in the focus evaluation value M [n] obtained in step S3 is a change as shown in FIG. 3A, the focus evaluation is sufficient if the scan is performed up to the focus lens position LP7 (n = 7). The focus position can be detected by capturing the value peak. Although details of the reliability determination method will not be described here, it is possible to determine whether or not to end the contrast AF scan based on the evaluation value gain, the degree of decrease in the left and right evaluation values from the maximum focus evaluation value, and the like. Conceivable. For example, when the focus evaluation value decreases three times in succession, the AF scan may be terminated. If it is determined in step S7 that the AF scan has ended, the process exits the loop from step S2 and proceeds to step S10. If it is not determined in step S7 that the AF scan has ended, the process proceeds to step S8, and loop processing is repeatedly performed. Step S8 is an iterative loop process from step S2.

ステップS9では、合焦位置計算を行う。ここでの合焦位置計算とは、ステップS8迄で得られた焦点評価値M[n]の結果から、焦点評価値が最大となるフォーカスレンズ位置LP_Pの位置を算出することである。例えば、焦点評価値M[n]が極大値をとる位置のフォーカスレンズ位置LP[max]をその位置としても良い。また、極大値付近の点を用いて直線補間や、焦点評価値M[n]の変化AF_Cを高次近似して、極大値をとるフォーカスレンズ位置LP_Pを求めるなどとしても良い。   In step S9, the in-focus position is calculated. The in-focus position calculation here is to calculate the position of the focus lens position LP_P that maximizes the focus evaluation value from the result of the focus evaluation value M [n] obtained up to step S8. For example, the focus lens position LP [max] where the focus evaluation value M [n] takes the maximum value may be used as the position. Further, it is also possible to obtain a focus lens position LP_P having a maximum value by linear interpolation using a point near the maximum value or high-order approximation of the change AF_C of the focus evaluation value M [n].

ステップS10では、フォーカスレンズ駆動量LP_M_BPの計算を行う。ここでは、現フォーカスレンズ位置からステップS9で求められたLP_P迄のフォーカスレンズ駆動量LP_Mと、ステップS6で求められたBP補正値BPとの和を計算し、フォーカスレンズ駆動量LP_M_BPを計算する。本動作のLP_Mを算出する動作は、本実施形態中では、合焦位置算出手段を形成する。   In step S10, the focus lens drive amount LP_M_BP is calculated. Here, the sum of the focus lens drive amount LP_M from the current focus lens position to LP_P obtained in step S9 and the BP correction value BP obtained in step S6 is calculated, and the focus lens drive amount LP_M_BP is calculated. In this embodiment, the operation for calculating LP_M of this operation forms a focus position calculation means.

図6のようにAFスキャンがフォーカスレンズ位置LP1からLP7迄進み、LP7の位置でステップS9で求められたフォーカスレンズ位置LP_Pが検出された場合、ステップS11で求められるべきフォーカスレンズ駆動量LP_M_BPは、
LP_M_BP = LP_P−LP7 + BP
となる。
As shown in FIG. 6, when the AF scan advances from the focus lens position LP1 to LP7 and the focus lens position LP_P obtained in step S9 is detected at the position LP7, the focus lens drive amount LP_M_BP to be obtained in step S11 is
LP_M_BP = LP_P-LP7 + BP
It becomes.

ステップS11では、ステップS10で求められたフォーカスレンズ駆動量分、フォーカスレンズを駆動させて、合焦位置でフォーカスレンズを停止させる。   In step S11, the focus lens is driven by the focus lens drive amount obtained in step S10, and the focus lens is stopped at the in-focus position.

以上に示したように、本実施形態では、撮像素子により得られる出力信号の焦点評価値信号または、フォーカスレンズ駆動間隔等によって、最良像面位置でのベストピント補正量を予測し、ベストピント補正量を得る。これにより、再通信を行うことなく、精度良く焦点検出を可能にした撮像装置を提供することが出来る。また、本実施形態中の撮影光学系がズームレンズである場合には、ズームポジションをエンコーダ等のズーム位置検出器によって検出できるようにすると良い。そして、広角端から望遠単までを複数のズームゾーンに分割し、ズームゾーンとフォーカスゾーンに応じたピント補正量を補正量記憶手段に記憶しておけば良い。   As described above, in the present embodiment, the best focus correction amount at the best image plane position is predicted based on the focus evaluation value signal of the output signal obtained by the image sensor or the focus lens driving interval, and the best focus correction. Get quantity. As a result, it is possible to provide an imaging apparatus that enables accurate focus detection without re-communication. Further, when the photographing optical system in the present embodiment is a zoom lens, it is preferable that the zoom position can be detected by a zoom position detector such as an encoder. Then, the range from the wide-angle end to the telephoto unit is divided into a plurality of zoom zones, and a focus correction amount corresponding to the zoom zone and the focus zone may be stored in the correction amount storage means.

また、以上の実施形態では、被写体の合焦状態の変化を、フォーカスレンズの移動により実現したが、合焦状態の変化を実現する方法については、これに限らない。例えば、フォーカスレンズではなくセンサを移動させることにより実現してもよい。また、光線の入射角度情報(ライトフィールド情報)を取得できる撮像装置で、再構成処理により合焦状態の変化を実現してもよい。   In the above embodiment, the change in the focus state of the subject is realized by the movement of the focus lens. However, the method for realizing the change in the focus state is not limited to this. For example, it may be realized by moving a sensor instead of the focus lens. In addition, the imaging apparatus that can acquire the incident angle information (light field information) of the light beam may realize the change of the in-focus state by reconstruction processing.

(第2の実施形態)
以下、図7を参照して、本発明の第2の実施形態について説明する。第1の実施形態との主な違いは、ステップS5に設けられたレンズ通信を行うか否かの判定が入ることにある。上述の第1の実施形態では、レンズ位置ごとにBP補正値取得通信を行う必要があったため、通信に時間がかかり、AFスキャンが遅くなる可能性があった。また、BP補正値の取得通信が必要となるのは、合焦位置付近のみであるため、レンズ位置ごとのBP補正値取得通信を行わなくても良い。
(Second Embodiment)
Hereinafter, a second embodiment of the present invention will be described with reference to FIG. The main difference from the first embodiment is that it is determined whether or not to perform lens communication provided in step S5. In the first embodiment described above, since it is necessary to perform BP correction value acquisition communication for each lens position, there is a possibility that communication takes time and AF scanning is delayed. Further, since BP correction value acquisition communication is required only in the vicinity of the in-focus position, it is not necessary to perform BP correction value acquisition communication for each lens position.

よって、第2の実施形態では、BP取得通信が必要であるか否かを判定し、必要な場合のみ、前述したステップS6以降のBP取得通信を行うことで、第1の実施形態よりも高速にAFスキャンが可能となる。   Therefore, in the second embodiment, it is determined whether or not the BP acquisition communication is necessary, and only when necessary, the BP acquisition communication after step S6 described above is performed, so that it is faster than the first embodiment. In addition, AF scanning becomes possible.

なお、第1の実施形態における図2のAFスキャンを説明するフローチャートと、ステップS5以外は同様の動作を行うため、動作の詳細な説明は省略する。   Since the same operation is performed except for step S5 and the flowchart for explaining the AF scan of FIG. 2 in the first embodiment, detailed description of the operation is omitted.

第2の実施形態で行う処理内容が、第1の実施形態とは異なる図7のステップS5で行うレンズ通信を行うか否かの判定方法について、図8を用いて説明する。   A method for determining whether or not to perform lens communication performed in step S5 of FIG. 7 in which the processing content performed in the second embodiment is different from that in the first embodiment will be described with reference to FIG.

ステップS5では、BP補正値取得通信を行うか否かを判定する。ここでの、BP補正値取得通信とは、レンズ側に、BP補正値が記憶されている場合には、カメラCPU15がレンズCPU40からBP補正値を取得するための通信である。他のケースとしては、カメラ側EEPROM25にBP補正値が記憶されている場合には、カメラCPU15がEEPROM8からBP補正値を取得するための通信となる。BP補正値が記憶されているメモリから、BP補正値を取得するための通信である。尚、ステップS5の動作は、本実施形態中の補正決定手段を形成する。   In step S5, it is determined whether to perform BP correction value acquisition communication. Here, the BP correction value acquisition communication is communication for the camera CPU 15 to acquire a BP correction value from the lens CPU 40 when the BP correction value is stored on the lens side. As another case, when the BP correction value is stored in the camera-side EEPROM 25, the communication for the camera CPU 15 to acquire the BP correction value from the EEPROM 8 is performed. This is communication for obtaining a BP correction value from a memory in which the BP correction value is stored. Note that the operation in step S5 forms the correction determining means in the present embodiment.

BP補正値取得通信の有無選択方法としては、例えば、ステップS4で計算される焦点評価値が増加していれば(変化量に基づいて)、レンズ通信を行うと判断する。例えば、図5(a)のように、焦点評価値M[n]が取得されていた場合、フォーカスレンズ位置LP1からLP4までは、前回フォーカスレンズ位置での評価値M[n]よりも現フォーカスレンズ位置での焦点評価値Mが増加している。一方、フォーカスレンズ位置LP5からLP7までは、減少している。つまり、LP5以降は、BP補正値取得通信を行う必要が無いと判断されるので、各フォーカスレンズ位置LPでのBP補正値取得通信の必要有無は図8のようになる。第1の実施形態ではレンズ位置ごとに、n=7回のBP補正値取得通信が必要であったが、第2実施形態では、4回の通信で済む。尚、通信を行わない位置でのBP補正値は、最後に得られたBP補正値を取得しておけば良いので、フォーカスレンズ位置LP5以降は、最後にレンズ取得通信を行って取得されたBP[4]を補正値として使用すれば良い。   As a method for selecting the presence or absence of BP correction value acquisition communication, for example, if the focus evaluation value calculated in step S4 is increased (based on the amount of change), it is determined that lens communication is performed. For example, as shown in FIG. 5A, when the focus evaluation value M [n] has been acquired, the focus lens positions LP1 to LP4 are more focused than the evaluation value M [n] at the previous focus lens position. The focus evaluation value M at the lens position increases. On the other hand, the focus lens positions LP5 to LP7 are decreased. That is, since it is determined that it is not necessary to perform BP correction value acquisition communication after LP5, the necessity of BP correction value acquisition communication at each focus lens position LP is as shown in FIG. In the first embodiment, n = 7 BP correction value acquisition communication is required for each lens position, but in the second embodiment, four communication operations are sufficient. As the BP correction value at the position where communication is not performed, it is only necessary to acquire the BP correction value obtained at the end. Therefore, after the focus lens position LP5, the BP correction value acquired through the lens acquisition communication is finally acquired. [4] may be used as a correction value.

他にも、焦点評価値がある閾値K以上であれば、合焦位置に近いとして、レンズ通信を行うとしても良い。この時の焦点評価値は、被写体による値変化が無いことが望ましいので、焦点評価値Mを撮像素子信号の最大値―最小値で正規化するなどとしておくことが望ましい。図9(a)のように閾値Kが設定されていたとすると、BP補正値取得通信は、焦点評価値MがKを超えるフォーカスレンズ位置LP3,LP4,LP5でしか行わないので、BP通信の有無と使用されるBPの関係は図9(b)のようになる。この場合にも、7回のBP取得通信が必要であった第1の実施形態に対して、3回の通信回数でBP補正が可能となるので、通信時間を削減でき、AFスキャンを高速に行うことが出来る。同様に、焦点評価値M[n]の一次微分量が少なくなったら、合焦位置に近いとして、通信を行うようにしても良い。   In addition, if the focus evaluation value is equal to or greater than a certain threshold value K, it is possible to perform lens communication assuming that the focus position is close. Since it is desirable that the focus evaluation value at this time does not change depending on the subject, it is desirable to normalize the focus evaluation value M by the maximum value-minimum value of the image sensor signal. If the threshold value K is set as shown in FIG. 9A, the BP correction value acquisition communication is performed only at the focus lens positions LP3, LP4, and LP5 where the focus evaluation value M exceeds K. The relationship between BP and used BP is as shown in FIG. In this case as well, the BP correction can be performed with the number of times of communication three times compared to the first embodiment that required seven times of BP acquisition communication, so the communication time can be reduced and the AF scan can be performed at high speed. Can be done. Similarly, when the primary differential amount of the focus evaluation value M [n] decreases, communication may be performed assuming that the focus evaluation value M [n] is close to the in-focus position.

また、カメラCPU15に記憶されているAFスキャンモードによって判定しても良い。スキャンモードによる判定を行う際には、粗スキャン(スキャン開始位置から終了位置まで、大まかに焦点位置を探すAFスキャン)の場合には、最終焦点検出を行わないのでレンズ通信を行わず、密スキャン(粗スキャンで見つけた焦点位置付近を、フォーカスレンズを細かく動かして焦点位置を探すAFスキャン)の場合には、レンズ通信を行うようにしても良い。また、SW1前はレンズ通信を行わないという判定を加えても良い。   Alternatively, the determination may be made based on the AF scan mode stored in the camera CPU 15. When performing the determination in the scan mode, in the case of a rough scan (AF scan that roughly finds the focus position from the scan start position to the end position), the final focus detection is not performed, so the lens communication is not performed and the fine scan is performed. In the case of (AF scan in which the focus lens is finely moved to find the focus position in the vicinity of the focus position found by the coarse scan), lens communication may be performed. Further, it may be determined that lens communication is not performed before SW1.

ステップS5で通信を行うと判断された場合には、ステップS6に進み、BP取得通信を行い、レンズ通信を行わないと判断した場合には、ステップS17に進む。   If it is determined in step S5 that communication is performed, the process proceeds to step S6, and BP acquisition communication is performed. If it is determined that lens communication is not performed, the process proceeds to step S17.

以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。   As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to these embodiment, A various deformation | transformation and change are possible within the range of the summary.

(その他の実施形態)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
(Other embodiments)
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

Claims (11)

焦点を合わせるために撮影光学系の一部を駆動させる駆動手段を制御する制御手段と、
前記撮影光学系により結像された被写体像を光電変換する撮像素子と、
前記撮像素子から得られる信号から、焦点評価値を算出する評価値算出手段と、
前記焦点評価値から、合焦位置を算出する合焦位置算出手段と、
前記合焦位置算出手段により前記合焦位置を算出するより前に、前記撮影光学系の各位置での前記補正量を、撮像装置の撮影パラメータごとの合焦位置の補正量を記憶する補正量記憶手段から取得する取得手段と、
前記焦点評価値に基づいて、前記取得手段により前記補正量を取得するか否かを判定する判定手段と、を備え、
前記制御手段は、前記合焦位置算出手段により算出された前記合焦位置を、前記取得手段により取得された前記補正量を用いて補正し、前記駆動手段を動作させることを特徴とする撮像装置。
Control means for controlling drive means for driving a part of the photographing optical system for focusing;
An image sensor that photoelectrically converts a subject image formed by the imaging optical system;
Evaluation value calculation means for calculating a focus evaluation value from a signal obtained from the image sensor;
A focus position calculating means for calculating a focus position from the focus evaluation value;
Before calculating the in-focus position by the in-focus position calculating means, the correction amount at each position of the imaging optical system is stored as the correction amount for the in-focus position for each imaging parameter of the imaging apparatus. Obtaining means for obtaining from the storage means;
Determination means for determining whether or not to acquire the correction amount by the acquisition means based on the focus evaluation value ;
Said control means, said in-focus position calculated by said focus position calculating means, corrected using the obtained the amount of correction by the acquisition unit, shooting you characterized by operating the drive means Image device.
前記判定手段は、前記焦点評価値が所定の閾値より大きい場合に、前記補正量を取得すると判定することを特徴とする請求項に記載の撮像装置。 The imaging apparatus according to claim 1 , wherein the determination unit determines to acquire the correction amount when the focus evaluation value is greater than a predetermined threshold. 前記判定手段は、前記焦点評価値の変化量に基づいて、前記補正量を取得するか否かを判定することを特徴とする請求項に記載の撮像装置。 The imaging apparatus according to claim 1 , wherein the determination unit determines whether or not to acquire the correction amount based on a change amount of the focus evaluation value. 焦点を合わせるために撮影光学系の一部を駆動させる駆動手段を制御する制御手段と、
前記撮影光学系により結像された被写体像を光電変換する撮像素子と、
前記撮像素子から得られる信号から、焦点評価値を取得するスキャン動作を行い、該焦点評価値に基づいて合焦位置を算出する合焦位置算出手段と、
前記合焦位置算出手段により前記合焦位置を算出するより前に、前記撮影光学系の各位置での前記補正量を、撮像装置の撮影パラメータごとの合焦位置の補正量を記憶する補正量記憶手段から取得する取得手段と、
前記スキャン動作のモードに基づいて、前記取得手段により前記補正量を取得するか否かを判定する判定手段と、を備え、
前記制御手段は、前記合焦位置算出手段により算出された前記合焦位置を、前記取得手段により取得された前記補正量を用いて補正し、前記駆動手段を動作させることを特徴とする撮像装置。
Control means for controlling drive means for driving a part of the photographing optical system for focusing;
An image sensor that photoelectrically converts a subject image formed by the imaging optical system;
A focus position calculating means for performing a scanning operation for acquiring a focus evaluation value from a signal obtained from the image sensor and calculating a focus position based on the focus evaluation value;
Before calculating the in-focus position by the in-focus position calculating means, the correction amount at each position of the imaging optical system is stored as the correction amount for the in-focus position for each imaging parameter of the imaging apparatus. Obtaining means for obtaining from the storage means;
Determination means for determining whether or not the correction amount is acquired by the acquisition means based on the mode of the scanning operation ;
Said control means, said in-focus position calculated by said focus position calculating means, corrected using the obtained the amount of correction by the acquisition unit, shooting you characterized by operating the drive means Image device.
前記取得手段は、現在の前記撮影光学系の位置とは異なる前記撮影光学系の位置に対応する前記補正量を取得することを特徴とする請求項1乃至のいずれか1項に記載の撮像装置。 It said acquisition means, image pickup according to any one of claims 1 to 4, characterized in that obtaining the correction amount corresponding to the position of different ones of the photographic optical system of the position of the current of the imaging optical system apparatus. 前記取得手段は、前記焦点評価値の変化に基づいて、前記補正量として、現在の前記撮影光学系の位置に対応する補正量を取得するか否かを判定することを特徴とする請求項1乃至のいずれか1項に記載の撮像装置。 The acquisition unit determines whether or not to acquire a correction amount corresponding to a current position of the photographing optical system as the correction amount based on a change in the focus evaluation value. 5. The imaging device according to any one of items 4 to 4 . 前記補正量記憶手段は、前記駆動手段の駆動方向ごとに、前記補正量を記憶していることを特徴とする請求項1乃至のいずれか1項に記載の撮像装置。 The correction amount storage means for each drive direction of the drive means, the imaging apparatus according to any one of claims 1 to 6, characterized in that for storing the correction amount. 撮影光学系により結像された被写体像を光電変換する撮像素子を備える撮像装置を制御する方法であって、A method for controlling an image pickup apparatus including an image pickup device that photoelectrically converts a subject image formed by a photographing optical system,
前記撮像素子から得られる信号から、焦点評価値を算出する評価値算出工程と、An evaluation value calculation step of calculating a focus evaluation value from a signal obtained from the image sensor;
前記焦点評価値から、合焦位置を算出する合焦位置算出工程と、An in-focus position calculating step of calculating an in-focus position from the focus evaluation value;
前記合焦位置算出工程において前記合焦位置を算出するより前に、前記撮影光学系の各位置での前記補正量を、撮像装置の撮影パラメータごとの合焦位置の補正量を記憶する補正量記憶手段から取得する取得工程と、Before calculating the in-focus position in the in-focus position calculating step, the correction amount for each position of the imaging optical system is stored as the correction amount for the in-focus position for each imaging parameter of the imaging apparatus. An acquisition step of acquiring from the storage means;
前記焦点評価値に基づいて、前記取得工程において前記補正量を取得するか否かを判定する判定工程と、A determination step of determining whether or not to acquire the correction amount in the acquisition step based on the focus evaluation value;
焦点を合わせるために前記撮影光学系の一部を駆動させる駆動手段を制御する制御工程と、を有し、A control step of controlling a driving means for driving a part of the photographing optical system for focusing, and
前記制御工程では、前記合焦位置算出工程において算出された前記合焦位置を、前記取得工程において取得された前記補正量を用いて補正し、前記駆動手段を動作させることを特徴とする撮像装置の制御方法。In the control step, the in-focus position calculated in the in-focus position calculation step is corrected using the correction amount acquired in the acquisition step, and the driving unit is operated. Control method.
前記撮影光学系により結像された被写体像を光電変換する撮像素子を備える撮像装置を制御する方法であって、A method for controlling an imaging device including an imaging device that photoelectrically converts a subject image formed by the imaging optical system,
前記撮像素子から得られる信号から、焦点評価値を取得するスキャン動作を行い、該焦点評価値に基づいて合焦位置を算出する合焦位置算出工程と、A focus position calculation step of performing a scan operation for acquiring a focus evaluation value from a signal obtained from the image sensor, and calculating a focus position based on the focus evaluation value;
前記合焦位置算出工程において前記合焦位置を算出するより前に、前記撮影光学系の各位置での前記補正量を、撮像装置の撮影パラメータごとの合焦位置の補正量を記憶する補正量記憶手段から取得する取得工程と、Before calculating the in-focus position in the in-focus position calculating step, the correction amount for each position of the imaging optical system is stored as the correction amount for the in-focus position for each imaging parameter of the imaging apparatus. An acquisition step of acquiring from the storage means;
前記スキャン動作のモードに基づいて、前記取得手段により前記補正量を取得するか否かを判定する判定工程と、A determination step of determining whether or not to acquire the correction amount by the acquisition unit based on a mode of the scan operation;
焦点を合わせるために撮影光学系の一部を駆動させる駆動手段を制御する制御工程と、を有し、And a control step for controlling a driving means for driving a part of the photographing optical system for focusing.
前記制御工程では、前記合焦位置算出工程において算出された前記合焦位置を、前記取得工程において取得された前記補正量を用いて補正し、前記駆動手段を動作させることを特徴とする撮像装置。In the control step, the in-focus position calculated in the in-focus position calculation step is corrected using the correction amount acquired in the acquisition step, and the driving unit is operated. .
請求項8または9に記載の制御方法の各工程をコンピュータに実行させるためのプログラム。 The program for making a computer perform each process of the control method of Claim 8 or 9. 請求項8または9に記載の制御方法の各工程をコンピュータに実行させるためのプログラムを記憶したコンピュータが読み取り可能な記憶媒体。 A computer-readable storage medium storing a program for causing a computer to execute each step of the control method according to claim 8 or 9.
JP2014046759A 2014-03-10 2014-03-10 Imaging apparatus, control method therefor, program, and storage medium Active JP6351310B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014046759A JP6351310B2 (en) 2014-03-10 2014-03-10 Imaging apparatus, control method therefor, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014046759A JP6351310B2 (en) 2014-03-10 2014-03-10 Imaging apparatus, control method therefor, program, and storage medium

Publications (3)

Publication Number Publication Date
JP2015169907A JP2015169907A (en) 2015-09-28
JP2015169907A5 JP2015169907A5 (en) 2017-04-13
JP6351310B2 true JP6351310B2 (en) 2018-07-04

Family

ID=54202649

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014046759A Active JP6351310B2 (en) 2014-03-10 2014-03-10 Imaging apparatus, control method therefor, program, and storage medium

Country Status (1)

Country Link
JP (1) JP6351310B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108885384B (en) * 2016-05-27 2020-08-25 深圳市莫孚康技术有限公司 Image focusing system and method based on laser radar ranging

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2756197B2 (en) * 1991-04-17 1998-05-25 株式会社三協精機製作所 Automatic focusing device
JP4848618B2 (en) * 2004-02-03 2011-12-28 カシオ計算機株式会社 Electronic camera device and focus information correction method
JP4700993B2 (en) * 2005-04-11 2011-06-15 キヤノン株式会社 Imaging device
JP4863441B2 (en) * 2005-08-09 2012-01-25 キヤノン株式会社 Imaging apparatus and control method thereof
JP4989977B2 (en) * 2007-01-05 2012-08-01 株式会社エルモ社 Focus adjustment apparatus, photographing apparatus, and focus adjustment method
JP2008176113A (en) * 2007-01-19 2008-07-31 Nikon Corp Focus detecting device and camera
JP2008241733A (en) * 2007-03-23 2008-10-09 Canon Inc Imaging apparatus
JP5020865B2 (en) * 2008-03-12 2012-09-05 キヤノン株式会社 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND IMAGING DEVICE CONTROL PROGRAM
JP2010096994A (en) * 2008-10-16 2010-04-30 Sanyo Electric Co Ltd Electronic camera
JP2010122410A (en) * 2008-11-19 2010-06-03 Ricoh Co Ltd Imaging apparatus and imaging method
JP5523143B2 (en) * 2010-02-25 2014-06-18 オリンパスイメージング株式会社 Imaging apparatus and automatic focusing method
JP2011248181A (en) * 2010-05-28 2011-12-08 Hitachi Ltd Imaging apparatus
JP5769979B2 (en) * 2011-02-14 2015-08-26 株式会社シグマ Camera or camera system having backlash correction function
JP2013003301A (en) * 2011-06-15 2013-01-07 Nec Casio Mobile Communications Ltd Imaging device, optical adjustment method and program
JP2013029656A (en) * 2011-07-28 2013-02-07 Sanyo Electric Co Ltd Image pickup apparatus
JP5889010B2 (en) * 2012-01-31 2016-03-22 キヤノン株式会社 Imaging apparatus and control method thereof
JP6171273B2 (en) * 2012-06-21 2017-08-02 リコーイメージング株式会社 Autofocus device and digital camera

Also Published As

Publication number Publication date
JP2015169907A (en) 2015-09-28

Similar Documents

Publication Publication Date Title
JP4946337B2 (en) Autofocus device and camera
US20110292272A1 (en) Imaging apparatus, imaging system, and imaging apparatus control method and program
US9674420B2 (en) Lens apparatus and image capturing apparatus
JP5637776B2 (en) Optical equipment
WO2018096816A1 (en) Focus adjustment device, control method for focus adjustment device, and storage medium on which focus adjustment program is recorded
US9509899B2 (en) Camera system and method for correcting focus detection pixel
US20190238756A1 (en) Imaging apparatus having autofocus function, and focus adjustment method therefor
JP5056168B2 (en) Focus adjustment device and imaging device
JP6478534B2 (en) Focus control device, imaging device, interchangeable lens, focus control method, and focus control program
US9769376B2 (en) Imaging device, imaging device body, and lens barrel
JP6838894B2 (en) Focus control device, its control method and program
JP2008170507A (en) Imaging apparatus and automatic focusing method
JP6381434B2 (en) FOCUS CONTROL DEVICE, OPTICAL DEVICE, AND FOCUS CONTROL METHOD
JP2019184711A5 (en) Control devices, optical instruments, imaging devices and control methods
US11092774B2 (en) Lens apparatus, image capturing apparatus, control method of lens apparatus, and control method of image capturing apparatus
JP6351310B2 (en) Imaging apparatus, control method therefor, program, and storage medium
JP2009069740A (en) Image pickup device
JP6624789B2 (en) Focus control device, control method thereof, control program, and imaging device
JP4900134B2 (en) Focus adjustment device, camera
JP4562170B2 (en) Focus control device and optical apparatus
JP5447549B2 (en) Focus adjustment device and imaging device
JP5454546B2 (en) Autofocus device
JP6902921B2 (en) Imaging equipment, control methods, and programs
JP2011029719A5 (en)
JP6929145B2 (en) Imaging equipment, imaging methods and programs

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170307

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170307

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171020

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171102

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171227

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180605

R151 Written notification of patent or utility model registration

Ref document number: 6351310

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151