JP2016142895A - Focusing control device, control method of the same, and control program thereof, as well as imaging device - Google Patents

Focusing control device, control method of the same, and control program thereof, as well as imaging device Download PDF

Info

Publication number
JP2016142895A
JP2016142895A JP2015018304A JP2015018304A JP2016142895A JP 2016142895 A JP2016142895 A JP 2016142895A JP 2015018304 A JP2015018304 A JP 2015018304A JP 2015018304 A JP2015018304 A JP 2015018304A JP 2016142895 A JP2016142895 A JP 2016142895A
Authority
JP
Japan
Prior art keywords
focus
reliability
lens
control
phase difference
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
JP2015018304A
Other languages
Japanese (ja)
Other versions
JP2016142895A5 (en
JP6624789B2 (en
Inventor
正晃 上西
Masaaki Uenishi
正晃 上西
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 JP2015018304A priority Critical patent/JP6624789B2/en
Publication of JP2016142895A publication Critical patent/JP2016142895A/en
Publication of JP2016142895A5 publication Critical patent/JP2016142895A5/ja
Application granted granted Critical
Publication of JP6624789B2 publication Critical patent/JP6624789B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To implement a stable AF control at any time in a hybrid AF using a contrast AF and phase difference AF.SOLUTION: Under a control of a system control unit 208, an imaging plane phase difference focus detection unit 213 is configured to detect a focusing position of a subject as a first focus position by an imaging plane phase difference AF, and a contrast AF focus detection unit 214 is configured to detect a focusing position of the subject as a second focusing position by a contrast AF. The system control unit is configured to obtain reliability of the first focus position in accordance with a matching level of a pair of images obtained corresponding to the imaging plane phase difference AF; and cause an amount of movement and a movement direction upon moving a focus lens along an optical axis to be changed on the basis of the reliability.SELECTED DRAWING: Figure 3

Description

本発明は、合焦制御装置、その制御方法、および制御プログラム、並びに撮像装置に関し、特に、焦点検出制御にコントラストAFおよび位相差AFを用いる合焦制御装置に関する。   The present invention relates to a focus control device, a control method thereof, a control program, and an imaging device, and more particularly to a focus control device that uses contrast AF and phase difference AF for focus detection control.

一般に、撮像装置で用いられる焦点検出調節手法として、コントラストAFおよび位相差AFが知られている。コントラストAFはビデオカメラおよびデジタルスチルカメラなどの撮像装置で一般に用いられるAF手法である。コントラストAFにおいては、フォーカスレンズを光軸に沿って移動させつつ、撮像素子から得られる輝度信号の高域周波数成分(以下焦点評価値と呼ぶ)を生成する。そして、当該焦点評価値が最も大きくなるフォーカスレンズの位置を合焦位置とする。   In general, contrast AF and phase difference AF are known as focus detection adjustment techniques used in an imaging apparatus. Contrast AF is an AF method that is generally used in imaging devices such as video cameras and digital still cameras. In contrast AF, a high frequency component (hereinafter referred to as a focus evaluation value) of a luminance signal obtained from the image sensor is generated while moving the focus lens along the optical axis. Then, the position of the focus lens where the focus evaluation value is the largest is set as the focus position.

一方、位相差AFは一眼レフカメラにおいて一般的に用いられるAF手法である。位相差AFにおいては、2次結像光学系を有する焦点検出部が用いられる。当該焦点検出部は、撮影光学系の射出瞳を通過した光束を2つの領域に分割する瞳分割部を備えており、2分割された光束はミラーボックスに配置された光路分割部を介して、2次結像光学系によって一組の焦点検出用センサに結像される。   On the other hand, phase difference AF is an AF method generally used in a single-lens reflex camera. In the phase difference AF, a focus detection unit having a secondary imaging optical system is used. The focus detection unit includes a pupil division unit that divides a light beam that has passed through the exit pupil of the photographing optical system into two regions, and the two divided light beams pass through an optical path division unit arranged in a mirror box, The secondary imaging optical system forms an image on a set of focus detection sensors.

焦点検出用センサの受光量に応じて出力される像信号のずれ量、つまり、瞳分割方向の相対的位置ずれ量を検出して、これによって、撮影光学系のピント方向のずれ量を算出する。焦点検出用センサによって一度蓄積動作を行なえば、ピントのずれ量とピント位置の方向が同時に得られ、高速に焦点調節動作を行うことができる。そして、焦点検出後の撮影の際には、光路分割部を撮影光束(つまり、光軸)の外に退避させて、撮像素子の露光を行って撮影画像を得る。   The amount of deviation of the image signal output according to the amount of light received by the focus detection sensor, that is, the amount of relative positional deviation in the pupil division direction is detected, and thereby the amount of deviation in the focus direction of the photographing optical system is calculated. . Once the accumulation operation is performed by the focus detection sensor, the focus shift amount and the direction of the focus position can be obtained simultaneously, and the focus adjustment operation can be performed at high speed. Then, at the time of photographing after focus detection, the optical path dividing unit is retracted outside the photographing light beam (that is, the optical axis), and the image sensor is exposed to obtain a photographed image.

ところで、位相差AFにおいて、近年、撮像素子を用いた撮像面位相差AFが用いられている。撮像面位相差AFにおいては、撮像素子の画素をマイクロレンズ(ML)で射出瞳を瞳分割して、複数の焦点検出用画素によって光束を受光することによって、撮像を行うとともに焦点検出を行う。   Incidentally, in the phase difference AF, in recent years, an imaging surface phase difference AF using an imaging element has been used. In the imaging plane phase difference AF, the pixels of the imaging element are divided into pupils by the microlens (ML), and the light beam is received by a plurality of focus detection pixels to perform imaging and focus detection.

例えば、一画素において、1つのマイクロレンズで集光されるフォトダイオードを分割して、各フォトダイオードが撮像レンズの異なる瞳面の光を受光するように構成する。そして、2つのフォトダイオードの出力を比較することによって撮像面位相差AFを行うようにしたものがある(特許文献1参照)。   For example, in one pixel, photodiodes collected by one microlens are divided so that each photodiode receives light from a different pupil plane of the imaging lens. In addition, there is one in which imaging plane phase difference AF is performed by comparing outputs of two photodiodes (see Patent Document 1).

さらに、撮像素子の一部の受光用画素において、オンチップマイクロレンズの光軸に対して受光部の感度領域を偏心させて瞳分割を付与するようにしたものがある(特許文献2参照)。ここでは、これらの画素を焦点検出用画素として、撮影用画素群の間に所定の間隔で焦点検出用画素を配置して、撮像面位相差AFを行う。ここで、焦点検出用画素が配置された箇所は撮影用画素の欠損部に相当するので、画像生成の際には、周辺の撮影用画素によって補間処理を行って画像を生成する。   Further, in some of the light receiving pixels of the image sensor, there is a pixel in which the sensitivity region of the light receiving unit is decentered with respect to the optical axis of the on-chip microlens to provide pupil division (see Patent Document 2). Here, using these pixels as focus detection pixels, focus detection pixels are arranged at predetermined intervals between the imaging pixel groups, and imaging plane phase difference AF is performed. Here, since the location where the focus detection pixels are arranged corresponds to a missing portion of the shooting pixels, when an image is generated, an interpolation process is performed with the surrounding shooting pixels to generate an image.

ところで、撮像面位相差AF方においては、撮像面で位相差AFを行うので、撮像面位相差AFとともに、前述のコントラストAFを行うことができる(以下ハイブリッドAFと呼ぶ)。ハイブリッドAFを用いるとコントラストAFおよび位相差AFの長所を活かすことができる。   By the way, in the imaging plane phase difference AF method, since the phase difference AF is performed on the imaging plane, the above-described contrast AF can be performed together with the imaging plane phase difference AF (hereinafter referred to as hybrid AF). When hybrid AF is used, the advantages of contrast AF and phase difference AF can be utilized.

例えば、位相差AFの検出結果の信頼性が高い場合には、位相差AFで検出したずれ量に基づいて合焦制御を行う。一方、被写体についてピント方向しか分からないような信頼性が低い場合には、位相差AFにおける検出のピント方向にフォーカスレンズを駆動しつつコントラストAFを行って高速にAF制御を行う(特許文献3参照)。   For example, when the reliability of the detection result of phase difference AF is high, focusing control is performed based on the amount of deviation detected by phase difference AF. On the other hand, when the reliability is low so that only the focus direction is known for the subject, contrast AF is performed while driving the focus lens in the focus direction of detection in phase difference AF, and AF control is performed at high speed (see Patent Document 3). ).

さらに、フォーカスレンズを一定の方向に駆動させている間に、位相差AFによって検出したデフォーカス量の信頼度が上昇から下降に転じた際においてコントラストAFの焦点評価値が上昇を続けていれば、フォーカスレンズの駆動を継続して位相差AFの偽合焦を抑制するようにしたものがある(特許文献4参照)。   Furthermore, if the focus evaluation value of the contrast AF continues to increase when the reliability of the defocus amount detected by the phase difference AF changes from increasing to decreasing while the focus lens is driven in a certain direction. There is one in which the focus lens is continuously driven to suppress false focusing of the phase difference AF (see Patent Document 4).

特開2001−83407号公報JP 2001-83407 A 特開2009−3122号公報JP 2009-3122 A 特開2013−37101号公報JP2013-37101A 特開2014−202799号公報JP 2014-202799 A

ところが、特許文献3に記載の手法では、位相差AFによる検出結果の信頼性が低い場合において、検出の結果得られた合焦方向が頻繁に反転するとAF動作が不安定になってしまう。そして、位相差AFとともに行われているコントラストAFの動作に影響を与えてしまう。   However, in the method described in Patent Document 3, when the reliability of the detection result by the phase difference AF is low, the AF operation becomes unstable if the focusing direction obtained as a result of the detection is frequently reversed. Then, the contrast AF operation performed together with the phase difference AF is affected.

特許文献4に記載の手法においても、コントラストAFの焦点評価値が上昇を継続しないと、位相差AFによって検出したデフォーカス量の信頼度が上昇から下降に転じた場合には合焦方向が反転してしまう。この場合には、AF動作が不安定になってしまう。   Even in the method described in Patent Document 4, if the focus evaluation value of contrast AF does not continue to increase, the focus direction is reversed when the reliability of the defocus amount detected by phase difference AF changes from increase to decrease. Resulting in. In this case, the AF operation becomes unstable.

従って、本発明の目的は、コントラストAFおよび位相差AFを用いたハイブリッドAFにおいて、常に安定的にAF制御を行うことができる合焦制御装置、その制御方法、および制御プログラム、並びに撮像装置を提供することにある。   Accordingly, an object of the present invention is to provide a focus control device, a control method thereof, a control program, and an imaging device capable of always stably performing AF control in hybrid AF using contrast AF and phase difference AF. There is to do.

上記の目的を達成するため、本発明による合焦制御装置は、撮像光学系に備えられたフォーカスレンズを光軸に沿って駆動して合焦を行って、前記フォーカスレンズを被写体に合焦させる合焦制御装置であって、撮像面位相差AFによって前記被写体の合焦位置を第1の合焦位置として検出する第1の合焦検出手段と、コントラストAFによって前記被写体の合焦位置を第2の合焦位置として検出する第2の合焦検出手段と、前記撮像面位相差AFに応じて得られた一対の像の一致度に応じて前記第1の合焦位置の信頼度を求める信頼度算出手段と、前記信頼度に基づいて前記フォーカスレンズを前記光軸に沿って移動させる際の移動量および移動方向を変更させる制御手段と、を有することを特徴とする。   In order to achieve the above object, a focusing control device according to the present invention drives a focus lens provided in an imaging optical system along an optical axis to perform focusing, and focuses the focus lens on a subject. A focusing control device that detects a focusing position of the subject as a first focusing position by imaging plane phase difference AF; and a focusing position of the subject by contrast AF. A second focus detection unit that detects the second focus position and a degree of coincidence between the pair of images obtained according to the imaging plane phase difference AF, and obtains the reliability of the first focus position. And a control unit that changes a moving amount and a moving direction when the focus lens is moved along the optical axis based on the reliability.

本発明による撮像装置は、前記撮像光学系の射出瞳を通過する光を受光する撮影用画素と前記射出瞳の一部領域を通過する光を受光する焦点検出用画素とを有する撮像素子を備える撮像手段と、上記の合焦制御装置と、前記合焦制御装置によって合焦と判定された際に前記撮像手段で得られた画像を記録媒体に記録する記録手段と、を有することを特徴とする。   An image pickup apparatus according to the present invention includes an image pickup element having a photographing pixel that receives light passing through an exit pupil of the image pickup optical system and a focus detection pixel that receives light passing through a partial region of the exit pupil. An imaging unit; and the above-described focusing control device; and a recording unit that records an image obtained by the imaging unit on a recording medium when it is determined to be in focus by the focusing control device. To do.

本発明による制御方法は、撮像光学系に備えられたフォーカスレンズを光軸に沿って駆動して合焦を行って、前記フォーカスレンズを被写体に合焦させる合焦制御装置の制御方法であって、撮像面位相差AFによって前記被写体の合焦位置を第1の合焦位置として検出する第1の合焦検出ステップと、コントラストAFによって前記被写体の合焦位置を第2の合焦位置として検出する第2の合焦検出ステップと、前記撮像面位相差AFに応じて得られた一対の像の一致度に応じて前記第1の合焦位置の信頼度を求める信頼度算出ステップと、前記信頼度に基づいて前記フォーカスレンズを前記光軸に沿って移動させる際の移動量および移動方向を変更させる制御ステップと、を有することを特徴とする。   A control method according to the present invention is a control method for a focus control device that performs focusing by driving a focus lens provided in an imaging optical system along an optical axis, and focuses the focus lens on a subject. A first focus detection step of detecting the focus position of the subject as a first focus position by imaging surface phase difference AF, and detecting the focus position of the subject as a second focus position by contrast AF. A second focus detection step, a reliability calculation step for obtaining a reliability of the first focus position in accordance with a match degree of a pair of images obtained according to the imaging plane phase difference AF, And a control step of changing a moving amount and a moving direction when the focus lens is moved along the optical axis based on reliability.

本発明による制御プログラムは、撮像光学系に備えられたフォーカスレンズを光軸に沿って駆動して合焦を行って、前記フォーカスレンズを被写体に合焦させる合焦制御装置で用いられる制御プログラムであって、前記合焦制御装置が備えるコンピュータに、撮像面位相差AFによって前記被写体の合焦位置を第1の合焦位置として検出する第1の合焦検出ステップと、コントラストAFによって前記被写体の合焦位置を第2の合焦位置として検出する第2の合焦検出ステップと、前記撮像面位相差AFに応じて得られた一対の像の一致度に応じて前記第1の合焦位置の信頼度を求める信頼度算出ステップと、前記信頼度に基づいて前記フォーカスレンズを前記光軸に沿って移動させる際の移動量および移動方向を変更させる制御ステップと、を実行させることを特徴とする。   The control program according to the present invention is a control program used in a focus control device that drives a focus lens provided in an imaging optical system along an optical axis to perform focusing, and focuses the focus lens on a subject. In the computer provided in the focus control device, a first focus detection step of detecting the focus position of the subject as a first focus position by imaging plane phase difference AF, and a contrast AF of the subject is detected. A second focus detection step for detecting a focus position as a second focus position, and the first focus position according to the degree of coincidence between a pair of images obtained according to the imaging surface phase difference AF. A reliability calculation step for obtaining a reliability of the control unit, and a control step for changing a movement amount and a movement direction when the focus lens is moved along the optical axis based on the reliability. Characterized in that for the execution.

本発明によれば、撮像面位相差AFに応じて得られた一対の像の一致度に応じて得られた第1の合焦位置の信頼度に基づいてフォーカスレンズの移動量および移動方向を変更する。これによって、コントラストAFおよび位相差AFを用いたハイブリッドAFにおいて、常に安定的にAF制御を行うことができる。   According to the present invention, the moving amount and the moving direction of the focus lens are determined based on the reliability of the first in-focus position obtained according to the degree of coincidence of the pair of images obtained according to the imaging surface phase difference AF. change. Thereby, in the hybrid AF using the contrast AF and the phase difference AF, the AF control can always be stably performed.

本発明の実施の形態による合焦制御装置が用いられた撮像装置の一例についてその構成を示すブロック図である。It is a block diagram which shows the structure about an example of the imaging device with which the focusing control apparatus by embodiment of this invention was used. 図1に示すカメラの撮影動作を説明するためのフローチャートである。3 is a flowchart for explaining a photographing operation of the camera shown in FIG. 1. 図2に示すハイブリッドAF動作を説明するためのフローチャートである。3 is a flowchart for explaining a hybrid AF operation shown in FIG. 2.

以下に、本発明の実施の形態による合焦制御装置の一例について図面を参照して説明する。   Hereinafter, an example of a focusing control device according to an embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の実施の形態による合焦制御装置が用いられた撮像装置の一例についてその構成を示すブロック図である。   FIG. 1 is a block diagram showing the configuration of an example of an imaging apparatus using a focusing control apparatus according to an embodiment of the present invention.

図示の撮像装置は、例えば、デジタルカメラ(以下単にカメラと呼ぶ)であり、カメラ本体200およびレンズ装置100を有している。そして、カメラ本体200には、レンズ装置(つまり、交換レンズ)100が、電気接点ユニット106を有するマウント部(図示せず)によって着脱可能に(つまり、交換可能に)取り付けられている。   The illustrated imaging device is, for example, a digital camera (hereinafter simply referred to as a camera), and includes a camera body 200 and a lens device 100. A lens device (that is, an interchangeable lens) 100 is detachably attached to the camera body 200 by a mount portion (not shown) having an electrical contact unit 106 (that is, replaceable).

レンズ装置100には、撮影レンズ101、絞り及びシャッター102、およびフォーカスレンズ103が備えられており、撮影レンズ101にはズーム機構が含まれている。撮影レンズ101を通過した光像は絞り及びシャッター102によってその光量が調整される。そして、光学像はフォーカスレンズ103によって、カメラ本体200に備えられた撮像素子201に結像する。   The lens apparatus 100 includes a photographic lens 101, an aperture and shutter 102, and a focus lens 103. The photographic lens 101 includes a zoom mechanism. The light amount of the light image that has passed through the photographing lens 101 is adjusted by the diaphragm and the shutter 102. Then, the optical image is formed on the image sensor 201 provided in the camera body 200 by the focus lens 103.

モータ104は、レンズコントローラ105の制御下でフォーカスレンズ103を光軸に沿って駆動する。レンズコントローラ105はレンズ装置100の制御を司り、後述するレンズ通信部209を介して、カメラ本体200に備えられたシステム制御部208と通信する。   The motor 104 drives the focus lens 103 along the optical axis under the control of the lens controller 105. The lens controller 105 controls the lens apparatus 100 and communicates with a system control unit 208 provided in the camera body 200 via a lens communication unit 209 described later.

カメラ本体200にはCCD又はCMOSイメージセンサなどの撮像素子201が備えられている。この撮像素子201は撮像光学系の射出瞳を通過する光を受光する撮影用画素と射出瞳の一部領域を通過する光を受光する焦点検出用画素とを有している。そして、撮像素子201は光学像に応じた電気信号(アナログ信号)を出力する。A/D変換部202は、撮像素子201の出力ノイズを除去するCDS回路およびA/D変換処理の前に増幅を行う非線形増幅回路を有しており、撮像素子201の出力であるアナログ信号をデジタル信号に変換する。   The camera body 200 is provided with an image sensor 201 such as a CCD or CMOS image sensor. The image sensor 201 has a photographing pixel that receives light passing through the exit pupil of the imaging optical system and a focus detection pixel that receives light passing through a partial region of the exit pupil. The image sensor 201 outputs an electrical signal (analog signal) corresponding to the optical image. The A / D conversion unit 202 includes a CDS circuit that removes output noise of the image sensor 201 and a non-linear amplifier circuit that performs amplification before the A / D conversion process, and an analog signal that is an output of the image sensor 201 is received. Convert to digital signal.

画像処理部203は、A/D変換部202の出力であるデジタル信号に対して所定の画像処理を施して画像データを出力する。フォーマット変換部204は、画像データを、例えば、JPEGなどのフォーマットにフォーマット変換して圧縮画像データとする。そして、フォーマット変換部204は当該圧縮画像データを高速内蔵メモリ(例えば、DRAM)205に一時記録する。   The image processing unit 203 performs predetermined image processing on the digital signal output from the A / D conversion unit 202 and outputs image data. The format conversion unit 204 converts the image data into a format such as JPEG, for example, to obtain compressed image data. The format conversion unit 204 temporarily records the compressed image data in a high-speed internal memory (eg, DRAM) 205.

DRAM205は一時的な画像記憶部である高速バッファとして用いられるとともに、画像処理を行う際の作業用メモリとして用いられることになる。   The DRAM 205 is used as a high-speed buffer, which is a temporary image storage unit, and as a working memory when performing image processing.

画像記録部206は、例えば、メモリーカードなどの記録媒体およびインターフェース回路を有しており、画像記録部206には、DRAM205に記録された圧縮画像データが記録される。   The image recording unit 206 includes, for example, a recording medium such as a memory card and an interface circuit, and the compressed image data recorded in the DRAM 205 is recorded in the image recording unit 206.

タイミングジェネレータ207は、システム制御部208の制御下でA/D変換部202にタイミング信号を送出する。システム制御部(以下CPUと呼ぶ)208は、カメラ全体の制御を司り、例えば、撮影シーケンスに応じて撮影処理を実行する。また、CPU208はレンズ通信部209によってレンズ装置100と通信を行う。   The timing generator 207 sends a timing signal to the A / D conversion unit 202 under the control of the system control unit 208. A system control unit (hereinafter referred to as a CPU) 208 controls the entire camera, and executes shooting processing according to a shooting sequence, for example. Further, the CPU 208 communicates with the lens device 100 through the lens communication unit 209.

AE処理部210は、CPU208の制御下でシャッター速度又は絞り値に応じて最適な露出値を求める。画像表示用メモリ(VRAM)211には画像データが表示用画像データとして一時的に記録され、画像表示部212には表示像画像データに応じた画像データ表示される。   The AE processing unit 210 obtains an optimal exposure value according to the shutter speed or the aperture value under the control of the CPU 208. Image data is temporarily recorded as display image data in the image display memory (VRAM) 211, and image data corresponding to the display image image data is displayed on the image display unit 212.

なお、画像表示部212には画像の他、操作補助のための各種情報が表示されるとともに、カメラ状態が表示される。さらには、画像表示部212には撮影の際に測距領域が表示される。   In addition to the image, the image display unit 212 displays various information for assisting operations, and also displays the camera state. Further, a distance measurement area is displayed on the image display unit 212 at the time of shooting.

撮像面位相差焦点検出部213は、CPU208の制御下で撮像素子201に備えられた焦点検出用画素の出力である像信号に基づいて位相差AFによって焦点検出を行う。例えば、撮像面位相差焦点検出部213は、撮像光学系(つまり、レンズ装置100)の一対の射出瞳領域を通過する光束によって焦点検出用画素に形成される一対の像のずれ量に基づいて撮像面位相差AFを行う。なお、撮像面位相差AFについては、前述の特許文献2に記載されているので、ここでは詳細な説明を省略する。   The imaging surface phase difference focus detection unit 213 performs focus detection by phase difference AF based on an image signal that is an output of a focus detection pixel provided in the image sensor 201 under the control of the CPU 208. For example, the imaging plane phase difference focus detection unit 213 is based on the shift amount of the pair of images formed on the focus detection pixels by the light flux that passes through the pair of exit pupil regions of the imaging optical system (that is, the lens apparatus 100). Imaging surface phase difference AF is performed. Since the imaging plane phase difference AF is described in the above-mentioned Patent Document 2, detailed description thereof is omitted here.

コントラストAF焦点検出部214は、CPU208の制御下で画像データにおける画像情報のコントラスト成分に応じてコントラストAFによって焦点検出を行う。コントラストAにおいては、フォーカスレンズ103を光軸に移動させつつ、撮像素子210から得られる輝度信号の高域周波数成分(以下焦点評価値と呼ぶ)がピークと最大となるフォーカスレンズ103の位置(ピーク位置)を検出する。   The contrast AF focus detection unit 214 performs focus detection by contrast AF according to the contrast component of the image information in the image data under the control of the CPU 208. In contrast A, the focus lens 103 is moved to the optical axis, and the position of the focus lens 103 at which the high frequency component (hereinafter referred to as a focus evaluation value) of the luminance signal obtained from the image sensor 210 becomes a peak (maximum). Position).

操作部215はユーザによって操作され、ユーザは操作部215によって各種の指示をCPU208に与える。操作部215は、例えば、カメラの撮影機能および画像再生の際の設定など各種設定を行うメニュースイッチと、撮影モードと再生モードを切り替える切り替えスイッチなどを有している。   The operation unit 215 is operated by a user, and the user gives various instructions to the CPU 208 through the operation unit 215. The operation unit 215 includes, for example, a menu switch for performing various settings such as a camera shooting function and settings for image playback, a switch for switching between the shooting mode and the playback mode, and the like.

撮影モードスイッチ(SW)216は、マクロモード又はスポーツモードなどの撮影モードを選択するためのスイッチである。メインSW217はカメラに電源を投入するためのスイッチである。   The shooting mode switch (SW) 216 is a switch for selecting a shooting mode such as a macro mode or a sports mode. The main SW 217 is a switch for turning on the camera.

スタンバイスイッチ218(SW1)はAFおよびAEなどの撮影スタンバイ動作を指示するためのスイッチであり、撮影スイッチ219(SW2)はSW1を操作後、撮影を行う際に操作されるスイッチである。   The standby switch 218 (SW1) is a switch for instructing shooting standby operations such as AF and AE, and the shooting switch 219 (SW2) is a switch operated when shooting after operating SW1.

