JP2016134909A - Imaging apparatus and control method therefor - Google Patents

Imaging apparatus and control method therefor Download PDF

Info

Publication number
JP2016134909A
JP2016134909A JP2015010677A JP2015010677A JP2016134909A JP 2016134909 A JP2016134909 A JP 2016134909A JP 2015010677 A JP2015010677 A JP 2015010677A JP 2015010677 A JP2015010677 A JP 2015010677A JP 2016134909 A JP2016134909 A JP 2016134909A
Authority
JP
Japan
Prior art keywords
value
signal
analog
filtering process
detection value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015010677A
Other languages
Japanese (ja)
Other versions
JP6494301B2 (en
JP2016134909A5 (en
Inventor
木村 孝行
Takayuki Kimura
孝行 木村
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 JP2015010677A priority Critical patent/JP6494301B2/en
Priority to US15/001,944 priority patent/US9736406B2/en
Priority to CN201610044460.3A priority patent/CN105828003B/en
Publication of JP2016134909A publication Critical patent/JP2016134909A/en
Publication of JP2016134909A5 publication Critical patent/JP2016134909A5/ja
Application granted granted Critical
Publication of JP6494301B2 publication Critical patent/JP6494301B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transforming Light Signals Into Electric Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an imaging apparatus which prevents a phenomenon that a difference of a signal level is generated or a level of the difference is changed between frames or between regions within a screen, and a control method therefor.SOLUTION: The imaging apparatus comprises: analog/digital conversion means 150 which uses a plurality of reference signals having inclinations that are different from each other; a constant voltage circuit 400 which supplies a plurality of analog signals at different output levels to the analog/digital conversion means; and a signal processing circuit 170 which performs filtering processing on a detection value that is obtained by converting the plurality of analog signals with the plurality of reference signals, for weighting and adding a detection value before the filtering processing and a detection value after the filtering processing in a previous frame by a cyclic coefficient, and calculates for each frame a correction coefficient for correcting a digital signal that is obtained by converting an analog signal outputted from a pixel part of an imaging element by the analog/digital conversion means based on the detection value after the filtering processing.SELECTED DRAWING: Figure 1

Description

本発明は、撮像装置及びその制御方法に関し、特に、撮像素子から読み出したアナログ信号をデジタル信号に変換する撮像装置及びその制御方法に関する。   The present invention relates to an imaging device and a control method thereof, and more particularly, to an imaging device that converts an analog signal read from an imaging device into a digital signal and a control method thereof.

従来、テレビジョンの規格として、水平1920画素、垂直1080画素のフルハイビジョンと呼ばれる規格が一般的によく用いられていた。しかし近年では、水平3840画素、垂直2160画素の4K2Kと呼ばれるテレビジョン規格への移行が進んできている。さらに今後、水平7680画素、垂直4320画素の8K4K(スーパーハイビジョン)と呼ばれる、次世代テレビジョン規格への移行が予定されている。また、多画素化と共に、フレームレートにおいても高速化の一途を辿っている。   Conventionally, as a standard of television, a standard called full high-definition having horizontal 1920 pixels and vertical 1080 pixels has been generally used. However, in recent years, a shift to a television standard called 4K2K having horizontal 3840 pixels and vertical 2160 pixels is progressing. In the future, a transition to a next-generation television standard called 8K4K (Super Hi-Vision) with horizontal 7680 pixels and vertical 4320 pixels is scheduled. In addition, with the increase in the number of pixels, the frame rate has been steadily increasing.

このようなテレビジョン規格の移行に伴い、テレビジョン映像を撮影する撮像装置に対して多画素化・高フレームレート化が要求されており、これを満足するために、撮像素子が映像を読み出す速度を高速化していくことが一つの課題となっている。読み出し速度を高速化するためには、撮像素子が有するAD変換器の処理速度を高速化することが必要不可欠であり、AD変換器の高速化に関する様々な技術が提案されている。   Accompanying such a shift in the television standard, imaging devices that shoot television images are required to have a larger number of pixels and a higher frame rate. One issue is to increase the speed. In order to increase the reading speed, it is indispensable to increase the processing speed of the AD converter included in the image sensor, and various techniques for increasing the speed of the AD converter have been proposed.

また、読み出し速度の高速化に加え、S/N比の改善とダイナミックレンジの拡大を目的とした、階調精度の向上に対する要求も高い。そのため、回路規模が増大したり、処理時間が延びるようなこと無く階調精度を向上させることが、今後の画像性能を向上させる上で、重要な課題となっている。   In addition to increasing the reading speed, there is a high demand for improvement in gradation accuracy for the purpose of improving the S / N ratio and expanding the dynamic range. Therefore, improving the gradation accuracy without increasing the circuit scale or extending the processing time is an important issue in improving future image performance.

このような課題に対し、特許文献1では、次のような構成を有する撮像装置を開示している。すなわち、撮像素子内にある列アンプ回路を用いて、画素信号を第1のゲインで増幅した第1の画素信号と、第1のゲインより大きい第2のゲインで増幅した第2の画素信号とを、それぞれ異なるADコンバータ回路を用いてアナログデジタル(AD)変換する。そして、画素信号のレベルに応じて、AD変換後の第1の画素信号と第2の画素信号のうち、いずれか一方を選択的に出力させる。このような構成にすることで、ダイナミックレンジの拡大と、S/N比の改善を実現することが可能となる。   For such a problem, Patent Document 1 discloses an imaging apparatus having the following configuration. That is, using a column amplifier circuit in the image sensor, a first pixel signal obtained by amplifying a pixel signal with a first gain, and a second pixel signal obtained by amplifying with a second gain greater than the first gain Are subjected to analog-digital (AD) conversion using different AD converter circuits. Then, either one of the first pixel signal and the second pixel signal after AD conversion is selectively output according to the level of the pixel signal. With such a configuration, it is possible to increase the dynamic range and improve the S / N ratio.

更に、特許文献1では、選択的に読み出した第1の画素信号と第2の画素信号を同じゲインレベルにレベルシフトした後に、ゲイン誤差もしくはオフセット誤差を検出し、この検出値に基づいて画素信号を補正する技術についても提案している。このような処理を行うことで、選択的に読み出した第1の画素信号と第2の画素信号とから1枚の画像を合成した際に生じる、信号レベルの段差を低減させることができる。   Furthermore, in Patent Document 1, the first pixel signal and the second pixel signal that are selectively read out are level-shifted to the same gain level, and then a gain error or an offset error is detected. Based on this detection value, the pixel signal is detected. We are also proposing a technique to correct this. By performing such processing, it is possible to reduce the level difference of the signal level that occurs when one image is synthesized from the first pixel signal and the second pixel signal that are selectively read out.

特開2012−080252号公報JP2012-080252A

しかしながら、特許文献1では、ゲイン誤差、及びオフセット誤差を算出するための検出値の時間的なばらつき(変動)については考慮されていない。検出値が変動する主な要因としては、急激な温度変化、撮像素子の駆動方法の切替え、列アンプに供給している電源のノイズ、配線ノイズ、外乱ノイズ(例えば、モーター駆動等で発生する磁気ノイズの飛び込み)などがある。検出値が変動した状態でゲイン誤差、及びオフセット誤差を算出し、その算出値を用いて有効画素の補正を行うと、特許文献1に開示されているように第1の画素信号及び第2の画素信号とから1枚の画像を合成した場合、信号レベルの段差が見えてしまう。   However, Patent Document 1 does not consider temporal variations (variations) in detection values for calculating gain errors and offset errors. The main factors that fluctuate the detection value are abrupt temperature changes, switching of the image sensor driving method, power supply noise supplied to the column amplifier, wiring noise, disturbance noise (for example, magnetism generated by motor drive etc. Noise). When the gain error and the offset error are calculated in a state where the detection value fluctuates, and the effective pixel is corrected using the calculated value, the first pixel signal and the second error signal are disclosed as disclosed in Patent Document 1. When one image is synthesized from the pixel signal, a step in the signal level is visible.

例えば、フレーム毎に補正値を算出し、更新していくような補正方法を用いた場合、信号レベルの段差が発生するフレームと、信号レベルの段差が発生しないフレームが存在すると、見た目上違和感のある映像となってしまう。   For example, when a correction method that calculates and updates correction values for each frame is used, if there are frames in which signal level differences occur and frames in which signal level differences do not occur, it may seem strange. It becomes a certain image.

また、1フレーム分の画像を分割した領域毎に別々の検出値を取得し、その検出値により算出された補正値を用いて領域毎に補正を行った場合、領域毎に段差が発生する領域と発生しない領域が存在すると、見た目上違和感のある画像となってしまう。特に、被写体のコントラストが低く、徐々に輝度レベルが変化するような映像では、顕著に目立つ。   In addition, when a separate detection value is acquired for each area obtained by dividing an image for one frame and correction is performed for each area using the correction value calculated based on the detection value, an area where a step is generated for each area If there is a region that does not occur, the image looks uncomfortable. This is particularly noticeable in images where the contrast of the subject is low and the luminance level gradually changes.

本発明は上記問題点を鑑みてなされたものであり、フレーム間、もしくは画面内の領域間で、信号レベルの段差が発生したり、段差のレベルが変化するような不自然な映像となることを防ぐことを目的とする。   The present invention has been made in view of the above-described problems, and an unnatural image in which a step in the signal level occurs or the level of the step changes between frames or between regions in the screen. The purpose is to prevent.

上記目的を達成するために、本発明の撮像装置は、互いに異なる傾きを有する複数の参照信号を用いてアナログ信号をデジタル信号に変換するアナログデジタル変換手段と、予め決められた複数の異なる出力レベルのアナログ信号を前記アナログデジタル変換手段に供給する電圧供給手段と、前記複数の異なる出力レベルのアナログ信号を前記複数の参照信号によりそれぞれ変換して得られた検出値に対してフィルタリング処理を行い、該フィルタリング処理後の検出値に基づいて、撮像素子の画素部から出力されるアナログ信号を前記アナログデジタル変換手段により変換して得られるデジタル信号を補正するための補正係数をフレーム毎に算出する算出手段と、を有し、前記フィルタリング処理は、前記フィルタリング処理前の検出値と、前のフレームにおける前記フィルタリング処理後の検出値を、巡回係数により重み付け加算する処理であることを特徴とする。   In order to achieve the above object, an imaging apparatus according to the present invention includes an analog-to-digital conversion unit that converts an analog signal into a digital signal using a plurality of reference signals having different inclinations, and a plurality of predetermined different output levels. A voltage supply means for supplying the analog signal to the analog-digital conversion means, and performing a filtering process on the detection values obtained by converting the analog signals of the plurality of different output levels by the plurality of reference signals, Calculation for calculating a correction coefficient for each frame based on the detection value after the filtering process for correcting the digital signal obtained by converting the analog signal output from the pixel portion of the image sensor by the analog-to-digital converter. And the filtering process includes a detection value before the filtering process, The detection value after the filtering process in the preceding frame, characterized in that it is a process of weighted addition by the cyclic coefficient.

本発明によれば、フレーム間、もしくは画面内の領域間で、信号レベルの段差が発生したり、段差のレベルが変化するような不自然な映像となることを防ぐことができる。   According to the present invention, it is possible to prevent a signal level step from occurring between frames or between regions in a screen or an unnatural image in which the step level changes.

本発明の実施形態における撮像装置で用いられる撮像素子の概略構成を示すブロック図。1 is a block diagram showing a schematic configuration of an image sensor used in an imaging device according to an embodiment of the present invention. 撮像素子の列アンプ群の概略構成及び動作タイミングを示す図。The figure which shows schematic structure and operation | movement timing of the column amplifier group of an image pick-up element. 第1の実施形態におけるAD変換の動作を説明するためのタイミング図。FIG. 5 is a timing chart for explaining an AD conversion operation according to the first embodiment. 信号レベルに応じて傾きの異なるランプ信号を用いる場合の、出力レベルとAD変換結果との関係を示す図。The figure which shows the relationship between an output level and AD conversion result when using the ramp signal from which inclination differs according to a signal level. 第1の実施形態における撮像素子の画素部の構成例を示す図。FIG. 3 is a diagram illustrating a configuration example of a pixel portion of the image sensor according to the first embodiment. 第1の実施形態のダミー画素の読み出し期間における固定電圧V1を第一のランプ信号VRAMP(小)でAD変換処理する場合のタイミング図。FIG. 6 is a timing chart when AD conversion processing is performed on the fixed voltage V1 during the dummy pixel readout period according to the first embodiment using the first ramp signal VRAMP (small). 第1の実施形態のダミー画素の読み出し期間における固定電圧V1を第二のランプ信号VRAMP(大)でAD変換処理する場合のタイミング図。FIG. 5 is a timing chart when AD conversion processing is performed on a fixed voltage V1 during a dummy pixel readout period according to the first embodiment using a second ramp signal VRAMP (large). 第1の実施形態のダミー画素の読み出し期間における固定電圧V2を第一のランプ信号VRAMP(小)でAD変換処理する場合のタイミング図。FIG. 6 is a timing chart when AD conversion processing is performed on a fixed voltage V2 during a dummy pixel readout period according to the first embodiment using a first ramp signal VRAMP (small). 第1の実施形態のダミー画素の読み出し期間における固定電圧V2を第二のランプ信号VRAMP(大)でAD変換処理する場合のタイミング図。FIG. 5 is a timing chart when AD conversion processing is performed on a fixed voltage V2 during a dummy pixel readout period according to the first embodiment using a second ramp signal VRAMP (large). 第1の実施形態における検出値V1Hの変動の一例を示す図。The figure which shows an example of the fluctuation | variation of the detection value V1H in 1st Embodiment. 第1の実施形態における外乱ノイズ発生時における検出値V1Hのフィルタリング処理を説明する図。The figure explaining filtering processing of detection value V1H at the time of disturbance noise generation in a 1st embodiment. 第1の実施形態における電源起動時、及び撮像素子の駆動方法切替え時における巡回係数の設定値を説明する図。FIG. 5 is a diagram for explaining a set value of a cyclic coefficient at the time of power activation in the first embodiment and at the time of switching the image sensor driving method. 第1の実施形態における温度変化に対する巡回係数の設定値を示す図。The figure which shows the setting value of the cyclic coefficient with respect to the temperature change in 1st Embodiment. 第1の実施形態における1フレーム分の画像の輝度分布の例を示す図。The figure which shows the example of the luminance distribution of the image for 1 frame in 1st Embodiment. 第1の実施形態におけるコントラストに応じて巡回係数を決定する場合の重み付け係数と巡回係数を示す図。The figure which shows the weighting coefficient in the case of determining a cyclic coefficient according to the contrast in 1st Embodiment, and a cyclic coefficient. 第1の実施形態におけるフレームレートに応じて巡回係数を決定する場合の巡回係数を示す図。The figure which shows the cyclic coefficient in the case of determining a cyclic coefficient according to the frame rate in 1st Embodiment. 第1の実施形態における検出値の安定度に応じて巡回係数を決定する場合の巡回係数の設定値を示す図。The figure which shows the setting value of the cyclic coefficient in the case of determining a cyclic coefficient according to the stability of the detected value in 1st Embodiment. 第1の実施形態における被写体の動き量に応じて巡回係数を変更する場合の巡回係数に関する図である。It is a figure regarding the cyclic coefficient in the case of changing a cyclic coefficient according to the motion amount of the subject in the first embodiment. 第1の実施形態におけるカラーフィルタの色に応じて巡回係数を変更する場合の巡回係数に関する図。The figure regarding the cyclic coefficient in the case of changing a cyclic coefficient according to the color of the color filter in 1st Embodiment. 第1の実施形態における列アンプのゲイン切替えに応じて基準信号レベルを変更する場合の巡回係数に関する図。The figure regarding the cyclic coefficient in the case of changing a reference signal level according to the gain switching of the column amplifier in 1st Embodiment. 本発明の撮像素子における領域ごとにオフセット補正値を算出する場合の説明図。Explanatory drawing in the case of calculating an offset correction value for every area | region in the image pick-up element of this invention.

以下、添付図面を参照して本発明を実施するための形態を詳細に説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the accompanying drawings.

<第1の実施形態>
図1は、本発明の第1の実施形態における撮像装置で用いられる撮像素子1の構成を示すブロック図であり、撮像素子1と、撮像素子1により得られた画像データの出力先である画像処理部2とを示している。第1の実施形態における撮像素子1は、並列型AD変換器を実装したCMOSイメージセンサである。画像処理部2は、撮像素子1が出力する画像データに対し、ホワイトバランス処理や、ガンマ処理などの現像処理を行い、最終的に記録媒体に記録する。また、画像処理部2はCPUを内蔵しており、このCPUにより、撮像装置の動作モードに応じて撮像素子1と通信(例えばシリアル通信)し、制御を行う。
<First Embodiment>
FIG. 1 is a block diagram illustrating a configuration of an image sensor 1 used in the image pickup apparatus according to the first embodiment of the present invention. The image sensor 1 and an image that is an output destination of image data obtained by the image sensor 1 The processing unit 2 is shown. The image sensor 1 in the first embodiment is a CMOS image sensor on which a parallel AD converter is mounted. The image processing unit 2 performs development processing such as white balance processing and gamma processing on the image data output from the image sensor 1, and finally records the image data on a recording medium. Further, the image processing unit 2 has a built-in CPU, and the CPU communicates (for example, serial communication) with the image sensor 1 in accordance with the operation mode of the image pickup apparatus to perform control.

撮像素子1において、タイミング制御部100は撮像素子1の各ブロックに対して動作クロック信号及びタイミング信号を供給し、動作を制御する。   In the image sensor 1, the timing control unit 100 supplies an operation clock signal and a timing signal to each block of the image sensor 1 to control the operation.

画素部110は、2次元に配置された複数の画素を含み、各画素の光電変換素子において入射光量に応じて光電変換して得られた電荷を、電圧に変換して出力する。各々の画素には、カラーフィルタとマイクロレンズが実装されている。なお、カラーフィルタとして、R(赤)、G(緑)、B(青)の3色の、いわゆるRGB原色カラーフィルタによるベイヤー配列の周期構造をとっているのが一般的であるが、必ずしもこの限りではない。   The pixel unit 110 includes a plurality of pixels arranged two-dimensionally, and converts the electric charge obtained by performing photoelectric conversion according to the amount of incident light in the photoelectric conversion element of each pixel into a voltage and outputs the voltage. Each pixel is provided with a color filter and a microlens. The color filter generally has a Bayer array periodic structure of three colors of R (red), G (green), and B (blue), which is a so-called RGB primary color filter. Not as long.

垂直走査回路120は、画素部110の各画素により得られた画素信号を1フレーム期間内に順次読み出すためのタイミング制御を行う。一般的に読み出しは、1フレーム中の上部の行から下部の行にかけて、行単位で順次行われる。   The vertical scanning circuit 120 performs timing control for sequentially reading out pixel signals obtained by the respective pixels of the pixel unit 110 within one frame period. In general, reading is sequentially performed in units of rows from the upper row to the lower row in one frame.

列アンプ群130は、各列にそれぞれ設けられた複数の列アンプから成り、画素部110から読みだされた画素信号を電気的に増幅するために用いられる。列アンプ群130で画素信号を増幅することにより、後段のランプ回路140や列アナログデジタル変換器群(列ADC群)150が出すノイズとのS/N比を改善させる。ただし、画素部110の出すノイズに対し、ランプ回路140や列ADC群150が出すノイズが十分小さい回路構造においては、列アンプ群130は必ずしも必須ではない。   The column amplifier group 130 includes a plurality of column amplifiers provided in each column, and is used to electrically amplify the pixel signal read from the pixel unit 110. By amplifying the pixel signal by the column amplifier group 130, the S / N ratio with noise generated by the subsequent ramp circuit 140 and the column analog-digital converter group (column ADC group) 150 is improved. However, the column amplifier group 130 is not necessarily required in a circuit structure in which the noise generated by the ramp circuit 140 and the column ADC group 150 is sufficiently small compared to the noise generated by the pixel unit 110.

定電圧回路400は、画素部110と列アンプ群130とを繋ぐ信号線に、固定の電圧を供給する電圧供給手段として動作する。なお、第1の実施形態では定電圧回路400を用いるが、ある一定の電圧で信号をクリップするようなクリップ回路などに応用できる回路を用いても良い。   The constant voltage circuit 400 operates as a voltage supply unit that supplies a fixed voltage to a signal line that connects the pixel unit 110 and the column amplifier group 130. Although the constant voltage circuit 400 is used in the first embodiment, a circuit applicable to a clip circuit that clips a signal with a certain voltage may be used.

ランプ回路140は、時間方向に一定のスロープ(傾き)を持つランプ形状の電圧信号(ランプ信号)を発生する信号発生器である。列ADC群150は、列毎に比較部151とカウンタ・ラッチ回路152とからなる列ADCを有する。比較部151は、列アンプ群130により増幅された画素信号(アナログ信号)と、ランプ回路140からのランプ信号とを比較して、信号の大小関係を示す信号を出力する。そしてカウンタ・ラッチ回路152が、比較部151からの信号に応じてカウンタ値をラッチすることで、アナログ−デジタル変換が行われる。なお、比較部151とカウンタ・ラッチ回路152の詳細な動作は後述する。カウンタ・ラッチ回路152に保持された1行分のデジタル画像データは、水平転送回路160により端の行から順に読みだされる。   The ramp circuit 140 is a signal generator that generates a ramp-shaped voltage signal (ramp signal) having a constant slope (slope) in the time direction. The column ADC group 150 includes a column ADC including a comparison unit 151 and a counter / latch circuit 152 for each column. The comparison unit 151 compares the pixel signal (analog signal) amplified by the column amplifier group 130 with the ramp signal from the ramp circuit 140, and outputs a signal indicating the magnitude relationship of the signals. The counter / latch circuit 152 latches the counter value in accordance with the signal from the comparison unit 151, thereby performing analog-digital conversion. The detailed operations of the comparison unit 151 and the counter / latch circuit 152 will be described later. The digital image data for one row held in the counter / latch circuit 152 is read sequentially from the end row by the horizontal transfer circuit 160.

水平転送回路160により読み出された画像データは信号処理回路170に入力される。信号処理回路170はデジタル的に信号処理を行う回路であり、デジタル処理で一定量のオフセット値を加える他に、シフト演算や乗算を行うことで、簡易にゲイン演算を行うことができる。また、画素部110に、遮光した画素領域(OB画素部)を形成し、OB画素部の画素から得られる信号を利用したデジタルの黒レベルクランプ動作を行っても良い。更に、入力された画像データに基づいて、後述するように、ランプ回路140から出力されるランプ信号を、タイミング制御部100を介して制御する。   The image data read by the horizontal transfer circuit 160 is input to the signal processing circuit 170. The signal processing circuit 170 is a circuit that performs digital signal processing. In addition to adding a certain amount of offset value by digital processing, gain calculation can be easily performed by performing shift calculation or multiplication. Alternatively, a light-shielded pixel region (OB pixel portion) may be formed in the pixel portion 110, and a digital black level clamping operation using a signal obtained from the pixel in the OB pixel portion may be performed. Further, based on the input image data, the ramp signal output from the ramp circuit 140 is controlled via the timing control unit 100 as will be described later.

信号処理回路170により処理された画像データは、外部出力回路180に渡される。外部出力回路180は、シリアライザー機能を有し、信号処理回路170からの多ビットの入力パラレル信号をシリアル信号に変換する。また、このシリアル信号を、例えばLVDS信号等に変換し、画像処理部2に出力する。   The image data processed by the signal processing circuit 170 is passed to the external output circuit 180. The external output circuit 180 has a serializer function, and converts the multi-bit input parallel signal from the signal processing circuit 170 into a serial signal. Further, this serial signal is converted into, for example, an LVDS signal and the like and output to the image processing unit 2.

コントローラ回路300は、画像処理部2とのI/F部であり、シリアル通信回路などを用いて、画像処理部2のCPUから撮像素子1への制御を受ける。   The controller circuit 300 is an I / F unit with the image processing unit 2 and receives control from the CPU of the image processing unit 2 to the image sensor 1 using a serial communication circuit or the like.

次に、撮像素子1の列ADC群150を用いた基本的なAD変換の原理について、図2を用いて説明する。列ADC群150は、上述したように、列毎に比較部151とカウンタ・ラッチ回路152を有しており、図2(a)に示すように、比較部151は、列アンプ群130から出力される画素信号VAMPと、ランプ回路140から出力されるランプ信号VRAMPとを比較し、その結果を出力する。   Next, the basic AD conversion principle using the column ADC group 150 of the image sensor 1 will be described with reference to FIG. As described above, the column ADC group 150 includes the comparison unit 151 and the counter / latch circuit 152 for each column. As illustrated in FIG. 2A, the comparison unit 151 outputs from the column amplifier group 130. The pixel signal VAMP to be compared with the ramp signal VRAMP output from the ramp circuit 140, and the result is output.

図2(b)に示すように、画素部110からの画素信号VAMPの読み出し開始に先立って比較部151の動作を開始する(時刻t1)。列アンプ群130の各列アンプの動作が安定すると、時刻t2において、カウンタ・ラッチ回路152のカウント値をリセットする。このカウンタ・ラッチ回路152のカウントリセットタイミングと同期して、ランプ回路140から出力されるランプ信号VRAMPの信号レベルは、時刻t2から時間の経過とともに増加する。比較部151の出力は、列アンプ群130から出力される画素信号VAMPの信号レベルをランプ回路140から出力されるランプ信号VRAMPの信号レベルが超えた時に反転する(時刻t3)。カウンタ・ラッチ回路152は、カウント値をリセットしてから、比較部151の出力が反転するまでの期間(時刻t2〜時刻t3)、カウント動作を行う。この動作により、列アンプ群130により増幅された画素信号の出力レベルに比例したカウント値が得られるため、こうして得られたカウント値がAD変換結果となる。なお、ここで説明した画素信号とランプ信号の比較方法、カウンタ・ラッチ回路によるカウント方法などはあくまで一例であり、カウント値をリセットしてから比較部151の出力が反転するまでの期間を検出できれば、他の方法で実施してもかまわない。   As shown in FIG. 2B, the operation of the comparison unit 151 is started prior to the start of reading of the pixel signal VAMP from the pixel unit 110 (time t1). When the operation of each column amplifier in the column amplifier group 130 is stabilized, the count value of the counter / latch circuit 152 is reset at time t2. In synchronization with the count reset timing of the counter / latch circuit 152, the signal level of the ramp signal VRAMP output from the ramp circuit 140 increases with the passage of time from time t2. The output of the comparison unit 151 is inverted when the signal level of the pixel signal VAMP output from the column amplifier group 130 exceeds the signal level of the ramp signal VRAMP output from the ramp circuit 140 (time t3). The counter / latch circuit 152 performs a count operation during a period (time t2 to time t3) from when the count value is reset to when the output of the comparison unit 151 is inverted. By this operation, a count value proportional to the output level of the pixel signal amplified by the column amplifier group 130 is obtained, and thus the obtained count value becomes an AD conversion result. Note that the pixel signal / ramp signal comparison method and the counter / latch circuit counting method described here are merely examples, and it is possible to detect a period from when the count value is reset to when the output of the comparator 151 is inverted. However, other methods may be used.

図3は、第1の実施形態におけるランプ回路140及び列ADC群150の動作を説明する図である。図3において、横軸は時間、グラフ上部の縦軸は出力レベル、グラフ下部は、比較部151の出力を示している。図3を参照して、列アンプ群130の出力信号VAMPの信号レベルに応じて、ランプ回路140から出力されるランプ信号VRAMPのスロープを変える例について説明する。   FIG. 3 is a diagram for explaining the operation of the ramp circuit 140 and the column ADC group 150 in the first embodiment. In FIG. 3, the horizontal axis represents time, the vertical axis at the top of the graph represents the output level, and the bottom of the graph represents the output of the comparison unit 151. An example in which the slope of the ramp signal VRAMP output from the ramp circuit 140 is changed according to the signal level of the output signal VAMP of the column amplifier group 130 will be described with reference to FIG.

一般的に、単位画素からの信号の読み出し処理においては、まずN信号(ノイズレベル)の読み出し及びAD変換を行い、その後にS信号(ノイズレベル+信号レベル)の読み出し及びAD変換を行う。そして、信号処理回路170で変換されたS信号とN信号との差分をとることでノイズ成分を打ち消すことで、S/Nの良い信号を得る。   In general, in the process of reading a signal from a unit pixel, first, N signal (noise level) is read and AD conversion is performed, and then S signal (noise level + signal level) is read and AD conversion is performed. Then, by taking the difference between the S signal and the N signal converted by the signal processing circuit 170, the noise component is canceled out to obtain a signal having a good S / N.

まず、N信号のAD変換を行うために、時刻t11で比較部151の動作を開始し、時刻t12でカウンタ・ラッチ回路152のカウントをリセットすると共に、ランプ回路140から出力されるランプ信号VRAMPの信号レベルを変化させる。ここで、ノイズレベルであるN信号の信号レベルは小さいため、N信号のAD変換には、傾きが小さい第一のランプ信号VRAMP(小)(第一の参照信号)を用いる。そして、カウンタ・ラッチ回路152のカウントをリセットしてから、比較部151の出力が反転するまでの期間(時刻t12〜時刻t13)、カウント動作を行うことで、N信号をAD変換する。   First, in order to perform AD conversion of the N signal, the operation of the comparator 151 is started at time t11, the count of the counter / latch circuit 152 is reset at time t12, and the ramp signal VRAMP output from the ramp circuit 140 is reset. Change the signal level. Here, since the signal level of the N signal, which is a noise level, is small, the first ramp signal VRAMP (small) (first reference signal) having a small slope is used for AD conversion of the N signal. Then, the N signal is AD-converted by performing a count operation during a period (time t12 to time t13) from when the count of the counter / latch circuit 152 is reset to when the output of the comparator 151 is inverted.

次に、画素部110に蓄積された電荷に応じた信号を読み出して列アンプ群130により増幅された出力信号であるS信号に対し、レベル判定期間に、ランプ回路140はある一定の判定レベルVsを最大レベルとする判定用ランプ信号を比較部151に出力する。そして、S信号との比較を行う。ここでは、時刻t14においてカウンタ・ラッチ回路152のカウント値をリセットすると共に、ランプ回路140は所定の判定レベルVsを最大レベルに持つ判定用ランプ信号の出力を開始する。S信号の信号レベルが判定レベルVs以上であれば(S≧Vs)、比較部151の出力は反転しないため、時刻t16でレベル判定期間が終了するまでカウント値が増え続ける。これに対し、S信号の信号レベルが判定レベルVsより小さければ(S<Vs)、例えば時刻t15で比較部151の出力が反転するため、カウント値の増加が終了する。このように、カウンタ・ラッチ回路152のカウント値により、信号処理回路170では、S信号の信号レベルが判定レベルVsよりも大きいか小さいかを判断することができる。なお、カウンタ・ラッチ回路152のカウント値をリセットするタイミングを、ランプ回路140の出力が判定レベルVsに安定した時点とし、S信号の信号レベルが判定レベルVsより小さい(S<Vs)場合に、カウント値が0となるように制御してもよい。   Next, the ramp circuit 140 reads a signal corresponding to the electric charge accumulated in the pixel unit 110 and outputs an S signal that is an output signal amplified by the column amplifier group 130 during a level determination period. Is output to the comparison unit 151. Then, the comparison with the S signal is performed. Here, at time t14, the count value of the counter / latch circuit 152 is reset, and the ramp circuit 140 starts outputting a ramp signal for determination having a predetermined determination level Vs as the maximum level. If the signal level of the S signal is equal to or higher than the determination level Vs (S ≧ Vs), the output of the comparison unit 151 is not inverted, and thus the count value continues to increase until the level determination period ends at time t16. On the other hand, if the signal level of the S signal is lower than the determination level Vs (S <Vs), for example, the output of the comparison unit 151 is inverted at time t15, and thus the increase of the count value is completed. As described above, the signal processing circuit 170 can determine whether the signal level of the S signal is higher or lower than the determination level Vs based on the count value of the counter / latch circuit 152. The timing for resetting the count value of the counter / latch circuit 152 is a time when the output of the ramp circuit 140 is stabilized at the determination level Vs, and when the signal level of the S signal is smaller than the determination level Vs (S <Vs), Control may be performed so that the count value becomes zero.

S信号の信号レベルが判定レベルVsよりも小さい場合は、時刻t17から、N信号と同じ第一のランプ信号VRAMP(小)を用いてS信号のAD変換を行う。これにより、図3に示す例では、時刻t17から時刻t18の間のカウント値が得られる。一方、S信号の信号レベルが判定レベルVs以上である場合は、第一のランプ信号VRAMP(小)よりもスロープがα倍の第二のランプ信号VRAMP(大)(第二の参照信号)を用いて、S信号のAD変換を行う。これにより、図3に示す例では、時刻t17から時刻t19の間のカウント値が得られる。   When the signal level of the S signal is lower than the determination level Vs, AD conversion of the S signal is performed using the first ramp signal VRAMP (small) that is the same as the N signal from time t17. Thereby, in the example shown in FIG. 3, the count value between the time t17 and the time t18 is obtained. On the other hand, when the signal level of the S signal is equal to or higher than the determination level Vs, the second ramp signal VRAMP (large) (second reference signal) having a slope α times that of the first ramp signal VRAMP (small) is used. And AD conversion of the S signal is performed. Thereby, in the example shown in FIG. 3, the count value between the time t17 and the time t19 is obtained.

図4は、出力レベルに応じて傾きの異なるランプ信号を用いる場合の、出力信号の信号レベルとAD変換結果との関係を示す図である。図4の横軸は列アンプ群130から出力される信号の出力レベル、縦にはS信号のAD変換後のデジタル値を示している。実線は、比較部151及びカウンタ・ラッチ回路152でAD変換され、水平転送回路160を経て、信号処理回路170に入力されるデジタル値(AD変換値)を表している。上述したように、判定レベルVsより信号レベルが小さいS信号は第一のランプ信号VRAMP(小)を用いて、また、判定レベルVs以上の信号レベルを持つS信号は第二のランプ信号VRAMP(大)を用いてAD変換される。そのため、図4(a)に示すように、判定レベルVsの前後で、AD変換後のS信号の整合が取れていないことになる。   FIG. 4 is a diagram illustrating the relationship between the signal level of the output signal and the AD conversion result when using ramp signals having different slopes according to the output level. The horizontal axis of FIG. 4 indicates the output level of the signal output from the column amplifier group 130, and the vertical axis indicates the digital value of the S signal after AD conversion. A solid line represents a digital value (AD converted value) that is AD-converted by the comparison unit 151 and the counter / latch circuit 152 and that is input to the signal processing circuit 170 through the horizontal transfer circuit 160. As described above, the S signal having a signal level smaller than the determination level Vs uses the first ramp signal VRAMP (small), and the S signal having a signal level equal to or higher than the determination level Vs uses the second ramp signal VRAMP ( AD conversion is performed using For this reason, as shown in FIG. 4A, the S signal after AD conversion is not matched before and after the determination level Vs.

そのため、判定レベルVsよりも信号レベルが大きいS信号のAD変換値に対しては、まず、信号処理回路170にて、第一のランプ信号VRAMP(小)と第二のランプ信号VRAMP(大)の傾きの比αを乗算する。更に、判定レベルVsで段差が無くなるようにオフセット量βを加算することで、入射光量に応じた画素信号の信号レベルとAD変換値が一次的な関係になるように補正を行う。   For this reason, for the AD conversion value of the S signal having a signal level higher than the determination level Vs, first, the signal processing circuit 170 performs the first ramp signal VRAMP (small) and the second ramp signal VRAMP (large). Is multiplied by the slope ratio α. Further, by adding an offset amount β so that there is no step at the determination level Vs, correction is performed so that the signal level of the pixel signal corresponding to the amount of incident light and the AD conversion value have a primary relationship.

上述した補正を行わない状態で、有効画素の映像を出力すると、ある輝度で段差が残ったような違和感のある映像となってしまう。この補正に用いる補正値は、撮像素子の温度、撮像素子の駆動タイミング(列アンプ群130のゲインや動作状態等)、駆動設定(電源設定等)によって理想的な補正目標値が変わるため、これらの条件に変化が起きた際には、補正値の再取得が必要である。   If an image of an effective pixel is output in a state where the above-described correction is not performed, an image with a sense of incongruity in which a step remains at a certain luminance is obtained. The correction values used for this correction vary depending on the ideal correction target value depending on the temperature of the image sensor, the drive timing of the image sensor (such as the gain and operating state of the column amplifier group 130), and the drive settings (power supply settings, etc.). When a change occurs in the above conditions, it is necessary to re-acquire the correction value.

また、電源起動時、及び撮像素子1の駆動方法の切替え直後に生じる補正値の急激な変化や、列アンプ群130に供給している電源のノイズ、配線ノイズ、外乱ノイズによって生じる、一時的な補正値の変動を、可能な限り低減させる必要がある。この補正値の変動は、後述するように、ダミー画素を用いて取得した補正値算出用の検出値の変動に起因する。なお、補正値を算出するために取得する検出値の変動を低減する方法については後述する。   In addition, a temporary change caused by a sudden change in the correction value that occurs immediately after the power is turned on and immediately after the switching of the driving method of the image sensor 1, noise of the power supplied to the column amplifier group 130, wiring noise, or disturbance noise. It is necessary to reduce the fluctuation of the correction value as much as possible. As will be described later, the fluctuation of the correction value is caused by the fluctuation of the detection value for calculating the correction value acquired using the dummy pixel. Note that a method of reducing fluctuations in the detection value acquired to calculate the correction value will be described later.

次に、第一のランプ信号VRAMP(小)と第二のランプ信号VRAMP(大)の傾きの比αと、オフセット量βを算出する処理の一例について説明する。   Next, an example of processing for calculating the slope ratio α of the first ramp signal VRAMP (small) and the second ramp signal VRAMP (large) and the offset amount β will be described.

図5は、画素部110の構成例を示している。画素構成として、最も上部にフォトダイオードを持たないダミー画素領域を配置し、順に、遮光されたオプティカルブラック(OB)画素領域、光電変換して得られた信号を出力する有効画素領域を配している。第1の実施形態では、ダミー画素を傾きの比αとオフセット量βを算出するために使用する。ここでは、ダミー画素の画素信号読み出し期間に、定電圧回路400から固定電圧を入力し、列アンプ群130から比較部151に入力される電圧がある固定電圧になるように制御する。なお、第1の実施形態においては、固定電圧として、判定レベルVsより小さい電圧V1及びV2を用いる。   FIG. 5 shows a configuration example of the pixel unit 110. As a pixel configuration, a dummy pixel region not having a photodiode is arranged at the top, and an optical black (OB) pixel region that is shielded from light and an effective pixel region that outputs a signal obtained by photoelectric conversion are arranged in order. Yes. In the first embodiment, dummy pixels are used to calculate the inclination ratio α and the offset amount β. Here, a fixed voltage is input from the constant voltage circuit 400 during the pixel signal readout period of the dummy pixel, and control is performed so that the voltage input from the column amplifier group 130 to the comparison unit 151 becomes a certain fixed voltage. In the first embodiment, voltages V1 and V2 smaller than the determination level Vs are used as fixed voltages.

ダミー画素の読み出し期間におけるAD変換処理について、図6を参照して説明する。図6Aでは、固定電圧V1をAD変換する。なお、図3で説明した処理とは異なり、N信号をAD変換するための期間は設ける必要がない。図6Aに示すように、レベル判定期間のランプ回路140から出力されるランプ信号VRAMPを最大値VRAMP(MAX)まで上げることで、傾きが小さい第一のランプ信号VAMP(小)で固定電圧V1のAD変換を行う。AD変換した結果をV1Lとする。   The AD conversion process in the dummy pixel readout period will be described with reference to FIG. In FIG. 6A, the fixed voltage V1 is AD converted. Unlike the processing described with reference to FIG. 3, it is not necessary to provide a period for AD conversion of the N signal. As shown in FIG. 6A, the ramp signal VRAMP output from the ramp circuit 140 in the level determination period is increased to the maximum value VRAMP (MAX), so that the first ramp signal VAMP (small) with a small slope is set to the fixed voltage V1. A / D conversion is performed. The result of AD conversion is set to V1L.

続いて図6Bに示すように、レベル判定期間のランプ回路140から出力されるランプ信号VRAMPを最小値VRAMP(MIN)とすることで、傾きの大きい第二のランプ信号VAMP(大)で固定電圧V1をAD変換する。AD変換した結果をV1Hとする。   Subsequently, as shown in FIG. 6B, the ramp signal VRAMP output from the ramp circuit 140 in the level determination period is set to the minimum value VRAMP (MIN), so that the second ramp signal VAMP (large) having a large slope is fixed voltage. V1 is AD converted. The result of AD conversion is set to V1H.

その後、図6C及び図6Dに示すように、固定電圧を電圧V1よりも大きい電圧V2に変え、図6A及び図6Bと同様にAD変換を行う。この結果をそれぞれV2L、V2Hとする。   After that, as shown in FIGS. 6C and 6D, the fixed voltage is changed to the voltage V2 larger than the voltage V1, and AD conversion is performed in the same manner as in FIGS. 6A and 6B. The results are V2L and V2H, respectively.

これらは、横軸を出力レベル、縦軸をAD変換値とすると、図4(b)のように表される。図4(b)は図4(a)の出力信号レベルが判定レベルVsよりも小さい部分を拡大したものである。これら4点の座標から、傾きの比αとオフセット量βは、それぞれ式(1)及び式(2)で求めることができる。
α=(V2L−V1L)/(V2H−V1H) …(1)
β=(V2L−V1L)/(V2−V1)×Vs
−α(V2H―V1H)/(V2−V1)×Vs …(2)
上記補正値α、βの算出は、撮像素子1の内部で行っても良いし、画像処理部2で行っても良い。なお、V1L、V1H、V2L、V2Hは、ダミー画素領域からダミー画素の画素信号を読み出す際にそれぞれ複数得られるため、式(1)及び式(2)により傾きの比αとオフセット量βを求める際には、それぞれの平均値を用いる。
These are represented as shown in FIG. 4B, where the horizontal axis is the output level and the vertical axis is the AD conversion value. FIG. 4B is an enlarged view of a portion where the output signal level in FIG. 4A is smaller than the determination level Vs. From the coordinates of these four points, the inclination ratio α and the offset amount β can be obtained by Expression (1) and Expression (2), respectively.
α = (V2L−V1L) / (V2H−V1H) (1)
β = (V2L−V1L) / (V2−V1) × Vs
−α (V2H−V1H) / (V2−V1) × Vs (2)
The correction values α and β may be calculated inside the image sensor 1 or may be performed by the image processing unit 2. Note that since a plurality of V1L, V1H, V2L, and V2H are obtained when the pixel signal of the dummy pixel is read from the dummy pixel region, the slope ratio α and the offset amount β are obtained from Equation (1) and Equation (2). In this case, the average value of each is used.

ここで、上記補正値α、βを算出するために取得する検出値V1H、V1L、V2H、V2Lに着目する。例えば、固定電圧V1のアナログ信号を傾きの大きい第二のランプ信号VAMP(大)を用いてAD変換した検出値V1Hは、電源起動時、及び撮像素子の駆動方法を切替えた直後、または外乱ノイズの発生時などにおいて、レベルが大きく変動することがある。このように、取得した検出値V1H、V1L、V2H、V2Lのうち、1つでも変動が生じると、これらの検出値に基づいて算出された、傾きの比αとオフセット量βが、本来目標とする理想値に対してずれてしまう。その結果、S信号判定レベル付近の信号レベルにおいてレベルの段差が生じ、不自然な映像となってしまう。   Here, attention is focused on the detection values V1H, V1L, V2H, and V2L acquired to calculate the correction values α and β. For example, the detection value V1H obtained by AD-converting the analog signal of the fixed voltage V1 using the second ramp signal VAMP (large) having a large slope is used when the power is turned on and immediately after switching the driving method of the image sensor or disturbance noise. The level may fluctuate greatly, for example, at the time of occurrence. As described above, when any one of the acquired detection values V1H, V1L, V2H, and V2L changes, the inclination ratio α and the offset amount β calculated based on these detection values are originally set as the target. Will deviate from the ideal value. As a result, level differences occur at signal levels near the S signal determination level, resulting in an unnatural image.

つまり、S/N比の改善とダイナミックレンジの拡大を目的として階調精度を向上させつつ、信号レベルの段差による画質劣化を抑えるためには、検出値V1H、V1L、V2H、V2Lの変動を出来る限り抑える必要がある。そして、検出値から算出されたオフセット補正値βの変動を、レベル段差が画像として見えないレベル(限界値)以下まで低減させなければならない。   In other words, the detection values V1H, V1L, V2H, and V2L can be varied in order to improve the gradation accuracy for the purpose of improving the S / N ratio and expanding the dynamic range, while suppressing image quality degradation due to signal level differences. It is necessary to suppress as much as possible. Then, the fluctuation of the offset correction value β calculated from the detected value must be reduced to a level (limit value) or less at which the level difference is not visible as an image.

以下、検出値V1H、V1L、V2H、V2Lの変動を低減させる方法について詳述する。なお、本第1の実施形態では、上記検出値のうちV1Hについてのみ説明するが、V1L、V2H、V2Lについても同様にして低減することができる。   Hereinafter, a method for reducing fluctuations in the detection values V1H, V1L, V2H, and V2L will be described in detail. In the first embodiment, only V1H among the detection values will be described. However, V1L, V2H, and V2L can be similarly reduced.

図7は、検出値(V1H、V1L、V2H、V2L)の変動要因となるノイズが発生している条件下において、フレーム毎にこれらの検出値を取得したときの、検出値V1Hの変動を示すグラフである。同図において、横軸はフレーム数(時間に対応する)、縦軸は検出値V1Hを示しており、検出値V1Hのフレーム毎の変化をグラフAで示している。また、ノイズによる影響が無い状態の理想的な検出値V1H(理想値)を、グラフCで示している。理想値は、不定期に発生するノイズ成分等による変動は発生しないが、撮像素子の駆動設定や、撮像素子の温度変化により変化する。第1の実施形態においては、撮像素子の駆動設定は同じままで、かつ温度も十分に安定した状態を想定している。   FIG. 7 shows the fluctuation of the detection value V1H when these detection values are acquired for each frame under the condition that noise that causes fluctuations of the detection values (V1H, V1L, V2H, V2L) is generated. It is a graph. In the figure, the horizontal axis represents the number of frames (corresponding to time), the vertical axis represents the detected value V1H, and the graph A shows the change of the detected value V1H for each frame. In addition, an ideal detection value V1H (ideal value) in a state where there is no influence of noise is indicated by a graph C. The ideal value does not vary due to irregularly generated noise components or the like, but changes depending on the drive setting of the image sensor and the temperature change of the image sensor. In the first embodiment, it is assumed that the drive settings of the image sensor remain the same and the temperature is sufficiently stable.

第1の実施形態においては、説明の便宜上、グラフCに示すように、検出値V1Hの値が1〜100フレームまでの間、常に−5LSBとなるのが理想的であるものとする。また、グラフAの値が、理想値であるグラフCの値に対して±5LSBを超えた場合(−10LSB以下、もしくは0LSB以上)、検出値を用いて算出されたオフセット補正値βの値が画像上に信号レベルの段差が見え始めるものとする。   In the first embodiment, for convenience of explanation, as shown in the graph C, it is ideal that the value of the detection value V1H is always −5 LSB during the period of 1 to 100 frames. When the value of graph A exceeds ± 5 LSB with respect to the value of graph C, which is an ideal value (−10 LSB or less, or 0 LSB or more), the value of offset correction value β calculated using the detected value is Assume that signal level steps begin to appear on the image.

図7に示す例では、グラフAの値が、理想値であるグラフCの値に対して、±5LSBを超えるフレームが多く存在する。つまり、あるフレームにおいては段差が見え、次のフレームでは段差が見えなくなるような映像が、何度も繰り返されていることになる。ここで、検出値V1Hの変動を低減させる方法について具体的に説明する。   In the example illustrated in FIG. 7, there are many frames in which the value of the graph A exceeds ± 5 LSB with respect to the value of the graph C that is an ideal value. That is, an image in which a step is visible in one frame and a step is not visible in the next frame is repeated many times. Here, a method for reducing the fluctuation of the detection value V1H will be specifically described.

検出値V1Hの変動を低減させる一つの方法として、下記の式(3)を用いてフィルタリング処理を行う方法がある。
V1Hf(n)=V1H(n)×p+V1Hf(n−1)×(1−p)
(0≦p≦1) …(3)
式(3)において、V1Hf(n)は、nフレーム目におけるフィルタリング処理後の検出値である。また、nフレーム目に取得したダミー画素の読み出し期間中に取得された、新たな検出値をV1H(n)、n−1フレーム目におけるフィルタリング処理後の検出値をV1Hf(n−1)、巡回係数をp(0≦p≦1)と定義している。nの取り得る範囲は、n≧0であり、かつ、n=0の場合、前のフレームの検出値V1Hf(−1)が存在しないため、p=1.0に設定した状態で、かつ、V1Hf(n−1)=0となるように設定する。
As one method for reducing the fluctuation of the detection value V1H, there is a method of performing a filtering process using the following equation (3).
V1Hf (n) = V1H (n) * p + V1Hf (n-1) * (1-p)
(0 ≦ p ≦ 1) (3)
In Expression (3), V1Hf (n) is a detection value after filtering processing in the nth frame. Further, the new detection value acquired during the dummy pixel readout period acquired in the nth frame is V1H (n), the detection value after the filtering process in the n−1th frame is V1Hf (n−1), and cyclic. The coefficient is defined as p (0 ≦ p ≦ 1). The possible range of n is n ≧ 0, and when n = 0, the detection value V1Hf (−1) of the previous frame does not exist, so that p = 1.0 is set, and It is set so that V1Hf (n-1) = 0.

上記式(3)において巡回係数p=0.1としたときのフィルタリング処理後の検出値V1Hf(n)の値の変化を、図7のグラフBで示している。同グラフから分かるように、グラフAに対してフィルタリング処理を行うことで、フィルタリング処理前の検出値V1Hf(n)の値が、補正値を算出した際に画像にレベル段差が発生し得る限界値であるグラフCから±5LSBの範囲内に収まっている。   A change in the value of the detection value V1Hf (n) after the filtering process when the cyclic coefficient p = 0.1 in the above equation (3) is shown in a graph B in FIG. As can be seen from the graph, by performing the filtering process on the graph A, the detection value V1Hf (n) before the filtering process is a limit value that may cause a level difference in the image when the correction value is calculated. It is within the range of ± 5 LSB from the graph C.

なお、図7に示す例では、巡回係数p=0.1としたが、必ずしも0.1である必要は無く、ノイズに起因して発生する、検出値V1H(n)の変動の大きさに合わせて、巡回係数を決定すれば良い。また、フィルタリング処理を行うための手段として、プログラムを用いて処理を行っても良いし、撮像素子1の内部もしくは画像処理部2にフィルタリング処理用の回路を追加で設けても良い。   In the example shown in FIG. 7, the cyclic coefficient p = 0.1, but it is not necessarily 0.1, and the magnitude of the fluctuation of the detection value V1H (n) generated due to noise is not necessarily required. In addition, the cyclic coefficient may be determined. Further, as a means for performing the filtering process, the process may be performed using a program, or a circuit for the filtering process may be additionally provided inside the image sensor 1 or in the image processing unit 2.

上述したようにして得られた検出値に基づいて式(1)及び(2)により傾きの比α及びオフセット値βを求める。そして求めた傾きの比α及びオフセット値βを補正係数として用いて、以下の式(4)により、第二のランプ信号VRAMP(大)によりAD変換された第nフレームのS信号のデジタル信号SD(n)を補正し、補正後のデジタル信号S’D(n)を得る。
S’D(n)=SD(n)×α+β …(4)
Based on the detection values obtained as described above, the slope ratio α and the offset value β are obtained by the equations (1) and (2). Then, using the obtained slope ratio α and the offset value β as correction coefficients, the digital signal S of the S signal of the nth frame AD-converted by the second ramp signal VRAMP (large) by the following equation (4). D (n) is corrected to obtain a corrected digital signal S ′ D (n).
S ′ D (n) = S D (n) × α + β (4)

以上説明したように、ダミー画素の読み出し期間に固定電圧を読み出して得られる信号を用いて得られた検出値に対してフィルタリング処理を行う。これにより、検出値の変動を、レベル段差が見える限界値以下まで低減させることが可能となり、信号レベルの段差による画質劣化を低減することができる。   As described above, the filtering process is performed on the detection value obtained using the signal obtained by reading the fixed voltage during the dummy pixel readout period. As a result, it is possible to reduce the fluctuation of the detected value to a limit value or less where the level difference can be seen, and to reduce image quality deterioration due to the signal level difference.

以下、好適なフィルタリング処理方法について、いくつかの例を挙げて説明する。   Hereinafter, a suitable filtering processing method will be described with some examples.

(1)検出値が、瞬間的に大きく変動する場合
前述したように、列アンプ群130に供給している電源のノイズ、配線ノイズ、外乱ノイズにより検出値が変動した場合、巡回係数を小さくしてフィルタリング処理を行うことで、検出値の安定化を実現することができる。しかし、巡回係数pの値を小さくし過ぎると、次のような問題が生じる。すなわち、急激な温度変化や、撮像素子の駆動方法の切替えにより、理想値(検出値として取得される理想的な値)が急激に変化した場合、フィルタリング処理後の検出値V1Hf(n)の値が理想値付近まで収束するのに時間を要してしまう。また、巡回係数を大きくすると、フィルタリング処理による検出値の変動の低減効果が薄れてしまい、信号レベルの段差が見えるフレームが存在してしまう。
(1) When the detection value fluctuates greatly instantaneously As described above, when the detection value fluctuates due to power supply noise, wiring noise, or disturbance noise supplied to the column amplifier group 130, the cyclic coefficient is reduced. By performing the filtering process, the detection value can be stabilized. However, if the value of the cyclic coefficient p is too small, the following problem occurs. That is, when the ideal value (ideal value acquired as a detection value) suddenly changes due to a rapid temperature change or switching of the image sensor driving method, the value of the detection value V1Hf (n) after the filtering process Takes time to converge to near the ideal value. Also, if the cyclic coefficient is increased, the effect of reducing fluctuations in the detection value due to the filtering process is diminished, and there are frames in which the level difference of the signal level can be seen.

そこで、新たに取得したフィルタリング処理前の検出値V1H(n)が前のフレームにおけるフィルタリング処理後の検出値V1Hf(n−1)に対して、明らかに大きく変動している場合は、巡回係数p=0に設定する。これにより、巡回係数pは理想値の変動に対して十分に追従できる設定値となり、かつ外乱ノイズ等による検出値V1Hの急激な変化も抑えることができ、ノイズによる影響を低減させることができる。特に外乱ノイズは、瞬間的に非常に大きなレベルの変動が発生することがあるため、フィルタリング処理後の検出値V1Hf(n)が理想値付近まで収束する時間の最適化と、外乱ノイズ等に対する検出値の安定化が両立できない場合が出てくる。   Therefore, when the newly acquired detection value V1H (n) before the filtering process clearly fluctuates greatly from the detection value V1Hf (n-1) after the filtering process in the previous frame, the cyclic coefficient p Set to = 0. As a result, the cyclic coefficient p becomes a set value that can sufficiently follow the fluctuation of the ideal value, and a sudden change in the detection value V1H due to disturbance noise or the like can be suppressed, and the influence of noise can be reduced. In particular, disturbance noise may generate a very large level of fluctuation instantaneously. Therefore, optimization of the time for the detection value V1Hf (n) after filtering to converge to the vicinity of the ideal value and detection of disturbance noise, etc. There are cases where stabilization of values cannot be achieved at the same time.

図8(a)は、外乱ノイズが発生した場合における、検出値V1H(n)の変動を示すグラフである。同図に示す例では、図7に示す例に対して外乱ノイズが3フレーム分発生している場合を示しているが、それ以外は図7と同じであるため、図の詳細説明については省略する。   FIG. 8A is a graph showing fluctuations in the detected value V1H (n) when disturbance noise occurs. In the example shown in the figure, a case where disturbance noise is generated for three frames is shown in the example shown in FIG. 7, but the rest is the same as in FIG. 7, so detailed description of the figure is omitted. To do.

図8(a)は、グラフAの値が、理想値であるグラフCの値に対して、約60LSB程度高くなるフレームが3フレーム(13、43、73フレーム目)存在する。そのため、グラフBに示すように、フィルタリング処理を行ったにも関わらず、処理後の結果が、限界値であるグラフCから±5LSBを超えるフレームが発生する。つまり、100フレームの中で、段差が見えるフレームが数フレーム間だけ発生し、その後、段差が見えなくなるような映像が定期的に繰り返されることになる。   In FIG. 8A, there are three frames (13th, 43rd, and 73rd frames) in which the value of the graph A is about 60 LSB higher than the ideal value of the graph C. Therefore, as shown in the graph B, although the filtering process is performed, a frame whose result exceeds the process from the graph C that is the limit value exceeds ± 5 LSB is generated. That is, in 100 frames, a frame in which a step is visible is generated only for several frames, and thereafter, an image in which the step is not visible is periodically repeated.

そこで、第1の実施形態では、上記式(3)を用いてフィルタリング処理を行う前に、新たに取得した検出値V1H(n)と、前フレームまでの検出値のフィルタリング処理結果V1Hf(n−1)との差分を求める。そして、その差分が閾値を超えたかどうかを判定し、閾値を超えていた場合には、巡回係数p=0に設定する制御を行う。第1の実施形態においては、閾値を±30LSBに設定するが、外乱ノイズが発生しない時のノイズレベル(電源電圧やパターン配線起因のランダムな変動)と、巡回係数の設定値に応じて閾値を決定すると良い。理想的には、外乱ノイズが発生した場合でも、フィルタリング処理後の検出値V1Hf(n)を用いて算出されたオフセット補正値βが、画像上に信号レベルの段差が見え始める限界値を超えないような閾値にするのが好ましい。   Therefore, in the first embodiment, before performing the filtering process using the above formula (3), the newly acquired detection value V1H (n) and the filtering process result V1Hf (n−) of the detection values up to the previous frame are obtained. Find the difference from 1). Then, it is determined whether or not the difference exceeds the threshold value. If the threshold value is exceeded, control is performed to set the cyclic coefficient p = 0. In the first embodiment, the threshold value is set to ± 30 LSB, but the threshold value is set according to the noise level when no disturbance noise occurs (random fluctuation caused by power supply voltage or pattern wiring) and the cyclic coefficient setting value. It is good to decide. Ideally, even when disturbance noise occurs, the offset correction value β calculated using the detection value V1Hf (n) after the filtering process does not exceed the limit value at which a signal level step starts to appear on the image. Such a threshold is preferable.

図8(b)のグラフBに、閾値判定を追加した場合における、フィルタリング処理結果を示している。同図では、閾値を±30LSBとしており、外乱ノイズが発生した3フレームについては、巡回係数p=0となり、前フレームにおけるフィルタリング処理後の検出値V1H(n−1)が引き継がれる。本処理を追加することにより、フィルタリング処理後の検出値V1Hf(n)が全て画像上に信号レベルの段差が見え始める限界値以下の範囲に収まる。   FIG. 8B shows a filtering process result in the case where threshold determination is added to the graph B. In the figure, the threshold value is set to ± 30 LSB, and the cyclic coefficient p = 0 for three frames in which disturbance noise occurs, and the detection value V1H (n−1) after filtering processing in the previous frame is inherited. By adding this processing, all of the detection values V1Hf (n) after the filtering processing fall within the range below the limit value at which a signal level difference starts to appear on the image.

以上説明したように、フィルタリング処理を行う前に、前フレームにおけるフィルタリング処理後の検出値V1H(n−1)と、新たに取得した検出値V1H(n)との差分を求める。そして、その差分値が閾値を超えたかどうかを判定し、閾値を超えていた場合には巡回係数p=0にする。これにより、外乱ノイズ等により瞬間的に大きな変動が生じた場合に、フィルタリング処理後の検出値V1Hf(n)が影響を受けるのを抑えることができる。更に、フィルタリング処理後の検出値V1Hf(n)が理想値付近まで収束するまでの時間の最適化と、外乱ノイズ等に対する検出値の安定化を両立させることができる。   As described above, before performing the filtering process, the difference between the detected value V1H (n−1) after the filtering process in the previous frame and the newly acquired detected value V1H (n) is obtained. Then, it is determined whether or not the difference value exceeds the threshold value. If the difference value is exceeded, the cyclic coefficient p = 0 is set. Thereby, it is possible to suppress the detection value V1Hf (n) after the filtering process from being affected when a large fluctuation occurs instantaneously due to disturbance noise or the like. Furthermore, it is possible to achieve both optimization of the time until the detection value V1Hf (n) after the filtering process converges to the vicinity of the ideal value and stabilization of the detection value against disturbance noise or the like.

また、本実施形態においては外乱ノイズを扱ったが、同様のノイズを発生させるもの全てについて適用可能である。   Further, in this embodiment, disturbance noise is dealt with, but it can be applied to all those that generate similar noise.

(2)電源起動時、及び撮像素子の駆動方法を切替えた場合
電源起動時は、映像信号の出力が安定していないことや、起動時における各種処理を行うために撮像素子1の駆動方法の切替えが発生することがあるため、理想値が大きく変化する可能性がある。また、電源起動後においても撮像素子の駆動方法が切替えられた場合、切替え直後に理想値が瞬間的に大きく変わる。上記要因により、フィルタリング処理後の検出値V1Hf(n)と理想値との差が瞬間的に大きくなってしまう。
(2) When the power supply is activated and the driving method of the image sensor is switched When the power is activated, the output of the video signal is not stable, and the driving method of the image sensor 1 is performed in order to perform various processes at the time of activation. Since switching may occur, the ideal value may change significantly. Further, when the driving method of the image sensor is switched even after the power is turned on, the ideal value changes greatly instantaneously immediately after the switching. Due to the above factors, the difference between the detected value V1Hf (n) after the filtering process and the ideal value increases instantaneously.

フィルタリング処理を行わなければ、理想値付近に収束するまでの時間を最短にすることが可能である。しかしながら、フィルタリング処理を行わなければ、検出値V1Hf(n)が理想値付近に収束した後、電源ノイズなどによるV1H(n)検出値の変動を低減することができなくなる。   If filtering processing is not performed, it is possible to minimize the time until convergence near the ideal value. However, if the filtering process is not performed, the fluctuation of the V1H (n) detection value due to power supply noise or the like cannot be reduced after the detection value V1Hf (n) has converged near the ideal value.

そこで、本実施形態においては、フィルタリング処理を行う前に、新たに取得した検出値V1H(n)と、前フレームにおけるフィルタリング処理後の検出値V1Hf(n)(n−1)との差分を求め、その差分値の大きさに応じて巡回係数を変更する。具体的には、差分値が大きい場合は巡回係数を高めに設定し、差分値が小さい場合は巡回係数を低めに設定する。差分値に対する巡回係数の決め方として、理想値の変化の大きさや、電源ノイズ等による検出値の変動の大きさに応じて決定すれば良い。   Therefore, in the present embodiment, before performing the filtering process, the difference between the newly acquired detection value V1H (n) and the detection value V1Hf (n) (n−1) after the filtering process in the previous frame is obtained. The cyclic coefficient is changed according to the magnitude of the difference value. Specifically, when the difference value is large, the cyclic coefficient is set higher, and when the difference value is small, the cyclic coefficient is set lower. As a method of determining the cyclic coefficient for the difference value, it may be determined according to the magnitude of the change in the ideal value or the magnitude of the fluctuation in the detection value due to power supply noise or the like.

本実施形態においては、図9(a)に示すテーブルデータを予め設け、これを参照して、新たに取得した検出値V1H(n)と、前フレームにおけるフィルタリング処理後の検出値V1Hf(n−1)との差分値に対応する巡回係数pを決定する。図9(a)のテーブルデータに示した差分値は、理想的(電源ノイズ等による検出値の変化が無い場合)には、フィルタリング処理後の検出値が1フレーム以内に、補正値を算出した際に画像上に信号レベルの段差が発生し得る限界値以下に収束するような設定値にしている。また、図9(a)においては説明の便宜上、正の差分値のみをテーブルデータとして設けたが、負の差分値も同様であり、厳密には絶対値|V1H(n)−V1Hf(n−1)|となる。   In the present embodiment, the table data shown in FIG. 9A is provided in advance, and with reference to this, the newly acquired detection value V1H (n) and the detection value V1Hf (n− after filtering processing in the previous frame) are obtained. The cyclic coefficient p corresponding to the difference value from 1) is determined. The difference value shown in the table data of FIG. 9A is ideal (when there is no change in the detection value due to power supply noise or the like), and the correction value is calculated within the detection value after filtering processing within one frame. In this case, the set value is set so as to converge below a limit value at which a level difference of the signal level may occur on the image. In FIG. 9A, for the sake of convenience of explanation, only positive difference values are provided as table data. However, negative difference values are the same, and strictly speaking, absolute values | V1H (n) −V1Hf (n− 1) |

図9(b)は、撮像素子1の駆動方法を切替える前後における、図9(a)のテーブルデータに基づいた巡回係数の設定値と、検出差分値V1H(n)−V1Hf(n−1)の変化について表した図である。同図において、オフセット補正差分値に応じて、巡回係数の設定値を変更した場合のグラフを実線、巡回係数の設定値を変更しない場合のグラフを破線で示している。また、補正値を算出した際に画像上に信号レベルの段差が発生し得る限界値10LSBについても参考として記載している。   FIG. 9B shows the cyclic coefficient setting value based on the table data of FIG. 9A and the detection difference value V1H (n) −V1Hf (n−1) before and after switching the driving method of the image sensor 1. FIG. In the figure, the graph when the set value of the cyclic coefficient is changed according to the offset correction difference value is indicated by a solid line, and the graph when the set value of the cyclic coefficient is not changed is indicated by a broken line. Further, a limit value 10LSB that can cause a step in the signal level on the image when the correction value is calculated is also described for reference.

同図において、撮像素子1の駆動方法を切替える前は、検出差分値がほぼ0LSBに近い状態(厳密には、電源ノイズ等に起因する変動が重畳している)なので、巡回係数p=0.1に設定している。撮像素子1の駆動方法を切替えるまでの期間は、巡回係数pは常に0.1に設定されたままである。   In the figure, before switching the driving method of the image sensor 1, the detection difference value is in a state close to 0LSB (strictly speaking, fluctuations due to power supply noise or the like are superimposed), so the cyclic coefficient p = 0. 1 is set. During the period until the drive method of the image sensor 1 is switched, the cyclic coefficient p is always set to 0.1.

撮像素子1の駆動方法を切替える際の制御について説明する。切替え直後のフレーム(1フレーム目)では、60LSBの検出差分値が発生しているため、図9(a)のテーブルデータに基づき、巡回係数p=0.9に設定する。そうすることで、駆動方法の切替え直後のフレームでも、駆動方法切替え後の理想値に近い検出値を取得することができる。本実施形態においては、巡回係数を変更することにより、理想的(電源ノイズ等による検出値の変化が無い場合)には、10LSB以下まで低減することができる。   Control at the time of switching the driving method of the image sensor 1 will be described. Since the 60 LSB detection difference value is generated in the frame immediately after the switching (first frame), the cyclic coefficient p is set to 0.9 based on the table data in FIG. By doing so, a detection value close to the ideal value after switching the driving method can be acquired even in a frame immediately after switching the driving method. In the present embodiment, by changing the cyclic coefficient, it can be reduced to 10 LSB or less ideally (when there is no change in the detection value due to power supply noise or the like).

駆動方法の切替え後、2フレーム目において、検出差分値が10LSBとなったため、図9(a)のテーブルデータに基づいて、巡回係数p=0.1に設定する。これ以降のフレームについても、検出差分値が10LSB以下の場合には巡回係数pを常に0.1に設定することになる。   Since the detection difference value becomes 10 LSB in the second frame after switching the driving method, the cyclic coefficient p is set to 0.1 based on the table data in FIG. For the subsequent frames, the cyclic coefficient p is always set to 0.1 when the detected difference value is 10 LSB or less.

これに対し、巡回係数p=0.1の設定を維持した状態で駆動方法を切替えた場合、検出差分値を画像上に信号レベルの段差が見え始める限界値以下に収束させるためには、18フレーム必要であった。しかし、検出差分値を求め、その大きさに応じて巡回係数pを変えることにより、1フレーム後には限界値以下となり、さらに理想値付近に収束した後は、電源ノイズ等による検出値の変動を低減させることができる。   On the other hand, in the case where the driving method is switched in a state where the cyclic coefficient p = 0.1 is maintained, in order to converge the detection difference value below the limit value at which a signal level step begins to appear on the image, 18 The frame was necessary. However, by obtaining the detection difference value and changing the cyclic coefficient p according to its magnitude, the detection value fluctuates below the limit value after one frame and further converges near the ideal value. Can be reduced.

以上説明したように、電源起動時、及び撮像素子の駆動方法を切替えた場合に、フィルタリング処理を行う前に、新たに取得した検出値V1H(n)と、前フレームまでの検出値のフィルタリング処理結果V1Hf(n−1)との差分を求める。そして、その差分値の大きさに応じて巡回係数を変更する。これにより、フィルタリング処理後の検出値V1Hf(n)と理想値との差が瞬間的に大きくなっても、検出値V1Hf(n)の収束時間を短縮することができる。また、検出値V1Hf(n)が理想値付近に収束した後には、電源ノイズ等に起因する検出値の変動を低減させることができる。   As described above, when the power is turned on and when the driving method of the image sensor is switched, before the filtering process is performed, the newly acquired detection value V1H (n) and the filtering process of the detection values up to the previous frame are performed. The difference from the result V1Hf (n-1) is obtained. Then, the cyclic coefficient is changed according to the magnitude of the difference value. Thereby, even if the difference between the detection value V1Hf (n) after the filtering process and the ideal value increases instantaneously, the convergence time of the detection value V1Hf (n) can be shortened. In addition, after the detection value V1Hf (n) converges near the ideal value, fluctuations in the detection value due to power supply noise or the like can be reduced.

(3)温度が変化した場合
検出値の理想的な値が変化する要因の一つとして、撮像素子1の温度変化がある。特に、電源起動後に撮像素子1が駆動し始めた際に、電力が撮像素子1内で消費し始めることにより急激に温度が上昇したり、この温度上昇を抑えるために、ファンやペルチェ素子などの冷却装置を用いて冷却が行われることで急激に温度が降下することがある。このような急激な温度変化により、フィルタリング処理後の検出値の理想値が急激に変化する可能性がある。
(3) When the temperature changes As one of the factors that change the ideal value of the detected value, there is a temperature change of the image sensor 1. In particular, when the image pickup device 1 starts to drive after the power is turned on, the electric power starts to be consumed in the image pickup device 1 so that the temperature suddenly rises. In order to suppress this temperature rise, a fan, a Peltier device, etc. The temperature may drop suddenly when cooling is performed using a cooling device. Due to such a rapid temperature change, there is a possibility that the ideal value of the detection value after the filtering process is rapidly changed.

このように理想値が急激に変化した場合、前述したように、電源電圧変動やパターン配線ノイズなどに起因する検出値V1Hf(n)の変動を抑えるために巡回係数を低めに設定してフィルタリング処理を行った場合、理想値に追従できない可能性がある。   When the ideal value changes suddenly in this way, as described above, the filtering coefficient is set by setting the cyclic coefficient lower in order to suppress the fluctuation of the detection value V1Hf (n) caused by the power supply voltage fluctuation or the pattern wiring noise. If this is done, the ideal value may not be followed.

そこで実施形態においては、サーミスタや温度検出センサ等を用いて測定した温度から、フレーム間の温度変化を検出し、温度の変化率に応じて巡回係数を変える処理を行う。具体的には、温度の変化率が大きい場合には巡回係数を高めに設定し、温度の変化率が小さい場合には巡回係数を低めに設定する。これにより、急激な温度変化により理想値が急激に変化した場合でも、フィルタリング処理後の検出値V1Hf(n)が理想値に対して追従させることができる。また、理想値が急激に変化することが無い場合においては、電源ノイズ等による検出値V1H(n)の変動を低減させることができる。   Therefore, in the embodiment, a temperature change between frames is detected from a temperature measured using a thermistor, a temperature detection sensor, or the like, and a cyclic coefficient is changed according to the temperature change rate. Specifically, the cyclic coefficient is set higher when the temperature change rate is large, and the cyclic coefficient is set lower when the temperature change rate is small. Thereby, even when the ideal value changes suddenly due to a rapid temperature change, the detection value V1Hf (n) after the filtering process can follow the ideal value. Further, when the ideal value does not change abruptly, fluctuations in the detection value V1H (n) due to power supply noise or the like can be reduced.

図10は、時間(フレーム)変化に対する、温度、温度変化率、巡回係数の設定値を表したイメージ図である。同図において、温度とは、サーミスタや温度検出センサにより取得された温度の値を示している。温度変化率とは、単位時間(本実施形態では、フレーム)あたりに増加した温度変化量(温度のグラフの微分値)を表している。本実施形態においては、温度変化率が高い順に、A〜Eの領域に分けているが、実際に制御を行う場合は、温度変化量を単位時間で除算した数値を用いると良い。巡回係数の設定値は、温度変化率A〜Eに対する巡回係数の設定値を示している。本実施形態においては、温度変化率A=0.5、温度変化率B=0.4、温度変化率C=0.3、温度変化率D=0.2、温度変化率E=0.1が対応している。   FIG. 10 is an image diagram showing set values of temperature, temperature change rate, and cyclic coefficient with respect to time (frame) change. In the figure, the temperature indicates a temperature value acquired by a thermistor or a temperature detection sensor. The temperature change rate represents a temperature change amount (a differential value of a temperature graph) increased per unit time (in this embodiment, a frame). In the present embodiment, the temperature change rate is divided into regions A to E in descending order. However, when the control is actually performed, a numerical value obtained by dividing the temperature change amount by unit time may be used. The cyclic coefficient setting value indicates the cyclic coefficient setting value for the temperature change rates A to E. In this embodiment, the temperature change rate A = 0.5, the temperature change rate B = 0.4, the temperature change rate C = 0.3, the temperature change rate D = 0.2, and the temperature change rate E = 0.1. Is supported.

図10において、起動直後からt1までの期間は、温度変化率がBの領域であるので、巡回係数の設定値を0.4に設定する。t1からt2までの期間は、温度変化率がCの領域であるので、巡回係数の設定値を0.3に設定する。t2からt3までの期間は、温度変化率がDの領域であるので、巡回係数の設定値を0.2に設定する。t3以降は、温度変化率がEの領域であるので、巡回係数の設定値を0.1にする。   In FIG. 10, since the temperature change rate is in the region B during the period from immediately after startup to t1, the cyclic coefficient setting value is set to 0.4. Since the temperature change rate is in the region C during the period from t1 to t2, the cyclic coefficient setting value is set to 0.3. During the period from t2 to t3, since the temperature change rate is in the region D, the cyclic coefficient setting value is set to 0.2. After t3, since the temperature change rate is in the region E, the set value of the cyclic coefficient is set to 0.1.

このように、温度の変化率が大きい場合には巡回係数を高くし、温度の変化率が小さい場合には巡回係数を低くする。これにより、急激な温度変化により理想値が急に変化した場合でも、フィルタリング処理後の検出値V1Hf(n)が理想値に対して追従する。また、理想値が急激に変化することが無い場合においては、電源ノイズ等による検出値V1Hf(n)の変動を低減させることができる。   Thus, the cyclic coefficient is increased when the temperature change rate is large, and the cyclic coefficient is decreased when the temperature change rate is small. Thereby, even when the ideal value suddenly changes due to a rapid temperature change, the detection value V1Hf (n) after the filtering process follows the ideal value. In addition, when the ideal value does not change abruptly, fluctuations in the detection value V1Hf (n) due to power supply noise or the like can be reduced.

なお、図10に示す例では、温度が上昇する場合について示しているが、温度が下降する場合も同様であり、厳密には、温度変化率の絶対値に応じて循環係数の設定値を設定する。   The example shown in FIG. 10 shows the case where the temperature rises, but the same applies when the temperature falls. Strictly speaking, the set value of the circulation coefficient is set according to the absolute value of the temperature change rate. To do.

(4)被写体のコントラスト
検出値V1H(n)が変動した場合に画像上に信号レベルの段差が見えるが、被写体のコントラストと明るさによって、目立ち易さが変わる。図11は、1フレーム分の画像の輝度分布を表すヒストグラムを示しており、横軸は信号レベル、縦軸は1フレームの画面内において発生した輝度の頻度(画素数)を示している。また、判定レベルVsとは、前述したとおり、第一のランプ信号VRAMP(大)と第二のランプ信号VRAMP(小)の切替えが行われる信号レベルを表している。
(4) Contrast of the subject When the detection value V1H (n) fluctuates, a signal level difference appears on the image, but the conspicuousness changes depending on the contrast and brightness of the subject. FIG. 11 shows a histogram representing the luminance distribution of an image for one frame, where the horizontal axis indicates the signal level, and the vertical axis indicates the frequency (number of pixels) of the luminance generated in the screen of one frame. The determination level Vs represents a signal level at which the first ramp signal VRAMP (large) and the second ramp signal VRAMP (small) are switched as described above.

図11(a)のようなヒストグラムになる画像には、判定レベルVs近傍の輝度を有する画素が多く存在している。つまり、コントラストが低く、判定レベルVs近傍の輝度レベルを中心に、徐々に明るさが変化する被写体である可能性が高いことが推測される。よって、このような画像は、判定レベルVs近傍の輝度を有する画素の発生頻度が高く、信号レベルの段差が見え易い画像であることが分かる。このような画像に対しては、フィルタリング処理後の検出値V1Hf(n)をできるだけ安定させるために、巡回係数を低めに設定するのが好ましい。   In an image having a histogram as shown in FIG. 11A, there are many pixels having luminance near the determination level Vs. That is, it is estimated that there is a high possibility that the subject has a low contrast and the brightness gradually changes around the luminance level near the determination level Vs. Therefore, it can be seen that such an image is an image in which a pixel having a luminance near the determination level Vs is frequently generated and a signal level step is easily visible. For such an image, it is preferable to set the cyclic coefficient low in order to make the detected value V1Hf (n) after the filtering process as stable as possible.

一方、図11(b)のようなヒストグラムになる画像は、判定レベルVs近傍の画素が、突出して多く存在している訳では無い。つまり、コントラストが高く、画面全体に万遍なく様々な輝度が存在するような被写体であることが推測される。このような画像は、判定レベルVs近傍の輝度を有する画素の発生頻度が低く、信号レベルの段差が見え難い画像であることが分かる。このような画像に対しては、フィルタリング処理後の検出値V1Hf(n)を安定化させる必要性は低く、巡回係数を高めに設定することで、理想値への追従性を良くするのが好ましい。   On the other hand, an image that becomes a histogram as shown in FIG. 11B does not have many pixels in the vicinity of the determination level Vs. That is, it is presumed that the subject has a high contrast and the entire screen has various luminances. It can be seen that such an image is an image in which the frequency of occurrence of pixels having luminance near the determination level Vs is low and the level difference of the signal level is difficult to see. For such an image, the necessity of stabilizing the detection value V1Hf (n) after the filtering process is low, and it is preferable to improve the followability to the ideal value by setting the cyclic coefficient higher. .

本実施形態においては、ヒストグラム(輝度分布)に応じて、最適な巡回フィルタの係数を決定する。具体的には、判定レベルVs近傍の信号レベルの画素に対して重み付けを行い、重み付けされた画素の発生数だけ積算した、重み付け積算値を算出することで、判定レベルVs近傍の画素がどれだけ存在したかを求める。そして、重み付け積算値の値に応じてフィルタリング処理における巡回係数の設定値を決定する。   In the present embodiment, an optimum cyclic filter coefficient is determined according to a histogram (luminance distribution). Specifically, the number of pixels in the vicinity of the determination level Vs is calculated by calculating the weighted integration value by weighting the pixels of the signal level in the vicinity of the determination level Vs and integrating the number of occurrences of the weighted pixels. Find out if it existed. Then, the set value of the cyclic coefficient in the filtering process is determined according to the value of the weighted integrated value.

図12(a)は、重み付けを行う際に用いる重み付け係数の一例を示す。横軸が信号レベルで、縦軸が重み付け係数を示している。同図において、判定レベルVsの信号レベルの係数を1.0とし、判定レベルVsに対して信号レベルの差分が大きくなるにつれて、重み付け係数を小さくしていく。判定レベルVsの重み付係数に対する信号レベルの差がある程度大きい場合は、信号レベルの段差が影響する可能性が低いため、重み付係数を0に設定する。なお、重み付け係数を0に設定する信号レベルを決定する際には、S信号レベル近傍で発生し得る電源ノイズ等による検出値V1H(n)の変動の大きさを考慮すれば良い。   FIG. 12A shows an example of a weighting coefficient used when weighting is performed. The horizontal axis represents the signal level, and the vertical axis represents the weighting coefficient. In the figure, the signal level coefficient of the determination level Vs is set to 1.0, and the weighting coefficient is decreased as the difference in signal level with respect to the determination level Vs increases. When the signal level difference with respect to the weighting coefficient of the determination level Vs is large to some extent, the possibility that the level difference of the signal level is affected is low. Note that when determining the signal level at which the weighting coefficient is set to 0, the magnitude of variation in the detected value V1H (n) due to power supply noise or the like that may occur in the vicinity of the S signal level may be taken into consideration.

上記方法にて重み付けされた各画素に対して、画素数分だけ積算していくことで、重み付け積算値が算出される。この算出された積算値に応じて、フィルタリング処理における巡回係数の設定値を決定する。   A weighted integrated value is calculated by integrating each pixel weighted by the above method by the number of pixels. The set value of the cyclic coefficient in the filtering process is determined according to the calculated integrated value.

図12(b)は、重み付け積算値に対する巡回係数の設定値を示したイメージ図である。横軸が重み付け積算値を示しており、縦軸が巡回係数の設定値を示している。同図に示すように、重み付け積算値が大きくなるにつれて、巡回係数の設定値は低くなる。   FIG. 12B is an image diagram showing the set value of the cyclic coefficient with respect to the weighted integrated value. The horizontal axis indicates the weighted integrated value, and the vertical axis indicates the cyclic coefficient setting value. As shown in the figure, the cyclic coefficient set value decreases as the weighted integrated value increases.

上記処理を行うことで、信号レベルの段差が被写体として見え易いものであるかどうかを判定し、判定結果に応じて巡回係数の設定値を変更する。これにより、撮影した被写体の輝度分布に応じて、フィルタリング処理後の検出値V1Hf(n)の安定化と、理想値への追従性を最適化することができる。   By performing the above processing, it is determined whether or not the signal level step is easily visible as a subject, and the cyclic coefficient setting value is changed according to the determination result. Thereby, it is possible to optimize the detection value V1Hf (n) after the filtering process and the followability to the ideal value according to the luminance distribution of the photographed subject.

また、本実施形態においては、画面全体のヒストグラムを用いて説明したが、画面内の複数の領域に分割してヒストグラムを作成しても良い。そうすることで、画面内のある領域では段差が発生しやすく、ある領域では発生し難いような被写体においても、上記した最適化をより精度良く実現することができる。   Further, although the present embodiment has been described using the histogram of the entire screen, the histogram may be created by dividing into a plurality of areas in the screen. By doing so, the above-described optimization can be realized with higher accuracy even in a subject that is likely to have a step in a certain area in the screen and difficult to occur in a certain area.

以上説明したように、判定レベル近傍の信号レベルの画素に対して重み付けを行い、重み付けされた画素の発生数だけ積算した重み付け積算値を算出し、その積算値の結果に応じて巡回係数の設定値を変更する。これにより、撮影した被写体の輝度分布に応じて、検出値の安定化と、理想値への追従性を最適化することができる。   As described above, the pixels of the signal level near the determination level are weighted, the weighted integrated value calculated by the number of occurrences of the weighted pixels is calculated, and the cyclic coefficient is set according to the result of the integrated value. Change the value. As a result, the detection value can be stabilized and the followability to the ideal value can be optimized according to the luminance distribution of the photographed subject.

(5)フレームレート
前述したように、理想値は、温度変化に応じて変化する。その理想値に対してフィルタリング処理後の検出値V1Hf(n)を追従させるためには、検出値V1H(n)を頻繁に取得し、更新していく必要がある。
(5) Frame rate As described above, the ideal value changes according to the temperature change. In order to follow the detection value V1Hf (n) after the filtering process with respect to the ideal value, it is necessary to frequently acquire and update the detection value V1H (n).

しかし、低フレームレート時においては、検出値V1H(n)の取得が頻繁に行えないため、フレームレートによっては、フィルタリング処理後の検出値V1Hf(n)が理想値の変化に追従するのが遅れてしまう可能性がある。特に、電源ノイズ等による検出値V1H(n)の変動が大きい場合、巡回係数を低めに設定する必要があるため、急激な温度変化による理想値の変動に対して、検出値V1Hf(n)の追従が遅れてしまう。そこで、本実施形態では、フレームレートに応じて、巡回係数の設定値を変更する。   However, since the detection value V1H (n) cannot be frequently obtained at a low frame rate, the detection value V1Hf (n) after the filtering process is delayed in following the change in the ideal value depending on the frame rate. There is a possibility that. In particular, when the fluctuation of the detected value V1H (n) due to power supply noise or the like is large, it is necessary to set the cyclic coefficient to a low value, so that the detected value V1Hf (n) Follow-up will be delayed. Therefore, in the present embodiment, the cyclic coefficient setting value is changed according to the frame rate.

図13は、フレームレートに対する巡回係数pの設定値を示している。フレームレートが低いほど、巡回係数pの設定値は大きくなり、フレームレートが高くなるにつれて巡回係数pの設定値は小さくなる。つまり、単位時間あたりに取得できる検出値V1H(n)の数が少ないほど、新たに取得した検出値V1H(n)がフィルタリング処理後の検出値V1Hf(n)に与える影響度が大きくなる。よって、フレームレートが低いほど、温度変化による理想値の変動に対して追従し易くなる。各巡回係数に対するフレームレートの範囲は、温度変化率と、電源ノイズ等による検出値V1H(n)の変動を考慮して決めればよい。   FIG. 13 shows the set value of the cyclic coefficient p with respect to the frame rate. The lower the frame rate, the larger the set value of the cyclic coefficient p. The higher the frame rate, the smaller the set value of the cyclic coefficient p. That is, the smaller the number of detection values V1H (n) that can be acquired per unit time, the greater the degree of influence that the newly acquired detection value V1H (n) has on the detection value V1Hf (n) after the filtering process. Therefore, the lower the frame rate, the easier it is to follow the ideal value variation due to temperature changes. The range of the frame rate for each cyclic coefficient may be determined in consideration of the temperature change rate and the fluctuation of the detected value V1H (n) due to power supply noise or the like.

以上説明したように、フレームレートに応じて巡回係数の設定値を変更することで、検出値の更新頻度が少ない低フレームレート時においても、フィルタリング処理後の検出値が理想値の変動に対して追従する速度と、検出値の安定化を最適化することができる。   As described above, by changing the setting value of the cyclic coefficient according to the frame rate, the detection value after filtering processing can be applied to fluctuations in the ideal value even at low frame rates where the detection value update frequency is low. The following speed and the stabilization of the detected value can be optimized.

(6)映像として使用しないフレームがある場合
フレームレートに応じて巡回係数を変更する場合について前述したが、撮像素子1の処理によっては、撮像素子1から画像を読み出すが、実際に出力画像としては用いない場合がある。例えば、120fpsで撮像素子1から画像を読み出し、30fpsで映像出力されるとする。この場合、4フレーム分の画像のうち、1枚の画像しか実際の画像としては使用されない。
(6) When there is a frame that is not used as an image As described above, the cyclic coefficient is changed according to the frame rate. Depending on the processing of the image sensor 1, an image is read from the image sensor 1, but the actual output image is It may not be used. For example, it is assumed that an image is read from the image sensor 1 at 120 fps and video is output at 30 fps. In this case, only one image is used as an actual image among the images for four frames.

前述したように、できるだけ高い頻度で検出値を取得した方が、フィルタリング処理による検出値の安定化を実現できるため、映像出力として使用しないフレームの画像についても検出値V1H(n)を求め、フィルタリング処理に用いる。具体的には、映像出力として用いるフレームの検出値V1H(n)のみを用いてフィルタリング処理した結果と、検出値V1H(n)に加えて、映像出力として用いないフレームの検出値V1H(n)も用いてフィルタリング処理した結果の差分を取る。これにより、検出値V1H(n)の安定度を判定する。上記差分が大きければ安定していないと判定され、上記差分が小さければ安定していると判定される。   As described above, since the detection value can be stabilized by filtering processing if the detection value is acquired as frequently as possible, the detection value V1H (n) is obtained for the image of the frame that is not used as the video output. Used for processing. Specifically, in addition to the result of filtering using only the detection value V1H (n) of the frame used as the video output and the detection value V1H (n), the detection value V1H (n) of the frame not used as the video output Is also used to take the difference of the filtering results. Thereby, the stability of the detected value V1H (n) is determined. If the difference is large, it is determined that the difference is not stable, and if the difference is small, it is determined that the difference is stable.

上記判定結果により、安定度が高い場合には、電源ノイズ等による検出値の変動が小さいため、追従性を早くするために巡回係数を高めに設定する。一方、安定度が低い場合には、電源ノイズ等による検出値の変動が大きいため、巡回係数を低めに設定する。   If the stability is high according to the determination result, the fluctuation of the detection value due to power supply noise or the like is small, so that the cyclic coefficient is set to be high in order to speed up the followability. On the other hand, when the stability is low, the detection value varies greatly due to power supply noise or the like, so the cyclic coefficient is set to be low.

本実施形態では、映像出力するフレームのみを用いてフィルタリング処理を行ったときの検出値をV1Hf(n)とし、映像出力しないフレームも用いてフィルタリング処理を行ったときの検出値をV1Hf´(n)とする。そして、安定度を判定するために、V1Hf(n)−V1Hf´(n)を算出する。   In the present embodiment, the detection value when the filtering process is performed using only the frame that outputs video is V1Hf (n), and the detection value when the filtering process is performed using the frame that does not output video is V1Hf ′ (n ). Then, in order to determine the stability, V1Hf (n) −V1Hf ′ (n) is calculated.

図14(a)は、時間(フレーム)変化に対する、検出値V1H(n)と、映像出力する画像のみを用いてフィルタリング処理を行ったときの検出値V1Hf(n)と、映像出力しない画像も用いてフィルタリング処理を行ったときの検出値V1Hf´(n)と、安定度を表すV1Hf(n)−V1Hf´(n)を示したグラフである。   FIG. 14A shows a detected value V1H (n) with respect to time (frame) change, a detected value V1Hf (n) when filtering processing is performed using only an image to be output, and an image that is not output. It is the graph which showed detection value V1Hf '(n) when performing a filtering process using, and V1Hf (n) -V1Hf' (n) showing stability.

同図において、横軸は時間(フレーム表記で、期間は1〜100フレーム)を示し、縦軸は検出値V1H(n)、V1Hf(n)、V1Hf´(n)、及び差分値V1Hf(n)−V1Hf´(n)を示している。本実施形態においては、映像出力する画像のみを用いてフィルタリング処理を行った時の検出値V1Hf(n)は、巡回係数を高めに設定している。一方、映像出力しない画像も用いてフィルタリング処理を行ったときの検出値V1Hf´(n)は、できるだけ安定した検出値を取得するために(安定度を判定するための基準となるため)、巡回係数を最も低い設定にしている。このときの差分値V1Hf(n)−V1Hf´(n)が大きければ大きいほど、検出値V1Hf(n)が安定していないことになる。   In the figure, the horizontal axis indicates time (in frame notation, the period is 1 to 100 frames), and the vertical axis indicates the detection values V1H (n), V1Hf (n), V1Hf ′ (n), and the difference value V1Hf (n ) −V1Hf ′ (n). In the present embodiment, the detection value V1Hf (n) when the filtering process is performed using only the image to be output is set to a higher cyclic coefficient. On the other hand, the detection value V1Hf ′ (n) when the filtering process is performed also using an image that is not output is a cyclic value in order to obtain a detection value that is as stable as possible (because it serves as a reference for determining stability). The coefficient is set to the lowest setting. As the difference value V1Hf (n) −V1Hf ′ (n) at this time is larger, the detected value V1Hf (n) is not stable.

本実施形態では、図14(b)に示すように、差分値V1Hf(n)−V1Hf´(n)の大きさに応じた、巡回係数pに乗算するための乗算値qの値をテーブルデータとして持ち、このテーブルデータに基づいて、巡回係数pに乗算値qを乗算する処理を行う。こうすることで、映像出力する画像のみを用いてフィルタリング処理を行ったときの検出値V1Hf(n)を算出するために用いる巡回係数が、安定度の観点から適正でない場合に、巡回係数を最適化させることができる。なお、図14(b)においては説明の便宜上、正の差分値のみをテーブルデータとして設けたが、負の差分値も同様であり、厳密には絶対値|V1Hf(n)−V1Hf´(n)|となる。   In the present embodiment, as shown in FIG. 14B, the value of the multiplication value q for multiplying the cyclic coefficient p according to the magnitude of the difference value V1Hf (n) −V1Hf ′ (n) is table data. The cyclic coefficient p is multiplied by the multiplication value q based on the table data. In this way, when the cyclic coefficient used for calculating the detection value V1Hf (n) when performing the filtering process using only the image to be output is not optimal from the viewpoint of stability, the cyclic coefficient is optimized. It can be made. In FIG. 14B, only positive difference values are provided as table data for convenience of explanation, but negative difference values are also the same, strictly speaking, absolute values | V1Hf (n) −V1Hf ′ (n ) |

上記の通り、映像出力として用いるフレームの検出値V1H(n)のみを用いてフィルタリング処理した結果と、フレームの検出値V1H(n)に加えて、映像出力として用いないフレームの検出値V1H(n)も用いてフィルタリング処理した結果の差分を取る。そして、映像出力として用いるフレームの検出値の安定度を求め、安定度に応じて巡回係数を変更することにより、巡回係数を最適化することができる。   As described above, in addition to the result of filtering using only the detection value V1H (n) of the frame used as the video output and the detection value V1H (n) of the frame, the detection value V1H (n of the frame not used as the video output ) Is also used to take the difference between the filtering results. Then, the stability of the detection value of the frame used as the video output is obtained, and the cyclic coefficient can be optimized by changing the cyclic coefficient according to the stability.

(7)被写体の動き
電源ノイズ等による検出値V1H(n)の変動に起因して発生するレベル段差の見え方は、被写体によって目立ち方が変わる。特に、動画の場合は、被写体に動きが無い状態だと見え易いが、被写体に動きがあると、各画素の信号レベルが常に変化していることが多いため、目立ち難くなる。
(7) Movement of subject The appearance of the level difference caused by the fluctuation of the detection value V1H (n) due to power supply noise or the like varies depending on the subject. In particular, in the case of a moving image, it is easy to see when there is no movement of the subject, but when there is movement of the subject, the signal level of each pixel often changes constantly, so it becomes difficult to stand out.

そこで、本実施形態においては、被写体の動き量に応じて巡回係数を決定する処理を行う。動き量を検出するには、一般的に用いられている、ジャイロセンサを用いる方法や、取得した画像から動きベクトルを算出し、動き量を検出する方法などがある。被写体の動き量の検出については、既知の技術を用いて検出するものとし、詳細については説明を省略する。   Therefore, in the present embodiment, processing for determining a cyclic coefficient according to the amount of movement of the subject is performed. In order to detect the amount of motion, there are a commonly used method using a gyro sensor, a method of calculating a motion vector from an acquired image, and a method of detecting the amount of motion. The detection of the amount of movement of the subject is assumed to be performed using a known technique, and a detailed description thereof is omitted.

図15は、被写体の動き量に対する、巡回係数に乗算する乗算値qを表したテーブルデータである。本実施形態においては、被写体の動き量が小さい場合を基準(1.0倍)として、被写体の動き量が大きくなるにつれて巡回係数を高くし、検出値V1Hf(n)が理想値に対して追従し易くなるような処理を行う。なお、本実施形態においては、被写体の動き量が大きい時の乗算値qを4.0倍としているが、巡回係数pと乗算値qとの乗算結果が1.0よりも大きくなった場合は、乗算結果を1.0とする。なお、図15では動き量を「大」、「中」、「小」と表しているが、動き量を検出する方法に応じて、動き量の範囲を適宜分ければ良い。   FIG. 15 is table data representing a multiplication value q by which the cyclic coefficient is multiplied with respect to the amount of movement of the subject. In the present embodiment, assuming that the amount of movement of the subject is small (1.0 times), the cyclic coefficient is increased as the amount of movement of the subject increases, and the detection value V1Hf (n) follows the ideal value. A process that makes it easier to perform is performed. In the present embodiment, the multiplication value q when the amount of movement of the subject is large is 4.0 times. However, when the multiplication result of the cyclic coefficient p and the multiplication value q is larger than 1.0. The multiplication result is 1.0. In FIG. 15, the amount of motion is represented as “large”, “medium”, and “small”, but the range of the amount of motion may be appropriately divided according to the method of detecting the amount of motion.

これにより、被写体として信号レベルの段差が見え難い条件においては、フィルタリング処理後の検出値V1Hf(n)が理想値に対して追従し易くし、かつ被写体として段差が見え易い条件においては、検出値V1Hf(n)の変動を低減させることができる。従って、検出値V1Hf(n)の理想値への追従性と、電源ノイズ等に起因する検出値の変動の低減効果を、最適化することができる。   As a result, the detection value V1Hf (n) after the filtering process is easy to follow the ideal value under the condition that the step of the signal level is difficult to see as the subject, and the detection value under the condition that the step is easy to see as the subject. Variations in V1Hf (n) can be reduced. Therefore, it is possible to optimize the followability of the detection value V1Hf (n) to the ideal value and the effect of reducing fluctuations in the detection value caused by power supply noise or the like.

以上説明したように、被写体の動き量を検出し、検出した動き量に応じて巡回係数を変更する。これにより、被写体に応じてフィルタリング処理後の検出値V1Hf(n)の理想値への追従性と、電源ノイズ等に起因する検出値の変動の低減効果を、最適化することができる。   As described above, the amount of movement of the subject is detected, and the cyclic coefficient is changed according to the detected amount of movement. As a result, it is possible to optimize the followability of the detected value V1Hf (n) after filtering processing to the ideal value and the effect of reducing fluctuations in the detected value caused by power supply noise or the like according to the subject.

(8)カラーフィルタの分光特性
前述したように、撮像素子で用いられるカラーフィルタは、R、G、Bの3色の原色カラーフィルタを用いたベイヤー配列の周期構造をとっているのが一般的である。上述したR、G、Bの3色のカラーフィルタを備えた各々の画素から出力される画素信号のうち、人間の視覚特性として、G画素に対して非常に敏感であるのに対し、RB画素に対してはG画素ほどは敏感で無いという特徴がある。つまり、信号レベルの段差がG画素に対しては目立って見えるのに対し、RB画素は、G画素ほどは目立ち難い。例として、G画素は信号レベルの段差が±10LSBを超えたときに目立ち始めるが、RB画素については、±20LSBまでは目立たないといった、視覚的なレベル段差の見え方(限界値)の違いが生じる。
(8) Spectral characteristics of the color filter As described above, the color filter used in the image sensor generally has a Bayer array periodic structure using three primary color filters of R, G, and B. It is. Of the pixel signals output from the respective pixels having the three color filters of R, G, and B described above, RB pixels are very sensitive to G pixels as human visual characteristics. Is not as sensitive as G pixels. That is, while the signal level difference is conspicuous for the G pixel, the RB pixel is less conspicuous than the G pixel. As an example, the G pixel starts to stand out when the signal level step exceeds ± 10 LSB, but the RB pixel does not stand out until ± 20 LSB, and there is a difference in visual level step appearance (limit value). Arise.

そこで、本実施形態においては、G画素を基準(1.0)として、R画素、B画素の巡回係数pに対して、乗算値qを乗算することで、RGB画素毎に異なる巡回係数を設定する。具体的には、G画素に対して、RB画素の乗算値qを1.0よりも大きくすることで、フィルタリング処理後の検出値V1Hf(n)の変動が画像上に信号レベルの段差が見え始める限界値以下の状態を維持しつつ、かつ理想値への追従を早めることが可能となる。特に、電源起動時や撮像素子の駆動方法の切替え時などに急激に検出値V1H(n)が変化することがあるが、急激な変化に対しては感度の低いRB画素でも、信号レベルの段差として見えてしまう。つまり、RB画素の巡回係数を、補正値を算出した際に画像としてレベル段差が発生し得る限界値(±20LSB)以下に抑えつつ、理想値への追従速度はできるだけ早くしておくことがRB画素の巡回係数として好ましい。   Therefore, in the present embodiment, a cyclic coefficient different for each RGB pixel is set by multiplying the cyclic coefficient p of the R pixel and the B pixel by a multiplication value q with the G pixel as a reference (1.0). To do. Specifically, by making the multiplication value q of the RB pixel larger than 1.0 with respect to the G pixel, the fluctuation of the detection value V1Hf (n) after the filtering process can be seen on the image as a signal level step. It becomes possible to speed up the follow-up to the ideal value while maintaining the state below the starting limit value. In particular, the detection value V1H (n) may change abruptly when the power is turned on or when the driving method of the image sensor is switched. Will appear as. In other words, it is necessary to keep the tracking speed to the ideal value as fast as possible while keeping the cyclic coefficient of the RB pixel below a limit value (± 20 LSB) that can cause a level difference in the image when calculating the correction value. It is preferable as a cyclic coefficient of a pixel.

図16は、カラーフィルタの各色に対する、巡回係数への乗算値qを示している。G画素が基準となるため、G画素の乗算値qは1.0倍としている。また、本実施形態では、R画素、B画素については、乗算値qを2.0倍としている。なお、本実施形態においては、RB画素の乗算値qを2.0倍としているが、巡回係数pと乗算値qとの乗算結果が1.0よりも大きくなった場合は、乗算結果を1.0とする。   FIG. 16 shows a multiplication value q to the cyclic coefficient for each color of the color filter. Since the G pixel is the reference, the multiplication value q of the G pixel is set to 1.0 times. In the present embodiment, the multiplication value q is set to 2.0 times for the R pixel and the B pixel. In the present embodiment, the multiplication value q of the RB pixel is set to 2.0 times. However, when the multiplication result of the cyclic coefficient p and the multiplication value q is larger than 1.0, the multiplication result is set to 1. .0.

こうすることで、フィルタリング処理後の検出値V1Hf(n)の変動を、補正値を算出した際に画像としてレベル段差が発生し得る限界値以下に抑えつつ、急激な理想値の変化に対しても、検出値V1Hf(n)を迅速に追従させることができる。   By doing so, the fluctuation of the detection value V1Hf (n) after the filtering process is suppressed to a value less than a limit value at which a level step can be generated as an image when the correction value is calculated, and against a sudden change in ideal value. In addition, the detection value V1Hf (n) can be quickly followed.

以上説明したように、R画素、G画素、B画素毎に異なる巡回係数を設定し、各々の画素に対して巡回係数を最適化する。これにより、各色の画素の検出値V1Hf(n)の変動を、補正値を算出した際に画像としてレベル段差が発生し得る限界値以下に抑えつつ、急激な理想値の変化に対してもフィルタリング処理後の検出値V1Hf(n)を迅速に追従させることができる。   As described above, different cyclic coefficients are set for each of the R pixel, G pixel, and B pixel, and the cyclic coefficient is optimized for each pixel. As a result, the fluctuation of the detection value V1Hf (n) of the pixel of each color is suppressed to a value less than a limit value at which a level difference can be generated as an image when the correction value is calculated, and filtering is also performed for a sudden change in ideal value. The detected value V1Hf (n) after processing can be followed quickly.

(9)列アンプ群130のゲイン切替えに応じて判定レベルを変更した場合
低照度時において、画像信号のS/N比を改善するために、撮像素子1の列アンプ群130のゲインを切替えることがある。列アンプ群130のゲインを切替えることで、列アンプ群130以降の回路にて発生するノイズ成分を、画素信号に対して相対的に小さくすることが可能となり、S/N比を改善することができる。
(9) When the judgment level is changed in accordance with the gain switching of the column amplifier group 130 In order to improve the S / N ratio of the image signal at low illumination, the gain of the column amplifier group 130 of the image sensor 1 is switched. There is. By switching the gain of the column amplifier group 130, it becomes possible to reduce the noise component generated in the circuits subsequent to the column amplifier group 130 relative to the pixel signal, thereby improving the S / N ratio. it can.

本実施形態においては、列アンプ群130のゲインは、アナログゲインを想定しており、離散的なゲイン設定を持つ。具体的には、×2、×4の設定を持ち、通常は×2の設定となっており、低照度時には×4の設定に切替える。   In this embodiment, the gain of the column amplifier group 130 is assumed to be an analog gain and has a discrete gain setting. Specifically, it has settings of x2 and x4, which is normally set to x2, and is switched to the setting of x4 at low illuminance.

判定レベルVs近傍の信号レベルを有する画素信号が、列アンプ群130のゲイン設定の切替えにより増幅された場合、判定レベルVsをゲイン切替えによる増幅率に対応するように高いレベルに変更する必要がある。これは、万が一レベル段差が生じていた場合に、画面内における信号レベルの段差の発生位置が瞬時に変わってしまうからである。特に、列アンプ群130のゲインの切替え後において、信号レベルの段差が発生する画素が多い場合、画像として目立ってしまう。本実施形態では、列アンプ群130のゲイン切替えに応じて判定レベルVsを変更する際における、巡回係数の設定方法について説明する。   When a pixel signal having a signal level near the determination level Vs is amplified by switching the gain setting of the column amplifier group 130, it is necessary to change the determination level Vs to a high level so as to correspond to the amplification factor by gain switching. . This is because in the unlikely event that a level difference occurs, the position where the signal level difference occurs in the screen changes instantaneously. In particular, after the gain of the column amplifier group 130 is switched, if there are many pixels in which signal level differences occur, the image becomes conspicuous. In the present embodiment, a cyclic coefficient setting method when the determination level Vs is changed according to the gain switching of the column amplifier group 130 will be described.

本第1の実施形態では、列アンプ群130のゲイン切替え後に変更された判定レベルVsに応じて、巡回係数pに乗算するための乗算値qの設定値を変更する。図17は、列アンプ群130のゲイン切替え後の判定レベルVsに対する、巡回係数に乗算する乗算値qを示している。ここでは、AD変換のレンジが最大で12bit(0〜4095LSB)であって、乗算値qの基準値(×1.0)は、列アンプ群130のゲイン切替え後の判定レベルVsが、段差レベルが最も目立ち難い0〜511LSBの範囲であった場合とする。   In the first embodiment, the set value of the multiplication value q for multiplying the cyclic coefficient p is changed according to the determination level Vs changed after the gain switching of the column amplifier group 130. FIG. 17 shows a multiplication value q by which the cyclic coefficient is multiplied with respect to the determination level Vs after the gain switching of the column amplifier group 130. Here, the AD conversion range is 12 bits (0 to 4095 LSB) at the maximum, and the reference value (× 1.0) of the multiplication value q is the step level of the determination level Vs after the gain switching of the column amplifier group 130. Is in the range of 0 to 511 LSB, which is the least noticeable.

上記基準値に対し、列アンプ群130のゲイン切替え後の判定レベルVsが2048〜4095LSBの場合は乗算値q=4.0倍、判定レベルVsが512〜2047LSBの場合は乗算値q=2.0倍となるようにする。つまり、段差レベルが目立ち易くなるにつれて、巡回係数が高くなるように設定し、追従性を向上させる。なお、本実施形態においては、列アンプ切替え後の信号レベルが2048〜4095LSBの場合、乗算値qを4.0倍としているが、巡回係数pと乗算値qとの乗算結果が1.0よりも大きくなった場合は、乗算結果を1.0とする。   When the determination level Vs after gain switching of the column amplifier group 130 is 2048 to 4095 LSB with respect to the reference value, the multiplication value q = 4.0 times, and when the determination level Vs is 512 to 2047 LSB, the multiplication value q = 2. Make it 0 times. That is, as the step level becomes more conspicuous, the cyclic coefficient is set so as to increase, and the followability is improved. In this embodiment, when the signal level after column amplifier switching is 2048 to 4095 LSB, the multiplication value q is 4.0 times, but the multiplication result of the cyclic coefficient p and the multiplication value q is 1.0. Is also larger, the multiplication result is set to 1.0.

これにより、列アンプ群130のゲイン切替え後の判定レベルVsが大きい場合、すなわちS信号の信号レベルの段差が目立ち易い場合は、巡回係数を一時的に高くすることでフィルタリング処理後の検出値V1Hf(n)を迅速に理想値付近に収束させる。一方、列アンプ群130のゲイン切替え後の判定レベルVsが小さい場合、すなわちS信号の信号レベルの段差が目立ち難い場合は、巡回係数を低いまま維持することでフィルタリング処理後の検出値V1Hf(n)の変動を低減させる。また、列アンプ群130のゲイン切替え直後のみ、この乗算値を適用しても良い。   As a result, when the determination level Vs after the gain switching of the column amplifier group 130 is large, that is, when the level difference of the signal level of the S signal is easily noticeable, the detection value V1Hf after the filtering process is increased by temporarily increasing the cyclic coefficient. (N) is quickly converged to the vicinity of the ideal value. On the other hand, when the determination level Vs after the gain switching of the column amplifier group 130 is small, that is, when the level difference of the signal level of the S signal is inconspicuous, the detection value V1Hf (n after filtering) is maintained by keeping the cyclic coefficient low. ). Further, the multiplication value may be applied only immediately after the gain switching of the column amplifier group 130.

