JP2009128579A - Focus detector and imaging apparatus - Google Patents

Focus detector and imaging apparatus Download PDF

Info

Publication number
JP2009128579A
JP2009128579A JP2007302776A JP2007302776A JP2009128579A JP 2009128579 A JP2009128579 A JP 2009128579A JP 2007302776 A JP2007302776 A JP 2007302776A JP 2007302776 A JP2007302776 A JP 2007302776A JP 2009128579 A JP2009128579 A JP 2009128579A
Authority
JP
Japan
Prior art keywords
focus detection
pixel
imaging
image
pixels
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
JP2007302776A
Other languages
Japanese (ja)
Other versions
JP5167783B2 (en
Inventor
Yosuke Kusaka
洋介 日下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2007302776A priority Critical patent/JP5167783B2/en
Publication of JP2009128579A publication Critical patent/JP2009128579A/en
Application granted granted Critical
Publication of JP5167783B2 publication Critical patent/JP5167783B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To stably and accurately perform focus detection with respect to the movement of an image on a plane even in an imaging device which performs storage control in a line exposure system. <P>SOLUTION: The focus detector includes the imaging device, having a plurality of charge storage type pixels to receive luminous flux via an optical system; a storage control means for simultaneously performing charge storage control to a first pixel row, arranged in a first direction on the imaging device from among the pixels and successively perform charge storage control to a second pixel row, arranged in a second direction crossing with the first direction; and a focus detection means for perform focus detection of the optical system, based on output from the first pixel row and the second pixel row. The focus detection means performs focus detection by using output from the first pixel row (S130), and performs focus detection, by using the output from the second pixel row (S150), if a reliable result of focus detection cannot be obtained (S140). <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は焦点検出装置および撮像装置に関する。   The present invention relates to a focus detection apparatus and an imaging apparatus.

撮像画素が二次元状に配列された撮像素子において、一部の撮像画素を焦点検出画素に置き換えた撮像素子を用いて焦点検出を行う撮像装置が知られている(例えば、特許文献1参照)。   An imaging device that performs focus detection using an imaging device in which some imaging pixels are replaced with focus detection pixels in an imaging device in which imaging pixels are two-dimensionally arranged is known (see, for example, Patent Document 1). .

この出願の発明に関連する先行技術文献としては次のものがある。
特開2000−292686号公報
Prior art documents related to the invention of this application include the following.
JP 2000-292686 A

しかしながら、上述した従来の装置では、ライン露光方式(ローリングシャッター方式)で画素の露光制御を行う撮像素子(CMOSイメージセンサー)を用いた場合に、焦点検出画素列に属する焦点検出画素の間で露光タイミングが異なるため、移動被写体に対して焦点検出を行う場合や、焦点検出装置自体が動いたり振動したりする場合には、焦点検出精度が低下したり、間違った焦点検出結果を出力するという問題がある。   However, in the above-described conventional apparatus, when an image sensor (CMOS image sensor) that performs pixel exposure control by a line exposure method (rolling shutter method) is used, exposure is performed between focus detection pixels belonging to a focus detection pixel column. Because the timing is different, when focus detection is performed on a moving subject, or when the focus detection device itself moves or vibrates, the focus detection accuracy deteriorates or the wrong focus detection result is output. There is.

(1) 請求項1の発明は、光学系を介した光束を受光する複数の電荷蓄積型の画素を有する撮像素子と、前記画素のうち、前記撮像素子上の第1方向に沿って配列された第1画素列に対して同時に電荷蓄積制御するとともに、前記第1方向と交差する第2方向に沿って配列された第2画素列に対して順次蓄積制御する蓄積制御手段と、前記第1画素列と前記第2画素列の出力に基づいて前記光学系の焦点検出を行う焦点検出手段とを備え、前記焦点検出手段は、前記第1画素列の出力を用いて焦点検出を行い、信頼性のある焦点検出結果が得られなかった場合は、前記第2画素列の出力を用いて焦点検出を行う。
(2) 請求項2の発明は、請求項1に記載の焦点検出装置において、前記光学系の画面内における像の動きを検出する動き検出手段を備え、前記焦点検出手段は、前記動き検出手段により像の動きが検出された場合は、前記第2画素列の出力を用いた焦点検出を禁止する。
(3) 請求項3の発明は、請求項2に記載の焦点検出装置において、前記動き検出手段は、焦点検出装置に加わる振れを検出する。
(4) 請求項4の発明は、請求項2に記載の焦点検出装置において、前記動き検出手段は、異なる時刻における前記撮像素子の出力を比較して像の動きを検出する。
(5) 請求項5の発明は、請求項1〜4のいずれか一項に記載の焦点検出装置において、前記撮像素子は、光学系による像を撮像する複数の撮像画素が二次元状に配列されており、前記第1画素列と前記第2画素列は、前記複数の撮像画素の配列中に設けられている。
(6) 請求項6の発明は、請求項1〜5のいずれか一項に記載の焦点検出装置において、前記第1画素列と、前記第2画素列とが交差するように配列される。
(7) 請求項7の発明は、請求項1〜6のいずれか一項に記載の焦点検出装置において、前記複数の画素は、前記光学系の瞳上の異なる領域を通る一対の光束を受光して前記光学系の焦点調節状態を検出するための信号を出力する。
(8) 請求項8の発明は、請求項7に記載の焦点検出装置において、前記画素は、マイクロレンズと該マイクロレンズに対して配置された一対の光電変換部から構成される。
(9) 請求項9の発明は、請求項7に記載の焦点検出装置において、前記画素は、マイクロレンズと該マイクロレンズに対して配置された第1光電変換部から構成される第1焦点検出画素と、マイクロレンズと該マイクロレンズに対して配置された第2光電変換部から構成される第2焦点検出画素とを含む。
(10) 請求項10の発明は、請求項1〜9のいずれか一項に記載の焦点検出装置を備えた撮像装置である。
(1) The invention of claim 1 is an image sensor having a plurality of charge storage type pixels that receive a light flux through an optical system, and is arranged along a first direction on the image sensor among the pixels. A charge control unit that simultaneously controls charge accumulation for the first pixel columns, and sequentially controls accumulation for the second pixel columns arranged along a second direction intersecting the first direction; A focus detection unit that performs focus detection of the optical system based on the output of the pixel column and the second pixel column, and the focus detection unit performs focus detection using the output of the first pixel column and When a characteristic focus detection result is not obtained, focus detection is performed using the output of the second pixel column.
(2) According to a second aspect of the present invention, in the focus detection apparatus according to the first aspect of the present invention, the focus detection unit further includes a motion detection unit that detects a motion of an image in the screen of the optical system, and the focus detection unit includes When the movement of the image is detected by the above, focus detection using the output of the second pixel row is prohibited.
(3) According to a third aspect of the present invention, in the focus detection apparatus according to the second aspect, the motion detection unit detects a shake applied to the focus detection apparatus.
(4) According to a fourth aspect of the present invention, in the focus detection apparatus according to the second aspect, the motion detecting unit detects an image motion by comparing outputs of the image sensor at different times.
(5) According to a fifth aspect of the present invention, in the focus detection apparatus according to any one of the first to fourth aspects, the imaging element has a plurality of imaging pixels arranged in a two-dimensional array for imaging an image by an optical system. The first pixel column and the second pixel column are provided in an array of the plurality of imaging pixels.
(6) According to a sixth aspect of the present invention, in the focus detection apparatus according to any one of the first to fifth aspects, the first pixel column and the second pixel column are arranged to intersect each other.
(7) According to a seventh aspect of the present invention, in the focus detection apparatus according to any one of the first to sixth aspects, the plurality of pixels receive a pair of light beams passing through different regions on the pupil of the optical system. Then, a signal for detecting the focus adjustment state of the optical system is output.
(8) According to an eighth aspect of the present invention, in the focus detection apparatus according to the seventh aspect, the pixel includes a microlens and a pair of photoelectric conversion units arranged with respect to the microlens.
(9) The invention according to claim 9 is the focus detection apparatus according to claim 7, wherein the pixel includes a microlens and a first photoelectric conversion unit disposed with respect to the microlens. A second focus detection pixel including a pixel, a microlens, and a second photoelectric conversion unit disposed with respect to the microlens.
(10) The invention of claim 10 is an imaging apparatus including the focus detection apparatus according to any one of claims 1 to 9.

本発明によれば、CMOSイメージセンサーのようにライン露光方式(ローリングシャッター方式)で蓄積制御を行う撮像素子においても、画面内の像の動きに対して安定して高精度の焦点検出を行うことができる。   According to the present invention, even in an image sensor that performs accumulation control using a line exposure method (rolling shutter method) such as a CMOS image sensor, focus detection can be performed stably and accurately with respect to the movement of an image on the screen. Can do.

一実施の形態の撮像素子および撮像装置として、レンズ交換式デジタルスチルカメラを例に上げて説明する。図1は一実施の形態のカメラの構成を示すカメラの横断面図である。一実施の形態のデジタルスチルカメラ201は交換レンズ202とカメラボディ203から構成され、交換レンズ202がマウント部204を介してカメラボディ203に装着される。カメラボディ203にはマウント部204を介して種々の撮影光学系を有する交換レンズ202が装着可能である。   A lens interchangeable digital still camera will be described as an example as an imaging device and an imaging apparatus according to an embodiment. FIG. 1 is a cross-sectional view of a camera showing the configuration of the camera of one embodiment. A digital still camera 201 according to an embodiment includes an interchangeable lens 202 and a camera body 203, and the interchangeable lens 202 is attached to the camera body 203 via a mount unit 204. An interchangeable lens 202 having various photographing optical systems can be attached to the camera body 203 via a mount unit 204.

交換レンズ202はレンズ209、ズーミング用レンズ208、フォーカシング用レンズ210、絞り211、レンズ駆動制御装置206などを備えている。レンズ駆動制御装置206は不図示のマイクロコンピューター、メモリ、駆動制御回路などから構成され、フォーカシング用レンズ210の焦点調節と絞り211の開口径調節のための駆動制御や、ズーミング用レンズ208、フォーカシング用レンズ210および絞り211の状態検出などを行う他、後述するボディ駆動制御装置214との通信によりレンズ情報の送信とカメラ情報の受信を行う。絞り211は、光量およびボケ量調整のために光軸中心に開口径が可変な開口を形成する。   The interchangeable lens 202 includes a lens 209, a zooming lens 208, a focusing lens 210, an aperture 211, a lens drive control device 206, and the like. The lens drive control device 206 includes a microcomputer (not shown), a memory, a drive control circuit, and the like. The lens drive control device 206 includes drive control for adjusting the focus of the focusing lens 210 and the aperture diameter of the aperture 211, zooming lens 208, and focusing. In addition to detecting the state of the lens 210 and the aperture 211, the lens information is transmitted and the camera information is received through communication with a body drive control device 214 described later. The aperture 211 forms an aperture having a variable aperture diameter at the center of the optical axis in order to adjust the amount of light and the amount of blur.

カメラボディ203は撮像素子212、ボディ駆動制御装置214、液晶表示素子駆動回路215、液晶表示素子216、接眼レンズ217、メモリカード219などを備えている。撮像素子212には、撮像画素が二次元状に配置されるとともに、焦点検出位置に対応した部分に焦点検出画素が組み込まれている。この撮像素子212については詳細を後述する。   The camera body 203 includes an imaging element 212, a body drive control device 214, a liquid crystal display element drive circuit 215, a liquid crystal display element 216, an eyepiece lens 217, a memory card 219, and the like. In the imaging element 212, imaging pixels are two-dimensionally arranged, and focus detection pixels are incorporated in portions corresponding to focus detection positions. Details of the image sensor 212 will be described later.

ボディ駆動制御装置214はマイクロコンピューター、メモリ、駆動制御回路などから構成され、撮像素子212の駆動制御と画像信号および焦点検出信号の読み出しと、焦点検出信号に基づく焦点検出演算と交換レンズ202の焦点調節を繰り返し行うとともに、画像信号の処理と記録、カメラの動作制御などを行う。また、ボディ駆動制御装置214は電気接点213を介してレンズ駆動制御装置206と通信を行い、レンズ情報の受信とカメラ情報(デフォーカス量や絞り値など)の送信を行う。   The body drive control device 214 includes a microcomputer, a memory, a drive control circuit, and the like, and controls the drive of the image sensor 212, reads out the image signal and the focus detection signal, performs the focus detection calculation based on the focus detection signal, and the focus of the interchangeable lens 202. The adjustment is repeated, and image signal processing and recording, camera operation control, and the like are performed. The body drive control device 214 communicates with the lens drive control device 206 via the electrical contact 213 to receive lens information and send camera information (defocus amount, aperture value, etc.).

液晶表示素子216は電気的なビューファインダー(EVF:Electronic View Finder)として機能する。液晶表示素子駆動回路215は撮像素子212によるスルー画像を液晶表示素子216に表示し、撮影者は接眼レンズ217を介してスルー画像を観察することができる。メモリカード219は、撮像素子212により撮像された画像を記憶する画像ストレージである。   The liquid crystal display element 216 functions as an electric view finder (EVF). The liquid crystal display element driving circuit 215 displays a through image by the imaging element 212 on the liquid crystal display element 216, and the photographer can observe the through image through the eyepiece lens 217. The memory card 219 is an image storage that stores an image captured by the image sensor 212.

交換レンズ202を通過した光束により、撮像素子212の受光面上に被写体像が形成される。この被写体像は撮像素子212により光電変換され、画像信号と焦点検出信号がボディ駆動制御装置214へ送られる。   A subject image is formed on the light receiving surface of the image sensor 212 by the light beam that has passed through the interchangeable lens 202. This subject image is photoelectrically converted by the image sensor 212, and an image signal and a focus detection signal are sent to the body drive control device 214.

ボディ駆動制御装置214は、撮像素子212の焦点検出画素からの焦点検出信号に基づいてデフォーカス量を算出し、このデフォーカス量をレンズ駆動制御装置206へ送る。また、ボディ駆動制御装置214は、撮像素子212からの画像信号を処理してメモリカード219に格納するとともに、撮像素子212からのスルー画像信号を液晶表示素子駆動回路215へ送り、スルー画像を液晶表示素子216に表示させる。さらに、ボディ駆動制御装置214は、レンズ駆動制御装置206へ絞り制御情報を送って絞り211の開口制御を行う。   The body drive control device 214 calculates the defocus amount based on the focus detection signal from the focus detection pixel of the image sensor 212 and sends the defocus amount to the lens drive control device 206. In addition, the body drive control device 214 processes the image signal from the image sensor 212 and stores it in the memory card 219, and sends the through image signal from the image sensor 212 to the liquid crystal display element drive circuit 215, and transmits the through image to the liquid crystal. The image is displayed on the display element 216. Further, the body drive control device 214 sends aperture control information to the lens drive control device 206 to control the aperture of the aperture 211.

レンズ駆動制御装置206は、フォーカシング状態、ズーミング状態、絞り設定状態、絞り開放F値などに応じてレンズ情報を更新する。具体的には、ズーミング用レンズ208とフォーカシング用レンズ210の位置と絞り211の絞り値を検出し、これらのレンズ位置と絞り値に応じてレンズ情報を演算したり、あるいは予め用意されたルックアップテーブルからレンズ位置と絞り値に応じたレンズ情報を選択する。   The lens drive controller 206 updates the lens information according to the focusing state, zooming state, aperture setting state, aperture opening F value, and the like. Specifically, the positions of the zooming lens 208 and the focusing lens 210 and the aperture value of the aperture 211 are detected, and lens information is calculated according to these lens positions and aperture values, or a lookup prepared in advance. Lens information corresponding to the lens position and aperture value is selected from the table.

レンズ駆動制御装置206は、受信したデフォーカス量に基づいてレンズ駆動量を算出し、レンズ駆動量に応じてフォーカシング用レンズ210を合焦位置へ駆動する。また、レンズ駆動制御装置206は受信した絞り値に応じて絞り211を駆動する。   The lens drive control device 206 calculates a lens drive amount based on the received defocus amount, and drives the focusing lens 210 to the in-focus position according to the lens drive amount. Further, the lens drive control device 206 drives the diaphragm 211 in accordance with the received diaphragm value.

図2は撮影画面上の焦点検出位置を示す図であり、後述する焦点検出画素列により焦点検出を行うときに画面上で像をサンプリングする領域(焦点検出エリア、焦点検出位置)の一例を示す。この一実施の形態では、矩形の撮影画面100内の中央、左右、上下の5カ所に焦点検出エリア101〜105が配置される。長方形で示した焦点検出エリア101〜105の長手方向に、複数の焦点検出画素が直線的に配列される。   FIG. 2 is a diagram showing a focus detection position on the photographing screen, and shows an example of a region (focus detection area, focus detection position) on which an image is sampled on the screen when focus detection is performed using a focus detection pixel array to be described later. . In this embodiment, focus detection areas 101 to 105 are arranged at five locations in the center, left and right, and top and bottom in a rectangular shooting screen 100. A plurality of focus detection pixels are linearly arranged in the longitudinal direction of the focus detection areas 101 to 105 indicated by rectangles.

図3は撮像素子212の詳細な構成を示す正面図であり、(a)は図2に示す撮像素子212上の焦点検出エリア101、104、105の近傍を拡大して示し、(b)は図2に示す撮像素子212上の焦点検出エリア102、103の近傍を拡大して示す。まず、撮影画面100の水平方向(左右方向)の焦点検出エリア101、104、105の近くには、図3(a)に示すように、撮像用の撮像画素310と焦点検出用の焦点検出画素313、314が配置される。撮像画素310は水平および垂直方向に二次元状に正方格子配列され、焦点検出画素313、314は水平方向に配列されている。   3 is a front view showing a detailed configuration of the image sensor 212. FIG. 3A is an enlarged view of the vicinity of the focus detection areas 101, 104, and 105 on the image sensor 212 shown in FIG. 2, and FIG. The vicinity of the focus detection areas 102 and 103 on the image sensor 212 shown in FIG. First, in the vicinity of the focus detection areas 101, 104, and 105 in the horizontal direction (left and right direction) of the shooting screen 100, as shown in FIG. 3A, an imaging pixel 310 for imaging and a focus detection pixel for focus detection. 313 and 314 are arranged. The imaging pixels 310 are arranged in a two-dimensional square lattice in the horizontal and vertical directions, and the focus detection pixels 313 and 314 are arranged in the horizontal direction.

撮像画素310は、図4に示すようにマイクロレンズ10、光電変換部11、不図示の色フィルターから構成される。色フィルターは赤(R)、緑(G)、青(B)の3種類からなり、それぞれの分光感度は図6に示す特性を示す。この一実施の形態では、各色フィルターを備えた撮像画素310がベイヤー配列された撮像素子212の例を示す。   As shown in FIG. 4, the imaging pixel 310 includes a microlens 10, a photoelectric conversion unit 11, and a color filter (not shown). There are three types of color filters, red (R), green (G), and blue (B), and each spectral sensitivity exhibits the characteristics shown in FIG. In this embodiment, an example of an imaging element 212 in which imaging pixels 310 having respective color filters are arranged in a Bayer array is shown.

一方、焦点検出画素313は、図5(a)に示すようにマイクロレンズ10と光電変換部16とから構成される。光電変換部16の形状はマイクロレンズ10の垂直2等分線に接する左半円である。また、焦点検出画素314は、図5(b)に示すようにマイクロレンズ10と光電変換部17とから構成される。光電変換部17の形状はマイクロレンズ10の垂直2等分線に接する右半円である。光電変換部16と17は、マイクロレンズ10を重ね合わせて表示した場合に左右水平方向に並んでおり、マイクロレンズ10の垂直2等分線に関して対称な形状をしている。焦点検出エリア101、104、105では、焦点検出画素313と焦点検出画素314が水平方向(光電変換部16と17の並び方向;図2に示す撮影画面100の左右方向)に交互に配置される。   On the other hand, the focus detection pixel 313 includes the microlens 10 and the photoelectric conversion unit 16 as illustrated in FIG. The shape of the photoelectric conversion unit 16 is a left semicircle in contact with the vertical bisector of the microlens 10. Further, the focus detection pixel 314 includes the microlens 10 and the photoelectric conversion unit 17 as illustrated in FIG. The shape of the photoelectric conversion unit 17 is a right semicircle in contact with the vertical bisector of the microlens 10. The photoelectric conversion units 16 and 17 are arranged in the horizontal direction when the microlenses 10 are displayed in a superimposed manner, and have a symmetrical shape with respect to the vertical bisector of the microlens 10. In the focus detection areas 101, 104, and 105, the focus detection pixels 313 and the focus detection pixels 314 are alternately arranged in the horizontal direction (the arrangement direction of the photoelectric conversion units 16 and 17; the left and right direction of the photographing screen 100 shown in FIG. 2). .

焦点検出画素313、314には光量をかせぐために色フィルターが配置されておらず、その分光特性は光電変換を行うフォトダイオードの分光感度と、赤外カットフィルター(不図示)の分光特性を総合した図7に示すような分光特性となる。すなわち、図6に示す緑画素、赤画素、青画素の分光特性を加算したような分光特性となり、その感度の光波長領域は緑画素、赤画素、青画素の感度の光波長領域を包括している。焦点検出画素313、314は、撮像画素310の青(B)フィルターと緑(G)フィルターが配置されるべき行に配置されている。   The focus detection pixels 313 and 314 are not provided with a color filter in order to increase the amount of light, and the spectral characteristics of the focus detection pixels 313 and 314 are the total of the spectral sensitivity of a photodiode that performs photoelectric conversion and the spectral characteristics of an infrared cut filter (not shown). The spectral characteristics are as shown in FIG. That is, the spectral characteristics are obtained by adding the spectral characteristics of the green pixel, the red pixel, and the blue pixel shown in FIG. 6, and the light wavelength region of the sensitivity includes the light wavelength regions of the sensitivity of the green pixel, the red pixel, and the blue pixel. ing. The focus detection pixels 313 and 314 are arranged in a row where the blue (B) filter and the green (G) filter of the imaging pixel 310 are to be arranged.

次に、撮影画面100の垂直方向(上下方向)の焦点検出エリア102、103の近くでは、図3(b)に示すように、撮像用の撮像画素310と焦点検出用の焦点検出画素315、316が配置される。焦点検出画素315,316は、焦点検出画素313,314を90度回転した構造となっており、撮像面において垂直方向に配列されている。焦点検出画素315、316は、撮像画素310のBとGフィルターが配置されるべき列に配置されている。   Next, in the vicinity of the focus detection areas 102 and 103 in the vertical direction (up and down direction) of the shooting screen 100, as shown in FIG. 3B, the imaging pixel 310 for imaging and the focus detection pixel 315 for focus detection, 316 is arranged. The focus detection pixels 315 and 316 have a structure obtained by rotating the focus detection pixels 313 and 314 by 90 degrees, and are arranged in the vertical direction on the imaging surface. The focus detection pixels 315 and 316 are arranged in a column where the B and G filters of the imaging pixel 310 should be arranged.

図8は撮像画素310の断面図である。撮像画素310では、撮像用の光電変換部11の前方にマイクロレンズ10が配置され、マイクロレンズ10により光電変換部11が前方に投影される。光電変換部11は半導体回路基板29上に形成される。不図示の色フィルターはマイクロレンズ10と光電変換部11の中間に配置される   FIG. 8 is a cross-sectional view of the imaging pixel 310. In the imaging pixel 310, the microlens 10 is disposed in front of the photoelectric conversion unit 11 for imaging, and the photoelectric conversion unit 11 is projected forward by the microlens 10. The photoelectric conversion unit 11 is formed on the semiconductor circuit substrate 29. A color filter (not shown) is arranged between the microlens 10 and the photoelectric conversion unit 11.

図9(a)は焦点検出画素313の断面図である。焦点検出画素313では、光電変換部16の前方にマイクロレンズ10が配置され、マイクロレンズ10により光電変換部16が前方に投影される。光電変換部16は半導体回路基板29上に形成されるとともに、その上にマイクロレンズ10が半導体イメージセンサーの製造工程を経て一体的かつ固定的に形成される。光電変換部16はマイクロレンズ10の光軸の片側に配置される。   FIG. 9A is a cross-sectional view of the focus detection pixel 313. In the focus detection pixel 313, the microlens 10 is disposed in front of the photoelectric conversion unit 16, and the photoelectric conversion unit 16 is projected forward by the microlens 10. The photoelectric conversion unit 16 is formed on the semiconductor circuit substrate 29, and the microlens 10 is integrally and fixedly formed thereon through a semiconductor image sensor manufacturing process. The photoelectric conversion unit 16 is disposed on one side of the optical axis of the microlens 10.

図9(b)は焦点検出画素314の断面図である。焦点検出画素314では、光電変換部17の前方にマイクロレンズ10が配置され、マイクロレンズ10により光電変換部17が前方に投影される。光電変換部17は半導体回路基板29上に形成されるとともに、その上にマイクロレンズ10が半導体イメージセンサーの製造工程を経て一体的かつ固定的に形成される。光電変換部17はマイクロレンズ10の光軸の片側でかつ光電変換部16の反対側に配置される。   FIG. 9B is a cross-sectional view of the focus detection pixel 314. In the focus detection pixel 314, the microlens 10 is disposed in front of the photoelectric conversion unit 17, and the photoelectric conversion unit 17 is projected forward by the microlens 10. The photoelectric conversion unit 17 is formed on the semiconductor circuit substrate 29, and the microlens 10 is integrally and fixedly formed thereon through a semiconductor image sensor manufacturing process. The photoelectric conversion unit 17 is disposed on one side of the optical axis of the microlens 10 and on the opposite side of the photoelectric conversion unit 16.

図10は、マイクロレンズを用いた瞳分割型位相差検出方式の焦点検出光学系の構成を示す。図において、90は、交換レンズ202(図1参照)の予定結像面に配置されたマイクロレンズから前方dの距離に設定された射出瞳である。この距離dは、マイクロレンズの曲率、屈折率、マイクロレンズと光電変換部との間の距離などに応じて決まる距離であって、この明細書では測距瞳距離と呼ぶ。91は交換レンズの光軸、10a〜10dはマイクロレンズ、13a、13b、14a、14bは光電変換部、313a、313b、314a、314bは焦点検出画素、73,74、83,84は焦点検出光束である。   FIG. 10 shows a configuration of a pupil division type phase difference detection type focus detection optical system using a microlens. In the figure, reference numeral 90 denotes an exit pupil set at a distance d forward from the microlens arranged on the planned imaging plane of the interchangeable lens 202 (see FIG. 1). This distance d is a distance determined according to the curvature and refractive index of the microlens, the distance between the microlens and the photoelectric conversion unit, and is referred to as a distance measuring pupil distance in this specification. 91 is an optical axis of the interchangeable lens, 10a to 10d are microlenses, 13a, 13b, 14a, and 14b are photoelectric conversion units, 313a, 313b, 314a, and 314b are focus detection pixels, and 73, 74, 83, and 84 are focus detection light fluxes. It is.

また、93は、マイクロレンズ10a、10cにより投影された光電変換部13a、13bの領域であり、この明細書では測距瞳と呼ぶ。図10では、説明を解りやすくするために楕円形の領域で示しているが、実際には光電変換部の形状が拡大投影された形状になる。同様に、94は、マイクロレンズ10b、10dにより投影された光電変換部14a、14bの領域であり、この明細書では測距瞳と呼ぶ。図10では、説明を解りやすくするために楕円形の領域で示しているが、実際には光電変換部の形状が拡大投影された形状になる。   Reference numeral 93 denotes an area of the photoelectric conversion units 13a and 13b projected by the microlenses 10a and 10c, and is referred to as a distance measuring pupil in this specification. In FIG. 10, an elliptical region is shown for easy understanding, but the shape of the photoelectric conversion unit is actually an enlarged projection shape. Similarly, 94 is an area of the photoelectric conversion units 14a and 14b projected by the microlenses 10b and 10d, and is called a distance measuring pupil in this specification. In FIG. 10, an elliptical region is shown for easy understanding, but the shape of the photoelectric conversion unit is actually an enlarged projection shape.

図10では、隣接する4つの焦点検出画素313a、313b、314a、314bを模式的に例示しているが、その他の焦点検出画素においても光電変換部はそれぞれ対応した測距瞳から各マイクロレンズに到来する光束を受光する。焦点検出画素の配列方向は一対の測距瞳の並び方向、すなわち一対の光電変換部の並び方向と一致させる。   In FIG. 10, four adjacent focus detection pixels 313a, 313b, 314a, and 314b are schematically illustrated. However, in other focus detection pixels as well, the photoelectric conversion units are applied to the respective microlenses from the corresponding distance measurement pupils. Receives incoming light flux. The arrangement direction of the focus detection pixels is made to coincide with the arrangement direction of the pair of distance measuring pupils, that is, the arrangement direction of the pair of photoelectric conversion units.

マイクロレンズ10a〜10dは交換レンズ202(図1参照)の予定結像面近傍に配置されており、マイクロレンズ10a〜10dによりその背後に配置された光電変換部13a、13b、14a、14bの形状がマイクロレンズ10a〜10cから測距瞳距離dだけ離間した射出瞳90上に投影され、その投影形状は測距瞳93,94を形成する。すなわち、投影距離dにある射出瞳90上で各焦点検出画素の光電変換部の投影形状(測距瞳93,94)が一致するように、各焦点検出画素における光電変換部の投影方向が決定されている。   The microlenses 10a to 10d are disposed in the vicinity of the planned imaging plane of the interchangeable lens 202 (see FIG. 1), and the shapes of the photoelectric conversion units 13a, 13b, 14a, and 14b disposed behind the microlenses 10a to 10d. Is projected onto the exit pupil 90 separated from the microlenses 10a to 10c by the distance measurement pupil distance d, and the projection shape forms distance measurement pupils 93 and 94. That is, the projection direction of the photoelectric conversion unit in each focus detection pixel is determined so that the projection shape (ranging pupils 93 and 94) of the photoelectric conversion unit of each focus detection pixel matches on the exit pupil 90 at the projection distance d. Has been.

光電変換部13aは測距瞳93を通過し、マイクロレンズ10aに向う光束73によりマイクロレンズ10a上に形成される像の強度に対応した信号を出力する。同様に、光電変換部13bは測距瞳93を通過し、マイクロレンズ10cに向う光束83によりマイクロレンズ10c上に形成される像の強度に対応した信号を出力する。また、光電変換部14aは測距瞳94を通過し、マイクロレンズ10bに向う光束74によりマイクロレンズ10b上に形成される像の強度に対応した信号を出力する。同様に、光電変換部14bは測距瞳94を通過し、マイクロレンズ10dに向う光束84によりマイクロレンズ10d上に形成される像の強度に対応した信号を出力する。   The photoelectric conversion unit 13a passes through the distance measuring pupil 93 and outputs a signal corresponding to the intensity of the image formed on the microlens 10a by the light beam 73 directed to the microlens 10a. Similarly, the photoelectric conversion unit 13b outputs a signal corresponding to the intensity of the image formed on the microlens 10c by the light beam 83 passing through the distance measuring pupil 93 and directed to the microlens 10c. Further, the photoelectric conversion unit 14a outputs a signal corresponding to the intensity of the image formed on the microlens 10b by the light beam 74 passing through the distance measuring pupil 94 and directed to the microlens 10b. Similarly, the photoelectric conversion unit 14b outputs a signal corresponding to the intensity of the image formed on the microlens 10d by the light beam 84 passing through the distance measuring pupil 94 and directed to the microlens 10d.

上述した2種類の焦点検出画素を直線状に多数配置し、各画素の光電変換部の出力を測距瞳93および測距瞳94に対応した出力グループにまとめることによって、測距瞳93と測距瞳94をそれぞれ通過する焦点検出用光束が画素列上に形成する一対の像の強度分布に関する情報が得られる。この情報に対して後述する像ズレ検出演算処理(相関演算処理、位相差検出処理)を施すことによって、いわゆる瞳分割型位相差検出方式で一対の像の像ズレ量が検出される。さらに、像ズレ量に一対の測距瞳の重心間隔に応じた変換演算を行うことによって、予定結像面に対する現在の結像面(予定結像面上のマイクロレンズアレイの位置に対応した焦点検出位置における結像面)の偏差(デフォーカス量)が算出される。   A large number of the two types of focus detection pixels described above are arranged in a straight line, and the output of the photoelectric conversion unit of each pixel is grouped into a distance measurement pupil 93 and an output group corresponding to the distance measurement pupil 94, thereby measuring the distance measurement pupil 93 and the measurement pupil 93. Information on the intensity distribution of the pair of images formed on the pixel array by the focus detection light beams that respectively pass through the distance pupil 94 is obtained. By applying an image shift detection calculation process (correlation calculation process, phase difference detection process), which will be described later, to this information, an image shift amount of a pair of images is detected by a so-called pupil division type phase difference detection method. Further, by performing a conversion operation according to the center-of-gravity interval of the pair of distance measuring pupils on the image shift amount, the current imaging plane with respect to the planned imaging plane (the focal point corresponding to the position of the microlens array on the planned imaging plane) The deviation (defocus amount) of the imaging plane at the detection position is calculated.

図11は撮像素子212の回路構成を示す概念図である。撮像素子212はCMOSイメージセンサーとして構成され、蓄積制御はライン露光方式(ローリングシャッター方式)で制御される。説明を解りやすくするために、撮像素子212の回路構成を、4画素×4画素のレイアウトとして図示する。ここでは、2つの焦点検出画素313、314が3行目の2列目と3列目に配置され、その他は撮像画素310である。すなわち、画面水平方向に配置される焦点検出エリア101、104、105に対応して、焦点検出画素313、314が水平方向に配列されている。なお、画面垂直方向に配置される焦点検出エリア102,103に対応する焦点検出画素315、315の場合は、同じ列上にこれらの焦点検出画素315、315が配列される。例えば、2つの焦点検出画素315、315を3列目の2行目と3行目に配置したとして考えればよい。   FIG. 11 is a conceptual diagram showing a circuit configuration of the image sensor 212. The image sensor 212 is configured as a CMOS image sensor, and accumulation control is controlled by a line exposure method (rolling shutter method). For easy understanding, the circuit configuration of the image sensor 212 is illustrated as a 4 × 4 pixel layout. Here, two focus detection pixels 313 and 314 are arranged in the second and third columns of the third row, and the other is the imaging pixel 310. That is, the focus detection pixels 313 and 314 are arranged in the horizontal direction corresponding to the focus detection areas 101, 104, and 105 arranged in the horizontal direction of the screen. In the case of the focus detection pixels 315 and 315 corresponding to the focus detection areas 102 and 103 arranged in the vertical direction of the screen, these focus detection pixels 315 and 315 are arranged on the same column. For example, it can be considered that the two focus detection pixels 315 and 315 are arranged in the second and third rows of the third column.

上述したように、ライン露光方式では蓄積制御が行ごとに行われるので、同一行に配列される撮像画素と焦点検出画素に対しては露光タイミングの同時性が保証されているが、異なる行に跨って配列される撮像画素と焦点検出画素の間では露光タイミングにズレが生じる。   As described above, since the accumulation control is performed for each row in the line exposure method, the simultaneity of exposure timing is guaranteed for the imaging pixels and focus detection pixels arranged in the same row, but in different rows. There is a deviation in the exposure timing between the imaging pixels and the focus detection pixels that are arranged in a straddling manner.

信号保持部502は、1行分の画素の画像信号を一時的に保持するバッファであり、垂直信号線501に出力されている同一行の画像信号を垂直走査回路503が発する制御信号ΦHに基づいてラッチする。撮像画素310および焦点検出画素313、314の電荷蓄積は、蓄積制御回路504が発する制御信号(ΦR1〜ΦR4)により行ごとに制御される。撮像画素310および焦点検出画素313、314からの画像信号の出力は、垂直走査回路503が発する制御信号(ΦS1〜ΦS4)により行ごとに独立に制御される。制御信号により選択された画素の画像信号は垂直信号線501へ出力される。信号保持部502に保持された画像信号は水平転送回路505が発する制御信号(ΦV1〜ΦV4)により、順次出力回路506へ転送され、出力回路506により予め設定された増幅度で増幅されて外部へ出力される。   The signal holding unit 502 is a buffer that temporarily holds an image signal of pixels for one row, and is based on a control signal ΦH that the vertical scanning circuit 503 generates an image signal of the same row that is output to the vertical signal line 501. And latch. Charge accumulation in the imaging pixel 310 and the focus detection pixels 313 and 314 is controlled for each row by a control signal (ΦR1 to ΦR4) generated by the accumulation control circuit 504. Output of image signals from the imaging pixel 310 and the focus detection pixels 313 and 314 is controlled independently for each row by a control signal (ΦS1 to ΦS4) generated by the vertical scanning circuit 503. The image signal of the pixel selected by the control signal is output to the vertical signal line 501. The image signals held in the signal holding unit 502 are sequentially transferred to the output circuit 506 by the control signals (ΦV1 to ΦV4) generated by the horizontal transfer circuit 505, amplified by the output circuit 506 with a preset amplification degree, and then transmitted to the outside. Is output.

図12は、図11に示す撮像画素310および焦点検出画素313、314の詳細な回路図である。光電変換部はフォトダイオード(PD)で構成される。PDで蓄積された電荷は浮遊拡散層(フローティングディフュージョン:FD)に蓄積される。FDは増幅MOSトランジスター(AMP)のゲートに接続されており、AMPはFDに蓄積された電荷の量に応じた信号を発生する。FDはリセットMOSトランジスター510を介して電源電圧Vddに接続されており、制御信号ΦRn(ΦR1〜ΦR4)によりリセットMOSトランジスター510がオンすることによって、FDおよびPDに溜まった電荷がクリアされリセット状態となる。AMPの出力は行選択MOSトランジスター512を介して垂直出力線501に接続されており、制御信号ΦSn(ΦS1〜ΦS4)により行選択MOSトランジスター512がオンすることによって、AMPの出力が垂直出力線501へ出力される。   FIG. 12 is a detailed circuit diagram of the imaging pixel 310 and the focus detection pixels 313 and 314 shown in FIG. The photoelectric conversion unit is composed of a photodiode (PD). The charge accumulated in the PD is accumulated in a floating diffusion layer (floating diffusion: FD). The FD is connected to the gate of the amplification MOS transistor (AMP), and the AMP generates a signal corresponding to the amount of charge accumulated in the FD. The FD is connected to the power supply voltage Vdd via the reset MOS transistor 510. When the reset MOS transistor 510 is turned on by the control signal ΦRn (ΦR1 to ΦR4), the charges accumulated in the FD and PD are cleared and reset. Become. The output of the AMP is connected to the vertical output line 501 via the row selection MOS transistor 512. When the row selection MOS transistor 512 is turned on by the control signal ΦSn (ΦS1 to ΦS4), the output of the AMP is output to the vertical output line 501. Is output.

図13は、図11に示す撮像素子212の動作を示すタイミングチャートである。1行目の撮像画素310は垂直走査回路503が発する制御信号ΦS1により選択され、選択された撮像画素310の画像信号は垂直信号線501へ出力される。制御信号ΦS1と同期して発せられる制御信号ΦHにより、垂直信号線501へ出力された1行目の画像信号は信号保持部502に一時的に保持される。信号保持部502に保持された1行目の撮像画素310の画像信号は、水平走査回路505から順次発せられる制御信号ΦV1〜ΦV4にしたがって出力回路506へ転送され、出力回路506で設定された増幅度で増幅されて外部へ出力される。   FIG. 13 is a timing chart showing the operation of the image sensor 212 shown in FIG. The imaging pixel 310 in the first row is selected by the control signal ΦS1 generated by the vertical scanning circuit 503, and the image signal of the selected imaging pixel 310 is output to the vertical signal line 501. The image signal of the first row output to the vertical signal line 501 is temporarily held in the signal holding unit 502 by the control signal ΦH issued in synchronization with the control signal ΦS1. The image signals of the imaging pixels 310 in the first row held in the signal holding unit 502 are transferred to the output circuit 506 according to the control signals ΦV1 to ΦV4 sequentially issued from the horizontal scanning circuit 505, and the amplification set by the output circuit 506 Amplified at a degree and output to the outside.

1行目の撮像画素310の画像信号の信号保持部502への転送が終了した時点で、蓄積制御回路504から発せられる制御信号ΦR1により1行目の撮像画素310がリセットされ、制御信号ΦR1の立ち下がりで1行目の撮像画素310の次の電荷蓄積が開始される。1行目の撮像画素310の画像信号の出力回路506からの出力が終了した時点において、2行目の撮像画素310は垂直走査回路503が発する制御信号ΦS2により選択され、選択された撮像画素310の画像信号が垂直信号線501へ出力される。以下、同様にして2行目の撮像画素310の画像信号の保持および撮像画素310のリセット、画像信号の出力および次の電荷蓄積の開始が行われる。   When the transfer of the image signals of the imaging pixels 310 in the first row to the signal holding unit 502 is completed, the imaging pixels 310 in the first row are reset by the control signal ΦR1 issued from the accumulation control circuit 504, and the control signal ΦR1 At the falling edge, the next charge accumulation of the imaging pixels 310 in the first row is started. At the time when the output of the image signal of the imaging pixel 310 of the first row from the output circuit 506 is completed, the imaging pixel 310 of the second row is selected by the control signal ΦS2 generated by the vertical scanning circuit 503, and the selected imaging pixel 310 is selected. Are output to the vertical signal line 501. Thereafter, similarly, holding of the image signal of the imaging pixel 310 in the second row, resetting of the imaging pixel 310, output of the image signal, and start of the next charge accumulation are performed.

続いて3行目の撮像画素310と焦点検出画素313、314の画像信号の保持および画素のリセット、画像信号の出力および次の電荷蓄積の開始が行われる。さらに、続いて4行目の撮像画素310の画像信号の保持および撮像画素310のリセット、撮像画素310の画像信号の出力および次の電荷蓄積の開始が行われる。その後ふたたび1行目へ戻り、上述した動作が繰り返される。   Subsequently, the image signals of the imaging pixels 310 and the focus detection pixels 313 and 314 in the third row are held, the pixels are reset, the image signals are output, and the next charge accumulation is started. Subsequently, the image signal of the imaging pixel 310 in the fourth row is held, the imaging pixel 310 is reset, the image signal of the imaging pixel 310 is output, and the next charge accumulation is started. Thereafter, the process returns to the first line again, and the above-described operation is repeated.

1行目の撮像画素310の画像信号の電荷保持タイミングから、次回の1行目の撮像画素310の画像信号の電荷保持タイミングまでの周期Tsは、一定に制御される。撮像画素310および焦点検出画素313、314の電荷蓄積時間Ti(露光時間)は、画素のリセットタイミング(制御信号ΦRnの立ち下がり)から画像信号の保持タイミング(制御信号ΦSnがON中の制御信号ΦHの立ち上がり)までの時間となる。また、制御信号ΦR1〜ΦR4のパルス幅を変更することによって、撮像画素310および焦点検出画素313、314の電荷蓄積時間Ti(露光時間)を調整することが可能である。   The period Ts from the charge holding timing of the image signal of the imaging pixel 310 of the first row to the charge holding timing of the image signal of the imaging pixel 310 of the next first row is controlled to be constant. The charge accumulation time Ti (exposure time) of the imaging pixel 310 and the focus detection pixels 313 and 314 is determined from the pixel reset timing (falling edge of the control signal ΦRn) to the image signal holding timing (control signal ΦH when the control signal ΦSn is ON). Until the rise of Further, the charge accumulation time Ti (exposure time) of the imaging pixel 310 and the focus detection pixels 313 and 314 can be adjusted by changing the pulse widths of the control signals ΦR1 to ΦR4.

図14は一実施の形態の撮像素子212の露光タイミングの説明図である。撮像素子212では、上述したライン露光方式によって画素の電荷蓄積タイミングの制御が行われる。一般に、N行の撮像素子では、図14に示すように、第1行目の画素の電荷蓄積開始と終了は時刻t1s、t2eとなり、N行目の画素の電荷蓄積開始と終了は時刻tNs、tNeとなる。そして、中間の行の画素の電荷蓄積開始と終了のタイミングは1行目の画素とN行目の画素の電荷蓄積タイミングの間の中間的なタイミングとなって、行ごとに電荷蓄積タイミングのズレを生じる。すなわち、g行目に配置された撮像画素と焦点検出画素の間では電荷蓄積の開始と終了が同時に行われるが、g行目に配置された撮像画素と焦点検出画素と(g+1)行目に配置された撮像画素と焦点検出画素の間では、電荷蓄積の開始と終了が(tNs−t1s)/(N−1)だけ異なることになり、電荷蓄積の同時性が失われる。   FIG. 14 is an explanatory diagram of the exposure timing of the image sensor 212 according to the embodiment. In the image sensor 212, the charge accumulation timing of the pixel is controlled by the above-described line exposure method. In general, in an N-row image sensor, as shown in FIG. 14, the charge accumulation start and end of the pixels in the first row are at times t1s and t2e, and the charge accumulation start and end of the pixels in the N-th row are at time tNs, tNe. The charge accumulation start and end timings of the pixels in the middle row are intermediate timings between the charge accumulation timings of the first row pixels and the Nth row pixels, and the charge accumulation timing shifts for each row. Produce. That is, the charge accumulation starts and ends simultaneously between the imaging pixel and the focus detection pixel arranged in the g-th row, but the imaging pixel and the focus detection pixel arranged in the g-th row and the (g + 1) -th row. The start and end of charge accumulation differ between the arranged imaging pixels and focus detection pixels by (tNs−t1s) / (N−1), and the simultaneity of charge accumulation is lost.

図15は、図1に示すデジタルスチルカメラ(撮像装置)の動作を示すフローチャートである。ボディ駆動制御装置214は、ステップ100でカメラの電源がオンされるとこの動作を開始する。ステップ110において、撮像画素と焦点検出画素をライン露光方式で蓄積制御して撮像画素と焦点検出画素からデータを読み出す。続くステップ120で、撮像画素のデータを電子ビューファインダーに表示させる。ステップ130では、画面水平方向に焦点検出画素313、314が配列された焦点検出エリア101、104、105から読み出された一対の像データに基づいて、後述する像ズレ検出演算処理(相関演算処理)を行い、各焦点検出エリアごとに像ズレ量を演算し、さらに像ズレ量をデフォーカス量に変換する。   FIG. 15 is a flowchart showing the operation of the digital still camera (imaging device) shown in FIG. The body drive control device 214 starts this operation when the camera is turned on in step 100. In step 110, accumulation control of the imaging pixel and the focus detection pixel is performed by a line exposure method, and data is read from the imaging pixel and the focus detection pixel. In the following step 120, the image pickup pixel data is displayed on the electronic viewfinder. In step 130, based on a pair of image data read from the focus detection areas 101, 104, and 105 in which the focus detection pixels 313 and 314 are arranged in the horizontal direction on the screen, an image shift detection calculation process (correlation calculation process) described later is performed. ) To calculate an image shift amount for each focus detection area, and further convert the image shift amount into a defocus amount.

ステップ140において、画面水平方向の焦点検出エリア101、104、105のすべてのエリアで焦点検出不能(信頼性のあるデフォーカス量が求まらなかった)であったか否かを調べ、少なくとも1つの焦点検出エリアで焦点検出可能であった場合はステップ160へ進み、すべてのエリアで焦点検出不能であった場合はステップ150へ進む。   In step 140, it is checked whether or not focus detection is impossible in all the focus detection areas 101, 104, and 105 in the horizontal direction of the screen (a reliable defocus amount has not been obtained), and at least one focus is detected. If focus detection is possible in the detection area, the process proceeds to step 160. If focus detection is not possible in all areas, the process proceeds to step 150.

水平方向のすべての焦点検出エリア101、104、105において焦点検出不能であった場合は、ステップ150で、垂直方向に焦点検出画素315、316が配列された焦点検出エリア102、103から読み出された一対の像データに基づいて、後述する像ズレ検出演算処理(相関演算処理)を行い、各焦点検出エリアごとに像ズレ量を演算し、さらに像ズレ量をデフォーカス量に変換する。   If focus detection is impossible in all the focus detection areas 101, 104, and 105 in the horizontal direction, in step 150, the focus detection pixels 315 and 316 are read out from the focus detection areas 102 and 103 arranged in the vertical direction. Based on the pair of image data, an image shift detection calculation process (correlation calculation process) described later is performed, an image shift amount is calculated for each focus detection area, and the image shift amount is converted into a defocus amount.

ステップ160では、画面水平方向の焦点検出エリア101、104、105の内のいずれか複数の焦点検出エリアでデフォーカス量が求まった場合は、選択処理(複数デフォーカス量の平均、または最も至近を示すデフォーカス量を選択など)をして最終的なデフォーカス量を算出する。画面水平方向の焦点検出エリア101、104、105の内の1つの焦点検出エリアでしかデフォーカス量が求まらなかった場合は、そのデフォーカス量を交換レンズ202の焦点調節を行うための最終的なデフォーカス量とする。   In step 160, when the defocus amount is obtained in any one of the plurality of focus detection areas 101, 104, and 105 in the horizontal direction of the screen, the selection process (average of the plurality of defocus amounts or the closest distance is selected). The final defocus amount is calculated by selecting a defocus amount to be displayed). When the defocus amount can be obtained only in one focus detection area among the focus detection areas 101, 104, and 105 in the horizontal direction of the screen, the final focus for adjusting the focus of the interchangeable lens 202 is determined based on the defocus amount. Defocus amount.

一方、画面水平方向のすべての焦点検出エリア101、104、105で焦点検出不能となり、画面垂直方向の焦点検出エリア102、103の両方でデフォーカス量が求まった場合には、上記選択処理によりいずれかを選択し、焦点検出エリア102、103の一方でのみデフォーカス量が得られた場合には、そのデフォーカス量を交換レンズ202の焦点調節を行うための最終的なデフォーカス量とする。画面水平方向および垂直方向のすべての焦点検出エリアで焦点検出不能であった場合は、焦点検出不能とする。   On the other hand, when the focus detection is impossible in all the focus detection areas 101, 104, and 105 in the horizontal direction of the screen and the defocus amount is obtained in both the focus detection areas 102 and 103 in the vertical direction of the screen, any of the above-described selection processing is performed. When the defocus amount is obtained only in one of the focus detection areas 102 and 103, the defocus amount is set as the final defocus amount for adjusting the focus of the interchangeable lens 202. When focus detection is impossible in all focus detection areas in the horizontal and vertical directions of the screen, focus detection is disabled.