図2は、図1に示すカメラの撮影動作を説明するためのフローチャートである。なお、図示のフローチャートに係る処理は、COU208の制御下で行われる。   FIG. 2 is a flowchart for explaining the photographing operation of the camera shown in FIG. Note that the processing according to the illustrated flowchart is performed under the control of the COU 208.

メインSW217をオンとして、撮影動作を開始すると、CPU208はAE処理部211によって画像処理部203の出力である画像データに応じてAE処理を行う(ステップS201)。続いて、CPU208はSW1がONであるか否かを判定する(ステップS202)。   When the main SW 217 is turned on and the photographing operation is started, the CPU 208 performs AE processing according to the image data output from the image processing unit 203 by the AE processing unit 211 (step S201). Subsequently, the CPU 208 determines whether or not SW1 is ON (step S202).

SW1がOFFであると(ステップS202において、NO)、CPU208はステップS201の処理に戻る。一方、SW1がONであると(ステップS202において、YES)、CPU208は、後述するハイブリッドAF動作を実行する(ステップS203)。ここで、AF動作における露出条件(シャッター速度、絞り、および感度)は、前述のステップS201のAE処理で決定される。   If SW1 is OFF (NO in step S202), CPU 208 returns to the process of step S201. On the other hand, when SW1 is ON (YES in step S202), CPU 208 executes a hybrid AF operation described later (step S203). Here, the exposure conditions (shutter speed, aperture, and sensitivity) in the AF operation are determined by the AE process in step S201 described above.