以上説明したように、列アンプ群130のゲイン切替えに応じて判定レベルを変更する際に、列アンプ群130のゲイン切替え後に設定した判定レベルVsの大きさに応じて、巡回係数の設定値を変更する。これにより、画像として段差が見え難い状態を維持しつつ、フィルタリング処理後の検出値V1Hf(n)が理想値付近に収束するまでの時間と、ノイズによる検出値の変動の低減効果を、最適化させることができる。   As described above, when the determination level is changed according to the gain switching of the column amplifier group 130, the cyclic coefficient setting value is set according to the magnitude of the determination level Vs set after the gain switching of the column amplifier group 130. change. This optimizes the time until the detected value V1Hf (n) after the filtering process converges to the vicinity of the ideal value and the effect of reducing fluctuations in the detected value due to noise while maintaining a state in which the level difference is difficult to see as an image. Can be made.

以上、好適なフィルタリング処理方法について、いくつかの例を挙げて説明したが、これら複数を考慮して巡回係数を決定しても良い。また、本実施形態においては一つの例として巡回係数を示してきたが、各条件に対する巡回係数の設定方法としては必ずしもこの限りでなく、ノイズの発生条件や、温度変化率、撮像素子の駆動切り替えによる理想値の変化量などに応じて決定すると良い。   The preferred filtering processing method has been described above with some examples, but the cyclic coefficient may be determined in consideration of the plurality of examples. In the present embodiment, the cyclic coefficient has been shown as an example. However, the cyclic coefficient setting method for each condition is not necessarily limited to this. The noise generation condition, the temperature change rate, and the drive switching of the image sensor It may be determined according to the amount of change in the ideal value due to.

また、本実施例においては、フィルタリング処理を行う対象として、検出値V1Hを用いて説明したが、前述したように、V1L、V2H、V2Lについても同様の処理を行う必要がある。これらの検出値V1H、V1L、V2H、V2Lを安定化させることで、補正値α、βの値の安定化を実現することができる。なお、検出値V1L、V2H、V2Lに対しても、上記式(3)に示すようなフィルタリング処理を行うが、式(3)を検出値V1H、V1L、V2H、V2Lに対して一般化すると、以下の式(5)のように表すことができる。
Vf(n)=V(n)×p+Vf(n−1)×(1−p)
(0≦p≦1) …(5)
式(5)において、Vf(n)は、nフレーム目におけるフィルタリング処理後の検出値、V(n)はnフレーム目に取得したダミー画素の読み出し期間中に取得された新たな検出値である。また、Vf(n−1)はn−1フレーム目におけるフィルタリング処理後の検出値であり、巡回係数をp(0≦p≦1)としている。
In the present embodiment, the detection value V1H has been described as the target for the filtering process. However, as described above, the same process needs to be performed for V1L, V2H, and V2L. By stabilizing these detection values V1H, V1L, V2H, and V2L, the correction values α and β can be stabilized. Note that the filtering process shown in the above equation (3) is also performed on the detection values V1L, V2H, and V2L. If equation (3) is generalized to the detection values V1H, V1L, V2H, and V2L, It can be expressed as the following formula (5).
Vf (n) = V (n) * p + Vf (n-1) * (1-p)
(0 ≦ p ≦ 1) (5)
In Expression (5), Vf (n) is a detection value after filtering processing in the nth frame, and V (n) is a new detection value acquired during the dummy pixel readout period acquired in the nth frame. . Vf (n−1) is a detection value after filtering processing in the (n−1) th frame, and the cyclic coefficient is p (0 ≦ p ≦ 1).