ステップ170において、合焦近傍か否か、つまり算出された最終的なデフォーカス量の絶対値が所定値以内であるか否かを調べる。合焦近傍でないと判定された場合はステップ180へ進み、デフォーカス量をレンズ駆動制御装置206へ送信し、交換レンズ202のフォーカシングレンズ210を合焦位置に駆動させた後、ステップ110へ戻って上述した動作を繰り返す。なお、焦点検出不能な場合もこのステップ180へ分岐し、レンズ駆動制御装置206へスキャン駆動命令を送信し、交換レンズ202のフォーカシングレンズ210を無限から至近までの間でスキャン駆動させた後、ステップ110へ戻って上述した動作を繰り返す。   In step 170, it is checked whether or not the focus is close, that is, whether or not the calculated absolute value of the final defocus amount is within a predetermined value. If it is determined that the focus is not close, the process proceeds to step 180, the defocus amount is transmitted to the lens drive control device 206, the focusing lens 210 of the interchangeable lens 202 is driven to the focus position, and then the process returns to step 110. The above operation is repeated. Even when the focus cannot be detected, the process branches to step 180, a scan drive command is transmitted to the lens drive control device 206, and the focusing lens 210 of the interchangeable lens 202 is driven to scan from infinity to the closest position. Returning to 110, the above-described operation is repeated.

