JP2013140385A - Focus detecting device and imaging apparatus - Google Patents

Focus detecting device and imaging apparatus Download PDF

Info

Publication number
JP2013140385A
JP2013140385A JP2013031030A JP2013031030A JP2013140385A JP 2013140385 A JP2013140385 A JP 2013140385A JP 2013031030 A JP2013031030 A JP 2013031030A JP 2013031030 A JP2013031030 A JP 2013031030A JP 2013140385 A JP2013140385 A JP 2013140385A
Authority
JP
Japan
Prior art keywords
photoelectric conversion
focus detection
crosstalk
conversion unit
pair
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
JP2013031030A
Other languages
Japanese (ja)
Other versions
JP5482923B2 (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 JP2013031030A priority Critical patent/JP5482923B2/en
Publication of JP2013140385A publication Critical patent/JP2013140385A/en
Application granted granted Critical
Publication of JP5482923B2 publication Critical patent/JP5482923B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a focus detecting device capable of preventing deterioration of focus detection accuracy due to crosstalk.SOLUTION: A focus detecting device comprises: a pixel array for focus detection in which a plurality of pixels for focus detection comprising photoelectric conversion parts are arrayed to produce a pair of image signals corresponding to a pair of images formed by a pair of beams passing through an optical system; correction means (S130) for correcting output signals of the photoelectric conversion parts in accordance with output signals of photoelectric conversion parts around the photoelectric conversion parts; image deviation detection means (S140) for detecting a relative deviation amount between the pair of images, on the basis of the pair of image signals produced by the output signals of the photoelectric conversion parts after correction with the correction means (S130); and focus detection means (S140) for detecting a focus adjusting state of the optical system on the basis of the deviation amount between the pair of images detected by the image deviation detection means (S140).

Description

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

瞳分割型位相差検出方式による焦点検出装置が知られている(例えば、特許文献1参照)。この焦点検出装置では、1つのマイクロレンズに対して1対の光電変換部を設けた焦点検出用画素を複数配列し、1対の像を検出している。   A focus detection apparatus using a pupil division type phase difference detection method is known (see, for example, Patent Document 1). In this focus detection apparatus, a plurality of focus detection pixels each provided with a pair of photoelectric conversion units are arranged for one microlens to detect a pair of images.

特開昭55−130524号公報Japanese Patent Laid-Open No. 55-130524

しかしながら、上述した従来の焦点検出装置では、焦点検出用画素の1対の光電変換部で1対の像を検出する場合に、光電変換部の間に出力の漏れこみ(クロストーク)が発生して像ズレ量の検出精度が悪化することが判明した。   However, in the conventional focus detection apparatus described above, when a pair of images is detected by the pair of photoelectric conversion units of the focus detection pixels, output leakage (crosstalk) occurs between the photoelectric conversion units. As a result, it was found that the detection accuracy of the image shift amount deteriorated.

請求項1の発明による焦点検出装置は、第1及び第2の光電変換部を有する焦点検出用画素が撮影画面の周辺において前記撮影画面の中心から放射方向に複数個配列され、光学系を通過する1対の光束が形成する1対の像をそれぞれ前記第1及び第2の光電変換部によって受光して1対の像信号を生成する焦点検出用画素列と、前記第1の光電変換部の出力信号と前記撮影画面の中心から前記第2の光電変換部の位置までの距離に起因する第1のクロストーク率とに基づくクロストーク補正量で当該第2の光電変換部の出力信号を補正すると共に、前記第2の光電変換部の出力信号と前記撮影画面の中心から前記第1の光電変換部の位置までの距離に起因する第2のクロストーク率とに基づくクロストーク補正量で当該第1の光電変換部の出力信号を補正する補正手段と、前記補正手段による補正後の前記第1及び第2の光電変換部の出力信号により生成される前記1対の像信号に基づいて、前記1対の像のズレ量を検出する像ズレ検出手段と、前記像ズレ検出手段により検出された前記像のズレ量に基づいて、前記光学系の焦点調節状態を検出する焦点検出手段と、を備え、前記第1の光電変換部と前記撮影画面の中心との距離は、前記第2の光電変換部と前記撮影画面の中心との距離よりも大きく、前記第2のクロストーク率は、前記第1のクロストーク率よりも大きいことを特徴とする。
請求項6の発明による焦点検出装置は、二次元状に配列され、光学系を通過する光束を受光して撮像用の出力信号を出力する光電変換部をそれぞれ有する複数の撮像用画素と、前記光学系を通過する1対の光束をそれぞれ受光するように第1の方向に並置された第1及び第2の光電変換部を有する焦点検出用画素が前記撮像用画素の配列中に前記第1の方向に複数個配列され、前記1対の光束が形成する1対の像に対応した1対の像信号を生成する焦点検出用画素列と、前記焦点検出用画素列の焦点検出用画素の第1の光電変換部の出力信号を、前記第1の方向に関して当該焦点検出用画素の第1の光電変換部の両隣にそれぞれ位置する第2の光電変換部の出力信号の各々に基づくクロストーク補正量と、当該焦点検出用画素の近傍の複数の撮像用画素の光電変換部の出力信号の各々に基づくクロストーク補正量とで補正すると共に、当該焦点検出用画素の第2の光電変換部の出力信号を、前記第1の方向に関して当該焦点検出用画素の第2の光電変換部の両隣にそれぞれ位置する第1の光電変換部の出力信号の各々に基づくクロストーク補正量と、当該焦点検出用画素の近傍の複数の撮像用画素の光電変換部の出力信号の各々に基づくクロストーク補正量とで補正する補正手段と、前記補正手段による補正後の前記第1及び第2の光電変換部の出力信号により生成される前記1対の像信号に基づいて、前記1対の像のズレ量を検出する像ズレ検出手段と、前記像ズレ検出手段により検出された前記1対の像のズレ量に基づいて、前記光学系の焦点調節状態を検出する焦点検出手段と、を備えることを特徴とする。
請求項8の発明による焦点検出装置は、二次元状に配列され、光学系を通過する光束を受光して撮像用の出力信号を出力する光電変換部をそれぞれ有する複数の撮像用画素と、前記光学系を通過する1対の光束をそれぞれ受光するように第1の方向に並置された第1及び第2の光電変換部を有する焦点検出用画素が前記撮像用画素の配列中に前記第1の方向に複数個配列され、前記1対の光束が形成する1対の像に対応した1対の像信号を生成する焦点検出用画素列と、前記焦点検出用画素列の焦点検出用画素の第1の光電変換部の出力信号を、該第1の光電変換部と同一の焦点検出画素内において隣接する第2の光電変換部の出力信号に基づく第1のクロストーク補正量で補正すると共に、当該焦点検出用画素の第2の光電変換部の出力信号を、該第2の光電変換部と同一の焦点検出画素内で隣接する第1の光電変換部の出力信号に基づく第2のクロストーク補正量で補正する補正手段と、前記補正手段による補正後の前記第1及び第2の光電変換部の出力信号により生成される前記1対の像信号に基づいて、前記1対の像のズレ量を検出する像ズレ検出手段と、前記像ズレ検出手段により検出された前記1対の像のズレ量に基づいて、前記光学系の焦点調節状態を検出する焦点検出手段と、を備える焦点検出装置であって、予め定められた第1のクロストーク率と第2のクロストーク率を記憶する記憶手段をさらに備え、前記補正手段は、前記第1のクロストーク量を前記第1のクロストーク率に前記第2の光電変換部の出力を乗ずることにより算出し、前記第1の光電変換部の出力信号から前記第1のクロストーク量を差し引くことにより前記第1の光電変換部の出力信号を補正するとともに、前記第2のクロストーク量を前記第2のクロストーク率に前記第1の光電変換部の出力を乗ずることにより算出し、前記第2の光電変換部の出力信号から前記第2のクロストーク量を差し引くことにより前記第2の光電変換部の出力信号を補正することを特徴とする。
In the focus detection apparatus according to the first aspect of the present invention, a plurality of focus detection pixels having first and second photoelectric conversion units are arranged in the radial direction from the center of the shooting screen around the shooting screen, and pass through the optical system. A focus detection pixel array that receives a pair of images formed by the pair of luminous fluxes received by the first and second photoelectric conversion units and generates a pair of image signals, and the first photoelectric conversion unit. And the output signal of the second photoelectric conversion unit with a crosstalk correction amount based on the first crosstalk rate resulting from the distance from the center of the shooting screen to the position of the second photoelectric conversion unit. And a crosstalk correction amount based on an output signal of the second photoelectric conversion unit and a second crosstalk rate resulting from the distance from the center of the shooting screen to the position of the first photoelectric conversion unit. The output of the first photoelectric converter Based on the correction signal for correcting the signal and the pair of image signals generated by the output signals of the first and second photoelectric conversion units corrected by the correction unit, the deviation amount of the pair of images And a focus detection unit for detecting a focus adjustment state of the optical system based on an amount of shift of the image detected by the image shift detection unit. The distance between the conversion unit and the center of the shooting screen is greater than the distance between the second photoelectric conversion unit and the center of the shooting screen, and the second crosstalk rate is greater than the first crosstalk rate. Is also large.
A focus detection device according to a sixth aspect of the present invention is a two-dimensional array of imaging pixels each having a photoelectric conversion unit that receives a light beam passing through an optical system and outputs an imaging output signal; A focus detection pixel having first and second photoelectric conversion units juxtaposed in a first direction so as to receive a pair of light beams passing through the optical system is disposed in the array of the imaging pixels. A focus detection pixel array that generates a pair of image signals corresponding to a pair of images formed by the pair of light beams, and a focus detection pixel of the focus detection pixel array. Crosstalk based on the output signals of the first photoelectric conversion units based on the output signals of the second photoelectric conversion units located on both sides of the first photoelectric conversion unit of the focus detection pixel with respect to the first direction. The amount of correction and multiple images in the vicinity of the focus detection pixel. While correcting with the crosstalk correction amount based on each output signal of the photoelectric conversion unit of the image pixel, the focus detection of the output signal of the second photoelectric conversion unit of the focus detection pixel with respect to the first direction is performed. Crosstalk correction amount based on each output signal of the first photoelectric conversion unit located on both sides of the second photoelectric conversion unit of the pixel for detection, and photoelectric conversion of a plurality of imaging pixels in the vicinity of the focus detection pixel Correction means for correcting with a crosstalk correction amount based on each of the output signals of the first and second image signals generated by the output signals of the first and second photoelectric conversion sections after correction by the correction means And an image shift detection unit for detecting a shift amount of the pair of images, and a focus adjustment state of the optical system based on the shift amount of the pair of images detected by the image shift detection unit. Focus detection means to detect Characterized in that it comprises a.
A focus detection device according to an eighth aspect of the present invention is a two-dimensional array of a plurality of imaging pixels each having a photoelectric conversion unit that receives a light beam passing through an optical system and outputs an imaging output signal; A focus detection pixel having first and second photoelectric conversion units juxtaposed in a first direction so as to receive a pair of light beams passing through the optical system is disposed in the array of the imaging pixels. A focus detection pixel array that generates a pair of image signals corresponding to a pair of images formed by the pair of light beams, and a focus detection pixel of the focus detection pixel array. While correcting the output signal of the first photoelectric conversion unit with the first crosstalk correction amount based on the output signal of the second photoelectric conversion unit adjacent in the same focus detection pixel as the first photoelectric conversion unit , The output signal of the second photoelectric conversion unit of the focus detection pixel Is corrected with a second crosstalk correction amount based on the output signal of the adjacent first photoelectric conversion unit within the same focus detection pixel as the second photoelectric conversion unit, and after correction by the correction unit An image shift detection unit that detects a shift amount of the pair of images based on the pair of image signals generated from output signals of the first and second photoelectric conversion units, and the image shift detection unit A focus detection unit that detects a focus adjustment state of the optical system based on a shift amount of the pair of images detected by the first detection unit, wherein the focus detection unit has a predetermined first crosstalk rate. And a storage means for storing the second crosstalk rate, wherein the correction means multiplies the first crosstalk rate by the output of the second photoelectric conversion unit. Calculate the first photoelectric conversion unit The output signal of the first photoelectric conversion unit is corrected by subtracting the first crosstalk amount from the force signal, and the first photoelectric conversion unit converts the second crosstalk amount to the second crosstalk rate. It is calculated by multiplying the output of the conversion unit, and the output signal of the second photoelectric conversion unit is corrected by subtracting the second crosstalk amount from the output signal of the second photoelectric conversion unit. To do.

本発明によれば、クロストークに起因する焦点検出精度の低下を防止することができる。   According to the present invention, it is possible to prevent a decrease in focus detection accuracy due to crosstalk.

一実施の形態のカメラの構成を示す横断面図Cross-sectional view showing a configuration of a camera according to an embodiment 撮影画面上における焦点検出用画素の配置を示す図The figure which shows arrangement | positioning of the pixel for a focus detection on an imaging | photography screen 撮像素子の詳細な構成を示す正面図Front view showing detailed configuration of image sensor 撮像用画素の構成を示す正面図Front view showing configuration of imaging pixel 焦点検出用画素の構成を示す正面図Front view showing configuration of focus detection pixel 撮像用画素の分光感度特性を示す図Diagram showing spectral sensitivity characteristics of imaging pixels 焦点検出用画素の分光感度特性を示す図The figure which shows the spectral sensitivity characteristic of the pixel for focus detection 撮像用画素の構造を示す断面図Sectional view showing structure of imaging pixel 焦点検出用画素の構造を示す断面図Sectional view showing structure 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 figure for demonstrating the cause which crosstalk generate | occur | produces in the pixel for focus detection 一実施の形態のデジタルスチルカメラ(撮像装置)の撮像動作を示すフローチャートThe flowchart which shows the imaging operation of the digital still camera (imaging device) of one embodiment 焦点検出用画素におけるクロストークの説明図Explanatory diagram of crosstalk in focus detection pixels 相関演算結果の評価方法を説明するための図Diagram for explaining the evaluation method of correlation calculation results 変形例の撮像素子を示す正面図Front view showing an image sensor of a modified example 図15に示す撮像素子のクロストークの説明図Explanatory drawing of crosstalk of the image sensor shown in FIG. 図15に示す撮像素子のクロストークの説明図Explanatory drawing of crosstalk of the image sensor shown in FIG. 1行おきにサイズの異なる光電変換部を備えた焦点検出用画素を配列した場合のクロストークの説明図Explanatory drawing of crosstalk when the pixels for focus detection provided with photoelectric conversion units having different sizes every other row are arranged ベイヤー配列のGB行(v行)に焦点検出用画素を配列し、上下の行がRGの撮像用画素配列となっている場合のクロストークの説明図Explanatory diagram of crosstalk when focus detection pixels are arranged in GB rows (v rows) of the Bayer array, and the upper and lower rows are RG imaging pixel arrays. 他の変形例の撮像素子の構成を示す正面図Front view showing the configuration of an image sensor of another modification 図20に示す撮像素子状に配列される焦点検出用画素の構成を示す正面図FIG. 20 is a front view showing a configuration of focus detection pixels arranged in the shape of an image sensor shown in FIG. 図20に示す撮像素子のクロストークの説明図Explanatory drawing of crosstalk of the image sensor shown in FIG. 画面上の焦点検出用画素の位置に応じてクロストークの影響が異なることを説明するための図The figure for demonstrating that the influence of crosstalk changes according to the position of the pixel for focus detection on a screen.

一実施の形態の撮像装置として、レンズ交換式デジタルスチルカメラを例に上げて説明する。図1は一実施の形態のカメラの構成を示す横断面図である。一実施の形態のデジタルスチルカメラ201は交換レンズ202とカメラボディ203から構成され、交換レンズ202がマウント部204を介してカメラボディ203に装着される。   As an image pickup apparatus according to an embodiment, a lens interchangeable digital still camera will be described as an example. FIG. 1 is a cross-sectional view showing a configuration of a camera according to an 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.

交換レンズ202はレンズ209、ズーミング用レンズ208、フォーカシング用レンズ210、絞り211、レンズ駆動制御装置206などを備えている。レンズ駆動制御装置206は不図示のマイクロコンピューター、メモリ、駆動制御回路などから構成され、フォーカシング用レンズ210および絞り211の駆動制御や、ズーミング用レンズ208、フォーカシング用レンズ210および絞り211の状態検出などを行う他、後述するボディ駆動制御装置214との通信によりレンズ情報の送信とカメラ情報の受信を行う。   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 controls the driving of the focusing lens 210 and the aperture 211, detects the state of the zooming lens 208, the focusing lens 210 and the aperture 211, and the like In addition, the lens information is transmitted and the camera information is received by communication with a body drive control device 214 described later.

カメラボディ203は撮像素子212、ボディ駆動制御装置214、液晶表示素子駆動回路215、液晶表示素子216、接眼レンズ217、メモリカード219などを備えている。撮像素子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.

ボディ駆動制御装置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 performs drive control of the image sensor 212 and reading of image signals and focus detection signals, image signal processing and recording, and focus detection calculation based on the focus detection signals. The focus adjustment of the interchangeable lens 202 and the operation control of the camera 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:電気的ビューファインダー)として機能する。液晶表示素子駆動回路215は撮像素子212によるスルー画像を液晶表示素子216に表示し、撮影者は接眼レンズ217を介してスルー画像を観察することができる。メモリカード219は、撮像素子212により撮像された画像を記憶する画像ストレージである。   The liquid crystal display element 216 functions as a liquid crystal viewfinder (EVF: electrical viewfinder). 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 flux 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 control device 206 changes 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 a focal point according to the lens drive amount. Further, the lens drive control device 206 drives the diaphragm 211 in accordance with the received diaphragm value.

