JP6762849B2 - Image sensor, its control method, program and recording medium - Google Patents
Image sensor, its control method, program and recording medium Download PDFInfo
- Publication number
- JP6762849B2 JP6762849B2 JP2016217766A JP2016217766A JP6762849B2 JP 6762849 B2 JP6762849 B2 JP 6762849B2 JP 2016217766 A JP2016217766 A JP 2016217766A JP 2016217766 A JP2016217766 A JP 2016217766A JP 6762849 B2 JP6762849 B2 JP 6762849B2
- Authority
- JP
- Japan
- Prior art keywords
- phase difference
- evaluation value
- signal
- unit
- image pickup
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Studio Devices (AREA)
- Focusing (AREA)
- Automatic Focus Adjustment (AREA)
- Transforming Light Signals Into Electric Signals (AREA)
Description
本発明は、焦点検出機能を有する撮像素子に関するものである。 The present invention relates to an image pickup device having a focus detection function.
近年のスチルカメラやビデオカメラは、自動焦点検出(AF)機能を有していることが一般的である。迅速なAFを実現するためには、高いフレームレートで焦点検出用の信号を読み出す必要がある。しかし、焦点検出用の信号を高いフレームレートで読み出した場合には、固体撮撮像素子の後段に位置する信号処理部へのデータ転送量の増加を招く。そこで、AF評価値を検出するAF評価値検出部を固体撮像素子の内部に設け、当該AF評価値検出部によって検出されたAF評価値を外部に出力する固体撮像素子が提案されている(特許文献1参照)。 Recent still cameras and video cameras generally have an autofocus detection (AF) function. In order to realize rapid AF, it is necessary to read out the focus detection signal at a high frame rate. However, when the focus detection signal is read out at a high frame rate, the amount of data transferred to the signal processing unit located behind the solid-state image sensor is increased. Therefore, a solid-state image sensor has been proposed in which an AF evaluation value detection unit for detecting an AF evaluation value is provided inside the solid-state image sensor, and the AF evaluation value detected by the AF evaluation value detection unit is output to the outside (patented). Reference 1).
ところで、AF方式として、位相差検出方式によるAF、即ち、位相差AFと、コントラスト検出方式によるAF、即ち、コントラストAFとを組み合わせることで、合焦動作の高速化と高精度化を両立したいわゆるハイブリッドAFが知られている。ハイブリッドAFでは、位相差AFを用いて合焦動作の粗調整を行った後で、コントラストAFを用いて合焦動作の微調整を行うことが一般的である。しかし、位相差AF及びコントラストAFを行うための評価値を算出するためには、撮像画像を生成するための撮像信号の読み出しの完了を待つ必要があり、ハイブリッドAFの開始が遅くなってしまうという課題があった。 By the way, as the AF method, AF by the phase difference detection method, that is, phase difference AF, and AF by the contrast detection method, that is, contrast AF are combined to achieve both high speed and high accuracy of focusing operation. Hybrid AF is known. In hybrid AF, it is common to roughly adjust the focusing operation using phase-difference AF and then fine-tune the focusing operation using contrast AF. However, in order to calculate the evaluation values for performing phase-difference AF and contrast AF, it is necessary to wait for the completion of reading the imaging signal for generating the captured image, which delays the start of hybrid AF. There was a challenge.
特許文献1では、このようなハイブリッドAF技術については考慮されていない。そこで出願人は、位相差検出方式とコントラスト検出方式とを組み合わせた焦点検出を高速化する方法について検討を行った。
本発明に係る撮像素子は、第1のチップと第2のチップが互いに積層された撮像素子であって、撮像光学系により集光された光を受光する複数の撮像画素と、撮像光学系の異なる瞳部分領域を通過した一対の光束を受光する複数の位相差検出画素とが行列状に配置された画素配列と、撮像画素から撮像信号を読み出し、位相差検出画素から位相差信号を読み出す回路部と、撮像信号に基づいてコントラスト評価値を算出するコントラスト評価値算出部と、撮像信号の読み出しが完了する前に、位相差信号に基づいて位相差評価値を算出する位相差評価値算出部と、コントラスト評価値を算出するか否かを位相差評価値に応じて判定する判定部とを備え、前記画素配列が前記第1のチップに配置され、前記コントラスト評価値算出部および前記位相差評価値算出部が前記第2のチップに配置されていることを特徴とする。 The imaging element according to the present invention is an imaging element in which a first chip and a second chip are laminated on each other, and is composed of a plurality of imaging pixels that receive light focused by the imaging optical system and an imaging optical system. A pixel array in which a plurality of phase difference detection pixels that receive a pair of light beams that have passed through different pupil region regions are arranged in a matrix, and a circuit that reads an image pickup signal from the image pickup pixel and reads out a phase difference signal from the phase difference detection pixel. The contrast evaluation value calculation unit that calculates the contrast evaluation value based on the imaging signal, and the phase difference evaluation value calculation unit that calculates the phase difference evaluation value based on the phase difference signal before the reading of the imaging signal is completed. When, and a determining unit in accordance with whether or not to calculate a contrast evaluation value to the phase difference evaluation value, the pixel array is disposed in the first chip, the contrast evaluation value calculating unit and the phase difference evaluation value calculation unit is characterized that you have been disposed on the second chip.
本発明によれば、位相差検出方式とコントラスト検出方式とを組み合わせた焦点検出をより高速に行うことが可能な撮像素子及びその制御方法を得ることができる。 According to the present invention, it is possible to obtain an image sensor capable of performing focus detection by combining a phase difference detection method and a contrast detection method at a higher speed and a control method thereof.
以下、本発明の実施形態について図面を参照しながら説明する。なお、本発明は以下の実施形態に限定されるものではなく、その要旨を逸脱しない範囲において適宜変更可能である。また、以下で説明する図面において、同じ機能を有するものは同一の符号を付し、その説明を省略又は簡潔にすることもある。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. The present invention is not limited to the following embodiments, and can be appropriately modified without departing from the gist thereof. Further, in the drawings described below, those having the same function may be designated by the same reference numerals, and the description thereof may be omitted or simplified.
図16は、従来の撮像装置におけるハイブリッドAFの例を示すタイミングチャートである。ハイブリッドAFでは、前述のように、まず位相差検出方式を用いて焦点検出を行った後で、コントラスト検出方式を用いて焦点検出を行う。撮像素子には、撮像光学系の異なる瞳部分領域を通過した一対の光束を受光する複数の位相差検出画素が、画素アレイ上の一部の領域に配置されている。以下、図16を参照しながら従来のハイブリッドAFについて説明する。 FIG. 16 is a timing chart showing an example of hybrid AF in a conventional imaging device. In the hybrid AF, as described above, the focus is first detected by using the phase difference detection method, and then the focus is detected by using the contrast detection method. In the image pickup device, a plurality of phase difference detection pixels that receive a pair of light fluxes that have passed through different pupil region regions of the image pickup optical system are arranged in a part region on the pixel array. Hereinafter, the conventional hybrid AF will be described with reference to FIG.
例えばユーザ操作により静止画連写モードが開始すると、静止画連写モードであることを示す静止画連写制御信号がHIGHに設定される。これにより、メカニカルシャッタが開かれると同時に、画素の蓄積電荷がリセットされて、画素における露光が開始する(時刻T0)。その後、所定の露光期間が経過すると、メカニカルシャッタが閉じられて被写体からの光が遮光され、画素における露光が終了する(時刻TF0)。 For example, when the still image continuous shooting mode is started by a user operation, a still image continuous shooting control signal indicating that the still image continuous shooting mode is set is set to HIGH. As a result, at the same time that the mechanical shutter is opened, the accumulated charge of the pixel is reset and the exposure on the pixel is started (time T0). After that, when a predetermined exposure period elapses, the mechanical shutter is closed, the light from the subject is blocked, and the exposure on the pixel is completed (time TF0).
次に、通常の撮像画素からの読み出しが開始される(時刻TF0)。全ての撮像画素から撮像信号が読み出されると、続いて位相差検出画素からの読み出しが開始される。全ての位相差検出画素から位相差信号が読み出されると(時刻TF1)、撮像素子は、位相差信号に基づいて位相差評価値を算出するとともに、撮像信号に基づいてコントラスト評価値を算出する(期間TF1〜TF2)。 Next, reading from a normal imaging pixel is started (time TF0). When the imaging signals are read from all the imaging pixels, the reading from the phase difference detection pixels is subsequently started. When the phase difference signal is read out from all the phase difference detection pixels (time TF1), the image sensor calculates the phase difference evaluation value based on the phase difference signal and also calculates the contrast evaluation value based on the image pickup signal (time TF1). Periods TF1 to TF2).
次に、撮像素子は、算出した位相差評価値及びコントラスト評価値を、撮像信号に付加する形で撮像素子の外部の制御部へ出力する(期間TF2〜TF3)。制御部は、位相差評価値及びコントラスト評価値に基づいてフォーカスレンズを駆動し、合焦動作を行う(期間TF3〜TF4)。合焦動作が完了すると、時刻T0のときと同様にして、次の静止画撮影のために画素における露光動作を開始する(時刻TF4)。 Next, the image sensor outputs the calculated phase difference evaluation value and contrast evaluation value to the control unit outside the image sensor in the form of being added to the image pickup signal (periods TF2 to TF3). The control unit drives the focus lens based on the phase difference evaluation value and the contrast evaluation value to perform the focusing operation (period TF3 to TF4). When the focusing operation is completed, the exposure operation on the pixels is started for the next still image shooting in the same manner as at the time T0 (time TF4).
このように、従来のハイブリッドAFでは、撮像画像を生成するための撮像信号の読み出し完了を待って、位相差評価値及びコントラスト評価値の算出を開始しているため、ハイブリッドAFが完了するまでに時間を要してしまうという課題があった。この結果、例えば静止画連写における連写速度が低下してしまう。後述の実施形態では、ハイブリッドAFをより高速化する方法について説明する。 As described above, in the conventional hybrid AF, the calculation of the phase difference evaluation value and the contrast evaluation value is started after waiting for the completion of reading the imaging signal for generating the captured image. Therefore, by the time the hybrid AF is completed. There was a problem that it took time. As a result, for example, the continuous shooting speed in continuous shooting of still images is reduced. In the embodiment described later, a method for increasing the speed of the hybrid AF will be described.
(第1実施形態)
図1〜図12を参照しながら第1実施形態に係る撮像装置について説明する。図1は、第1実施形態に係る撮像装置の構成を示すブロック図である。図1に示す撮像装置は、撮像光学系101、撮像素子102、駆動部103、信号処理部104、圧縮伸張部105、制御部106、発光部107、操作部108、画像表示部109、画像記録部110を備えている。本実施形態の撮像装置は、例えばスチルカメラやビデオカメラ等に適用される。
(First Embodiment)
The image pickup apparatus according to the first embodiment will be described with reference to FIGS. 1 to 12. FIG. 1 is a block diagram showing a configuration of an imaging device according to the first embodiment. The image pickup apparatus shown in FIG. 1 includes an image pickup
撮像光学系101は、被写体からの光を撮像素子102へ集光させるための光学鏡筒、レンズ、及び光学機構部1011を有する。光学機構部1011は、駆動部103により駆動され、撮像光学系101のズーム、シャッタ、絞り値、及びフォーカスを調整する。撮像素子102は、行列状に配置された画素、及び画素から出力される信号を読み出すADコンバータ等を有し、各画素の露光、信号読み出し、リセット等の動作を行う。撮像素子102としては、例えばXY読み出し方式のCMOS型イメージセンサ等が用いられる。駆動部103は、制御部106により制御され、光学機構部1011及び撮像素子102を駆動する。
The image pickup
撮像素子102内のAF評価値算出部1021は、制御部106により制御され、画素から読み出した撮像信号及び位相差信号に基づいて位相差評価値及びコントラスト評価値を算出し、制御部106へ出力する。制御部106は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等を有して構成される。制御部106は、ROM等に記憶されたプログラムをRAMにロードしてCPUで実行することで、撮像装置を統括的に制御する。
The AF evaluation
信号処理部104は、制御部106により制御され、撮像素子102から出力された撮像信号に対してホワイトバランス調整処理、色補正処理、AE(Auto Exposure)処理等の信号処理を施し、補正された信号を圧縮伸張部105へ出力する。圧縮伸張部105は、制御部106により制御され、補正後の撮像信号に対して符号化処理を行い、符号化された信号を制御部106へ出力する。圧縮伸張部105による撮像信号の符号化方式としては、例えば静止画を生成する場合はJPEG(Joint Photographic Coding Experts Group)方式等が用いられる。また、動画を生成する場合はMPEG(Moving Picture Experts Group)方式等が用いられる。圧縮伸張部105は、符号化の機能に加えて復号化の機能を有していてもよい。
The
発光部107は、例えば信号処理部104がAE処理によって被写体の輝度が低いと判断した場合に、被写体に対して光を照射する。発光部107としては、例えばキセノン管を用いたストロボ装置やLED発光装置等を用いることができる。操作部108は、シャッタレリーズボタン等の各種操作キー、レバー、ダイヤル等を有し、ユーザによる操作に応じた信号を制御部106へ出力する。画像表示部109は、LCD(Liquid Crystal Display)等の表示デバイスや、表示デバイスを駆動するインタフェース回路等を有し、制御部106から出力される画像データを表示デバイスに表示する。画像記録部110は、可搬型の半導体メモリ、光ディスク、HDD(Hard Disk Drive)、磁気テープ等を用いて構成され、制御部106から出力される符号化された画像データを記憶する。
The
ここで、図1に示す撮像装置における信号及びデータの流れについて簡単に説明する。撮像素子102の画素から読み出された撮像信号は、CDS(Correlated Double Sampling)処理、AGC(Automatic Gain Control)処理等が施された後、AD変換部によってデジタル化される。
Here, the flow of signals and data in the image pickup apparatus shown in FIG. 1 will be briefly described. The image pickup signal read from the pixels of the
デジタル化された撮像信号は、信号処理部104と、撮像素子102内のAF評価値算出部1021とに出力される。AF評価値算出部1021は、撮像信号のコントラスト情報に基づいてコントラスト評価値を算出し、制御部106へ出力する。信号処理部104は、撮像信号に対して画質補正処理を施し、補正された信号を制御部106へ出力する。制御部106は、撮像信号をライブビュー画像として画像表示部109に表示させる。この結果、ユーザは表示されたライブビュー画像を見て画角合わせ等を行うことができる。
The digitized image pickup signal is output to the
次に、画像表示部109にライブビュー画像が表示された状態で、操作部108のシャッタレリーズボタンが押下されると、撮像素子102は、撮像信号を信号処理部104に出力する。信号処理部104は、撮像信号に対して画質補正処理を施し、補正された信号を圧縮伸張部105へ出力する。圧縮伸張部105は、補正後の撮像信号を符号化し、符号化された信号を制御部106へ出力する。制御部106は、符号化された撮像信号を画像記録部110に静止画又は動画ファイルとして記録する。
Next, when the shutter release button of the
次に、画像記録部110に記録された静止画又は動画ファイルが選択された状態で、操作部108の再生ボタンが押下されると、制御部106は、選択された静止画又は動画ファイルを画像記録部110から読み出して圧縮伸張部105へ出力する。圧縮伸張部105は、読み出された画像データを復号化して制御部106へ出力する。制御部106は復号化された画像データを、画像表示部109に表示させる。この結果、ユーザは記録された画像静止画又は動画を再生して見ることができる。
Next, when the play button of the
一方、AF評価値算出部1021は、位相差検出画素から出力される一対の位相差信号に対して相関演算を行い、相対的な像ずれ量を求める。そして、像ずれ量から撮像光学系101のデフォーカス量を算出(検出)する。制御部106は、デフォーカス量に基づいて、フォーカスレンズを合焦近傍の位置に移動させるための駆動量を算出する。そして、駆動量に基づいて駆動部103を制御して光学機構部1011内のフォーカスレンズを駆動し、合焦動作を行う。
On the other hand, the AF evaluation
また、制御部106は、光学機構部1011を制御してフォーカスレンズを移動させながら、所定の周期で、AF評価値算出部1021からコントラスト評価値を取得する。そして、前回撮影した静止画の撮像信号に基づいて算出したコントラスト評価値よりも、今回撮影した静止画の撮像信号に基づいて算出したコントラスト評価値の方がより大きくなる方向にフォーカスレンズを駆動して合焦動作を行う。
Further, the
図2は、第1実施形態に係る撮像素子102の構成を斜視図と共に示す概略図である。図2(a)は、撮像素子102の斜視図を示しており、図2(b)は、撮像素子102の構成の概略図を示している。本実施形態の撮像素子102は、図2(a)に示すように、第1のチップ20と、第1のチップ20の上に積層された第2のチップ21とを有して構成される。
FIG. 2 is a schematic view showing the configuration of the
第1のチップ20には、複数の画素201が行列状に配置されている。複数の画素201には、行毎に、転送信号線203、リセット信号線204、及び行選択信号線205が接続され、列毎に、列信号線202が接続されている。
A plurality of
一方、第2のチップ21には、AD変換部211、行走査回路212、列走査回路213、タイミング制御回路214、信号切替部216、及びAF評価値算出部1021が配置されている。このように、画素201とその周辺回路とを、第1のチップ20と第2のチップ21に分けて配置することで、周辺回路の配線を細線化かつ高密度化して撮像素子102を高速化、小型化、高機能化することができる。
On the other hand, the
AD変換部211は、列信号線202に出力された信号をAD変換して水平信号線215に出力する。行走査回路212は撮像素子102の各行を走査し、列走査回路213は撮像素子102の各列を走査する。タイミング制御回路214は、制御部106により制御され、行走査回路212及び列走査回路213の走査タイミングを制御する。
The
信号切替部216は、水平信号線215に出力されたデジタル信号を、位相差評価値算出部217と、コントラスト評価値算出部218及び信号処理部104とにそれぞれに振り分けて供給する。AF評価値算出部1021は、位相差評価値算出部217とコントラスト評価値算出部218とを有して構成され、焦点検出に用いるAF評価値を検出(算出)する。位相差評価値算出部217及びコントラスト評価値算出部218については、後で詳しく説明する。
The
図3は、第1実施形態に係る撮像素子102における画素201の構成を示す概略図である。画素201は、光電変換部PD、転送トランジスタM1、リセットトランジスタM2、増幅トランジスタM3、選択トランジスタM4を有する。これらトランジスタとしては、例えばnチャネルMOSFET(Metal-Oxide-Semiconductor Field-Effect Transistor)を用いることができる。
FIG. 3 is a schematic view showing the configuration of
転送トランジスタM1、リセットトランジスタM2、選択トランジスタM4の各ゲート端子には、それぞれ転送信号線203、リセット信号線204、行選択信号線205が接続されている。これら信号線には、行走査回路212から制御信号が出力され、同一行の画素201を同時に駆動する。このような構成により、行順次動作型のローリングシャッタ動作や、全行同時駆動型のグローバルシャッタ動作を行うことができる。選択トランジスタM4のソース端子には列信号線202が接続されている。
A
光電変換部PDは、光電変換により生じた電荷を蓄積するフォトダイオードである。フォトダイオードのp型の側が接地され、n型の側が転送トランジスタM1のソース端子に接続されている。転送トランジスタM1がオンされると、光電変換部PDに蓄積された電荷がフローティングディフュージョンFDへ転送される。ここで、フローティングディフュージョンFDとは、転送トランジスタM1のドレイン端子、増幅トランジスタM3のゲート端子、及びリセットトランジスタM2のソース端子の3つの端子の接続点に形成された浮遊容量領域のことをいう。 The photoelectric conversion unit PD is a photodiode that stores the electric charge generated by the photoelectric conversion. The p-type side of the photodiode is grounded, and the n-type side is connected to the source terminal of the transfer transistor M1. When the transfer transistor M1 is turned on, the electric charge accumulated in the photoelectric conversion unit PD is transferred to the floating diffusion FD. Here, the floating diffusion FD refers to a stray capacitance region formed at the connection points of the drain terminal of the transfer transistor M1, the gate terminal of the amplification transistor M3, and the source terminal of the reset transistor M2.
増幅トランジスタM3は、フローティングディフュージョンFDに転送された電荷量に応じた信号を出力する。増幅トランジスタM3のドレイン端子には電源電圧Vddが供給されている。選択トランジスタM4は、信号を読み出す画素を選択する。選択トランジスタM4のドレイン端子は増幅トランジスタM3のソース端子に接続され、選択トランジスタM4のソース端子は列信号線202に接続されている。選択トランジスタM4がオンされると、フローティングディフュージョンFDに転送された電荷量に応じた信号が列信号線202に出力される。リセットトランジスタM2は、フローティングディフュージョンFDに転送された電荷をリセットする。リセットトランジスタM2のドレイン端子には電源電圧Vddが供給され、リセットトランジスタM2のソース端子はフローティングディフュージョンFDに接続されている。
The amplification transistor M3 outputs a signal corresponding to the amount of electric charge transferred to the floating diffusion FD. A power supply voltage Vdd is supplied to the drain terminal of the amplification transistor M3. The selection transistor M4 selects a pixel for reading a signal. The drain terminal of the selection transistor M4 is connected to the source terminal of the amplification transistor M3, and the source terminal of the selection transistor M4 is connected to the
図4は、第1実施形態に係る撮像素子102における撮像画素の構造を示す模式図である。ここで撮像画素とは、焦点検出用の副画素を含まない通常の画素201のことをいう。図4(a)には、撮像画素の平面図を示しており、図4(b)には、図4(a)のA−Aに沿った断面図を示している。例えばベイヤー配列を採用した撮像素子102では、図4(a)に示すように、2行×2列の画素における対角2箇所にG(緑色)の分光感度を有する画素が配置され、他の2箇所にR(赤色)とB(青色)の分光感度を有する画素がそれぞれ配置される。
FIG. 4 is a schematic view showing the structure of the image pickup pixel in the
図4(b)に示す撮像画素は、マイクロレンズML、カラーフィルタCF、配線層CL、及び光電変換部PDを有している。ここで、カラーフィルタCFに付した添え字は、通過させる光の色を示しており、例えば、カラーフィルタCFRは赤色光(Red)を通過させ、カラーフィルタCFGは緑色光(Green)を通過させる。同様に、不図示のカラーフィルタCFBは青色光(Brue)を通過させる。光電変換部PDは、図3に示すCMOSセンサの光電変換部PDに対応する。配線層CLは、CMOSセンサ内の各種信号を伝達する信号線である。 The imaging pixel shown in FIG. 4B has a microlens ML, a color filter CF, a wiring layer CL, and a photoelectric conversion unit PD. Here, given the subscript a color filter CF, which indicates the color of the light passing, for example, a color filter CF R passes the red light (Red), color filter CF G is green light (Green) Let it pass. Similarly, the color filter CF B (not shown) allows blue light (Brue) to pass through. The photoelectric conversion unit PD corresponds to the photoelectric conversion unit PD of the CMOS sensor shown in FIG. The wiring layer CL is a signal line that transmits various signals in the CMOS sensor.
撮像画素のマイクロレンズMLと光電変換部PDは、撮影光学系TLを通過した光束を可能な限り有効に取り込めるように構成されている。換言すると、撮影光学系TLの射出瞳EPと光電変換部PDとは、マイクロレンズMLによって共役関係に配置されている。この結果、光電変換部PDに対応した射出瞳EPは大きな径を有し、光電変換部PDの有効面積が大きくなり、被写体からの光束を効率良く取り込んでS/Nを向上させることができる。なお、図4(b)にはR画素の構造を示しているが、G画素及びB画素も同一の構造を有する。 The microlens ML of the imaging pixel and the photoelectric conversion unit PD are configured to capture the luminous flux that has passed through the photographing optical system TL as effectively as possible. In other words, the exit pupil EP of the photographing optical system TL and the photoelectric conversion unit PD are arranged in a conjugated relationship by the microlens ML. As a result, the exit pupil EP corresponding to the photoelectric conversion unit PD has a large diameter, the effective area of the photoelectric conversion unit PD becomes large, and the luminous flux from the subject can be efficiently captured to improve the S / N. Although the structure of the R pixel is shown in FIG. 4B, the G pixel and the B pixel also have the same structure.
図5は、第1実施形態に係る撮像素子102における位相差検出画素の構造を示す模式図である。ここで位相差検出画素とは、焦点検出用の副画素を含む画素201のことをいう。図5(a)には、位相差検出画素の平面図を示しており、図5(b)には、図5(a)のB−Bに沿った断面図を示している。
FIG. 5 is a schematic view showing the structure of the phase difference detection pixel in the
RGB画素が出力するRGB信号のうち、G信号は輝度情報の主成分をなす。人間の画像認識特性は輝度情報に敏感であるため、G信号が欠損すると、画質劣化が認められやすい。一方、R信号又はB信号は、色情報を取得するための信号であるが、人間は色情報には鈍感であるため、R信号又はB信号は多少の欠損が生じても画質劣化に気づきにくい。そこで本実施形態では、図5(a)に示すように、2行×2列の4画素のうち、2つのG画素は通常の撮像画素として残し、R画素とB画素の位置に所定の比率で副画素SHA、SHBを配置する。 Of the RGB signals output by the RGB pixels, the G signal is the main component of the luminance information. Since human image recognition characteristics are sensitive to luminance information, image quality deterioration is likely to be observed when the G signal is lost. On the other hand, the R signal or the B signal is a signal for acquiring the color information, but since human beings are insensitive to the color information, the R signal or the B signal is hard to notice the deterioration of the image quality even if some loss occurs. .. Therefore, in the present embodiment, as shown in FIG. 5A, two G pixels out of the four pixels of 2 rows × 2 columns are left as normal imaging pixels, and a predetermined ratio is set at the positions of the R pixel and the B pixel. Sub-pixels SHA and SHB are arranged at.
本実施形態では、副画素SHAと副画素SHBが位相差検出画素を構成する。マイクロレンズML及び光電変換部PDは、図4(b)に示した撮像画素と概ね同一の構造を有する。本実施形態では、副画素から出力される位相差信号を、撮像画像を生成するための撮像信号としては用いないため、図5(b)に示すように、色分離用カラーフィルタの代わりに透明膜(白色膜)のカラーフィルタCFWが配置される。なお、位相差検出画素を撮像画素として用いることも可能である。この場合、位相差検出画素から出力される一対の位相差信号を加算したものが撮像信号として用いられる。 In the present embodiment, the sub-pixel SHA and the sub-pixel SHB form a phase difference detection pixel. The microlens ML and the photoelectric conversion unit PD have substantially the same structure as the imaging pixels shown in FIG. 4 (b). In the present embodiment, since the phase difference signal output from the sub-pixel is not used as the imaging signal for generating the captured image, as shown in FIG. 5B, it is transparent instead of the color separation color filter. the color filter CF W film (white film) is disposed. It is also possible to use the phase difference detection pixel as an imaging pixel. In this case, the sum of the pair of phase difference signals output from the phase difference detection pixels is used as the imaging signal.
図5(b)に示す位相差検出画素は、x方向の瞳分割を行う。副画素SHAの配線層CLの開口部OPHAは右側(−x方向)に偏っており、副画素SHAの光電変換部PDは、撮影光学系TLの左側(+x方向)の射出瞳領域(第1の瞳領域)EPHAを通過した光束を受光する。一方、副画素SHBの配線層CLの開口部OPHBは左側(+x方向)に偏っており、副画素SHBの光電変換部PDは、撮影光学系TLの右側(−x方向)の射出瞳領域(第2の瞳領域)EPHBを通過した光束を受光する。 The phase difference detection pixel shown in FIG. 5B performs pupil division in the x direction. The opening OP HA of the wiring layer CL of the sub-pixel SHA is biased to the right side (-x direction), and the photoelectric conversion unit PD of the sub-pixel SHA is the exit pupil region (third) on the left side (+ x direction) of the photographing optical system TL. 1 pupil region) Receives the light flux that has passed through EP HA . On the other hand, the opening OP HB of the wiring layer CL of the sub-pixel SHB is biased to the left side (+ x direction), and the photoelectric conversion unit PD of the sub-pixel SHB is the exit pupil region on the right side (-x direction) of the photographing optical system TL. (Second pupil region) Receives the light flux that has passed through the EP HB .
x方向に規則的に配列された複数の副画素SHA(第1の画素群)で取得した被写体像をA像(第1の像)とする。また、x方向に規則的に配列された複数の副画素SHB(第2の画素群)で取得した被写体像をB像(第2の像)とする。A像とB像の相対位置ずれ量(位相差)を検出することで、被写体に対する撮影光学系TLのデフォーカス量を演算することができる。 The subject image acquired by the plurality of sub-pixel SHAs (first pixel group) regularly arranged in the x direction is defined as the A image (first image). Further, a subject image acquired by a plurality of sub-pixels SHB (second pixel group) regularly arranged in the x direction is referred to as a B image (second image). By detecting the relative positional deviation (phase difference) between the A image and the B image, the defocus amount of the photographing optical system TL with respect to the subject can be calculated.
ここで、再び、図2(b)を参照しながら、撮像素子102の動作について説明する。列信号線202に出力された撮像信号及び位相検出信号は、AD変換部211によってデジタル化される。デジタル化された位相検出信号及び撮像信号は、水平信号線215を介して信号切替部216へ出力される。信号切替部216は、列信号線202を介して読み出された信号の出力先を切り替える。信号切替部216によって、位相差信号は位相差評価値算出部217へ出力され、撮像信号はコントラスト評価値算出部218及び信号処理部104へ出力される。
Here, the operation of the
位相差評価値算出部217は、位相差信号に基づいて相関演算を行い、位相差評価値を算出する。一方、コントラスト評価値算出部218は、撮像信号に基づいてコントラスト演算を行い、コントラスト評価値を算出する。算出された位相差評価値及びコントラスト評価値は、撮像画素からの撮像信号の読み出しが完了したタイミングで、撮像信号に付加する形で、信号処理部104を介して制御部106へ出力される。
The phase difference evaluation
次に、図6〜図9を参照しながら、位相差方式による焦点検出について説明する。図6は、第1実施形態に係る撮像素子102における画素アレイ601上の焦点検出領域602を示す模式図である。図6に示す焦点検出領域602は、位相差方式による焦点検出を行うことが可能な画素領域を示している。また、焦点検出領域602の両側のシフト領域603は、相関演算に必要な領域である。すなわち、位相差方式による焦点検出のためには、焦点検出領域602とシフト領域603とを合わせた画素領域604が必要となる。図6に示すp、q、s、tは、水平方向(x軸方向)における座標を表し、このうち、pとqはそれぞれ画素領域604の始点と終点のx座標を、sとtはそれぞれ焦点検出領域602の始点と終点のx座標を表している。
Next, focus detection by the phase difference method will be described with reference to FIGS. 6 to 9. FIG. 6 is a schematic view showing a
図7は、第1実施形態に係る撮像素子102における焦点検出用の一対の位相差信号701、702の例を示す概略図である。図7(a)には、フィルタ処理を行った後の一対の位相差信号のうちの、一方の位相差信号701を実線で示し、他方の位相差信号702を破線で示している。なお、図7(a)に示す位相差信号701、702は、厳密には、x方向に配列された複数の副画素SHA、SHBから得られるx方向に沿った一対の被写体像を示しているが、以下の説明ではこのような一対の被写体像を位相差信号701、702と称する。
FIG. 7 is a schematic view showing an example of a pair of phase difference signals 701 and 702 for focus detection in the
一対の位相差信号701、702の相関量を算出する際には、位相差信号701、702を、図7(b)、図7(c)に示すように、互いに逆方向にそれぞれ1画素ずつシフトさせる。図7(b)は、図7(a)に示す位相差信号701、702を、図7(b)に示す矢印の方向にそれぞれシフトさせた結果を示している。一方、図7(c)は、図7(a)に示す位相差信号701、702を、図7(b)とは逆の、図7(c)に示す矢印の方向にそれぞれシフトさせた結果を示している。 When calculating the correlation amount of the pair of phase difference signals 701 and 702, the phase difference signals 701 and 702 are one pixel each in opposite directions as shown in FIGS. 7 (b) and 7 (c). Shift. FIG. 7B shows the results of shifting the phase difference signals 701 and 702 shown in FIG. 7A in the directions of the arrows shown in FIG. 7B, respectively. On the other hand, FIG. 7 (c) shows the results of shifting the phase difference signals 701 and 702 shown in FIG. 7 (a) in the directions of the arrows shown in FIG. 7 (c), which are opposite to those of FIG. 7 (b). Is shown.
位相差評価値算出部217は、一対の位相差信号701、702を、図7(b)、(c)に示すように1画素ずつシフトさせながら、焦点検出領域602における位相差信号701と位相差信号702の差の絶対値の和を算出する。相関量CORは、シフト量i、最小シフト量p−s、最大シフト量q−t、焦点検出領域602の開始座標s、焦点検出領域602の終了座標t、を用いて下式(1)で与えられる。
図8は、第1実施形態に係る撮像素子102における位相差信号のシフト量iと相関量CORとの関係を示す図である。横軸はシフト量iを示し、縦軸は相関量CORを示している。図8(a)に示す相関量CORは、シフト量iに応じて変化し、極値802、803においてその変化量がゼロとなっている。図8(b)には、極値802、803のうちの値が小さいほうの極値802付近を拡大して示している。単位シフト量i当たりの相関変化量ΔCORは、シフト量i、最小シフト量p−s、最大シフト量q−t、焦点検出領域602の開始座標s、焦点検出領域602の終了座標t、を用いて下式(2)で与えられる。
ΔCOR[i]=COR[i−1]−COR[i+1]
{(p−s+1)<(q−t−1)} (2)
FIG. 8 is a diagram showing the relationship between the shift amount i of the phase difference signal and the correlation amount COR in the
ΔCOR [i] = COR [i-1] -COR [i + 1]
{(P-s + 1) <(q-t-1)} (2)
図9は、第1実施形態に係る撮像素子102における位相差信号のシフト量iと相関変化量ΔCORとの関係を示す図である。横軸はシフト量iを示し、縦軸は単位シフト量i当たりの相関変化量ΔCORを示している。図9(a)に示す相関変化量ΔCORは、シフト量iに応じて変化し、極値802、803においてその値がマイナスからプラスに変化している。相関変化量ΔCORがゼロとなる点をゼロクロスと呼び、一対の位相差信号701、702の一致度が最も高くなる。ゼロクロスを与えるシフト量iが像ずれ量となる。
FIG. 9 is a diagram showing the relationship between the shift amount i of the phase difference signal and the correlation change amount ΔCOR in the
位相差評価値算出部217は、ゼロクロスを与えるシフト量iを、フォーカスレンズの駆動量を算出するための位相差評価値として制御部106へ出力する。図9(b)には、ゼロクロスを与える極値802付近を拡大して示している。ゼロクロスを与えるシフト量i=α+βは、整数部分β(=k−1)と小数部分αとに分けられる。像ずれ量の小数部分αは、図9(b)に示す三角形ABCと三角形ADEとの相似関係から、下式(3)で算出される。
AB:AD=BC:DE
ΔCOR[k−1]:ΔCOR[k−1]−ΔCOR[k]=α:k−(k−1)
α=ΔCOR[k−1]/(ΔCOR[k−1]−ΔCOR[k]) (3)
The phase difference evaluation
AB: AD = BC: DE
ΔCOR [k-1]: ΔCOR [k-1] −ΔCOR [k] = α: k− (k-1)
α = ΔCOR [k-1] / (ΔCOR [k-1] −ΔCOR [k]) (3)
また、像ずれ量の整数部分βは、下式(4)で算出される。
β=k−1 (4)
Further, the integer part β of the image shift amount is calculated by the following equation (4).
β = k-1 (4)
図9(a)に示すように、相関変化量ΔCORのゼロクロスが複数存在する場合は、相関変化量ΔCORの変化率(以下「急峻性」という)が最も大きいゼロクロスのシフト量iを、位相差評価値として制御部106へ出力する。急峻性は焦点検出の行い易さを表す指標であり、急峻性が大きいほど精度よく焦点検出を行うことができる。急峻性maxderは、下式(5)で与えられる。
maxder=|ΔCOR[k−1]|+|ΔCOR[k]| (5)
As shown in FIG. 9A, when there are a plurality of zero crosses of the correlation change amount ΔCOR, the shift amount i of the zero cross having the largest change rate of the correlation change amount ΔCOR (hereinafter referred to as “steepness”) is the phase difference. It is output to the
maxder = | ΔCOR [k-1] | + | ΔCOR [k] | (5)
次に、位相差評価値の信頼性の算出方法について説明する。評価値信頼性は、一対の位相差信号701、702の一致度fnclvlによって定義される。一致度fnclvlは、像ずれ量の精度を表す指標であり、値が大きいほど焦点検出の精度がよいことを示す。一致度fnclvlは、図8(b)に示す極値802の大きさの逆数として、下式(6)で算出される。
(a): |ΔCOR[k−1]|×2≦maxderのとき、
fnclvl=4/(COR[k−1]+ΔCOR[k−1])
(b): |ΔCOR[k−1]|×2>maxderのとき、
fnclvl=4/(COR[k]−ΔCOR[k]) (6)
Next, a method of calculating the reliability of the phase difference evaluation value will be described. The evaluation value reliability is defined by the degree of coincidence fnclvl of the pair of phase difference signals 701 and 702. The degree of coincidence fnclvl is an index showing the accuracy of the amount of image shift, and the larger the value, the better the accuracy of focus detection. The degree of agreement fnclvl is calculated by the following equation (6) as the reciprocal of the magnitude of the
(A): When | ΔCOR [k-1] | × 2 ≦ maxder
fnclvl = 4 / (COR [k-1] + ΔCOR [k-1])
(B): When | ΔCOR [k-1] | × 2> maxder,
fnclvl = 4 / (COR [k] -ΔCOR [k]) (6)
次に、本実施形態の撮像装置におけるハイブリッドAFについて説明する。図10は、第1実施形態に係る撮像素子102における副画素の配置を示す模式図である。本実施形態の撮像装置では、位相差信号701、702を出力する副画素SHA、SHBと、通常の撮像画素とが、例えば図10に示すように、撮像素子102に行列状に配置されている。図10では、同じ画素配置が8行周期で繰り返され、画素配置の各周期内において、第1行〜第2行に副画素SHA、SHB、および撮像画素が配置され、第3行〜第8行に撮像画素が配置されている。
Next, the hybrid AF in the imaging device of the present embodiment will be described. FIG. 10 is a schematic view showing the arrangement of sub-pixels in the
本実施形態の行走査回路212は、まず副画素SHA、SHBが配置された位相差検出行を走査した後に、副画素SHA、SHBが配置されていない撮像行を走査する。具体的には、操作部108等の操作により撮影が開始すると、まず、位相差検出行である第1行、第2行、第9行、第10行、…、を順次走査する。その後、撮像行である第3〜8行、第11〜16行、…、を順次走査する。このように、副画素SHA、SHBが配置された位相差検出行から行走査を開始することで、撮像画像を生成するための撮像信号の読み出しの完了を待たずに、副画素SHA、SHBから出力される焦点検出用の位相差信号701、702を取得することができる。
The
なお、撮像素子102における画素配置は、必ずしも図10に示すような8行周期には限定されず、周期的でなくてもよい。本実施形態の撮像素子102では、副画素SHA、SHBが配置された位相差検出行と、副画素SHA、SHBが配置されていない撮像行とが、それぞれ少なくとも1行以上存在していればよい。
The pixel arrangement in the
図11は、第1実施形態に係る撮像素子102の制御方法を示すタイミングチャートである。前述のように、本実施形態のハイブリッドAFでは、まず副画素SHA、SHBが配置された位相差検出行を走査した後に、通常の撮像画素のみが配置された撮像行を走査する。
FIG. 11 is a timing chart showing a control method of the
例えばユーザにより操作部108が操作されて静止画連写モードが開始すると、制御部106は、静止画連写モードであることを示す静止画連写制御信号をHIGHにする(時刻T0)。これにより、光学機構部1011のメカニカルシャッタが開かれると同時に、画素201の蓄積電荷がリセットされて、画素201における露光が開始する。その後、所定の露出条件を満たすように設定された露光期間が経過すると、光学機構部1011のメカニカルシャッタが閉じられて被写体からの光が遮光され、画素201における露光が終了する(時刻TF0)。
For example, when the
AF評価値算出部1021は、まず、位相差検出方式を用いて焦点検出を行う。AF評価値算出部1021の位相差評価値算出部217は、位相差AFに必要な位相差評価値を算出するために、位相差信号の読み出しを開始する(時刻TF0)。全ての位相差検出画素から位相差信号が読み出されると(時刻TF1)、続いて撮像画素からの撮像信号の読み出しが開始される。位相差評価値算出部217は、撮像画素から撮像信号が読み出されている間に、位相差信号に基づいて位相差評価値を算出する(期間TF1〜TF2)。その後、算出した位相差評価値に基づいて、被写体への合焦が可能であるか否かを判定するための評価値信頼性を算出する(期間TF2〜TF3)。
First, the AF evaluation
撮像素子102の不図示の判定部は、算出された評価値信頼性が所定の閾値以上である場合は、位相差検出方式を用いた焦点検出により被写体への合焦が可能であると判定する。そして、全ての撮像画素から撮像信号が読み出された後で、位相差評価値を撮像信号に付加する形で、信号処理部104を介して制御部106へ出力する(期間TF4〜TF5)。制御部106は、位相差評価値に基づいて光学機構部1011のフォーカスレンズを駆動し、合焦動作を行う(期間TF5〜TF7)。合焦動作が完了すると、時刻T0のときと同様にして、次の静止画撮影のために画素201における露光動作を開始する(時刻TF7)。
When the calculated evaluation value reliability is equal to or higher than a predetermined threshold value, the determination unit (not shown) of the
一方、撮像素子102の不図示の判定部は、算出された評価値信頼性が所定の閾値未満である場合は、位相差検出方式を用いた焦点検出だけでは被写体への合焦が難しいと判定する。そこで、AF評価値算出部1021は、続いてコントラスト検出方式を用いた焦点検出を行う。なお、不図示の判定部は、位相差評価値算出部217であってもよいし、コントラスト評価値算出部218であってもよい。あるいは、図2(b)に示す第2のチップ21に設けられた周辺回路(回路部)であってもよい。
On the other hand, the determination unit (not shown) of the
ここで、AF評価値算出部1021のコントラスト評価値算出部218の動作について説明する前に、コントラストAFについて簡単に説明する。コントラストAFでは、光学機構部1011を制御してフォーカスレンズを移動させながら、所定の周期でコントラスト評価値を算出する。そして、前回撮影した静止画の撮像信号に基づいて算出したコントラスト評価値よりも、今回撮影した静止画の撮像信号に基づいて算出したコントラスト評価値の方がより大きくなる方向にフォーカスレンズを駆動して合焦動作を行う。コントラストAFにおいてフォーカスレンズの駆動方向を決定するためには、少なくとも2つの異なる時刻におけるコントラスト評価値が必要となる。
Here, before explaining the operation of the contrast evaluation
このため、1回目の静止画を撮影する際は、静止画撮影前のライブビュー時の撮像信号に基づいて、事前にフォーカスレンズを概ね合焦させておく。次に2枚目の静止画を撮影するときは、ライブビュー時の撮像信号に基づくコントラスト評価値と、1枚目の静止画撮影時の撮像信号に基づくコントラスト評価値との差分から、フォーカスレンズの駆動方向を決定する。3枚目以降の静止画を撮影するときも同様である。 Therefore, when the first still image is taken, the focus lens is generally focused in advance based on the imaging signal at the time of live view before the still image is taken. Next, when shooting the second still image, the focus lens is based on the difference between the contrast evaluation value based on the image pickup signal during live view and the contrast evaluation value based on the image pickup signal during the first still image shooting. Determine the driving direction of. The same applies when the third and subsequent still images are taken.
再び、図11を参照しながら、コントラスト評価値算出部218の動作について説明する。コントラスト評価値算出部218は、全ての撮像画素から撮像信号が読み出されると(時刻TF4)、高周波成分が抽出された撮像信号に基づいてコントラスト評価値を算出する(期間TF4〜TF6)。撮像素子102は、算出されたコントラスト評価値を、信号処理部104を介して制御部106へ出力する(期間TF6〜TF8)。コントラスト評価値は、撮像信号に付加する形で出力されるため、撮像信号が読み出されてからコントラスト評価値が算出されるまではブランキング期間となる(期間TF4〜TF6)。
The operation of the contrast evaluation
制御部106は、コントラスト評価値算出部218からコントラスト評価値を取得すると(時刻TF8)、コントラスト評価値に基づいて光学機構部1011のフォーカスレンズを駆動し、合焦動作を行う(期間TF8〜TF9)。合焦動作が完了すると、位相差AFのときと同様にして、次の静止画撮影のために画素201における露光動作を開始する(時刻TF9)。
When the
このように、本実施形態では、位相差信号を読み出した後で、撮像信号を読み出している。これにより、全ての撮像画素からの撮像信号の読み出しの完了を待たずに、位相差評価値を算出することができるので、ハイブリッドAFをより早いタイミングで開始することができる。この結果、例えば静止画の連写速度を向上させることができる。 As described above, in the present embodiment, the imaging signal is read after the phase difference signal is read. As a result, the phase difference evaluation value can be calculated without waiting for the completion of reading the imaging signals from all the imaging pixels, so that the hybrid AF can be started at an earlier timing. As a result, for example, the continuous shooting speed of still images can be improved.
また、本実施形態では、コントラスト評価値を算出するか否かを、前記位相差評価値に応じて判定している。これにより、位相差検出方式を用いた焦点検出により被写体への合焦が可能である場合には、コントラスト検出方式を用いた焦点検出が省略されるので、合焦動作を高速化させることができる。また、位相差検出方式を用いた焦点検出だけでは被写体への合焦が難しい場合でも、全ての撮像画素からの撮像信号の読み出しが完了すると直ぐに、コントラスト検出方式を用いた焦点検出を開始することができる。したがって、やはり合焦動作を高速化させることができる。 Further, in the present embodiment, whether or not to calculate the contrast evaluation value is determined according to the phase difference evaluation value. As a result, when focusing on the subject is possible by focus detection using the phase difference detection method, focus detection using the contrast detection method is omitted, so that the focusing operation can be speeded up. .. In addition, even if it is difficult to focus on the subject only by focusing detection using the phase difference detection method, focus detection using the contrast detection method should be started as soon as the reading of the imaging signals from all the imaging pixels is completed. Can be done. Therefore, the focusing operation can be speeded up.
図12は、第1実施形態に係る撮像素子102の制御方法を示すフローチャートである。本実施形態の制御部106は、図12に示すフローチャートに従ってハイブリッドAFを行う。例えばユーザにより操作部108が操作されて静止画連写モードが開始すると、制御部106は、光学機構部1011を制御して、メカニカルシャッタを開く(ステップS1201)。この結果、画素201における露光が開始する(ステップS1202)。その後、所定の露光期間が経過すると、制御部106は光学機構部1011を制御してメカニカルシャッタを閉じる(ステップS1203)。
FIG. 12 is a flowchart showing a control method of the
続いて、位相差評価値算出部217は、位相差AFに必要な位相差評価値を算出するために、位相差信号の読み出しを開始する(ステップS1204)。そして、全ての位相差検出画素からの位相差信号の読み出しが完了するまで、位相差信号の読み出しを繰り返す(ステップS1205)。全ての位相差検出画素からの位相差信号の読み出しが完了すると、撮像画素から撮像信号の読み出しが開始される(ステップS1206)。読み出された撮像信号は、コントラスト評価値算出部218及び信号処理部104へ出力される。
Subsequently, the phase difference evaluation
位相差評価値算出部217は、撮像信号の読み出しが完了する前に、読み出した位相差信号に基づいて位相差評価値を算出する(ステップS1207)。撮像素子102の判定部は、位相差評価値に基づいて、一対の位相差信号の一致度である評価値信頼性fnclvlを算出し、評価値信頼性fnclvlが所定の閾値fth以上であるか否かを判定する(ステップS1208)。
The phase difference evaluation
ステップS1208において、信頼性fnclvlが閾値fth以上であった場合(YES)は、撮像素子102の判定部は、位相差検出方式を用いた焦点検出により被写体への合焦が可能であると判定して、ステップS1209へ進む。そして、全ての撮像画素からの撮像信号の読み出しが完了するのを待つ。
In step S1208, when the reliability fnclvl is equal to or higher than the threshold value fth (YES), the determination unit of the
撮像素子102は、全ての撮像画素から撮像信号が読み出されると、位相差評価値を撮像信号に付加する形で、信号処理部104を介して制御部106へ出力する(ステップS1210)。制御部106は、位相差評価値に基づいてフィードバック制御量を決定し、駆動部103を制御して光学機構部1011内のフォーカスレンズを駆動し、合焦動作を行う(ステップS1211)。
When the image pickup signals are read out from all the image pickup pixels, the
一方、ステップS1208において、信頼性fnclvlが閾値fth未満であった場合(NO)は、撮像素子102の判定部は、位相差検出方式を用いた焦点検出だけでは被写体への合焦が難しいと判定して、ステップS1212へ進む。そして、全ての撮像画素からの撮像信号の読み出しが完了するのを待つ。
On the other hand, in step S1208, when the reliability fnclvl is less than the threshold value fth (NO), the determination unit of the
コントラスト評価値算出部218は、全ての撮像画素から撮像信号が読み出されると、撮像信号に基づいて、コントラスト評価値を算出する(ステップS1213)。撮像素子102は、コントラストを撮像信号に付加する形で、信号処理部104を介して制御部106へ出力する(ステップS1214)。制御部106は、位相差評価値に基づいてフィードバック制御量を決定し、駆動部103を制御して光学機構部1011内のフォーカスレンズを駆動し、合焦動作を行う(ステップS1215)。
When the image pickup signals are read out from all the image pickup pixels, the contrast evaluation
制御部106は、合焦動作が完了すると、例えばユーザにより操作部108が操作されて静止画連写モードが終了されたか否かを確認する(ステップS1216)。静止画連写モードが終了された場合は(YES)、ハイブリッドAF処理を終了する。一方、静止画連写モードが継続中である場合は(NO)、ステップS1201へ戻って、上述のフローチャートを繰り返して次の静止画を撮影する。
When the focusing operation is completed, the
以上のように、本実施形態の撮像素子は、位相差信号に基づいて位相差評価値を算出する位相差評価値算出部と、撮像信号に基づいてコントラスト評価値を算出するコントラスト評価値算出部とを備えている。そして、撮像信号の読み出しが完了する前に、位相差信号に基づいて位相差評価値を算出するとともに、コントラスト評価値を算出するか否かを位相差評価値に応じて判定している。 As described above, the image sensor of the present embodiment has a phase difference evaluation value calculation unit that calculates a phase difference evaluation value based on a phase difference signal and a contrast evaluation value calculation unit that calculates a contrast evaluation value based on an imaging signal. And have. Then, before the reading of the imaging signal is completed, the phase difference evaluation value is calculated based on the phase difference signal, and whether or not to calculate the contrast evaluation value is determined according to the phase difference evaluation value.
このような構成により、全ての撮像画素からの撮像信号の読み出しの完了を待たずに、相差評価値を算出することができるので、ハイブリッドAFの開始タイミングを早めることができる。すなわち、位相差検出方式とコントラスト検出方式とを組み合わせた焦点検出をより高速に行うことができる。 With such a configuration, the phase difference evaluation value can be calculated without waiting for the completion of reading the imaging signals from all the imaging pixels, so that the start timing of the hybrid AF can be accelerated. That is, the focus detection that combines the phase difference detection method and the contrast detection method can be performed at higher speed.
また、位相差検出方式を用いた焦点検出により被写体への合焦が可能である場合には、コントラスト検出方式を用いた焦点検出を省略することができるので、焦点検出を更に高速化することができる。なお、コントラスト評価値を算出するか否かを判定する判定部は、位相差評価値算出部217であってもよいし、コントラスト評価値算出部218であってもよい。あるいは、図2(b)に示す第2のチップ21に設けられた周辺回路(回路部)であってもよい。
Further, when the focus on the subject can be focused by the focus detection using the phase difference detection method, the focus detection using the contrast detection method can be omitted, so that the focus detection can be further speeded up. it can. The determination unit for determining whether or not to calculate the contrast evaluation value may be the phase difference evaluation
(第2実施形態)
次に、図13〜図15を参照しながら第2実施形態に係る撮像装置について説明する。第1の実施形態では、撮像素子102の列毎に1本の列信号線202を有する構成について説明した。これに対し、本実施形態では、撮像素子102bの列毎に少なくとも2本の列信号線202a、202bを有し、撮像画素からの撮像信号と位相差検出画素からの位相差信号とを並行して読み出し得る構成について説明する。
(Second Embodiment)
Next, the image pickup apparatus according to the second embodiment will be described with reference to FIGS. 13 to 15. In the first embodiment, a configuration having one
図13は、第2実施形態に係る撮像素子102bの構成を示す概略図である。図13に示す本実施形態の撮像素子102bは、列毎に2本の列信号線202a、202bを有している。そして、撮像素子102bの画素アレイの一方の側に、AD変換部211a、列走査回路213a、及び水平信号線215aを有し、他方の側に、AD変換部211b、列走査回路213b、及び水平信号線215bを有している。その他の構成については、第1実施形態と概ね同じであるため説明は省略する。以下、主に第1実施形態と異なる構成について説明する。
FIG. 13 is a schematic view showing the configuration of the image pickup device 102b according to the second embodiment. The image sensor 102b of the present embodiment shown in FIG. 13 has two
本実施形態の撮像素子102bの第1のチップ20には、第1の実施形態と同様に、複数の画素201が行列状に配置されている。これらの画素201のうち、副画素SHA、SHBが共に配置された位相差検出行の画素201には、列信号線202bが接続されている。一方、通常の撮像画素のみが配置された撮像行の画素201には、列信号線202aが接続されている。なお、必ずしもこのような構成に限定されるものではなく、本実施形態では、画素アレイの全ての副画素SHA、SHBが、列信号線202bに接続されていればよい。
Similar to the first embodiment, a plurality of
一方、本実施形態の撮像素子102bの第2のチップ21には、AD変換部211a、AD変換部211b、列走査回路213a、及び列走査回路213bが配置されている。AD変換部211aは、列走査回路213aにより制御され、列信号線202aに出力された撮像信号をAD変換して水平信号線215aに出力する。同様に、AD変換部211bは、列走査回路213bにより制御され、列信号線202bに出力された撮像信号又は位相差信号をAD変換して水平信号線215bに出力する。列走査回路213a及び213bは、タイミング制御回路214により制御される。
On the other hand, the
このような構成により、通常の撮像画素から出力される撮像信号は、列信号線202a又は列信号線202bを介して、コントラスト評価値算出部218及び信号処理部104へ出力される。一方、副画素SHA、SHBを含む位相差検出画素から出力される位相差信号は、列信号線202bを介して、信号切替部216へ出力される。信号切替部216は、列信号線202bを介して読み出された信号の出力先を切り替える。信号切替部216によって、撮像信号は、コントラスト評価値算出部218及び信号処理部104に出力され、位相差信号は、位相差評価値算出部217に出力される。
With such a configuration, the imaging signal output from the normal imaging pixel is output to the contrast evaluation
ここで、再び、図10を参照しながら、本実施形態の撮像装置におけるハイブリッドAFについて説明する。本実施形態の行走査回路212は、副画素SHA、SHBが配置された位相差検出行の走査と、通常の撮像画素のみが配置された撮像行の走査とを並行して行う。
Here, the hybrid AF in the image pickup apparatus of the present embodiment will be described again with reference to FIG. The
具体的には、操作部108等の操作により撮影が開始すると、位相差検出行である第1行、第2行、第9行、第10行、…、を順次走査する。同時に、撮像行である第3〜8行、第11〜16行、…、を順次走査する。このように、撮像信号と位相差信号とを、2本の列信号線202a、202bを用いて並行して読み出すことで、撮像信号及び位相差信号の読み出しを高速化することができる。
Specifically, when shooting is started by operating the
なお、撮像素子102bにおける画素配置は、必ずしも図10に示すような8行周期には限定されず、周期的でなくてもよい。本実施形態の撮像素子102bでは、副画素SHA、SHBが配置された位相差検出行と、副画素SHA、SHBが配置されていない撮像行とが、それぞれ少なくとも1行以上存在していればよい。 The pixel arrangement in the image sensor 102b is not necessarily limited to the 8-row cycle as shown in FIG. 10, and does not have to be periodic. In the image sensor 102b of the present embodiment, it is sufficient that at least one row each of the phase difference detection row in which the sub-pixels SHA and SHB are arranged and the imaging row in which the sub-pixels SHA and SHB are not arranged are present. ..
次に、本実施形態の撮像装置におけるハイブリッドAFについて説明する。図14は、第2実施形態に係る撮像素子102bの制御方法を示すタイミングチャートである。図11に示す第1実施形態のタイミングチャートでは、位相差信号の読み出しが完了した後で撮像信号の読み出しを開始した。これに対し、図14に示す本実施形態のタイミングチャートでは、位相差信号の読み出しと並行して撮像信号の読み出しを行う。その他の構成については、第1実施形態と概ね同じであるため説明は省略する。以下、主に第1実施形態と異なる構成について説明する。 Next, the hybrid AF in the imaging device of the present embodiment will be described. FIG. 14 is a timing chart showing a control method of the image pickup device 102b according to the second embodiment. In the timing chart of the first embodiment shown in FIG. 11, reading of the imaging signal is started after the reading of the phase difference signal is completed. On the other hand, in the timing chart of the present embodiment shown in FIG. 14, the image pickup signal is read out in parallel with the reading out of the phase difference signal. Since other configurations are substantially the same as those of the first embodiment, description thereof will be omitted. Hereinafter, a configuration different from that of the first embodiment will be mainly described.
例えばユーザにより操作部108が操作されて静止画連写モードが開始すると、制御部106は、静止画連写モードであることを示す静止画連写制御信号をHIGHにする(時刻T0)。これにより、光学機構部1011のメカニカルシャッタが開かれると同時に、画素201の蓄積電荷がリセットされて、画素201における露光が開始する。その後、所定の露出条件を満たすように設定された露光期間が経過すると、光学機構部1011のメカニカルシャッタが閉じられて被写体からの光が遮光され、画素201における露光が終了する(時刻TF0)。
For example, when the
AF評価値算出部1021は、まず、位相差検出方式を用いて焦点検出を行う。AF評価値算出部1021の位相差評価値算出部217は、位相差AFに必要な位相差評価値を算出するために、位相差検出画素から水平信号線215b及び信号切替部216を介して位相差信号の読み出しを開始する(時刻TF0)。同時に、水平信号線215aを介して、撮像画素からの撮像信号の読み出しが開始される(時刻TF0)。
First, the AF evaluation
位相差評価値算出部217は、全ての位相差検出画素から位相差信号が読み出されると(時刻TF1)、位相差信号に基づいて位相差評価値を算出する(期間TF1〜TF2)。その後、位相差評価値算出部217は、算出した位相差評価値に基づいて、被写体への合焦が可能であるか否かを判定するための評価値信頼性を算出する(期間TF2〜TF3)。その後の処理は、図11に示す第1実施形態のタイミングチャートと同じであるので説明は省略する。
When the phase difference signal is read from all the phase difference detection pixels (time TF1), the phase difference evaluation
図15は、第2実施形態に係る撮像素子102bの制御方法を示すフローチャートである。本実施形態の制御部106は、図15に示すフローチャートに従ってハイブリッドAFを行う。図12に示す第1実施形態のフローチャートでは、位相差信号の読み出しが完了した後で撮像信号の読み出しを開始した。これに対し、図15に示す本実施形態のフローチャートでは、位相差信号の読み出しと並行して撮像信号の読み出しを行う。その他の構成については、第1実施形態と概ね同じであるため説明は省略する。以下、主に第1実施形態と異なる構成について説明する。
FIG. 15 is a flowchart showing a control method of the image pickup device 102b according to the second embodiment. The
例えばユーザにより操作部108が操作されて静止画連写モードが開始すると、制御部106は、光学機構部1011を制御して、メカニカルシャッタを開く(ステップS1201)。この結果、画素201における露光が開始する(ステップS1202)。その後、所定の露光期間が経過すると、制御部106は光学機構部1011を制御してメカニカルシャッタを閉じる(ステップS1203)。
For example, when the
続いて、位相差評価値算出部217は、位相差AFに必要な位相差評価値を算出するために、位相差信号の読み出しを開始する(ステップS1204)。同時に、水平信号線215aを介して、撮像画素からの撮像信号の読み出しが開始される(ステップS1206)。読み出された撮像信号は、コントラスト評価値算出部218及び信号処理部104へ出力される。そして、全ての位相差検出画素からの位相差信号の読み出しが完了するまで、位相差信号の読み出しを繰り返す(ステップS1205)。
Subsequently, the phase difference evaluation
全ての位相差検出画素からの位相差信号の読み出しが完了すると、位相差評価値算出部217は、撮像信号の読み出しが完了する前に、読み出した位相差信号に基づいて位相差評価値を算出する(ステップS1207)。その後の処理は、図12に示す第1実施形態のフローチャートと同じであるため説明は省略する。
When the reading of the phase difference signal from all the phase difference detection pixels is completed, the phase difference evaluation
以上のように、本実施形態の撮像素子は、位相差検出画素が配置された行の走査と、位相差検出画素が配置されていない行の走査とを並行して行う。これにより、撮像画素からの撮像信号の読み出しが早く完了するので、ハイブリッドAFをより早く開始することができる。すなわち、位相差検出方式とコントラスト検出方式とを組み合わせた焦点検出を更に高速化することができる。 As described above, the image sensor of the present embodiment scans the row in which the phase difference detection pixel is arranged and the row in which the phase difference detection pixel is not arranged in parallel. As a result, the reading of the imaging signal from the imaging pixel is completed earlier, so that the hybrid AF can be started earlier. That is, the focus detection that combines the phase difference detection method and the contrast detection method can be further speeded up.
(変形実施形態)
本発明は、上記実施形態に限らず種々の変形が可能である。例えば、上記実施形態に記載の撮像装置の構成は一例を示したものであり、本発明を適用可能な撮像装置は上記実施形態の構成に限定されるものではない。
(Modified Embodiment)
The present invention is not limited to the above embodiment, and various modifications are possible. For example, the configuration of the image pickup apparatus described in the above embodiment shows an example, and the image pickup apparatus to which the present invention can be applied is not limited to the configuration of the above embodiment.
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。 The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
なお、上記実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならない。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。 It should be noted that the above embodiments are merely examples of implementation of the present invention, and the technical scope of the present invention should not be construed in a limited manner by these. That is, the present invention can be implemented in various forms without departing from the technical idea or its main features.
101 :撮像光学系
102、102b :撮像素子
106 :制御部
201 :画素
202 :列信号線
211 :AD変換部
215 :水平信号線
217 :位相差評価値算出部
218 :コントラスト評価値算出部
1021 :AF評価値算出部
101: Image pickup
Claims (10)
撮像光学系により集光された光を受光する複数の撮像画素と、前記撮像光学系の異なる瞳部分領域を通過した一対の光束を受光する複数の位相差検出画素とが行列状に配置された画素配列と、
前記撮像画素から撮像信号を読み出し、前記位相差検出画素から位相差信号を読み出す回路部と、
前記撮像信号に基づいてコントラスト評価値を算出するコントラスト評価値算出部と、
前記撮像信号の読み出しが完了する前に、前記位相差信号に基づいて位相差評価値を算出する位相差評価値算出部と、
前記コントラスト評価値を算出するか否かを前記位相差評価値に応じて判定する判定部と
を備え、
前記画素配列が前記第1のチップに配置され、前記コントラスト評価値算出部および前記位相差評価値算出部が前記第2のチップに配置されていることを特徴とする撮像素子。 An image sensor in which a first chip and a second chip are laminated on each other.
A plurality of imaging pixels that receive light focused by the imaging optical system and a plurality of phase difference detection pixels that receive a pair of light fluxes that have passed through different pupil region regions of the imaging optical system are arranged in a matrix. Pixel array and
A circuit unit that reads an imaging signal from the imaging pixel and reads a phase difference signal from the phase difference detecting pixel.
A contrast evaluation value calculation unit that calculates a contrast evaluation value based on the image pickup signal,
A phase difference evaluation value calculation unit that calculates a phase difference evaluation value based on the phase difference signal before the reading of the imaging signal is completed.
A determination unit that determines whether or not to calculate the contrast evaluation value according to the phase difference evaluation value.
Equipped with a,
The pixel array is disposed in the first chip, the image pickup device in which the contrast evaluation value calculating unit and the phase difference evaluation value calculating unit is characterized that you have been disposed on the second chip.
前記信号切替部は、前記第2のチップに配置され、前記撮像信号を前記コントラスト評価値算出部に出力し、前記位相差信号を前記位相差評価値算出部に出力する
ことを特徴とする請求項3に記載の撮像素子。 Further, it has a signal switching unit for switching the output destination of the signal read from the pixel array by the circuit unit .
The signal switching unit is arranged on the second chip, outputs the image pickup signal to the contrast evaluation value calculation unit, and outputs the phase difference signal to the phase difference evaluation value calculation unit. Item 3. The image pickup device according to item 3.
前記撮像信号を前記第1の列信号線又は前記第2の列信号線を介して前記コントラスト評価値算出部に出力し、前記位相差信号を前記第2の列信号線を介して前記位相差評価値算出部に出力する
ことを特徴とする請求項4に記載の撮像素子。 Each row of the pixel array has a first row signal line and a second row signal line.
The image pickup signal is output to the contrast evaluation value calculation unit via the first row signal line or the second row signal line, and the phase difference signal is output to the contrast evaluation value calculation unit via the second row signal line. The image pickup device according to claim 4, wherein the image pickup device is output to an evaluation value calculation unit.
前記制御部は、前記位相差評価値又は前記コントラスト評価値のいずれか一方に基づいて、前記撮像光学系の合焦動作を行う
ことを特徴とする撮像装置。 Comprising the imaging device according to any one of claims 1-9, wherein the imaging optical system, and a control section, a
The control unit is an imaging device that performs a focusing operation of the imaging optical system based on either the phase difference evaluation value or the contrast evaluation value.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016217766A JP6762849B2 (en) | 2016-11-08 | 2016-11-08 | Image sensor, its control method, program and recording medium |
| US15/784,354 US10284800B2 (en) | 2016-10-21 | 2017-10-16 | Solid-state image pickup element, method of controlling a solid-state image pickup element, and image pickup apparatus |
| US16/358,854 US10609315B2 (en) | 2016-10-21 | 2019-03-20 | Solid-state image pickup element, apparatus, and method for focus detection |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016217766A JP6762849B2 (en) | 2016-11-08 | 2016-11-08 | Image sensor, its control method, program and recording medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2018078401A JP2018078401A (en) | 2018-05-17 |
| JP6762849B2 true JP6762849B2 (en) | 2020-09-30 |
Family
ID=62150986
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016217766A Expired - Fee Related JP6762849B2 (en) | 2016-10-21 | 2016-11-08 | Image sensor, its control method, program and recording medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6762849B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7175703B2 (en) * | 2018-10-17 | 2022-11-21 | キヤノン株式会社 | IMAGING DEVICE AND CONTROL METHOD THEREOF, PROGRAM, STORAGE MEDIUM |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014143667A (en) * | 2012-12-28 | 2014-08-07 | Canon Inc | Imaging device, imaging apparatus, control method thereof and control program thereof |
| WO2015025590A1 (en) * | 2013-08-22 | 2015-02-26 | 富士フイルム株式会社 | Imaging device and focusing control method |
| JP2016142925A (en) * | 2015-02-02 | 2016-08-08 | キヤノン株式会社 | Imaging apparatus, method of controlling the same, program, and storage medium |
-
2016
- 2016-11-08 JP JP2016217766A patent/JP6762849B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2018078401A (en) | 2018-05-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10609315B2 (en) | Solid-state image pickup element, apparatus, and method for focus detection | |
| JP6765860B2 (en) | Image sensor, image sensor, and image signal processing method | |
| US8471952B2 (en) | Image pickup apparatus | |
| CN102892008B (en) | Dual image capture processes | |
| US9609223B2 (en) | Image pickup element, image pickup apparatus, and method and program for controlling the same | |
| TWI422219B (en) | Photography device and photography method, and computer readable recording medium | |
| US20170163873A1 (en) | Photographing apparatus and focus detection method using the same | |
| JP5195660B2 (en) | Imaging apparatus, focusing method, and program | |
| JP5620196B2 (en) | Imaging device | |
| JP6595797B2 (en) | Imaging apparatus and control method thereof | |
| US9325897B2 (en) | Image capture apparatus with automatic focus detection and method for controlling the same | |
| JP2014165787A (en) | Imaging apparatus, control method of the same, program, and storage medium | |
| JP5033711B2 (en) | Imaging device and driving method of imaging device | |
| JP7329136B2 (en) | Imaging device | |
| JP6881939B2 (en) | Solid-state image sensor, its control method, and image sensor | |
| JP5397426B2 (en) | Imaging apparatus, focusing method, and program | |
| JP6521731B2 (en) | Imaging device, control method therefor, and control program | |
| JP2018056703A (en) | Imaging device and imaging apparatus | |
| JP6762767B2 (en) | Image sensor, image sensor, and image signal processing method | |
| JP6881940B2 (en) | Solid-state image sensor, its control method, and image sensor | |
| US20250193449A1 (en) | Image processing apparatus and image processing method | |
| JP6762849B2 (en) | Image sensor, its control method, program and recording medium | |
| JP6223160B2 (en) | Imaging device, control method thereof, and control program | |
| JP2015152742A (en) | Imaging device and control method thereof | |
| US20230066494A1 (en) | Apparatus to perform alignment to images, image processing method to perform alignment to images, and computer readable non-transitory memory to perform alignment to images |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD05 | Notification of revocation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7425 Effective date: 20171214 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20180126 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20191030 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200521 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200604 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200730 |
|
| 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: 20200811 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200909 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 6762849 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| LAPS | Cancellation because of no payment of annual fees |