一方、合焦近傍であると判定された場合はステップ190へ進み、レリーズボタン(不図示)が操作されてシャッターレリーズがなされたか否かを判定し、なされていないと判定された場合はステップ110へ戻って上述した動作を繰り返す。シャッターレリーズがなされたと判定された場合はステップ200へ進み、レンズ駆動制御装置206に対して絞り調整命令を送信し、交換レンズ202の絞り値を制御F値(撮影者または自動により設定されたF値)にする。絞り制御が終了した時点で、撮像素子212に撮像動作を行わせ、撮像素子212の撮像画素310およびすべての焦点検出画素313、314、315、316から画像データを読み出す。   On the other hand, if it is determined that the focus is close, the process proceeds to step 190 to determine whether or not a shutter release has been performed by operating a release button (not shown). If it is determined that the shutter release has not been performed, step 110 is performed. Return to and repeat the above operation. If it is determined that the shutter release has been performed, the process proceeds to step 200, where an aperture adjustment command is transmitted to the lens drive control device 206, and the aperture value of the interchangeable lens 202 is controlled to a control F value (F set by the photographer or automatically). Value). When the aperture control is completed, the image sensor 212 is caused to perform an imaging operation, and image data is read from the imaging pixel 310 of the imaging element 212 and all the focus detection pixels 313, 314, 315, and 316.

ステップ210では、焦点検出画素列の各画素位置の画素データを焦点検出画素の周囲の撮像画素のデータに基づいて画素補間する。続くステップ220で、撮像画素のデータおよび補間されたデータからなる画像データをメモリーカード219に保存し、ステップ110へ戻って上述した動作を繰り返す。   In step 210, pixel interpolation is performed on the pixel data at each pixel position in the focus detection pixel row based on the data of the imaging pixels around the focus detection pixel. In the next step 220, the image data composed of the imaged pixel data and the interpolated data is stored in the memory card 219, and the process returns to step 110 to repeat the above-described operation.

以上の動作を実行することによって、電荷蓄積タイミングの同時性が保証された焦点検出エリア101、104、105において焦点検出が優先的に行われ、焦点検出エリア101、104、105において焦点検出不能な場合のみ、電荷蓄積タイミングの同時性が保証されない焦点検出エリア102,103において焦点検出を行うように制御されるので、被写体とカメラの相対的な変位が生じた場合であっても、電荷蓄積タイミングの非同時性に起因する焦点検出の誤動作の確率を減少させることができる。   By executing the above operation, focus detection is preferentially performed in the focus detection areas 101, 104, and 105 in which simultaneity of charge accumulation timing is guaranteed, and focus detection is impossible in the focus detection areas 101, 104, and 105. Only in the case, since the focus detection is controlled in the focus detection areas 102 and 103 where the simultaneity of the charge accumulation timing is not guaranteed, the charge accumulation timing is obtained even when the relative displacement between the subject and the camera occurs. It is possible to reduce the probability of a focus detection malfunction due to the non-simultaneity of the two.

ここで、図15のステップ130と150における像ズレ検出演算処理(相関演算処理)の詳細を説明する。焦点検出画素が検出する一対の像は、測距瞳がレンズの絞り開口によりけられて光量バランスが崩れている可能性があるので、光量バランスに対して像ズレ検出精度を維持できるタイプの相関演算を施す。焦点検出画素列から読み出された一対のデータ列(A11〜A1M、A21〜A2M:Mはデータ数)に対し、下記(1)式に示す相関演算を行い、相関量C(k)を演算する。
C(k)=Σ|A1n・A2n+1+k−A2n+k・A1n+1| ・・・(1)
(1)式において、Σ演算はnについて累積され、nのとる範囲は像ずらし量kに応じてA1n、A1n+1、A2n+k、A2n+1+kのデータが存在する範囲に限定される。像ずらし量kは整数であり、データ列のデータ間隔を単位とした相対的シフト量である。
Here, details of the image shift detection calculation process (correlation calculation process) in steps 130 and 150 of FIG. 15 will be described. The pair of images detected by the focus detection pixels has a possibility that the distance measurement pupil is displaced by the aperture of the lens and the balance of the light quantity is lost. Perform the operation. The correlation calculation shown in the following formula (1) is performed on a pair of data strings (A11 to A1M, A21 to A2M: M is the number of data) read from the focus detection pixel string, and the correlation amount C (k) is calculated. To do.
C (k) = Σ | A1n · A2n + 1 + k−A2n + k · A1n + 1 | (1)
In equation (1), the Σ operation is accumulated for n, and the range taken by n is limited to the range in which the data of A1n, A1n + 1, A2n + k, and A2n + 1 + k exist according to the image shift amount k. The The image shift amount k is an integer and is a relative shift amount with the data interval of the data string as a unit.