カメラボディ203にはマウント部204を介して種々の結像光学系を有する交換レンズ202が装着可能であり、カメラボディ203は撮像素子212に組み込まれた焦点検出用画素の出力に基づいて交換レンズ202の焦点調節状態を検出する。   An interchangeable lens 202 having various imaging optical systems can be attached to the camera body 203 via a mount unit 204, and the camera body 203 is based on the output of focus detection pixels incorporated in the image sensor 212. The focus adjustment state 202 is detected.

図2は撮影画面上における焦点検出用画素の配置を示す図であり、後述する焦点検出用画素列の出力に基づいて焦点検出を行うときに、撮影画面上で像をサンプリングする領域(焦点検出エリア、焦点検出位置)を示す。この一実施の形態では、撮影画面100の中央および左右の3箇所に焦点検出エリア101〜103が配置された例を示す。長方形で示した焦点検出エリア101〜103の長手方向に焦点検出用画素が直線的に配列される。通常、ユーザーが焦点検出エリア101〜103の中から構図に応じていずれかの焦点検出エリアを手動で選択する。   FIG. 2 is a diagram showing an arrangement of focus detection pixels on the shooting screen. When focus detection is performed based on an output of a focus detection pixel array described later, an area for sampling an image on the shooting screen (focus detection). Area, focus detection position). In this embodiment, an example is shown in which focus detection areas 101 to 103 are arranged at the center and three places on the left and right of the photographing screen 100. Focus detection pixels are linearly arranged in the longitudinal direction of the focus detection areas 101 to 103 indicated by rectangles. Normally, the user manually selects one of the focus detection areas 101 to 103 according to the composition.

図3は撮像素子212の詳細な構成を示す正面図であり、図2に示す撮影画面中央の焦点検出エリア101付近を拡大した図である。図3において、縦横(画素の行と列)は図2に示す撮影画面100の縦横に対応している。撮像素子212は、緑画素(G)、青画素(B)および赤画素(R)からなる撮像用画素310と焦点検出用画素311から構成され、焦点検出エリア101(図2参照)には焦点検出用画素311が水平方向に配列されている。焦点検出用画素311は、撮像用画素310の緑画素(G)と青画素(B)が配置されるべき行に直線的に密に配置されている。   FIG. 3 is a front view showing a detailed configuration of the image sensor 212, and is an enlarged view of the vicinity of the focus detection area 101 at the center of the photographing screen shown in FIG. In FIG. 3, the vertical and horizontal directions (pixel rows and columns) correspond to the vertical and horizontal directions of the photographing screen 100 shown in FIG. The image sensor 212 includes an imaging pixel 310 including a green pixel (G), a blue pixel (B), and a red pixel (R), and a focus detection pixel 311. The focus detection area 101 (see FIG. 2) has a focus. The detection pixels 311 are arranged in the horizontal direction. The focus detection pixels 311 are arranged linearly and densely in rows where the green pixels (G) and blue pixels (B) of the imaging pixels 310 are to be arranged.

図4に示すように、撮像用画素310はマイクロレンズ10、光電変換部11、不図示の色フィルターから構成される。色フィルターには赤(R)、緑(G)、青(B)の3種類があり、それぞれの分光感度は図6に示す特性になっている。撮像素子212では、赤(R)、緑(G)、青(B)の色フィルターを備えた撮像用画素がベイヤー配列されている。   As shown in FIG. 4, the imaging pixel 310 includes the microlens 10, the 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 the respective spectral sensitivities have the characteristics shown in FIG. In the image pickup device 212, image pickup pixels having red (R), green (G), and blue (B) color filters are arranged in a Bayer array.

図5に示すように、焦点検出用画素311はマイクロレンズ10と1対の光電変換部12、13とから構成され、光電変換部12、13はそれぞれ半円形である。
焦点検出用画素311には光量をかせぐために色フィルターは配置されておらず、その分光特性は光電変換を行うフォトダイオードの分光感度特性と、赤外カットフィルター(
不図示)の分光感度特性とを総合した分光感度特性(図7参照)となり、図6に示す緑画素(G)、赤画素(R)および青画素(B)の分光感度特性を加算したような分光感度特性であり、その感度の光波長領域は緑画素(G)、赤画素(R)および青画素(B)の感度の光波長領域を包括している。
As shown in FIG. 5, the focus detection pixel 311 includes a microlens 10 and a pair of photoelectric conversion units 12 and 13, and the photoelectric conversion units 12 and 13 are each semicircular.
The focus detection pixel 311 is not provided with a color filter in order to increase the amount of light, and its spectral characteristics include the spectral sensitivity characteristic of a photodiode that performs photoelectric conversion, and an infrared cut filter (
The spectral sensitivity characteristics (see FIG. 7) are combined with the spectral sensitivity characteristics (not shown), and the spectral sensitivity characteristics of the green pixel (G), red pixel (R), and blue pixel (B) shown in FIG. 6 are added. The spectral wavelength characteristic is a light wavelength region of sensitivity, and the light wavelength region of sensitivity of the green pixel (G), red pixel (R), and blue pixel (B) is included.

撮像用画素310の光電変換部11は、マイクロレンズ10により明るい交換レンズの射出瞳(たとえばF1.0)を通過する光束をすべて受光するような形状に設計されている。焦点検出用画素311の1対の光電変換部12、13は、マイクロレンズ10により交換レンズの特定の射出瞳(たとえばF2.8)を通過する光束をすべて受光するような形状に設計されている。   The photoelectric conversion unit 11 of the imaging pixel 310 is designed so as to receive all the light beams passing through the exit pupil (for example, F1.0) of the bright interchangeable lens by the microlens 10. The pair of photoelectric conversion units 12 and 13 of the focus detection pixel 311 is designed in such a shape that the microlens 10 receives all the light beams passing through a specific exit pupil (for example, F2.8) of the interchangeable lens. .

図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 imaging photoelectric conversion unit 11, and the shape of 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, and a color filter (not shown) is disposed between the microlens 10 and the photoelectric conversion unit 11.

図9は焦点検出用画素311の断面図である。焦点検出用画素311では、1対の光電変換部12、13の前方にマイクロレンズ10が配置され、マイクロレンズ10により光電変換部12、13の形状が前方に投影される。1対の光電変換部12、13は半導体回路基板29上に形成されるとともに、その上にマイクロレンズ10が半導体イメージセンサーの製造工程により一体的かつ固定的に形成される。   FIG. 9 is a cross-sectional view of the focus detection pixel 311. In the focus detection pixel 311, the microlens 10 is disposed in front of the pair of photoelectric conversion units 12 and 13, and the shape of the photoelectric conversion units 12 and 13 is projected forward by the microlens 10. The pair of photoelectric conversion units 12 and 13 are formed on the semiconductor circuit substrate 29, and the microlens 10 is integrally and fixedly formed thereon by the manufacturing process of the semiconductor image sensor.

図10は、マイクロレンズを用いた瞳分割型位相差検出方式の焦点検出光学系の構成を示す。図において、90は、交換レンズ202(図1参照)の予定結像面に配置されたマイクロレンズの前方dの距離に設定された射出瞳である。距離dは、マイクロレンズの曲率、屈折率、マイクロレンズと光電変換部との間の距離などに応じて決まる距離であって、この明細書では“測距瞳距離”という。91は交換レンズ202の光軸、50、60はマイクロレンズ、(52,53)、(62,63)はマイクロレンズ50,60に対応する光電変換部、72,73、82,83は焦点検出用の光束である。   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 in front of the microlens arranged on the planned imaging plane of the interchangeable lens 202 (see FIG. 1). The distance d is a distance determined according to the curvature, refractive index, distance between the microlens and the photoelectric conversion unit, and the like, and is referred to as “distance pupil distance” in this specification. 91 is an optical axis of the interchangeable lens 202, 50 and 60 are microlenses, (52 and 53) and (62 and 63) are photoelectric conversion units corresponding to the microlenses 50 and 60, and 72, 73, 82, and 83 are focus detections. The luminous flux for use.

また、92はマイクロレンズ50,60により射出瞳90に投影された光電変換部52、62の領域であり、この明細書では“測距瞳”という。93はマイクロレンズ50,60により射出瞳90に投影された光電変換部53,63の領域、すなわち測距瞳である。なお、図10ではわかりやすくするために測距瞳92,93を楕円形の領域で示すが、実際は光電変換部52、53、62、63の形状が拡大投影された形状となる。   Reference numeral 92 denotes an area of the photoelectric conversion units 52 and 62 projected onto the exit pupil 90 by the microlenses 50 and 60, and is referred to as a “ranging pupil” in this specification. Reference numeral 93 denotes an area of the photoelectric conversion units 53 and 63 projected onto the exit pupil 90 by the microlenses 50 and 60, that is, a distance measuring pupil. In FIG. 10, the distance measuring pupils 92 and 93 are shown as elliptical regions for easy understanding, but in reality, the shapes of the photoelectric conversion units 52, 53, 62, and 63 are enlarged and projected.

図10では、光軸91上にある焦点検出用画素(マイクロレンズ50と1対の光電変換部52,53からなる)と、隣接する焦点検出用画素(マイクロレンズ60と1対の光電変換部62,63からなる)を模式的に例示しているが、その他の焦点検出用画素においても、1対の光電変換部はそれぞれ1対の測距瞳92,93から各マイクロレンズに到来する光束を受光する。焦点検出用画素の配列方向は、1対の測距瞳の並び方向、すなわち1対の光電変換部の並び方向と一致させる。   In FIG. 10, focus detection pixels (comprising a microlens 50 and a pair of photoelectric conversion units 52 and 53) on the optical axis 91 and adjacent focus detection pixels (a microlens 60 and a pair of photoelectric conversion units). 62, 63), but also in other focus detection pixels, the pair of photoelectric conversion units has a light beam that arrives at each microlens from a pair of distance measurement pupils 92, 93, respectively. Is received. 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.

