JP6700763B2 - Imaging device, control method thereof, and control program - Google Patents

Imaging device, control method thereof, and control program Download PDF

Info

Publication number
JP6700763B2
JP6700763B2 JP2015242167A JP2015242167A JP6700763B2 JP 6700763 B2 JP6700763 B2 JP 6700763B2 JP 2015242167 A JP2015242167 A JP 2015242167A JP 2015242167 A JP2015242167 A JP 2015242167A JP 6700763 B2 JP6700763 B2 JP 6700763B2
Authority
JP
Japan
Prior art keywords
flicker
lines
flicker detection
groups
pixels
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2015242167A
Other languages
Japanese (ja)
Other versions
JP2017108336A (en
Inventor
敬大 永井
敬大 永井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2015242167A priority Critical patent/JP6700763B2/en
Publication of JP2017108336A publication Critical patent/JP2017108336A/en
Application granted granted Critical
Publication of JP6700763B2 publication Critical patent/JP6700763B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Exposure Control For Cameras (AREA)
  • Transforming Light Signals Into Electric Signals (AREA)
  • Studio Devices (AREA)

Description

本発明は、撮像装置、その制御方法、および制御プログラムに関し、特に、被写体からの光の周期的な光量変化を検知する撮像装置に関する。   The present invention relates to an image pickup apparatus, a control method therefor, and a control program, and more particularly to an image pickup apparatus that detects a periodic change in the amount of light from a subject.

一般に、撮影の際に外光の所定周期の光量変化(フリッカー)があると、所謂露光ムラが生じることがある。例えば、撮像素子にCMOSイメージセンサを用いて、撮像素子のライン毎に蓄積期間をずらしながら撮像する場合、蓄積期間に重なる外光の光量の状態がライン毎に異なる。そのため、蓄積期間における外光の光量の積分値が大きいラインは明るく、蓄積期間における外光の光量の積分値が小さいラインは暗くなり、得られる画像は露光ムラが生じた画像となる。なお、各ラインの蓄積期間の長さ(蓄積時間)が光量変化の周期以上の長さであれば、1つの蓄積期間内に光量が最大の状態と光量が最小の状態が含まれるため画像内の露光ムラは目立たない。一方、各ラインの蓄積時間が光量変化の周期よりも短ければ、蓄積期間が光量の大きい状態と重なるラインと蓄積期間が光量の小さい状態と重なるラインとが別々にできるため、蓄積時間が短いほど画像内の露光ムラは顕著になる。   Generally, if there is a change (flicker) in the amount of outside light in a predetermined cycle during shooting, so-called uneven exposure may occur. For example, when a CMOS image sensor is used as an image sensor and an image is captured while shifting the storage period for each line of the image sensor, the state of the amount of external light that overlaps the storage period varies from line to line. Therefore, a line having a large integrated value of the amount of external light in the accumulation period is bright, a line having a small integrated value of the amount of external light in the accumulation period is dark, and the obtained image is an image with uneven exposure. If the length of the accumulation period (accumulation time) of each line is equal to or longer than the cycle of the light amount change, the state in which the light amount is maximum and the state in which the light amount is minimum are included in one accumulation period. The uneven exposure is not noticeable. On the other hand, if the accumulation time of each line is shorter than the cycle of light intensity change, a line that overlaps with a state where the light intensity is high and a line that overlaps with a state where the light intensity is low can be separated. The exposure unevenness in the image becomes remarkable.

このような問題に対して、フリッカーの周期および位相を検出して、明暗の変化が少ないフリッカー光源の光量ピークにタイミングを合わせて露光を行ってフリッカーの影響を低減するようにした撮像装置がある。   In order to solve such a problem, there is an image pickup apparatus that detects the period and phase of flicker, and performs exposure by matching the timing with the light amount peak of a flicker light source with little change in brightness to reduce the influence of flicker. ..

例えば、フリッカー光源のピークタイミングを検出するため、フリッカーの周期となり得る100Hzおよび120Hzの公倍数である600Hzで、つまり、1.66msの間隔で電荷蓄積を行ってフリッカーの周期および位相を検知する手法が知られている(特許文献1参照)。   For example, in order to detect the peak timing of the flicker light source, there is a method of detecting the flicker cycle and phase by performing charge accumulation at 600 Hz, which is a common multiple of 100 Hz and 120 Hz that can be the flicker cycle, that is, at an interval of 1.66 ms. It is known (see Patent Document 1).

特開2014−220764号公報JP, 2014-220764, A

ところで、フリッカー光源の1つであるLED光源などにおいては消灯時間(暗い時間)が長く、点灯時間が短い。このようなフリッカー光源では、上述の1.66ms間隔の電荷蓄積ではサンプリング周期が長すぎて、フリッカー検知精度が低下することがある。一方、電荷蓄積時間を短くすれば、サンプリング周期を短くすることができるものの、この場合には、低輝度であるため被写体の測光が困難となってしまう。   By the way, in an LED light source, which is one of the flicker light sources, the turn-off time (dark time) is long and the turn-on time is short. In such a flicker light source, the sampling cycle is too long in the charge accumulation at the above-mentioned 1.66 ms interval, and the flicker detection accuracy may be degraded. On the other hand, if the charge accumulation time is shortened, the sampling cycle can be shortened. However, in this case, the photometry of the subject becomes difficult due to the low luminance.

このように、測光の際のサンプリング周期を短くして、フリッカー検知を精度よく行うとともに、低輝度で被写体の測光を行うことは困難である。   As described above, it is difficult to shorten the sampling period at the time of photometry to accurately detect flicker and to perform photometry of a subject with low luminance.

そこで、本発明の目的は、サンプリング周期を短くして被写体からの光の周期的な光量変化の検知を精度よく行うことができる撮像装置、その制御方法、および制御プログラムを提供することにある。   Therefore, an object of the present invention is to provide an imaging apparatus, a control method thereof, and a control program, which can accurately detect a periodic change in the amount of light from a subject by shortening the sampling cycle.

上記の目的を達成するため、本発明による撮像装置は、2次元マトリックス状に配列された複数の画素を備える撮像素子を有する撮像装置であって、前記撮像素子における所定の複数のラインを撮影環境におけるフリッカーを検知するためのフリッカー検知用のラインとし前記撮像素子の駆動を制御する制御手段と、前記フリッカー検知用の前記複数のラインの出力に応じて前記フリッカーの周期およびピークタイミングを求める演算手段と、を有し、前記フリッカー検知用の複数のラインは、少なくとも2つ以上の群を備え、前記制御手段は、前記フリッカー検知用の複数ラインの前記2つ以上の群で、電荷の蓄積を開始するタイミングを第1の間隔だけ異ならせるように制御し、前記第1の間隔は、所定の周期を、前記2つ以上の群の数で除算した時間であることを特徴とする。 In order to achieve the above-mentioned object, an image pickup apparatus according to the present invention is an image pickup apparatus having an image pickup device including a plurality of pixels arranged in a two-dimensional matrix, and a plurality of predetermined lines in the image pickup device are used in a shooting environment. A line for flicker detection for detecting flicker, control means for controlling driving of the image pickup device, and calculation for obtaining a cycle and peak timing of the flicker according to outputs of the plurality of lines for flicker detection. and means, possess a plurality of lines for the flicker detection is provided with at least two or more groups, wherein, in said two or more groups of a plurality of lines for the flicker detection, charge accumulation Is controlled so as to differ by a first interval, and the first interval is a time obtained by dividing a predetermined cycle by the number of the two or more groups .

本発明による制御方法は、2次元マトリックス状に配列された複数の画素を備える撮像素子を有する撮像装置の制御方法であって、前記撮像素子における、所定の複数のラインを撮影環境におけるフリッカーを検知するためのフリッカー検知用のラインとし、前記撮像素子の駆動を制御する制御ステップと、前記フリッカー検知用のラインの出力に応じて前記フリッカーの周期およびピークタイミングを求める演算ステップと、を有し、前記フリッカー検知用の複数のラインは、少なくとも2つ以上の群を備え、前記制御ステップでは、前記フリッカー検知用の複数ラインの前記2つ以上の群で、電荷の蓄積を開始するタイミングを第1の間隔だけ異ならせるように制御し、前記第1の間隔は、所定の周期を、前記2つ以上の群の数で除算した時間であることを特徴とする。 Control method according to the present invention is a control method of an image pickup apparatus which have a image sensor having a plurality of pixels arranged in a two-dimensional matrix, in the image pickup device, the flicker in shooting environment a predetermined plurality of lines a line for flicker detection for detecting, possess a control step for controlling the driving of the imaging element, and a computation step of determining the period and peak timing of the flicker in accordance with an output line for the flicker detection The plurality of lines for flicker detection includes at least two or more groups, and in the control step, the timing of starting the charge accumulation in the two or more groups of the plurality of lines for flicker detection is set to The first interval is a time period obtained by dividing a predetermined period by the number of the two or more groups .

本発明による制御プログラムは、2次元マトリックス状に配列された複数の画素を備える撮像素子を有する撮像装置で用いられる制御プログラムであって、前記撮像素子における、所定の複数のラインを撮影環境におけるフリッカーを検知するためのフリッカー検知用のラインとし、前記撮像装置が備えるコンピュータに、前記撮像素子の駆動を制御する制御ステップと、前記フリッカー検知用のラインの出力に応じて前記フリッカーの周期およびピークタイミングを求める演算ステップと、実行させ、前記フリッカー検知用の複数のラインは、少なくとも2つ以上の群を備え、前記制御ステップでは、前記フリッカー検知用の複数ラインの前記2つ以上の群で、電荷の蓄積を開始するタイミングを第1の間隔だけ異ならせるように制御し、前記第1の間隔は、所定の周期を、前記2つ以上の群の数で除算した時間であることを特徴とする。 Control program according to the present invention is a control program used in an imaging device that have the image pickup device comprising a plurality of pixels arranged in a two-dimensional matrix, in the imaging device, the imaging environment a predetermined plurality of lines As a flicker detection line for detecting flicker, a control step of controlling a drive of the image pickup device in a computer provided in the image pickup device, and a cycle and a peak of the flicker according to an output of the flicker detection line. A calculation step for obtaining timing, and a plurality of lines for flicker detection , which are executed , comprise at least two or more groups, and in the control step, in the two or more groups of the plurality of lines for flicker detection, The timing of starting the charge accumulation is controlled to be different by a first interval, and the first interval is a time obtained by dividing a predetermined period by the number of the two or more groups. To do.

本発明によれば、被写体からの光の周期的な光量変化を精度よく検知することができる。   According to the present invention, it is possible to accurately detect a periodic change in the amount of light from a subject.

本発明の実施の形態による撮像装置の一例についてその構成を示す図である。It is a figure showing the composition about an example of an imaging device by an embodiment of the invention. 図1に示すカメラで行われるライブビュー(LV)表示の際の処理を説明するためのフローチャートである。6 is a flowchart for explaining a process at the time of live view (LV) display performed by the camera shown in FIG. 1. 図1に示す撮像素子における画素配列を説明するための図であり、(a)は画素配列の一例を示す図、(b)は(a)に示す画素配列の一部を拡大して示す図である。2A and 2B are diagrams for explaining a pixel array in the image sensor shown in FIG. 1, in which FIG. 7A is a diagram showing an example of a pixel array, and FIG. Is. 比較のために従来のフリッカー検知を説明するための図である。It is a figure for demonstrating the conventional flicker detection for comparison. 図1に示すカメラで行われるフリッカー検知の一例を説明するための図である。FIG. 3 is a diagram for explaining an example of flicker detection performed by the camera shown in FIG. 1. 図1に示すカメラにおいてフリッカー検知用の蓄積時間とフリッカー検知用画素の分割数との関係を示す図である。FIG. 3 is a diagram showing a relationship between an accumulation time for flicker detection and a division number of flicker detection pixels in the camera shown in FIG. 1. 図1に示すカメラで行われるフリッカー検知の他の例を説明するための図である。FIG. 9 is a diagram for explaining another example of flicker detection performed by the camera shown in FIG. 1. 図1に示すカメラで行われるフリッカー位相の算出を説明するための図である。FIG. 6 is a diagram for explaining calculation of a flicker phase performed by the camera shown in FIG. 1.

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

図1は、本発明の実施の形態による撮像装置の一例についてその構成を示す図である。   FIG. 1 is a diagram showing the configuration of an example of an image pickup apparatus according to an embodiment of the present invention.

図示の撮像装置は、例えば、デジタル一眼レフカメラ(以下単にカメラと呼ぶ)であり、カメラ本体(撮像装置本体)100および撮影レンズユニット(以下単に撮影レンズと呼ぶ)200を備えている。そして、カメラ本体100と撮影レンズ200とは互いに機械的および電気的に接続されている。   The illustrated image pickup apparatus is, for example, a digital single-lens reflex camera (hereinafter simply referred to as a camera), and includes a camera body (image pickup apparatus body) 100 and a photographing lens unit (hereinafter simply referred to as a photographing lens) 200. The camera body 100 and the taking lens 200 are mechanically and electrically connected to each other.

カメラ本体100には、マイクロコンピュータ(CPU:以下カメラマイコンと呼ぶ)101が備えられており、カメラマイコン101はカメラ全体の制御を司る。カメラマイコン101はRAMおよびROMなどのメモリ102が接続され、当該メモリ102は制御用プログラムを格納するとともに、カメラマイコン101の作業領域として用いられる。   The camera body 100 is provided with a microcomputer (CPU: hereinafter referred to as a camera microcomputer) 101, and the camera microcomputer 101 controls the entire camera. A memory 102 such as a RAM and a ROM is connected to the camera microcomputer 101, and the memory 102 stores a control program and is used as a work area of the camera microcomputer 101.

撮影レンズ200の光軸上にはCCD又はCMOSイメージセンサなどの撮像素子103が配置されており、この撮像素子103には赤外カットフィルタおよびローパスフィルタなどが備えられている。そして、撮像素子103には撮影レンズ200を介して光学像が結像し、撮像素子103は光学像に応じた電気信号を出力する。なお、撮像素子103は、複数の画素(つまり、画素群)毎に独立して電荷の蓄積および読み出しを行うことができる。   An image pickup device 103 such as a CCD or a CMOS image sensor is arranged on the optical axis of the taking lens 200, and the image pickup device 103 is provided with an infrared cut filter, a low pass filter, and the like. Then, an optical image is formed on the image sensor 103 via the taking lens 200, and the image sensor 103 outputs an electric signal according to the optical image. Note that the image sensor 103 can store and read charges independently for each of a plurality of pixels (that is, a pixel group).

撮像素子103の前面側にはシャッター104が配置されており、当該シャッター104によって非撮影の際には撮像素子103が遮光され、撮影の際にはシャッター104を開いて撮像素子103に光を入射させる。   A shutter 104 is arranged on the front side of the image sensor 103. The shutter 104 shields the image sensor 103 during non-shooting, and opens the shutter 104 during shooting to allow light to enter the image sensor 103. Let

シャッター104の前段には、ハーフミラー105が配置されており、当該ハーフミラー105は、非撮影の際に撮影レンズ200を介して入射する光の一部を反射して、光学像をピント板106に結像する。なお、ハーフミラー105は撮影の際には光軸から退避する。   A half mirror 105 is arranged in front of the shutter 104, and the half mirror 105 reflects a part of light incident through the taking lens 200 at the time of non-shooting to focus an optical image on the focusing plate 106. Image on. The half mirror 105 is retracted from the optical axis at the time of shooting.

ピント板106の上側には表示素子107が配置されている。表示素子107は、例えば、PN液晶装置であり、ユーザーは光学ファインダー(図示せず)を介してピント板106に結像した光学像および表示素子107に表示された各種情報を見ることができる。   A display element 107 is arranged above the focusing plate 106. The display element 107 is, for example, a PN liquid crystal device, and a user can view an optical image formed on the focusing plate 106 and various information displayed on the display element 107 through an optical finder (not shown).

ピント板106に結像した光学像はペンタプリズム109を介して測光センサ(AE)108および光学ファインダーに導かれる。測光センサ108はCCD又はCMOSイメージセンサなどの撮像素子を備えている。画像処理演算用のCPU(以下ICPUと呼ぶ)112は、カメラマイコン101の制御下で撮像素子103および測光センサ108を駆動制御する。さらに、ICPU112は測光センサ108の出力に応じて調光処理、被写体検出処理、被写体追尾、および被写体からの光の周期的な光量変化の検知(フリッカー検知)を行う。ICPU112にはRAMおよびROMなどを備えるメモリ113が接続されている。   The optical image formed on the focusing plate 106 is guided to a photometric sensor (AE) 108 and an optical finder via a pentaprism 109. The photometric sensor 108 includes an image sensor such as a CCD or CMOS image sensor. An image processing CPU (hereinafter referred to as ICPU) 112 drives and controls the image sensor 103 and the photometric sensor 108 under the control of the camera microcomputer 101. Further, the ICPU 112 performs light control processing, subject detection processing, subject tracking, and detection of periodic light amount change of light from the subject (flicker detection) according to the output of the photometric sensor 108. A memory 113 including a RAM and a ROM is connected to the ICPU 112.

焦点検出回路(AF)110は、ハーフミラー105の後ろ側に配置されたAFミラー111で反射された光学像を受ける。焦点検出回路110は、AFセンサ(図示せず)を備えており、カメラマイコン101の制御下でAFセンサに結像した光学像に応じて測距(つまり、焦点検出)を行う。   The focus detection circuit (AF) 110 receives the optical image reflected by the AF mirror 111 arranged behind the half mirror 105. The focus detection circuit 110 includes an AF sensor (not shown), and performs distance measurement (that is, focus detection) according to an optical image formed on the AF sensor under the control of the camera microcomputer 101.

カメラ本体100の背面には、LCDなどの表示装置114が配置されており、当該表示装置には、画像再生の際には、再生された画像が表示される。また、撮影の際には、表示装置114にはライブビュー画像およびメニューが表示される。   A display device 114 such as an LCD is arranged on the back surface of the camera body 100, and the reproduced image is displayed on the display device when the image is reproduced. Further, at the time of shooting, a live view image and a menu are displayed on the display device 114.

撮影レンズ102はフォーカスレンズ103などのレンズ群および絞り(図示せず)を有しており、レンズマイコン(LPU)201は、カメラマイコン101の制御下でフォーカスレンズを駆動制御するとともに、絞りを制御する。また、LPU201はカメラと被写体との距離を示す距離情報などをカメラマイコン101に送る。   The taking lens 102 has a lens group such as a focus lens 103 and a diaphragm (not shown), and a lens microcomputer (LPU) 201 drives and controls the focus lens under the control of the camera microcomputer 101 and also controls the diaphragm. To do. The LPU 201 also sends distance information indicating the distance between the camera and the subject to the camera microcomputer 101.

なお、以下の説明では、撮像素子103の出力によってライブビュー画像の表示を行うとともに、フリッカー検知を行うようにしたが、測光センサ108によってAE用画像を取得して、当該AE用画像を用いてフリッカー検知を行うようにしてもよい。   In the following description, the live view image is displayed by the output of the image sensor 103 and the flicker detection is performed. However, the photometric sensor 108 acquires the AE image and uses the AE image. Flicker detection may be performed.

図2は、図1に示すカメラで行われるライブビュー(LV)表示の際の処理を説明するためのフローチャートである。なお、図示のフローチャートに係る処理はカメラマイコン101の制御下で行われる。   FIG. 2 is a flowchart for explaining a process at the time of live view (LV) display performed by the camera shown in FIG. Note that the processing according to the illustrated flowchart is performed under the control of the camera microcomputer 101.

ユーザー操作によってライブビュー(LV)表示の指示があると、カメラマイコン101はライブビュー表示のための電荷蓄積(LV蓄積)およびフリッカー検知のための電荷蓄積(フリッカー蓄積)に係る蓄積条件を決定するための測光を行う(ステップS101)。ここで、カメラマイコン101はICPU112によって測光センサ108又は撮像素子103を制御して測光を行って測光結果(例えば、被写体の輝度)を得る。   When a live view (LV) display is instructed by a user operation, the camera microcomputer 101 determines charge accumulation conditions for live view display (LV accumulation) and charge accumulation for flicker detection (flicker accumulation). To perform photometry (step S101). Here, the camera microcomputer 101 controls the photometric sensor 108 or the image sensor 103 by the ICPU 112 to perform photometry, and obtain a photometric result (for example, the brightness of the subject).

続いて、カメラマイコン101は測光結果に基づいて、LV蓄積およびフリッカー蓄積に要する時間およびゲインなどの蓄積条件を求める(ステップS102)。以下、LV蓄積に係る蓄積条件をLV蓄積条件と呼び、フリッカー蓄積に係る蓄積条件をフリッカー蓄積条件と呼ぶ。   Subsequently, the camera microcomputer 101 obtains storage conditions such as time and gain required for LV storage and flicker storage based on the photometric result (step S102). Hereinafter, the accumulation condition related to LV accumulation is referred to as an LV accumulation condition, and the accumulation condition related to flicker accumulation is referred to as a flicker accumulation condition.

次に、カメラマイコン101はLV蓄積条件に基づいて、ICPU112によって撮像素子103における電荷蓄積および読み出しを行って、LV用画像を取得する(ステップS103)。ここでは、撮像素子103の消費電力削減、LV用画像の処理に要する時間を短縮するため、撮像素子103の全ての画素を用いずに、画素を間引いて電荷蓄積および読出しを行うことが望ましい。   Next, the camera microcomputer 101 causes the ICPU 112 to accumulate and read charges in the image sensor 103 based on the LV accumulation condition to acquire an LV image (step S103). Here, in order to reduce the power consumption of the image sensor 103 and the time required to process the image for LV, it is desirable to thin out the pixels and perform charge accumulation and readout without using all the pixels of the image sensor 103.

続いて、カメラマイコン101はLV用画像を表示装置114に表示するとともに、LV用画像に基づいて被写体の測光を行い、さらに、次のLV蓄積条件を求める。つまり、測光を行う(ステップS104)。そして、カメラマイコン101は、シャッターボタン(レリーズボタン)の半押しによって第1のシャッタースイッチSW1がオンとなったか否かを判定する(ステップS105)。   Subsequently, the camera microcomputer 101 displays the LV image on the display device 114, performs photometry of the subject based on the LV image, and further obtains the next LV accumulation condition. That is, photometry is performed (step S104). Then, the camera microcomputer 101 determines whether or not the first shutter switch SW1 is turned on by pressing the shutter button (release button) halfway (step S105).

第1のシャッタースイッチSW1がオフであると(ステップS105において、NO)、カメラマイコン101はLV終了の指示があるか否かを判定する(ステップS106)。例えば、カメラマイコン101はカメラ本体100に備えられたライブビュー表示用スイッチがオンでなければ(つまり、オフであると)LV終了であると判定する。   If the first shutter switch SW1 is off (NO in step S105), the camera microcomputer 101 determines whether there is an instruction to end the LV (step S106). For example, the camera microcomputer 101 determines that the LV end is completed if the live view display switch provided in the camera body 100 is not on (that is, is off).

LV終了の指示があると(ステップS106において、YES)、カメラマイコン101はLVを終了する。一方、LV終了の指示がないと(ステップS106において、NO)、カメラマイコン101はステップS103の処理に戻る。   When there is an instruction to end the LV (YES in step S106), the camera microcomputer 101 ends the LV. On the other hand, if there is no LV end instruction (NO in step S106), the camera microcomputer 101 returns to the process of step S103.

第1のシャッタースイッチSW1がオンであると(ステップS105において、YES)、カメラマイコン101は、ICPU112によって撮像素子103からLV用画像およびフリッカー検知用画像を取得する(ステップS107)。ここでは、カメラマイコン101は、ICPU112によってLV蓄積およびフリッカー蓄積を以下のようにして同時に行う。   When the first shutter switch SW1 is on (YES in step S105), the camera microcomputer 101 acquires the LV image and the flicker detection image from the image sensor 103 by the ICPU 112 (step S107). Here, the camera microcomputer 101 causes the ICPU 112 to simultaneously perform LV accumulation and flicker accumulation as follows.

図3は、図1に示す撮像素子における画素配列を説明するための図である。そして、図3(a)は画素配列の一例を示す図であり、図3(b)は図3(a)に示す画素配列の一部を拡大して示す図である。   FIG. 3 is a diagram for explaining a pixel array in the image sensor shown in FIG. And FIG.3(a) is a figure which shows an example of a pixel array, FIG.3(b) is a figure which expands and shows a part of pixel array shown in FIG.3(a).

図3(a)に示すように、撮像素子103は、2次元マトリックス状に配列された複数の画像を有している。図示の例では、1行目および2行目が間引き画素とされ、3行目および4行目がフリッカー検知用画素Aとされる。さらに、5行目および6行目がフリッカー検知用画素Bとされる。7行目および8行目がフリッカー検知用画素Cとされる。そして、9行目および10行目がLV用画素とされ、続いて、4行の間引き画素が続き、以後同様にして、フリッカー検知用画素A〜C、LV用画素、および間引き画素が配列され、最後に2行の間引き画素が配列される。   As shown in FIG. 3A, the image sensor 103 has a plurality of images arranged in a two-dimensional matrix. In the illustrated example, the first and second rows are thinned pixels, and the third and fourth rows are flicker detection pixels A. Furthermore, the 5th and 6th rows are the flicker detection pixels B. The seventh and eighth rows are the flicker detection pixels C. The ninth and tenth rows are set as LV pixels, followed by four rows of thinned pixels, and thereafter, in the same manner, flicker detection pixels A to C, LV pixels, and thinned pixels are arranged. Finally, two rows of thinned pixels are arranged.

このように、撮像素子103は、複数の画素のうち少なくとも一部の画素がフリッカー検知用画素A〜Cとされている。つまり、フリッカー検知用画素は複数のグループのうちのいずれかに属している。さらに、撮像素子103はLV用(ライブビュー用)画素および間引き画素を備えている。また、撮像素子103は、複数のグループのフリッカー検知用画素とLV用画素とを、それぞれ独立して電荷蓄積及び読み出しの制御を行うことができる。   As described above, in the image sensor 103, at least some of the plurality of pixels are the flicker detection pixels A to C. That is, the flicker detection pixel belongs to any one of the plurality of groups. Further, the image sensor 103 includes LV (live view) pixels and thinned pixels. Further, the image sensor 103 can independently control charge accumulation and readout of a plurality of groups of flicker detection pixels and LV pixels.

なお、本実施形態では、撮像素子103が複数のグループのフリッカー検知用画素とLV用画素を備えているが、測光センサ108が複数のグループのフリッカー検知用画素を備えていて、測光センサ108を用いてフリッカー検知を行う構成でもよい。また、複数のグループのフリッカー検知用画素とLV用画素は、図3(a)に示す順序で設けられていなくてもよいし、間引き画素が設けられていなくてもよい。また、複数のグループのフリッカー検知用画素とLV用画素を配置は固定されていなくてもよく、状況に応じて各画素をフリッカー検知用画素とするかLV用画素とするかを切り替えるような構成でもよい。   In the present embodiment, the image sensor 103 includes a plurality of groups of flicker detection pixels and LV pixels, but the photometric sensor 108 includes a plurality of groups of flicker detection pixels. A configuration for performing flicker detection by using the flicker may be used. Further, the flicker detection pixels and the LV pixels of the plurality of groups may not be provided in the order shown in FIG. 3A, or the thinned pixels may not be provided. Further, the arrangement of the flicker detection pixels and the LV pixels of a plurality of groups may not be fixed, and a configuration may be used in which each pixel is switched between the flicker detection pixel and the LV pixel depending on the situation. But it's okay.

図3(b)に示すように、撮像素子103に備えられた画素はベイヤー配列されており、赤(R)、緑(Gr,Gb)、および青(B)のいずれかのカラーフィルタが画素に対応付けられている。なお、Grは赤(R)の行にある緑フィルタを示し、Gbは青(B)の行にある緑フィルタを示す。   As shown in FIG. 3B, the pixels included in the image sensor 103 are arranged in a Bayer array, and any one of the color filters of red (R), green (Gr, Gb), and blue (B) is a pixel. Is associated with. Note that Gr represents a green filter in the row of red (R), and Gb represents a green filter in the row of blue (B).

撮像素子103からLV用画像を取得する際には、LV用画素について電荷蓄積および読み出しが行われる。フリッカー検知の際には、フリッカー検知用画素について電荷蓄積および読み出しが行われる。そして、撮影の際には(本画像取得の際には)、間引き画素を含めて全ての画素について電荷蓄積および読み出しが行われる。   When acquiring an LV image from the image sensor 103, charge accumulation and readout are performed for the LV pixel. At the time of flicker detection, charge accumulation and reading are performed for the flicker detection pixel. Then, at the time of photographing (at the time of acquiring the main image), charge accumulation and reading are performed for all pixels including the thinned pixels.

上述のように、所定の規則に従って、フリッカー検知用画素A〜Cを配置することによって、被写体の光量変化に応じてフリッカー検知を行うことができ、フリッカー検知の精度を向上させることができる。さらに、間引き画素を配置して、LV画素の取得およびフリッカー検知の際には、間引き画素について電荷蓄積および読み出しを行わない。この結果、フリッカー検知の際などにおいて消費電力を削減することができるばかりでなく、画像処理時間を短縮することができる。   As described above, by arranging the flicker detection pixels A to C according to the predetermined rule, the flicker detection can be performed according to the change in the light amount of the subject, and the accuracy of the flicker detection can be improved. Furthermore, thinning pixels are arranged, and when acquiring LV pixels and detecting flicker, charge accumulation and reading are not performed for thinning pixels. As a result, not only power consumption can be reduced at the time of flicker detection, but also image processing time can be shortened.

なお、LV用画素についてはLV用画像が適正な露出になるように定められた蓄積条件で電荷蓄積および読み出しが行われる。また、後述するように、フリッカー検知用画素A〜Cについては、同一の蓄積条件においてサンプリング周期を600Hzとして電荷蓄積および読み出しを行う。この際、フリッカー検知用画素A〜Cについてそれぞれ位相をずらして電荷蓄積が行われる。   In addition, with respect to the LV pixels, charge accumulation and reading are performed under the accumulation condition that is determined so that the LV image is properly exposed. Further, as will be described later, the flicker detection pixels A to C perform charge accumulation and readout under the same accumulation condition with a sampling cycle of 600 Hz. At this time, charge accumulation is performed by shifting the phases of the flicker detection pixels A to C.

再び図2を参照して、カメラマイコン101は、ステップS107で取得したLV用画像を表示装置114に表示するとともに、ICPU112によって被写体の測光、次のLV用蓄積、そして、フリッカー検知用蓄積のための蓄積条件を求める(ステップS108)。そして、カメラマイコン101は、後述するようにして、ステップS107で取得したフリッカー検知用画素を用いて、フリッカーの周期および位相を求める(ステップS109)。   Referring again to FIG. 2, the camera microcomputer 101 displays the LV image acquired in step S107 on the display device 114, and uses the ICPU 112 to measure the subject, store the next LV, and store for flicker detection. The storage condition of is calculated (step S108). Then, the camera microcomputer 101 obtains the flicker period and phase using the flicker detection pixels acquired in step S107, as will be described later (step S109).

続いて、カメラマイコン101は、シャッターボタンの全押しによって第2のシャッタースイッチSW2がオンとなったか否かを判定する(ステップS110)。第2のシャッタースイッチSW2がオフであると(ステップS110において、NO)、カメラマイコン101はステップS105の処理に戻る。   Subsequently, the camera microcomputer 101 determines whether or not the second shutter switch SW2 is turned on by fully pressing the shutter button (step S110). If the second shutter switch SW2 is off (NO in step S110), the camera microcomputer 101 returns to the process of step S105.

一方、第2のシャッタースイッチSW2がオンとなると(ステップS110において、YES)、カメラマイコン101は、ステップS109で求めたフリッカーの周期および位相に基づいて、フリッカーの影響を低減するフリッカー低減撮影を行う(ステップS111)。例えば、フリッカー低減撮影においては、カメラマイコン101は、フリッカーの周期および位相に基づいてフリッカーのピークタイミングを求める。そして、カメラマイコン101は当該ピークタイミングに合わせてシャッターを駆動して撮影を行い、撮影画像(本画像)を得る。   On the other hand, when the second shutter switch SW2 is turned on (YES in step S110), the camera microcomputer 101 performs flicker reduction shooting that reduces the influence of flicker based on the flicker cycle and phase obtained in step S109. (Step S111). For example, in flicker reduction shooting, the camera microcomputer 101 obtains the flicker peak timing based on the flicker cycle and phase. Then, the camera microcomputer 101 drives the shutter in synchronization with the peak timing to perform shooting, and obtains a shot image (main image).

このように、フリッカーのピークにタイミングを合わせて撮影を行えば、フリッカー光源の光量変化が最も小さいタイミングで露光(撮影)を行うことができる。その結果、輝度ムラを低減させることができる。なお、本画像の撮影にあっては、前述のように、撮像素子103の全ての画素(間引き画素を含む)において電荷の蓄積が行われる。   In this way, if the photographing is performed in synchronization with the flicker peak, the exposure (photographing) can be performed at the timing when the change in the light amount of the flicker light source is the smallest. As a result, uneven brightness can be reduced. In capturing the main image, as described above, charges are accumulated in all the pixels (including the thinned pixels) of the image sensor 103.

その後、カメラマイコン101は本画像をメモリ102に保存する(ステップS112)。そして、カメラマイコン101は本画像を表示装置114にクイックレビュー表示して(ステップS113)、ステップS103の処理に戻る。   After that, the camera microcomputer 101 stores the main image in the memory 102 (step S112). Then, the camera microcomputer 101 displays the main image on the display device 114 as a quick review (step S113), and returns to the process of step S103.

図4は、比較のために従来のフリッカー検知を説明するための図である。図5は、本実施形態のカメラで行われるフリッカー検知の一例を説明するための図である。   FIG. 4 is a diagram for explaining conventional flicker detection for comparison. FIG. 5 is a diagram for explaining an example of flicker detection performed by the camera of this embodiment.

図4を参照して、従来のフリッカー検知においては、例えば、周期1.66msの間隔で蓄積および読み出しが繰り返される。この場合、LED光源のようなフリッカー光源においてはフリッカーの検知精度が低くなってしまう。つまり、LED光源のように消灯時間が点灯時間に比べて長い光源の場合に、フリッカー検知を行おうとすると、図4に示すように、光源の点灯における測光値は2点に存在するのみである。このように、従来のフリッカー検知では、LED光源のようなフリッカー光源のフリッカーの検知を精度よく行うためのサンプリング数が少なく、精度よくフリッカー検知を行うことができない。   Referring to FIG. 4, in the conventional flicker detection, for example, accumulation and reading are repeated at intervals of 1.66 ms. In this case, a flicker light source such as an LED light source has a low flicker detection accuracy. That is, in the case of a light source such as an LED light source in which the turn-off time is longer than the turn-on time, when flicker detection is attempted, as shown in FIG. 4, there are only two photometric values in turning on the light source. . As described above, in the conventional flicker detection, the number of samplings for accurately detecting the flicker of the flicker light source such as the LED light source is small, and the flicker detection cannot be performed accurately.

一方、本実施形態のカメラでは、3群のフリッカー検知用画素A〜Cを用いて、蓄積のタイミングをずらして、例えば、蓄積時間が1.66msの場合においてサンプリング数を増加させる。   On the other hand, in the camera of this embodiment, the flicker detection pixels A to C of the third group are used to shift the accumulation timing, and increase the sampling number when the accumulation time is 1.66 ms, for example.

図5を参照して、ここでは、ICPU112から出力される蓄積開始信号A〜Cによってフリッカー検知用画素A〜Cにおける蓄積タイミングを所定の位相(ずらし時間:例えば、0.553ms)ずらす。蓄積タイミングのずらし時間である0.553msは、蓄積時間1.66msをフリッカー検知用画素群の数3で除算した時間である。   Referring to FIG. 5, here, the storage timings in the flicker detection pixels A to C are shifted by a predetermined phase (shift time: for example, 0.553 ms) by the storage start signals A to C output from the ICPU 112. The storage timing shift time of 0.553 ms is the storage time of 1.66 ms divided by the number 3 of the flicker detection pixel group.

いま、フリッカー検知用画素A〜Cで得られた画像(つまり、測光値)をそれぞれ「AEa」、「AEb」、および「AEc」とする。そして、n回目(nは2以上の整数)の蓄積および読み出しをそれぞれ「AEa(n)」、「AEb(n)」、および「AEc(n)」とする。   Now, let us say that the images (that is, photometric values) obtained by the flicker detection pixels A to C are “AEa”, “AEb”, and “AEc”, respectively. Then, the n-th time (n is an integer of 2 or more) accumulation and reading are referred to as “AEa(n)”, “AEb(n)”, and “AEc(n)”, respectively.

測光値AEa、AEb、およびAEcの各々は時間1.66msの間隔で得られた測光値であるが、その蓄積開始タイミングは0.553msずれている。このため、AEa(1)、AEb(1)、AEc(1)、AEa(2)、AEb(2)、AEc(2)、AEa(3)・・・の順に測光値を並べると、時間0.553msの間隔で測光値を得たことになる。   Each of the photometric values AEa, AEb, and AEc is a photometric value obtained at an interval of 1.66 ms, but the accumulation start timing is shifted by 0.553 ms. Therefore, when the photometric values are arranged in the order of AEa(1), AEb(1), AEc(1), AEa(2), AEb(2), AEc(2), AEa(3)... This means that photometric values were obtained at intervals of 0.553 ms.

フリッカー検知用画素群の数(分割数)は、撮像素子103の画素数の範囲で増やすことができ、フリッカー検知用画素群の数を増やす程サンプリング数は増えることになる。なお、被写体の輝度に応じて分割数を決定するようにしてもよい。この場合、被写体の輝度が明るい場合にはフリッカー検知用画素の蓄積時間を短くすることができるので、分割数は少なくてもサンプリング数を増やすことができる。   The number of flicker detection pixel groups (the number of divisions) can be increased within the range of the number of pixels of the image sensor 103, and the sampling number increases as the number of flicker detection pixel groups increases. The number of divisions may be determined according to the brightness of the subject. In this case, when the brightness of the subject is bright, the accumulation time of the flicker detection pixels can be shortened, so that the number of samplings can be increased even if the number of divisions is small.

図6は、図1に示すカメラにおいてフリッカー検知用の蓄積時間とフリッカー検知用画素の分割数との関係を示す図である。   FIG. 6 is a diagram showing the relationship between the accumulation time for flicker detection and the number of divisions of flicker detection pixels in the camera shown in FIG.

カメラマイコン101は被写体の測光値に基づいてフリッカー検知用蓄積に関する蓄積時間を求める。図示の例では、フリッカー1周期のサンプリング数を少なくとも18点、つまり、0.553ms間隔のサンプリング周期にするための分割数が示されている。そして、カメラマイコン101は、蓄積時間÷分割数が必要なサンプリング間隔以下になるように分割数を設定する。これによって、被写体の輝度が明るい時はフリッカー検知用蓄積に用いる画素数を少なくして消費電力を削減することができる。また、被写体輝度が低い時は画素数を多くして(つまり、蓄積時間を長くして)精度よく測光を行うことができる。   The camera microcomputer 101 obtains the accumulation time for the flicker detection accumulation based on the photometric value of the subject. In the illustrated example, the number of divisions for making the sampling number of one flicker period at least 18 points, that is, the sampling period of 0.553 ms interval is shown. Then, the camera microcomputer 101 sets the division number so that the accumulation time divided by the division number is equal to or less than the required sampling interval. This makes it possible to reduce the power consumption by reducing the number of pixels used for the flicker detection accumulation when the brightness of the subject is bright. Further, when the subject brightness is low, the number of pixels can be increased (that is, the accumulation time can be increased) to perform accurate photometry.

再び、図5を参照して、ここでは、商用電源の周波数が50Hzである場合の電荷蓄積制御および測光値の推移が示されている。商用電源の周波数が50Hzである場合には、フリッカーの周期(発光周期)は約10msであり、蓄積時間を1.66msとすると、10÷1.66≒6となる。つまり、電荷蓄積のタイミングに拘わらず、蓄積時間を1.66msとして6周期で同一の測光値を得ることができる。言い換えると、AEx(n)=AEx(n+6)の関係となる(但し、x=a、b、又はc)。   Referring again to FIG. 5, here, the transition of the charge accumulation control and the photometric value when the frequency of the commercial power supply is 50 Hz is shown. When the frequency of the commercial power source is 50 Hz, the flicker cycle (light emission cycle) is about 10 ms, and when the accumulation time is 1.66 ms, 10÷1.66≈6. That is, regardless of the charge accumulation timing, the same photometric value can be obtained in 6 cycles with the accumulation time of 1.66 ms. In other words, there is a relationship of AEx(n)=AEx(n+6) (where x=a, b, or c).

図7は、図1に示すカメラで行われるフリッカー検知の他の例を説明するための図である。   FIG. 7 is a diagram for explaining another example of flicker detection performed by the camera shown in FIG.

図7においては、商用電源の周波数が60Hzである場合の電荷蓄積制御および測光値の推移が示されている。商用電源の周波数が60Hzである場合には、フリッカーの周期(発光周期)は約8.33msであり、蓄積時間を1.66msとすると、8.33÷1.66≒5となる。つまり、電荷蓄積のタイミングに拘わらず、蓄積時間を1.66msとして5周期で同一の測光値を得ることができる。言い換えると、AEx(n)=AEx(n+5)の関係となる。   FIG. 7 shows changes in the charge accumulation control and the photometric value when the frequency of the commercial power source is 60 Hz. When the frequency of the commercial power source is 60 Hz, the flicker cycle (light emission cycle) is about 8.33 ms, and when the accumulation time is 1.66 ms, it becomes 8.33÷1.66≈5. That is, regardless of the charge accumulation timing, the same photometric value can be obtained in 5 cycles with the accumulation time set to 1.66 ms. In other words, the relationship is AEx(n)=AEx(n+5).

ところで、フリッカーが存在しない撮影環境においては、測光値AE(n)は、nに拘わらず常に一定である。いま、電源周波数50Hzにおける評価値をF50とし、電源周波数60Hzにおける評価値をF60として、評価値F50およびF60をそれぞれ式(1)および式(2)で定義する。   By the way, in a shooting environment in which no flicker exists, the photometric value AE(n) is always constant regardless of n. Now, assuming that the evaluation value at the power supply frequency of 50 Hz is F50 and the evaluation value at the power supply frequency of 60 Hz is F60, the evaluation values F50 and F60 are defined by the equations (1) and (2), respectively.

所定の閾値をF_thとして、次の関係に応じてカメラマイコン101はフリッカーが存在する撮影環境であるか否かを判定する。   With a predetermined threshold value as F_th, the camera microcomputer 101 determines whether or not the flicker exists in the shooting environment according to the following relationship.

F50<F_thで、かつF60<F_thであると、カメラマイコン101はフリッカーなしと判定する。F50<F_thで、かつF60≧F_thであると、カメラマイコン101は発光周期が10ms(つまり、商用電源周波数50Hz)のフリッカーが存在すると判定する。また、F50≧F_thで、かつF60<F_thであると、カメラマイコン101は発光周期が8.33ms(つまり、商用電源周波数60Hz)のフリッカーが存在すると判定する。   When F50<F_th and F60<F_th, the camera microcomputer 101 determines that there is no flicker. When F50<F_th and F60≧F_th, the camera microcomputer 101 determines that there is a flicker with a light emission cycle of 10 ms (that is, a commercial power supply frequency of 50 Hz). If F50≧F_th and F60<F_th, the camera microcomputer 101 determines that there is a flicker with a light emission period of 8.33 ms (that is, a commercial power frequency of 60 Hz).

さらに、F50≧F_thで、かつF60≧F_thである場合に、F50≦F60であると、カメラマイコン101は発光周期が10msのフリッカーが存在すると判定する。そして、F50≧F_thで、かつF60≧F_thである場合に、F50>F60であると、カメラマイコン101は発光周期が8.33msのフリッカーが存在すると判定する。   Further, when F50≧F_th and F60≧F_th, if F50≦F60, the camera microcomputer 101 determines that there is a flicker with a light emission cycle of 10 ms. If F50≧F_th and F60≧F_th, and F50>F60, the camera microcomputer 101 determines that there is a flicker with a light emission period of 8.33 ms.

なお、上述の例では、フリッカー検知用画素A〜Cを用いてフリッカー周期の検知を行ったが、処理を簡素化するため、フリッカー検知用画素Aのみを用いてフリッカー周期の検知を行うようにしてもよい。   In the above example, the flicker period is detected using the flicker detection pixels A to C. However, in order to simplify the process, the flicker period is detected using only the flicker detection pixel A. You may.

図8は、図1に示すカメラで行われるフリッカー位相(ピーク時間)の算出を説明するための図である。   FIG. 8 is a diagram for explaining calculation of a flicker phase (peak time) performed by the camera shown in FIG.

図8においては、商用電源周波数が60Hzのフリッカー光源に対するフリッカー位相の検知例が示されており、ここでは、フリッカー1周期分の測光値において最大の測光値(AE)および当該測光値の両隣に位置する測光値の3つの測光値を用いて、二次関数近似によってピーク時間t_peakを求める。   FIG. 8 shows an example of detection of a flicker phase for a flicker light source with a commercial power frequency of 60 Hz. The peak time t_peak is obtained by quadratic function approximation using the three photometric values of the located photometric values.

図示の例では、最大の測光値はAEb(3)であり、その両隣の測光値AEa(3)およびAEc(3)と測光値AEb(3)を用いて二次関数近似によってピーク時間t_peakを求める。なお、ここでは、ピーク時間t_peakを求める際に、二次関数近似を用いたが、他の手法を用いるようにしてもよい。   In the illustrated example, the maximum photometric value is AEb(3), and the peak time t_peak is calculated by a quadratic function approximation using the photometric values AEa(3) and AEc(3) on both sides thereof and the photometric value AEb(3). Ask. Although the quadratic function approximation is used here when the peak time t_peak is obtained, another method may be used.

このように、本発明の実施の形態では、被写体の輝度が低い場合であっても、サンプリング周期を短くしてフリッカー検知用蓄積時間を確保するようにしたので、フリッカーの周期および位相を精度よく検知することができる。つまり、サンプリング周期を短くしてフリッカー検知を精度よく行うことができる結果、低輝度で被写体の測光を行うことができる。   As described above, in the embodiment of the present invention, even when the brightness of the subject is low, the sampling period is shortened to secure the flicker detection storage time. Can be detected. That is, the sampling period can be shortened and flicker detection can be performed accurately, and as a result, photometry of a subject can be performed with low brightness.

上述の説明から明らかなように、図1に示す例では、カメラマイコン101およびICPU112が読み出し手段、演算手段、および撮影制御手段として機能する。   As is clear from the above description, in the example shown in FIG. 1, the camera microcomputer 101 and the ICPU 112 function as a reading unit, a calculating unit, and a photographing control unit.

以上、本発明について実施の形態に基づいて説明したが、本発明は、これらの実施の形態に限定されるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。   Although the present invention has been described above based on the embodiments, the present invention is not limited to these embodiments, and various embodiments within the scope not departing from the gist of the present invention are also included in the present invention. ..

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

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

101 カメラマイコン(CPU)
103 撮像素子
104 シャッター
105 ハーフミラー
107 表示素子
108 測光センサ(AE)
110 焦点検出回路(AF)
112 ICPU
114 表示装置
201 レンズマイコン(LCPU)
101 camera microcomputer (CPU)
103 image sensor 104 shutter 105 half mirror 107 display element 108 photometric sensor (AE)
110 Focus detection circuit (AF)
112 ICPU
114 display device 201 lens microcomputer (LCPU)

Claims (11)

2次元マトリックス状に配列された複数の画素を備える撮像素子を有する撮像装置であって、
前記撮像素子における所定の複数のラインを撮影環境におけるフリッカーを検知するためのフリッカー検知用のラインとし前記撮像素子の駆動を制御する制御手段と、
前記フリッカー検知用の前記複数のラインの出力に応じて前記フリッカーの周期およびピークタイミングを求める演算手段と、
を有し、
前記フリッカー検知用の複数のラインは、少なくとも2つ以上の群を備え、
前記制御手段は、前記フリッカー検知用の複数ラインの前記2つ以上の群で、電荷の蓄積を開始するタイミングを第1の間隔だけ異ならせるように制御し、
前記第1の間隔は、所定の周期を、前記2つ以上の群の数で除算した時間であることを特徴とする撮像装置。
An image pickup apparatus having an image pickup device having a plurality of pixels arranged in a two-dimensional matrix,
A predetermined plurality of lines in the image pickup device as flicker detection lines for detecting flicker in a shooting environment, and control means for controlling driving of the image pickup device ;
Calculating means for obtaining the period and peak timing of the flicker according to the output of the plurality of lines for flicker detection ;
Have a,
The plurality of lines for flicker detection includes at least two or more groups,
The control unit controls the two or more groups of the plurality of lines for flicker detection so that the timing of starting the charge accumulation is different by a first interval,
The imaging apparatus, wherein the first interval is a time obtained by dividing a predetermined cycle by the number of the two or more groups .
前記撮像素子は、被写体を撮影する際に用いられ、前記複数の画素のうち前記フリッカー検知用の前記複数のラインを除く他の画素はライブビュー用の画素又は間引き用の画素として用いられることを特徴とする請求項に記載の撮像装置。 The image sensor is used when photographing an object, and other pixels of the plurality of pixels except for the plurality of lines for flicker detection are used as live view pixels or pixels for thinning out. The image pickup apparatus according to claim 1 , wherein the image pickup apparatus is provided. 前記制御手段は、前記被写体を撮像して撮影画像を取得する際、前記フリッカー検知用の前記複数のライン、前記ライブビュー用の画素で形成されたライブビュー用のライン、および前記間引き用の画素で形成された間引きラインの全ての出力を用いて前記撮影画像を得るように前記撮像素子の駆動を制御することを特徴とする請求項に記載の撮像装置。 Wherein, when obtaining the captured image by imaging the object, wherein the plurality of lines for the flicker detection, the line for live view live view formed by pixels for, and for the thinning-out the imaging apparatus according to claim 2, characterized in that for controlling the drive of the imaging device to obtain the captured image using all of the output of the decimation lines formed by pixels. 前記撮像素子は被写体の輝度を測光するための測光センサに備えられていることを特徴とする請求項1に記載の撮像装置。 The image pickup apparatus according to claim 1, wherein the image pickup element is provided in a photometric sensor for measuring the brightness of a subject. 前記フリッカー検知の際の電荷の蓄積時間から前記2つ以上の群の数を除算した値が、前記第1の間隔以下となるように、前記2つ以上の群の数を設定する設定手段を有することを特徴とする請求項1乃至のいずれか1項に記載の撮像装置。 Setting a value obtained by dividing the number of the two or more groups from the storage time between charges upon detection of the flicker, to be equal to or less than the first interval, for setting the number of the two or more groups of the imaging apparatus according to any one of claims 1 to 4, characterized in that it has means. 前記制御手段は、前記撮像素子の前記2つ以上の群のそれぞれについて、同一の蓄積条件で電荷の蓄積および読み出しを行うように制御することを特徴とする請求項1乃至のいずれか1項に記載の撮像装置。 Wherein, for each of the two or more groups of the imaging device, any one of claims 1 to 5, wherein the controller controls so as to accumulate and read the charge in the same storage conditions The imaging device according to. 前記所定の周期は、前記フリッカー検知用の各ラインにおける電荷の蓄積を開始する間隔であって、異なるフリッカー周期の公倍数であることを特徴とする請求項1乃至6のいずれか1項に記載の撮像装置。  7. The predetermined period is an interval at which charge accumulation in each line for flicker detection is started, and is a common multiple of different flicker periods. Imaging device. 前記所定の周期は、略1.66msであることを特徴とする請求項7に記載の撮像装置。  The image pickup apparatus according to claim 7, wherein the predetermined cycle is approximately 1.66 ms. 前記演算手段は、前記前記フリッカー検知用の前記複数のラインから出力された時間的に連続する出力に基づいて、前記フリッカーの周期およびピークタイミングを求めることを特徴とする請求項1乃至8のいずれか1項に記載の撮像装置。  9. The calculation unit obtains the flicker cycle and peak timing based on temporally continuous outputs output from the plurality of lines for detecting the flicker, according to any one of claims 1 to 8. The image pickup device according to item 1. 2次元マトリックス状に配列された複数の画素を備える撮像素子を有する撮像装置の制御方法であって、
前記撮像素子における、所定の複数のラインを撮影環境におけるフリッカーを検知するためのフリッカー検知用のラインとし、前記撮像素子の駆動を制御する制御ステップと、
前記フリッカー検知用のラインの出力に応じて前記フリッカーの周期およびピークタイミングを求める演算ステップと、
を有し、
前記フリッカー検知用の複数のラインは、少なくとも2つ以上の群を備え、
前記制御ステップでは、前記フリッカー検知用の複数ラインの前記2つ以上の群で、電荷の蓄積を開始するタイミングを第1の間隔だけ異ならせるように制御し、
前記第1の間隔は、所定の周期を、前記2つ以上の群の数で除算した時間であることを特徴とする撮像装置の制御方法。
A method for controlling an imaging device that have the image pickup device comprising a plurality of pixels arranged in a two-dimensional matrix,
In the image sensor, a predetermined plurality of lines are flicker detection lines for detecting flicker in a shooting environment, and a control step of controlling driving of the image sensor ,
A calculation step of obtaining a cycle and a peak timing of the flicker according to the output of the line for detecting the flicker ,
Have a,
The plurality of lines for flicker detection includes at least two or more groups,
In the control step, in the two or more groups of the plurality of lines for flicker detection, control is performed such that the timing of starting charge accumulation is different by a first interval,
The said 1st space|interval is the time which divided a predetermined period by the number of the said 2 or more groups, The control method of the imaging device characterized by the above-mentioned .
2次元マトリックス状に配列された複数の画素を備える撮像素子を有する撮像装置で用いられる制御プログラムであって、
前記撮像素子における、所定の複数のラインを撮影環境におけるフリッカーを検知するためのフリッカー検知用のラインとし、
前記撮像装置が備えるコンピュータに、
前記撮像素子の駆動を制御する制御ステップと、
前記フリッカー検知用のラインの出力に応じて前記フリッカーの周期およびピークタイミングを求める演算ステップと、
を実行させ
前記フリッカー検知用の複数のラインは、少なくとも2つ以上の群を備え、
前記制御ステップでは、前記フリッカー検知用の複数ラインの前記2つ以上の群で、電荷の蓄積を開始するタイミングを第1の間隔だけ異ならせるように制御し、
前記第1の間隔は、所定の周期を、前記2つ以上の群の数で除算した時間であることを特徴とする制御プログラム。
A control program used in an imaging device that have the image pickup device comprising a plurality of pixels arranged in a two-dimensional matrix,
In the image sensor, a predetermined plurality of lines are used as flicker detection lines for detecting flicker in a shooting environment,
In the computer included in the imaging device,
A control step of controlling the driving of the image sensor ,
A calculation step of obtaining the period and peak timing of the flicker according to the output of the line for flicker detection ,
Was executed,
The plurality of lines for flicker detection includes at least two or more groups,
In the control step, in the two or more groups of the plurality of lines for flicker detection, control is performed such that the timing of starting charge accumulation is different by a first interval,
The control program, wherein the first interval is a time obtained by dividing a predetermined cycle by the number of the two or more groups .
JP2015242167A 2015-12-11 2015-12-11 Imaging device, control method thereof, and control program Expired - Fee Related JP6700763B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015242167A JP6700763B2 (en) 2015-12-11 2015-12-11 Imaging device, control method thereof, and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015242167A JP6700763B2 (en) 2015-12-11 2015-12-11 Imaging device, control method thereof, and control program

Publications (2)

Publication Number Publication Date
JP2017108336A JP2017108336A (en) 2017-06-15
JP6700763B2 true JP6700763B2 (en) 2020-05-27

Family

ID=59061072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015242167A Expired - Fee Related JP6700763B2 (en) 2015-12-11 2015-12-11 Imaging device, control method thereof, and control program

Country Status (1)

Country Link
JP (1) JP6700763B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6884064B2 (en) * 2017-07-26 2021-06-09 キヤノン株式会社 Imaging device and its control method, program, storage medium
CN112771847A (en) 2018-09-27 2021-05-07 富士胶片株式会社 Imaging element, imaging device, image data processing method, and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3522674B2 (en) * 2000-09-08 2004-04-26 三菱電機株式会社 Imaging device and automatic level adjustment method
KR100574890B1 (en) * 2004-04-27 2006-04-27 매그나칩 반도체 유한회사 Image sensor and method for detection of flicker noise of the same
JP4377840B2 (en) * 2005-03-31 2009-12-02 イーストマン コダック カンパニー Digital camera
JP6312524B2 (en) * 2014-05-20 2018-04-18 キヤノン株式会社 Imaging apparatus, control method, program, and storage medium
JP2015126421A (en) * 2013-12-26 2015-07-06 キヤノン株式会社 Imaging apparatus

Also Published As

Publication number Publication date
JP2017108336A (en) 2017-06-15

Similar Documents

Publication Publication Date Title
US9854178B2 (en) Image pickup apparatus with flicker detection and having plurality of unit pixel areas, control method therefor, and storage medium
JP6405243B2 (en) Focus detection apparatus and control method thereof
JP6220225B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM
CN101534396A (en) Digital imaging apparatus enabled to control flash light intensity and method of controlling the digital imaging apparatus
JP2013054135A (en) Imaging device and control method thereof
JP6460829B2 (en) IMAGING DEVICE, ELECTRONIC DEVICE, AND METHOD FOR CALCULATION OF LIGHT CHANGE CHARACTERISTICS
JP6614853B2 (en) Imaging device, control method thereof, and control program
JP2018107705A (en) Imaging apparatus, control method and program and recording medium for the imaging apparatus
JP2014048329A (en) Imaging device
JP6700763B2 (en) Imaging device, control method thereof, and control program
JP2017118342A (en) Imaging apparatus
US11277570B2 (en) Imaging element, imaging apparatus, image data processing method, and program
JP6541312B2 (en) Image pickup apparatus and control method thereof
JP6611559B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2001230966A (en) Electronic camera
JP5961058B2 (en) Imaging apparatus and control method thereof, image processing apparatus and control method thereof
JP2013041002A (en) Camera
JP2016092786A (en) Imaging apparatus
JP2020057974A (en) Imaging apparatus, method for controlling the same, and program
JP6700747B2 (en) Imaging device, control method thereof, and control program
JP2020072392A (en) Imaging apparatus, control method of imaging apparatus, and program
JP6391319B2 (en) Imaging device, control method thereof, and control program
JP2019022023A (en) Imaging apparatus and control method of the same
JP2017098777A (en) Imaging apparatus and control method, and program thereof
JP2015126421A (en) Imaging apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181119

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190906

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190924

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191122

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200501

R151 Written notification of patent or utility model registration

Ref document number: 6700763

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees