JP7289635B2 - IMAGING DEVICE AND METHOD OF CONTROLLING IMAGING DEVICE - Google Patents

IMAGING DEVICE AND METHOD OF CONTROLLING IMAGING DEVICE Download PDF

Info

Publication number
JP7289635B2
JP7289635B2 JP2018218474A JP2018218474A JP7289635B2 JP 7289635 B2 JP7289635 B2 JP 7289635B2 JP 2018218474 A JP2018218474 A JP 2018218474A JP 2018218474 A JP2018218474 A JP 2018218474A JP 7289635 B2 JP7289635 B2 JP 7289635B2
Authority
JP
Japan
Prior art keywords
count value
frame
photoelectric conversion
conversion means
generating
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.)
Active
Application number
JP2018218474A
Other languages
Japanese (ja)
Other versions
JP2020088535A (en
Inventor
洋平 堀川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2018218474A priority Critical patent/JP7289635B2/en
Publication of JP2020088535A publication Critical patent/JP2020088535A/en
Application granted granted Critical
Publication of JP7289635B2 publication Critical patent/JP7289635B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/70SSIS architectures; Circuits associated therewith
    • H04N25/76Addressed sensors, e.g. MOS or CMOS sensors
    • H04N25/77Pixel circuitry, e.g. memories, A/D converters, pixel amplifiers, shared circuits or shared components
    • H04N25/772Pixel circuitry, e.g. memories, A/D converters, pixel amplifiers, shared circuits or shared components comprising A/D, V/T, V/F, I/T or I/F converters
    • H04N25/773Pixel circuitry, e.g. memories, A/D converters, pixel amplifiers, shared circuits or shared components comprising A/D, V/T, V/F, I/T or I/F converters comprising photon counting circuits, e.g. single photon detection [SPD] or single photon avalanche diodes [SPAD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Transforming Light Signals Into Electric Signals (AREA)
  • Color Television Image Signal Generators (AREA)

Description

本発明は、撮像装置および撮像装置の制御方法に関する。 The present invention relates to an imaging device and an imaging device control method.

近年、イメージセンサには、画像の高解像度化および動画像の高フレーム化が要求されている。このような要求に対して、特許文献1では、撮像素子に画像の圧縮部を設け、ボトルネックとなる伝送路の帯域削減行っている。 In recent years, image sensors are required to have higher image resolution and higher frame rate for moving images. In response to such a demand, in Patent Document 1, an image compression unit is provided in an imaging device to reduce the bandwidth of a transmission path that becomes a bottleneck.

画像の圧縮方法には、フレーム内の参照のみを行うフレーム内圧縮と、フレーム間の画像を参照することで圧縮を行うフレーム間圧縮が存在する。フレーム内圧縮は、フレーム内の被写体依存で圧縮率が決まる。一方、フレーム間圧縮は、フレーム間の被写体の動きに大きく圧縮率が依存するため、動きの少ない場合において有利である。例えば、特許文献2では、フレームメモリを用いることで撮像中のフレーム以外の画像を一時保存し、その画像を参照することでフレーム間圧縮を実現している。 Image compression methods include intra-frame compression in which only reference is made within a frame, and inter-frame compression in which compression is performed by referring to images between frames. In intra-frame compression, the compression rate is determined depending on the object in the frame. On the other hand, inter-frame compression is advantageous when there is little movement, since the compression rate depends greatly on the movement of the subject between frames. For example, in Patent Literature 2, a frame memory is used to temporarily store images other than the frame being captured, and inter-frame compression is achieved by referring to the images.

一方、特許文献3には、画素毎に1ビット型アナログデジタル変換器とカウンタを有する固体撮像素子が開示されている。固体撮像素子は、画素毎に受光素子の信号に対してアナログデジタル変換を行うため、列毎にアナログデジタル変換を行う固体撮像素子の持つ走査線数とフレームレートのトレードオフを解消することが可能である。この方式においては、受光素子に一定の電荷が蓄積されるたびにリセットするため、受光素子で飽和することがない。そして、検出可能な光量は、蓄積容量の電圧が基準電圧と一致したときに出力されるパルスの回数を数えるカウンタの上限により定まる。 On the other hand, Patent Document 3 discloses a solid-state imaging device having a 1-bit analog-to-digital converter and a counter for each pixel. The solid-state image sensor performs analog-to-digital conversion on the signal of the light-receiving element for each pixel, so it is possible to eliminate the trade-off between the number of scanning lines and the frame rate of the solid-state image sensor that performs analog-to-digital conversion for each column. is. In this method, the light receiving element is reset every time a certain amount of electric charge is accumulated in the light receiving element, so that the light receiving element is not saturated. The amount of light that can be detected is determined by the upper limit of a counter that counts the number of pulses output when the voltage of the storage capacitor matches the reference voltage.

特開2014-103543号公報JP 2014-103543 A 特開2006-295521号公報JP 2006-295521 A 特開2015-173432号公報JP 2015-173432 A

しかしながら、特許文献1のように圧縮部を有する撮像素子は、特許文献2に記載されているようなフレームメモリを使用するような複雑な圧縮を行うことが困難であるという課題がある。 However, the imaging device having a compression unit as in Patent Document 1 has a problem that it is difficult to perform complicated compression such as the one described in Patent Document 2 using a frame memory.

本発明はこのような課題に鑑み、規模を抑えつつ、圧縮率を向上させることができる撮像装置および撮像装置の制御方法を提供することを目的とする。 SUMMARY OF THE INVENTION In view of such problems, it is an object of the present invention to provide an image pickup apparatus and a control method for the image pickup apparatus that can improve the compression rate while suppressing the scale.

本発明の撮像装置は、光電変換により信号を生成する光電変換手段と、第1のフレームでは、光電変換手段により生成された信号を基に計数された計数値を生成し、前記第1のフレームとは異なる第2のフレームでは、光電変換手段により生成された信号を基に、前フレームの計数値の正負符号が反転された計数値に対して計数された計数値を生成する生成手段と、前記生成手段により生成された計数値を圧縮する圧縮手段とを有する。 The imaging apparatus of the present invention includes photoelectric conversion means for generating a signal by photoelectric conversion, and in a first frame, counted values are generated based on the signal generated by the photoelectric conversion means, and the first frame In a second frame different from the above , based on the signal generated by the photoelectric conversion means, generating means for generating a count value obtained by inverting the sign of the count value of the previous frame, and and compression means for compressing the count value generated by the generation means.

本発明によれば、規模を抑えつつ、圧縮率を向上させることができる。 ADVANTAGE OF THE INVENTION According to this invention, a compression ratio can be improved, suppressing a scale.

画素の構成例を示す図である。4 is a diagram showing a configuration example of a pixel; FIG. カウンタの構成例を示す図である。It is a figure which shows the structural example of a counter. カウンタの構成例を示す図である。It is a figure which shows the structural example of a counter. 画素の駆動を示すタイミングチャートである。4 is a timing chart showing driving of pixels; 固体撮像素子の構成例を示す図である。It is a figure which shows the structural example of a solid-state image sensor. 圧縮部の構成例を示す図である。It is a figure which shows the structural example of a compression part. 圧縮部の処理を示すフローチャートである。4 is a flowchart showing processing of a compression unit; 撮像システムの構成例を示す図である。It is a figure which shows the structural example of an imaging system. カウンタの構成例を示す図である。It is a figure which shows the structural example of a counter. 圧縮部の構成例を示す図である。It is a figure which shows the structural example of a compression part. 画素の駆動を示すタイミングチャートである。4 is a timing chart showing driving of pixels; 固体撮像素子の構成例を示す図である。It is a figure which shows the structural example of a solid-state image sensor. 固体撮像素子の構成例を示す図である。It is a figure which shows the structural example of a solid-state image sensor. フレームメモリの動作を示すタイミングチャートである。4 is a timing chart showing the operation of the frame memory; メモリ領域を示す図である。FIG. 4 is a diagram showing memory areas; 圧縮部の構成例を示す図である。It is a figure which shows the structural example of a compression part.

以下に、本発明の好ましい実施形態を、添付の図面に基づいて詳細に説明する。なお、以下に説明する実施形態は単なる例示であり、本発明は実施形態に記載された構成に限定するものではない。 Preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings. The embodiments described below are merely examples, and the present invention is not limited to the configurations described in the embodiments.

(第1の実施形態)
図1は、本発明の第1の実施形態による画素100の構成例を示す図である。画素100は、アバランシェフォトダイオード(以下、APDという)101と、クエンチ抵抗102と、波形整形回路103と、カウンタ104とを有する。
(First embodiment)
FIG. 1 is a diagram showing a configuration example of a pixel 100 according to the first embodiment of the invention. The pixel 100 has an avalanche photodiode (hereinafter referred to as APD) 101 , a quench resistor 102 , a waveform shaping circuit 103 and a counter 104 .

APD101は、クエンチ抵抗102を介して、逆バイアス電圧VAPDのノードに接続される。APD101は、光子が入射するとアバランシェ増倍による電荷を発生させ、発生した電荷をクエンチ抵抗102を介して逆バイアス電圧VAPDのノードに排出する。APD101は、光電変換手段であり、光電変換により信号を生成し、その生成した信号を波形整形回路103に出力する。 The APD 101 is connected through a quench resistor 102 to the node of the reverse bias voltage V APD . The APD 101 generates charges due to avalanche multiplication when photons are incident thereon, and discharges the generated charges to the node of the reverse bias voltage V APD via the quench resistor 102 . The APD 101 is photoelectric conversion means, generates a signal by photoelectric conversion, and outputs the generated signal to the waveform shaping circuit 103 .

波形整形回路103は、APD101とクエンチ抵抗102との相互接続点に接続される。APD101とクエンチ抵抗102との相互接続点は、APD101の光子の入射に応じた電荷の生成および排出により電位が変化する。波形整形回路103は、APD101とクエンチ抵抗102との相互接続点の電位の変化に対して、増幅およびエッジ検出を行うことにより、電圧パルスPLSを生成する。このようにAPD101とクエンチ抵抗102と波形整形回路103は、光子の入射の有無を電圧パルスに変換することにより、1ビット型アナログデジタル変換器(受光部)として機能する。 A waveform shaping circuit 103 is connected to the interconnection point between the APD 101 and the quench resistor 102 . The potential of the interconnection point between the APD 101 and the quench resistor 102 changes due to the generation and discharge of charges in response to the incidence of photons on the APD 101 . The waveform shaping circuit 103 generates a voltage pulse PLS by amplifying and edge detecting changes in potential at the interconnection point between the APD 101 and the quench resistor 102 . Thus, the APD 101, the quench resistor 102, and the waveform shaping circuit 103 function as a 1-bit analog-to-digital converter (light receiving section) by converting the presence or absence of incident photons into voltage pulses.

カウンタ104は、波形整形回路103が生成する電圧パルスPLSの数を計数するカウンタであり、計数結果を出力することにより、露光期間中の画素値を多ビットで出力する。カウンタ104は、画素100に入力される駆動信号INV_RST,ZERO_RSTによって、カウンタ104のリセット、計数期間、およびカウンタの符号反転リセット動作を行う。 The counter 104 is a counter that counts the number of voltage pulses PLS generated by the waveform shaping circuit 103, and by outputting the counting result, outputs the pixel value during the exposure period in multiple bits. The counter 104 performs resetting of the counter 104, counting period, and sign-inverting resetting operation of the counter according to the driving signals INV_RST and ZERO_RST input to the pixel 100. FIG.

図2は、カウンタ104の構成例を示す図である。カウンタ104は、データを保持するフリップフロップ200と、計数を行う加算部201と、リセット信号の種別に基づいて初期値の種別を決定する選択部202と、符号反転を行う符号反転部203とを有する。 FIG. 2 is a diagram showing a configuration example of the counter 104. As shown in FIG. The counter 104 includes a flip-flop 200 that holds data, an addition unit 201 that performs counting, a selection unit 202 that determines the type of initial value based on the type of reset signal, and a sign inversion unit 203 that performs sign inversion. have.

符号反転部203は、フリップフロップ200の出力値CNTの論理反転値に「1」を加算することにより、フリップフロップ200の出力値CNTに対して正負符号が反転した値を出力する。すなわち、符号反転部203は、フリップフロップ200の出力値CNTに対する2の補数を出力する。 The sign inversion unit 203 adds “1” to the logically inverted value of the output value CNT of the flip-flop 200 , thereby outputting a value in which the sign of the output value CNT of the flip-flop 200 is inverted. That is, the sign inverter 203 outputs the two's complement of the output value CNT of the flip-flop 200 .

選択部202は、信号ZERO_RSTがハイレベルの場合には、「0」を加算部201に出力する。また、選択部202は、信号INV_RSTがハイレベルの場合には、符号反転部203の出力値を加算部201に出力する。また、選択部202は、信号ZERO_RSTおよびINV_RSTがローレベルの場合には、フリップフロップ200の出力値CNTを加算部201に出力する。 Selecting section 202 outputs “0” to adding section 201 when signal ZERO_RST is at high level. Selecting section 202 also outputs the output value of sign inverting section 203 to adding section 201 when signal INV_RST is at high level. Selecting section 202 outputs output value CNT of flip-flop 200 to adding section 201 when signals ZERO_RST and INV_RST are at low level.

加算部201は、選択部202の出力値に電圧パルスPLSを加算し、加算結果をフリップフロップ200に出力する。フリップフロップ200は、加算部201の加算結果を保持し、保持している値を計数値CNTとして出力する。フリップフロップ200は、非同期リセット信号により、クロック信号に非同期で、初期値0に初期化される。 The adding section 201 adds the voltage pulse PLS to the output value of the selecting section 202 and outputs the addition result to the flip-flop 200 . The flip-flop 200 holds the addition result of the addition section 201 and outputs the held value as the count value CNT. Flip-flop 200 is initialized to an initial value of 0 by an asynchronous reset signal asynchronously to the clock signal.

信号ZERO_RSTをハイレベルにすることにより、所定の計数期間の電圧パルスPLDを計数することができる。また、信号INV_RSTをハイレベルにすることにより、今回の計数期間の計数値と前回の計数期間の計数値との差分を出力することができる。 By setting the signal ZERO_RST to high level, it is possible to count the voltage pulses PLD for a predetermined counting period. Also, by setting the signal INV_RST to high level, it is possible to output the difference between the count value in the current counting period and the count value in the previous counting period.

カウンタ104は、クロック信号に同期する同期カウンタである。クロック信号および非同期リセット信号は、固体撮像素子の全体で共通の信号である。カウンタ104は、フレームメモリを用いることなく、フレーム間の画素値の差分を算出することができる。なお、カウンタ104は、非同期カウンタでもよい。非同期カウンタは、半加算器や全加算器のような加算用演算器を用いることなく、計数を行うことが可能なため、さらなるコストの削減が可能となる。 Counter 104 is a synchronous counter that synchronizes with a clock signal. The clock signal and the asynchronous reset signal are signals common to the entire solid-state imaging device. The counter 104 can calculate the pixel value difference between frames without using a frame memory. Note that the counter 104 may be an asynchronous counter. Since the asynchronous counter can perform counting without using an adder such as a half adder or a full adder, further cost reduction is possible.

図3は、非同期のカウンタ104の構成例を示す図である。カウンタ104は、データを保持するフリップフロップ300と、各ビットの符号反転用制御信号を出力する符号反転制御部301と、論理積(AND)素子302とを有する。なお、説明の簡単のため、4ビットの非同期カウンタ104の構成を説明する。 FIG. 3 is a diagram showing a configuration example of the asynchronous counter 104. As shown in FIG. The counter 104 has a flip-flop 300 that holds data, a sign inversion controller 301 that outputs a sign inversion control signal for each bit, and a logical product (AND) element 302 . For ease of explanation, the configuration of the 4-bit asynchronous counter 104 will be explained.

フリップフロップ300は、端子PRSTへの入力信号がローレベルの場合には、出力端子Qをハイレベルにし、出力端子/Qをローレベルにする。また、フリップフロップ300は、端子PRSTへの入力信号がハイベルの場合には、出力端子Qおよび/Qのレベルを変化させない。また、フリップフロップ300は、端子RSTへの入力信号がローレベルの場合には、出力端子Qをローレベルにし、出力端子/Qをハイレベルにする。また、フリップフロップ300は、端子RSTへの入力信号がハイレベルの場合には、出力端子Qおよび/Qのレベルを変化させない。また、フリップフロップ300は、クロック端子に入力される信号の立ち上がりエッジに同期して、入力端子Dに入力された信号の正論理値を出力端子Qから出力し、入力端子Dに入力された信号の負論理値を出力端子/Qから出力する。 When the input signal to the terminal PRST is low level, the flip-flop 300 sets the output terminal Q to high level and the output terminal /Q to low level. Further, flip-flop 300 does not change the levels of output terminals Q and /Q when the input signal to terminal PRST is at high level. When the input signal to the terminal RST is low level, the flip-flop 300 sets the output terminal Q to low level and the output terminal /Q to high level. Further, flip-flop 300 does not change the levels of output terminals Q and /Q when the input signal to terminal RST is at a high level. Further, the flip-flop 300 outputs the positive logic value of the signal input to the input terminal D from the output terminal Q in synchronization with the rising edge of the signal input to the clock terminal, and the signal input to the input terminal D is output from the output terminal /Q.

符号反転制御部301は、信号INV_RSTがローレベルの場合には、フリップフロップ300の端子PRSTおよびRSTにハイレベルを出力する。また、符号反転制御部301は、信号INV_RSTがハイレベルの場合には、フリップフロップ300の出力端子Qの信号を端子PRSTに出力し、フリップフロップ300の出力端子Qの論理反転信号をAND素子302に出力する。 The sign inversion control section 301 outputs high level to the terminals PRST and RST of the flip-flop 300 when the signal INV_RST is at low level. Further, when the signal INV_RST is at a high level, the sign inversion control section 301 outputs the signal of the output terminal Q of the flip-flop 300 to the terminal PRST, and outputs the logically inverted signal of the output terminal Q of the flip-flop 300 to the AND element 302. output to

AND素子302は、信号ZERO_RSTがハイレベルの場合に、フリップフロップ300の端子RSTにローレベルを出力し、信号ZERO_RSTがローレベルの場合に、フリップフロップ300の端子RSTに符号反転制御部301の出力信号を出力する。 The AND element 302 outputs a low level to the terminal RST of the flip-flop 300 when the signal ZERO_RST is at high level, and outputs the output of the sign inversion control section 301 to the terminal RST of the flip-flop 300 when the signal ZERO_RST is at low level. Output a signal.

次に、非同期カウンタ104の動作について説明を行う。フリップフロップ300は、出力端子Qの初期値が0であり、出力端子/Qの初期値が1である。カウンタ104の0ビット目を構成するフリップフロップ300は、電圧パルスPLSの立ち上がりを検知すると、入力端子Dの値を出力端子Qから出力し、入力端子Dの値の論理反転値を出力端子/Qから出力する。カウンタ104の1ビット目以降を構成するフリップフロップは、それぞれ、前段のフリップフロップの出力端子/Qの信号の立ち上がりを検知し、自己の入力端子Dの値を出力端子Qから出力し、自己の入力端子Dの値の論理反転値を出力端子/Qから出力する。各フリップフロップ300の出力端子Qは、例えば4ビットの計数値CNTを出力する。 Next, the operation of the asynchronous counter 104 will be explained. The flip-flop 300 has an initial value of 0 at the output terminal Q and an initial value of 1 at the output terminal /Q. When the flip-flop 300 constituting the 0th bit of the counter 104 detects the rise of the voltage pulse PLS, it outputs the value of the input terminal D from the output terminal Q, and outputs the logically inverted value of the value of the input terminal D to the output terminal /Q. Output from Each of the flip-flops constituting the first and subsequent bits of the counter 104 detects the rise of the signal at the output terminal /Q of the preceding flip-flop, outputs the value of its own input terminal D from the output terminal Q, and outputs the value of its own input terminal D from the output terminal Q. A logically inverted value of the value of the input terminal D is output from the output terminal /Q. An output terminal Q of each flip-flop 300 outputs, for example, a 4-bit count value CNT.

所定の期間が過ぎると、AND素子302は、制御部505の出力に基づいてリセット動作を行う。信号ZERO_RSTがハイレベルになると、各フリップフロップ300の出力端子Qの値が0にリセットされる。この時、単純な反転信号の場合は、1の補数表現となり、2の補数表現とならないため、信号処理に用いた際に加算器を単純な構成で表現できなくなる場合が存在する。そのため、2の補数表現にするため、信号INV_RSTが入力された後に、電圧パルスPLSに1回だけ立ち上がり信号が発生するように、制御部505から信号を入力する。このように制御することで、各ビットの反転信号に1を加算した値が初期値となるため、信号INV_RSTによって初期化した値を2の補数表現とすることが可能となる。 After the predetermined period has passed, AND element 302 performs a reset operation based on the output of control section 505 . When the signal ZERO_RST becomes high level, the value of the output terminal Q of each flip-flop 300 is reset to zero. At this time, in the case of a simple inverted signal, it is expressed in 1's complement and not expressed in 2's complement, so there is a case where the adder cannot be expressed with a simple configuration when used for signal processing. Therefore, in order to use the 2's complement representation, a signal is input from the control unit 505 so that the rising signal is generated only once in the voltage pulse PLS after the signal INV_RST is input. By controlling in this manner, the value obtained by adding 1 to the inverted signal of each bit becomes the initial value, so that the value initialized by the signal INV_RST can be expressed in two's complement.

また、信号INV_RSTがハイレベルになると、符号反転制御部301は、各フリップフロップ300の出力端子Qの値の論理反転値をリセット値として各フリップフロップ300の端子PRSTおよびRSTに出力する。 Further, when the signal INV_RST becomes high level, the sign inversion control section 301 outputs the logically inverted value of the value of the output terminal Q of each flip-flop 300 to the terminals PRST and RST of each flip-flop 300 as a reset value.

図4は、1つの画素100の駆動方法を示すタイミングチャートである。複数の画素100を並列して駆動することにより、光学像をデジタル信号に変換する。APDは、APD101およびクエンチ抵抗102により生成される電位波形であり、波形整形回路103の入力電位波形を示す。電圧パルスPLSは、波形整形回路103の出力電圧である。信号CNT_RSTおよびINV_ENは、図5の制御部505により生成される。制御部505は、信号CNT_RSTおよびINV_ENを基に、信号ZERO_RSTおよびINV_RSTを生成する。 FIG. 4 is a timing chart showing how one pixel 100 is driven. An optical image is converted into a digital signal by driving a plurality of pixels 100 in parallel. APD is a potential waveform generated by the APD 101 and the quench resistor 102 and indicates the input potential waveform of the waveform shaping circuit 103 . A voltage pulse PLS is the output voltage of the waveform shaping circuit 103 . Signals CNT_RST and INV_EN are generated by control unit 505 of FIG. Control section 505 generates signals ZERO_RST and INV_RST based on signals CNT_RST and INV_EN.

具体的には、信号INV_ENがローレベルの時に信号CNT_RSTがハイレベルの場合には、信号ZERO_RSTがハイレベルになる。また、信号INV_ENがハイレベルの時に信号CNT_RSTがハイレベルの場合には、信号INV_RSTがハイレベルになる。 Specifically, if the signal CNT_RST is high level when the signal INV_EN is low level, the signal ZERO_RST becomes high level. Also, if the signal CNT_RST is high level when the signal INV_EN is high level, the signal INV_RST becomes high level.

計数値CNTは、カウンタ104の出力値を表す。カウンタ104は、信号CNT_RSTがローレベルである期間を撮像期間として前述の計数および初期化動作を行う。なお、カウンタ104は、信号CNT_RSTがローレベルである状態でカウントを行うが、別途イネーブル信号に応じてカウントを行ってもよい。 A count value CNT represents the output value of the counter 104 . The counter 104 performs the above-described counting and initialization operations with the period during which the signal CNT_RST is at low level as the imaging period. Note that the counter 104 counts when the signal CNT_RST is at low level, but may count according to a separate enable signal.

READ_ENは、カウンタ104の出力値を垂直伝送路508(図5)に出力するタイミングを表しており、信号CNT_RSTと同一のタイミングで発行される。なお、信号CNT_RSTと同一のタイミングで信号READ_ENは発行されるが、それに限定されない。具体的には、読み出し信号とリセット信号を個別に持ち、発行のタイミングをずらすことで垂直伝送路508への転送タイミングを任意に設定してもよい。 READ_EN represents the timing of outputting the output value of the counter 104 to the vertical transmission line 508 (FIG. 5), and is issued at the same timing as the signal CNT_RST. Although the signal READ_EN is issued at the same timing as the signal CNT_RST, it is not limited to this. Specifically, the transfer timing to the vertical transmission line 508 may be arbitrarily set by having separate readout signals and reset signals and shifting the timing of their issuance.

次に、画素100の駆動方法を説明する。タイミングt400では、信号INV_ENがローレベルの状態で、信号CNT_RSTがハイレベルになるため、信号ZERO_RSTがハイレベルになる。信号ZERO_RSTがハイレベルになると、カウンタ104は、クロック信号に同期して、計数値CNTを0にクリアする。なお、実際は、クロック信号に同期して計数値CNTに反映されるため、計数値CNTに遅延が発生するが、略同一のタイミングとして説明を行う。 Next, a method for driving the pixel 100 will be described. At timing t400, the signal CNT_RST becomes high level while the signal INV_EN is at low level, so the signal ZERO_RST becomes high level. When the signal ZERO_RST becomes high level, the counter 104 clears the count value CNT to 0 in synchronization with the clock signal. Actually, since the count value CNT is reflected in synchronization with the clock signal, a delay occurs in the count value CNT, but the description will be made assuming substantially the same timing.

タイミングt401では、信号ZERO_RSTがローレベルになり、露光が開始され、撮像期間が開始する。また、信号ZERO_RSTがローレベルになると、信号INV_ENがハイレベルになり、次に信号CNT_RSTがハイレベルになった際には、信号ZERO_RSTではなく、信号INV_RSTがハイレベルになる。 At timing t401, the signal ZERO_RST becomes low level, exposure starts, and the imaging period starts. Further, when the signal ZERO_RST becomes low level, the signal INV_EN becomes high level, and when the signal CNT_RST becomes high level next time, not the signal ZERO_RST but the signal INV_RST becomes high level.

タイミングt402では、APD101に光子が入射したことにより、APD101には、アバランシェ増倍された電荷が発生し、APD101の電位が変化する。APD101は、クエンチ抵抗102を介して電荷を排出するので、APD101が再び一定の電位になるまで時間がかかる。波形整形回路103は、APD101の電位の立ち下がりエッジを検出し、短時間の電圧パルスPLSを生成する。この電圧パルスPLSは、カウンタ104に入力される。カウンタ104は、電圧パルスPLSを計数し、計数値CNTが1となる。 At timing t402, a photon is incident on the APD 101, so that an avalanche-multiplied charge is generated in the APD 101, and the potential of the APD 101 changes. Since the APD 101 discharges electric charges via the quench resistor 102, it takes time for the APD 101 to reach a constant potential again. A waveform shaping circuit 103 detects a falling edge of the potential of the APD 101 and generates a short voltage pulse PLS. This voltage pulse PLS is input to the counter 104 . The counter 104 counts the voltage pulses PLS, and the count value CNT becomes one.

タイミングt401~t403では、電圧パルスPLSが発生するたびに、カウンタ104は、計数値CNTをインクリメントし続ける。タイミングt401~t403では、5回の電圧パルスPLSが発生し、計数値CNTは5となる。撮像期間は、タイミングt401~t403である。 During timings t401 to t403, the counter 104 continues to increment the count value CNT each time the voltage pulse PLS is generated. At timings t401 to t403, the voltage pulse PLS is generated five times, and the count value CNT is five. The imaging period is from timing t401 to t403.

タイミングt403では、計数値CNTが5の状態で、信号CNT_RSTおよびREAD_ENがハイレベルになる。信号READ_ENがハイレベルになると、計数値CNTが垂直伝送路508に伝送され、撮像期間が完了する。計数値CNTの5は、タイミングt401~t403の撮像期間のフレームの画素値に対応する。タイミングt401~t403の撮像期間のフレームは、フレーム内圧縮のためのフレームである。 At timing t403, the count value CNT is 5 and the signals CNT_RST and READ_EN go high. When the signal READ_EN becomes high level, the count value CNT is transmitted to the vertical transmission path 508 and the imaging period is completed. The count value CNT of 5 corresponds to the pixel value of the frame during the imaging period from timing t401 to t403. Frames in the imaging period from timing t401 to t403 are frames for intra-frame compression.

また、タイミングt403では、信号INV_ENがハイレベルのため、信号INV_RSTがハイレベルとなり、計数値CNTの値が5の正負符号反転値である-5となる。 Further, at timing t403, since the signal INV_EN is at a high level, the signal INV_RST is at a high level, and the value of the count value CNT becomes -5 which is the sign-inverted value of 5.

タイミングt404では、信号INV_RSTとINV_ENとREAD_ENがローレベルとなり、露光が開始し、次のフレームの撮像期間が開始する。タイミングt404~t405では、タイミングt401~t403と同様に、電圧パルスPLSが発生するたびに、カウンタ104は、計数値CNTをインクリメントし続ける。タイミングt404~t405では、4回の電圧パルスPLSが発生しているため、カウンタ104は、-5の計数値CNTに対して4回インクリメントし、-1の計数値CNTを出力する。 At timing t404, the signals INV_RST, INV_EN, and READ_EN become low level, exposure starts, and the imaging period of the next frame starts. During timings t404 to t405, similarly to timings t401 to t403, counter 104 continues to increment count value CNT each time voltage pulse PLS is generated. Since four voltage pulses PLS are generated between timings t404 and t405, the counter 104 increments the count value CNT of -5 four times and outputs the count value CNT of -1.

タイミングt405では、計数値CNTが-1の状態で、タイミングt403と同様に、信号CNT_RSTおよびREAD_ENがハイレベルになる。信号READ_ENがハイレベルになると、-1の計数値CNTが垂直伝送路508に伝送され、撮像期間が完了する。-1の計数値CNTは、今回の撮像期間のフレームの電圧パルスPLSの発生数から、前回の撮像期間のフレームの電圧パルスPLSの発生数を減算した値である。すなわち、-1の計数値CNTは、今回のフレームと前回のフレームの電圧パルスPLSの発生数の差分である。タイミングt404~t405の撮像期間のフレームは、フレーム間圧縮のためのフレームである。 At timing t405, while the count value CNT is -1, the signals CNT_RST and READ_EN go high as at timing t403. When the signal READ_EN becomes high level, the count value CNT of -1 is transmitted to the vertical transmission path 508, and the imaging period is completed. The count value CNT of −1 is a value obtained by subtracting the number of voltage pulses PLS generated in the frame of the previous imaging period from the number of voltage pulses PLS generated in the frame of the current imaging period. That is, the count value CNT of -1 is the difference between the number of occurrences of voltage pulses PLS between the current frame and the previous frame. Frames in the imaging period from timing t404 to t405 are frames for inter-frame compression.

また、タイミングt405では、信号INV_ENがローレベルのため、信号ZERO_RSTがハイレベルとなり、計数値CNTが0となる。 At timing t405, since the signal INV_EN is at low level, the signal ZERO_RST becomes high level and the count value CNT becomes zero.

タイミングt406では、信号CNT_RSTとZERO_RSTとREAD_ENがローレベルとなり、信号INV_ENがハイレベルとなる。タイミングt406~t407では、タイミングt401~t403と同様に、電圧パルスPLSが発生するたびに、カウンタ104は、計数値CNTをインクリメントし続ける。タイミングt406~t407では、4回の電圧パルスPLSが発生しているため、カウンタ104は、0の計数値CNTに対して4回インクリメントし、4の計数値CNTを出力する。タイミングt406~t407の撮像期間のフレームは、フレーム内圧縮のためのフレームである。 At timing t406, the signals CNT_RST, ZERO_RST, and READ_EN become low level, and the signal INV_EN becomes high level. During timings t406 to t407, counter 104 continues to increment count value CNT each time voltage pulse PLS is generated, similarly to timings t401 to t403. Since four voltage pulses PLS are generated at timings t406 to t407, the counter 104 increments the count value CNT of 0 four times and outputs a count value CNT of 4. FIG. Frames in the imaging period from timing t406 to t407 are frames for intra-frame compression.

タイミングt407~t408では、タイミングt403~t404と同様に、信号CNT_RST、INV_EN、ZERO_RSTおよびREAD_ENが制御され、計数値CNTが垂直伝送路508に伝送される。 At timings t407 to t408, the signals CNT_RST, INV_EN, ZERO_RST and READ_EN are controlled and the count value CNT is transmitted to the vertical transmission path 508, similarly to the timings t403 to t404.

以降、画素100は、タイミングt404~t406と同様の動作と、タイミングt406~t408と同様の動作を交互に繰り返す。このように動作することで、カウンタ104は、電圧パルスPLSの発生数を計数し、計数値CNTを出力する。カウンタ104は、計数値CNTとして、現フレームの撮像期間の電圧パルスPLSの発生数と、現フレームと前フレームの電圧パルスPLSの発生数の差分とを交互に出力する。これは、フレームメモリを用いて、フレーム間の同一の画素100の差分値を出力することと等しい。 Thereafter, the pixel 100 alternately repeats operations similar to timings t404 to t406 and operations similar to timings t406 to t408. By operating in this manner, the counter 104 counts the number of voltage pulses PLS generated and outputs a count value CNT. The counter 104 alternately outputs the number of voltage pulses PLS generated during the imaging period of the current frame and the difference between the number of voltage pulses PLS generated between the current frame and the previous frame as the count value CNT. This is equivalent to using a frame memory to output the difference value of the same pixel 100 between frames.

図5は、固体撮像素子500の構成例を示す図である。固体撮像素子500は、撮像装置であり、上記の複数の画素100と、垂直選択回路507と、出力スイッチ501と、水平選択回路502と、出力スイッチ503と、タイミングジェネレータ(TG)504と、制御部505と、圧縮部506とを有する。複数の画素100は、2次元行列状に配列される。 FIG. 5 is a diagram showing a configuration example of the solid-state imaging device 500. As shown in FIG. The solid-state imaging device 500 is an imaging device, and includes the plurality of pixels 100 described above, a vertical selection circuit 507, an output switch 501, a horizontal selection circuit 502, an output switch 503, a timing generator (TG) 504, and a control circuit. It has a section 505 and a compression section 506 . A plurality of pixels 100 are arranged in a two-dimensional matrix.

TG504は、内部のカウンタに基づいて、撮像期間や転送期間などのタイミング信号を生成し、垂直選択回路507と制御部505と水平選択回路502にタイミング信号を出力する。 The TG 504 generates timing signals for an imaging period, a transfer period, etc. based on an internal counter, and outputs the timing signals to the vertical selection circuit 507 , the control section 505 and the horizontal selection circuit 502 .

制御部505は、撮像期間に基づいて、信号INV_RSTおよびZERO_RST等を画素100に出力する。なお、信号INV_RSTおよびZERO_RSTを読み出し制御信号READ_ENと同じタイミングにする場合には、制御部505は、各画素100に対する信号INV_RSTおよびZERO_RSTを順に出力するように制御する。 The control unit 505 outputs signals INV_RST, ZERO_RST, etc. to the pixels 100 based on the imaging period. When the signals INV_RST and ZERO_RST are set to the same timing as the readout control signal READ_EN, the control unit 505 controls to output the signals INV_RST and ZERO_RST to each pixel 100 in order.

垂直選択回路507は、撮像期間の終了するタイミングになると、出力スイッチ501に対してハイレベルのREAD_ENを出力する。出力スイッチ501は、ハイレベルのREAD_ENが入力されると、画素100が出力する計数値CNTを垂直伝送路508に伝送する。複数の垂直伝送路508は、画素100の列毎に設けられる。各列の画素100は、順に、出力スイッチ501を介して、垂直伝送路508に計数値CNTを出力する。 The vertical selection circuit 507 outputs a high-level READ_EN to the output switch 501 at the end of the imaging period. The output switch 501 transmits the count value CNT output by the pixel 100 to the vertical transmission line 508 when a high level READ_EN is input. A plurality of vertical transmission paths 508 are provided for each column of pixels 100 . The pixels 100 in each column sequentially output the count value CNT to the vertical transmission line 508 via the output switch 501 .

なお、信号INV_RSTおよびZERO_RSTは、各々異なる信号として説明をしたが、それに限定されない。例えば、信号INV_ENおよびCNT_RSTを画素100の入力信号とし、画素100の中で信号INV_RSTおよびZERO_RSTを生成してもよい。また、画素100は、少なくとも信号INV_RSTおよびZERO_RSTをバイナリエンコードした状態で入力し、リセットの選択信号として用いてもよい。 Although the signals INV_RST and ZERO_RST have been described as different signals, they are not limited to this. For example, signals INV_EN and CNT_RST may be input signals to pixel 100 to generate signals INV_RST and ZERO_RST within pixel 100 . Also, the pixel 100 may input at least the signals INV_RST and ZERO_RST in a binary-encoded state and use them as reset selection signals.

水平選択回路502は、出力スイッチ503を制御する。複数の出力スイッチ503は、画素100の列毎に設けられる。各列の出力スイッチ503は、順に、各列の垂直伝送路508を水平伝送路509に接続する。 A horizontal selection circuit 502 controls an output switch 503 . A plurality of output switches 503 are provided for each column of pixels 100 . The output switch 503 of each column in turn connects the vertical transmission line 508 of each column to the horizontal transmission line 509 .

圧縮部506は、水平伝送路509の計数値CNTを順に圧縮し、固体撮像素子500の外部に圧縮データを出力する。固体撮像素子500は、図4の各撮像期間のフレーム毎に、すべての画素100の計数値CNTを圧縮し、圧縮データを出力する。 The compression unit 506 sequentially compresses the count values CNT on the horizontal transmission line 509 and outputs the compressed data to the outside of the solid-state imaging device 500 . The solid-state imaging device 500 compresses the count values CNT of all the pixels 100 for each frame of each imaging period in FIG. 4 and outputs the compressed data.

図6は、圧縮部506の構成例を示すブロック図である。圧縮部506は、量子化部600と、エントロピー符号化部601と、符号量制御部602と、符号量計測部603とを有する。 FIG. 6 is a block diagram showing a configuration example of the compression unit 506. As shown in FIG. The compression unit 506 has a quantization unit 600 , an entropy coding unit 601 , a code amount control unit 602 and a code amount measurement unit 603 .

量子化部600は、符号化ブロック単位で画素100の計数値CNTを入力し、符号化ブロック内で水平方向に隣接する画素100の計数値CNTの差分値を算出し、その差分値を量子化し、量子化データを生成する。 The quantization unit 600 receives the count value CNT of the pixel 100 in encoding block units, calculates the difference value between the count values CNT of the pixels 100 adjacent in the encoding block in the horizontal direction, and quantizes the difference value. , to generate the quantized data.

エントロピー符号化部601は、入力される量子化データ(シンボル)の出現頻度に基づいて、それぞれの量子化データに符号を割り当て、符号化データ604を生成する。エントロピー符号化の方式は、例えば、ゴロム符号化またはハフマン符号化であるが、それらに限定されない。 The entropy coding unit 601 assigns a code to each quantized data based on the appearance frequency of the input quantized data (symbols) to generate the coded data 604 . The entropy coding scheme is, for example, Golomb coding or Huffman coding, but is not limited thereto.

符号量計測部603は、エントロピー符号化部601が生成する符号化ブロック単位の符号化データ量を計測する。符号量制御部602は、符号量計測部603により計測された符号化データ量に基づき、量子化部600の量子化ステップを制御する。 The code amount measurement unit 603 measures the amount of encoded data generated by the entropy encoding unit 601 for each encoding block. A code amount control unit 602 controls the quantization step of the quantization unit 600 based on the encoded data amount measured by the code amount measurement unit 603 .

図7は、圧縮部506の処理を示すフローチャートである。圧縮処理が開始されると、量子化部600は、符号化ブロック単位の画素100の計数値CNTを入力する。 FIG. 7 is a flow chart showing the processing of the compression unit 506. As shown in FIG. When the compression process is started, the quantization unit 600 inputs the count value CNT of the pixels 100 in units of encoding blocks.

最初に、ステップS701では、量子化部600は、符号化ブロック内で水平方向に隣接する画素100の計数値CNTの差分値を算出する。 First, in step S701, the quantization unit 600 calculates a difference value between count values CNT of horizontally adjacent pixels 100 in an encoding block.

次に、ステップS702では、量子化部600は、ステップS701で算出された差分値を所定の値を用いて量子化する。所定の値は、量子化ステップを決定するパラメータであり、後述の符号量制御部602によって動的に決定される。以降、所定の値をQP(Quantization Parameter:量子化パラメータ)という。量子化部600は、差分値をQPで除算し、除算結果の小数部を四捨五入することによって、量子化を行う。 Next, in step S702, the quantization unit 600 quantizes the difference value calculated in step S701 using a predetermined value. The predetermined value is a parameter that determines the quantization step, and is dynamically determined by the code amount control section 602, which will be described later. Henceforth, a predetermined value is called QP (Quantization Parameter: Quantization Parameter). Quantization section 600 performs quantization by dividing the difference value by QP and rounding off the fractional part of the division result.

次に、ステップS703では、エントロピー符号化部601は、量子化された差分値に対して符号の割り当てを行い、符号化データ604を生成する。符号量計測部603は、エントロピー符号化部601が生成する符号化ブロック単位の符号化データ量を計測する。 Next, in step S<b>703 , the entropy coding unit 601 assigns codes to the quantized difference values to generate coded data 604 . The code amount measurement unit 603 measures the amount of encoded data generated by the entropy encoding unit 601 for each encoding block.

次に、ステップS704では、符号量制御部602は、符号化ブロック単位の符号化データ量が目標符号化データ量に収まっているか否かを判定する。目標符号化データ量は、固体撮像素子500の出力帯域に収まる符号化データ量が設定される。符号量制御部602は、符号化ブロック単位の符号化データ量が目標符号化データ量に収まっていない場合には、ステップS705に進み、符号化ブロック単位の符号化データ量が目標符号化データ量に収まっている場合には、ステップS706に進む。 Next, in step S704, the code amount control unit 602 determines whether or not the encoded data amount for each encoding block is within the target encoded data amount. As the target encoded data amount, an encoded data amount that fits within the output band of the solid-state imaging device 500 is set. If the encoded data amount for each encoding block does not fall within the target encoded data amount, the code amount control unit 602 proceeds to step S705, and the encoded data amount for each encoding block reaches the target encoded data amount. , the process proceeds to step S706.

ステップS705では、符号量制御部602は、符号化ブロック単位の符号化データ量と、目標符号化データ量との差分に応じて、QPを増加または減少し、符号化ブロック単位の符号化データ量が目標符号化データ量に収まるように符号量制御を行う。その後、符号量制御部602は、ステップS702に戻り、上記の処理を繰り返す。 In step S705, the code amount control unit 602 increases or decreases the QP according to the difference between the encoded data amount for each encoding block and the target encoded data amount, thereby increasing or decreasing the encoded data amount for each encoding block. is within the target encoded data amount. After that, the code amount control unit 602 returns to step S702 and repeats the above processing.

ステップS706では、符号量制御部602は、各符号化ブロックの量子化に用いたQPと、エントロピー符号化部601の符号割り当て情報(符号化パラメータ)と、圧縮フラグとを、符号化データ604に対応付けて出力する。圧縮フラグは、フレーム内圧縮またはフレーム間圧縮を示す情報である。図4のタイミングt401~t403の撮像期間のフレームでは、圧縮フラグは、フレーム内圧縮を示す情報である。図4のタイミングt404~t405の撮像期間のフレームでは、圧縮フラグは、フレーム間圧縮を示す情報である。図4のタイミングt406~t407の撮像期間のフレームでは、圧縮フラグは、フレーム内圧縮を示す情報である。 In step S706, the code amount control unit 602 transfers the QP used for quantization of each encoded block, the code allocation information (encoding parameter) of the entropy encoding unit 601, and the compression flag to the encoded data 604. Correspond and output. The compression flag is information indicating intra-frame compression or inter-frame compression. In the frames during the imaging period from timing t401 to t403 in FIG. 4, the compression flag is information indicating intra-frame compression. The compression flag is information indicating inter-frame compression for frames in the imaging period from timing t404 to t405 in FIG. In the frames during the imaging period from timing t406 to t407 in FIG. 4, the compression flag is information indicating intra-frame compression.

以上のように、圧縮部506は、タイミングt401~t403の撮像期間のフレームおよびタイミングt406~t407の撮像期間のフレームでは、フレーム内圧縮を行うことができる。また、圧縮部506は、タイミングt404~t405の撮像期間のフレームでは、フレームメモリとして用いられるDRAMやSRAMを用いることなく、フレーム間圧縮を行うことができる。 As described above, the compression unit 506 can perform intra-frame compression on frames during the imaging period from timings t401 to t403 and frames during the imaging period from timings t406 to t407. Further, the compression unit 506 can perform inter-frame compression without using a DRAM or SRAM used as a frame memory in frames during the imaging period from timing t404 to t405.

一般的に、フレーム間圧縮は、フレーム間の動きベクトルが存在しない場合に、高い圧縮率を実現することが可能となり、伝送路の帯域を逼迫しやすいフレームレートの高い読み出しに相性がよい。また、読み出される1フレーム内の画素数がかなり多く、フレームレートが低い読み出しの時には、フレーム内圧縮は相性が良い。そのため、固体撮像素子500は、読み出しのレートに基づいて、本実施形態の機能を用いるか否かを制御してもよい。 In general, inter-frame compression can achieve a high compression rate when there is no inter-frame motion vector, and is well suited for high-frame-rate readout, which tends to impose a strain on the bandwidth of transmission channels. Further, when the number of pixels in one frame to be read is quite large and the frame rate is low, intra-frame compression is well suited. Therefore, the solid-state imaging device 500 may control whether or not to use the functions of the present embodiment based on the readout rate.

図8は、撮像システム800の構成例を示す図である。撮像システム800は、上記の固体撮像素子500の他に、光学系ユニット801と、伸張部802と、キャプチャー部803と、デジタル信号処理部804と、外部記録装置805とを有する。 FIG. 8 is a diagram showing a configuration example of an imaging system 800. As shown in FIG. The imaging system 800 has an optical system unit 801 , an expansion section 802 , a capture section 803 , a digital signal processing section 804 , and an external recording device 805 in addition to the solid-state imaging device 500 described above.

光学系ユニット801は、フォーカスを調整するためのフォーカシングレンズを含む光学レンズ群、シャッター、絞り、レンズ制御部等を有し、固体撮像素子500上に光学像を結像する。 The optical system unit 801 has an optical lens group including a focusing lens for adjusting focus, a shutter, an aperture, a lens control section, and the like, and forms an optical image on the solid-state imaging device 500 .

固体撮像素子500は、図5の固体撮像素子500であり、光学系ユニット801によって結像された像を光電変換し、画素100の計数値CNTの圧縮を行い、符号化データを伸張部802に出力する。符号化データには、QPと、符号化パラメータと、圧縮フラグとが対応付けられている。 The solid-state imaging device 500 is the solid-state imaging device 500 in FIG. 5, photoelectrically converts the image formed by the optical system unit 801, compresses the count value CNT of the pixel 100, and sends the encoded data to the decompression unit 802. Output. Encoded data is associated with a QP, an encoding parameter, and a compression flag.

伸張部802は、符号化データに対応付けられたDPと符号化パラメータと圧縮フラグに基づいて、符号化データに対して伸張処理を行い、伸張結果のデータをキャプチャー部803に出力する。伸張部802は、圧縮フラグがフレーム内圧縮を示す情報である場合には、内部のDRAM等の記憶装置に現フレームの伸張結果を出力する。また、伸張部802は、圧縮フラグがフレーム間圧縮を示す情報である場合には、内部の記憶装置に記憶されている前フレームの伸張結果を読み出し、フレーム間参照を行って現フレームの伸張を行う。 The decompression unit 802 performs decompression processing on the encoded data based on the DP, the encoding parameter, and the compression flag associated with the encoded data, and outputs decompression result data to the capture unit 803 . When the compression flag is information indicating intra-frame compression, the decompression unit 802 outputs the decompression result of the current frame to an internal storage device such as a DRAM. Further, when the compression flag is information indicating inter-frame compression, the decompression unit 802 reads the decompression result of the previous frame stored in the internal storage device, performs inter-frame reference, and decompresses the current frame. conduct.

キャプチャー部803は、伸張部802が出力する各フレームの画素信号の有効期間および種別を判定し、デジタル信号処理部804に出力する。デジタル信号処理部804は、各フレームの画素信号に対して、ホワイトバランス補正、同時化処理、動画像の符号化処理等のデジタル信号処理を行って、画像を外部記録装置805に出力する。外部記録装置805は、デジタル信号処理部804から出力された画像をメモリカードに記録する。 The capture unit 803 determines the effective period and type of the pixel signal of each frame output from the decompression unit 802 and outputs the result to the digital signal processing unit 804 . The digital signal processing unit 804 performs digital signal processing such as white balance correction, synchronization processing, and moving image encoding processing on the pixel signal of each frame, and outputs the image to the external recording device 805 . An external recording device 805 records the image output from the digital signal processing unit 804 on a memory card.

以上のように、固体撮像素子500は、タイミングt401~t403の撮像期間のフレームでは、各画素100の電圧パルスPLSの発生数を計数値CNTとして計数し、フレーム内圧縮により符号化データを生成する。また、固体撮像素子500は、タイミングt404~t405の撮像期間のフレームでは、現フレームと前フレームの各画素100の電圧パルスPLSの発生数の差分値を計数値CNTとして計数し、フレーム間圧縮により符号化データを生成する。 As described above, the solid-state imaging device 500 counts the number of voltage pulses PLS generated in each pixel 100 as the count value CNT in frames during the imaging period from timing t401 to t403, and generates encoded data by intra-frame compression. . In addition, the solid-state imaging device 500 counts the difference in the number of voltage pulses PLS generated in each pixel 100 between the current frame and the previous frame as a count value CNT in the frames during the imaging period from timing t404 to t405, and performs inter-frame compression. Generate encoded data.

固体撮像素子500は、フレーム内圧縮のフレームと、フレーム間圧縮のフレームとを交互に繰り返す。フレーム間圧縮は、フレームメモリを用いずに、実現できる。フレーム間圧縮を行うことにより、圧縮率が高くなり、符号データ量を削減することができる。また、被写体に依存する圧縮率の変動が少なくなる。また、フレーム間圧縮では、計数値CNTが0付近の値になるため、CMOSトランジスタのスイッチング電流が少なくなる。 The solid-state imaging device 500 alternately repeats intra-frame compressed frames and inter-frame compressed frames. Inter-frame compression can be implemented without using frame memory. By performing inter-frame compression, the compression rate is increased and the amount of encoded data can be reduced. In addition, subject-dependent variation in compression rate is reduced. Further, in the inter-frame compression, the count value CNT is close to 0, so the switching current of the CMOS transistor is reduced.

固体撮像素子500は、1ビット型アナログデジタル変換器とカウンタ104を有する。1ビット型アナログデジタル変換器は、APD101と、クエンチ抵抗102と、波形整形回路103とを有する。固体撮像素子500は、フレームメモリを用いずに、小さな回路規模で、フレーム間圧縮が可能である。 The solid-state imaging device 500 has a 1-bit analog-to-digital converter and a counter 104 . A 1-bit analog-to-digital converter has an APD 101 , a quench resistor 102 and a waveform shaping circuit 103 . The solid-state imaging device 500 is capable of inter-frame compression with a small circuit scale without using a frame memory.

図4のように、カウンタ104は、偶数フレームでは、APD101により生成された信号を基に計数された計数値CNTを生成する。また、カウンタ104は、奇数フレームでは、APD101により生成された信号を基に、前フレームの計数値CNTの正負符号が反転された計数値に対して計数された計数値CNTを生成する。偶数フレームと奇数フレームは、時系列的に異なるフレームである。 As shown in FIG. 4, the counter 104 generates a count value CNT based on the signal generated by the APD 101 in even frames. In odd-numbered frames, the counter 104 generates a count value CNT obtained by reversing the positive/negative sign of the count value CNT of the previous frame based on the signal generated by the APD 101 . Even-numbered frames and odd-numbered frames are different frames in time series.

具体的には、カウンタ104は、偶数フレームでは、前フレームの計数値CNTを初期値にリセットし、APD101により生成された信号を基に、リセットされた計数値に対して計数する。また、カウンタ104は、奇数フレームでは、前フレームの計数値CNTの論理反転値に1を加算することにより、前フレームの計数値CNTの正負符号を反転させる符号反転部203を有する。なお、偶数フレームと奇数フレームを入れ替えてもよい。 Specifically, in even frames, the counter 104 resets the count value CNT of the previous frame to an initial value, and counts against the reset count value based on the signal generated by the APD 101 . Further, the counter 104 has a sign inverting unit 203 that inverts the sign of the count value CNT of the previous frame by adding 1 to the logically inverted value of the count value CNT of the previous frame in odd frames. Note that even frames and odd frames may be interchanged.

(第2の実施形態)
第1の実施形態では、符号反転部203は、フリップフロップ200の出力値CNTに対して正負符号が反転した値を出力する。これにより、固体撮像素子500は、フレームメモリを用いずに、フレーム間の画素値の差分値を算出および圧縮し、コストを抑えて高い圧縮率を実現できる。また、符号反転部203は、フリップフロップ200の出力値CNTに対する2の補数を、フリップフロップ200の出力値CNTに対して正負符号が反転した値として出力する。これにより、伸張部802以降の処理を簡便にすることができる。しかし、符号反転部203は、フリップフロップ200の出力値CNTの論値反転だけではなく、1を加算する処理が必要となるため、カウンタ104の規模が大きくなり、カウンタ104の制御が複雑になるという課題がある。この課題は、画素100の数が多くなるほど、顕著になる。
(Second embodiment)
In the first embodiment, the sign inverting unit 203 outputs a value obtained by inverting the positive/negative sign of the output value CNT of the flip-flop 200 . As a result, the solid-state imaging device 500 can calculate and compress the difference value of pixel values between frames without using a frame memory, and realize a high compression ratio at a low cost. Further, the sign inverting unit 203 outputs the 2's complement of the output value CNT of the flip-flop 200 as a value obtained by inverting the positive/negative sign of the output value CNT of the flip-flop 200 . This makes it possible to simplify the processing after the decompression unit 802 . However, since the sign inverting unit 203 needs not only to invert the logic value of the output value CNT of the flip-flop 200 but also to add 1, the scale of the counter 104 becomes large and the control of the counter 104 becomes complicated. There is a problem. This problem becomes more conspicuous as the number of pixels 100 increases.

本発明の第2の実施形態では、図9の符号反転部900は、フリップフロップ200の出力値CNTに対する1の補数を出力する。これにより、撮像システム800は、伸張部802以降の処理を簡便にしつつ、回路規模の削減を行うことができる。 In the second embodiment of the present invention, the sign inverter 900 of FIG. 9 outputs the 1's complement of the output value CNT of the flip-flop 200 . As a result, the imaging system 800 can reduce the circuit scale while simplifying the processing after the decompression unit 802 .

図9は、第2の実施形態による同期カウンタ104の構成例を示す図である。以下、本実施形態が第1の実施形態と異なる点を説明する。図9のカウンタ104は、図2のカウンタ104に対して、符号反転部203の代わりに符号反転部900を設けたものである。符号反転部900は、フリップフロップ200の出力値CNTの論理反転値を、フリップフロップ200の出力値CNTに対する1の補数として、選択部202に出力する。符号反転部900は、符号反転部203と比べて、1を加算する加算部が存在しないため、同期カウンタ104の回路規模を削減することができる。選択部202と加算部201とフリップフロップ200の動作は、図2のものと同様である。選択部202は、信号INV_RSTがハイレベルの場合には、符号反転部900の出力値を加算部201に出力する。加算部201は、選択部202の出力値に電圧パルスPLSを加算し、加算結果をフリップフロップ200に出力する。フリップフロップ200は、加算部201の加算結果を保持し、保持している値を計数値CNTとして出力する。 FIG. 9 is a diagram showing a configuration example of the synchronous counter 104 according to the second embodiment. Differences of this embodiment from the first embodiment will be described below. The counter 104 in FIG. 9 is obtained by providing a sign inverting section 900 instead of the sign inverting section 203 in the counter 104 in FIG. The sign inversion unit 900 outputs the logically inverted value of the output value CNT of the flip-flop 200 to the selection unit 202 as a one's complement of the output value CNT of the flip-flop 200 . Compared to the sign inverting unit 203, the sign inverting unit 900 does not have an adding unit that adds 1, so the circuit scale of the synchronous counter 104 can be reduced. The operations of the selector 202, the adder 201 and the flip-flop 200 are the same as those in FIG. Selecting section 202 outputs the output value of sign inverting section 900 to adding section 201 when signal INV_RST is at high level. The adding section 201 adds the voltage pulse PLS to the output value of the selecting section 202 and outputs the addition result to the flip-flop 200 . The flip-flop 200 holds the addition result of the addition section 201 and outputs the held value as the count value CNT.

また、図9の同期カウンタ104を図3と同様な非同期カウンタで構成する場合には、図3で説明したようにハイレベルの信号INV_RSTが発行された後に1を加算する目的で、電圧パルスPLSをハイレベルに制御する必要がなくなり、制御が簡便となる。また、電圧パルスPLSの線に対して制御部505の出力ノードを接続する必要がなくなるため、配線の混雑性やトランジスタの駆動能力を向上させるための追加の電力が緩和される。 When the synchronous counter 104 of FIG. 9 is composed of an asynchronous counter similar to that of FIG. 3, the voltage pulse PLS is added for the purpose of adding 1 after the high level signal INV_RST is issued as described in FIG. is no longer required to be controlled at a high level, and control becomes simple. In addition, since it is not necessary to connect the output node of the control unit 505 to the line of the voltage pulse PLS, the congestion of the wiring and the additional electric power for improving the driving capability of the transistor can be alleviated.

図10は、本実施形態による圧縮部506の構成例を示す図である。図10の圧縮部506は、図6の圧縮部506に対して、2の補数化部1000を追加したものである。2の補数化部1000は、タイミングt401~t403とt406~t407のフレーム内圧縮のフレームでは、補数選択信号がローレベルであるため、カウンタ104の計数値CNTをそのまま量子化部600に出力する。また、2の補数化部1000は、タイミングt404~t405のフレーム間圧縮のフレームでは、補数選択信号がハイレベルであるため、カウンタ104の計数値CNTに1を加算し、2の補数表現に変換し、加算結果を量子化部600に出力する。これにより、図10の量子化部600の入力値は、図6の量子化部600の入力値と同じになる。量子化部600とエントロピー符号化部601と符号量制御部602と符号量計測部603の動作は、図6のものと同じである。本実施形態によれば、信号INV_RSTが入力された際の正負符号反転のための回路規模削減および制御性向上を図ることができる。 FIG. 10 is a diagram showing a configuration example of the compression unit 506 according to this embodiment. The compression unit 506 in FIG. 10 is obtained by adding a 2's complement unit 1000 to the compression unit 506 in FIG. 2's complementing section 1000 outputs the count value CNT of counter 104 to quantization section 600 as it is because the complement selection signal is at low level in the intra-frame compression frames at timings t401 to t403 and t406 to t407. In addition, since the complement selection signal is at a high level in interframe compression frames from timings t404 to t405, the 2's complement unit 1000 adds 1 to the count value CNT of the counter 104 and converts it to 2's complement representation. and outputs the addition result to quantization section 600 . As a result, the input value of quantization section 600 in FIG. 10 becomes the same as the input value of quantization section 600 in FIG. The operations of the quantization unit 600, the entropy coding unit 601, the code amount control unit 602, and the code amount measurement unit 603 are the same as those in FIG. According to the present embodiment, it is possible to reduce the circuit size and improve the controllability for inverting the positive and negative signs when the signal INV_RST is input.

なお、圧縮部506内の2の補数化部1000が1を加算する構成について説明したが、これに限定されない。例えば、固体撮像素子500は、図6の圧縮部506を有し、図8の伸張部802が1の補数の入力値に対して伸張処理を行った上で、現フレームと前フレームとの差分を1の補数として現フレームの画素データを復元してもよい。つまり、複数の画素100の構成を簡便化し、パス上で1カ所に束ねられる部分で補数表現処理を吸収すればよい。 Although the configuration in which the 2's complement unit 1000 in the compression unit 506 adds 1 has been described, the configuration is not limited to this. For example, the solid-state imaging device 500 has the compression unit 506 in FIG. 6, and the decompression unit 802 in FIG. may be one's complement to restore the pixel data of the current frame. In other words, the configuration of the plurality of pixels 100 should be simplified, and the complement representation process should be absorbed in a portion that is bundled at one location on the path.

以上のように、カウンタ104および2の補数化部1000は、偶数フレームでは、APD101により生成された信号を基に計数された計数値CNTを生成する。また、カウンタ104および2の補数化部1000は、奇数フレームでは、APD101により生成された信号を基に、前フレームの計数値CNTの正負符号が反転された計数値に対して計数された計数値CNTを生成する。 As described above, the counter 104 and the two's complement unit 1000 generate the count value CNT based on the signal generated by the APD 101 in even frames. In odd frames, the counter 104 and the 2's complementing unit 1000 count the count value obtained by inverting the sign of the count value CNT of the previous frame based on the signal generated by the APD 101. Generate CNTs.

カウンタ104は、奇数フレームでは、前フレームの計数値CNTの論理反転値に対して計数する。2の補数化部1000は、奇数フレームでは、カウンタ104により計数された計数値CNTに1を加算する。 The counter 104 counts against the logically inverted value of the count value CNT of the previous frame in odd frames. The 2's complement unit 1000 adds 1 to the count value CNT counted by the counter 104 in odd frames.

(第3の実施形態)
図11は、本発明の第3の実施形態による固体撮像素子500の構成例を示す図である。以下、本実施形態が第1の実施形態と異なる点を説明する。図11の固体撮像素子500は、図5の固体撮像素子500に対して、2本の制御線1101および1102を有する点が異なる。
(Third embodiment)
FIG. 11 is a diagram showing a configuration example of a solid-state imaging device 500 according to the third embodiment of the invention. Differences of this embodiment from the first embodiment will be described below. The solid-state imaging device 500 in FIG. 11 differs from the solid-state imaging device 500 in FIG. 5 in that it has two control lines 1101 and 1102 .

制御部505は、制御線1101を介して、偶数行の画素100に対して、信号EVEN_INV_RSTおよびEVEN_ZERO_RSTを出力する。信号EVEN_INV_RSTおよびEVEN_ZERO_RSTは、それぞれ、図1の信号INV_RSTおよびZERO_RSTに対応する。 The control unit 505 outputs signals EVEN_INV_RST and EVEN_ZERO_RST to the pixels 100 in the even rows via the control line 1101 . Signals EVEN_INV_RST and EVEN_ZERO_RST correspond to signals INV_RST and ZERO_RST of FIG. 1, respectively.

また、制御部505は、制御線1102を介して、奇数行の画素100に対して、信号ODD_INV_RSTおよびODD_ZERO_RSTを出力する。信号ODD_INV_RSTおよびODD_ZERO_RSTは、それぞれ、図1の信号INV_RSTおよびZERO_RSTに対応する。 Also, the control unit 505 outputs signals ODD_INV_RST and ODD_ZERO_RST to the pixels 100 in the odd rows via the control line 1102 . Signals ODD_INV_RST and ODD_ZERO_RST correspond to signals INV_RST and ZERO_RST of FIG. 1, respectively.

図12は、本実施形態による固体撮像素子500の制御方法を示すタイミングチャートである。固体撮像素子500は、複数の画素100を並列に駆動することにより、光学像をデジタル信号に変換する。 FIG. 12 is a timing chart showing the control method of the solid-state imaging device 500 according to this embodiment. The solid-state imaging device 500 converts an optical image into a digital signal by driving a plurality of pixels 100 in parallel.

EVEN_APDは、偶数行の画素100において、APD101およびクエンチ抵抗102により生成される電位波形であり、波形整形回路103の入力電位波形を示す。ODD_APDは、奇数行の画素100において、APD101およびクエンチ抵抗102により生成される電位波形であり、波形整形回路103の入力電位波形を示す。 EVEN_APD is a potential waveform generated by the APD 101 and the quench resistor 102 in the even-row pixels 100 and indicates the input potential waveform of the waveform shaping circuit 103 . ODD_APD is a potential waveform generated by the APD 101 and the quench resistor 102 in the odd-numbered pixels 100 and indicates the input potential waveform of the waveform shaping circuit 103 .

電圧パルスEVEN_PLSは、偶数行の画素100内の波形整形回路103の出力電圧である。電圧パルスODD_PLSは、奇数行の画素100内の波形整形回路103の出力電圧である。 The voltage pulse EVEN_PLS is the output voltage of the waveform shaping circuit 103 in the pixels 100 of even rows. The voltage pulse ODD_PLS is the output voltage of the waveform shaping circuit 103 in the pixels 100 in the odd rows.

信号CNT_RST、EVEN_INV_ENおよびODD_INV_ENは、図11の制御部505により生成される。制御部505は、信号CNT_RST、EVEN_INV_ENおよびODD_INV_ENを基に、信号EVEN_ZERO_RST、EVEN_INV_RST、ODD_ZERO_RSTおよびODD_INV_RSTを生成する。 Signals CNT_RST, EVEN_INV_EN and ODD_INV_EN are generated by control unit 505 of FIG. Control unit 505 generates signals EVEN_ZERO_RST, EVEN_INV_RST, ODD_ZERO_RST and ODD_INV_RST based on signals CNT_RST, EVEN_INV_EN and ODD_INV_EN.

具体的には、信号EVEN_INV_ENがローレベルの時に信号CNT_RSTがハイレベルの場合には、信号EVEN_ZERO_RSTがハイレベルになる。また、信号EVEN_INV_ENがハイレベルの時に信号CNT_RSTがハイレベルの場合には、信号EVEN_INV_RSTがハイレベルになる。 Specifically, when the signal EVEN_INV_EN is low level and the signal CNT_RST is high level, the signal EVEN_ZERO_RST becomes high level. Also, if the signal CNT_RST is high level when the signal EVEN_INV_EN is high level, the signal EVEN_INV_RST becomes high level.

また、信号ODD_INV_ENがローレベルの時に信号CNT_RSTがハイレベルの場合には、信号ODD_ZERO_RSTがハイレベルになる。また、信号ODD_INV_ENがハイレベルの時に信号CNT_RSTがハイレベルの場合には、信号ODD_INV_RSTがハイレベルになる。 Also, if the signal CNT_RST is high level when the signal ODD_INV_EN is low level, the signal ODD_ZERO_RST becomes high level. Also, if the signal CNT_RST is high level when the signal ODD_INV_EN is high level, the signal ODD_INV_RST becomes high level.

信号EVEN_ZERO_RSTは、偶数行の画素100に入力される信号ZERO_RSTである。信号EVEN_INV_RSTは、偶数行の画素100に入力される信号INV_RSTである。 The signal EVEN_ZERO_RST is the signal ZERO_RST that is input to the pixels 100 in the even rows. The signal EVEN_INV_RST is the signal INV_RST that is input to the pixels 100 in even rows.

信号ODD_ZERO_RSTは、奇数行の画素100に入力される信号ZERO_RSTである。信号ODD_INV_RSTは、奇数行の画素100に入力される信号INV_RSTである。 The signal ODD_ZERO_RST is the signal ZERO_RST that is input to the pixels 100 in the odd rows. The signal ODD_INV_RST is the signal INV_RST that is input to the pixels 100 in the odd rows.

計数値EVEN_CNTは、偶数行の画素100内のカウンタ104の出力値を表す。計数値ODD_CNTは、奇数行の画素100内のカウンタ104の出力値を表す。カウンタ104は、信号CNT_RSTがローレベルである期間を撮像期間として前述の計数および初期化動作を行う。なお、カウンタ104は、信号CNT_RSTがローレベルである状態でカウントを行うが、別途イネーブル信号に応じてカウントを行ってもよい。 The count value EVEN_CNT represents the output value of the counter 104 in the even row of pixels 100 . The count value ODD_CNT represents the output value of the counter 104 in the odd row of pixels 100 . The counter 104 performs the above-described counting and initialization operations with the period during which the signal CNT_RST is at low level as the imaging period. Note that the counter 104 counts when the signal CNT_RST is at low level, but may count according to a separate enable signal.

READ_ENは、カウンタ104の出力値を垂直伝送路508(図11)に出力するタイミングを表しており、信号CNT_RSTと同一のタイミングで発行される。なお、信号CNT_RSTと同一のタイミングで信号READ_ENは発行されるが、それに限定されない。具体的には、読み出し信号とリセット信号を個別に持ち、発行のタイミングをずらすことで垂直伝送路508への転送タイミングを任意に設定してもよい。 READ_EN represents the timing of outputting the output value of the counter 104 to the vertical transmission line 508 (FIG. 11), and is issued at the same timing as the signal CNT_RST. Although the signal READ_EN is issued at the same timing as the signal CNT_RST, it is not limited to this. Specifically, the transfer timing to the vertical transmission line 508 may be arbitrarily set by having separate readout signals and reset signals and shifting the timing of their issuance.

次に、画素100の駆動方法を説明する。タイミングt400では、信号EVEN_INV_ENがローレベルであり、信号ODD_INV_ENがハイレベルである状態で、信号CNT_RSTがハイレベルになるため、信号EVEN_ZERO_RSTとODD_INV_RSTがハイレベルになる。信号EVEN_ZERO_RSTがハイレベルになると、偶数行のカウンタ104は、クロック信号に同期して、計数値EVEN_CNTを0にクリアする。また、信号ODD_INV_RSTがハイレベルになると、計数値ODD_CNTは、直前の計数値ODD_CNTに対して正負符号が反転した値になる。ここでは、撮像開始状態であり、カウンタ104のレジスタ値が不定値のため、計数値ODD_CNTは、不定値となる。なお、実際は、クロック信号に同期して計数値EVEN_CNTとODD_CNTに反映されるため、計数値EVEN_CNTとODD_CNTに遅延が発生するが、略同一のタイミングとして説明を行う。 Next, a method for driving the pixel 100 will be described. At timing t400, the signal EVEN_INV_EN is at low level, the signal ODD_INV_EN is at high level, and the signal CNT_RST is at high level, so the signals EVEN_ZERO_RST and ODD_INV_RST are at high level. When the signal EVEN_ZERO_RST goes high, the counters 104 in the even rows clear the count value EVEN_CNT to 0 in synchronization with the clock signal. Further, when the signal ODD_INV_RST becomes high level, the count value ODD_CNT becomes a value obtained by inverting the sign of the immediately preceding count value ODD_CNT. Here, since the imaging is started and the register value of the counter 104 is an undefined value, the count value ODD_CNT is an undefined value. Actually, since the count values EVEN_CNT and ODD_CNT are reflected in synchronization with the clock signal, a delay occurs in the count values EVEN_CNT and ODD_CNT, but the description will be made assuming substantially the same timing.

タイミングt401では、信号EVEN_ZERO_RSTおよびODD_INV_RSTがローレベルになり、露光が開始され、撮像期間が開始する。また、信号EVEN_ZERO_RSTおよびODD_INV_RSTがローレベルになると、信号EVEN_INV_ENがハイレベルになり、信号ODD_INV_ENがローレベルになる。次に信号CNT_RSTがハイレベルになった際には、信号EVEN_ZERO_RSTではなく信号EVEN_INV_RSTがハイレベルになり、信号ODD_INV_RSTではなく信号ODD_ZERO_RSTがハイレベルになる。 At timing t401, the signals EVEN_ZERO_RST and ODD_INV_RST become low level, exposure starts, and the imaging period starts. Also, when the signals EVEN_ZERO_RST and ODD_INV_RST go low, the signal EVEN_INV_EN goes high and the signal ODD_INV_EN goes low. Next, when the signal CNT_RST becomes high level, the signal EVEN_INV_RST becomes high level instead of the signal EVEN_ZERO_RST, and the signal ODD_ZERO_RST becomes high level instead of the signal ODD_INV_RST.

タイミングt402では、APD101に光子が入射したことにより、APD101には、アバランシェ増倍された電荷が発生し、APD101の電位が変化する。APD101は、クエンチ抵抗102を介して電荷を排出するので、APD101が再び一定の電位になるまで時間がかかる。偶数行および奇数行の波形整形回路103は、それぞれ、APD101の電位の立ち下がりエッジを検出し、短時間の電圧パルスEVEN_PLSおよびODD_PLSを生成する。この電圧パルスEVEN_PLSおよびODD_PLSは、それぞれ、偶数行および奇数行のカウンタ104に入力される。偶数行のカウンタ104は、電圧パルスEVEN_PLSを計数し、計数値EVEN_CNTが1となる。奇数行のカウンタ104は、電圧パルスODD_PLSを計数し、計数値ODD_CNTが不定値となる。 At timing t402, a photon is incident on the APD 101, so that an avalanche-multiplied charge is generated in the APD 101, and the potential of the APD 101 changes. Since the APD 101 discharges electric charges via the quench resistor 102, it takes time for the APD 101 to reach a constant potential again. Waveform shaping circuits 103 in even and odd rows detect the falling edge of the potential of APD 101 and generate short-time voltage pulses EVEN_PLS and ODD_PLS, respectively. The voltage pulses EVEN_PLS and ODD_PLS are input to the even and odd row counters 104, respectively. The even-numbered counters 104 count the voltage pulses EVEN_PLS and the count value EVEN_CNT becomes one. The odd-numbered counters 104 count the voltage pulses ODD_PLS, and the count value ODD_CNT becomes an undefined value.

タイミングt401~t403では、電圧パルスEVEN_PLSおよびODD_PLSが発生するたびに、偶数行および奇数行のカウンタ104は、計数値EVEN_CNTおよびODD_CNTをインクリメントし続ける。タイミングt401~t403では、5回の電圧パルスEVEN_PLSおよび5回の電圧パルスODD_PLSが発生し、計数値EVEN_CNTは5となり、計数値ODD_CNTは不定値となる。 During timings t401 to t403, the even-row and odd-row counters 104 continue to increment the count values EVEN_CNT and ODD_CNT each time the voltage pulses EVEN_PLS and ODD_PLS are generated. At timings t401 to t403, five voltage pulses EVEN_PLS and five voltage pulses ODD_PLS are generated, the count value EVEN_CNT becomes 5, and the count value ODD_CNT becomes an undefined value.

タイミングt403では、計数値EVEN_CNTが5の状態で、信号CNT_RSTおよびREAD_ENがハイレベルになる。信号READ_ENがハイレベルになると、計数値EVEN_CNTおよびODD_CNTが垂直伝送路508に順に伝送され、撮像期間が完了する。計数値EVEN_CNTの5は、タイミングt401~t403の撮像期間のフレームの画素値に対応する。偶数行の画素100にとって、タイミングt401~t403の撮像期間のフレームは、フレーム内圧縮のためのフレームである。 At timing t403, the count value EVEN_CNT is 5 and the signals CNT_RST and READ_EN go high. When the signal READ_EN becomes high level, the count values EVEN_CNT and ODD_CNT are transmitted to the vertical transmission line 508 in order, and the imaging period is completed. The count value EVEN_CNT of 5 corresponds to the pixel value of the frame during the imaging period from timing t401 to t403. For the pixels 100 in even rows, the frames during the imaging period from timings t401 to t403 are frames for intra-frame compression.

また、タイミングt403では、信号EVEN_INV_ENがハイレベルのため、信号EVEN_INV_RSTがハイレベルとなり、計数値EVEN_CNTの値が5の正負符号反転値である-5となる。また、信号ODD_INV_ENがローレベルのため、信号ODD_ZERO_RSTがハイレベルとなり、計数値EVEN_CNTの値が0となる。 Also, at timing t403, since the signal EVEN_INV_EN is at a high level, the signal EVEN_INV_RST is at a high level, and the value of the count value EVEN_CNT becomes -5, which is the sign-inverted value of 5. Also, since the signal ODD_INV_EN is at low level, the signal ODD_ZERO_RST is at high level and the value of the count value EVEN_CNT is zero.

タイミングt404では、信号EVEN_INV_RST、ODD_ZERO_RST、EVEN_INV_ENおよびREAD_ENがローレベルになり、信号ODD_INV_ENがハイレベルになり、露光が開始し、次のフレームの撮像期間が開始する。タイミングt404~t405では、タイミングt401~t403と同様に、電圧パルスEVEN_PLSおよびODD_PLSが発生するたびに、偶数行および奇数行のカウンタ104は、計数値EVEN_CNTおよびODD_CNTをインクリメントし続ける。 At timing t404, the signals EVEN_INV_RST, ODD_ZERO_RST, EVEN_INV_EN and READ_EN become low level, the signal ODD_INV_EN becomes high level, exposure starts, and the imaging period of the next frame starts. At timings t404 to t405, the even-row and odd-row counters 104 continue to increment the count values EVEN_CNT and ODD_CNT each time the voltage pulses EVEN_PLS and ODD_PLS are generated, similarly to the timings t401 to t403.

タイミングt404~t405では、4回の電圧パルスEVEN_PLSおよび4回の電圧パルスODD_PLSが発生している。偶数行のカウンタ104は、-5の計数値EVEN_CNTに対して4回インクリメントし、-1の計数値EVEN_CNTを出力する。奇数行のカウンタ104は、0の計数値ODD_CNTに対して4回インクリメントし、4の計数値ODD_CNTを出力する。 Between timings t404 and t405, four voltage pulses EVEN_PLS and four voltage pulses ODD_PLS are generated. The even row counter 104 increments four times to a count value EVEN_CNT of -5 and outputs a count value EVEN_CNT of -1. The odd row counter 104 increments a count value ODD_CNT of 0 four times and outputs a count value ODD_CNT of 4. FIG.

タイミングt405では、計数値EVEN_CNTが-1であり、計数値ODD_CNTが4の状態で、タイミングt403と同様に、信号CNT_RSTおよびREAD_ENがハイレベルになる。信号READ_ENがハイレベルになると、垂直伝送路508に計数値EVEN_CNTおよびODD_CNTが順に伝送され、撮像期間が完了する。 At timing t405, the count value EVEN_CNT is -1 and the count value ODD_CNT is 4, and the signals CNT_RST and READ_EN go high as at timing t403. When the signal READ_EN becomes high level, the count values EVEN_CNT and ODD_CNT are sequentially transmitted to the vertical transmission path 508, and the imaging period is completed.

-1の計数値EVEN_CNTは、今回の撮像期間のフレームの電圧パルスEVEN_PLSの発生数から、前回の撮像期間のフレームの電圧パルスEVEN_PLSの発生数を減算した値である。すなわち、-1の計数値CNTは、今回のフレームと前回のフレームの電圧パルスEVEN_PLSの発生数の差分である。偶数行の画素100にとって、タイミングt404~t405の撮像期間のフレームは、フレーム間圧縮のためのフレームである。 The count value EVEN_CNT of -1 is a value obtained by subtracting the number of voltage pulses EVEN_PLS generated in the frame in the previous imaging period from the number of voltage pulses EVEN_PLS generated in the frame in the current imaging period. That is, the count value CNT of -1 is the difference between the number of voltage pulses EVEN_PLS generated in the current frame and the previous frame. For the pixels 100 in even rows, the frames during the imaging period from timing t404 to t405 are frames for inter-frame compression.

4の計数値ODD_CNTは、今回の撮像期間のフレームの電圧パルスODD_PLSの発生数であり、奇数行の画素100の画素値に対応する。奇数行の画素100にとって、タイミングt404~t405の撮像期間のフレームは、フレーム内圧縮のためのフレームである。 A count value ODD_CNT of 4 is the number of voltage pulses ODD_PLS generated in the frame during the current imaging period, and corresponds to the pixel values of the pixels 100 in the odd rows. For the pixels 100 in the odd-numbered rows, the frame during the imaging period from timing t404 to t405 is a frame for intra-frame compression.

また、タイミングt405では、信号EVEN_INV_ENがローレベルのため、信号EVEN_ZERO_RSTがハイレベルとなり、計数値EVEN_CNTが0となる。また、信号ODD_INV_ENがハイレベルのため、信号ODD_INV_RSTがハイレベルとなり、計数値ODD_CNTは、正負符号が反転し、4から-4になる。 Also, at timing t405, since the signal EVEN_INV_EN is at low level, the signal EVEN_ZERO_RST becomes high level and the count value EVEN_CNT becomes zero. Also, since the signal ODD_INV_EN is at a high level, the signal ODD_INV_RST is at a high level, and the sign of the count value ODD_CNT is inverted from 4 to -4.

タイミングt406では、信号CNT_RST、EVEN_ZERO_RST、ODD_INV_EN、ODD_INV_RSTおよびREAD_ENがローレベルとなり、信号EVEN_INV_ENがハイレベルとなる。 At timing t406, the signals CNT_RST, EVEN_ZERO_RST, ODD_INV_EN, ODD_INV_RST and READ_EN become low level, and the signal EVEN_INV_EN becomes high level.

タイミングt406~t407では、タイミングt401~t403と同様に、電圧パルスEVEN_PLSおよびODD_PLSが発生する度に、偶数行および奇数行のカウンタ104は、計数値EVEN_CNTおよびODD_CNTをインクリメントし続ける。 At timings t406 to t407, the even-row and odd-row counters 104 continue to increment count values EVEN_CNT and ODD_CNT each time voltage pulses EVEN_PLS and ODD_PLS are generated, similarly to timings t401 to t403.

タイミングt406~t407では、4回の電圧パルスEVEN_PLSが発生しているため、偶数行のカウンタ104は、0の計数値EVEN_CNTに対して4回インクリメントし、4の計数値EVEN_CNTを出力する。偶数行の画素100にとって、タイミングt406~t407の撮像期間のフレームは、フレーム内圧縮のためのフレームである。 Since four voltage pulses EVEN_PLS are generated at timings t406 to t407, the even-numbered counter 104 increments the count value EVEN_CNT of 0 four times and outputs the count value EVEN_CNT of 4. For the pixels 100 in the even-numbered rows, the frame during the imaging period from timing t406 to t407 is a frame for intra-frame compression.

タイミングt406~t407では、4回の電圧パルスODD_PLSが発生しているため、奇数行のカウンタ104は、-4の計数値EVEN_CNTに対して4回インクリメントし、0の計数値EVEN_CNTを出力する。奇数行の画素100にとって、タイミングt406~t407の撮像期間のフレームは、フレーム間圧縮のためのフレームである。 Since four voltage pulses ODD_PLS are generated at timings t406 to t407, the odd-numbered counter 104 increments the count value EVEN_CNT of -4 four times and outputs the count value EVEN_CNT of 0. For the pixels 100 in the odd-numbered rows, the frames during the imaging period from timing t406 to t407 are frames for inter-frame compression.

タイミングt407~t408では、タイミングt403~t404と同様に、信号CNT_RST、EVEN_INV_EN、ODD_INV_EN、EVEN_ZERO_RST、ODD_INV_RSTおよびREAD_ENが制御される。計数値EVEN_CNTおよびODD_CNTは、垂直伝送路508に伝送される。 At timings t407 to t408, signals CNT_RST, EVEN_INV_EN, ODD_INV_EN, EVEN_ZERO_RST, ODD_INV_RST and READ_EN are controlled in the same manner as at timings t403 to t404. Count values EVEN_CNT and ODD_CNT are transmitted to vertical transmission line 508 .

以降、偶数行および奇数行の画素100は、タイミングt404~t406と同様の動作と、タイミングt406~t408と同様の動作を交互に繰り返す。偶数行のカウンタ104は、計数値EVEN_CNTとして、現フレームの撮像期間の電圧パルスEVEN_PLSの発生数と、現フレームと前フレームの電圧パルスEVEN_PLSの発生数の差分とを交互に出力する。奇数行のカウンタ104は、計数値ODD_CNTとして、現フレームの撮像期間の電圧パルスODD_PLSの発生数と、現フレームと前フレームの電圧パルスODD_PLSの発生数の差分とを交互に出力する。 After that, the pixels 100 in the even-numbered rows and the odd-numbered rows alternately repeat the operations similar to the timings t404 to t406 and the operations similar to the timings t406 to t408. The even-numbered counters 104 alternately output, as count values EVEN_CNT, the number of voltage pulses EVEN_PLS generated during the imaging period of the current frame and the difference between the number of voltage pulses EVEN_PLS generated between the current frame and the previous frame. The odd-numbered counters 104 alternately output the number of voltage pulses ODD_PLS generated during the imaging period of the current frame and the difference between the number of voltage pulses ODD_PLS generated between the current frame and the previous frame as the count value ODD_CNT.

なお、信号ODD_INV_RSTおよびODD_ZERO_RSTと信号EVEN_INV_RSTおよびEVEN_ZERO_RSTは、各々異なる信号として説明したが、これに限定されない。例えば、偶数行の画素100は、信号EVEN_INV_ENおよびCNT_RSTを入力し、内部で、信号EVEN_INV_RSTおよびEVEN_ZERO_RSTを生成してもよい。また、奇数行の画素100は、信号ODD_INV_ENおよびCNT_RSTを入力し、内部で、信号ODD_INV_RSTおよびODD_ZERO_RSTを生成してもよい。また、偶数行の画素100は、少なくとも信号EVEN_INV_RSTおよびEVEN_ZERO_RSTをバイナリエンコードした状態で入力し、リセットの選択信号として用いてもよい。また、奇数行の画素100は、少なくとも信号ODD_INV_RSTおよびODD_ZERO_RSTをバイナリエンコードした状態で入力し、リセットの選択信号として用いてもよい。 Although the signals ODD_INV_RST and ODD_ZERO_RST and the signals EVEN_INV_RST and EVEN_ZERO_RST have been described as different signals, they are not limited to this. For example, even row pixels 100 may input signals EVEN_INV_EN and CNT_RST and internally generate signals EVEN_INV_RST and EVEN_ZERO_RST. Odd row pixels 100 may also input signals ODD_INV_EN and CNT_RST and generate signals ODD_INV_RST and ODD_ZERO_RST internally. Further, at least the signals EVEN_INV_RST and EVEN_ZERO_RST may be binary-encoded and used as reset selection signals for the pixels 100 in the even-numbered rows. Further, at least the signals ODD_INV_RST and ODD_ZERO_RST that are binary-encoded may be input to the pixels 100 in the odd-numbered rows and used as reset selection signals.

次に、図7を参照しながら、圧縮部506の処理を説明する。ステップS701~S705の処理は、第1の実施形態と同じである。 Next, the processing of the compression unit 506 will be described with reference to FIG. The processing of steps S701 to S705 is the same as in the first embodiment.

ステップS706では、符号量制御部602は、各符号化ブロックの量子化に用いたQPと、エントロピー符号化部601の符号割り当て情報(符号化パラメータ)と、圧縮フラグとを、符号化データ604に対応付けて出力する。圧縮フラグは、フレーム内圧縮またはフレーム間圧縮を示す情報である。 In step S706, the code amount control unit 602 transfers the QP used for quantization of each encoded block, the code allocation information (encoding parameter) of the entropy encoding unit 601, and the compression flag to the encoded data 604. Correspond and output. The compression flag is information indicating intra-frame compression or inter-frame compression.

図12のタイミングt401~t403の撮像期間のフレームでは、偶数行の画素100の圧縮フラグは、フレーム内圧縮を示す情報であり、奇数行の画素100の圧縮フラグは、フレーム間圧縮を示す情報である。 In the frames during the imaging period from timing t401 to t403 in FIG. 12, the compression flags of the pixels 100 in the even rows are information indicating intra-frame compression, and the compression flags of the pixels 100 in the odd rows are information indicating inter-frame compression. be.

図12のタイミングt404~t405の撮像期間のフレームでは、偶数行の画素100の圧縮フラグは、フレーム間圧縮を示す情報であり、奇数行の画素100の圧縮フラグは、フレーム内圧縮を示す情報である。 In the frames during the imaging period from timing t404 to t405 in FIG. 12, the compression flags of the even-numbered pixels 100 are information indicating inter-frame compression, and the compression flags of the odd-numbered pixels 100 are information indicating intra-frame compression. be.

図12のタイミングt406~t407の撮像期間のフレームでは、偶数行の画素100の圧縮フラグは、フレーム内圧縮を示す情報であり、奇数行の画素100の圧縮フラグは、フレーム間圧縮を示す情報である。 In the frames during the imaging period from timing t406 to t407 in FIG. 12, the compression flags of pixels 100 in even rows are information indicating intra-frame compression, and the compression flags of pixels 100 in odd rows are information indicating inter-frame compression. be.

以上のように、圧縮部506は、タイミングt401~t403の撮像期間のフレームでは、偶数行の画素100に対してフレーム内圧縮を行い、奇数行の画素100に対してフレーム間圧縮を行う。また、圧縮部506は、タイミングt404~t405の撮像期間のフレームでは、偶数行の画素100に対してフレーム間圧縮を行い、奇数行の画素100に対してフレーム内圧縮を行う。また、圧縮部506は、タイミングt406~t407の撮像期間のフレームでは、偶数行の画素100に対してフレーム内圧縮を行い、奇数行の画素100に対してフレーム間圧縮を行う。フレーム間圧縮は、フレームメモリを用いることなく、圧縮処理を行うことができる。 As described above, the compression unit 506 performs intra-frame compression on the pixels 100 on the even-numbered rows and inter-frame compression on the pixels 100 on the odd-numbered rows in frames during the imaging period from the timings t401 to t403. In addition, the compression unit 506 performs inter-frame compression on the pixels 100 in the even-numbered rows and intra-frame compression on the pixels 100 in the odd-numbered rows in frames during the imaging period from timing t404 to t405. In addition, the compression unit 506 performs intra-frame compression on the pixels 100 on the even-numbered rows and inter-frame compression on the pixels 100 on the odd-numbered rows in frames during the imaging period from timing t406 to t407. Inter-frame compression can be performed without using a frame memory.

固体撮像素子500は、偶数行の画素100に対して、フレーム単位で、フレーム内圧縮とフレーム間圧縮を交互に行い、奇数行の画素100に対して、フレーム単位で、フレーム間圧縮とフレーム内圧縮を交互に行う。これにより、圧縮後のデータ量を平滑化することができる。 The solid-state imaging device 500 alternately performs intra-frame compression and inter-frame compression on the pixels 100 on the even-numbered rows on a frame-by-frame basis, and performs inter-frame compression and intra-frame compression on the pixels 100 on the odd-numbered rows on a frame-by-frame basis. Alternate compressions. Thereby, the amount of data after compression can be smoothed.

次に、図8の撮像システム800が第1の実施形態と異なる点を説明する。伸張部802は、符号化データに対応付けられたDPと符号化パラメータと圧縮フラグに基づいて、符号化データに対して伸張処理を行い、伸張結果のデータをキャプチャー部803に出力する。伸張部802は、偶数行または偶数行の画素100の圧縮フラグがフレーム内圧縮を示す情報である場合には、内部のDRAM等の記憶装置に現フレームの伸張結果を出力する。また、伸張部802は、偶数行または奇数行の画素100の圧縮フラグがフレーム間圧縮を示す情報である場合には、内部の記憶装置に記憶されている前フレームの伸張結果を読み出し、フレーム間参照を行って現フレームの伸張を行う。伸張部802は、偶数行の伸張結果と奇数行の伸張結果を1枚の画像に合成し、合成した画像をキャプチャー部803に出力する。 Next, the difference of the imaging system 800 of FIG. 8 from the first embodiment will be described. The decompression unit 802 performs decompression processing on the encoded data based on the DP, the encoding parameter, and the compression flag associated with the encoded data, and outputs decompression result data to the capture unit 803 . The expansion unit 802 outputs the expansion result of the current frame to an internal storage device such as a DRAM when the compression flag of the pixel 100 in the even-numbered row or the even-numbered row is information indicating intra-frame compression. Further, when the compression flag of the pixels 100 in even or odd rows is information indicating inter-frame compression, the decompression unit 802 reads out the decompression result of the previous frame stored in the internal storage device, and performs inter-frame compression. Decompress the current frame by referencing it. The decompression unit 802 synthesizes the even-numbered row decompression result and the odd-numbered row decompression result into one image, and outputs the synthesized image to the capture unit 803 .

以上のように、本実施形態によれば、偶数行および奇数行でフレーム内圧縮およびフレーム間圧縮を交互に行うことにより、伝送路の帯域をフレーム間で平均的な帯域に設定することができる。 As described above, according to this embodiment, intra-frame compression and inter-frame compression are alternately performed on even-numbered rows and odd-numbered rows, so that the bandwidth of the transmission path can be set to an average bandwidth between frames. .

図12のように、偶数行のカウンタ104は、偶数フレームでは偶数行のAPD101により生成された信号を基に計数された現フレームの計数値EVEN_CNTを生成する。偶数行のカウンタ104は、奇数フレームでは偶数行のAPD101により生成された信号を基に計数された前フレームの計数値と偶数行のAPD101により生成された信号を基に計数された現フレームの計数値の差分を示す計数値EVEN_CNTを生成する。 As shown in FIG. 12, the even-numbered counter 104 generates a count value EVEN_CNT of the current frame based on the signal generated by the even-numbered APD 101 in the even-numbered frame. The even-numbered counter 104 counts the previous frame count based on the signal generated by the even-numbered APD 101 and the current frame count based on the signal generated by the even-numbered APD 101 in the odd-numbered frame. Generate a count value EVEN_CNT that indicates the numerical difference.

奇数行のカウンタ104は、偶数フレームでは奇数行のAPD101で生成された信号を基に計数された前フレームの計数値と奇数行のAPD101で生成された信号を基に計数された現フレームの計数値との差分を示す第2の計数値ODD_CNTを生成する。また、奇数行のカウンタ104は、奇数フレームでは奇数行のAPD101により生成された信号を基に計数された現フレームの計数値ODD_CNTを生成する。なお、奇数行と偶数行を入れ替えてもよい。ここで、すべての画素100は、偶数行の画素100および奇数行の画素100から成る空間的に異なる複数のフレームに分割される。その場合、偶数行の画素100は、第1のフレームに対応し、奇数行の画素100は、第2のフレームに対応する。 The odd-numbered counter 104 counts the count value of the previous frame based on the signal generated by the odd-numbered APD 101 in the even-numbered frame and the current frame count based on the signal generated by the odd-numbered APD 101 . A second count value ODD_CNT is generated that indicates the difference from the numerical value. Further, the odd-numbered counter 104 generates a count value ODD_CNT of the current frame based on the signal generated by the odd-numbered APD 101 in the odd-numbered frame. Note that odd-numbered rows and even-numbered rows may be interchanged. Here, all pixels 100 are divided into spatially distinct frames of pixels 100 in even rows and pixels 100 in odd rows. In that case, the even rows of pixels 100 correspond to the first frame and the odd rows of pixels 100 correspond to the second frame.

(第4の実施形態)
図13は、本発明の第4の実施形態による固体撮像素子500の構成例を示す図である。固体撮像素子500は、フレームメモリ1301を用いて、フレーム間の伝送帯域を平滑化する。以下、本実施形態が第3の実施形態と異なる点を説明する。図13の固体撮像素子500は、図11の固体撮像素子500に対して、圧縮部506の代わりに、フレームメモリ1301および圧縮部1302を設けたものである。フレームメモリ1301は、水平伝送路509の計数値CNTを格納し、その格納した計数値CNTを圧縮部1302に出力する。圧縮部1302は、フレームメモリ1301から前フレームの計数値CNTを入力し、水平伝送路509から現フレームの計数値CNTを入力し、圧縮する。
(Fourth embodiment)
FIG. 13 is a diagram showing a configuration example of a solid-state imaging device 500 according to the fourth embodiment of the invention. The solid-state imaging device 500 uses the frame memory 1301 to smooth the transmission band between frames. Differences of this embodiment from the third embodiment will be described below. A solid-state imaging device 500 in FIG. 13 is obtained by providing a frame memory 1301 and a compression unit 1302 in place of the compression unit 506 in the solid-state imaging device 500 in FIG. The frame memory 1301 stores the count value CNT of the horizontal transmission line 509 and outputs the stored count value CNT to the compression section 1302 . The compression unit 1302 receives the count value CNT of the previous frame from the frame memory 1301, receives the count value CNT of the current frame from the horizontal transmission line 509, and compresses them.

制御部505は、制御線1101を介して、偶数行の画素100に対して、信号EVEN_INV_RSTを出力せず、各フレーム間でハイレベルパルスの信号EVEN_ZERO_RSTを出力する。偶数行の画素100では、図2の選択部202は、信号EVEN_ZERO_RSTがハイレベルの場合に「0」を加算部201に出力し、信号EVEN_ZERO_RSTがローレベルの場合にフリップフロップ200の出力値CNTを加算部201に出力する。偶数行のカウンタ104は、全フレームにおいて、タイミングt401~t403のように、電圧パルスEVEN_PLSの発生数を計数値EVEN_CNTとして出力する。 The control unit 505 does not output the signal EVEN_INV_RST to the pixels 100 in the even rows via the control line 1101, but outputs the high-level pulse signal EVEN_ZERO_RST between each frame. 2 outputs “0” to the addition unit 201 when the signal EVEN_ZERO_RST is at high level, and outputs the output value CNT of the flip-flop 200 when the signal EVEN_ZERO_RST is at low level. Output to the addition unit 201 . The even-numbered counter 104 outputs the number of occurrences of the voltage pulse EVEN_PLS as the count value EVEN_CNT at timings t401 to t403 in all frames.

また、制御部505は、制御線1201を介して、奇数行の画素100に対して、信号ODD_INV_RSTを出力せず、各フレーム間でハイレベルパルスの信号ODD_ZERO_RSTを出力する。奇数行の画素100では、図2の選択部202は、信号ODD_ZERO_RSTがハイレベルの場合には「0」を加算部201に出力し、信号ODD_ZERO_RSTがローレベルの場合にはフリップフロップ200の出力値CNTを加算部201に出力する。奇数行のカウンタ104は、全フレームにおいて、タイミングt404~t405のように、電圧パルスODD_PLSの発生数を計数値ODD_CNTとして出力する。 In addition, the control unit 505 does not output the signal ODD_INV_RST to the pixels 100 in the odd rows via the control line 1201, but outputs the high-level pulse signal ODD_ZERO_RST between frames. 2 outputs “0” to the addition unit 201 when the signal ODD_ZERO_RST is at high level, and outputs the output value of the flip-flop 200 when the signal ODD_ZERO_RST is at low level. CNT is output to addition section 201 . The odd-numbered counter 104 outputs the number of occurrences of the voltage pulse ODD_PLS as the count value ODD_CNT at timings t404 to t405 in all frames.

図14は、図13の圧縮部1302の構成例を示す図である。図14の圧縮部1302は、図6の圧縮部506に対して、減算器1400および選択部1401を追加したものである。減算器1400は、水平伝送路509から入力した現フレームの計数値EVEN_CNTまたはODD_CNTから、フレームメモリ1301から入力した前フレームの計数値EVEN_CNTまたはODD_CNTを減算し、減算結果を選択部1401に出力する。すなわち、減算器1400は、現フレームの計数値と前フレームの計数値との差分を、フレーム間差分信号として出力する。 FIG. 14 is a diagram showing a configuration example of the compression unit 1302 of FIG. 13. As shown in FIG. A compression unit 1302 in FIG. 14 is obtained by adding a subtractor 1400 and a selection unit 1401 to the compression unit 506 in FIG. Subtractor 1400 subtracts the count value EVEN_CNT or ODD_CNT of the previous frame input from frame memory 1301 from the count value EVEN_CNT or ODD_CNT of the current frame input from horizontal transmission line 509 , and outputs the subtraction result to selection section 1401 . That is, the subtractor 1400 outputs the difference between the count value of the current frame and the count value of the previous frame as an inter-frame difference signal.

減算器1400の出力値は、図12のタイミングt404~t405のフレームの-1の計数値EVEN_CNTと、タイミングt406~t407のフレームの0の計数値ODD_CNTに対応する。水平伝送路509の値は、タイミングt401~t403のフレームの5の計数値EVEN_CNTと、タイミングt404~t405のフレームの4の計数値ODD_CNTと、タイミングt406~t407のフレームの4の計数値EVEN_CNTに対応する。 The output value of the subtractor 1400 corresponds to the count value EVEN_CNT of -1 in the frame between timings t404 and t405 and the count value ODD_CNT of 0 in the frame between timings t406 and t407 in FIG. The value of the horizontal transmission line 509 corresponds to the count value EVEN_CNT of 5 in the frame from timing t401 to t403, the count value ODD_CNT of 4 in the frame from timing t404 to t405, and the count value EVEN_CNT of 4 in the frame from timing t406 to t407. do.

選択部1401は、制御部505の選択信号に応じて、減算器1400の出力値または水平伝送路509の出力値を、量子化部600に出力する。選択部1401は、図12に示すように、偶数フレームでは、奇数行の場合には、減算器1400の出力値を量子化部600に出力し、偶数行の場合には、水平伝送路509の出力値を量子化部600に出力する。また、選択部1401は、図12に示すように、奇数フレームでは、偶数行の場合には、減算器1400の出力値を量子化部600に出力し、奇数行の場合には、水平伝送路509の出力値を量子化部600に出力する。 The selection section 1401 outputs the output value of the subtractor 1400 or the output value of the horizontal transmission path 509 to the quantization section 600 according to the selection signal of the control section 505 . As shown in FIG. 12, selection section 1401 outputs the output value of subtractor 1400 to quantization section 600 in the case of an odd-numbered row in an even-numbered frame, and outputs the output value of horizontal transmission line 509 in the case of an even-numbered row. The output value is output to quantization section 600 . Further, as shown in FIG. 12, in an odd-numbered frame, selector 1401 outputs the output value of subtractor 1400 to quantization section 600 in the case of even-numbered rows, The output value of 509 is output to the quantization section 600 .

図15は、固体撮像素子500の制御方法を示すタイミングチャートである。図15では、説明の簡便化のため、遅延時間を無視して表している。水平伝送路509は、水平伝送路509から伝送された計数値が偶数行の計数値または奇数行の計数値であるかの種別を示している。FrameCntは、現在の撮像期間のフレーム番号であり、撮像期間および読み出し期間が完了するとインクリメントされる。LineCntは、水平伝送路509から伝送された計数値の行番号である。RAM_AREAは、フレーム番号FrameCntおよび行番号LineCntに対応したフレームメモリ1301の格納領域を示している。 FIG. 15 is a timing chart showing a control method of the solid-state imaging device 500. FIG. In FIG. 15, the delay time is ignored for simplification of explanation. The horizontal transmission path 509 indicates whether the count value transmitted from the horizontal transmission path 509 is an even-numbered row count value or an odd-numbered row count value. FrameCnt is the frame number of the current imaging period, and is incremented when the imaging period and readout period are completed. LineCnt is the line number of the count value transmitted from the horizontal transmission line 509 . RAM_AREA indicates a storage area of the frame memory 1301 corresponding to the frame number FrameCnt and line number LineCnt.

図16は、フレームメモリ1301の格納領域RAM_AREAを示す図である。格納領域RAM_AREAは、フレーム番号FrameCntおよび行番号LineCntに基づいてアクセスされるフレームメモリ1301の領域である。 FIG. 16 is a diagram showing the storage area RAM_AREA of the frame memory 1301. As shown in FIG. The storage area RAM_AREA is an area of the frame memory 1301 accessed based on the frame number FrameCnt and line number LineCnt.

フレーム番号FrameCntが0の場合、行番号LineCntが0および2の場合には、それぞれ、水平伝送路509の計数値は格納領域RAM_AREAの0および1に書き込まれる。また、フレーム番号FrameCntが0の場合、行番号LineCntが1および3の場合には、それぞれ、格納領域RAM_AREAの1および2から計数値を読み出す。 When the frame number FrameCnt is 0, and when the line number LineCnt is 0 and 2, the count value of the horizontal transmission line 509 is written to 0 and 1 in the storage area RAM_AREA, respectively. When the frame number FrameCnt is 0, and when the line numbers LineCnt are 1 and 3, the count values are read from 1 and 2 of the storage area RAM_AREA, respectively.

フレーム番号FrameCntが1~5に関しても同様に、フレーム番号FrameCntおよび行番号LineCntに対応した格納領域RAM_AREAに水平伝送路509の計数値を書き込む、もしくは格納領域RAM_AREAから計数値を読み出す。 Similarly, when the frame number FrameCnt is 1 to 5, the count value of the horizontal transmission line 509 is written in the storage area RAM_AREA corresponding to the frame number FrameCnt and the line number LineCnt, or the count value is read from the storage area RAM_AREA.

フレーム番号FrameCntの0~5の格納領域RAM_AREAの制御が完了すると、次フレームでは、フレーム番号FrameCntの0に戻り、再度、フレーム番号FrameCntの0~5の格納領域RAM_AREAの制御が行われる。 When the control of the storage areas RAM_AREA of frame numbers FrameCnt 0 to 5 is completed, the next frame returns to the frame number FrameCnt 0, and the storage areas RAM_AREA of frame numbers FrameCnt 0 to 5 are controlled again.

このように処理を行うことで、フレームメモリ1301の容量を固体撮像素子500の行数分だけ持たなくてもよいため、コスト削減が可能となる。なお、このフレームメモリ1301の制御による必要な容量は、水平画素数×(垂直行数÷2+2)となる。 By performing processing in this manner, the capacity of the frame memory 1301 does not have to correspond to the number of rows of the solid-state imaging device 500, so cost can be reduced. The capacity required by the control of the frame memory 1301 is the number of horizontal pixels×(the number of vertical rows/2+2).

図15において、RAM_CZは、フレームメモリ1301に対する制御信号であって、ローレベルの時に後述のRAM_WZに基づいた命令を有効にする。RAM_WZは、フレームメモリ1301に対する書き込み制御信号であって、ローレベルの時にRAM_Dの計数値を格納領域RAM_AREAに書き込み、ハイレベルの時に格納領域RAM_AREAからRAM_Qに計数値を読み出す。このタイミングチャート中のXは、Don‘tCareを示し、どのような入力であってもよいことを示す。 In FIG. 15, RAM_CZ is a control signal for the frame memory 1301, and enables commands based on RAM_WZ, which will be described later, when it is at low level. RAM_WZ is a write control signal for the frame memory 1301, writes the count value of RAM_D to the storage area RAM_AREA when it is low level, and reads the count value from the storage area RAM_AREA to RAM_Q when it is high level. X in this timing chart indicates Don'tCare and indicates that any input is acceptable.

タイミングt1500では、0フレーム目の撮像期間が完了し、垂直伝送路508および水平伝送路509を介して0行目の計数値が順次転送開始される。この時、フレーム番号FrameCntは0フレーム目であり、行番号LineCntは0行目である。現フレームの0行目の水平伝送路509の計数値は、所定の格納領域RAM_AREAの0に書き込みされると同時に、圧縮部1302に出力される。 At timing t1500, the imaging period of the 0th frame is completed, and the count values of the 0th row are sequentially transferred via the vertical transmission path 508 and the horizontal transmission path 509. FIG. At this time, the frame number FrameCnt is the 0th frame and the line number LineCnt is the 0th line. The count value of the horizontal transmission path 509 in the 0th row of the current frame is written to 0 in the predetermined storage area RAM_AREA and is output to the compression unit 1302 at the same time.

タイミングt1501では、0行目の水平伝送路509からの転送が完了し、1行目の水平伝送路509からの転送が開始される。行番号LineCntは+1加算され、所定の格納領域RAM_AREAの1に格納されている前フレームの1行目の計数値の読み出し処理を行う。読み出された前フレームの1行目の計数値は、現フレームの1行目の計数値とともに圧縮部1302に出力される。圧縮部1302では、減算器1400は、現フレームの1行目の計数値から前フレームの1行目の計数値を減算し、減算結果を選択部1401を介して量子化部600に出力する。 At timing t1501, transfer from the horizontal transmission line 509 of the 0th row is completed, and transfer from the horizontal transmission line 509 of the 1st row is started. +1 is added to the line number LineCnt, and the count value of the first line of the previous frame stored in 1 of the predetermined storage area RAM_AREA is read out. The read count value of the first row of the previous frame is output to the compression unit 1302 together with the count value of the first row of the current frame. In compression section 1302 , subtractor 1400 subtracts the count value of the first line of the previous frame from the count value of the first line of the current frame, and outputs the subtraction result to quantization section 600 via selection section 1401 .

タイミングt1502では、タイミングt1500と同様に、水平伝送路509を介して偶数行である2行目の計数値が転送される。現フレームの2行目の計数値は、格納領域RAM_AREAの1に書き込みされると同時に、圧縮部1302に出力される。圧縮部1302では、選択部1401は、現フレームの2行目の計数値を量子化部600に出力する。 At timing t1502, as at timing t1500, the count value of the second even row is transferred via the horizontal transmission path 509. FIG. The count value of the second row of the current frame is written to 1 in the storage area RAM_AREA and is output to the compression unit 1302 at the same time. In compression section 1302 , selection section 1401 outputs the count value of the second row of the current frame to quantization section 600 .

タイミングt1503では、タイミングt1501と同様に、水平伝送路509を介して奇数である3行目の計数値が転送される。所定の格納領域RAM_AREAの2に格納されている前フレームの3行目の計数値の読み出し処理を行う。読み出された前フレームの3行目の計数値は、現フレームの3行目の計数値とともに圧縮部1302に出力される。圧縮部1302では、減算器1400は、現フレームの3行目の計数値から前フレームの3行目の計数値を減算し、減算結果を選択部1401を介して量子化部600に出力する。 At timing t1503, the count value of the third row, which is an odd number, is transferred via the horizontal transmission path 509, as at timing t1501. Readout processing of the count value in the third row of the previous frame stored in the predetermined storage area RAM_AREA 2 is performed. The read count value of the third row of the previous frame is output to the compression unit 1302 together with the count value of the third row of the current frame. In compression section 1302 , subtractor 1400 subtracts the count value in the third row of the previous frame from the count value in the third row of the current frame, and outputs the subtraction result to quantization section 600 via selection section 1401 .

タイミングt1504では、3行目の計数値の出力が完了し、1フレーム目の撮像期間が開始する。 At timing t1504, the output of the third row count value is completed, and the imaging period of the first frame starts.

タイミングt1505では、1フレーム目の撮像期間が終了し、垂直伝送路508および水平伝送路509を介して1フレーム目の0行目の計数値が順次転送開始される。この時、フレーム番号FrameCntは1であり、行番号LineCntは0である。所定の格納領域RAM_AREAの0から前フレームの0行目の計数値が読み出される。読み出された前フレームの0行目の計数値と、現フレームの0行目の計数値は、圧縮部1302に出力される。圧縮部1302では、減算器1400は、現フレームの0行目の計数値から前フレームの0行目の計数値を減算し、減算結果を選択部1401を介して量子化部600に出力する。 At timing t1505, the imaging period of the first frame ends, and the count values of the 0th row of the first frame start to be sequentially transferred via the vertical transmission path 508 and the horizontal transmission path 509. FIG. At this time, the frame number FrameCnt is 1 and the line number LineCnt is 0. The count value of the 0th row of the previous frame is read out from 0 of the predetermined storage area RAM_AREA. The read count value of the 0th row of the previous frame and the read count value of the 0th row of the current frame are output to the compression unit 1302 . In the compression unit 1302 , the subtractor 1400 subtracts the count value of the 0th row of the previous frame from the count value of the 0th row of the current frame, and outputs the subtraction result to the quantization unit 600 via the selection unit 1401 .

タイミングt1506では、0行目の水平伝送路509からの転送が完了し、水平伝送路509から1行目の計数値の転送が開始される。行番号LineCntは+1加算される。水平伝送路509の現フレームの1行目の計数値は、所定の格納領域RAM_AREAの1に書き込まれると同時に、圧縮部1302に出力される。圧縮部1302では、選択部1401は、現フレームの1行目の計数値を量子化部600に出力する。 At timing t1506, the transfer from the 0th row horizontal transmission line 509 is completed, and the transfer of the 1st row count value from the horizontal transmission line 509 is started. +1 is added to the line number LineCnt. The count value of the first row of the current frame of the horizontal transmission line 509 is written to 1 in the predetermined storage area RAM_AREA and is output to the compression section 1302 at the same time. In compression section 1302 , selection section 1401 outputs the count value of the first row of the current frame to quantization section 600 .

タイミングt1507では、タイミングt1505と同様に、水平伝送路509を介して1フレーム目の2行目の計数値が転送される。所定の格納領域RAM_AREAの1から前フレームの2行目の計数値が読み出される。読み出された前フレームの2行目の計数値と、現フレームの2行目の計数値は、圧縮部1302に出力される。圧縮部1302では、減算器1400は、現フレームの2行目の計数値から前フレームの2行目の計数値を減算し、減算結果を選択部1401を介して量子化部600に出力する。 At timing t1507, the count value of the second row of the first frame is transferred via the horizontal transmission line 509, as at timing t1505. The count value of the second row of the previous frame is read out from 1 of the predetermined storage area RAM_AREA. The read count value of the second row of the previous frame and the read count value of the second row of the current frame are output to the compression unit 1302 . In compression section 1302 , subtractor 1400 subtracts the count value of the second line of the previous frame from the count value of the second line of the current frame, and outputs the subtraction result to quantization section 600 via selection section 1401 .

タイミングt1508では、タイミングt1506と同様に、水平伝送路509から3行目の計数値が転送される。水平伝送路509の現フレームの3行目の計数値は、所定の格納領域RAM_AREAの1に書き込まれると同時に、圧縮部1302に出力される。圧縮部1302では、選択部1401は、現フレームの3行目の計数値を量子化部600に出力する。タイミングt1509では、1フレーム目の処理が終了する。 At timing t1508, the count value of the third row is transferred from the horizontal transmission line 509 as at timing t1506. The count value of the third row of the current frame of the horizontal transmission path 509 is written to 1 in the predetermined storage area RAM_AREA and is output to the compression section 1302 at the same time. In compression section 1302 , selection section 1401 outputs the count value of the third row of the current frame to quantization section 600 . At timing t1509, the processing of the first frame ends.

以上のように、固体撮像素子500は、偶数フレームおよび奇数フレームに応じた偶数行および奇数行のフレームメモリ1301に対する書き込みおよび読み出し動作を繰り返し制御する。これにより、偶数フレームでは、奇数行のみ前フレームの奇数行を参照し、現フレームと前フレームの計数値の差分を得ることができる。奇数フレームでは、偶数行のみ前フレームの偶数行を参照し、現フレームと前フレームの計数値の差分を得ることができる。圧縮部1302は、圧縮処理により、フレーム間の伝送路帯域の平滑化が可能となる。 As described above, the solid-state imaging device 500 repeatedly controls the write and read operations to the frame memory 1301 of even-numbered rows and odd-numbered rows corresponding to even-numbered frames and odd-numbered frames. As a result, in even-numbered frames, only the odd-numbered rows refer to the odd-numbered rows of the previous frame, and the difference between the count values of the current frame and the previous frame can be obtained. In the odd frame, only the even rows refer to the even rows of the previous frame to obtain the difference between the count values of the current frame and the previous frame. The compression section 1302 can smooth the transmission path band between frames by compression processing.

フレームメモリ1301は、APD101により生成された信号を基に計数された前フレームの計数値を記憶する。減算器1400は、偶数フレームの奇数行と奇数フレームの偶数行では、APD101により生成された信号を基に計数された前フレームの計数値と、APD101により生成された信号を基に計数された現フレームの計数値との差分を示す計数値を生成する。 A frame memory 1301 stores the count value of the previous frame counted based on the signal generated by the APD 101 . The subtractor 1400 calculates the count value of the previous frame based on the signal generated by the APD 101 and the current count value based on the signal generated by the APD 101 in the odd rows of the even frames and the even rows of the odd frames. Generate a count value that indicates the difference from the frame count value.

なお、本実施形態では、偶数フレームおよび奇数フレームに基づいた偶数行の画素および奇数行の画素のフレーム間参照動作について説明を行ったが、この制御に限定されるものではない。例えば、偶数フレームおよび奇数フレームに基づいて水平方向の偶数列の画素および奇数列の画素のフレーム間参照動作に使用することも可能である。 In this embodiment, the inter-frame reference operation for even-numbered pixels and odd-numbered pixels based on even-numbered frames and odd-numbered frames has been described, but the control is not limited to this. For example, it can be used for inter-frame referencing of pixels in horizontal even and odd columns based on even and odd frames.

また、1つのマイクロレンズの下に射出瞳を2分割して配置された2つの画素を配置するような技術においても、分割された左側の画素および右側の画素を上記の偶数列の画素および奇数列の画素として制御したとしても同様の効果を得ることが可能となる。 In addition, in the technique of arranging two pixels under one microlens by dividing the exit pupil into two, the divided left pixel and right pixel are used as the even-numbered pixels and the odd-numbered pixels. A similar effect can be obtained even if the pixels are controlled as columns.

つまり、画素の種別を2種類に分類し、偶数フレームおよび奇数フレームに基づいて各種類の画素をそれぞれフレームメモリ1301に対して書き込みおよび読み出すように制御し、圧縮処理を行うことで、フレーム間の伝送路帯域の平滑化が可能となる。 That is, the pixel types are classified into two types, and each type of pixel is controlled to be written to and read from the frame memory 1301 based on even-numbered frames and odd-numbered frames, respectively, and compression processing is performed. Smoothing of the transmission line band becomes possible.

第1~第4の実施形態の固体撮像素子500は、デジタルカメラ、ビデオカメラの他、スマートフォン、タブレット、工業用カメラ、医療用カメラ、車載カメラ等に適用可能である。また、カウンタ104は、APD101に入射する光子の数をカウントする例を説明したが、これに限定されない。カウンタ104は、フォトダイオードが生成する光電変換信号と、時間と共に変化するランプ信号との大小関係が逆転するまでの時間をカウントすることにより、アナログデジタル変換を行うものでもよい。 The solid-state imaging device 500 of the first to fourth embodiments can be applied to smartphones, tablets, industrial cameras, medical cameras, vehicle-mounted cameras, etc., in addition to digital cameras and video cameras. Also, although an example in which the counter 104 counts the number of photons incident on the APD 101 has been described, the present invention is not limited to this. The counter 104 may perform analog-to-digital conversion by counting the time until the magnitude relationship between the photoelectric conversion signal generated by the photodiode and the ramp signal that changes with time is reversed.

なお、上記実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。 It should be noted that the above-described embodiments are merely examples of specific implementations of the present invention, and the technical scope of the present invention should not be construed to be limited by these. That is, the present invention can be embodied in various forms without departing from its technical concept or main features.

101 APD、102 クエンチ抵抗、103 波形整形回路、104 カウンタ、506 圧縮部 101 APD, 102 quench resistor, 103 waveform shaping circuit, 104 counter, 506 compression section

Claims (32)

光電変換により信号を生成する光電変換手段と、
第1のフレームでは、光電変換手段により生成された信号を基に計数された計数値を生成し、前記第1のフレームとは異なる第2のフレームでは、光電変換手段により生成された信号を基に、前フレームの計数値の正負符号が反転された計数値に対して計数された計数値を生成する生成手段と、
前記生成手段により生成された計数値を圧縮する圧縮手段と
を有することを特徴とする撮像装置。
photoelectric conversion means for generating a signal by photoelectric conversion;
In the first frame, a count value is generated based on the signal generated by the photoelectric conversion means, and in the second frame different from the first frame , the signal generated by the photoelectric conversion means is generated. a generation means for generating a count value counted against a count value obtained by inverting the sign of the count value of the previous frame;
and compression means for compressing the count value generated by the generation means.
前記生成手段は、前記第1のフレームでは、計数値を初期値にリセットし、前記光電変換手段により生成された信号を基に、前記リセットされた計数値に対して計数することを特徴とする請求項1に記載の撮像装置。 The generating means resets the count value to an initial value in the first frame, and counts the reset count value based on the signal generated by the photoelectric conversion means. The imaging device according to claim 1 . 前記生成手段は、偶数フレームでは、前フレームの計数値を初期値にリセットし、前記光電変換手段により生成された信号を基に、前記リセットされた計数値に対して計数し、奇数フレームでは、前記光電変換手段により生成された信号を基に、前フレームの計数値の正負符号が反転された計数値に対して計数された計数値を生成することを特徴とする請求項1または2に記載の撮像装置。 The generation means resets the count value of the previous frame to an initial value in an even frame, counts the reset count value based on the signal generated by the photoelectric conversion means, and in an odd frame, 3. The count value according to claim 1, wherein a count value obtained by inverting the sign of the count value of the previous frame is generated based on the signal generated by the photoelectric conversion means. imaging device. 前記生成手段は、奇数フレームでは、前フレームの計数値を初期値にリセットし、前記光電変換手段により生成された信号を基に、前記リセットされた計数値に対して計数し、偶数フレームでは、前記光電変換手段により生成された信号を基に、前フレームの計数値の正負符号が反転された計数値に対して計数された計数値を生成することを特徴とする請求項1または2に記載の撮像装置。 The generating means resets the count value of the previous frame to an initial value in the odd-numbered frame, counts the reset count value based on the signal generated by the photoelectric conversion means, and counts the reset count value in the even-numbered frame, 3. The count value according to claim 1, wherein a count value obtained by inverting the sign of the count value of the previous frame is generated based on the signal generated by the photoelectric conversion means. imaging device. 前記生成手段は、前記第2のフレームでは、前記第1のフレームの計数値の正負符号を反転させた計数値に対して計数することを特徴とする請求項1~4のいずれか1項に記載の撮像装置。 5. The method according to any one of claims 1 to 4, wherein, in the second frame, the generating means counts the count value obtained by inverting the sign of the count value of the first frame. The imaging device described. 前記生成手段は、前記第2のフレームでは、前記第1のフレームの計数値の論理反転値に1を加算することにより、前記第1のフレームの計数値の正負符号を反転させる反転手段を有することを特徴とする請求項5に記載の撮像装置。 The generating means has inverting means for inverting the sign of the count value of the first frame by adding 1 to the logically inverted value of the count value of the first frame in the second frame. 6. The imaging device according to claim 5, characterized in that: 前記生成手段は、
前記第2のフレームでは、前記第1のフレームの計数値の論理反転値に対して計数する計数手段と、
前記計数手段により計数された第2のフレームの計数値に1を加算する加算手段とを有することを特徴とする請求項1~4のいずれか1項に記載の撮像装置。
The generating means is
in the second frame, counting means for counting against a logically inverted value of the count value in the first frame;
5. The imaging apparatus according to claim 1, further comprising adding means for adding 1 to the count value of the second frame counted by said counting means.
前記撮像装置は、複数の画素を有し、
前記複数の画素の各々は、前記光電変換手段と前記生成手段とを有し、
前記圧縮手段は、前記複数の画素の中の前記生成手段により生成された計数値を順に圧縮することを特徴とする請求項5または6に記載の撮像装置。
The imaging device has a plurality of pixels,
each of the plurality of pixels has the photoelectric conversion means and the generation means;
7. The imaging apparatus according to claim 5, wherein said compressing means sequentially compresses the count values generated by said generating means among said plurality of pixels.
前記生成手段は、前記第2のフレームでは、前記第1のフレームの計数値の1の補数表現に対して計数した後、2の補数表現に変換することを特徴とする請求項1~4のいずれか1項に記載の撮像装置。 5. The method according to any one of claims 1 to 4, wherein, in the second frame, the generating means converts the count value of the first frame into 2's complement representation after counting in 1's complement representation. The imaging device according to any one of items 1 and 2. 光電変換により信号を生成する光電変換手段と、
第1のフレームでは、光電変換手段により生成された信号を基に計数された計数値を生成し、前記第1のフレームとは異なる第2のフレームでは、光電変換手段により生成された信号を基に、前フレームの計数値が論理反転された計数値に対して計数された計数値を生成する生成手段と、
前記生成手段により生成された計数値を圧縮する圧縮手段と
を有することを特徴とする撮像装置。
photoelectric conversion means for generating a signal by photoelectric conversion;
In the first frame, a count value is generated based on the signal generated by the photoelectric conversion means, and in the second frame different from the first frame , the signal generated by the photoelectric conversion means is generated. generating means for generating a count value obtained by logically inverting the count value of the previous frame;
and compression means for compressing the count value generated by the generation means.
前記第1のフレームと前記第2のフレームは、時系列的に異なるフレームであることを特徴とする請求項1~10のいずれか1項に記載の撮像装置。 11. The imaging apparatus according to any one of claims 1 to 10, wherein the first frame and the second frame are different frames in time series. 前記第1のフレームと前記第2のフレームは、異なる光電変換手段から成る空間的に異なるフレームであることを特徴とする請求項1または10に記載の撮像装置。 11. The imaging apparatus according to claim 1, wherein said first frame and said second frame are spatially different frames made up of different photoelectric conversion means. 光電変換により信号を生成する第1の光電変換手段と、
光電変換により信号を生成する第2の光電変換手段と、
第1のフレームでは、前記第1の光電変換手段により生成された信号を基に計数された第1の計数値を生成する第1の生成手段と、
前記第1のフレームでは、前記第2の光電変換手段により生成された信号を基に計数された前フレームの計数値と前記第2の光電変換手段により生成された信号を基に計数された前記第1のフレームの計数値との差分を示す第2の計数値を生成する第2の生成手段と、
前記第1の生成手段により生成された第1の計数値および前記第2の生成手段により生成された第2の計数値を圧縮する圧縮手段と
を有することを特徴とする撮像装置。
a first photoelectric conversion means for generating a signal by photoelectric conversion;
a second photoelectric conversion means for generating a signal by photoelectric conversion;
In the first frame, first generation means for generating a first count value counted based on the signal generated by the first photoelectric conversion means;
In the first frame, the count value of the previous frame counted based on the signal generated by the second photoelectric conversion means and the count value counted based on the signal generated by the second photoelectric conversion means a second generating means for generating a second count value indicating a difference from the count value of the first frame;
and compression means for compressing the first count value generated by the first generation means and the second count value generated by the second generation means.
前記第1の生成手段は、第2のフレームでは、前記第1の光電変換手段により生成された信号を基に計数された前フレームの計数値と前記第1の光電変換手段により生成された信号を基に計数された前記第2のフレームの計数値との差分を示す第1の計数値を生成し、
前記第2の生成手段は、前記第2のフレームでは、前記第2の光電変換手段により生成された信号を基に計数された第2の計数値を生成することを特徴とする請求項13に記載の撮像装置。
In the second frame, the first generation means generates a count value of the previous frame counted based on the signal generated by the first photoelectric conversion means and the signal generated by the first photoelectric conversion means. generating a first count value indicating a difference from the count value of the second frame counted based on
14. The method according to claim 13, wherein said second generation means generates a second count value counted based on the signal generated by said second photoelectric conversion means in said second frame. The imaging device described.
前記第1の生成手段は、偶数フレームでは、前記第1の光電変換手段により生成された信号を基に計数された現フレームの第1の計数値を生成し、奇数フレームでは、前記第1の光電変換手段により生成された信号を基に計数された前フレームの計数値と前記第1の光電変換手段により生成された信号を基に計数された現フレームの計数値との差分を示す第1の計数値を生成し、
前記第2の生成手段は、偶数フレームでは、前記第2の光電変換手段により生成された信号を基に計数された前フレームの計数値と前記第2の光電変換手段により生成された信号を基に計数された現フレームの計数値との差分を示す第2の計数値を生成し、奇数フレームでは、前記第2の光電変換手段により生成された信号を基に計数された現フレームの第2の計数値を生成することを特徴とする請求項13または14に記載の撮像装置。
The first generation means generates a first count value of the current frame counted based on the signal generated by the first photoelectric conversion means in even frames, and generates the first count value in odd frames. a first frame indicating a difference between a count value of a previous frame counted based on the signal generated by the photoelectric conversion means and a count value of the current frame counted based on the signal generated by the first photoelectric conversion means; produces a count of
The second generating means, in an even-numbered frame, is based on the count value of the previous frame counted based on the signal generated by the second photoelectric conversion means and the signal generated by the second photoelectric conversion means. a second count value indicating a difference from the count value of the current frame counted in the odd-numbered frame; 15. The imaging apparatus according to claim 13, wherein the count value of .
前記第1の生成手段は、前記第1のフレームでは、第1の計数値を初期値にリセットし、前記第1の光電変換手段により生成された信号を基に、前記リセットされた第1の計数値に対して計数された第1の計数値を生成し、
前記第2の生成手段は、前記第1のフレームでは、前記第2の光電変換手段により生成された信号を基に、前フレームの第2の計数値の正負符号が反転された計数値に対して計数された第2の計数値を生成することを特徴とする請求項13~15のいずれか1項に記載の撮像装置。
The first generation means resets the first count value to an initial value in the first frame, and generates the reset first count value based on the signal generated by the first photoelectric conversion means. generating a first count value counted against the count value;
In the first frame, the second generation means generates a count value obtained by inverting the sign of the second count value of the previous frame based on the signal generated by the second photoelectric conversion means. 16. The imaging apparatus according to any one of claims 13 to 15, generating a second count value counted by
前記第1の生成手段は、第2のフレームでは、前記第1の光電変換手段により生成された信号を基に、前フレームの第1の計数値の正負符号が反転された計数値に対して計数された第1の計数値を生成し、
前記第2の生成手段は、前記第2のフレームでは、第2の計数値を初期値にリセットし、前記第2の光電変換手段により生成された信号を基に、前記リセットされた第2の計数値に対して計数された第2の計数値を生成することを特徴とする請求項16に記載の撮像装置。
In the second frame, the first generation means generates a count value obtained by inverting the sign of the first count value of the previous frame based on the signal generated by the first photoelectric conversion means. generating a counted first count;
The second generation means resets the second count value to an initial value in the second frame, and generates the reset second count value based on the signal generated by the second photoelectric conversion means. 17. The imaging device of claim 16, wherein the imaging device generates a second count value counted against the count value.
前記第1の生成手段は、偶数フレームでは、前フレームの第1の計数値を初期値にリセットし、前記第1の光電変換手段により生成された信号を基に、前記リセットされた第1の計数値に対して計数し、奇数フレームでは、前記第1の光電変換手段により生成された信号を基に、前フレームの第1の計数値の正負符号が反転された計数値に対して計数された第1の計数値を生成し、
前記第2の生成手段は、偶数フレームでは、前記第2の光電変換手段により生成された信号を基に、前フレームの第2の計数値の正負符号が反転された計数値に対して計数された第2の計数値を生成し、奇数フレームでは、前フレームの第2の計数値を初期値にリセットし、前記第2の光電変換手段により生成された信号を基に、前記リセットされた第2の計数値に対して計数することを特徴とする請求項16または17に記載の撮像装置。
The first generation means resets the first count value of the previous frame to an initial value in an even-numbered frame, and generates the reset first count value based on the signal generated by the first photoelectric conversion means. Counting is performed with respect to the count value, and in odd frames, counting is performed with respect to the count value obtained by inverting the sign of the first count value of the previous frame based on the signal generated by the first photoelectric conversion means. generating a first count value with
In an even frame, the second generating means counts the count value obtained by inverting the sign of the second count value of the previous frame based on the signal generated by the second photoelectric conversion means. resetting the second count value of the previous frame to an initial value in an odd-numbered frame; and based on the signal generated by the second photoelectric conversion means, the reset second count value 18. The imaging device according to claim 16, wherein counting is performed with respect to a count value of two.
前記第2の生成手段は、前記第1のフレームでは、前フレームの第2の計数値の正負符号を反転させた計数値に対して計数することを特徴とする請求項16~18のいずれか1項に記載の撮像装置。 19. The second generating means according to any one of claims 16 to 18, wherein, in the first frame, the count value obtained by inverting the sign of the second count value of the previous frame is counted. 1. The imaging device according to item 1. 前記第2の生成手段は、前記第1のフレームでは、前フレームの第2の計数値の論理反転値に1を加算することにより、前フレームの第2の計数値の正負符号を反転させる反転手段を有することを特徴とする請求項19に記載の撮像装置。 In the first frame, the second generating means adds 1 to the logically inverted value of the second count value of the previous frame, thereby inverting the positive/negative sign of the second count value of the previous frame. 20. An imaging device according to claim 19, comprising means. 前記第2の生成手段は、
前記第1のフレームでは、前フレームの第2の計数値の論理反転値に対して計数する計数手段と、
前記計数手段により計数された計数値に1を加算する加算手段とを有することを特徴とする請求項16~18のいずれか1項に記載の撮像装置。
The second generation means is
counting means for counting in the first frame against a logically inverted value of a second count value in the previous frame;
19. The imaging apparatus according to any one of claims 16 to 18, further comprising adding means for adding 1 to the count value counted by said counting means.
前記撮像装置は、第1の画素と第2の画素とを有し、
前記第1の画素は、前記第1の光電変換手段と前記第1の生成手段とを有し、
前記第2の画素は、前記第2の光電変換手段と前記第2の生成手段とを有し、
前記圧縮手段は、前記第1の生成手段により生成された第1の計数値と前記第2の生成手段により生成された第2の計数値を順に圧縮することを特徴とする請求項19または20に記載の撮像装置。
The imaging device has a first pixel and a second pixel,
The first pixel has the first photoelectric conversion means and the first generation means,
the second pixel has the second photoelectric conversion means and the second generation means;
21. The compression means sequentially compresses the first count value generated by the first generation means and the second count value generated by the second generation means. The imaging device according to .
前記撮像装置は、第1の画素と第2の画素とを有し、
前記第1の画素は、前記第1の光電変換手段と前記第1の生成手段とを有し、
前記第2の画素は、前記第2の光電変換手段と前記計数手段とを有し、
前記加算手段は、前記計数手段により計数された計数値に1を加算することを特徴とする請求項21に記載の撮像装置。
The imaging device has a first pixel and a second pixel,
The first pixel has the first photoelectric conversion means and the first generation means,
the second pixel has the second photoelectric conversion means and the counting means;
22. The imaging apparatus according to claim 21, wherein said adding means adds 1 to the count value counted by said counting means.
前記撮像装置は、前記第2の光電変換手段により生成された信号を基に計数された前フレームの計数値を記憶するメモリを有し、
前記第2の生成手段は、前記第1のフレームでは、前記メモリに記憶されている前記第2の光電変換手段により生成された信号を基に計数された前フレームの計数値と、前記第2の光電変換手段により生成された信号を基に計数された前記第1のフレームの計数値との差分を示す第2の計数値を生成することを特徴とする請求項13~15のいずれか1項に記載の撮像装置。
The imaging device has a memory for storing a count value of a previous frame counted based on the signal generated by the second photoelectric conversion means,
The second generating means generates, in the first frame, the count value of the previous frame counted based on the signal generated by the second photoelectric conversion means stored in the memory, and the second generating a second count value indicating a difference from the count value of the first frame counted based on the signal generated by the photoelectric conversion means of 10. The image pickup device according to claim 1.
前記撮像装置は、行列状に配列された複数の光電変換手段を有し、
前記第1の光電変換手段は、偶数行の光電変換手段であり、
前記第2の光電変換手段は、奇数行の光電変換手段であることを特徴とする請求項13~24のいずれか1項に記載の撮像装置。
The imaging device has a plurality of photoelectric conversion means arranged in a matrix,
The first photoelectric conversion means are photoelectric conversion means for even rows,
25. The imaging apparatus according to claim 13, wherein the second photoelectric conversion means are photoelectric conversion means for odd rows.
前記撮像装置は、行列状に配列された複数の光電変換手段を有し、
前記第1の光電変換手段は、偶数列の光電変換手段であり、
前記第2の光電変換手段は、奇数列の光電変換手段であることを特徴とする請求項13~24のいずれか1項に記載の撮像装置。
The imaging device has a plurality of photoelectric conversion means arranged in a matrix,
The first photoelectric conversion means are photoelectric conversion means for even columns,
25. The imaging apparatus according to any one of claims 13 to 24, wherein the second photoelectric conversion means are photoelectric conversion means of odd columns.
前記第1の光電変換手段および前記第2の光電変換手段は、1つのマイクロレンズの下に配置されていることを特徴とする請求項13~24のいずれか1項に記載の撮像装置。 25. The imaging apparatus according to any one of claims 13 to 24, wherein said first photoelectric conversion means and said second photoelectric conversion means are arranged under one microlens. 前記光電変換手段はアバランシェフォトダイオードであり、the photoelectric conversion means is an avalanche photodiode;
前記アバランシェフォトダイオードにより生成された信号に基づく電圧パルスを出力する波形整形手段を有し、a waveform shaping means for outputting a voltage pulse based on the signal generated by the avalanche photodiode;
前記生成手段は、前記波形整形手段から出力される前記電圧パルスの数を計数することを特徴とする請求項1~12のいずれか1項に記載の撮像装置。13. The imaging apparatus according to claim 1, wherein said generating means counts the number of said voltage pulses output from said waveform shaping means.
前記第1の光電変換手段および前記第2の光電変換手段はアバランシェフォトダイオードであり、the first photoelectric conversion means and the second photoelectric conversion means are avalanche photodiodes;
前記アバランシェフォトダイオードにより生成された信号に基づく電圧パルスを出力する波形整形手段を有し、a waveform shaping means for outputting a voltage pulse based on the signal generated by the avalanche photodiode;
前記第1の生成手段および前記第2の生成手段は、前記波形整形手段から出力される前記電圧パルスの数を計数することを特徴とする請求項13~27のいずれか1項に記載の撮像装置。28. The imaging according to any one of claims 13 to 27, wherein said first generation means and said second generation means count the number of said voltage pulses output from said waveform shaping means. Device.
光電変換手段により、光電変換により信号を生成する光電変換ステップと、
生成手段により、第1のフレームでは、光電変換手段により生成された信号を基に計数された計数値を生成し、前記第1のフレームとは異なる第2のフレームでは、光電変換手段により生成された信号を基に、前フレームの計数値の正負符号が反転された計数値に対して計数された計数値を生成する生成ステップと、
圧縮手段により、前記生成ステップで生成された計数値を圧縮する圧縮ステップと
を有することを特徴とする撮像装置の制御方法。
a photoelectric conversion step of generating a signal by photoelectric conversion with a photoelectric conversion means;
The generation means generates a count value counted based on the signal generated by the photoelectric conversion means in the first frame, and generates the count value generated by the photoelectric conversion means in the second frame different from the first frame. a generation step of generating a count value counted with respect to a count value obtained by inverting the sign of the count value of the previous frame based on the signal obtained;
and a compression step of compressing the count value generated in the generation step by compression means.
光電変換手段により、光電変換により信号を生成する光電変換ステップと、
生成手段により、第1のフレームでは、光電変換手段により生成された信号を基に計数された計数値を生成し、前記第1のフレームとは異なる第2のフレームでは、光電変換手段により生成された信号を基に、前フレームの計数値が論理反転された計数値に対して計数された計数値を生成する生成ステップと、
圧縮手段により、前記生成ステップで生成された計数値を圧縮する圧縮ステップと
を有することを特徴とする撮像装置の制御方法。
a photoelectric conversion step of generating a signal by photoelectric conversion with a photoelectric conversion means;
The generation means generates a count value counted based on the signal generated by the photoelectric conversion means in the first frame, and generates the count value generated by the photoelectric conversion means in the second frame different from the first frame. a generation step of generating a count value obtained by logically inverting the count value of the previous frame based on the received signal;
and a compression step of compressing the count value generated in the generation step by compression means.
第1の光電変換手段により、光電変換により信号を生成する第1の光電変換ステップと、
第2の光電変換手段により、光電変換により信号を生成する第2の光電変換ステップと、
第1の生成手段により、第1のフレームでは、前記第1の光電変換手段により生成された信号を基に計数された第1の計数値を生成する第1の生成ステップと、
第2の生成手段により、前記第1のフレームでは、前記第2の光電変換手段により生成された信号を基に計数された前フレームの計数値と前記第2の光電変換手段により生成された信号を基に計数された前記第1のフレームの計数値との差分を示す第2の計数値を生成する第2の生成ステップと、
圧縮手段により、前記第1の生成ステップで生成された第1の計数値および前記第2の生成ステップで生成された第2の計数値を圧縮する圧縮ステップと
を有することを特徴とする撮像装置の制御方法。
a first photoelectric conversion step of generating a signal by photoelectric conversion by the first photoelectric conversion means;
a second photoelectric conversion step of generating a signal by photoelectric conversion by the second photoelectric conversion means;
a first generation step of generating a first count value counted based on the signal generated by the first photoelectric conversion means in a first frame by the first generation means;
By the second generation means, in the first frame, the count value of the previous frame counted based on the signal generated by the second photoelectric conversion means and the signal generated by the second photoelectric conversion means a second generation step of generating a second count value indicating a difference from the count value of the first frame counted based on
and a compression step of compressing the first count value generated in the first generation step and the second count value generated in the second generation step by compression means. control method.
JP2018218474A 2018-11-21 2018-11-21 IMAGING DEVICE AND METHOD OF CONTROLLING IMAGING DEVICE Active JP7289635B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018218474A JP7289635B2 (en) 2018-11-21 2018-11-21 IMAGING DEVICE AND METHOD OF CONTROLLING IMAGING DEVICE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018218474A JP7289635B2 (en) 2018-11-21 2018-11-21 IMAGING DEVICE AND METHOD OF CONTROLLING IMAGING DEVICE

Publications (2)

Publication Number Publication Date
JP2020088535A JP2020088535A (en) 2020-06-04
JP7289635B2 true JP7289635B2 (en) 2023-06-12

Family

ID=70909058

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018218474A Active JP7289635B2 (en) 2018-11-21 2018-11-21 IMAGING DEVICE AND METHOD OF CONTROLLING IMAGING DEVICE

Country Status (1)

Country Link
JP (1) JP7289635B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7358410B2 (en) * 2021-01-22 2023-10-10 キヤノン株式会社 Photoelectric conversion device and photodetection system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014099693A (en) 2012-11-13 2014-05-29 Sony Corp Imaging element, imaging apparatus, semiconductor element and read-out method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5896485A (en) * 1981-12-04 1983-06-08 Nec Corp Color test signal generating circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014099693A (en) 2012-11-13 2014-05-29 Sony Corp Imaging element, imaging apparatus, semiconductor element and read-out method

Also Published As

Publication number Publication date
JP2020088535A (en) 2020-06-04

Similar Documents

Publication Publication Date Title
RU2521604C2 (en) Solid-state image forming apparatus and control method therefor
US11558572B2 (en) Photoelectric conversion apparatus and image pickup system
CN100568736C (en) Support the column analog-to-digital conversion apparatus and the method for high frame speed under the sub sampling pattern
US7522082B2 (en) Digital-to-analog converter, analog-to-digital converter, and semiconductor device
US8502889B2 (en) Solid-state image capturing device, and image capturing apparatus
US6809666B1 (en) Circuit and method for gray code to binary conversion
US8634012B2 (en) Solid-state image pickup device and method of driving the same
JP2021506173A (en) High dynamic image sensor
US8848079B2 (en) Solid-state imaging device and imaging system using buffered counter value of a counter
US20170230674A1 (en) Image encoding apparatus, method and imaging apparatus
US10129496B2 (en) Imaging device and imaging system
JP7289635B2 (en) IMAGING DEVICE AND METHOD OF CONTROLLING IMAGING DEVICE
JP7189735B2 (en) Signal processing circuit and image sensor
CN104243868B (en) High resolution cmos image sensor
JP7321741B2 (en) Imaging device and its control method
JP2023053350A (en) Photoelectric conversion device and imaging system
JP7254547B2 (en) Signal processing circuit and solid-state imaging device
JP7277242B2 (en) Imaging device and its control method
JP2019017065A (en) Solid-state imaging device, imaging apparatus, and imaging method
JP6797863B2 (en) Photoelectric converter and imaging system
JP2011223376A (en) Solid state imaging apparatus and electronic camera
US9113101B2 (en) Image sensor and image capturing system
JP2019033442A (en) Imaging element and method for controlling the same
JP4741536B2 (en) Imaging apparatus and image processing method
JP2002083292A (en) Image signal processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211111

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221028

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230120

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230531

R151 Written notification of patent or utility model registration

Ref document number: 7289635

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151