マイクロレンズ50、60は光学系の予定結像面近傍に配置されており、光軸91上に配置されたマイクロレンズ50によってその背後に配置された1対の光電変換部52、53の形状がマイクロレンズ50、60から測距瞳距離dだけ離間した射出瞳90上に投影され、その投影形状は測距瞳92,93を形成する。マイクロレンズ50に隣接して配置されたマイクロレンズ60によってその背後に配置された1対の光電変換部62、63の形状が測距瞳距離dだけ離間した射出瞳90上に投影され、その投影形状は測距瞳92,93を形成する。すなわち、測距瞳距離dにある射出瞳90上で各焦点検出用画素の光電
変換部の投影形状(測距瞳92,93)が一致するように、各画素のマイクロレンズと光電変換部の位置関係が決定されている。
The microlenses 50 and 60 are disposed in the vicinity of the planned imaging plane of the optical system, and the shape of the pair of photoelectric conversion units 52 and 53 disposed behind the microlens 50 disposed on the optical axis 91 is the same. Projection is performed on the exit pupil 90 separated from the microlenses 50 and 60 by the distance measurement pupil distance d, and the projection shape forms distance measurement pupils 92 and 93. The shape of the pair of photoelectric conversion units 62 and 63 disposed behind the micro lens 60 disposed adjacent to the micro lens 50 is projected onto the exit pupil 90 separated by the distance measuring pupil distance d, and the projection thereof. The shape forms distance measuring pupils 92 and 93. That is, the microlens of each pixel and the photoelectric conversion unit are arranged so that the projection shapes (ranging pupils 92 and 93) of the photoelectric conversion units of the focus detection pixels coincide on the exit pupil 90 at the distance measurement pupil distance d. The positional relationship is determined.

光電変換部52は、測距瞳92を通過してマイクロレンズ50に向う焦点検出光束72によって、マイクロレンズ50上に形成される像の強度に対応した信号を出力する。光電変換部53は、測距瞳93を通過してマイクロレンズ50に向う焦点検出光束73によって、マイクロレンズ50上に形成される像の強度に対応した信号を出力する。また、光電変換部62は、測距瞳92を通過してマイクロレンズ60に向う焦点検出光束82によって、マイクロレンズ60上に形成される像の強度に対応した信号を出力する。光電変換部63は、測距瞳93を通過してマイクロレンズ60に向う焦点検出光束83によって、マイクロレンズ60上に形成される像の強度に対応した信号を出力する。   The photoelectric conversion unit 52 outputs a signal corresponding to the intensity of the image formed on the microlens 50 by the focus detection light beam 72 that passes through the distance measuring pupil 92 and faces the microlens 50. The photoelectric conversion unit 53 outputs a signal corresponding to the intensity of the image formed on the microlens 50 by the focus detection light beam 73 that passes through the distance measuring pupil 93 and faces the microlens 50. Further, the photoelectric conversion unit 62 outputs a signal corresponding to the intensity of the image formed on the microlens 60 by the focus detection light beam 82 that passes through the distance measuring pupil 92 and faces the microlens 60. The photoelectric conversion unit 63 outputs a signal corresponding to the intensity of the image formed on the microlens 60 by the focus detection light beam 83 that passes through the distance measuring pupil 93 and faces the microlens 60.

上述した焦点検出用画素を直線状に多数配置し、各画素の1対の光電変換部の出力を測距瞳92および測距瞳93に対応した出力グループにまとめることによって、測距瞳92と測距瞳93をそれぞれ通過する焦点検出光束が焦点検出用画素列上に形成する1対の像の強度分布に関する情報が得られる。この情報に対して後述する像ズレ検出演算処理(相関演算処理、位相差検出処理)を施すことによって、いわゆる瞳分割方式で1対の像の像ズレ量が検出される。さらに、像ズレ量に所定の変換処理を施すことにより、予定結像面に対する現在の結像面(予定結像面上のマイクロレンズアレイの位置に対応した焦点検出位置における結像面)の偏差(デフォーカス量)が算出される。   A large number of focus detection pixels described above are arranged in a straight line, and the output of a pair of photoelectric conversion units of each pixel is grouped into an output group corresponding to the distance measurement pupil 92 and the distance measurement pupil 93, whereby the distance measurement pupil 92 and Information on the intensity distribution of a pair of images formed on the focus detection pixel array by the focus detection light fluxes that respectively pass through the distance measuring pupil 93 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, the image shift amount of a pair of images is detected by a so-called pupil division method. Further, by applying a predetermined conversion process to the image shift amount, the deviation of the current imaging plane (imaging plane at the focus detection position corresponding to the position of the microlens array on the planned imaging plane) with respect to the planned imaging plane (Defocus amount) is calculated.

ここで、瞳分割型位相差検出方式を用いた焦点検出装置において、焦点検出用画素の1対の光電変換部で1対の像を検出する場合に、光電変換部の間に出力の漏れこみ(クロストーク)が発生して像ズレ量の検出精度が悪化する問題について説明する。   Here, in the focus detection apparatus using the pupil division type phase difference detection method, when a pair of images is detected by the pair of photoelectric conversion units of the focus detection pixels, an output leaks between the photoelectric conversion units. A problem that the detection accuracy of the image shift amount deteriorates due to occurrence of (crosstalk) will be described.

このような瞳分割型位相差検出方式を用いた焦点検出装置において、像ズレ量をδとした場合に1対の像に対応する1対の像関数をF(x)、F(x+δ)とすると、一方の像関数F(x)に対し他方の像関数F(x+δ)をx方向に相対的に変位させ、ふたつの像関数が一致したときの変位量から像ズレ量δを決定する。ここで、xは焦点検出用画素の配列方向の位置を示す。この一実施の形態では、一方の光電変換部から他方の光電変換部へ漏れこむ出力(クロストーク)を、一方の光電変換部の出力で除した比率をクロストーク率と定める。   In such a focus detection apparatus using the pupil division type phase difference detection method, when an image shift amount is δ, a pair of image functions corresponding to a pair of images are F (x) and F (x + δ). Then, the other image function F (x + δ) is displaced relative to the one image function F (x) in the x direction, and the image displacement amount δ is determined from the displacement amount when the two image functions match. Here, x indicates the position of the focus detection pixels in the arrangement direction. In this embodiment, the ratio obtained by dividing the output (crosstalk) leaking from one photoelectric conversion unit to the other photoelectric conversion unit by the output of one photoelectric conversion unit is defined as the crosstalk rate.

一方の光電変換部からのクロストーク率をαとすると、一方の光電変換部で検出される像関数G(x)はクロストークがない場合の像関数F(x)と対となる光電変換部で検出される像関数F(x+δ)にクロストーク率αを乗じたものの和となり、一方の光電変換部で検出される像関数H(x)はクロストークがない場合の像関数F(x+δ)と対となる光電変換部で検出される像関数F(x)にクロストーク率αを乗じたものの和となる。
G(x)=F(x)+α・F(x+δ)、
H(x)=F(x+δ)+α・F(x) ・・・(1)
このような1対の像関数G(x)とH(x)を用いて像ズレ検出を行うと、検出された像ズレ量は真の像ズレ量δよりも小さな量となってしまう。
When the crosstalk rate from one photoelectric conversion unit is α, the image function G (x) detected by one photoelectric conversion unit is paired with the image function F (x) when there is no crosstalk. Is the sum of the image function F (x + δ) detected in step 1 multiplied by the crosstalk rate α, and the image function H (x) detected in one photoelectric conversion unit is the image function F (x + δ) in the case of no crosstalk. And the image function F (x) detected by the photoelectric conversion unit paired with the product of the crosstalk rate α.
G (x) = F (x) + α · F (x + δ),
H (x) = F (x + δ) + α · F (x) (1)
When image shift detection is performed using such a pair of image functions G (x) and H (x), the detected image shift amount is smaller than the true image shift amount δ.

このようなクロストークが発生する原因は、(1)光電変換部を形成する半導体基板内部において、入射光により光電変換部の端部や深部で発生した電子が周辺の光電変換部に拡散する。(2)半導体表面に形成される遮光メタル層、配線メタル層の間を光が反射伝播する。(3)焦点検出用画素へ入射した光の一部が焦点検出用画素外へ反射され、この反射光がセンサーパッケージ上のカバーガラスなどで再反射されて周辺の撮像用画素に入射する、などが考えられる。   The causes of the occurrence of such crosstalk are as follows: (1) Inside the semiconductor substrate forming the photoelectric conversion part, electrons generated at the end and deep part of the photoelectric conversion part by the incident light diffuse to the peripheral photoelectric conversion part. (2) Light is reflected and propagated between the light shielding metal layer and the wiring metal layer formed on the semiconductor surface. (3) A part of the light incident on the focus detection pixel is reflected outside the focus detection pixel, and the reflected light is re-reflected by a cover glass or the like on the sensor package and incident on the surrounding imaging pixels. Can be considered.

さらに、クロストークについて詳細に説明する。図11は、焦点検出用画素においてクロストークが発生する原因を説明するための図であり、焦点検出用画素の断面構造を示す。図11において、焦点検出用画素はマイクロレンズ、フィルタ、遮光メタル、配線メタル、半導体基板上に形成されたフォトダイオードからなる。なお、焦点検出用画素にはフィルターを備えなくてもよい。   Further, crosstalk will be described in detail. FIG. 11 is a diagram for explaining the cause of the occurrence of crosstalk in the focus detection pixel, and shows a cross-sectional structure of the focus detection pixel. In FIG. 11, the focus detection pixel includes a microlens, a filter, a light shielding metal, a wiring metal, and a photodiode formed on a semiconductor substrate. Note that the focus detection pixel may not include a filter.

このような構成において、クロストークの発生原因(1)は、光電変換部(フォトダイオード)に入射した光がフォトダイオードの外部や深部で光電変換されて電子を発生した後、この電子が拡散して隣接する同じ焦点検出用画素の異なる光電変換部や周囲の焦点検出用画素の光電変換部に混ざり込むことによる。クロストークの発生原因(2)は、焦点検出用画素に入射した光が遮光メタルと配線メタルの隙間を反射伝播して、隣接する同じ焦点検出用画素の異なる光電変換部や周囲の焦点検出用画素の光電変換部に混ざり込むことによる。クロストークの発生原因(3)は、焦点検出用画素に入射した光がフォトダイオードなどで反射していったん焦点検出用画素外に出射した後、センサーパッケージのカバーガラスや、オプチカルローパスフィルターや、赤外カットフィルターなどで反射され、再び同じ焦点検出用画素の異なる光電変換部や周囲の焦点検出用画素の光電変換部に入射して混ざり込むことによる。   In such a configuration, the cause (1) of the occurrence of crosstalk is that light incident on the photoelectric conversion unit (photodiode) is photoelectrically converted outside or at a deep part of the photodiode to generate electrons, and then the electrons diffuse. This is because they are mixed in different photoelectric conversion units of the same focus detection pixel adjacent to each other or photoelectric conversion units of surrounding focus detection pixels. The cause (2) of the occurrence of crosstalk is that the light incident on the focus detection pixel is reflected and propagated through the gap between the light shielding metal and the wiring metal, so that different photoelectric conversion units of the same focus detection pixel adjacent to each other and the surrounding focus detection By mixing with the photoelectric conversion part of the pixel. The cause of the occurrence of crosstalk (3) is that light incident on the focus detection pixel is reflected by a photodiode and emitted to the outside of the focus detection pixel, and then the sensor package cover glass, optical low-pass filter, red This is because the light is reflected by an outer cut filter or the like, and again enters and mixes with a different photoelectric conversion unit of the same focus detection pixel or a surrounding photoelectric conversion unit of the focus detection pixel.

クロストークの発生原因(1)〜(3)はともに入射光線の角度特性によりクロストークの影響度が変化し、入射光線がマイクロレンズの光軸となす角度が大きくなるにつれてクロストークが増加する傾向にある。基本的には、焦点検出用画素の光電変換部へは測距瞳(例えば図10に示す92,93)を通過した光線が入射するが、クロストークを発生する光線は測距瞳以外の領域からも焦点検出用画素に入射する。   The causes (1) to (3) of the occurrence of crosstalk all change the degree of influence of the crosstalk due to the angle characteristics of the incident light, and the crosstalk tends to increase as the angle formed by the incident light and the optical axis of the microlens increases. It is in. Basically, a light beam that has passed through a distance measuring pupil (for example, 92 and 93 shown in FIG. 10) enters the photoelectric conversion unit of the focus detection pixel, but a light beam that generates crosstalk is an area other than the distance measuring pupil. Also enters the focus detection pixels.