続いて、CPU208はSW1がONであるか否かを判定する(ステップS204)。SW1がOFFであると(ステップS204において、NO)、CPU208はステップS201の処理に戻る。一方、SW1がONであると(ステップS204において、YES)、CPU208はSW2がONであるか否かを判定する(ステップS205)。   Subsequently, the CPU 208 determines whether or not SW1 is ON (step S204). If SW1 is OFF (NO in step S204), CPU 208 returns to the process of step S201. On the other hand, if SW1 is ON (YES in step S204), CPU 208 determines whether SW2 is ON (step S205).

SW2がOFFであると(ステップS205において、NO)、CPU208はステップS204の処理に戻る。一方、SW2がONであると(ステップS205において、YES)、CPU208はタイミングジェネレータ201および画像処理部203を制御して、撮影を行い、得られた画像データを画像記録部206によって記録媒体に記録する(ステップS206)。その後、CPU208はステップS201の処理に戻る。   If SW2 is OFF (NO in step S205), CPU 208 returns to the process in step S204. On the other hand, if SW2 is ON (YES in step S205), CPU 208 controls timing generator 201 and image processing unit 203 to perform shooting, and the obtained image data is recorded on the recording medium by image recording unit 206. (Step S206). Thereafter, the CPU 208 returns to the process of step S201.

図3は、図2に示すハイブリッドAF動作を説明するためのフローチャートである。   FIG. 3 is a flowchart for explaining the hybrid AF operation shown in FIG.

ハイブリッドAF動作を開始すると、CPU208は、コントラストAF焦点検出部214によってコントラストAFによる焦点評価値を取得する(ステップS301)。その後、CPU208は、撮像面位相差焦点検出部213によって撮像面位相差AFによる焦点検出を行う(ステップS302)。そして、CPU208は撮像面位相差焦点検出部213によって撮像面位相差AFの信頼度(以下位相差信頼度と呼ぶ)を求める(ステップS303)。   When the hybrid AF operation is started, the CPU 208 acquires a focus evaluation value by contrast AF by the contrast AF focus detection unit 214 (step S301). Thereafter, the CPU 208 performs focus detection by the imaging plane phase difference AF by the imaging plane phase difference focus detection unit 213 (step S302). Then, the CPU 208 obtains the reliability of the imaging surface phase difference AF (hereinafter referred to as phase difference reliability) by the imaging surface phase difference focus detection unit 213 (step S303).