(1)式の演算結果は、図16(a)に示すように、一対のデータの相関が高いシフト量(図16(a)ではk=kj=2)において相関量C(k)が極小(小さいほど相関度が高い)になる。次に、下記(2)式〜(5)式に示す3点内挿の手法を用い、連続的な相関量に対する極小値C(x)を与えるシフト量xを求める。
x=kj+D/SLOP ・・・(2),
C(x)= C(kj)-|D| ・・・(3),
D={C(kj-1)−C(k j+1)}/2 ・・・(4),
SLOP=MAX{C(kj+1)−C(kj),C(kj−1)−C(kj)} ・・・(5)
As shown in FIG. 16A, the calculation result of the expression (1) shows that the correlation amount C (k) is minimal at a shift amount with high correlation between a pair of data (k = kj = 2 in FIG. 16A). (The smaller the value, the higher the degree of correlation). Next, the shift amount x that gives the minimum value C (x) with respect to the continuous correlation amount is obtained by using the three-point interpolation method shown in the following equations (2) to (5).
x = kj + D / SLOP (2),
C (x) = C (kj) − | D | (3),
D = {C (kj-1) -C (kj + 1)} / 2 (4),
SLOP = MAX {C (kj + 1) -C (kj), C (kj-1) -C (kj)} (5)

(2)式で算出されたずらし量xの信頼性があるかどうかは、以下のようにして判定される。図16(b)に示すように、一対のデータの相関度が低い場合は、内挿された相関量の極小値C(x)の値が大きくなる。したがって、C(x)が所定のしきい値以上の場合は算出されたずらし量の信頼性が低いと判定し、算出されたずらし量xをキャンセルする。あるいは、C(x)をデータのコントラストで規格化するために、コントラストに比例した値となるSLOPでC(x)を除した値が所定値以上の場合は、算出されたずらし量の信頼性が低いと判定し、算出されたずらし量xをキャンセルする。あるいはまた、コントラストに比例した値となるSLOPが所定値以下の場合は、被写体が低コントラストであり、算出されたずらし量の信頼性が低いと判定し、算出されたずらし量xをキャンセルする。図16(c)に示すように、一対のデータの相関度が低く、シフト範囲kmin〜kmaxの間で相関量C(k)の落ち込みがない場合は、極小値C(x)を求めることができず、このような場合は焦点検出不能と判定する。   Whether or not the shift amount x calculated by the equation (2) is reliable is determined as follows. As shown in FIG. 16B, when the degree of correlation between the pair of data is low, the value of the minimal value C (x) of the interpolated correlation amount increases. Therefore, when C (x) is equal to or greater than a predetermined threshold value, it is determined that the calculated shift amount has low reliability, and the calculated shift amount x is canceled. Alternatively, in order to normalize C (x) with the contrast of data, when the value obtained by dividing C (x) by SLOP that is proportional to the contrast is equal to or greater than a predetermined value, the reliability of the calculated shift amount Is determined to be low, and the calculated shift amount x is canceled. Alternatively, when SLOP that is a value proportional to the contrast is equal to or less than a predetermined value, it is determined that the subject has low contrast and the reliability of the calculated shift amount is low, and the calculated shift amount x is canceled. As shown in FIG. 16C, when the correlation between the pair of data is low and there is no drop in the correlation amount C (k) between the shift ranges kmin to kmax, the minimum value C (x) is obtained. In such a case, it is determined that the focus cannot be detected.

なお、相関演算式としては上記(1)式に限定されず、測距瞳がレンズの絞り開口によりけられて光量バランスが崩れていても像ズレ検出精度を維持できるタイプの相関演算式ならばどのような式でもよい。   The correlation calculation formula is not limited to the above formula (1), and any correlation calculation formula can maintain the image shift detection accuracy even if the distance measurement pupil is displaced by the aperture of the lens and the light quantity balance is lost. Any expression is acceptable.

算出されたずらし量xの信頼性があると判定された場合は、(6)式により像ズレ量shftに換算される。
shft=PY・x ・・・(6)
(6)式において、PYは検出ピッチ(焦点検出画素のピッチ)である。次に、(6)式で算出された像ズレ量に所定の変換係数kを乗じてデフォーカス量defへ変換する。
def=k・shft ・・・(7)
なお、変換係数kは図10に示す一対の測距瞳93,94の重心を見込む開き角θに依存しており、おおよそk=1/(2・Tan(θ/2))の関係がある。
If it is determined that the calculated shift amount x is reliable, it is converted into the image shift amount shft by the equation (6).
shft = PY · x (6)
In the equation (6), PY is a detection pitch (a pitch of focus detection pixels). Next, the image shift amount calculated by the equation (6) is multiplied by a predetermined conversion coefficient k to be converted into a defocus amount def.
def = k · shft (7)
Note that the conversion coefficient k depends on the opening angle θ that anticipates the center of gravity of the pair of distance measuring pupils 93 and 94 shown in FIG. 10, and has a relationship of approximately k = 1 / (2 · Tan (θ / 2)). .

《発明の他の実施の形態》
図17は、デジタルスチルカメラの変形例の動作を示すフローチャートである。上述した一実施の形態の動作(図15参照)では、常に、水平方向の焦点検出エリア101、104、105において、垂直方向の焦点検出エリア102、103に優先して焦点検出を行う例を示したが、状況に応じて、水平方向の焦点検出エリア101、104、105を垂直方向の焦点検出エリア102、103よりも優先して焦点検出を行うようにしてもよい。なお、図17に示す動作において、図15に示す動作と同じ動作を行うステップに対しては同一のステップ番号を付して相違点を中心に説明する。
<< Other Embodiments of the Invention >>
FIG. 17 is a flowchart showing the operation of a modification of the digital still camera. In the operation of the embodiment described above (see FIG. 15), an example is shown in which focus detection is always performed in the focus detection areas 101, 104, and 105 in the horizontal direction in preference to the focus detection areas 102 and 103 in the vertical direction. However, the focus detection may be performed with priority given to the focus detection areas 101, 104, and 105 in the horizontal direction over the focus detection areas 102 and 103 in the vertical direction depending on the situation. In the operation shown in FIG. 17, steps that perform the same operation as the operation shown in FIG.

この変形例の動作では、ステップ120と130の間にステップ121と122が追加されている。ステップ121で画面内の像の動きを検出し、像の動きがあった場合はステップ130へ進み、像の動きがない場合はステップ122へ進む。   In the operation of this modification, steps 121 and 122 are added between steps 120 and 130. In step 121, the movement of the image in the screen is detected. If there is a movement of the image, the process proceeds to step 130. If there is no movement of the image, the process proceeds to step 122.

像の動きの検出方法は、例えば、周知のブレ検出センサーをカメラボディに配置し、ブレ検出センサーの出力に応じて像の動きを検出してもよいし、あるいは、画像メモリをカメラボディに配置し、過去の画像データと今回の画像データとの間で周知の動きベクトルを算出し、この動きベクトルの大きさに応じて像の動きを検出してもよい。   For example, a known motion detection sensor may be disposed in the camera body and the motion of the image may be detected according to the output of the motion detection sensor, or an image memory may be disposed in the camera body. Then, a known motion vector may be calculated between past image data and current image data, and the motion of the image may be detected according to the magnitude of the motion vector.

ステップ122において、すべての焦点検出エリア101〜105から読み出された一対の像データに基づいて、像ズレ検出演算処理(相関演算処理)を行い、各焦点検出エリアごとに像ズレ量を演算し、さらに像ズレ量をデフォーカス量に変換してステップ160へ進む。   In step 122, image shift detection calculation processing (correlation calculation processing) is performed based on a pair of image data read from all the focus detection areas 101 to 105, and an image shift amount is calculated for each focus detection area. Further, the image shift amount is converted into a defocus amount, and the process proceeds to step 160.

この変形例の動作によれば、像の動きがあった場合のみ、電荷蓄積タイミングの同時性が保証された焦点検出エリア101、104、105において焦点検出が優先的に行われ、像の動きがない場合はすべての焦点検出エリア101〜105において焦点検出が行われるため、より多くの焦点検出エリアを有効に利用することができる。   According to the operation of this modification, focus detection is preferentially performed in the focus detection areas 101, 104, and 105 in which the simultaneity of charge accumulation timing is ensured only when there is an image movement, and the image movement is reduced. If not, focus detection is performed in all the focus detection areas 101 to 105, so that more focus detection areas can be used effectively.

図18は、デジタルスチルカメラの他の変形例の動作を示すフローチャートである。図17に示す動作では、画面内で像の動きがある場合にのみ、水平方向の焦点検出エリア101、104、105において垂直方向の焦点検出エリア102、103に対して優先的に焦点検出を行っているが、像の動きがある場合に垂直方向の焦点検出エリア102、103における焦点検出を禁止するようにしてもよい。図18に示す動作では、図17に示す動作の内のステップ140と150の動作を削除し、ステップ130からステップ160へ進む。   FIG. 18 is a flowchart showing the operation of another modification of the digital still camera. In the operation shown in FIG. 17, focus detection is performed preferentially with respect to the focus detection areas 102 and 103 in the vertical direction in the focus detection areas 101, 104, and 105 in the horizontal direction only when there is an image movement in the screen. However, the focus detection in the focus detection areas 102 and 103 in the vertical direction may be prohibited when there is an image movement. In the operation illustrated in FIG. 18, the operations in steps 140 and 150 in the operation illustrated in FIG. 17 are deleted, and the process proceeds from step 130 to step 160.

この他の変形例の動作によれば、像の動きがあった場合(被写体とカメラの相対的な変位が生じた場合)には、電荷蓄積タイミングの非同時性に起因する焦点検出の誤動作を確実に防止することができる。   According to the operation of this other modified example, when there is a movement of the image (when the relative displacement between the subject and the camera occurs), the focus detection malfunction caused by the non-simultaneous charge accumulation timing is detected. It can be surely prevented.

撮像素子における焦点検出エリアの配置は図2に示す配置に限定されず、対角線方向やその他の位置に水平方向および垂直方向に焦点検出エリアを配置することも可能である。   The arrangement of the focus detection areas in the image sensor is not limited to the arrangement shown in FIG. 2, and the focus detection areas can be arranged in the horizontal direction and the vertical direction in the diagonal direction and other positions.

また、水平方向の焦点検出エリアと垂直方向の焦点検出エリアを近接して配置することによって、水平方向の焦点検出エリアが優先された場合でも実質的に焦点検出箇所を減ずることを防止できる。例えば、水平方向の焦点検出エリアと垂直方向の焦点検出エリアを交差して十字型の焦点検出エリアを配置することによって、画面内の像の動きにより垂直方向の焦点検出エリアにおける焦点検出が禁止された場合でも、十字型に交差する水平方向の焦点検出エリアで焦点検出を行うことができ、画面内の同じ位置において焦点検出を実行できる。   Further, by arranging the focus detection areas in the horizontal direction and the focus detection areas in the vertical direction close to each other, it is possible to prevent the focus detection points from being substantially reduced even when the focus detection area in the horizontal direction is given priority. For example, by placing a cross-shaped focus detection area by crossing the horizontal focus detection area and the vertical focus detection area, focus detection in the vertical focus detection area is prohibited by the movement of the image on the screen. Even in this case, focus detection can be performed in the horizontal focus detection area that intersects the cross, and focus detection can be performed at the same position in the screen.