一般に、撮影レンズの絞り開口の周辺部を通る光線の焦点検出用画素への入射角度は、絞り開口の中心部を通る光線の焦点検出用画素への入射角度より大きくなり、クロストークにより大きく影響する。このようにクロストーク量は撮影レンズの絞り開口F値に応じて変化するので、クロストーク補正に用いるクロストーク率を撮影レンズの絞り開口F値に応じて測定し、絞り開口F値に応じたデータとして記憶しておき、クロストーク補正の際には焦点検出用画素から焦点検出用信号データを取得した時点の絞り開口F値データをレンズ駆動制御装置206(図1参照)から受信し、この絞り開口F値データに応じたクロストーク率を用いて焦点検出用画素から出力される焦点検出用信号データに対しクロストーク補正を行う。   In general, the incident angle of the light beam passing through the periphery of the aperture stop of the photographing lens to the focus detection pixel is larger than the incident angle of the light beam passing through the center of the aperture opening to the focus detection pixel, and is greatly affected by crosstalk. To do. Since the amount of crosstalk changes in accordance with the aperture F value of the photographing lens in this way, the crosstalk ratio used for crosstalk correction is measured in accordance with the aperture opening F value of the photographing lens, and the amount of crosstalk depends on the aperture aperture F value. This is stored as data, and at the time of crosstalk correction, aperture aperture F value data at the time when focus detection signal data is acquired from the focus detection pixel is received from the lens drive control device 206 (see FIG. 1). Crosstalk correction is performed on the focus detection signal data output from the focus detection pixels using a crosstalk rate corresponding to the aperture opening F value data.

また、クロストークの発生原因(1)に関しては、半導体基板への侵入深さが深い長波長光(赤)のほうが影響度は大きくなる。このような光波長によるクロストーク率の変動を入射光の分光分布特性に応じて補正するために、クロストーク率の分光特性を予め測定して記憶しておくとともに、焦点検出用画素の周囲の撮像用画素のRGB出力に基づいて、焦点検出用信号データを取得した時点の焦点検出用画素への入射光線の分光分布特性を求め、クロストークを与える画素の分光分布(フィルタ波長特性)と、測定された入射光の分光分布特性と、記憶されているクロストーク率の分光特性とに基づいて、クロストーク補正に用いるクロストーク率を補正するようにしてもよい。   Further, as for the cause (1) of the occurrence of crosstalk, the influence is larger in the case of long wavelength light (red) having a deep penetration depth into the semiconductor substrate. In order to correct such fluctuations in the crosstalk ratio due to the light wavelength in accordance with the spectral distribution characteristics of the incident light, the spectral characteristics of the crosstalk ratio are measured and stored in advance, and around the focus detection pixels. Based on the RGB output of the imaging pixel, the spectral distribution characteristic of the incident light beam to the focus detection pixel at the time of acquiring the focus detection signal data is obtained, and the spectral distribution (filter wavelength characteristic) of the pixel giving crosstalk, The crosstalk ratio used for crosstalk correction may be corrected based on the measured spectral distribution characteristic of the incident light and the stored spectral characteristic of the crosstalk ratio.

クロストークの発生原因(3)に関しては、クロストーク原因となる光線がクロストークを与える画素のフィルターとクロストークを受ける画素のフィルターとを通過することになるので、クロストークの原因となる光の波長に応じてクロストーク率が変動する。このようなクロストーク率の変動を入射光の分光分布特性に応じて補正するために、クロストークを与える画素の分光分布(フィルター波長特性)と、クロストークを受ける画素の分光分布(フィルター波長特性)の組み合わせに対しクロストーク率の分光特性を予め測定して記憶しておくとともに、焦点検出用画素の周囲の撮像用画素のRGB出力に基づき
焦点検出用信号データを取得した時点の焦点検出用画素への入射光線の分光分布特性を求め、クロストークを与える画素の分光分布(フィルタ波長特性)と、クロストークを受ける画素の分光分布(フィルタ波長特性)と、測定された入射光の分光分布特性と、記憶されたクロストーク率の分光特性に基づいて、クロストーク補正に用いるクロストーク率を補正するようにしてもよい。
Regarding the cause of the occurrence of crosstalk (3), the light beam causing the crosstalk passes through the filter of the pixel that gives the crosstalk and the filter of the pixel that receives the crosstalk. The crosstalk rate varies depending on the wavelength. In order to correct such fluctuations in the crosstalk rate according to the spectral distribution characteristics of the incident light, the spectral distribution (filter wavelength characteristics) of the pixels giving the crosstalk and the spectral distribution (filter wavelength characteristics) of the pixels receiving the crosstalk ) For the focus detection at the time when the focus detection signal data is acquired based on the RGB output of the imaging pixels around the focus detection pixels. Obtain the spectral distribution characteristics of the incident light to the pixel, and the spectral distribution (filter wavelength characteristics) of the pixel that gives crosstalk, the spectral distribution of the pixels that receive crosstalk (filter wavelength characteristics), and the measured spectral distribution of incident light The crosstalk rate used for crosstalk correction may be corrected based on the characteristics and the spectral characteristics of the stored crosstalk rate.

図12は、一実施の形態のデジタルスチルカメラ(撮像装置)の撮像動作を示すフローチャートである。ボディ駆動制御装置214は、ステップ100でカメラの電源スイッチ(不図示)がオンされるとこの動作を開始する。続くステップ110で撮像用画素の画像データを間引き読み出しし、電子ビューファインダーに表示する。ステップ120では焦点検出用画素列から1対の像に対応した1対の像データを読み出す。ここでは、ユーザーが焦点検出エリア選択スイッチ(不図示)を操作していずれかの焦点検出エリアを選択しているものとする。   FIG. 12 is a flowchart illustrating an imaging operation of the digital still camera (imaging device) according to the embodiment. The body drive control device 214 starts this operation when a power switch (not shown) of the camera is turned on in step 100. In the next step 110, the image data of the imaging pixels are read out and displayed on the electronic viewfinder. In step 120, a pair of image data corresponding to the pair of images is read from the focus detection pixel array. Here, it is assumed that the user has selected a focus detection area by operating a focus detection area selection switch (not shown).

ステップ130において、焦点検出用画素列から読み出された1対の像データに対しクロストーク補正処理を施す。このクロストーク補正処理については後述する。ステップ140において、クロストーク補正処理がなされた1対の像データに基づいて像ズレ検出演算処理(相関演算処理)を行い、像ズレ量を演算し、さらに像ズレ量をデフォーカス量に変換する。なお、相関演算処理については詳細を後述する。   In step 130, crosstalk correction processing is performed on the pair of image data read from the focus detection pixel array. This crosstalk correction process will be described later. In step 140, an image shift detection calculation process (correlation calculation process) is performed based on the pair of image data subjected to the crosstalk correction process, an image shift amount is calculated, and the image shift amount is further converted into a defocus amount. . Details of the correlation calculation process will be described later.

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

一方、合焦近傍であると判定した場合はステップ170へ進み、シャッターボタン(不図示)によりシャッターレリーズ操作がなされたか否かを判定し、なされていないと判定した場合はステップ110へ戻って上述した動作を繰り返す。シャッターレリーズ操作がなされたと判定した場合はステップ180へ進み、レンズ駆動制御装置206に対して絞り調整命令を送信し、交換レンズ202の絞り値を制御F値(ユーザーまたは自動により設定されたF値)にする。絞り制御が終了した時点で、撮像素子212に撮像動作を行わせ、撮像素子212のすべての撮像用画素の画像データとすべての焦点検出用画素の焦点検出用信号データを読み出す。   On the other hand, if it is determined that it is close to the in-focus state, the process proceeds to step 170, where it is determined whether or not a shutter release operation has been performed by a shutter button (not shown), and if it is determined that the shutter release operation has not been performed, the process returns to step 110 and described above. Repeat the operation. If it is determined that the shutter release operation has been performed, the process proceeds to step 180, where an aperture adjustment command is transmitted to the lens drive control device 206, and the aperture value of the interchangeable lens 202 is set to the control F value (the F value set by the user or automatically). ). When the aperture control is completed, the imaging device 212 performs an imaging operation, and the image data of all the imaging pixels of the imaging device 212 and the focus detection signal data of all the focus detection pixels are read out.

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

次に、図12のステップ130におけるクロストーク補正処理について説明する。図13は焦点検出用画素311におけるクロストークの説明図である。図において、焦点検出用画素311の1対の光電変換部(12,13)から出力される焦点検出用信号データをA
2(h,v)、A1(h,v)とする。ここで、h、vは図3に示す2次元画素配置における水平方向および垂直方向の画素の位置を示すための変数であり、例えばA2(h,v)、A1(h,v)はh列目、v行目にある焦点検出用画素の1対の焦点検出用信号データを示している。
Next, the crosstalk correction process in step 130 of FIG. 12 will be described. FIG. 13 is an explanatory diagram of crosstalk in the focus detection pixel 311. In the figure, the focus detection signal data output from the pair of photoelectric conversion units (12, 13) of the focus detection pixel 311 is A.
2 (h, v) and A1 (h, v). Here, h and v are variables for indicating the horizontal and vertical pixel positions in the two-dimensional pixel arrangement shown in FIG. 3, for example, A2 (h, v) and A1 (h, v) are h columns. A pair of focus detection signal data of focus detection pixels in the eye and the vth row is shown.

図13において、光電変換部12から光電変換部13へのクロストーク率をβ、光電変換部13から光電変換部12へのクロストーク率をαとする。クロストーク率は1対の光電変換部の一方を遮光した試作センサーを用いて測定したり、測距瞳上で一方の光電変換部が受光する光束を遮光して測定され、ボディ駆動制御装置214(図1参照)に記憶さ
れる。クロストークがない場合の1対の光電変換部から出力される焦点検出用信号データをB2(h,v)、B1(h,v)とすると、クロストークの影響を受けた焦点検出用信号データA2(h,v)、A1(h,v)は以下のようになる。
A1(h,v)=B1(h,v)+β・B2(h,v)、
A2(h,v)=B2(h,v)+α・B1(h,v) ・・・(2)
In FIG. 13, the crosstalk rate from the photoelectric conversion unit 12 to the photoelectric conversion unit 13 is β, and the crosstalk rate from the photoelectric conversion unit 13 to the photoelectric conversion unit 12 is α. The crosstalk rate is measured by using a prototype sensor in which one of the pair of photoelectric conversion units is shielded, or is measured by shielding a light beam received by one photoelectric conversion unit on the distance measuring pupil. (See FIG. 1). When the focus detection signal data output from the pair of photoelectric conversion units when there is no crosstalk is B2 (h, v) and B1 (h, v), the focus detection signal data affected by the crosstalk A2 (h, v) and A1 (h, v) are as follows.
A1 (h, v) = B1 (h, v) + β · B2 (h, v),
A2 (h, v) = B2 (h, v) + α · B1 (h, v) (2)

クロストークの影響は本来の出力に対して僅かであるとして、B2(h,v)≒A2(h,
v)、B1(h,v)≒A1(h,v)を(2)式に代入すれば、クロストークの影響を除去し
て補正した焦点検出用信号データB2(h,v)、B1(h,v)は以下のように求められる。
B1(h,v)=A1(h,v)−β・A2(h,v)、
B2(h,v)=A2(h,v)−α・A1(h,v) ・・・(3)
(3)式の右辺は光電変換部から出力される焦点検出用信号データおよび予め定められたクロストーク率であるから、(3)式により補正焦点検出用信号データを演算で求めることができる。
Assuming that the influence of the crosstalk is slight with respect to the original output, B2 (h, v) ≈A2 (h,
By substituting v), B1 (h, v) ≈A1 (h, v) into equation (2), focus detection signal data B2 (h, v), B1 ( h, v) is obtained as follows.
B1 (h, v) = A1 (h, v) −β · A2 (h, v),
B2 (h, v) = A2 (h, v) −α · A1 (h, v) (3)
Since the right side of the equation (3) is the focus detection signal data output from the photoelectric conversion unit and the predetermined crosstalk rate, the corrected focus detection signal data can be obtained by calculation according to the equation (3).

クロストークの影響は後述するように、焦点検出用画素に対する入射光線の入射角度や、1対の光電変換部の並び方向に対する入射光線の入射方向にも依存するため、クロストーク率は焦点検出用画素の位置(画面中心からの距離)の関数として定められるとともに、1対の光電変換部に対する1対のクロストーク率は別々に定められている。(3)式をすべての1対の焦点検出用信号データに対して施すことによって、クロストーク補正処理がなされる。   As will be described later, the influence of the crosstalk depends on the incident angle of the incident light with respect to the focus detection pixel and the incident direction of the incident light with respect to the arrangement direction of the pair of photoelectric conversion units. It is determined as a function of the position of the pixel (distance from the center of the screen), and a pair of crosstalk rates for a pair of photoelectric conversion units are separately determined. By applying equation (3) to all pairs of focus detection signal data, crosstalk correction processing is performed.