ここで、信頼度とは、撮像面位相差AFの結果として得られる一対の像の一致度とコントラストに関するコントラスト情報を含む。なお、位相差AFの特性上、高コントラストの被写体の方がより検出し易い特性を有するので、ここではコントラスト情報が用いられる。   Here, the reliability includes the contrast information regarding the degree of coincidence and contrast of a pair of images obtained as a result of the imaging plane phase difference AF. Note that because of the characteristics of phase difference AF, a high-contrast subject has characteristics that are easier to detect, and therefore contrast information is used here.

次に、CPU208は撮像面位相差AF検出結果の信頼度(位相差信頼度)が予め設定されている第1の信頼度閾値(信頼度閾値1)よりも高いか否かを判定する(ステップS304)。ここで、位相差信頼度が信頼度閾値1よりも高い場合に、検出されたデフォーカス量だけフォーカスレンズ103を駆動することによって被写体のピント位置に対して焦点深度内となるように、信頼度閾値1は設定される。   Next, the CPU 208 determines whether or not the reliability (phase difference reliability) of the imaging surface phase difference AF detection result is higher than a preset first reliability threshold value (reliability threshold value 1) (step 1). S304). Here, when the phase difference reliability is higher than the reliability threshold 1, the reliability is set such that the focus lens 103 is driven by the detected defocus amount so that the focus is within the depth of focus with respect to the focus position of the subject. A threshold value 1 is set.

位相差信頼度が信頼度閾値1よりも高いと(ステップS304において、YES)、CPU208はフォーカスレンズ103が駆動中であるか否かを判定する(ステップS305)。フォーカスレンズ103が駆動中であると(ステップS305において、YES)、CPU208はレンズコントローラ105によってモータ104を制御してフォーカスレンズ103を停止する(ステップS306)。そして、CPU208はステップS301の処理に戻る。   If the phase difference reliability is higher than reliability threshold value 1 (YES in step S304), CPU 208 determines whether focus lens 103 is being driven (step S305). If the focus lens 103 is being driven (YES in step S305), the CPU 208 controls the motor 104 by the lens controller 105 to stop the focus lens 103 (step S306). Then, the CPU 208 returns to the process of step S301.

フォーカスレンズ103が駆動中でないと(ステップS305において、NO)、CPU208は、ステップS302の処理で検出したデフォーカス量が焦点深度内であるか否かを判定する(ステップS307)。デフォーカス量が焦点深度内であると(ステップS307において、YES)、CPU208は合焦であると判定して、つまり、フォーカスレンズ103が合焦位置にあるとして(ステップS308)、ハイブリッドAF動作を終了する。そして、CPU208は、図2に示すステップS204の処理に進む。   If the focus lens 103 is not being driven (NO in step S305), the CPU 208 determines whether or not the defocus amount detected in step S302 is within the depth of focus (step S307). If the defocus amount is within the depth of focus (YES in step S307), the CPU 208 determines that the focus is in focus, that is, the focus lens 103 is in the focus position (step S308), and performs the hybrid AF operation. finish. Then, the CPU 208 proceeds to the process of step S204 shown in FIG.

デフォーカス量が焦点深度内でないと(ステップS307において、NO)、CPU208は、レンズコントローラ105によってモータ104を制御して、ステップS302の処理で検出したデフォーカス量だけフォーカスレンズ103を光軸に沿って駆動する(ステップS309)。そして、CPU208はステップS301の処理に戻る。   If the defocus amount is not within the depth of focus (NO in step S307), the CPU 208 controls the motor 104 by the lens controller 105, and moves the focus lens 103 along the optical axis by the defocus amount detected in the process of step S302. Are driven (step S309). Then, the CPU 208 returns to the process of step S301.

このようにして、ステップS305〜S309の処理を行うことによって、撮像面位相差AF検出結果の信頼度が信頼度閾値1より高い場合に、フォーカスレンズ103を停止した状態とした後、再度検出されたデフォーカス量だけフォーカスレンズ103を駆動させることができる。   In this way, when the reliability of the imaging surface phase difference AF detection result is higher than the reliability threshold 1 by performing the processing of steps S305 to S309, the focus lens 103 is stopped and then detected again. The focus lens 103 can be driven by the defocus amount.

位相差信頼度が信頼度閾値1以下(第1の信頼度閾値以下)であると(ステップS304において、NO)、CPU208はコントラストAF焦点検出部214によって焦点評価値のピークを検出したか否かを判定する(ステップS310)。焦点評価値のピークを検出すると(ステップS310において、YES)、CPU208は、レンズコントローラ105によってモータ104を制御して、焦点評価値のピークが検出された位置にフォーカスレンズ103を駆動する(ステップS311)。そして、CPU208は合焦したと判定して(ステップS312)、ハイブリッドAF動作を終了する。その後、CPU208は、図2に示すステップS204の処理に進む。   If the phase difference reliability is equal to or less than the reliability threshold value 1 (less than the first reliability threshold value) (NO in step S304), the CPU 208 determines whether or not the contrast AF focus detection unit 214 has detected the peak focus evaluation value. Is determined (step S310). When the focus evaluation value peak is detected (YES in step S310), the CPU 208 controls the motor 104 by the lens controller 105 to drive the focus lens 103 to a position where the focus evaluation value peak is detected (step S311). ). Then, the CPU 208 determines that focus is achieved (step S312), and ends the hybrid AF operation. Thereafter, the CPU 208 proceeds to the process of step S204 shown in FIG.

焦点評価値のピークが検出されないと(ステップS310において、NO)、CPU208は非合焦条件を満たしたか否かを判定する(ステップS313)。なお、非合焦条件とは、合焦すべき被写体がいないと判定するための条件である。例えば、フォーカスレンズ103の可動範囲の全てにおいてフォーカスレンズ103の駆動が完了した場合、つまり、フォーカスレンズ103が遠側および近側の双方のレンズ端を検出して初期位置に戻った場合が非合焦条件とされる。   If the focus evaluation value peak is not detected (NO in step S310), CPU 208 determines whether or not the out-of-focus condition is satisfied (step S313). The out-of-focus condition is a condition for determining that there is no subject to be focused. For example, when the driving of the focus lens 103 is completed in the entire movable range of the focus lens 103, that is, when the focus lens 103 detects both the far and near lens ends and returns to the initial position. It is considered as a burning condition.

非合焦条件を満たすと(ステップS313において、YES)、CPU208は非合焦であると判定して(ステップS314)、ハイブリッドAF動作を終了する。その後、CPU208は、図2に示すステップS204の処理に進む。   If the out-of-focus condition is satisfied (YES in step S313), the CPU 208 determines that it is out of focus (step S314), and ends the hybrid AF operation. Thereafter, the CPU 208 proceeds to the process of step S204 shown in FIG.