なお、水平方向と垂直方向の十字型の焦点検出エリアを構成する場合には、例えば図3(a)において、水平方向の焦点検出画素313と314の画素列の中央付近で、図3(b)に示す垂直方向の焦点検出画素315と316の配列が交差するようにすればよい。垂直方向の焦点検出画素315と316の配列は、緑と青の撮像画素の列に配置するのが望ましい。なお、交差点において垂直方向の焦点検出画素列を連続的に配列することはできないが、それによる焦点検出精度の低下は無視できる程度である。十字型の焦点検出エリアは撮影画面内の中央部、周辺部の多くの位置に配置することが望ましい。   When forming a cross-shaped focus detection area in the horizontal direction and the vertical direction, for example, in FIG. 3A, in the vicinity of the center of the pixel row of the focus detection pixels 313 and 314 in the horizontal direction, FIG. The vertical focus detection pixels 315 and 316 shown in FIG. The arrangement of the vertical focus detection pixels 315 and 316 is preferably arranged in a row of green and blue imaging pixels. It should be noted that although the vertical focus detection pixel rows cannot be continuously arranged at the intersections, the drop in focus detection accuracy due to this is negligible. It is desirable that the cross-shaped focus detection areas are arranged at many positions in the center and the periphery in the shooting screen.

図3に示す撮像素子において、焦点検出画素313、314、315、316はひとつの画素内にひとつの光電変換部を備えた例を示したが、ひとつの画素内に一対の光電変換部を備えてもよい。例えば、図19に示すように、撮像画素310の二次元配列の中に、ひとつの画素内に一対の光電変換部を備えた焦点検出画素311を複数個配列して撮像素子212Aを構成してもよい。この撮像素子212Aでは、焦点検出画素311が図3に示す焦点検出画素313と焦点検出画素314のペアに相当した機能を果たす。   In the image sensor shown in FIG. 3, the focus detection pixels 313, 314, 315, and 316 have been described as having one photoelectric conversion unit in one pixel, but a pair of photoelectric conversion units is provided in one pixel. May be. For example, as shown in FIG. 19, an imaging element 212A is configured by arranging a plurality of focus detection pixels 311 having a pair of photoelectric conversion units in one pixel in a two-dimensional array of imaging pixels 310. Also good. In this image sensor 212A, the focus detection pixel 311 performs a function corresponding to the pair of the focus detection pixel 313 and the focus detection pixel 314 shown in FIG.

この撮像素子212Aでは、図20に示すように、焦点検出画素311がマイクロレンズ10と一対の光電変換部12,13から構成される。焦点検出画素311には光量をかせぐために色フィルターは配置されておらず、その分光特性は光電変換を行うフォトダイオードの分光感度と、赤外カットフィルター(不図示)の分光特性を総合した分光特性(図7参照)となる。すなわち、図6に示す緑画素、赤画素、青画素の分光特性を加算したような分光特性となり、その感度の光波長領域は緑画素、赤画素、青画素の感度の光波長領域を包括している。   In this image sensor 212A, as shown in FIG. 20, the focus detection pixel 311 is composed of a microlens 10 and a pair of photoelectric conversion units 12 and 13. The focus detection pixel 311 is not provided with a color filter in order to increase the amount of light, and its spectral characteristic is a spectral characteristic that combines the spectral sensitivity of a photodiode that performs photoelectric conversion and the spectral characteristic of an infrared cut filter (not shown). (See FIG. 7). That is, the spectral characteristics are obtained by adding the spectral characteristics of the green pixel, the red pixel, and the blue pixel shown in FIG. 6, and the light wavelength region of the sensitivity includes the light wavelength regions of the sensitivity of the green pixel, the red pixel, and the blue pixel. ing.

図3に示す撮像素子212では、撮像画素の配列中の一部に焦点検出画素を配置した例を示したが、図1においてカメラボディ203の撮影光路中にハーフミラーを配置して撮影光路を分割し、一方の光路に撮像専用の撮像素子を配置し、他方の光路に焦点検出画素のみが2次元状に配列された焦点検出専用の撮像素子を配置した構成のカメラに対しても、本発明を適用することが可能である。   In the image pickup device 212 shown in FIG. 3, an example in which focus detection pixels are arranged in a part of the arrangement of the image pickup pixels is shown. However, in FIG. 1, a half mirror is arranged in the shooting optical path of the camera body 203 to This is also applied to a camera having a configuration in which an image sensor dedicated for imaging is arranged in one optical path and an image sensor dedicated for focus detection in which only focus detection pixels are arranged in a two-dimensional manner is arranged in the other optical path. The invention can be applied.

上述した一実施の形態では、瞳分割位相差検出方式の焦点検出画素を用いた例を示したが、撮像画素を用いたコントラスト検出方式にも本発明を適用することができる。すなわち、水平方向に配列した撮像画素の画像データに基づくコントラスト検出を、垂直方向に配列した撮像画素の画像データに基づくコントラスト検出に対して優先する焦点検出装置を構成することも可能である。   In the above-described embodiment, an example using the pupil division phase difference detection type focus detection pixel is shown, but the present invention can also be applied to a contrast detection method using an imaging pixel. That is, it is possible to configure a focus detection device that prioritizes contrast detection based on image data of imaging pixels arranged in the horizontal direction over contrast detection based on image data of imaging pixels arranged in the vertical direction.

図3に示す撮像素子では、撮像画素がベイヤー配列の色フィルターを備えた例を示したが、色フィルターの構成や配列はこれに限定されることはなく、補色フィルター(緑:G、イエロー:Ye、マゼンタ:Mg,シアン:Cy)の配列を採用してもよい。   In the image pickup device shown in FIG. 3, the example in which the image pickup pixel includes a Bayer color filter is shown. However, the configuration and arrangement of the color filter are not limited to this, and complementary color filters (green: G, yellow: An arrangement of Ye, magenta: Mg, cyan: Cy) may be employed.

図3に示す撮像素子では、焦点検出画素には色フィルターを設けない例を示したが、撮像画素と同色の色フィルターの内のひとつの色フィルター(たとえば緑色のフィルター)を設けるようにした場合でも、本発明を適用することができる。   In the image sensor shown in FIG. 3, an example in which a color filter is not provided in the focus detection pixel is shown. However, when one color filter (for example, a green filter) of the same color filters as the image pickup pixel is provided. However, the present invention can be applied.

図5、図20において、焦点検出画素の光電変換部の形状を半円形とした例を示したが、光電変換部の形状はこれに限定されず、他の形状であってもよい。例えば、焦点検出画素の光電変換部の形状を楕円や矩形や多角形にすることも可能である。   In FIGS. 5 and 20, an example in which the shape of the photoelectric conversion unit of the focus detection pixel is a semicircular shape is shown, but the shape of the photoelectric conversion unit is not limited to this, and may be another shape. For example, the shape of the photoelectric conversion unit of the focus detection pixel may be an ellipse, a rectangle, or a polygon.

図3に示す撮像素子では、撮像画素と焦点検出画素が稠密正方格子配列に配置された例を示したが、稠密六方格子配列であってもよい。   In the imaging device shown in FIG. 3, the example in which the imaging pixels and the focus detection pixels are arranged in a dense square lattice arrangement is shown, but a dense hexagonal lattice arrangement may be used.

本願発明に係わる撮像装置は、交換レンズとカメラボディから構成されるデジタルスチルカメラやフィルムスチルカメラに限定されず、レンズ一体型のデジタルスチルカメラやフィルムスチルカメラやビデオカメラにも適用できる。また、携帯電話などに内蔵される小型カメラモジュールや、監視カメラやロボット用の視覚認識装置等にも適用できる。あるいは、カメラ以外の焦点検出装置や測距装置やステレオ測距装置にも適用することができる。   The imaging apparatus according to the present invention is not limited to a digital still camera or a film still camera including an interchangeable lens and a camera body, and can be applied to a lens-integrated digital still camera, a film still camera, and a video camera. Further, the present invention can be applied to a small camera module built in a mobile phone or the like, a surveillance camera, a visual recognition device for a robot, or the like. Alternatively, the present invention can be applied to a focus detection device other than a camera, a distance measuring device, or a stereo distance measuring device.

一実施の形態のカメラの構成を示すカメラの横断面図Cross-sectional view of the camera showing the configuration of the camera of one embodiment 撮影画面上の焦点検出位置を示す図Diagram showing the focus detection position on the shooting screen 一実施の形態の撮像素子の詳細な構成を示す正面図The front view which shows the detailed structure of the image pick-up element of one embodiment 撮像画素の構成を示す図The figure which shows the structure of an imaging pixel 焦点検出画素の構成を示す図The figure which shows the structure of a focus detection pixel 撮像画素の分光特性を示す図Diagram showing spectral characteristics of imaging pixels 焦点検出画素の分光特性を示す図Diagram showing spectral characteristics of focus detection pixels 撮像画素の断面図Cross section of imaging pixel 焦点検出画素の断面図Cross section of focus detection pixel マイクロレンズを用いた瞳分割型位相差検出方式の焦点検出光学系の構成を示す図The figure which shows the structure of the focus detection optical system of the pupil division type phase difference detection method using a micro lens 一実施の形態の撮像素子の回路構成を示す概念図The conceptual diagram which shows the circuit structure of the image pick-up element of one embodiment 図11に示す撮像画素および焦点検出画素の詳細な回路図Detailed circuit diagram of the imaging pixel and focus detection pixel shown in FIG. 図11に示す撮像素子の動作を示すタイミングチャートTiming chart showing the operation of the image sensor shown in FIG. 一実施の形態の撮像素子の露光タイミングの説明図Explanatory drawing of the exposure timing of the image sensor of one embodiment 図1に示すデジタルスチルカメラ(撮像装置)の動作を示すフローチャート1 is a flowchart showing the operation of the digital still camera (imaging device) shown in FIG. 焦点検出結果の信頼性を説明する図Diagram explaining the reliability of focus detection results 図1に示すデジタルスチルカメラ(撮像装置)の変形例の動作を示すフローチャートThe flowchart which shows operation | movement of the modification of the digital still camera (imaging device) shown in FIG. 図1に示すデジタルスチルカメラ(撮像装置)の他の変形例の動作を示すフローチャートThe flowchart which shows operation | movement of the other modification of the digital still camera (imaging device) shown in FIG. 変形例の撮像素子の正面図Front view of image sensor of modification 図19に示す撮像素子で用いる焦点検出画素の構成を示す図The figure which shows the structure of the focus detection pixel used with the image pick-up element shown in FIG.

符号の説明Explanation of symbols

10;マイクロレンズ、11、12、13、16、17;光電変換部、201;カメラ(撮像装置)、212、212A;撮像素子、214;ボディ駆動制御装置、310;撮像画素、313、314、315、316;焦点検出画素、503;垂直走査回路、504;蓄積制御回路、505;水平走査回路 DESCRIPTION OF SYMBOLS 10; Micro lens, 11, 12, 13, 16, 17; Photoelectric conversion part, 201; Camera (imaging apparatus), 212, 212A; Imaging element, 214; Body drive control apparatus, 310; Imaging pixel, 313, 314, 315, 316; focus detection pixel, 503; vertical scanning circuit, 504; accumulation control circuit, 505; horizontal scanning circuit

Claims (10)