また、上記方法以外で、補正値α、βを求めるための演算の途中に得られる、式(1)、式(2)に記載した項ごとに巡回フィルタをかけても良い。具体的には、V2H−V1Hの算出結果(中間値)と、V2L−V1Lの算出結果(中間値)に対してフィルタリング処理を行うこともできる。このような処理を行うことで、V2HとV1Hに同じレベルの外乱ノイズが発生した場合は、打ち消し合って巡回係数を高めに設定することができるため、フィルタリング処理後の検出差分値V2H−V1Hが理想値付近まで収束する速度を早めることができる。   In addition to the above method, a cyclic filter may be applied to each term described in Expression (1) and Expression (2) obtained in the middle of calculation for obtaining correction values α and β. Specifically, a filtering process may be performed on the calculation result (intermediate value) of V2H-V1H and the calculation result (intermediate value) of V2L-V1L. By performing such processing, if disturbance noise of the same level occurs in V2H and V1H, the cyclic coefficient can be set higher by canceling each other, so that the detection difference value V2H−V1H after filtering processing is The speed of convergence to near the ideal value can be increased.

どの方法を用いるかは、検出値を取得するためのダミー画素の配置や、外乱ノイズの発生の仕方などを考慮して決めれば良い。   Which method is to be used may be determined in consideration of the arrangement of dummy pixels for obtaining the detection value, the manner in which disturbance noise is generated, and the like.

<第2の実施形態>
以下、本発明の第2の実施形態について説明する。第2の実施形態において用いられる撮像装置は、第1の実施形態で図1を参照して説明した撮像装置と同様の構成を有するため、説明は省略し、差異についてのみ説明する。
<Second Embodiment>
Hereinafter, a second embodiment of the present invention will be described. Since the imaging apparatus used in the second embodiment has the same configuration as the imaging apparatus described with reference to FIG. 1 in the first embodiment, description thereof will be omitted, and only differences will be described.

第2の実施形態では、図5に示す第1の実施形態の画素部110の構成に対して、図18に示すように、有効画素領域を水平方向に4分割している。画面左から順に、有効画素領域A、有効画素領域B、有効画素領域C、有効画素領域Dとする。また、有効画素領域に対応させて、ダミー画素も水平方向に4分割し、画面左から順に、ダミー画素領域A、ダミー画素領域B、ダミー画素領域C、ダミー画素領域Dとする。このように、水平方向に対していくつかの領域に分割することで、AD変換器の性能が水平方向にばらついた場合でも、より理想値に近い補正を行うことができる。   In the second embodiment, the effective pixel region is divided into four in the horizontal direction as shown in FIG. 18 with respect to the configuration of the pixel unit 110 of the first embodiment shown in FIG. In order from the left side of the screen, an effective pixel area A, an effective pixel area B, an effective pixel area C, and an effective pixel area D are set. Further, the dummy pixels are also divided into four in the horizontal direction so as to correspond to the effective pixel areas, and are set as a dummy pixel area A, a dummy pixel area B, a dummy pixel area C, and a dummy pixel area D in order from the left of the screen. Thus, by dividing into several areas with respect to the horizontal direction, correction closer to the ideal value can be performed even when the performance of the AD converter varies in the horizontal direction.

上述した第1の実施形態では、画面全体のダミー画素を用いて検出値V1H、V1L、V2H、V2Lを取得したが、本実施形態においては、分割されたA〜Dの領域毎に検出値を取得する。上記領域ごとに算出された検出値V1H、V1L、V2H、V2Lについては、上述した第1の実施形態と同様の処理を行うことで、信号レベルの段差が見えないようにする。   In the first embodiment described above, the detection values V1H, V1L, V2H, and V2L are acquired using the dummy pixels of the entire screen. However, in this embodiment, the detection values are set for each of the divided areas A to D. get. The detection values V1H, V1L, V2H, and V2L calculated for each region are processed in the same manner as in the first embodiment so that the signal level step is not visible.

以上説明したように、水平方向に対して複数の領域に分割し、各々の領域についてフィルタリング処理後の検出値を取得する。これにより、AD変換器の性能が水平方向にばらついた場合でも、より理想値に近い検出値の取得を行うことが可能となり、さらに、第1の実施形態と同様の効果を得ることができる。   As described above, it is divided into a plurality of regions in the horizontal direction, and the detection value after the filtering process is acquired for each region. Thereby, even when the performance of the AD converter varies in the horizontal direction, it is possible to obtain a detection value closer to the ideal value, and further, it is possible to obtain the same effect as in the first embodiment.