一方、非合焦条件を満たしていないと(ステップS313において、NO)、CPU208はフォーカスレンズ103がその駆動範囲の遠側又は近側のレンズ端に到達したか否かを判定する(ステップS315)。フォーカスレンズ103が遠側又は近側のレンズ端に到達すると(ステップS315において、YES)、CPU208は、レンズコントローラ105によってモータ104を制御して、フォーカスレンズ103の駆動方向を反転する(ステップS316)。そして、CPU208はステップS301の処理に戻る。   On the other hand, if the out-of-focus condition is not satisfied (NO in step S313), the CPU 208 determines whether or not the focus lens 103 has reached the far end or near end of the driving range (step S315). . When the focus lens 103 reaches the far or near lens end (YES in step S315), the CPU 208 controls the motor 104 by the lens controller 105 to reverse the drive direction of the focus lens 103 (step S316). . Then, the CPU 208 returns to the process of step S301.

フォーカスレンズ103が遠側又は近側のレンズ端に到達しないと(ステップS315において、NO)、CPU208は、ステップS303の処理で求めた位相差信頼度が所定の第2の信頼度閾値以上(信頼度閾値2以上)で、かつデフォーカスの方向が現在のフォーカスレンズ103の駆動方向と同一であるか否かを判定する(ステップS317)。なお、信頼度閾値2として、位相差信頼度が信頼度閾値2未満であれば被写体の方向のみが分かる閾値が設定される。   If the focus lens 103 does not reach the far end or near end (NO in step S315), the CPU 208 determines that the phase difference reliability obtained in step S303 is equal to or greater than a predetermined second reliability threshold (reliability). It is determined whether or not the defocus direction is the same as the current drive direction of the focus lens 103 (step S317). Note that, as the reliability threshold 2, if the phase difference reliability is less than the reliability threshold 2, a threshold for determining only the direction of the subject is set.

位相差信頼度が信頼度閾値2以上で、かつデフォーカスの方向が現在のフォーカスレンズ103の駆動方向と同一であると(ステップS317において、YES)、CPU208は、レンズコントローラ105によってモータ104を制御して、デフォーカス量の所定の割合だけフォーカスレンズ103を駆動する(ステップS318)。そして、CPU208はステップS301の処理に戻る。   If the phase difference reliability is greater than or equal to reliability threshold 2 and the defocus direction is the same as the current drive direction of focus lens 103 (YES in step S317), CPU 208 controls motor 104 by lens controller 105. Then, the focus lens 103 is driven by a predetermined ratio of the defocus amount (step S318). Then, the CPU 208 returns to the process of step S301.

なお、所定の割合は、デフォーカス量に関して、フォーカスレンズ103の駆動量(レンズ駆動量)が少なくなるように設定される(例えば、8割)。この際、フォーカスレンズ103の移動速度は、1フレームにおいてレンズ駆動量だけ駆動する際の速度以下となるように設定される。これによって、デフォーカス量が正しくない場合に、フォーカスレンズ103が被写体のピント位置を越えてしまうことを防ぐことができる。さらに、フォーカスレンズ103を停止することなく駆動させつつ、次のレンズ駆動を行うことができる(所謂オーバーラップ制御)。   The predetermined ratio is set so that the driving amount (lens driving amount) of the focus lens 103 is small with respect to the defocus amount (for example, 80%). At this time, the moving speed of the focus lens 103 is set to be equal to or lower than the speed for driving the lens driving amount in one frame. This can prevent the focus lens 103 from exceeding the focus position of the subject when the defocus amount is not correct. Furthermore, the next lens drive can be performed while driving the focus lens 103 without stopping (so-called overlap control).

位相差信頼度が信頼度閾値2未満(第2の信頼度閾値未満)であるか又はデフォーカスの方向が現在のフォーカスレンズ103の駆動方向と同一でないと(ステップS317において、NO)、CPU208は、所定量だけフォーカスレンズ103を駆動する(ステップS319)。そして、CPU208はステップS301の処理に戻る。ここで、所定量はコントラストAFに適した駆動量となるように設定される(例えば、5深度)。   If the phase difference reliability is less than the reliability threshold value 2 (less than the second reliability threshold value) or the defocus direction is not the same as the current driving direction of the focus lens 103 (NO in step S317), the CPU 208 The focus lens 103 is driven by a predetermined amount (step S319). Then, the CPU 208 returns to the process of step S301. Here, the predetermined amount is set to be a driving amount suitable for contrast AF (for example, 5 depths).

このように、本発明の実施の形態では、撮像面位相差AFの位相差信頼度に応じてコントラストAFを行うか否かを決定する。さらに、コントラストAFの際に、非合焦条件が満たされていないと、再度、位相差信頼度およびデフォーカス方向に応じてフォーカスレンズを駆動制御する。つまり、位相差信頼度に基づいてフォーカスレンズを光軸に沿って移動させる際の移動量および移動方向を変更させる。これによって、コントラストAFおよび位相差AFを選択的に行うハイブリッドAFにおいて、安定してAF制御を行うことができる。   Thus, in the embodiment of the present invention, it is determined whether or not to perform contrast AF according to the phase difference reliability of the imaging surface phase difference AF. Further, if the out-of-focus condition is not satisfied during contrast AF, the focus lens is driven again according to the phase difference reliability and the defocus direction. That is, the moving amount and moving direction when the focus lens is moved along the optical axis are changed based on the phase difference reliability. Thus, in the hybrid AF that selectively performs contrast AF and phase difference AF, AF control can be stably performed.

上述の説明から明らかなように、図1に示す例では、システム制御部208および撮像面位相差焦点検出部213が第1の合焦検出手段として機能し、システム制御部208およびコントラストAF焦点検出部215が第2の合焦検出手段として機能する。また、システム制御部208は信頼度算出手段として機能し、システム制御部208、レンズコントローラ105、およびモータ104は制御手段として機能する。   As is clear from the above description, in the example shown in FIG. 1, the system control unit 208 and the imaging plane phase difference focus detection unit 213 function as the first focus detection unit, and the system control unit 208 and the contrast AF focus detection are performed. The unit 215 functions as a second focus detection unit. The system control unit 208 functions as a reliability calculation unit, and the system control unit 208, the lens controller 105, and the motor 104 function as a control unit.

さらに、撮像素子201、A/D変換部202、および画像処理部203は撮像手段として機能し、システム制御部208、DRAM208、および画像記録部206は記録手段として機能する。   Further, the image sensor 201, the A / D conversion unit 202, and the image processing unit 203 function as an imaging unit, and the system control unit 208, the DRAM 208, and the image recording unit 206 function as a recording unit.

なお、少なくともシステム制御部208、撮像面位相差焦点検出部213、コントラストAF焦点検出部214、レンズコントローラ105、およびモータ104が合焦制御装置を構成する。   At least the system control unit 208, the imaging plane phase difference focus detection unit 213, the contrast AF focus detection unit 214, the lens controller 105, and the motor 104 constitute a focus control device.

以上、本発明について実施の形態に基づいて説明したが、本発明は、これらの実施の形態に限定されるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。   As mentioned above, although this invention was demonstrated based on embodiment, this invention is not limited to these embodiment, Various forms of the range which does not deviate from the summary of this invention are also contained in this invention. .

例えば、上記の実施の形態の機能を制御方法として、この制御方法を合焦制御装置に実行させるようにすればよい。また、上述の実施の形態の機能を有するプログラムを制御プログラムとして、当該制御プログラムを合焦制御装置が備えるコンピュータに実行させるようにしてもよい。なお、制御プログラムは、例えば、コンピュータに読み取り可能な記録媒体に記録される。   For example, the function of the above-described embodiment may be used as a control method, and this control method may be executed by the focus control device. Further, a program having the functions of the above-described embodiments may be used as a control program, and the control program may be executed by a computer included in the focusing control device. The control program is recorded on a computer-readable recording medium, for example.