次に、図12のステップ140における像ズレ検出演算処理(相関演算処理)について説明する。焦点検出用画素が検出する1対の像は、測距瞳がレンズの絞り開口によりけられて光量バランスが崩れている可能性があるので、光量バランスに対して像ズレ検出精度を維持できるタイプの相関演算を施す。クロストーク補正処理が終了した1対のデータ列(B11〜B1M、B21〜B2M:Mはデータ数)に対し、(4)式を用いて相関演算を行い、相関量C(k)を演算する。
C(k)=Σ|B1n・B2n+1+k−B2n+k・B1n+1| ・・・(4)
(4)式において、Σ演算はnについて累積され、nのとる範囲は像ずらし量kに応じてB1n、B1n+1、B2n+k、B2n+1+kのデータが存在する範囲に限定される。像ずらし量kは整数であり、データ列のデータ間隔を単位とした相対的シフト量である。
Next, the image shift detection calculation process (correlation calculation process) in step 140 of FIG. 12 will be described. The pair of images detected by the focus detection pixels is a type that can maintain the image shift detection accuracy with respect to the light amount balance because the distance measurement pupil is displaced by the aperture of the lens and the light amount balance may be lost. The correlation calculation is performed. A correlation calculation is performed on the pair of data strings (B11 to B1M, B21 to B2M: M is the number of data) for which the crosstalk correction processing has been completed, using equation (4), and a correlation amount C (k) is calculated. .
C (k) = Σ | B1n · B2n + 1 + k−B2n + k · B1n + 1 | (4)
In equation (4), the Σ operation is accumulated for n, and the range taken by n is limited to the range in which B1n, B1n + 1, B2n + k, and B2n + 1 + k data 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.

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

(5)式で算出されたずらし量xの信頼性があるかどうかは、次のようにして判定する。図14(b)に示すように、1対のデータの相関度が低い場合は、内挿された相関量の極小値C(x)の値が大きくなる。したがって、C(x)が所定のしきい値以上の場合は算出されたずらし量の信頼性が低いと判定し、算出されたずらし量xをキャンセルする。あるい
は、C(x)をデータのコントラストで規格化するために、コントラストに比例した値となるSLOPでC(x)を除した値が所定値以上の場合は、算出されたずらし量の信頼性が低いと判定し、算出されたずらし量xをキャンセルする。あるいはまた、コントラストに比例した値となるSLOPが所定値以下の場合は、被写体が低コントラストであり、算出されたずらし量の信頼性が低いと判定し、算出されたずらし量xをキャンセルする。
Whether or not the shift amount x calculated by the equation (5) is reliable is determined as follows. As shown in FIG. 14B, when the degree of correlation between a 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.

図14(c)に示すように、1対のデータの相関度が低く、シフト範囲kmin〜kmaxの間で相関量C(x)の落ち込みがない場合は、極小値C(x)を求めることができず、このような場合は焦点検出不能と判定する。   As shown in FIG. 14C, when the degree of correlation of a pair of data is low and there is no drop in the correlation amount C (x) 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.

なお、相関演算式としては(4)式に限定されず、測距瞳がレンズの絞り開口によりけられて光量バランスが崩れても像ズレ検出精度を維持できるタイプの相関演算式であればよい。算出されたずらし量xの信頼性があると判定された場合は、(9)式により像ズレ量shftに換算する。
shft=PY・x ・・・(9)
(9)式において、PYは検出ピッチ(焦点検出画素のピッチ)である。(9)式で算出された像ズレ量shftに所定の変換係数kを乗じてデフォーカス量defへ変換する。
def=k・shft ・・・(10)
The correlation calculation formula is not limited to the formula (4), and any correlation calculation formula may be used as long as the distance measurement pupil is displaced by the aperture of the lens and the light quantity balance is lost, so that the image shift detection accuracy can be maintained. . If it is determined that the calculated shift amount x is reliable, it is converted into the image shift amount shft by the equation (9).
shft = PY · x (9)
In the equation (9), PY is a detection pitch (a pitch of focus detection pixels). The image shift amount shft calculated by the equation (9) is multiplied by a predetermined conversion coefficient k to be converted into a defocus amount def.
def = k · shft (10)

《一実施の形態の変形例》
図3に示す撮像素子212では、焦点検出用画素311を撮像用画素配列の1行に配列した例を示したが、図15に示すように焦点検出用画素311を複数行連続して配列してもよい。
<< Modification of Embodiment >>
In the imaging device 212 shown in FIG. 3, the example in which the focus detection pixels 311 are arranged in one row of the imaging pixel array is shown. However, as shown in FIG. May be.

図16、図17は、図15に示す焦点検出用画素配列におけるクロストークの説明図である。h列目、v行目の焦点検出用画素の1対の光電変換部から出力される焦点検出用信号データをA1(h,v)、A2(h,v)とする。図16に、クロストークの影響を受けた光電変換部の位置とその光電変換部の焦点検出用信号データA1(h,v)、クロストークの
影響を与えた光電変換部の位置とその光電変換部の焦点検出用信号データ、およびクロストーク率βi(i=0〜7)を示す。また、図17には、クロストークの影響を受けた光電変換部の位置とその光電変換部の焦点検出用信号データA2(h,v)、クロストークの
影響を与えた光電変換部の位置とその光電変換部の焦点検出用信号データ、およびクロストーク率αi(i=0〜7)を示す。
16 and 17 are explanatory diagrams of crosstalk in the focus detection pixel array shown in FIG. The focus detection signal data output from the pair of photoelectric conversion units of the focus detection pixels in the h-th column and the v-th row are denoted by A1 (h, v) and A2 (h, v). FIG. 16 shows the position of the photoelectric conversion unit affected by the crosstalk, focus detection signal data A1 (h, v) of the photoelectric conversion unit, the position of the photoelectric conversion unit affected by the crosstalk, and the photoelectric conversion thereof. The focus detection signal data and the crosstalk rate βi (i = 0 to 7) are shown. FIG. 17 shows the position of the photoelectric conversion unit affected by the crosstalk, the focus detection signal data A2 (h, v) of the photoelectric conversion unit, and the position of the photoelectric conversion unit affected by the crosstalk. The focus detection signal data and the crosstalk rate αi (i = 0 to 7) of the photoelectric conversion unit are shown.

クロストークがない場合の光電変換部の焦点検出用データをB1(h+m,v+n)、B
2(h+m,v+n)とすると、クロストークの影響を受けた出力データA1(h,v)、A2(h,v)は以下のようになる。
A1(h,v)=B1(h,v)+β0・B2(h,v)+β1・B2(h,v+1)+β2・B1(h,v+1)+β3・B2(h−1,v+1)+β4・B2(h−1,v)+β5・B2(h−1,v−1)+β6・B1(h,v−1)+β7・B2(h,v−1)、
A2(h,v)=B2(h,v)+α0・B1(h,v)+α1・B1(h,v+1)+α2・B2(h,v+1)+α3・B1(h+1,v+1)+α4・B1(h+1,v)+α5・B1(h+1,v−1)+α6・B2(h,v−1)+α7・B1(h,v−1) ・・・(11)
The focus detection data of the photoelectric conversion unit when there is no crosstalk is B1 (h + m, v + n), B
Assuming that 2 (h + m, v + n), the output data A1 (h, v) and A2 (h, v) affected by the crosstalk are as follows.
A1 (h, v) = B1 (h, v) + β0 · B2 (h, v) + β1 · B2 (h, v + 1) + β2 · B1 (h, v + 1) + β3 · B2 (h-1, v + 1) + β4 B2 (h-1, v) + β5B2 (h-1, v-1) + β6B1 (h, v-1) + β7B2 (h, v-1)
A2 (h, v) = B2 (h, v) + α0 · B1 (h, v) + α1 · B1 (h, v + 1) + α2 · B2 (h, v + 1) + α3 · B1 (h + 1, v + 1) + α4 · B1 (h + 1, v) + α5 · B1 (h + 1, v−1) + α6 · B2 (h, v−1) + α7 · B1 (h, v−1) (11)

クロストークの影響は本来の出力に対して僅かであるとして、B1(h+m,v+n)≒
A1(h+m,v+n)、B2(h+m,v+n)≒A2(h+m,v+n)を(11)式に代入
すると、クロストークの影響を除去して補正した焦点検出用信号データB1(h,v)、B
2(h,v)の算出式は以下のようになる。
B1(h,v)=A1(h,v)−β0・A2(h,v)−β1・A2(h,v+1)−β2・A1(h,v+1)−β3・A2(h−1,v+1)−β4・A2(h−1,v)−β5・A2(h−1,
v−1)−β6・A1(h,v−1)−β7・A2(h,v−1)、
B2(h,v)=A2(h,v)−α0・A1(h,v)−α1・A1(h,v+1)−α2・A2(h,v+1)−α3・A1(h+1,v+1)−α4・A1(h+1,v)−α5・A1(h+1,v−1)−α6・A2(h,v−1)−α7・A1(h,v−1) ・・・(12)
Assuming that the influence of the crosstalk is slight with respect to the original output, B1 (h + m, v + n) ≈
By substituting A1 (h + m, v + n), B2 (h + m, v + n) ≈A2 (h + m, v + n) into the equation (11), focus detection signal data B1 (h, v) corrected by removing the influence of crosstalk , B
The calculation formula of 2 (h, v) is as follows.
B1 (h, v) = A1 (h, v) −β0 · A2 (h, v) −β1 · A2 (h, v + 1) −β2 · A1 (h, v + 1) −β3 · A2 (h−1 , v + 1) -β4 · A2 (h-1, v) -β5 · A2 (h-1,
v-1) -β6 · A1 (h, v-1) -β7 · A2 (h, v-1),
B2 (h, v) = A2 (h, v) −α0 · A1 (h, v) −α1 · A1 (h, v + 1) −α2 · A2 (h, v + 1) −α3 · A1 (h + 1, v + 1) -Α4 · A1 (h + 1, v) -α5 · A1 (h + 1, v-1) -α6 · A2 (h, v-1) -α7 · A1 (h, v-1) (12)

クロストーク量は光電変換部間の距離に応じて変化し、上記クロストーク補正において光電変換部間の距離が大きくなるほどクロストーク率も一般的には小さくなる。例えば図15において、β3<β4となる。   The amount of crosstalk changes according to the distance between the photoelectric conversion units, and the crosstalk rate generally decreases as the distance between the photoelectric conversion units increases in the crosstalk correction. For example, in FIG. 15, β3 <β4.

図15に示す焦点検出画素配列においては、同じサイズの光電変換部を有する焦点検出画素を配列しているが、異なるサイズ光電変換部を有する焦点検出画素を配列してもよい。図18は1行おきにサイズの異なる光電変換部を備えた焦点検出用画素を配列した場合のクロストークの説明図であり、図16に示す画素配列のクロストークに対応する。v行目には図16と同じサイズの光電変換部を備えた焦点検出用画素が配列されている。一方、v−1行目とv+1行目にはv行目の焦点検出用画素の光電変換部のサイズより小さいサイズの光電変換部を備えた焦点検出用画素が配列されている。h列目、v行目の焦点検出用画素の1対の光電変換部から出力される焦点検出用信号データをA1(h,v)、A2(h,v)とする。   In the focus detection pixel array shown in FIG. 15, focus detection pixels having photoelectric conversion units of the same size are arrayed, but focus detection pixels having different size photoelectric conversion units may be arrayed. FIG. 18 is an explanatory diagram of crosstalk in the case where focus detection pixels having photoelectric conversion units having different sizes every other row are arranged, and corresponds to the crosstalk of the pixel arrangement shown in FIG. In the v-th row, focus detection pixels each having a photoelectric conversion unit having the same size as that in FIG. 16 are arranged. On the other hand, focus detection pixels having photoelectric conversion units smaller in size than the photoelectric conversion units of the focus detection pixels in the vth row are arranged in the (v−1) th and v + 1th rows. The focus detection signal data output from the pair of photoelectric conversion units of the focus detection pixels in the h-th column and the v-th row are denoted by A1 (h, v) and A2 (h, v).

図18には、クロストークの影響を受けた光電変換部の位置とその光電変換部の焦点検出用信号データA1(h,v)、クロストークの影響を与えた光電変換部の位置とその光電
変換部の焦点検出用信号データ、およびクロストーク率をβi、βi’を示す。クロストーク率βiは、h列目、v行目の焦点検出用画素の光電変換部が同じ行の隣接する同じサイズの光電変換部から受けるクロストークの影響を表し、また、クロストーク率βi’は、h列目、v行目の焦点検出用画素の上下の行において周囲に位置する小さいサイズの光電変換部から受けるクロストークの影響を表す。
FIG. 18 shows the position of the photoelectric conversion unit affected by the crosstalk, the focus detection signal data A1 (h, v) of the photoelectric conversion unit, the position of the photoelectric conversion unit affected by the crosstalk, and the photoelectric conversion unit. The focus detection signal data of the conversion unit and the crosstalk rate are represented by βi and βi ′. The crosstalk rate βi represents the influence of crosstalk that the photoelectric conversion units of the focus detection pixels in the h-th column and the v-th row receive from adjacent photoelectric conversion units of the same size, and the crosstalk rate βi ′. Represents the influence of crosstalk received from a small-sized photoelectric conversion unit located in the upper and lower rows of the focus detection pixels in the h-th column and the v-th row.

このような焦点検出用画素配列では、h列目、v行目の焦点検出用画素の光電変換部の補正後の焦点検出用信号データB1(h,v)は次のようになる。
B1(h,v)=A1(h,v)−β0・A2(h,v)−β1'・A2(h,v+1)−β2’・A1(h,v+1)−β3’・A2(h−1,v+1)−β4・A2(h−1,v)−β5’・A2(h−1,v−1)−β6’・A1(h,v−1)−β7’・A2(h,v−1) ・・・(13)同様に、もう一方の光電変換部の補正後の焦点検出用信号データB2(h,v)も算出する
ことができる。また、同様な考え方で小さいサイズの光電変換部に対する補正後の焦点検出用信号データも算出することができる。
In such a focus detection pixel array, the focus detection signal data B1 (h, v) after correction of the photoelectric conversion units of the focus detection pixels in the h-th column and the v-th row are as follows.
B1 (h, v) = A1 (h, v) −β0 · A2 (h, v) −β1 ′ · A2 (h, v + 1) −β2 ′ · A1 (h, v + 1) −β3 ′ · A2 ( h-1, v + 1)-. beta.4.A2 (h-1, v)-. beta.5'.A2 (h-1, v-1)-. beta.6'.A1 (h, v-1)-. beta.7'.A2 (h , v-1) (13) Similarly, the focus detection signal data B2 (h, v) after correction of the other photoelectric conversion unit can also be calculated. Further, corrected focus detection signal data for a small size photoelectric conversion unit can be calculated in the same way.

クロストーク量はクロストークを発生する光電変換部のサイズに応じて変化し、上述したクロストーク補正において光電変換部のサイズが小さくなるほどクロストーク率も一般的には小さくなる。例えば図18において、焦点検出用信号データA1(h,v)を発生す
る光電変換部から焦点検出用信号データA1(h,v+1)を発生する光電変換部へのクロ
ストーク率は、焦点検出用信号データA1(h,v+1)を発生する光電変換部から焦点検
出用信号データA1(h,v)を発生する光電変換部へのクロストーク率β2’より小さく
なる。
The amount of crosstalk changes according to the size of the photoelectric conversion unit that generates crosstalk, and the crosstalk rate generally decreases as the size of the photoelectric conversion unit decreases in the above-described crosstalk correction. For example, in FIG. 18, the crosstalk ratio from the photoelectric conversion unit that generates focus detection signal data A1 (h, v) to the photoelectric conversion unit that generates focus detection signal data A1 (h, v + 1) is the focus detection The crosstalk rate β2 ′ from the photoelectric conversion unit that generates the signal data A1 (h, v + 1) to the photoelectric conversion unit that generates the focus detection signal data A1 (h, v) is smaller.

図3に示す撮像素子212では、h列目、v行目の焦点検出用画素の1対の光電変換部のクロストーク補正後の焦点検出用信号データB1(h,v)、B2(h,v)を、(3)式に示すように対になる光電変換部から出力される焦点検出用信号データに基づいて求めているが、隣接する焦点検出用画素の光電変換部の焦点検出用信号データと、周囲の撮像用画素の光電変換部から出力される画像データに基づいて求めることもできる。   In the imaging device 212 shown in FIG. 3, focus detection signal data B1 (h, v) and B2 (h, v) after crosstalk correction of a pair of photoelectric conversion units of the focus detection pixels in the h-th column and the v-th row. v) is obtained based on the focus detection signal data output from the paired photoelectric conversion units as shown in equation (3), but the focus detection signals of the photoelectric conversion units of the adjacent focus detection pixels It can also be obtained based on the data and image data output from the photoelectric conversion unit of the surrounding imaging pixels.

図19はベイヤー配列のGB行(v行)に焦点検出用画素を配列し、上下の行がRGの撮像用画素配列となっている場合のクロストークの説明図であり、図16に示す画素配列に対応する。v行目には、図16と同じサイズの光電変換部を備えた焦点検出用画素が配列されている。また、v−1行目とv+1行目には、v行目の焦点検出用画素の光電変換部のサイズより大きなサイズの光電変換部を備えた撮像用画素(RG)が配列されている。h列目、v行目の焦点検出用画素の1対の光電変換部から出力される焦点検出用信号データをA1(h,v)、A2(h,v)とする。また、v−1行目、v+1行目のRG撮像用画素から出力される画像データをR(h+m,v−1)、G(h+m,v−1)、R(h+m,v+1)、G(h+m,v+1)で表す。   FIG. 19 is an explanatory diagram of crosstalk in the case where focus detection pixels are arranged in GB rows (v rows) of the Bayer array and the upper and lower rows are RG imaging pixel arrays, and the pixels shown in FIG. Corresponds to an array. In the v-th row, focus detection pixels including a photoelectric conversion unit having the same size as that in FIG. 16 are arranged. In the (v-1) th and (v + 1) th rows, imaging pixels (RG) each having a photoelectric conversion unit having a size larger than the size of the photoelectric conversion unit of the focus detection pixel in the vth row are arranged. The focus detection signal data output from the pair of photoelectric conversion units of the focus detection pixels in the h-th column and the v-th row are denoted by A1 (h, v) and A2 (h, v). The image data output from the RG imaging pixels in the (v−1) th and (v + 1) th rows are R (h + m, v−1), G (h + m, v−1), R (h + m, v + 1), G ( h + m, v + 1).

図19には、クロストークの影響を受けた焦点検出用画素の光電変換部の位置とその光電変換部の焦点検出用信号データA1(h,v)、クロストークの影響を与えた焦点検出用
画素および撮像用画素の光電変換部の位置とその光電変換部から出力される焦点検出用信号データおよび撮像データ、およびクロストーク率βi、γri、γgiを示す。クロストーク率βiは、h列目、v行目の焦点検出用画素の光電変換部が同じ行の隣接する同じサイズの光電変換部から受けるクロストークの影響を表し、また、クロストーク率γriは、h列目、v行目の焦点検出画素の上下の行において周囲に位置する赤の撮像用画素の光電変換部から受けるクロストークの影響を表し、さらに、クロストーク率γgiは、h列目、v行目の焦点検出用画素の上下の行において周囲に位置する緑の撮像用画素の光電変換部から受けるクロストークの影響を表している。
FIG. 19 shows the position of the photoelectric conversion unit of the focus detection pixel affected by the crosstalk, the focus detection signal data A1 (h, v) of the photoelectric conversion unit, and the focus detection signal affected by the crosstalk. The position of the photoelectric conversion unit of the pixel and the imaging pixel, focus detection signal data and imaging data output from the photoelectric conversion unit, and crosstalk rates βi, γri, and γgi are shown. The crosstalk rate βi represents the influence of the crosstalk that the photoelectric conversion units of the focus detection pixels on the h-th column and the v-th row receive from adjacent photoelectric conversion units of the same size, and the crosstalk rate γri is Represents the influence of crosstalk received from the photoelectric conversion unit of the red imaging pixels located in the upper and lower rows of the focus detection pixels in the h-th and v-th rows, and the crosstalk rate γgi is expressed in the h-th row. , Represents the influence of crosstalk received from the photoelectric conversion unit of the green imaging pixels located in the upper and lower rows of the focus detection pixels in the v-th row.

このような焦点検出用画素配列では、h列目、v行目の焦点検出用画素の光電変換部の補正後の焦点検出用信号データB1(h,v)は次のようになる。
B1(h,v)=A1(h,v)−β0・A2(h,v)−γg1・A2(h+1,v+1)−γr
2・R(h,v+1)−γg3・G(h−1,v+1)−β4・A2(h−1,v)−γg5・G(h−1,v−1)−γr6・R(h,v−1)−γg7・G(h+1,v−1) ・・・(14)同様に、もう一方の光電変換部の補正後の焦点検出用信号データB2(h,v)も算出する
ことができる。
In such a focus detection pixel array, the focus detection signal data B1 (h, v) after correction of the photoelectric conversion units of the focus detection pixels in the h-th column and the v-th row are as follows.
B1 (h, v) = A1 (h, v) −β0 · A2 (h, v) −γg1 · A2 (h + 1, v + 1) −γr
2 * R (h, v + 1)-[gamma] g3 * G (h-1, v + 1)-[beta] 4 * A2 (h-1, v)-[gamma] g5 * G (h-1, v-1)-[gamma] r6 * R (h, v-1) -γg7 · G (h + 1, v-1) (14) Similarly, the focus detection signal data B2 (h, v) after correction of the other photoelectric conversion unit can be calculated. it can.

クロストーク量は撮像用画素の波長感度に応じて変化し、上述したクロストーク補正においてR画素のクロストーク率はG画素のクロストーク率より一般的には大きくなる。例えば図19において、R画素から出力データA1(h+1,v)を発生する光電変換部への
クロストーク率γr3は、G画素から出力データA1(h,v)を発生する光電変換部への
クロストーク率γg3より大きくなる。
The amount of crosstalk changes according to the wavelength sensitivity of the imaging pixel, and the crosstalk rate of the R pixel is generally larger than the crosstalk rate of the G pixel in the above-described crosstalk correction. For example, in FIG. 19, the crosstalk rate γr3 from the R pixel to the photoelectric conversion unit that generates the output data A1 (h + 1, v) is the crosstalk rate γr3 from the G pixel to the photoelectric conversion unit that generates the output data A1 (h, v). It becomes larger than the talk rate γg3.

図15に示す撮像素子212Aでは、焦点検出用画素311がひとつの画素内に1対の光電変換部を備えた例を示したが、図20に示す撮像素子212Bように、焦点検出用画素313,314が1つの画素内に1つの光電変換部を備えるようにしてもよい。図20において、焦点検出用画素313と焦点検出用画素314が1対になっており、図15に示す焦点検出用画素311に相当する。   In the image sensor 212A illustrated in FIG. 15, the focus detection pixel 311 is provided with a pair of photoelectric conversion units in one pixel. However, like the image sensor 212B illustrated in FIG. 20, the focus detection pixel 313 is illustrated. , 314 may include one photoelectric conversion unit in one pixel. In FIG. 20, the focus detection pixel 313 and the focus detection pixel 314 are paired, and correspond to the focus detection pixel 311 shown in FIG.

焦点検出用画素313は、図21(a)に示すようにマイクロレンズ10と光電変換部16から構成される。また、焦点検出画素314は、図21(b)に示すようにマイクロレンズ10と光電変換部17から構成される。光電変換部16,17はマイクロレンズ10により交換レンズの射出瞳に投影され、図10に示す測距瞳92,93を形成する。したがって、焦点検出用画素313,314の配列によって焦点検出に用いる1対の像の出力を得ることができる。焦点検出用画素内にひとつの光電変換部を備えることによって、撮像素子の信号読み出し回路の構成が複雑になるのを避けることができる。   The focus detection pixel 313 includes the microlens 10 and the photoelectric conversion unit 16 as shown in FIG. Further, the focus detection pixel 314 includes the microlens 10 and the photoelectric conversion unit 17 as shown in FIG. The photoelectric conversion units 16 and 17 are projected onto the exit pupil of the interchangeable lens by the microlens 10 to form distance measuring pupils 92 and 93 shown in FIG. Therefore, an output of a pair of images used for focus detection can be obtained by the arrangement of the focus detection pixels 313 and 314. By providing one photoelectric conversion unit in the focus detection pixel, it is possible to avoid a complicated configuration of the signal readout circuit of the image sensor.

図22は、図21(a)、(b)に示す焦点検出用画素を配列した撮像素子212Bのクロ
ストークの説明図であり、図16に示す画素配列のクロストークに対応する。v行目には図16と同じサイズの光電変換部で図21(a)に示す焦点検出用画素が配列されており、周囲を図21(a)および図21(b)に示す焦点検出用画素に囲まれている。h列目、v行目の焦点検出用画素の光電変換部から出力される焦点検出用信号データをA1(h,v)と
する。
FIG. 22 is an explanatory diagram of the crosstalk of the image sensor 212B in which the focus detection pixels shown in FIGS. 21A and 21B are arranged, and corresponds to the crosstalk of the pixel arrangement shown in FIG. In the v-th row, the focus detection pixels shown in FIG. 21A are arranged in the photoelectric conversion unit having the same size as that in FIG. 16, and the surroundings are for focus detection shown in FIGS. 21A and 21B. Surrounded by pixels. The focus detection signal data output from the photoelectric conversion unit of the focus detection pixel in the h-th column and the v-th row is A1 (h, v).

図22には、クロストークの影響を受けた光電変換部の位置とその光電変換部の焦点検出用信号データA1(h,v)、クロストークの影響を与えた光電変換部の位置とその光電
変換部の焦点検出用信号データ、およびクロストーク率ηai、ηbiを示す。クロストーク率ηaiは、h列目、v行目の焦点検出用画素の光電変換部が周囲の図21(a)に示す焦点検出用画素の光電変換部から受けるクロストークの影響を表し、クロストーク率ηbiは、h列目、v行目の焦点検出用画素の光電変換部が周囲の図21(b)に示す焦点検出用画素の光電変換部から受けるクロストークの影響を表している。
FIG. 22 shows the position of the photoelectric conversion unit affected by the crosstalk, the focus detection signal data A1 (h, v) of the photoelectric conversion unit, the position of the photoelectric conversion unit affected by the crosstalk, and the photoelectric conversion unit. The focus detection signal data of the conversion unit and the crosstalk rates ηai and ηbi are shown. The crosstalk rate ηai represents the influence of crosstalk received by the photoelectric conversion units of the focus detection pixels in the h-th column and the v-th row from the photoelectric conversion units of the focus detection pixels shown in FIG. The talk rate ηbi represents the influence of crosstalk received by the photoelectric conversion unit of the focus detection pixel in the h-th column and the v-th row from the photoelectric conversion unit of the focus detection pixel shown in FIG.