なお、第1及び第2の実施形態では、異なる傾きの2種類のランプ信号について記載したが、3種類以上の傾きについても同様の扱いができるため、ランプ信号の種類の数により本願発明が制限されるものではない。また、ダミー画素領域を用いて算出された検出値に対してフィルタリング処理を行うことが必須であり、補正値の取得方法及び演算方法などは、第1の実施形態に記載したものが代表的なものであるが、これに限られるものではない。   In the first and second embodiments, two types of ramp signals having different slopes are described. However, since the same treatment can be applied to three or more types of slopes, the present invention is limited by the number of types of ramp signals. Is not to be done. Further, it is essential to perform a filtering process on the detection value calculated using the dummy pixel region, and the correction value acquisition method and the calculation method are typically those described in the first embodiment. However, it is not limited to this.

また、本第1及び第2の実施形態においては、撮像素子1として、回路規模の小さい列ADCを列毎に1つ備えた構成をとっているが、本発明はこれに限られるものではない。例えば、各列に複数の列ADCを備え、それぞれが異なるスロープのランプ信号を用いてAD変換し、いずれかを選択する構成や、特開2013−009087号公報に記載されている構成を有するものであってもよい。特開2013−009087号公報には、撮像素子内にある列アンプ回路において、画素信号のレベルに応じて画素毎に、第1のランプ信号と、第1のランプ信号よりも傾きが小さい第2のランプ信号のいずれかを選択的に用いてAD変換を行うことが開示されている。即ち、異なる傾きを有する複数のランプ信号のいずれかによりAD変換された画素信号を選択的に用いて各フレームの画像を構成するものであれば、本発明を適用することが可能である。   In the first and second embodiments, the imaging device 1 is configured to include one column ADC having a small circuit scale for each column. However, the present invention is not limited to this. . For example, each column includes a plurality of column ADCs, each having a configuration in which AD conversion is performed using ramp signals having different slopes, and a configuration described in JP2013-009087A is selected. It may be. Japanese Patent Laying-Open No. 2013-009087 discloses a first ramp signal and a second ramp whose slope is smaller than that of the first ramp signal for each pixel according to the level of the pixel signal in the column amplifier circuit in the image sensor. It is disclosed that AD conversion is performed selectively using any one of the ramp signals. In other words, the present invention can be applied as long as an image of each frame is configured by selectively using a pixel signal AD-converted by any one of a plurality of ramp signals having different inclinations.

1:撮像素子、2:画像処理部、100:タイミング制御部、110:画素部、120:垂直走査回路、130:列アンプ群、140:ランプ回路、150:列アナログデジタル変換器群(列ADC群)、151:比較部、152:カウンタ・ラッチ回路、160:水平転送回路、170:信号処理回路、180:外部出力回路、400:定電圧回路   DESCRIPTION OF SYMBOLS 1: Image sensor, 2: Image processing part, 100: Timing control part, 110: Pixel part, 120: Vertical scanning circuit, 130: Column amplifier group, 140: Ramp circuit, 150: Column analog-digital converter group (column ADC) Group), 151: comparison unit, 152: counter / latch circuit, 160: horizontal transfer circuit, 170: signal processing circuit, 180: external output circuit, 400: constant voltage circuit

Claims (21)