[その他の実施形態]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other Embodiments]
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

100 レンズ装置
103 フォーカスレンズ
105 レンズコントローラ
201 撮像素子
203 画像処理部
208 システム制御部(CPU)
210 AE処理部
213 撮像面位相差焦点検出部
214 コントラストAF焦点検出部
215 操作部
DESCRIPTION OF SYMBOLS 100 Lens apparatus 103 Focus lens 105 Lens controller 201 Image pick-up element 203 Image processing part 208 System control part (CPU)
210 AE processing unit 213 imaging surface phase difference focus detection unit 214 contrast AF focus detection unit 215 operation unit

Claims (13)

撮像光学系に備えられたフォーカスレンズを光軸に沿って駆動して合焦を行って、前記フォーカスレンズを被写体に合焦させる合焦制御装置であって、
撮像面位相差AFによって前記被写体の合焦位置を第1の合焦位置として検出する第1の合焦検出手段と、
コントラストAFによって前記被写体の合焦位置を第2の合焦位置として検出する第2の合焦検出手段と、
前記撮像面位相差AFに応じて得られた一対の像の一致度に応じて前記第1の合焦位置の信頼度を求める信頼度算出手段と、
前記信頼度に基づいて前記フォーカスレンズを前記光軸に沿って移動させる際の移動量および移動方向を変更させる制御手段と、
を有することを特徴とする合焦制御装置。
A focus control device that drives a focus lens provided in an imaging optical system along an optical axis to perform focusing, and focuses the focus lens on a subject,
First focus detection means for detecting the focus position of the subject as a first focus position by imaging surface phase difference AF;
Second focus detection means for detecting the focus position of the subject as a second focus position by contrast AF;
Reliability calculation means for determining the reliability of the first in-focus position according to the degree of coincidence of a pair of images obtained according to the imaging surface phase difference AF;
Control means for changing a moving amount and a moving direction when moving the focus lens along the optical axis based on the reliability;
A focusing control device characterized by comprising:
前記第1の合焦検出手段は、前記一対の像のずれ量に応じて前記第1の合焦位置を検出し、
前記第2の合焦検出手段は、前記被写体のコントラストを示す焦点評価値が最大となる前記フォーカスレンズの位置を第2合焦位置として検出することを特徴とする請求項1に記載の合焦制御装置。
The first focus detection unit detects the first focus position in accordance with a shift amount of the pair of images,
2. The focus according to claim 1, wherein the second focus detection unit detects a position of the focus lens that maximizes a focus evaluation value indicating the contrast of the subject as a second focus position. Control device.
前記制御手段は、前記信頼度が予め設定された第1の信頼度閾値よりも高い場合に前記フォーカスレンズが駆動されていると前記フォーカスレンズを停止することを特徴とする請求項2に記載の合焦制御装置。   The said control means stops the said focus lens, if the said focus lens is driven when the said reliability is higher than the preset 1st reliability threshold value. Focus control device. 前記制御手段は、前記信頼度が前記第1の信頼度閾値よりも高い場合に前記フォーカスレンズが駆動されていない状態であると、前記ずれ量が焦点深度内である場合には合焦であると判定することを特徴とする請求項3に記載の合焦制御装置。   The control means is in focus when the amount of deviation is within the depth of focus when the focus lens is not driven when the reliability is higher than the first reliability threshold. The focus control device according to claim 3, wherein the focus control device is determined. 前記制御手段は、前記信頼度が前記第1の信頼度閾値よりも高い場合に前記フォーカスレンズが駆動されていない状態であると、前記ずれ量が焦点深度内でない場合には前記ずれ量に応じてフォーカスレンズ103を駆動することを特徴とする請求項3に記載の合焦制御装置。   When the focus lens is not driven when the reliability is higher than the first reliability threshold, the control unit responds to the shift when the shift is not within the depth of focus. The focus control apparatus according to claim 3, wherein the focus lens is driven. 前記制御手段は、前記信頼度が予め設定された第1の信頼度閾値以下である場合に前記焦点評価値が最大となるピーク位置が検出されると、前記ピーク位置に前記フォーカスレンズを移動させることを特徴とする請求項2〜5のいずれか1項に記載の合焦制御装置。   The control means moves the focus lens to the peak position when the peak position at which the focus evaluation value is maximized is detected when the reliability is equal to or lower than a first reliability threshold set in advance. The in-focus control apparatus according to claim 2, wherein 前記制御手段は、前記信頼度が予め設定された第1の信頼度閾値以下である場合に前記焦点評価値が最大となるピーク位置が検出されないと、予め定められた非合焦条件を満たす場合に非合焦であると判定することを特徴とする請求項2〜5のいずれか1項に記載の合焦制御装置。   When the reliability is equal to or lower than a first reliability threshold value that is set in advance, the control unit does not detect a peak position that maximizes the focus evaluation value, and satisfies a predetermined non-focus condition 6. The focus control device according to claim 2, wherein the focus control device determines that the image is out of focus. 前記制御手段は、前記非合焦条件が満たされない場合に、前記フォーカスレンズがその駆動範囲のいずれかの端に到達すると前記フォーカスレンズの駆動方向を反転させることを特徴とする請求項7に記載の合焦制御装置。   8. The control unit according to claim 7, wherein the control unit reverses the drive direction of the focus lens when the focus lens reaches any end of the drive range when the out-of-focus condition is not satisfied. In-focus control device. 前記制御手段は、前記非合焦条件が満たされない場合に、前記フォーカスレンズがその駆動範囲のいずれかの端に到達しないと、前記信頼度が所定の第2の信頼度閾値以上でかつ前記ずれ量の方向が前記フォーカスレンズの駆動方向と同一である場合には、前記ずれ量に対して所定の割合で前記フォーカスレンズを駆動することを特徴とする請求項8に記載の合焦制御装置。   If the focusing lens does not reach any end of the driving range when the out-of-focus condition is not satisfied, the control means has a reliability equal to or higher than a predetermined second reliability threshold and the deviation. 9. The focus control apparatus according to claim 8, wherein when the amount direction is the same as the driving direction of the focus lens, the focus lens is driven at a predetermined ratio with respect to the shift amount. 前記制御手段は、前記信頼度が所定の第2の信頼度閾値未満であるか又は前記ずれ量の方向が前記フォーカスレンズの駆動方向と同一でない場合には、所定量で前記フォーカスレンズを駆動することを特徴とする請求項9に記載の合焦制御装置。   The control means drives the focus lens by a predetermined amount when the reliability is less than a predetermined second reliability threshold or the direction of the shift amount is not the same as the driving direction of the focus lens. The in-focus control apparatus according to claim 9. 前記撮像光学系の射出瞳を通過する光を受光する撮影用画素と前記射出瞳の一部領域を通過する光を受光する焦点検出用画素とを有する撮像素子を備える撮像手段と、
請求項1〜10のいずれか1項に記載の合焦制御装置と、
前記合焦制御装置によって合焦と判定された際に前記撮像手段で得られた画像を記録媒体に記録する記録手段と、
を有することを特徴とする撮像装置。
An imaging means comprising an imaging device having a photographing pixel that receives light passing through an exit pupil of the imaging optical system and a focus detection pixel that receives light passing through a partial region of the exit pupil;
The focusing control device according to any one of claims 1 to 10,
A recording means for recording an image obtained by the imaging means on a recording medium when it is determined to be in focus by the focus control device;
An imaging device comprising:
撮像光学系に備えられたフォーカスレンズを光軸に沿って駆動して合焦を行って、前記フォーカスレンズを被写体に合焦させる合焦制御装置の制御方法であって、
撮像面位相差AFによって前記被写体の合焦位置を第1の合焦位置として検出する第1の合焦検出ステップと、
コントラストAFによって前記被写体の合焦位置を第2の合焦位置として検出する第2の合焦検出ステップと、
前記撮像面位相差AFに応じて得られた一対の像の一致度に応じて前記第1の合焦位置の信頼度を求める信頼度算出ステップと、
前記信頼度に基づいて前記フォーカスレンズを前記光軸に沿って移動させる際の移動量および移動方向を変更させる制御ステップと、
を有することを特徴とする制御方法。
A control method of a focus control device that drives a focus lens provided in an imaging optical system along an optical axis to perform focusing, and focuses the focus lens on a subject,
A first focus detection step of detecting a focus position of the subject as a first focus position by imaging surface phase difference AF;
A second focus detection step of detecting the focus position of the subject as a second focus position by contrast AF;
A reliability calculation step of determining the reliability of the first in-focus position according to the degree of coincidence of a pair of images obtained according to the imaging surface phase difference AF;
A control step of changing a moving amount and a moving direction when moving the focus lens along the optical axis based on the reliability;
A control method characterized by comprising:
撮像光学系に備えられたフォーカスレンズを光軸に沿って駆動して合焦を行って、前記フォーカスレンズを被写体に合焦させる合焦制御装置で用いられる制御プログラムであって、
前記合焦制御装置が備えるコンピュータに、
撮像面位相差AFによって前記被写体の合焦位置を第1の合焦位置として検出する第1の合焦検出ステップと、
コントラストAFによって前記被写体の合焦位置を第2の合焦位置として検出する第2の合焦検出ステップと、
前記撮像面位相差AFに応じて得られた一対の像の一致度に応じて前記第1の合焦位置の信頼度を求める信頼度算出ステップと、
前記信頼度に基づいて前記フォーカスレンズを前記光軸に沿って移動させる際の移動量および移動方向を変更させる制御ステップと、
を実行させることを特徴とする制御プログラム。
A control program used in a focus control device that drives a focus lens provided in an imaging optical system along an optical axis to perform focusing, and focuses the focus lens on a subject,
In the computer provided in the focusing control device,
A first focus detection step of detecting a focus position of the subject as a first focus position by imaging surface phase difference AF;
A second focus detection step of detecting the focus position of the subject as a second focus position by contrast AF;
A reliability calculation step of determining the reliability of the first in-focus position according to the degree of coincidence of a pair of images obtained according to the imaging surface phase difference AF;
A control step of changing a moving amount and a moving direction when moving the focus lens along the optical axis based on the reliability;
A control program characterized by causing
JP2015018304A 2015-02-02 2015-02-02 Focus control device, control method thereof, control program, and imaging device Active JP6624789B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015018304A JP6624789B2 (en) 2015-02-02 2015-02-02 Focus control device, control method thereof, control program, and imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015018304A JP6624789B2 (en) 2015-02-02 2015-02-02 Focus control device, control method thereof, control program, and imaging device

Publications (3)

Publication Number Publication Date
JP2016142895A true JP2016142895A (en) 2016-08-08
JP2016142895A5 JP2016142895A5 (en) 2018-03-08
JP6624789B2 JP6624789B2 (en) 2019-12-25

Family

ID=56570374

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015018304A Active JP6624789B2 (en) 2015-02-02 2015-02-02 Focus control device, control method thereof, control program, and imaging device

Country Status (1)

Country Link
JP (1) JP6624789B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10116857B2 (en) 2016-09-14 2018-10-30 Canon Kabushiki Kaisha Focus adjustment apparatus, control method of focus adjustment apparatus, and imaging apparatus
CN112153276A (en) * 2019-06-27 2020-12-29 松下知识产权经营株式会社 Image pickup apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010139942A (en) * 2008-12-15 2010-06-24 Sony Corp Image pickup apparatus and focus control method
JP2012168488A (en) * 2011-02-17 2012-09-06 Nikon Corp Focusing device and imaging apparatus
JP2013190622A (en) * 2012-03-14 2013-09-26 Canon Inc Focus adjustment device
JP2014025987A (en) * 2012-07-24 2014-02-06 Canon Inc Focus adjustment device, control method for focus adjustment device, and program
JP2014202799A (en) * 2013-04-01 2014-10-27 キヤノン株式会社 Image capturing device and control method therefor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010139942A (en) * 2008-12-15 2010-06-24 Sony Corp Image pickup apparatus and focus control method
JP2012168488A (en) * 2011-02-17 2012-09-06 Nikon Corp Focusing device and imaging apparatus
JP2013190622A (en) * 2012-03-14 2013-09-26 Canon Inc Focus adjustment device
JP2014025987A (en) * 2012-07-24 2014-02-06 Canon Inc Focus adjustment device, control method for focus adjustment device, and program
JP2014202799A (en) * 2013-04-01 2014-10-27 キヤノン株式会社 Image capturing device and control method therefor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10116857B2 (en) 2016-09-14 2018-10-30 Canon Kabushiki Kaisha Focus adjustment apparatus, control method of focus adjustment apparatus, and imaging apparatus
CN112153276A (en) * 2019-06-27 2020-12-29 松下知识产权经营株式会社 Image pickup apparatus
CN112153276B (en) * 2019-06-27 2024-04-19 松下知识产权经营株式会社 Image pickup apparatus

Also Published As

Publication number Publication date
JP6624789B2 (en) 2019-12-25

Similar Documents

Publication Publication Date Title
JP5653035B2 (en) Imaging apparatus, focus detection method, and control method
JP4861057B2 (en) Imaging apparatus and control method thereof
JP2010015024A (en) Image pickup apparatus, control method thereof, program and storage medium
JP5753371B2 (en) Imaging apparatus and control method thereof
US8988579B2 (en) Imaging apparatus
JP6518452B2 (en) Imaging apparatus and imaging method
JP5213813B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2008026788A (en) Imaging apparatus and focus control method
JP2017211487A (en) Imaging apparatus and automatic focus adjustment method
JP2012060371A (en) Imaging system and pixel signal reading method
JP2017129788A (en) Focus detection device and imaging device
US20110052169A1 (en) Focusing-state detection apparatus, imaging apparatus, and its control method
US10313602B2 (en) Image capture apparatus and method for controlling the same
JP6381434B2 (en) FOCUS CONTROL DEVICE, OPTICAL DEVICE, AND FOCUS CONTROL METHOD
JP2016126164A (en) Imaging device and imaging method
JP6624789B2 (en) Focus control device, control method thereof, control program, and imaging device
JP5409201B2 (en) Focus detection apparatus and focus detection method
KR20120068696A (en) Image capturing device and image capturing method
GB2595559A (en) Image capturing apparatus, control method therefor, program, and storage medium
JP5420034B2 (en) Imaging apparatus, control method therefor, program, and storage medium
JP5446720B2 (en) Focus detection device, imaging device
JP2005227447A (en) Autofocus camera
WO2016157569A1 (en) Imaging device and focus evaluation device
JP2012133067A (en) Imaging apparatus
JP5930979B2 (en) Imaging device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180126

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180126

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180809

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180821

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181018

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190326

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190524

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191126

R151 Written notification of patent or utility model registration

Ref document number: 6624789

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151