このような焦点検出用画素配列では、h列目、v行目の焦点検出用画素の光電変換部の補正後の焦点検出用信号データB1(h,v)は次のようになる。
B1(h,v)=A1(h,v)−ηb0・A2(h+1,v)−ηa1・A1(h+1,v+1)
−ηb2・A2(h,v+1)−ηa3・A1(h−1,v+1)−ηb4・A2(h−1,v)
−ηa5・A1(h−1,v−1)−ηb6・A2(h,v−1)−ηa7・A1(h+1,v−1) ・・・(15)
同様に、対になる光電変換部の補正後の焦点検出用信号データB2(h+1,v)も算出す
ることができる。
In such a focus detection pixel array, the focus detection signal data B1 (h, v) after correction of the photoelectric conversion units of the focus detection pixels in the h-th column and the v-th row are as follows.
B1 (h, v) = A1 (h, v) −ηb0 · A2 (h + 1, v) −ηa1 · A1 (h + 1, v + 1)
-Ηb2 · A2 (h, v + 1) -ηa3 · A1 (h-1, v + 1) -ηb4 · A2 (h-1, v)
-Ηa5 · A1 (h-1, v-1) -ηb6 · A2 (h, v-1) -ηa7 · A1 (h + 1, v-1) (15)
Similarly, the focus detection signal data B2 (h + 1, v) after correction of the paired photoelectric conversion units can also be calculated.

図23は、画面上の焦点検出用画素の位置に応じてクロストークの影響が異なることを説明するための図である。撮影レンズの光軸91上にある1対の光電変換部22,23を備えた焦点検出用画素20と、光軸91から距離Zだけ離れた位置にある1対の光電変換部32,33を備えた焦点検出用画素30を示し、焦点検出用画素20への入射光線の入射角度(光軸となす角度)より焦点検出用画素30への入射光線の入射角度が大きくなっており、周囲の焦点検出用画素や撮像用画素からのクロストーク量は焦点検出用画素30のほうが大きくなる。また、1対の光電変換部間のクロストーク量は、光軸上に位置する焦点検出用画素20の場合は等しくなるが、光軸外に配置された焦点検出用画素30の場合には、光軸に近い光電変換部33から光軸から遠い光電変換部32へのクロストークの量が、光軸から遠い光電変換部32から光軸に近い光電変換部33へのクロストークの量より大きくなる。   FIG. 23 is a diagram for explaining that the influence of crosstalk varies depending on the position of the focus detection pixel on the screen. A focus detection pixel 20 having a pair of photoelectric conversion units 22 and 23 on the optical axis 91 of the photographing lens, and a pair of photoelectric conversion units 32 and 33 located at a distance Z from the optical axis 91 are provided. The focus detection pixel 30 is shown, and the incident angle of the incident light beam to the focus detection pixel 30 is larger than the incident angle of the incident light beam to the focus detection pixel 20 (angle formed with the optical axis). The amount of crosstalk from the focus detection pixel and the imaging pixel is larger in the focus detection pixel 30. Further, the amount of crosstalk between a pair of photoelectric conversion units is equal in the case of the focus detection pixel 20 located on the optical axis, but in the case of the focus detection pixel 30 arranged outside the optical axis, The amount of crosstalk from the photoelectric conversion unit 33 close to the optical axis to the photoelectric conversion unit 32 far from the optical axis is larger than the amount of crosstalk from the photoelectric conversion unit 32 far from the optical axis to the photoelectric conversion unit 33 close to the optical axis. Become.

このように、クロストーク量が焦点検出用画素位置に応じて変化する場合には、クロストーク率を光軸からの距離に応じて測定して記憶しておき、クロストーク補正を行う際にクロストーク補正を行う焦点検出用信号データを出力した焦点検出用画素の位置(光軸からの距離)に応じたクロストーク率を用いてクロストーク補正を行うとともに、クロストーク量が光軸に対する光電変換部間の位置関係に応じて変化する場合には、クロストーク率を光電変換部の位置関係に応じて測定して記憶しておき、クロストーク補正を行う際にクロストーク補正に用いる光電変換部の位置関係に応じたクロストーク率を用いてクロストーク補正を行う。   Thus, when the amount of crosstalk changes according to the focus detection pixel position, the crosstalk rate is measured and stored according to the distance from the optical axis, and crosstalk correction is performed when crosstalk correction is performed. Crosstalk correction is performed using the crosstalk rate corresponding to the position (distance from the optical axis) of the focus detection pixel that outputs the focus detection signal data for performing the talk correction, and the crosstalk amount is photoelectrically converted with respect to the optical axis. When changing according to the positional relationship between the units, the crosstalk rate is measured and stored according to the positional relationship of the photoelectric conversion unit, and the photoelectric conversion unit used for the crosstalk correction when performing the crosstalk correction Crosstalk correction is performed using a crosstalk rate corresponding to the positional relationship.

また、上述したように、クロストークを発生する光線は測距瞳以外の領域からも焦点検出用画素に入射する。このような光線は撮影光学系の射出瞳の大きさと射出瞳の距離(光軸上の焦点検出用画素から射出瞳までの距離)によって規定され、光軸外に配置された焦点検出用画素30に対しては、射出瞳大きさと射出瞳の距離に応じてクロストーク率が変化する。このような場合に対応するために、クロストーク補正に用いるクロストーク率を射出瞳の大きさと射出瞳の距離に応じて測定し、射出瞳の大きさおよび射出瞳距離に応じ
たデータとして記憶しておき、クロストーク補正の際には焦点検出用画素データを取得した時点の射出瞳の大きさデータと射出瞳距離データをレンズ駆動制御装置から受信し、射出瞳の大きさデータと射出瞳距離データに応じたクロストーク率を用いて焦点検出用信号データに対しクロストーク補正を行う。
Further, as described above, the light beam that generates crosstalk enters the focus detection pixel from a region other than the distance measuring pupil. Such a ray is defined by the size of the exit pupil of the photographing optical system and the distance of the exit pupil (distance from the focus detection pixel to the exit pupil on the optical axis), and the focus detection pixel 30 disposed outside the optical axis. In contrast, the crosstalk rate changes according to the exit pupil size and the exit pupil distance. In order to deal with such cases, the crosstalk rate used for crosstalk correction is measured according to the size of the exit pupil and the distance of the exit pupil, and stored as data corresponding to the size of the exit pupil and the exit pupil distance. In the case of crosstalk correction, the exit pupil size data and the exit pupil distance data at the time when the focus detection pixel data is acquired are received from the lens drive control device, and the exit pupil size data and the exit pupil distance are received. Crosstalk correction is performed on the focus detection signal data using a crosstalk rate corresponding to the data.

上述したクロストーク補正演算式(12)〜(15)では、クロストーク補正を受ける光電変換部の最近傍にある光電変換部の出力に応じてクロストーク補正を行っているが、補正精度向上のために、クロストーク補正を受ける光電変換部からより遠くの位置にある光線変換部の出力をクロストーク補正に用いるようにすることも可能である。例えば図16においてA1(h,v)を補正するために、A1(h−1,v−1)、A1(h+1,v−1)
、A2(h+1,v−1)などを使用することができる。
In the above-described crosstalk correction arithmetic expressions (12) to (15), the crosstalk correction is performed according to the output of the photoelectric conversion unit that is closest to the photoelectric conversion unit that receives the crosstalk correction. For this reason, it is possible to use the output of the light beam conversion unit located farther from the photoelectric conversion unit subjected to crosstalk correction for crosstalk correction. For example, in order to correct A1 (h, v) in FIG. 16, A1 (h-1, v-1), A1 (h + 1, v-1)
, A2 (h + 1, v-1), etc. can be used.

図3に示す撮像素子212では、撮像用画素がベイヤー配列の色フィルターを備えた例を示したが、色フィルターの構成や配列はこれに限定されることはなく、補色フィルター(緑:G、イエロー:Ye、マゼンタ:Mg、シアン:Cy)の配列を採用してもよい。また、図3に示す撮像素子212では、焦点検出用画素に色フィルターを設けない例を示したが、撮像用画素と同色の色フィルターの内、1つのフィルター、例えば緑フィルターを備えるようにした場合でも、本発明を適用することができる。   In the imaging device 212 illustrated in FIG. 3, an example in which the imaging pixels include a Bayer color filter is shown, but the configuration and arrangement of the color filters are not limited to this, and complementary color filters (green: G, An arrangement of yellow: Ye, magenta: Mg, cyan: Cy) may be employed. Further, in the image sensor 212 shown in FIG. 3, an example in which a color filter is not provided in the focus detection pixel is shown. However, one of the color filters of the same color as the image pickup pixel, for example, a green filter is provided. Even in this case, the present invention can be applied.

図5、図21には焦点検出用画素の光電変換部の形状を円形、半円形にした例を示したが、光電変換部の形状はこれに限定されず、他の形状にしてもよい。例えば焦点検出用画素の光電変換部の形状を楕円や矩形や多角形にすることも可能である。撮像素子の中に形状の異なる光電変換部を備えた焦点検出用画素配列を持つ場合には、それぞれの光電変換部の形状に対応したクロストーク率を測定記憶しておき、クロストーク補正を行う焦点検出用画素の光電変換部形状に応じてクロストーク率を切換えてクロストーク補正を行う。   FIGS. 5 and 21 show examples in which the shape of the photoelectric conversion unit of the focus detection pixel is circular or semicircular, but the shape of the photoelectric conversion unit is not limited to this and may be other shapes. For example, the shape of the photoelectric conversion unit of the focus detection pixel may be an ellipse, a rectangle, or a polygon. When the imaging element has a focus detection pixel array including photoelectric conversion units having different shapes, the crosstalk rate corresponding to the shape of each photoelectric conversion unit is measured and stored, and crosstalk correction is performed. Crosstalk correction is performed by switching the crosstalk rate in accordance with the photoelectric conversion portion shape of the focus detection pixel.

図3に示す撮像素子212では撮像用画素と焦点検出用画素が稠密正方格子配列に配置される例を示したが、稠密六方格子配列に配置してもよい。   In the imaging device 212 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 they may be arranged in a dense hexagonal lattice arrangement.

本発明はCCDイメージセンサー、CMOSイメージセンサーのどちらに対しても適用することができる。   The present invention can be applied to both a CCD image sensor and a CMOS image sensor.

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

11、12、13、16、17;光電変換部、202;交換レンズ、214;ボディ駆動制御装置、212、212A、212B;撮像素子、310;撮像用画素、311、313、314;焦点検出用画素 11, 12, 13, 16, 17; photoelectric conversion unit, 202; interchangeable lens, 214; body drive control device, 212, 212A, 212B; imaging element, 310; imaging pixel, 311, 313, 314; Pixel

Claims (8)