互いに異なる傾きを有する複数の参照信号を用いてアナログ信号をデジタル信号に変換するアナログデジタル変換手段と、
予め決められた複数の異なる出力レベルのアナログ信号を前記アナログデジタル変換手段に供給する電圧供給手段と、
前記複数の異なる出力レベルのアナログ信号を前記複数の参照信号によりそれぞれ変換して得られた検出値に対してフィルタリング処理を行い、該フィルタリング処理後の検出値に基づいて、撮像素子の画素部から出力されるアナログ信号を前記アナログデジタル変換手段により変換して得られるデジタル信号を補正するための補正係数をフレーム毎に算出する算出手段と、を有し、
前記フィルタリング処理は、前記フィルタリング処理前の検出値と、前のフレームにおける前記フィルタリング処理後の検出値を、巡回係数により重み付け加算する処理であることを特徴とする撮像装置。
Analog-to-digital conversion means for converting an analog signal into a digital signal using a plurality of reference signals having different slopes;
Voltage supply means for supplying analog signals of a plurality of predetermined different output levels to the analog-digital conversion means;
A filtering process is performed on the detection values obtained by converting the analog signals having different output levels with the plurality of reference signals, respectively, and based on the detection values after the filtering process, from the pixel portion of the image sensor Calculating means for calculating for each frame a correction coefficient for correcting the digital signal obtained by converting the output analog signal by the analog-digital conversion means;
The imaging apparatus, wherein the filtering process is a process of weighting and adding a detection value before the filtering process and a detection value after the filtering process in a previous frame using a cyclic coefficient.
前記算出手段は、前記フィルタリング処理前の検出値をV(n)、前記フィルタリング処理後の検出値をVf(n)、前記前のフレームにおける前記フィルタリング処理後の検出値をVf(n−1)、前記巡回係数をpとした場合に、
Vf(n)=V(n)×p+Vf(n−1)×(1−p),(0≦p≦1)
により前記フィルタリング処理を行うことを特徴とする請求項1に記載の撮像装置。
The calculation means sets the detected value before the filtering process to V (n), the detected value after the filtering process as Vf (n), and the detected value after the filtering process in the previous frame as Vf (n−1). When the cyclic coefficient is p,
Vf (n) = V (n) × p + Vf (n−1) × (1-p), (0 ≦ p ≦ 1)
The imaging apparatus according to claim 1, wherein the filtering process is performed by:
前記フィルタリング処理前の検出値は、前記複数の異なる出力レベルのアナログ信号を前記複数の参照信号によりそれぞれ変換して得られた複数のデジタル信号の各々に対応することを特徴とする請求項1または2に記載の撮像装置。   2. The detection value before the filtering process corresponds to each of a plurality of digital signals obtained by converting the plurality of analog signals having different output levels by the plurality of reference signals, respectively. 2. The imaging device according to 2. 前記フィルタリング処理前の検出値は、前記複数の異なる出力レベルのアナログ信号を前記複数の参照信号によりそれぞれ変換して得られた複数のデジタル信号を用いて前記補正係数を求めるための演算の途中に得られる複数の中間値の各々に対応することを特徴とする請求項1または2に記載の撮像装置。   The detection value before the filtering process is in the middle of calculation for obtaining the correction coefficient using a plurality of digital signals obtained by converting the plurality of analog signals of different output levels by the plurality of reference signals, respectively. The imaging apparatus according to claim 1, wherein the imaging apparatus corresponds to each of a plurality of obtained intermediate values. 前記フィルタリング処理前の検出値と、前記前のフレームにおける前記フィルタリング処理後の検出値との差分が閾値よりも大きい場合に、前記巡回係数を0に設定することを特徴とする請求項1乃至4のいずれか1項に記載の撮像装置。   5. The cyclic coefficient is set to 0 when a difference between the detection value before the filtering process and the detection value after the filtering process in the previous frame is larger than a threshold value. The imaging device according to any one of the above. 前記フィルタリング処理前の検出値と、前記前のフレームにおける前記フィルタリング処理後の検出値との差分の絶対値が予め決められた範囲内にある場合に、該範囲より小さい場合よりも、大きい値を前記巡回係数に設定することを特徴とする請求項1乃至4のいずれか1項に記載の撮像装置。   When the absolute value of the difference between the detection value before the filtering process and the detection value after the filtering process in the previous frame is within a predetermined range, a larger value than when the absolute value is smaller than the range is set. The imaging apparatus according to claim 1, wherein the imaging coefficient is set to the cyclic coefficient. 温度を測定する温度検出手段を更に有し、
前記温度検出手段により測定された温度の変化率の絶対値が予め決められた範囲内にある場合に、該範囲より小さい場合よりも、大きい値を前記巡回係数に設定することを特徴とする請求項1乃至4のいずれか1項に記載の撮像装置。
A temperature detecting means for measuring the temperature;
The absolute value of the rate of change in temperature measured by the temperature detecting means is within a predetermined range, and a larger value is set for the cyclic coefficient than when the absolute value is smaller than the range. Item 5. The imaging device according to any one of Items 1 to 4.
前記撮像素子の画素部から出力された1フレーム分の画像のコントラストが低い程、より小さい値を前記巡回係数に設定することを特徴とする請求項1乃至4のいずれか1項に記載の撮像装置。   5. The imaging according to claim 1, wherein a lower value is set as the cyclic coefficient as the contrast of an image of one frame output from the pixel portion of the imaging element is lower. apparatus. 前記撮像素子の画素部を読み出す際のフレームレートが予め決められた範囲内にある場合に、該範囲より高い場合よりも、大きい値を前記巡回係数に設定することを特徴とする請求項1乃至4及び請求項6乃至8のいずれか1項に記載の撮像装置。   2. The cyclic coefficient is set to a value larger than that in a case where a frame rate for reading out a pixel portion of the image sensor is within a predetermined range, compared to a case where the frame rate is higher than the range. 4 and an imaging device according to any one of claims 6 to 8. 前記撮像素子の画素部を読み出して得られた画像を、映像出力として用いるフレームと用いないフレームとを含み、
前記映像出力として用いるフレームで算出された前記フィルタリング処理後の検出値と、前記映像出力として用いないフレームを含めて算出された前記フィルタリング処理後の検出値との差分の絶対値が予め決められた範囲内にある場合に、該範囲より大きい場合よりも、より大きい値を前記巡回係数に乗ずることを特徴とする請求項1乃至9のいずれか1項に記載の撮像装置。
An image obtained by reading out the pixel portion of the image sensor includes a frame used as a video output and a frame not used.
An absolute value of a difference between the detection value after filtering calculated in the frame used as the video output and the detection value after filtering calculated including the frame not used as the video output is determined in advance. The imaging apparatus according to claim 1, wherein when it is within a range, the cyclic coefficient is multiplied by a larger value than when it is larger than the range.
被写体の動き量を検出する動き量の検出手段を更に有し、
前記動き量の検出手段により検出された動き量が予め決められた範囲内にある場合に、該範囲より小さい場合よりも、大きい値を前記巡回係数に乗ずることを特徴とする請求項1乃至10のいずれか1項に記載の撮像装置。
A movement amount detecting means for detecting the movement amount of the subject;
11. When the motion amount detected by the motion amount detection means is within a predetermined range, the cyclic coefficient is multiplied by a larger value than when the motion amount is smaller than the range. The imaging device according to any one of the above.
前記撮像素子の画素部は、ベイヤー配列の原色カラーフィルタにより覆われ、
赤または青のフィルタにより覆われた画素に対応するデジタル信号を補正するための補正係数は、緑のフィルタにより覆われた画素に対応するデジタル信号を補正するための補正係数よりも大きい値を前記巡回係数に乗じて算出することを特徴とする請求項1乃至11のいずれか1項に記載の撮像装置。
The pixel portion of the image sensor is covered with a primary color filter in a Bayer array,
The correction coefficient for correcting the digital signal corresponding to the pixel covered by the red or blue filter has a value larger than the correction coefficient for correcting the digital signal corresponding to the pixel covered by the green filter. The imaging apparatus according to claim 1, wherein the imaging apparatus is calculated by multiplying a cyclic coefficient.
前記アナログデジタル変換手段は、前記撮像素子の画素部を構成する各画素から出力されるアナログ信号の出力レベルが予め決められた判定レベルより小さい場合に、第一の参照信号を用いて変換したデジタル信号を出力し、前記判定レベル以上の場合に、前記第一の参照信号よりも傾きの大きい第二の参照信号を用いて変換したデジタル信号を出力することを特徴とする請求項1乃至12のいずれか1項に記載の撮像装置。   The analog-to-digital conversion means converts the digital signal converted using the first reference signal when the output level of the analog signal output from each pixel constituting the pixel portion of the image sensor is smaller than a predetermined determination level. 13. A digital signal converted by using a second reference signal having a larger slope than the first reference signal is output when a signal is output and the level is equal to or higher than the determination level. The imaging device according to any one of the above. 前記撮像素子の画素部を構成する各画素から出力されるアナログ信号を、前記アナログデジタル変換手段により変換する前に増幅する増幅手段を更に有し、
前記増幅手段による増幅率が変化した場合に、前記判定レベルを前記増幅率の変化に対応するように変更した値が予め決められた範囲内にある場合に、該範囲より小さい場合よりも、大きい値を前記巡回係数に乗ずることを特徴とする請求項13に記載の撮像装置。
An amplifying means for amplifying an analog signal output from each pixel constituting the pixel portion of the image sensor before the analog signal is converted by the analog-digital converting means;
When the amplification factor by the amplification means changes, the value obtained by changing the determination level so as to correspond to the change of the amplification factor is within a predetermined range. The imaging apparatus according to claim 13, wherein the value is multiplied by the cyclic coefficient.
前記算出手段により算出された前記補正係数を用いて、前記撮像素子の画素部から出力されたアナログ信号をアナログデジタル変換して得られた前記デジタル信号を補正する補正手段を更に有することを特徴とする請求項1乃至14のいずれか1項に記載の撮像装置。   It further comprises correction means for correcting the digital signal obtained by analog-to-digital conversion of the analog signal output from the pixel portion of the image sensor using the correction coefficient calculated by the calculation means. The imaging device according to any one of claims 1 to 14. 前記撮像素子の画素部は、光電変換素子を含まないダミー画素を有し、前記電圧供給手段は、前記ダミー画素の読み出し期間に、前記予め決められた複数の異なる出力レベルのアナログ信号を供給することを特徴とする請求項1乃至15のいずれか1項に記載の撮像装置。   The pixel portion of the imaging element includes a dummy pixel that does not include a photoelectric conversion element, and the voltage supply unit supplies the analog signals having the plurality of predetermined different output levels during the reading period of the dummy pixel. The image pickup apparatus according to claim 1, wherein the image pickup apparatus is an image pickup apparatus. 前記撮像素子の画素部は複数の領域に分割され、前記算出手段は、前記分割した複数の領域それぞれについて前記補正係数を算出することを特徴とする請求項1乃至16のいずれか1項に記載の撮像装置。   The pixel portion of the image sensor is divided into a plurality of regions, and the calculation unit calculates the correction coefficient for each of the plurality of divided regions. Imaging device. 前記アナログデジタル変換手段が、前記撮像素子の画素部の各列にそれぞれ配置されていることを特徴とする請求項1乃至17のいずれか1項に記載の撮像装置。   18. The imaging apparatus according to claim 1, wherein the analog-digital conversion unit is arranged in each column of a pixel portion of the imaging device. 電圧供給手段が、予め決められた複数の異なる出力レベルのアナログ信号をアナログデジタル変換手段に供給する電圧供給工程と、
前記アナログデジタル変換手段が、前記複数の異なる出力レベルのアナログ信号を、互いに異なる傾きを有する複数の参照信号を用いて複数のデジタル信号に変換するアナログデジタル変換工程と、
算出手段が、前記複数の異なる出力レベルのアナログ信号を前記複数の参照信号によりそれぞれ変換して得られた検出値に対してフィルタリング処理を行うフィルタリング工程と、
前記算出手段が、前記フィルタリング処理後の前記検出値に基づいて、撮像素子の画素部から出力されるアナログ信号を前記アナログデジタル変換手段により変換して得られるデジタル信号を補正するための補正係数をフレーム毎に算出する算出工程と、を有し、
前記フィルタリング処理は、前記フィルタリング処理前の検出値と、前のフレームで前記フィルタリング処理後の検出値を、巡回係数により重み付け加算する処理であることを特徴とする撮像装置の制御方法。
A voltage supply step in which the voltage supply means supplies analog signals of a plurality of different output levels determined in advance to the analog-digital conversion means; and
The analog-to-digital conversion unit converts the plurality of analog signals having different output levels into a plurality of digital signals using a plurality of reference signals having different slopes, and
A filtering step in which the calculation means performs a filtering process on the detection values obtained by converting the analog signals of the plurality of different output levels by the plurality of reference signals,
Based on the detection value after the filtering process, the calculation unit calculates a correction coefficient for correcting a digital signal obtained by converting the analog signal output from the pixel portion of the image sensor by the analog-to-digital conversion unit. A calculation step of calculating for each frame,
The method of controlling an imaging apparatus, wherein the filtering process is a process of weighting and adding a detection value before the filtering process and a detection value after the filtering process in a previous frame by a cyclic coefficient.
前記撮像素子の画素部は複数の領域に分割され、前記算出工程では、前記分割した複数の領域それぞれについて前記補正係数を算出することを特徴とする請求項19に記載の撮像装置の制御方法。   The method of controlling an imaging apparatus according to claim 19, wherein a pixel portion of the imaging element is divided into a plurality of regions, and the correction coefficient is calculated for each of the plurality of divided regions in the calculation step. 前記算出工程で算出された前記補正係数を用いて、前記撮像素子の画素部から出力されたアナログ信号をアナログデジタル変換して得られた前記デジタル信号を補正する補正工程を更に有することを特徴とする請求項19または20に記載の撮像装置の制御方法。   The method further comprises a correction step of correcting the digital signal obtained by analog-to-digital conversion of the analog signal output from the pixel portion of the image sensor using the correction coefficient calculated in the calculation step. The control method of the imaging device according to claim 19 or 20.
JP2015010677A 2015-01-22 2015-01-22 Imaging apparatus and control method thereof Active JP6494301B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2015010677A JP6494301B2 (en) 2015-01-22 2015-01-22 Imaging apparatus and control method thereof
US15/001,944 US9736406B2 (en) 2015-01-22 2016-01-20 Image capturing apparatus and control method thereof
CN201610044460.3A CN105828003B (en) 2015-01-22 2016-01-22 The control method of picture pick-up device and picture pick-up device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015010677A JP6494301B2 (en) 2015-01-22 2015-01-22 Imaging apparatus and control method thereof

Publications (3)

Publication Number Publication Date
JP2016134909A true JP2016134909A (en) 2016-07-25
JP2016134909A5 JP2016134909A5 (en) 2018-03-01
JP6494301B2 JP6494301B2 (en) 2019-04-03

Family

ID=56434738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015010677A Active JP6494301B2 (en) 2015-01-22 2015-01-22 Imaging apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP6494301B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018174493A (en) * 2017-03-31 2018-11-08 キヤノン株式会社 Imaging device, imaging system, and mobile body
JP2018200206A (en) * 2017-05-26 2018-12-20 日本アビオニクス株式会社 Infrared imaging device
WO2020184149A1 (en) * 2019-03-11 2020-09-17 ソニーセミコンダクタソリューションズ株式会社 Imaging element and imaging device
KR102413629B1 (en) * 2021-03-09 2022-06-28 성균관대학교산학협력단 Image sensor and image processing device including the same

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004289559A (en) * 2003-03-24 2004-10-14 Matsushita Electric Ind Co Ltd Solid-state imaging apparatus
JP2007208832A (en) * 2006-02-03 2007-08-16 Fujifilm Corp Digital camera
JP2012235306A (en) * 2011-04-28 2012-11-29 Canon Inc Image processing apparatus and control method therefor
JP2014103626A (en) * 2012-11-22 2014-06-05 Olympus Corp Image processor, image processing method and program
JP2014212450A (en) * 2013-04-18 2014-11-13 キヤノン株式会社 Imaging device
JP2014220663A (en) * 2013-05-08 2014-11-20 キヤノン株式会社 Imaging device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004289559A (en) * 2003-03-24 2004-10-14 Matsushita Electric Ind Co Ltd Solid-state imaging apparatus
JP2007208832A (en) * 2006-02-03 2007-08-16 Fujifilm Corp Digital camera
JP2012235306A (en) * 2011-04-28 2012-11-29 Canon Inc Image processing apparatus and control method therefor
JP2014103626A (en) * 2012-11-22 2014-06-05 Olympus Corp Image processor, image processing method and program
JP2014212450A (en) * 2013-04-18 2014-11-13 キヤノン株式会社 Imaging device
JP2014220663A (en) * 2013-05-08 2014-11-20 キヤノン株式会社 Imaging device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018174493A (en) * 2017-03-31 2018-11-08 キヤノン株式会社 Imaging device, imaging system, and mobile body
JP2018200206A (en) * 2017-05-26 2018-12-20 日本アビオニクス株式会社 Infrared imaging device
WO2020184149A1 (en) * 2019-03-11 2020-09-17 ソニーセミコンダクタソリューションズ株式会社 Imaging element and imaging device
US11838670B2 (en) 2019-03-11 2023-12-05 Sony Semiconductor Solutions Corporation Imaging element and imaging apparatus
KR102413629B1 (en) * 2021-03-09 2022-06-28 성균관대학교산학협력단 Image sensor and image processing device including the same

Also Published As

Publication number Publication date
JP6494301B2 (en) 2019-04-03

Similar Documents

Publication Publication Date Title
US9736406B2 (en) Image capturing apparatus and control method thereof
US10785439B2 (en) Image sensor comprising detection error correction using correction coefficient based on count values from plural pixels
JP4364903B2 (en) Automatic gain control circuit
JP5350466B2 (en) Column fixed pattern noise correction method
US20120273655A1 (en) Image sensing apparatus and control method thereof
CN107154803B (en) Signal processing apparatus, signal processing method, and image pickup apparatus
US11184565B2 (en) Image pickup apparatus and its control method
KR20050054843A (en) Solid-state image pickup apparatus and image pickup method
CN107154801B (en) Signal processing apparatus and method, image pickup apparatus, and control apparatus and method
JP6494301B2 (en) Imaging apparatus and control method thereof
JP2010520707A (en) Method and apparatus for improving and controlling the dynamic range of an image sensor
US20110205386A1 (en) Solid-state imaging device and camera system
JP2013175936A (en) Semiconductor device and imaging device
JP6525602B2 (en) Image pickup apparatus and control method thereof
JP5921092B2 (en) Imaging device, control method thereof, and control program
US10313617B2 (en) Image capturing apparatus, control method for the same, and storage medium
JP2011151549A (en) Signal processing apparatus, imaging device, and signal processing method
JPWO2008129885A1 (en) Output control circuit and imaging apparatus
JP6433276B2 (en) Imaging apparatus, control method therefor, program, and storage medium
JP2018050234A (en) Imaging apparatus and method of processing imaging apparatus
US11284017B2 (en) Image pickup device and storage medium
KR100589572B1 (en) Digital clamp circuit
JP2017152838A (en) Imaging apparatus and control method for imaging apparatus
KR100858073B1 (en) Automatic gain control circuit
JP2021153291A (en) Imaging apparatus, computer program, and storage medium

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180117

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181102

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181116

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190109

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190305

R151 Written notification of patent or utility model registration

Ref document number: 6494301

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151