光学系を介した光束を受光する複数の電荷蓄積型の画素を有する撮像素子と、
前記画素のうち、前記撮像素子上の第1方向に沿って配列された第1画素列に対して同時に電荷蓄積制御するとともに、前記第1方向と交差する第2方向に沿って配列された第2画素列に対して順次蓄積制御する蓄積制御手段と、
前記第1画素列と前記第2画素列の出力に基づいて前記光学系の焦点検出を行う焦点検出手段とを備え、
前記焦点検出手段は、前記第1画素列の出力を用いて焦点検出を行い、信頼性のある焦点検出結果が得られなかった場合は、前記第2画素列の出力を用いて焦点検出を行うことを特徴とする焦点検出装置。
An imaging device having a plurality of charge storage type pixels that receive a light beam via an optical system;
Among the pixels, the charge accumulation control is simultaneously performed on the first pixel array arranged along the first direction on the image sensor, and the first pixel array arranged along the second direction intersecting the first direction is used. Accumulation control means for sequentially accumulating two pixel columns;
A focus detection unit that performs focus detection of the optical system based on outputs of the first pixel column and the second pixel column;
The focus detection unit performs focus detection using the output of the first pixel column, and performs focus detection using the output of the second pixel column when a reliable focus detection result is not obtained. A focus detection apparatus.
請求項1に記載の焦点検出装置において、
前記光学系の画面内における像の動きを検出する動き検出手段を備え、
前記焦点検出手段は、前記動き検出手段により像の動きが検出された場合は、前記第2画素列の出力を用いた焦点検出を禁止することを特徴とする焦点検出装置。
The focus detection apparatus according to claim 1,
Motion detection means for detecting the motion of the image in the screen of the optical system,
The focus detection device, wherein the focus detection unit prohibits focus detection using the output of the second pixel row when the motion detection unit detects an image motion.
請求項2に記載の焦点検出装置において、
前記動き検出手段は、焦点検出装置に加わる振れを検出することを特徴とする焦点検出装置。
The focus detection apparatus according to claim 2,
The motion detection means detects a shake applied to the focus detection device.
請求項2に記載の焦点検出装置において、
前記動き検出手段は、異なる時刻における前記撮像素子の出力を比較して像の動きを検出することを特徴とする焦点検出装置。
The focus detection apparatus according to claim 2,
The focus detection apparatus characterized in that the motion detection means detects the motion of an image by comparing the outputs of the imaging elements at different times.
請求項1〜4のいずれか一項に記載の焦点検出装置において、
前記撮像素子は、光学系による像を撮像する複数の撮像画素が二次元状に配列されており、
前記第1画素列と前記第2画素列は、前記複数の撮像画素の配列中に設けられていることを特徴とする焦点検出装置。
In the focus detection apparatus according to any one of claims 1 to 4,
In the imaging device, a plurality of imaging pixels for imaging an image by an optical system are arranged in a two-dimensional shape,
The focus detection apparatus, wherein the first pixel column and the second pixel column are provided in an array of the plurality of imaging pixels.
請求項1〜5のいずれか一項に記載の焦点検出装置において、
前記第1画素列と、前記第2画素列とが交差するように配列されることを特徴とする焦点検出装置。
In the focus detection apparatus according to any one of claims 1 to 5,
The focus detection device, wherein the first pixel column and the second pixel column are arranged to intersect each other.
請求項1〜6のいずれか一項に記載の焦点検出装置において、
前記複数の画素は、前記光学系の瞳上の異なる領域を通る一対の光束を受光して前記光学系の焦点調節状態を検出するための信号を出力することを特徴とする焦点検出装置。
In the focus detection apparatus according to any one of claims 1 to 6,
The plurality of pixels receive a pair of light beams passing through different regions on the pupil of the optical system and output a signal for detecting a focus adjustment state of the optical system.
請求項7に記載の焦点検出装置において、
前記画素は、マイクロレンズと該マイクロレンズに対して配置された一対の光電変換部から構成されることを特徴とする焦点検出装置。
The focus detection apparatus according to claim 7,
The pixel includes a microlens and a pair of photoelectric conversion units arranged with respect to the microlens.
請求項7に記載の焦点検出装置において、
前記画素は、マイクロレンズと該マイクロレンズに対して配置された第1光電変換部から構成される第1焦点検出画素と、マイクロレンズと該マイクロレンズに対して配置された第2光電変換部から構成される第2焦点検出画素とを含むことを特徴とする焦点検出装置。
The focus detection apparatus according to claim 7,
The pixel includes a first focus detection pixel including a microlens and a first photoelectric conversion unit disposed with respect to the microlens, and a second photoelectric conversion unit disposed with respect to the microlens and the microlens. A focus detection apparatus comprising: a second focus detection pixel configured.
請求項1〜9のいずれか一項に記載の焦点検出装置を備えることを特徴とする撮像装置。   An imaging apparatus comprising the focus detection apparatus according to claim 1.
JP2007302776A 2007-11-22 2007-11-22 Focus detection apparatus and imaging apparatus Active JP5167783B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007302776A JP5167783B2 (en) 2007-11-22 2007-11-22 Focus detection apparatus and imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007302776A JP5167783B2 (en) 2007-11-22 2007-11-22 Focus detection apparatus and imaging apparatus

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2012142096A Division JP5403117B2 (en) 2012-06-25 2012-06-25 Focus detection apparatus and imaging apparatus

Publications (2)

Publication Number Publication Date
JP2009128579A true JP2009128579A (en) 2009-06-11
JP5167783B2 JP5167783B2 (en) 2013-03-21

Family

ID=40819574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007302776A Active JP5167783B2 (en) 2007-11-22 2007-11-22 Focus detection apparatus and imaging apparatus

Country Status (1)

Country Link
JP (1) JP5167783B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010271499A (en) * 2009-05-20 2010-12-02 Canon Inc Imaging apparatus
JP2011128302A (en) * 2009-12-16 2011-06-30 Nikon Corp Imaging apparatus
WO2012132827A1 (en) * 2011-03-31 2012-10-04 富士フイルム株式会社 Imaging device, and focus control method therefor
JP2012237769A (en) * 2011-05-09 2012-12-06 Nikon Corp Imaging device
WO2013047158A1 (en) 2011-09-28 2013-04-04 富士フイルム株式会社 Imaging device and focusing control method
CN103380392A (en) * 2011-03-31 2013-10-30 富士胶片株式会社 Imaging device, and focus control method therefor
WO2013183381A1 (en) * 2012-06-07 2013-12-12 富士フイルム株式会社 Image pickup device and image pickup method
JP5613843B2 (en) * 2011-09-28 2014-10-29 富士フイルム株式会社 Solid-state imaging device, imaging apparatus, and focusing control method
JP2016021073A (en) * 2015-09-03 2016-02-04 株式会社ニコン Focus detection device
US9451154B2 (en) 2012-09-28 2016-09-20 Nikon Corporation Focus detection device and image-capturing apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11295587A (en) * 1998-04-09 1999-10-29 Olympus Optical Co Ltd Focusing device
JP2000292686A (en) * 1999-04-06 2000-10-20 Olympus Optical Co Ltd Image pickup device
JP2007243731A (en) * 2006-03-09 2007-09-20 Canon Inc Shift register, solid-state imaging element and control method
JP2007282109A (en) * 2006-04-11 2007-10-25 Nikon Corp Imaging apparatus, camera and image processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11295587A (en) * 1998-04-09 1999-10-29 Olympus Optical Co Ltd Focusing device
JP2000292686A (en) * 1999-04-06 2000-10-20 Olympus Optical Co Ltd Image pickup device
JP2007243731A (en) * 2006-03-09 2007-09-20 Canon Inc Shift register, solid-state imaging element and control method
JP2007282109A (en) * 2006-04-11 2007-10-25 Nikon Corp Imaging apparatus, camera and image processing method

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010271499A (en) * 2009-05-20 2010-12-02 Canon Inc Imaging apparatus
JP2011128302A (en) * 2009-12-16 2011-06-30 Nikon Corp Imaging apparatus
WO2012132827A1 (en) * 2011-03-31 2012-10-04 富士フイルム株式会社 Imaging device, and focus control method therefor
US8982271B2 (en) 2011-03-31 2015-03-17 Fujifilm Corporation Imaging device and focusing control method
CN103380392A (en) * 2011-03-31 2013-10-30 富士胶片株式会社 Imaging device, and focus control method therefor
US8964098B2 (en) 2011-03-31 2015-02-24 Fujifilm Corporation Imaging device and focus control method having first and second correlation computations
JP5468177B2 (en) * 2011-03-31 2014-04-09 富士フイルム株式会社 Imaging apparatus and focus control method thereof
US8704940B2 (en) 2011-03-31 2014-04-22 Fujifilm Corporation Imaging device and focusing control method
CN103380392B (en) * 2011-03-31 2014-12-03 富士胶片株式会社 Imaging device, and focus control method therefor
JP2012237769A (en) * 2011-05-09 2012-12-06 Nikon Corp Imaging device
US8885089B2 (en) 2011-09-28 2014-11-11 Fujifilm Corporation Imaging device and focusing control method
JP5613843B2 (en) * 2011-09-28 2014-10-29 富士フイルム株式会社 Solid-state imaging device, imaging apparatus, and focusing control method
WO2013047158A1 (en) 2011-09-28 2013-04-04 富士フイルム株式会社 Imaging device and focusing control method
JPWO2013047160A1 (en) * 2011-09-28 2015-03-26 富士フイルム株式会社 Solid-state imaging device, imaging apparatus, and focusing control method
WO2013183381A1 (en) * 2012-06-07 2013-12-12 富士フイルム株式会社 Image pickup device and image pickup method
JP5677628B2 (en) * 2012-06-07 2015-02-25 富士フイルム株式会社 Imaging apparatus and imaging method
US9344646B2 (en) 2012-06-07 2016-05-17 Fujifilm Corporation Imaging device and imaging method
US9451154B2 (en) 2012-09-28 2016-09-20 Nikon Corporation Focus detection device and image-capturing apparatus
US9756237B2 (en) 2012-09-28 2017-09-05 Nikon Corporation Focus detection device and image-capturing apparatus
JP2016021073A (en) * 2015-09-03 2016-02-04 株式会社ニコン Focus detection device

Also Published As

Publication number Publication date
JP5167783B2 (en) 2013-03-21

Similar Documents

Publication Publication Date Title
JP5092685B2 (en) Imaging device and imaging apparatus
JP5256711B2 (en) Imaging device and imaging apparatus
JP5045350B2 (en) Imaging device and imaging apparatus
JP5167783B2 (en) Focus detection apparatus and imaging apparatus
JP4867552B2 (en) Imaging device
US8063978B2 (en) Image pickup device, focus detection device, image pickup apparatus, method for manufacturing image pickup device, method for manufacturing focus detection device, and method for manufacturing image pickup apparatus
JP5180717B2 (en) Imaging device
JP4946313B2 (en) Imaging device
US9357121B2 (en) Image capturing apparatus and control method thereof
JP2009141390A (en) Image sensor and imaging apparatus
JP2008103885A (en) Imaging device, focus detecting device, and imaging apparatus
JP5211590B2 (en) Image sensor and focus detection apparatus
JP5699480B2 (en) Focus detection device and camera
JP4858529B2 (en) Imaging device and imaging apparatus
JP5609098B2 (en) Imaging device
JP5186895B2 (en) Imaging device
JP5609232B2 (en) Imaging device
JP2010243772A (en) Imaging apparatus
JP5962830B2 (en) Focus detection device
JP2010091848A (en) Focus detecting apparatus and imaging apparatus
JP5804104B2 (en) Focus adjustment device
JP5403117B2 (en) Focus detection apparatus and imaging apparatus
JP2010039106A (en) Imaging element, focus detection device and imaging apparatus
JP6760424B2 (en) Focus adjuster
JP2009151155A (en) Focus detecting device, focus adjusting device and imaging apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101118

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111102

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111108

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111221

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20111221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120424

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120625

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121210

R150 Certificate of patent or registration of utility model

Ref document number: 5167783

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250