第1及び第2の光電変換部を有する焦点検出用画素が撮影画面の周辺において前記撮影画面の中心から放射方向に複数個配列され、光学系を通過する1対の光束が形成する1対の像をそれぞれ前記第1及び第2の光電変換部によって受光して1対の像信号を生成する焦点検出用画素列と、
前記第1の光電変換部の出力信号と前記撮影画面の中心から前記第2の光電変換部の位置までの距離に起因する第1のクロストーク率とに基づくクロストーク補正量で当該第2の光電変換部の出力信号を補正すると共に、前記第2の光電変換部の出力信号と前記撮影画面の中心から前記第1の光電変換部の位置までの距離に起因する第2のクロストーク率とに基づくクロストーク補正量で当該第1の光電変換部の出力信号を補正する補正手段と、
前記補正手段による補正後の前記第1及び第2の光電変換部の出力信号により生成される前記1対の像信号に基づいて、前記1対の像のズレ量を検出する像ズレ検出手段と、
前記像ズレ検出手段により検出された前記像のズレ量に基づいて、前記光学系の焦点調節状態を検出する焦点検出手段と、を備え、
前記第1の光電変換部と前記撮影画面の中心との距離は、前記第2の光電変換部と前記撮影画面の中心との距離よりも大きく、前記第2のクロストーク率は、前記第1のクロストーク率よりも大きいことを特徴とする焦点検出装置。
A plurality of focus detection pixels having first and second photoelectric conversion units are arranged in a radial direction from the center of the photographing screen around the photographing screen, and a pair of light beams passing through the optical system form. A focus detection pixel array that receives an image by each of the first and second photoelectric conversion units and generates a pair of image signals;
The second crosstalk correction amount based on the output signal of the first photoelectric conversion unit and the first crosstalk rate resulting from the distance from the center of the shooting screen to the position of the second photoelectric conversion unit. Correcting the output signal of the photoelectric conversion unit, and the second crosstalk rate resulting from the output signal of the second photoelectric conversion unit and the distance from the center of the shooting screen to the position of the first photoelectric conversion unit; Correction means for correcting the output signal of the first photoelectric conversion unit with a crosstalk correction amount based on
An image shift detection unit that detects a shift amount of the pair of images based on the pair of image signals generated by the output signals of the first and second photoelectric conversion units corrected by the correction unit; ,
A focus detection unit that detects a focus adjustment state of the optical system based on a shift amount of the image detected by the image shift detection unit;
The distance between the first photoelectric conversion unit and the center of the shooting screen is greater than the distance between the second photoelectric conversion unit and the center of the shooting screen, and the second crosstalk rate is the first crosstalk rate. A focus detection device having a crosstalk ratio greater than
請求項1に記載の焦点検出装置において、
前記焦点検出用画素は、1つのマイクロレンズと前記焦点検出用画素の配列方向に並置された前記第1及び第2の光電変換部としての1対の光電変換部とを有することを特徴とする焦点検出装置。
The focus detection apparatus according to claim 1,
The focus detection pixel includes one microlens and a pair of photoelectric conversion units serving as the first and second photoelectric conversion units juxtaposed in an arrangement direction of the focus detection pixels. Focus detection device.
請求項1または2に記載の焦点検出装置において、
前記補正手段は、前記光学系の絞り開口F値に応じて前記クロストーク補正量を変更することを特徴とする焦点検出装置。
The focus detection apparatus according to claim 1 or 2,
The focus detection apparatus characterized in that the correction means changes the crosstalk correction amount in accordance with a stop aperture F value of the optical system.
請求項1〜3のいずれか一項に記載の焦点検出装置と、
二次元状に配列され、前記光学系を通過する光束を受光して撮像用の出力信号を出力する複数の撮像用画素を有する撮像素子と、を更に備え、
前記焦点検出用画素は前記撮像用画素の配列中に配置され、
前記補正手段は、前記焦点検出用画素の第1及び第2の光電変換部の出力信号を当該焦点検出用画素の周囲に位置する前記撮像用画素の出力信号に基づくクロストーク補正量で補正することを特徴とする撮像装置。
The focus detection apparatus according to any one of claims 1 to 3,
An image sensor having a plurality of imaging pixels that are two-dimensionally arranged and receive a light beam passing through the optical system and output an output signal for imaging; and
The focus detection pixels are arranged in an array of the imaging pixels,
The correction unit corrects the output signals of the first and second photoelectric conversion units of the focus detection pixel with a crosstalk correction amount based on the output signals of the imaging pixels located around the focus detection pixel. An imaging apparatus characterized by that.
請求項4に記載の撮像装置において、
前記撮像用画素は、異なる色に感度を有する複数種類の画素からなり、
前記補正手段は、前記クロストーク補正量を前記周囲に位置する前記撮像用画素の色感度に応じて変更することを特徴とする撮像装置。
The imaging apparatus according to claim 4,
The imaging pixel includes a plurality of types of pixels having sensitivity to different colors,
The image pickup apparatus, wherein the correction unit changes the crosstalk correction amount according to color sensitivity of the image pickup pixels located in the periphery.
二次元状に配列され、光学系を通過する光束を受光して撮像用の出力信号を出力する光電変換部をそれぞれ有する複数の撮像用画素と、
前記光学系を通過する1対の光束をそれぞれ受光するように第1の方向に並置された第1及び第2の光電変換部を有する焦点検出用画素が前記撮像用画素の配列中に前記第1の方向に複数個配列され、前記1対の光束が形成する1対の像に対応した1対の像信号を生成する焦点検出用画素列と、
前記焦点検出用画素列の焦点検出用画素の第1の光電変換部の出力信号を、前記第1の方向に関して当該焦点検出用画素の第1の光電変換部の両隣にそれぞれ位置する第2の光電変換部の出力信号の各々に基づくクロストーク補正量と、当該焦点検出用画素の近傍の複数の撮像用画素の光電変換部の出力信号の各々に基づくクロストーク補正量とで補正すると共に、当該焦点検出用画素の第2の光電変換部の出力信号を、前記第1の方向に関して当該焦点検出用画素の第2の光電変換部の両隣にそれぞれ位置する第1の光電変換部の出力信号の各々に基づくクロストーク補正量と、当該焦点検出用画素の近傍の複数の撮像用画素の光電変換部の出力信号の各々に基づくクロストーク補正量とで補正する補正手段と、
前記補正手段による補正後の前記第1及び第2の光電変換部の出力信号により生成される前記1対の像信号に基づいて、前記1対の像のズレ量を検出する像ズレ検出手段と、
前記像ズレ検出手段により検出された前記1対の像のズレ量に基づいて、前記光学系の焦点調節状態を検出する焦点検出手段と、を備えることを特徴とする焦点検出装置。
A plurality of imaging pixels that are two-dimensionally arranged and each have a photoelectric conversion unit that receives a light beam passing through the optical system and outputs an output signal for imaging;
A focus detection pixel having first and second photoelectric conversion units juxtaposed in a first direction so as to receive a pair of light fluxes passing through the optical system is disposed in the imaging pixel array. A plurality of focus detection pixel rows that are arranged in one direction and generate a pair of image signals corresponding to a pair of images formed by the pair of light beams;
The output signals of the first photoelectric conversion units of the focus detection pixels in the focus detection pixel column are respectively positioned on both sides of the first photoelectric conversion unit of the focus detection pixels with respect to the first direction. While correcting with the crosstalk correction amount based on each of the output signals of the photoelectric conversion unit and the crosstalk correction amount based on each of the output signals of the photoelectric conversion units of the plurality of imaging pixels in the vicinity of the focus detection pixel, The output signal of the second photoelectric conversion unit of the focus detection pixel is the output signal of the first photoelectric conversion unit located on both sides of the second photoelectric conversion unit of the focus detection pixel with respect to the first direction. Correction means for correcting with a crosstalk correction amount based on each of the above, and a crosstalk correction amount based on each of the output signals of the photoelectric conversion units of a plurality of imaging pixels in the vicinity of the focus detection pixel,
An image shift detection unit that detects a shift amount of the pair of images based on the pair of image signals generated by the output signals of the first and second photoelectric conversion units corrected by the correction unit; ,
A focus detection device comprising: a focus detection unit that detects a focus adjustment state of the optical system based on a shift amount of the pair of images detected by the image shift detection unit.
請求項6に記載の焦点検出装置において、
前記第1の方向に関して当該焦点検出用画素の第2の光電変換部の両隣にそれぞれ位置する第1の光電変換部のうち、前記第2光電変換部と同一の焦点検出画素に配置された第1光電変換部の出力に基づくクロストーク補正量と、前記第2光電変換部と異なる焦点検出画素に配置された第1光電変換部の出力に基づくクロストーク補正量とを異ならせたことを特徴とする焦点検出装置。
The focus detection apparatus according to claim 6,
Of the first photoelectric conversion units located on both sides of the second photoelectric conversion unit of the focus detection pixel with respect to the first direction, the first photoelectric conversion unit disposed on the same focus detection pixel as the second photoelectric conversion unit. The crosstalk correction amount based on the output of one photoelectric conversion unit is different from the crosstalk correction amount based on the output of the first photoelectric conversion unit arranged in a focus detection pixel different from the second photoelectric conversion unit. Focus detection device.
二次元状に配列され、光学系を通過する光束を受光して撮像用の出力信号を出力する光電変換部をそれぞれ有する複数の撮像用画素と、
前記光学系を通過する1対の光束をそれぞれ受光するように第1の方向に並置された第1及び第2の光電変換部を有する焦点検出用画素が前記撮像用画素の配列中に前記第1の方向に複数個配列され、前記1対の光束が形成する1対の像に対応した1対の像信号を生成する焦点検出用画素列と、
前記焦点検出用画素列の焦点検出用画素の第1の光電変換部の出力信号を、該第1の光電変換部と同一の焦点検出画素内において隣接する第2の光電変換部の出力信号に基づく第1のクロストーク補正量で補正すると共に、当該焦点検出用画素の第2の光電変換部の出力信号を、該第2の光電変換部と同一の焦点検出画素内で隣接する第1の光電変換部の出力信号に基づく第2のクロストーク補正量で補正する補正手段と、
前記補正手段による補正後の前記第1及び第2の光電変換部の出力信号により生成される前記1対の像信号に基づいて、前記1対の像のズレ量を検出する像ズレ検出手段と、
前記像ズレ検出手段により検出された前記1対の像のズレ量に基づいて、前記光学系の焦点調節状態を検出する焦点検出手段と、を備える焦点検出装置であって、
予め定められた第1のクロストーク率と第2のクロストーク率を記憶する記憶手段をさらに備え、
前記補正手段は、前記第1のクロストーク量を前記第1のクロストーク率に前記第2の光電変換部の出力を乗ずることにより算出し、前記第1の光電変換部の出力信号から前記第1のクロストーク量を差し引くことにより前記第1の光電変換部の出力信号を補正するとともに、前記第2のクロストーク量を前記第2のクロストーク率に前記第1の光電変換部の出力を乗ずることにより算出し、前記第2の光電変換部の出力信号から前記第2のクロストーク量を差し引くことにより前記第2の光電変換部の出力信号を補正することを特徴とする焦点検出装置。
A plurality of imaging pixels that are two-dimensionally arranged and each have a photoelectric conversion unit that receives a light beam passing through the optical system and outputs an output signal for imaging;
A focus detection pixel having first and second photoelectric conversion units juxtaposed in a first direction so as to receive a pair of light fluxes passing through the optical system is disposed in the imaging pixel array. A plurality of focus detection pixel rows that are arranged in one direction and generate a pair of image signals corresponding to a pair of images formed by the pair of light beams;
The output signal of the first photoelectric conversion unit of the focus detection pixel of the focus detection pixel column is converted into the output signal of the second photoelectric conversion unit adjacent in the same focus detection pixel as the first photoelectric conversion unit. And correcting the output signal of the second photoelectric conversion unit of the focus detection pixel within the same focus detection pixel as that of the second photoelectric conversion unit. Correction means for correcting with a second crosstalk correction amount based on the output signal of the photoelectric conversion unit;
An image shift detection unit that detects a shift amount of the pair of images based on the pair of image signals generated by the output signals of the first and second photoelectric conversion units corrected by the correction unit; ,
A focus detection unit that detects a focus adjustment state of the optical system based on a shift amount of the pair of images detected by the image shift detection unit;
Storage means for storing a first crosstalk rate and a second crosstalk rate determined in advance;
The correction unit calculates the first crosstalk amount by multiplying the first crosstalk rate by the output of the second photoelectric conversion unit, and calculates the first crosstalk rate from the output signal of the first photoelectric conversion unit. The output signal of the first photoelectric conversion unit is corrected by subtracting the crosstalk amount of 1, and the output of the first photoelectric conversion unit is set to the second crosstalk rate by using the second crosstalk amount. A focus detection apparatus that calculates by multiplying and corrects the output signal of the second photoelectric conversion unit by subtracting the second crosstalk amount from the output signal of the second photoelectric conversion unit.
JP2013031030A 2013-02-20 2013-02-20 Focus detection apparatus and imaging apparatus Expired - Fee Related JP5482923B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013031030A JP5482923B2 (en) 2013-02-20 2013-02-20 Focus detection apparatus and imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013031030A JP5482923B2 (en) 2013-02-20 2013-02-20 Focus detection apparatus and imaging apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007298248A Division JP5374862B2 (en) 2007-11-16 2007-11-16 Focus detection apparatus and imaging apparatus

Publications (2)

Publication Number Publication Date
JP2013140385A true JP2013140385A (en) 2013-07-18
JP5482923B2 JP5482923B2 (en) 2014-05-07

Family

ID=49037803

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013031030A Expired - Fee Related JP5482923B2 (en) 2013-02-20 2013-02-20 Focus detection apparatus and imaging apparatus

Country Status (1)

Country Link
JP (1) JP5482923B2 (en)

Also Published As

Publication number Publication date
JP5482923B2 (en) 2014-05-07

Similar Documents

Publication Publication Date Title
JP5374862B2 (en) Focus detection apparatus and imaging apparatus
JP5163068B2 (en) Imaging device
JP4952060B2 (en) Imaging device
JP5157400B2 (en) Imaging device
JP4961993B2 (en) Imaging device, focus detection device, and imaging device
JP5176959B2 (en) Imaging device and imaging apparatus
US7863550B2 (en) Focus detection device and focus detection method based upon center position of gravity information of a pair of light fluxes
CN107249097B (en) Image pickup apparatus and control method thereof
JP4858008B2 (en) FOCUS DETECTION DEVICE, FOCUS DETECTION METHOD, AND IMAGING DEVICE
JP5361535B2 (en) Imaging device
JP4992481B2 (en) Focus detection apparatus and imaging apparatus
JP2009159226A (en) Imaging element, focus detection device, focus adjustment device and imaging apparatus
JP2008242182A (en) Focus detection device, focus detection method and imaging apparatus
JP5028930B2 (en) Focus detection apparatus and imaging apparatus
JP5857547B2 (en) Focus detection device and focus adjustment device
JP5211590B2 (en) Image sensor and focus detection apparatus
JP5067148B2 (en) Imaging device, focus detection device, and imaging device
JP2009075407A (en) Imaging apparatus
JP2010243772A (en) Imaging apparatus
JP5228777B2 (en) Focus detection apparatus and imaging apparatus
JP5407314B2 (en) Focus detection apparatus and imaging apparatus
JP5610005B2 (en) Imaging device
JP5482923B2 (en) Focus detection apparatus and imaging apparatus
JP5440585B2 (en) Digital camera
JP2009162845A (en) Imaging device, focus detecting device and imaging apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131226

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140203

R150 Certificate of patent or registration of utility model

Ref document number: 5482923

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

LAPS Cancellation because of no payment of annual fees