[go: up one dir, main page]

JP2013065924A - Analog-digital conversion circuit, imaging device, and method of inspecting analog-digital conversion circuit - Google Patents

Analog-digital conversion circuit, imaging device, and method of inspecting analog-digital conversion circuit Download PDF

Info

Publication number
JP2013065924A
JP2013065924A JP2011201864A JP2011201864A JP2013065924A JP 2013065924 A JP2013065924 A JP 2013065924A JP 2011201864 A JP2011201864 A JP 2011201864A JP 2011201864 A JP2011201864 A JP 2011201864A JP 2013065924 A JP2013065924 A JP 2013065924A
Authority
JP
Japan
Prior art keywords
signal
count
supplied
memory
analog
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011201864A
Other languages
Japanese (ja)
Other versions
JP5854725B2 (en
JP2013065924A5 (en
Inventor
Shintaro Takenaka
真太郎 竹中
Kazuhiro Sonoda
一博 園田
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 JP2011201864A priority Critical patent/JP5854725B2/en
Publication of JP2013065924A publication Critical patent/JP2013065924A/en
Publication of JP2013065924A5 publication Critical patent/JP2013065924A5/ja
Application granted granted Critical
Publication of JP5854725B2 publication Critical patent/JP5854725B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To appropriately detect a delay in a count signal supplied to a memory which is caused by a fault in a signal path for transmitting the count signal to the memory from a counter in a column ADC in which a counter supplies a common count signal to a plurality of memories.SOLUTION: The analog-digital conversion circuit comprises a test latch signal supply section for supplying to the memories a latch signal to hold a count signal in the memories in response to a timing of change in a signal value of the count signal.

Description

本発明は、アナログデジタル変換回路、撮像装置、アナログデジタル変換回路の検査方法に関するものである。   The present invention relates to an analog / digital conversion circuit, an imaging apparatus, and an inspection method for an analog / digital conversion circuit.

従来、アナログ信号と参照信号とを比較する比較器が複数列設けられ、メモリと比較器が電気的に接続された、アナログ信号をデジタル信号に変換する、列並列型のアナログデジタル変換回路(以下、アナログデジタル変換回路をADC(Analog Digital Converter)、列並列型のADCを列ADCと表記する)が知られている。列ADCの一例として、クロックパルスを計数してカウント信号を出力するカウンタに複数列のメモリが共通して電気的に接続され、複数列のメモリがカウンタの出力するカウント信号を保持する形態が知られている。
特許文献1には、列ADCの動作を診断する診断ロジック部を有する列ADCが記載されている。特許文献1に記載の列ADCは、制御ロジック及び外部システムインターフェースから二重バッファへカウント信号が供給される構成として記載されている。また、診断ロジック部について、制御ロジック及び外部システムインターフェース部の動作可否の診断を行う診断Aモード、比較器の動作可否を診断する診断Bモード、メモリの動作を検査する診断Cモードが記載されている。
Conventionally, a plurality of columns of comparators for comparing analog signals and reference signals are provided, and a memory and a comparator are electrically connected to convert analog signals into digital signals. An analog-to-digital conversion circuit is referred to as ADC (Analog Digital Converter), and a column parallel type ADC is referred to as a column ADC). As an example of a column ADC, there is known a configuration in which a plurality of columns of memories are electrically connected in common to a counter that counts clock pulses and outputs a count signal, and the plurality of columns of memory holds a count signal output from the counter. It has been.
Patent Document 1 describes a column ADC having a diagnostic logic unit that diagnoses the operation of the column ADC. The column ADC described in Patent Document 1 is described as a configuration in which a count signal is supplied from a control logic and an external system interface to a double buffer. In addition, the diagnosis logic unit includes a diagnosis A mode for diagnosing whether the control logic and the external system interface unit are operable, a diagnosis B mode for diagnosing whether the comparator is operable, and a diagnosis C mode for examining the operation of the memory. Yes.

特開平11−331883号公報Japanese Patent Laid-Open No. 11-331883

特許文献1には、カウント信号が伝送される信号経路の不良によって生じるカウント信号の遅延を検査することについての開示は無い。
本発明の目的は、カウンタからメモリへカウント信号を伝送する信号経路の不良によって生じる、メモリに供給されるカウント信号の遅延を好適に検出することを目的とする。
Japanese Patent Application Laid-Open No. 2005-228561 does not disclose checking the delay of the count signal caused by a defective signal path through which the count signal is transmitted.
An object of the present invention is to suitably detect a delay of a count signal supplied to a memory caused by a failure in a signal path for transmitting a count signal from the counter to the memory.

本発明は上記の課題を鑑みてなされたものであり、一つの態様は、デジタル信号を保持するメモリと、アナログ信号と時間とともに変化する参照信号とを比較した比較結果を示す比較結果信号を前記メモリに供給する比較器と、をそれぞれ含む複数の回路部と、クロックパルス信号を前記参照信号の変化と並行して計数して、複数のビット信号を有するカウント信号を生成し、前記カウント信号を出力するカウンタと、前記カウント信号を複数の前記メモリに供給する複数のカウント信号伝送線と、を有し、対応する前記比較器の比較結果信号が変化した時に前記メモリが前記カウント信号を前記デジタル信号として保持することで前記アナログ信号を前記デジタル信号に変換するアナログデジタル変換回路であって、前記アナログデジタル変換回路は検査モードで動作し、テストラッチ信号供給部と、信号比較部と、をさらに有し、前記検査モードにおいて、前記比較器は前記比較結果信号の前記メモリへの供給を行わず、前記カウンタはさらに前記テストラッチ信号供給部に前記カウント信号を供給し、前記テストラッチ信号供給部は、前記カウント信号を複数の前記メモリに保持させるテストラッチ信号を、複数の前記ビット信号のうち、いずれかの前記ビット信号の信号レベルが変化したタイミングに応じて、複数の前記メモリに供給し、前記信号比較部に、複数の前記メモリが保持した前記カウント信号が供給され、前記テストラッチ信号が供給された前記メモリが保持した前記デジタル信号の信号値と、前記カウント信号が前記カウンタから前記メモリに遅滞なく供給される場合において前記テストラッチ信号を供給するタイミングに前記メモリが保持する前記デジタル信号の信号値と、を比較することによって、前記カウント信号伝送線の検査を行うことを特徴とするアナログデジタル変換回路である。   The present invention has been made in view of the above problems, and one aspect provides a comparison result signal indicating a comparison result of a comparison between a memory that holds a digital signal and an analog signal and a reference signal that changes with time. A plurality of circuit units each including a comparator for supplying a memory; and counting a clock pulse signal in parallel with a change in the reference signal to generate a count signal having a plurality of bit signals; and A counter for outputting, and a plurality of count signal transmission lines for supplying the count signal to the plurality of memories, and the memory outputs the count signal when the comparison result signal of the corresponding comparator changes. An analog-digital conversion circuit that converts the analog signal into the digital signal by holding it as a signal, the analog-digital conversion circuit The conversion circuit operates in a test mode, and further includes a test latch signal supply unit and a signal comparison unit. In the test mode, the comparator does not supply the comparison result signal to the memory, and The counter further supplies the count signal to the test latch signal supply unit, and the test latch signal supply unit selects a test latch signal for holding the count signal in the plurality of memories from among the plurality of bit signals. The bit signal is supplied to a plurality of memories according to the timing at which the signal level of the bit signal is changed, the count signal held by the plurality of memories is supplied to the signal comparison unit, and the test latch signal is supplied. The signal value of the digital signal held by the memory and the count signal are supplied from the counter to the memory without delay. In the analog-digital conversion circuit, the count signal transmission line is inspected by comparing the signal value of the digital signal held by the memory at the timing when the test latch signal is supplied. is there.

また、別の態様は、光電変換により電荷が生じる光電変換部を含む複数列の画素と、アナログデジタル変換回路と、を有する撮像装置であって、前記アナログデジタル変換回路は、デジタル信号を保持するメモリと、アナログ信号と時間とともに変化する参照信号とを比較した比較結果を示す比較結果信号を前記メモリに供給する比較器と、をそれぞれ含む複数の回路部と、クロックパルス信号を前記参照信号の変化と並行して計数して、複数のビット信号を有するカウント信号を生成し、前記カウント信号を出力するカウンタと、前記カウント信号を複数の前記メモリに供給する複数のカウント信号伝送線と、を有し、対応する前記比較器の比較結果信号が変化した時に前記メモリが前記カウント信号を前記デジタル信号として保持することで前記アナログ信号を前記デジタル信号に変換するアナログデジタル変換回路であって、複数列の前記画素の各列に、複数の前記比較器の各々が接続され、前記撮像装置は検査モードで動作し、前記撮像装置は、テストラッチ信号供給部と、信号比較部と、をさらに有し、前記検査モードにおいて、前記比較器は前記比較結果信号の前記メモリへの供給を行わず、前記カウンタはさらに前記テストラッチ信号供給部に前記カウント信号を供給し、前記テストラッチ信号供給部は、前記カウント信号を複数の前記メモリに保持させるテストラッチ信号を、複数の前記ビット信号のうち、いずれかの前記ビット信号の信号レベルが変化したタイミングに応じて、複数の前記メモリに供給し、前記信号比較部に、複数の前記メモリが保持した前記カウント信号が供給され、前記テストラッチ信号が供給された前記メモリが保持した前記デジタル信号の信号値と、前記カウント信号が前記カウンタから前記メモリに遅滞なく供給される場合において前記テストラッチ信号を供給するタイミングに前記メモリが保持する前記デジタル信号の信号値と、を比較することによって、前記カウント信号伝送線の検査を行うことを特徴とする撮像装置である。   Another aspect is an imaging apparatus having a plurality of columns of pixels including a photoelectric conversion unit that generates a charge by photoelectric conversion, and an analog-digital conversion circuit, wherein the analog-digital conversion circuit holds a digital signal. A plurality of circuit units each including a memory and a comparison result signal indicating a comparison result obtained by comparing the analog signal with a reference signal that changes with time; and a clock pulse signal of the reference signal Counting in parallel with the change, generating a count signal having a plurality of bit signals, outputting the count signal, and a plurality of count signal transmission lines supplying the count signal to the plurality of memories, And when the comparison result signal of the corresponding comparator changes, the memory holds the count signal as the digital signal. In the analog-digital conversion circuit that converts the analog signal into the digital signal, each of the plurality of comparators is connected to each column of the plurality of columns, and the imaging device operates in the inspection mode, The imaging apparatus further includes a test latch signal supply unit and a signal comparison unit. In the inspection mode, the comparator does not supply the comparison result signal to the memory, and the counter further includes the counter The test latch signal supply unit supplies the count signal to the test latch signal supply unit, and the test latch signal supply unit stores a test latch signal that holds the count signal in the plurality of memories. According to the timing at which the signal level of the signal is changed, the signal is supplied to the plurality of memories, and the signal comparison unit holds the plurality of memories. When the count signal is supplied from the counter to the memory without delay, the test latch signal is supplied when the count signal is supplied to the memory without delay. In this imaging device, the count signal transmission line is inspected by comparing the signal value of the digital signal held in the memory at the timing of the signal.

また、別の態様は、複数のメモリと、カウント信号伝送線と、クロックパルス信号を計数した、複数のビット信号を有するカウント信号を、前記カウント信号伝送線を介して複数の前記メモリに供給するカウンタと、を有するアナログデジタル変換回路の検査方法であって、前記カウント信号を複数の前記メモリに保持させるテストラッチ信号を、複数の前記ビット信号のうち、いずれかの前記ビット信号の信号レベルが変化したタイミングに応じて複数の前記メモリに供給し、前記テストラッチ信号が供給された前記メモリが保持した前記カウント信号の信号値と、前記カウント信号が前記カウンタから前記メモリに遅滞なく供給される場合において前記テストラッチ信号を供給するタイミングに前記メモリが保持する前記カウント信号の信号値と、を比較することによって、前記カウント信号伝送線の検査を行うことを特徴とするアナログデジタル変換回路の検査方法である。   According to another aspect, a plurality of memories, a count signal transmission line, and a count signal having a plurality of bit signals obtained by counting clock pulse signals are supplied to the plurality of memories via the count signal transmission line. A test latch signal for holding the count signal in the plurality of memories, and the signal level of any one of the plurality of bit signals is a signal level of the bit signal. The signal is supplied to the plurality of memories according to the changed timing, and the count signal held by the memory to which the test latch signal is supplied, and the count signal is supplied from the counter to the memory without delay. In this case, the count signal held by the memory at the timing when the test latch signal is supplied. By comparing the issue value, a is an inspection method of the analog-to-digital converter and performs inspection of the count signal transmission line.

本発明によれば、カウント信号が伝送される信号経路の不良によって生じるカウント信号の遅延を好適に検出することができる。   According to the present invention, it is possible to suitably detect a delay of a count signal caused by a defect in a signal path through which the count signal is transmitted.

実施例1に関わる撮像装置の構成の一例を表した図1 is a diagram illustrating an example of a configuration of an imaging apparatus according to Embodiment 1. FIG. 実施例1に関わる画素部の構成及び動作の一例を表した図FIG. 6 is a diagram illustrating an example of the configuration and operation of a pixel portion according to the first embodiment. 実施例1に関わる、比較部、カウンタ、テストラッチ信号供給部の構成の一例を表した図The figure showing an example of composition of a comparison part, a counter, and a test latch signal supply part concerning Example 1. 実施例1に関わる撮像装置の通常動作モード、検査モードの動作の一例を表した図FIG. 6 is a diagram illustrating an example of normal operation mode and inspection mode operation of the imaging apparatus according to the first embodiment. 実施例1に関わる撮像装置の検査モードの一例を表したフローチャート6 is a flowchart illustrating an example of an inspection mode of the imaging apparatus according to the first embodiment. 実施例2に関わるテストラッチ信号供給部の構成及び動作の一例を表した図The figure showing an example of composition and operation of a test latch signal supply part concerning Example 2. 実施例3に関わるAD変換部の構成の一例を表した図The figure showing an example of composition of an AD conversion part in connection with Example 3 実施例4に関わるAD変換部の構成の一例を表した図The figure showing an example of composition of an AD conversion part in connection with Example 4 実施例4に関わる撮像装置の検査モードの動作の一例を表した図The figure showing an example of operation | movement of the inspection mode of the imaging device in connection with Example 4. 実施例5に関わるカウンタの構成と、撮像装置の検査モードの動作の一例を表した図The figure showing an example of the composition of the counter concerning Example 5, and operation of the inspection mode of an imaging device 実施例6に関わる撮像システムの一例を表した図The figure showing an example of the imaging system concerning Example 6

以下、図面を参照しながら本発明の実施形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本実施例に関する列ADCを有する撮像装置を例示したブロック図である。   FIG. 1 is a block diagram illustrating an imaging apparatus having a column ADC according to the present embodiment.

10は画素部、20は垂直走査部、30はAD変換部、40は水平走査部である。50はタイミング信号供給部、60は信号処理部、70は設定部、80は通信部である。   Reference numeral 10 denotes a pixel unit, 20 denotes a vertical scanning unit, 30 denotes an AD conversion unit, and 40 denotes a horizontal scanning unit. 50 is a timing signal supply unit, 60 is a signal processing unit, 70 is a setting unit, and 80 is a communication unit.

本実施例は、撮像部としての画素部10、垂直走査部20を有している。画素部10は、撮像装置に入射した光をアナログ信号である電気信号に変換する画素が複数列、複数行配置されている。画素が垂直信号線39に出力する信号を以下、画素信号PIXSIGと呼ぶ。   The present embodiment includes a pixel unit 10 and a vertical scanning unit 20 as an imaging unit. The pixel unit 10 includes a plurality of columns and a plurality of rows of pixels that convert light incident on the imaging device into an electrical signal that is an analog signal. A signal output from the pixel to the vertical signal line 39 is hereinafter referred to as a pixel signal PIXIG.

画素信号PIXSIGを出力する画素部10の一例を、図2(a)を参照しながら説明する。図2(a)は図1に記載した、画素部10のうちの2行8列の画素11〜18,21〜28、垂直走査部20、垂直信号線39を部分的に示したものである。画素部10に含まれる画素の具体的な構成を画素11に示した。画素は、光電変換部501、転送MOSトランジスタ502、リセットMOSトランジスタ503、フローティングディフージョン部(以下、FD部と表記する)504、増幅MOSトランジスタ505、選択MOSトランジスタ506を有している。光電変換部501は入射光を電荷に変換する。ここでは例としてフォトダイオードを示している。転送MOSトランジスタ502は、フォトダイオード501の電荷をFD部504に転送する。転送MOSトランジスタ502のゲートに、垂直走査部20から転送信号PTXが供給される。   An example of the pixel unit 10 that outputs the pixel signal PIXIG will be described with reference to FIG. 2A partially illustrates the pixels 11 to 18, 21 to 28, the vertical scanning unit 20, and the vertical signal line 39 in the 2 rows and 8 columns of the pixel unit 10 shown in FIG. . A specific configuration of a pixel included in the pixel portion 10 is shown in the pixel 11. The pixel includes a photoelectric conversion unit 501, a transfer MOS transistor 502, a reset MOS transistor 503, a floating diffusion unit (hereinafter referred to as an FD unit) 504, an amplification MOS transistor 505, and a selection MOS transistor 506. The photoelectric conversion unit 501 converts incident light into electric charges. Here, a photodiode is shown as an example. The transfer MOS transistor 502 transfers the charge of the photodiode 501 to the FD unit 504. A transfer signal PTX is supplied from the vertical scanning unit 20 to the gate of the transfer MOS transistor 502.

FD部504は、増幅MOSトランジスタ505のゲートと電気的に接続されている。増幅MOSトランジスタ505は、FD部504の電荷に基づいて信号を増幅して出力する。増幅MOSトランジスタ505のドレインには電源電圧Vddが供給され、ソースは選択MOSトランジスタ506のドレインに電気的に接続されている。選択MOSトランジスタ506は、増幅MOSトランジスタ505と垂直信号線39の間の電気的経路に設けられており、ゲートに垂直走査部20から選択信号PSELが供給される。垂直走査部20は画素の行ごとに選択信号PSELを供給し、画素の行の走査を行う。   The FD portion 504 is electrically connected to the gate of the amplification MOS transistor 505. The amplification MOS transistor 505 amplifies and outputs a signal based on the charge of the FD unit 504. The power supply voltage Vdd is supplied to the drain of the amplification MOS transistor 505, and the source is electrically connected to the drain of the selection MOS transistor 506. The selection MOS transistor 506 is provided in an electrical path between the amplification MOS transistor 505 and the vertical signal line 39, and the selection signal PSEL is supplied from the vertical scanning unit 20 to the gate. The vertical scanning unit 20 supplies a selection signal PSEL for each pixel row, and scans the pixel row.

リセットMOSトランジスタ503は、ソースがFD部504と電気的に接続し、ドレインには電源電圧Vddが供給されている。つまり、増幅MOSトランジスタ505とリセットMOSトランジスタ503のそれぞれのドレイン電圧は共通の電源電圧Vddに設定されている。また、リセットMOSトランジスタ503のゲートに垂直走査部20からリセット信号PRESが供給される。リセットMOSトランジスタ503は、垂直走査部20からリセットパルスが印加された時に、FD部504の電位のリセットを行う。増幅MOSトランジスタ505が出力した信号は、選択MOSトランジスタ506を介して垂直信号線39に画素信号PIXSIGとして出力される。   The reset MOS transistor 503 has a source electrically connected to the FD unit 504 and a drain supplied with the power supply voltage Vdd. That is, the drain voltages of the amplification MOS transistor 505 and the reset MOS transistor 503 are set to a common power supply voltage Vdd. The reset signal PRES is supplied from the vertical scanning unit 20 to the gate of the reset MOS transistor 503. The reset MOS transistor 503 resets the potential of the FD unit 504 when a reset pulse is applied from the vertical scanning unit 20. The signal output from the amplification MOS transistor 505 is output as the pixel signal PIXIG to the vertical signal line 39 via the selection MOS transistor 506.

次に図2(b)に例示したタイミング図を用いて、画素部10に含まれる画素の動作を説明する。
図2(b)に示したVfdはFD部504の電位、Vlineは垂直信号線39の電位を示している。
Next, the operation of the pixels included in the pixel portion 10 will be described with reference to the timing chart illustrated in FIG.
In FIG. 2B, Vfd indicates the potential of the FD unit 504, and Vline indicates the potential of the vertical signal line 39.

時刻t_aでは、PRESはHレベルであり、PTXはLレベルである。選択した画素の行のPSELをHレベルとして選択MOSトランジスタ506をONすることにより、増幅MOSトランジスタ505で増幅された画素信号PIXSIGが選択MOSトランジスタ506を介して垂直信号線39に出力される。   At time t_a, PRES is at H level and PTX is at L level. By turning on the selection MOS transistor 506 by setting the PSEL in the row of the selected pixel to the H level, the pixel signal PIXIG amplified by the amplification MOS transistor 505 is output to the vertical signal line 39 via the selection MOS transistor 506.

時刻t_aの時、リセット信号PRESはHレベルの状態であるので、FD部504がリセットされている。FD部504のリセットされた状態の電位に基づく信号が増幅MOSトランジスタ505により増幅出力される。増幅MOSトランジスタ505から出力された信号は、選択MOSトランジスタ506を介して垂直信号線39に画素信号PIXSIGとして出力される。   At time t_a, since the reset signal PRES is in the H level, the FD unit 504 is reset. A signal based on the reset potential of the FD unit 504 is amplified and output by the amplification MOS transistor 505. The signal output from the amplification MOS transistor 505 is output as the pixel signal PIXIG to the vertical signal line 39 via the selection MOS transistor 506.

時刻t_bでリセット信号PRESをLレベルとすることによりFD部504のリセットを解除する。   The reset of the FD unit 504 is released by setting the reset signal PRES to L level at time t_b.

時刻t_cで転送信号PTXをHレベルとすることにより、フォトダイオード501に蓄積された電荷がFD部504へ転送される。その後、時刻t_dで転送信号PTXをLレベルにすることで、電荷の転送を完了する。   The charge accumulated in the photodiode 501 is transferred to the FD unit 504 by setting the transfer signal PTX to the H level at time t_c. Thereafter, the transfer signal PTX is set to the L level at time t_d to complete the charge transfer.

この時のFD部504の電位に基づく信号が増幅MOSトランジスタ505によって増幅出力される。増幅MOSトランジスタ505から出力された信号は、垂直信号線39に画素信号PIXSIGとして出力される。   A signal based on the potential of the FD unit 504 at this time is amplified and output by the amplification MOS transistor 505. The signal output from the amplification MOS transistor 505 is output to the vertical signal line 39 as a pixel signal PIXIG.

時刻t_eでリセット信号PRESを再びHレベルとすることによりFD部504の電位がリセットされる。垂直走査部20は、1行目の画素11〜18を選択して画素信号PIXSIGを出力させた後、2行目の画素21〜28に供給する選択信号PSELをHレベルとして、2行目の画素21〜28を選択する。そして、1行目の画素11〜18と同様の動作を行い、2行目の画素21〜28に画素信号PIXSIGを出力させる。   By resetting the reset signal PRES to H level again at time t_e, the potential of the FD portion 504 is reset. The vertical scanning unit 20 selects the pixels 11 to 18 in the first row and outputs the pixel signal PIXIGIG, and then sets the selection signal PSEL supplied to the pixels 21 to 28 in the second row to the H level. Pixels 21-28 are selected. Then, the same operation as the pixels 11 to 18 in the first row is performed, and the pixel signals PIXIG are output to the pixels 21 to 28 in the second row.

次に再び図1を参照しながら、本実施例の撮像装置を引き続き説明する。   Next, referring to FIG. 1 again, the image pickup apparatus of the present embodiment will be described.

AD変換部30はランプ信号供給部31、カウンタ32、テストラッチ信号供給部33を含むと共に、比較部34、OR回路35とメモリ36を有する回路部29を複数列含む。比較部34は画素部10から入力される画素信号PIXSIGと、ランプ信号供給部31から供給されるランプ信号RMPとを比較する。ランプ信号RMPは、画素信号PIXSIGと比較される参照信号である。比較部34は、タイミング信号供給部50から転送されるラッチ許可信号LATENがHレベルである場合に、ラッチ信号LATをOR回路35に出力する。比較部34は、ランプ信号供給部31によって時間とともに変化するランプ信号RMPと、画素信号PIXSIGとの大小関係が逆転した時に、OR回路35にラッチ信号LATを出力する。   The AD conversion unit 30 includes a ramp signal supply unit 31, a counter 32, and a test latch signal supply unit 33, and includes a plurality of columns of circuit units 29 having a comparison unit 34, an OR circuit 35, and a memory 36. The comparison unit 34 compares the pixel signal PIXIGG input from the pixel unit 10 with the ramp signal RMP supplied from the ramp signal supply unit 31. The ramp signal RMP is a reference signal that is compared with the pixel signal PIXIG. The comparison unit 34 outputs the latch signal LAT to the OR circuit 35 when the latch permission signal LATEN transferred from the timing signal supply unit 50 is at the H level. The comparison unit 34 outputs the latch signal LAT to the OR circuit 35 when the magnitude relationship between the ramp signal RMP that changes with time by the ramp signal supply unit 31 and the pixel signal PIXSIG is reversed.

OR回路35は、比較部34からのラッチ信号LATと、後述するテストラッチ信号供給部33からのテストラッチ信号COMLATのいずれかの信号がHレベルとなった時にメモリ36に、メモリ書き込み信号WENを出力する。   The OR circuit 35 sends the memory write signal WEN to the memory 36 when any one of the latch signal LAT from the comparison unit 34 and the test latch signal COMLAT from the test latch signal supply unit 33 described later becomes H level. Output.

カウンタ32はランプ信号供給部31のランプ信号RMPの出力開始から、不図示のクロックパルス供給部から供給されるクロックパルス信号CLKを計数した、複数のビット信号を有するカウント信号CNTを出力する。即ち、カウンタ32はクロックパルス信号CLKをランプ信号RMPの信号値の変化と並行して計数し、複数のビット信号を有するカウント信号CNTを生成して出力する。以降、カウント信号CNTのnビット目のビット信号をビット信号CNT(n)として表記する。カウント信号CNTはカウント信号伝送線46を通じ、各列のメモリ36に共通して供給される。カウント信号伝送線46は、カウント信号CNTのビット数と同じ本数設けられている。カウンタ32は、バイナリカウンタに限られず、グレイコードカウンタであっても良い。   The counter 32 outputs a count signal CNT having a plurality of bit signals obtained by counting the clock pulse signal CLK supplied from a clock pulse supply unit (not shown) from the output start of the ramp signal RMP of the ramp signal supply unit 31. That is, the counter 32 counts the clock pulse signal CLK in parallel with the change in the signal value of the ramp signal RMP, and generates and outputs a count signal CNT having a plurality of bit signals. Hereinafter, the bit signal of the nth bit of the count signal CNT is expressed as a bit signal CNT (n). The count signal CNT is supplied in common to the memory 36 of each column through the count signal transmission line 46. The number of count signal transmission lines 46 is the same as the number of bits of the count signal CNT. The counter 32 is not limited to a binary counter, and may be a gray code counter.

テストラッチ信号供給部33は、同期信号生成部33−1を有している。同期信号生成部33−1は、カウンタ32と不図示のクロックパルス供給部とに電気的に接続されている。テストラッチ信号供給部33は、カウント信号CNTの複数のビット信号のうち、タイミング信号供給部50から供給されるビット選択信号BITSELに基づいて検査するビット信号を選択する。同期信号生成部33−1は、ラッチマスク信号LATMASKに基づいて、複数のビット信号の中から選択されたビット信号の信号変化のタイミングに同期したテストラッチ信号COMLATの生成を行う。つまり、カウント信号CNTの中から選択されたビット信号の信号値が0→1もしくは1→0に変化するタイミングに同期したテストラッチ信号COMLATを生成する。そして、テストラッチ信号供給部33は各列のOR回路35にテストラッチ信号COMLATを供給する。テストラッチ信号供給部33の詳細な構成については後に図3(c)を参照しながら述べる。   The test latch signal supply unit 33 includes a synchronization signal generation unit 33-1. The synchronization signal generation unit 33-1 is electrically connected to the counter 32 and a clock pulse supply unit (not shown). The test latch signal supply unit 33 selects a bit signal to be inspected based on the bit selection signal BITSEL supplied from the timing signal supply unit 50 among the plurality of bit signals of the count signal CNT. The synchronization signal generation unit 33-1 generates the test latch signal COMLAT synchronized with the timing of signal change of the bit signal selected from the plurality of bit signals based on the latch mask signal LATMASK. That is, the test latch signal COMLAT synchronized with the timing at which the signal value of the bit signal selected from the count signal CNT changes from 0 → 1 or 1 → 0 is generated. The test latch signal supply unit 33 supplies the test latch signal COMLAT to the OR circuit 35 in each column. A detailed configuration of the test latch signal supply unit 33 will be described later with reference to FIG.

メモリ36は、カウント信号伝送線46を通じてカウント信号CNTが供給されている。また、各列の比較部34に対応して各列に設けられている。メモリ36は、OR回路35から供給されるメモリ書き込み信号WENがHレベルとなる期間のカウント信号CNTを保持する。このメモリ書き込み信号WENがHレベルとなることによってメモリ36が保持したカウント信号CNTを、以降メモリ保持信号と表記する。   The memory 36 is supplied with a count signal CNT through a count signal transmission line 46. Further, each column is provided corresponding to the comparison unit 34 of each column. The memory 36 holds the count signal CNT during the period when the memory write signal WEN supplied from the OR circuit 35 is at the H level. The count signal CNT held by the memory 36 when the memory write signal WEN becomes H level is hereinafter referred to as a memory holding signal.

水平走査部40は、タイミング信号供給部50から供給される水平走査信号HSCANに基づいて、各列のメモリ36を順に走査し、各列のメモリ36に保持されたメモリ保持信号を信号処理部60に転送する。   The horizontal scanning unit 40 sequentially scans the memory 36 of each column based on the horizontal scanning signal HSCAN supplied from the timing signal supply unit 50, and the signal holding unit 60 stores the memory holding signal held in the memory 36 of each column. Forward to.

タイミング信号供給部50にはクロックパルス信号CLK´が供給されている。クロックパルス信号CLK´はカウンタ32に供給されるクロックパルス信号CLKと同じ周波数であっても良い。ただし、タイミング信号供給部50は、カウンタ32が計測する期間よりも長い期間を計測するため、クロックパルス信号CLK´はクロックパルス信号CLKよりも低い周波数が適している。タイミング信号供給部50は、テストラッチ信号供給部33、カウンタ32、比較部34、ランプ信号供給部31、垂直走査部20、水平走査部40のそれぞれにタイミング信号を供給する。テストラッチ信号供給部33には、ビット選択信号BITSELとラッチマスク信号LATMASKとを供給する。テストラッチ信号供給部33に供給する信号をまとめて表す際には、タイミング信号SIG33と表記する。タイミング信号供給部50は、後述する設定部70に含まれるタイミング設定部71から供給される信号に基づいて、タイミング信号SIG33を供給する。カウンタ32には、カウント許可信号CNTENと、カウントリセット信号CNTRSTとを含むタイミング信号SIG32を供給する。比較部34には、ラッチ許可信号LATENを供給する。タイミング信号供給部50は、比較部34にラッチ許可信号LATENを供給し、同時にランプ信号供給部31にランプ開始信号SIG31を供給する。垂直走査部20には、垂直走査開始信号SIG20を供給し、垂直走査部20に先述した通り、画素部10に含まれる複数行の画素の走査を行わせる。水平走査部40には、水平走査開始信号HSCANを供給し、水平走査部40に先述した通り、複数列のメモリ36の走査を行わせる。   A clock pulse signal CLK ′ is supplied to the timing signal supply unit 50. The clock pulse signal CLK ′ may have the same frequency as the clock pulse signal CLK supplied to the counter 32. However, since the timing signal supply unit 50 measures a period longer than the period measured by the counter 32, the frequency of the clock pulse signal CLK ′ is lower than that of the clock pulse signal CLK. The timing signal supply unit 50 supplies timing signals to the test latch signal supply unit 33, the counter 32, the comparison unit 34, the ramp signal supply unit 31, the vertical scanning unit 20, and the horizontal scanning unit 40, respectively. The test latch signal supply unit 33 is supplied with a bit selection signal BITSEL and a latch mask signal LATMAK. When the signals supplied to the test latch signal supply unit 33 are collectively expressed, they are expressed as a timing signal SIG33. The timing signal supply unit 50 supplies a timing signal SIG33 based on a signal supplied from a timing setting unit 71 included in a setting unit 70 described later. The counter 32 is supplied with a timing signal SIG32 including a count permission signal CNTEN and a count reset signal CNTRST. The comparison unit 34 is supplied with a latch permission signal LATEN. The timing signal supply unit 50 supplies the latch permission signal LATEN to the comparison unit 34 and simultaneously supplies the ramp start signal SIG 31 to the ramp signal supply unit 31. The vertical scanning unit 20 is supplied with a vertical scanning start signal SIG20, and the vertical scanning unit 20 scans a plurality of rows of pixels included in the pixel unit 10 as described above. The horizontal scanning unit 40 is supplied with the horizontal scanning start signal HSCAN and causes the horizontal scanning unit 40 to scan the memory 36 in a plurality of columns as described above.

信号処理部60は水平走査部40から転送されたメモリ保持信号を、例えばグレイ値からバイナリ値に変換するなどの処理を行い、画像信号PICOUTを出力する。画像信号PICOUTが、画像を形成するために本実施例の撮像装置1から出力される撮像信号である。信号処理部60は信号比較部61を有する。信号比較部61は、水平走査部40を介してメモリ36のそれぞれから転送されるメモリ保持信号の信号値と、カウンタ32からメモリ36に出力されるカウント信号CNTに遅延が無い時にメモリ36に保持されるべき信号である期待値とを比較する。そして、信号比較部61はメモリ保持信号の信号値と期待値とのずれの有無を判定し、判定結果を比較結果信号TOUTとして出力する。この判定に使用される期待値とは、後述する期待値・誤差範囲設定部72が設定する値である。この期待値とは、カウント信号CNTがカウンタ32からメモリ36に遅滞なく供給される場合において、テストラッチ信号COMLATを供給するタイミングにメモリ36が保持するデジタル信号である。期待値・誤差範囲設定部72は、期待値を含む信号SIG60を信号処理部60に出力される。メモリ保持信号の信号値と期待値とで誤差範囲が期待値・誤差範囲設定部72によって設定されている場合には期待値に誤差範囲を含めた所定の信号範囲とメモリ保持信号とを比較して判定し、判定結果を比較結果信号TOUTとして出力する。   The signal processing unit 60 performs processing such as converting the memory holding signal transferred from the horizontal scanning unit 40 from, for example, a gray value into a binary value, and outputs an image signal PICOUT. The image signal PICOUT is an image pickup signal output from the image pickup apparatus 1 of this embodiment in order to form an image. The signal processing unit 60 includes a signal comparison unit 61. The signal comparison unit 61 holds in the memory 36 when there is no delay between the signal value of the memory holding signal transferred from each of the memories 36 via the horizontal scanning unit 40 and the count signal CNT output from the counter 32 to the memory 36. Compare the expected value, which is the signal to be done. Then, the signal comparison unit 61 determines whether there is a difference between the signal value of the memory holding signal and the expected value, and outputs the determination result as the comparison result signal TOUT. The expected value used for this determination is a value set by an expected value / error range setting unit 72 described later. The expected value is a digital signal held by the memory 36 at the timing when the test latch signal COMLAT is supplied when the count signal CNT is supplied from the counter 32 to the memory 36 without delay. The expected value / error range setting unit 72 outputs a signal SIG 60 including the expected value to the signal processing unit 60. When the error range between the signal value of the memory holding signal and the expected value is set by the expected value / error range setting unit 72, the predetermined signal range including the error range in the expected value is compared with the memory holding signal. The determination result is output as a comparison result signal TOUT.

設定部70は、タイミング設定部71と期待値・誤差範囲設定部72を有している。タイミング設定部71は、タイミング信号供給部50に対して、各タイミング信号の供給設定を有する信号を供給する。期待値・誤差範囲設定部72は、信号比較部61が比較に用いる期待値と誤差範囲の値を通信部80からの信号に基づいて設定する。また、期待値・誤差範囲設定部72は、信号処理部60に期待値と誤差範囲設定の情報を有する信号を供給する。また、タイミング信号供給部50に対し、垂直走査部20、ランプ信号発生部31、カウンタ32、ラッチ信号供給部33、水平走査部40のそれぞれにタイミング信号を供給する供給タイミング設定を出力する。タイミング設定部71は、期待値・誤差範囲設定部72が設定した期待値に基づいた、供給タイミング設定を出力する。タイミング信号供給部50は、この供給タイミング設定を有するタイミング信号SIG33をテストラッチ信号供給部33に出力する。これにより、テストラッチ信号供給部33は期待値に基づいたタイミングでテストラッチ信号COMLATを、OR回路35を介してメモリ36に出力する。   The setting unit 70 includes a timing setting unit 71 and an expected value / error range setting unit 72. The timing setting unit 71 supplies a signal having supply settings for each timing signal to the timing signal supply unit 50. The expected value / error range setting unit 72 sets an expected value and an error range value used by the signal comparison unit 61 for comparison based on a signal from the communication unit 80. Further, the expected value / error range setting unit 72 supplies the signal processing unit 60 with a signal having information on expected value and error range setting. Further, a supply timing setting for supplying a timing signal to each of the vertical scanning unit 20, the ramp signal generation unit 31, the counter 32, the latch signal supply unit 33, and the horizontal scanning unit 40 is output to the timing signal supply unit 50. The timing setting unit 71 outputs a supply timing setting based on the expected value set by the expected value / error range setting unit 72. The timing signal supply unit 50 outputs a timing signal SIG33 having the supply timing setting to the test latch signal supply unit 33. As a result, the test latch signal supply unit 33 outputs the test latch signal COMLAT to the memory 36 via the OR circuit 35 at a timing based on the expected value.

図3(a)は、比較部34の詳細な構成の一例を示すブロック図である。比較部34は、比較器34−1、信号反転検出回路34−2およびAND回路34−3で構成される。比較器34−1は、画素信号PIXSIGと、時間とともに変化するランプ信号RMPとを比較し、ランプ信号RMPと画素信号PIXSIGと大小関係が逆転した時、出力信号のレベルを反転させる。信号反転検出回路34−2は、比較器34−1の出力信号のレベルの反転を検出し、クロックパルス信号CLKの1周期程度の長さでHレベルとなるパルスを生成する。そしてAND回路34−3は、信号反転検出回路34−2の出力信号と、タイミング信号供給部50からのラッチ許可信号LATENとの論理積をラッチ信号LATとして出力する。   FIG. 3A is a block diagram illustrating an example of a detailed configuration of the comparison unit 34. The comparison unit 34 includes a comparator 34-1, a signal inversion detection circuit 34-2, and an AND circuit 34-3. The comparator 34-1 compares the pixel signal PIXIG with the ramp signal RMP that changes with time, and inverts the level of the output signal when the magnitude relationship between the ramp signal RMP and the pixel signal PIXIG is reversed. The signal inversion detection circuit 34-2 detects the inversion of the level of the output signal of the comparator 34-1 and generates a pulse that becomes H level with a length of about one cycle of the clock pulse signal CLK. The AND circuit 34-3 outputs a logical product of the output signal of the signal inversion detection circuit 34-2 and the latch permission signal LATEN from the timing signal supply unit 50 as a latch signal LAT.

図3(b)は、カウンタ32の詳細な構成の一例を示すブロック図である。カウンタ32は、バイナリカウンタ32−1とグレイコード変換回路32−2とを有する。バイナリカウンタ32−1は、カウンタリセット信号CNTRSTがHレベルの時にカウント信号CNTを初期値にセットし、カウント許可信号CNTENがHレベルの時にクロックパルス信号CLKを計数したカウント信号CNTを出力する。グレイコード変換回路32−2は、バイナリカウンタ32−1が出力するバイナリ値の信号をグレイ値の信号に変換し、カウント信号CNTとして出力する。   FIG. 3B is a block diagram illustrating an example of a detailed configuration of the counter 32. The counter 32 includes a binary counter 32-1 and a gray code conversion circuit 32-2. The binary counter 32-1 sets the count signal CNT to an initial value when the counter reset signal CNTRST is at the H level, and outputs the count signal CNT obtained by counting the clock pulse signal CLK when the count permission signal CNTEN is at the H level. The gray code conversion circuit 32-2 converts the binary signal output from the binary counter 32-1 into a gray value signal, and outputs the signal as a count signal CNT.

図3(c)は、テストラッチ信号供給部33の詳細な構成の一例を示す回路図である。ラッチ信号供給部33は、同期信号生成部33−1と、セレクタSEL1と、AND回路AND2とで構成される。セレクタSEL1はタイミング信号供給部50からのビット選択信号BITSELを受けて、nビットのカウント信号CNTからテスト対象のビット信号を選択する。同期信号生成部33−1は、直列に電気的に接続された3個のフリップフロップ回路FF1〜FF3、インバータINVおよびAND回路AND1,AND2で構成される。セレクタSEL1で選択されたビット信号の立ち上がりに応じて、クロックパルス信号CLKの1周期分がHレベルとなる信号がAND回路AND1から信号SIG−AND1として出力される。AND回路AND2は、信号SIG−AND1とタイミング信号供給部50からのラッチマスク信号LATMASKと論理積をとる。即ち、AND回路AND2は、信号SIG−AND1、ラッチマスク信号LATMASKがともにHレベルの期間に、テストラッチ信号COMLATを出力する。これにより、信号SIG−AND1がHレベルとなる時期が複数回あった場合、信号AND−SIG1がHレベルとなった複数回の時期のうち、テストラッチ信号COMLATを供給する時期を選択することができる。すなわち、AND回路AND2は、同期信号生成部33−1から供給される信号SIG−AND1を複数のメモリ36にテストラッチ信号COMLATとして供給するか否かを切り替えるマスク部である。   FIG. 3C is a circuit diagram illustrating an example of a detailed configuration of the test latch signal supply unit 33. The latch signal supply unit 33 includes a synchronization signal generation unit 33-1, a selector SEL1, and an AND circuit AND2. The selector SEL1 receives the bit selection signal BITSEL from the timing signal supply unit 50 and selects a bit signal to be tested from the n-bit count signal CNT. The synchronization signal generator 33-1 includes three flip-flop circuits FF1 to FF3, an inverter INV, and AND circuits AND1 and AND2 that are electrically connected in series. In response to the rising edge of the bit signal selected by the selector SEL1, a signal in which one cycle of the clock pulse signal CLK becomes H level is output from the AND circuit AND1 as the signal SIG-AND1. The AND circuit AND2 ANDs the signal SIG-AND1 and the latch mask signal LATMAK from the timing signal supply unit 50. That is, the AND circuit AND2 outputs the test latch signal COMLAT during a period in which both the signal SIG-AND1 and the latch mask signal LATMSK are at the H level. Thus, when the signal SIG-AND1 becomes H level a plurality of times, the timing for supplying the test latch signal COMLAT can be selected from the plurality of times when the signal AND-SIG1 becomes the H level. it can. That is, the AND circuit AND2 is a mask unit that switches whether the signal SIG-AND1 supplied from the synchronization signal generation unit 33-1 is supplied to the plurality of memories 36 as the test latch signal COMLAT.

図1に例示した撮像装置は通常動作モードと、検査モードの2つのモードを有する。まず、通常動作モードについて説明する。   The imaging apparatus illustrated in FIG. 1 has two modes, a normal operation mode and an inspection mode. First, the normal operation mode will be described.

図4(a)は、図1に例示した撮像装置の通常動作モードを例示したタイミング図である。本実施例のカウント信号CNTは6ビットの信号であり、カウント信号伝送線46は46−0〜46−5(不図示)の6本設けられている。なおカウント信号伝送線46の表記は、nビット目のビット信号を伝送するカウント信号伝送線をカウント信号伝送線46−nとして表記する。   FIG. 4A is a timing diagram illustrating the normal operation mode of the imaging apparatus illustrated in FIG. The count signal CNT of this embodiment is a 6-bit signal, and six count signal transmission lines 46, 46-0 to 46-5 (not shown), are provided. In addition, the notation of the count signal transmission line 46 represents the count signal transmission line that transmits the bit signal of the nth bit as the count signal transmission line 46-n.

時刻t10で、タイミング信号供給部50はカウントリセット信号CNTRSTをHレベルとしてカウント値をリセットする。カウンタ32は、カウントリセット信号CNTRSTがHレベルとなると、カウント信号CNTを初期値(ここでは0)にセットする。その後、カウントリセット信号CNTRSTをLレベルとし、時刻t11に開始するクロックパルス信号CLKのカウントに備える。   At time t10, the timing signal supply unit 50 sets the count reset signal CNTRST to H level to reset the count value. When the count reset signal CNTRST becomes H level, the counter 32 sets the count signal CNT to an initial value (here, 0). Thereafter, the count reset signal CNTRST is set to L level to prepare for the count of the clock pulse signal CLK starting at time t11.

時刻t11で、ラッチ許可信号LATENとカウント許可信号CNTENとをHレベルとする。同時に、ランプ信号供給部31に供給するランプ開始信号をHレベルとし、ランプ信号RMPの信号レベルの時間に比例した増加を開始する。カウンタ32では、カウント許可信号CNTENがHレベルとなることにより、バイナリカウンタ32−1がクロックパルス信号CLKのカウントを開始する。さらにグレイコード変換回路32−2が、バイナリ値のカウント値をグレイ値に変換したカウント信号CNTをカウント信号伝送線46−0〜46−5に出力する。   At time t11, the latch permission signal LATEN and the count permission signal CNTEN are set to the H level. At the same time, the ramp start signal supplied to the ramp signal supply unit 31 is set to the H level, and the signal level of the ramp signal RMP starts increasing in proportion to the time. In the counter 32, when the count permission signal CNTEN becomes H level, the binary counter 32-1 starts counting the clock pulse signal CLK. Further, the gray code conversion circuit 32-2 outputs the count signal CNT obtained by converting the binary count value to the gray value to the count signal transmission lines 46-0 to 46-5.

次に、時刻t12において、ランプ信号RMPの信号レベルが画素信号PIXSIGよりも大きくなる。この時に、比較部34はラッチ信号LATをHレベルとしてOR回路35に出力する。OR回路35はラッチ信号35が供給されるとメモリ書き込み信号WENをHレベルとしてメモリ36に出力する。メモリ36はこのメモリ書き込み信号WENが入力された時のカウント信号CNTをメモリ保持信号として保持する。図4(a)に例示したタイミング図においては、メモリ36はバイナリ値の35に相当するグレイ値のカウント信号CNTを保持する。   Next, at time t12, the signal level of the ramp signal RMP becomes higher than the pixel signal PIXIG. At this time, the comparison unit 34 outputs the latch signal LAT to the OR circuit 35 as the H level. When the latch signal 35 is supplied, the OR circuit 35 outputs the memory write signal WEN to the memory 36 as the H level. The memory 36 holds the count signal CNT when the memory write signal WEN is input as a memory holding signal. In the timing diagram illustrated in FIG. 4A, the memory 36 holds a count signal CNT having a gray value corresponding to the binary value 35.

次に、時刻t13において、ランプ信号供給部31はランプ信号RMPの信号レベルを、ランプ信号RMPの時間変化を開始させる時刻t11の信号レベルに戻す。同時にカウント許可信号CNTENをLレベルとして、カウント信号CNTについて、クロックパルス信号CLKのカウントを終了する。また、ラッチ許可信号LATENもLレベルとする。   Next, at time t13, the ramp signal supply unit 31 returns the signal level of the ramp signal RMP to the signal level at time t11 at which the time change of the ramp signal RMP is started. At the same time, the count permission signal CNTEN is set to the L level, and the count of the clock pulse signal CLK is finished for the count signal CNT. The latch permission signal LATEN is also set to L level.

時刻t14において、タイミング信号供給部50は、水平走査部40にHレベルの水平走査信号HSCANを供給する。水平走査信号HSCANが入力された水平走査部40はメモリ36を順に走査し、メモリ保持信号を信号処理部60に転送する。   At time t <b> 14, the timing signal supply unit 50 supplies the horizontal scanning unit 40 with the H level horizontal scanning signal HSCAN. The horizontal scanning unit 40 to which the horizontal scanning signal HSCAN is input scans the memory 36 in order, and transfers the memory holding signal to the signal processing unit 60.

時刻t15において、カウントリセット信号CNTRSTをHレベルとし、カウント信号CNTを初期値にセットして次のAD変換に備える。   At time t15, the count reset signal CNTRST is set to H level, and the count signal CNT is set to an initial value to prepare for the next AD conversion.

カウント信号CNTについて遅延、欠損の検査をするのが、検査モードである。   The inspection mode is to inspect the count signal CNT for delays and defects.

図4(b)は、図1に例示した撮像装置の検査モードを例示したタイミング図である。図4(b)に例示した検査モードは、図4(a)に例示したビット信号CNT(4)について検査するモードである。   FIG. 4B is a timing diagram illustrating the inspection mode of the imaging apparatus illustrated in FIG. The inspection mode illustrated in FIG. 4B is a mode for inspecting the bit signal CNT (4) illustrated in FIG.

この検査モードでは、OR回路35に、比較部34からのラッチ信号LATではなく、テストラッチ信号供給部33からテストラッチ信号COMLATが供給される点が通常動作モードとは異なっている。   This test mode is different from the normal operation mode in that the test latch signal COMLAT is supplied from the test latch signal supply unit 33 to the OR circuit 35 instead of the latch signal LAT from the comparison unit 34.

時刻t20から時刻t30までにおいて、カウントリセット信号CNTRST、カウント許可信号CNTEN、カウント信号伝送線46に供給されるカウント信号CNTのそれぞれの動作は、通常動作モードと同様とすることができる。つまり、検査モードにおける時刻t20,t21、t28、t30をそれぞれ順に通常動作モードにおける時刻t10、t11、t13、t15に相当させて動作させることができる。   From time t20 to time t30, the operations of the count reset signal CNTRST, the count permission signal CNTEN, and the count signal CNT supplied to the count signal transmission line 46 can be the same as in the normal operation mode. That is, the operation can be performed by sequentially matching the times t20, t21, t28, and t30 in the inspection mode with the times t10, t11, t13, and t15 in the normal operation mode, respectively.

テストラッチ信号供給部33のセレクタSEL1は、ビット選択信号BITSELの信号値に従って、ビット信号CNT(4)をフリップフロップ回路FF1に出力する。フリップフロップ回路FF1はビット信号CNT(4)の信号変化したタイミングに対し、クロックパルス信号CLKの1周期分遅れてHレベルとなる信号SIG−FF1をフリップフロップ回路FF2に出力する。フリップフロップ回路FF2は、Hレベルの信号SIG−FF1が入力されると、さらにクロックパルス信号CLKの1周期分遅れてHレベルの信号SIG−FF2をフリップフロップ回路FF3とAND回路AND1に出力する。フリップフロップ回路FF3は、Hレベルの信号SIG−FF2が入力されると、クロックパルス信号CLKの1周期分遅れてHレベルの信号をインバータINVに出力する。インバータINVはフリップフロップ回路FF3から入力された信号の信号レベルを反転した信号SIG−INVをAND回路AND1に出力する。AND回路AND1は、信号SIG−FF2と信号SIG−INVの論理積をAND回路AND2に出力する。よって、AND回路AND1から出力される信号SIG−AND1は時刻t23にHレベルとなり、時刻t24にLレベルとなる。信号SIG−AND1がHレベルである時に、タイミング信号供給部50から供給されるラッチマスク信号LATMASKがHレベルであれば、AND回路AND2からHレベルのテストラッチ信号COMLATが出力される。ラッチマスク信号LATMASKは時刻t22〜t25の間、Hレベルであるため、信号SIG−AND1がHレベルである時刻t23〜時刻t24の間、Hレベルのテストラッチ信号COMLATがAND回路AND2からOR回路35に出力される。Hレベルのテストラッチ信号COMLATを受けたOR回路35は、メモリ書き込み信号WENをメモリ36に出力する。メモリ36はこのメモリ書き込み信号WENが入力された時のカウント信号CNTをメモリ保持信号として保持する。   The selector SEL1 of the test latch signal supply unit 33 outputs the bit signal CNT (4) to the flip-flop circuit FF1 in accordance with the signal value of the bit selection signal BITSEL. The flip-flop circuit FF1 outputs to the flip-flop circuit FF2 a signal SIG-FF1 that becomes H level with a delay of one cycle of the clock pulse signal CLK with respect to the timing of the signal change of the bit signal CNT (4). When the H-level signal SIG-FF1 is input, the flip-flop circuit FF2 further outputs the H-level signal SIG-FF2 to the flip-flop circuit FF3 and the AND circuit AND1 with a delay of one cycle of the clock pulse signal CLK. When the H level signal SIG-FF2 is input, the flip-flop circuit FF3 outputs an H level signal to the inverter INV with a delay of one cycle of the clock pulse signal CLK. The inverter INV outputs a signal SIG-INV obtained by inverting the signal level of the signal input from the flip-flop circuit FF3 to the AND circuit AND1. The AND circuit AND1 outputs a logical product of the signal SIG-FF2 and the signal SIG-INV to the AND circuit AND2. Therefore, the signal SIG-AND1 output from the AND circuit AND1 becomes H level at time t23 and becomes L level at time t24. When the signal SIG-AND1 is at the H level and the latch mask signal LATMASK supplied from the timing signal supply unit 50 is at the H level, the AND circuit AND2 outputs the test latch signal COMLAT at the H level. Since the latch mask signal LATMASK is at the H level from time t22 to t25, the test latch signal COMLAT at the H level is changed from the AND circuit AND2 to the OR circuit 35 between time t23 and time t24 when the signal SIG-AND1 is at the H level. Is output. The OR circuit 35 that has received the test latch signal COMLAT at H level outputs the memory write signal WEN to the memory 36. The memory 36 holds the count signal CNT when the memory write signal WEN is input as a memory holding signal.

ここで、ビット信号CNT(4)を伝送するカウント信号伝送線46−4に不良があった時、例えば抵抗が通常より高い箇所が存在した場合には、期間p21として示したように、ビット信号CNT(4)に遅延が発生する。ビット信号CNT(4)に遅延が生じていなければ、時刻t23〜t24の間にメモリ書き込み信号WENが入力されたメモリ36に保持されるメモリ保持信号はバイナリ値18に相当するグレイ値である。一方、期間p21の遅延がビット信号CNT(4)に生じていた場合にメモリ36に保持されるメモリ保持信号はバイナリ値13に相当するグレイ値となる。   Here, when there is a defect in the count signal transmission line 46-4 for transmitting the bit signal CNT (4), for example, when there is a place where the resistance is higher than usual, as shown in the period p21, the bit signal A delay occurs in CNT (4). If there is no delay in the bit signal CNT (4), the memory holding signal held in the memory 36 to which the memory write signal WEN is input during the time t23 to t24 is a gray value corresponding to the binary value 18. On the other hand, when the delay of the period p21 occurs in the bit signal CNT (4), the memory holding signal held in the memory 36 becomes a gray value corresponding to the binary value 13.

続いて、タイミング信号供給部50は、水平走査部40に水平走査信号HSCANを供給する。水平走査信号HSCANが入力された水平走査部40はメモリ36を順に走査し、メモリ保持信号を信号処理部60に転送する。信号処理部60が有する信号比較部61は、期待値・誤差範囲設定部72の設定に従って、水平走査部40によって転送されたメモリ保持信号の信号値と、誤差範囲を期待値に含めた所定の信号範囲とを比較し、ずれの有無を判定する。例えば、期待値を18のバイナリ値とし、誤差範囲を±1のバイナリ値と設定した場合には、メモリ保持信号のバイナリ値が17〜19の範囲であれば正常と判定し、17〜19の範囲から外れた場合には故障と判定して比較結果信号TOUTを出力する。期間p21として例示した遅延がビット信号CNT(4)に生じていた場合には、メモリ保持信号は13のバイナリ値に相当するグレイ値であるため、比較結果信号TOUTを出力する。   Subsequently, the timing signal supply unit 50 supplies the horizontal scanning signal HSCAN to the horizontal scanning unit 40. The horizontal scanning unit 40 to which the horizontal scanning signal HSCAN is input scans the memory 36 in order, and transfers the memory holding signal to the signal processing unit 60. The signal comparison unit 61 included in the signal processing unit 60 is a predetermined value including the signal value of the memory holding signal transferred by the horizontal scanning unit 40 and the error range in the expected value according to the setting of the expected value / error range setting unit 72. The signal range is compared to determine the presence or absence of deviation. For example, when the expected value is 18 binary values and the error range is set to ± 1 binary values, it is determined to be normal if the binary value of the memory holding signal is in the range of 17 to 19, and 17 to 19 When it is out of the range, it is determined as a failure and the comparison result signal TOUT is output. When the delay exemplified as the period p21 occurs in the bit signal CNT (4), the memory holding signal is a gray value corresponding to 13 binary values, and therefore the comparison result signal TOUT is output.

これまで検査モードについて、6ビットのカウント信号CNTにおいて例としてビット信号CNT(4)を選択して遅延を検査する方法について説明した。本実施例の検査モードは、カウント信号CNTの各ビット信号を順に選択し、それぞれのカウント信号に遅延、欠損が生じていないかを順に検査することによって、カウンタが出力するカウント信号CNTに遅延、欠損が無いか総合的に検査することができる。この検査方法について、図5に例示したフローチャートを参照しながら説明する。   So far, in the inspection mode, the method of inspecting the delay by selecting the bit signal CNT (4) as an example in the 6-bit count signal CNT has been described. In the inspection mode of this embodiment, each bit signal of the count signal CNT is selected in order, and each count signal is delayed and delayed to the count signal CNT output by the counter by sequentially checking whether or not a defect occurs. It is possible to comprehensively check for defects. This inspection method will be described with reference to the flowchart illustrated in FIG.

検査をスタートすると(step1−1)、まず始めにタイミング信号供給部50の設定として、カウント信号CNTのうち検査するビットを選択し、その検査のためのタイミング設定を行う(step1−2)。次に、信号比較部61の設定として、カウント信号CNTのうち検査を行うビット信号に応じた期待値および誤差範囲を設定する(step1−3)。次に、カウンタ32のカウントを開始し(step1−4)、テストラッチ信号COMLATを生成する(step1−5)。そしてカウンタ32のカウントを終了し(step1−6)、水平走査部40により、メモリ保持信号を信号処理部60に転送する(step1−7)。次に、信号処理部60の信号比較部61で、メモリ36から転送されたメモリ保持信号と期待値に誤差範囲を含めた所定の信号範囲とを比較し(step1−8)、メモリ36から転送されたメモリ保持信号が所定の信号範囲外であった場合は故障と判定する(step1−9)。メモリ36から転送されたメモリ保持信号が誤差範囲内であった場合、step1−7〜step1−8を最終列のメモリ36からメモリ保持信号が転送されるまで繰り返す。そして、最終列のメモリ保持信号であると判定された時にカウント信号CNTの1ビット信号の検査を終える。(step1−10)。そしてカウント信号CNTの全ビット信号の検査を実行し(step1−2〜step1−10の繰り返し)、全ビット信号の検査を終了する。(step1−11)
step1−7においては、カウンタ32から最も距離が離れた列のメモリ保持信号を転送するだけの形態であっても良い。これは以下の2つの理由によるものである。一つは、カウンタ32から距離が離れるにしたがってカウント信号CNTの遅延が大きくなる傾向にあり、カウンタ32から最も離れた列が、最もカウント信号CNTの遅延が大きくなるためである。もう一つは、カウント信号伝送線46(n)上に断線が生じていた場合、カウンタ32から最も距離が離れた列のメモリ保持信号を転送することのみで、カウント信号伝送線46(n)の断線の有無を検査することができるからである。また、任意の列のメモリ保持信号を転送する場合では、step1−10の最終列のメモリ保持信号が転送されたか否かの判定は不要である。
When the inspection is started (step 1-1), first, as the setting of the timing signal supply unit 50, a bit to be inspected is selected from the count signal CNT, and the timing setting for the inspection is performed (step 1-2). Next, as the setting of the signal comparison unit 61, an expected value and an error range corresponding to the bit signal to be inspected among the count signals CNT are set (step 1-3). Next, the count of the counter 32 is started (step 1-4), and the test latch signal COMLAT is generated (step 1-5). Then, the counter 32 finishes counting (step 1-6), and the horizontal scanning unit 40 transfers the memory holding signal to the signal processing unit 60 (step 1-7). Next, the signal comparison unit 61 of the signal processing unit 60 compares the memory holding signal transferred from the memory 36 with a predetermined signal range including an error range in the expected value (step 1-8), and transfers from the memory 36. If the stored memory retention signal is outside the predetermined signal range, it is determined that there is a failure (step 1-9). If the memory holding signal transferred from the memory 36 is within the error range, step 1-7 to step 1-8 are repeated until the memory holding signal is transferred from the memory 36 in the last column. Then, when it is determined that the memory holding signal is in the last column, the inspection of the 1-bit signal of the count signal CNT is finished. (Step 1-10). Then, the inspection of all the bit signals of the count signal CNT is executed (repeating step 1-2 to step 1-10), and the inspection of all the bit signals is finished. (Step 1-11)
In step 1-7, the memory holding signal of the column farthest from the counter 32 may be simply transferred. This is due to the following two reasons. One reason is that the delay of the count signal CNT tends to increase as the distance from the counter 32 increases, and the column farthest from the counter 32 has the greatest delay of the count signal CNT. The other is that if a break occurs on the count signal transmission line 46 (n), the count signal transmission line 46 (n) can be transferred only by transferring the memory holding signal of the column farthest from the counter 32. This is because it is possible to inspect for the presence of disconnection. Further, when transferring the memory holding signal of an arbitrary column, it is not necessary to determine whether or not the memory holding signal of the last column of step 1-10 has been transferred.

各ビット信号について、期待値とのずれの有無を検査することで、各ビット信号を伝送するそれぞれのカウント信号伝送線46について、不良の有無を検査することができる。また、検査対象のビット信号の信号変化に応じてテストラッチ信号を供給することにより、カウント信号の遅延を精度よく検出することができる。ビット信号の信号変化に依らずにテストラッチ信号を供給する場合、例えば本実施例における時刻t25にテストラッチ信号COMLATをOR回路35に供給しても、メモリ保持信号の信号値は期待値と同じとなる。従って、ビット信号CNT(4)のp21の遅延を検出することはできない。よって、本実施例の撮像装置では、ビット信号の信号変化、つまり、カウント信号CNTの信号変化に応じてテストラッチ信号COMLATを供給することにより、カウント信号CNTの遅延を精度よく検出することができる。また、信号値が全く変化しないビット信号が存在する、ビット欠損がカウント信号CNTに生じていた場合も、ビット欠損を検出することができる。本実施例の撮像装置では、検査モード時には比較部34はラッチ信号LATを出力しないため、検査モード時に、信号比較部61が期待値とメモリ保持信号とで、信号値のずれを検出した場合には、カウント信号の信号経路の不良であることが分かる。   By inspecting each bit signal for a deviation from the expected value, it is possible to inspect each count signal transmission line 46 that transmits each bit signal for a defect. In addition, the delay of the count signal can be accurately detected by supplying the test latch signal according to the signal change of the bit signal to be inspected. When the test latch signal is supplied without depending on the signal change of the bit signal, for example, even if the test latch signal COMLAT is supplied to the OR circuit 35 at time t25 in this embodiment, the signal value of the memory holding signal is the same as the expected value. It becomes. Therefore, the delay of p21 of the bit signal CNT (4) cannot be detected. Therefore, in the imaging apparatus of the present embodiment, the delay of the count signal CNT can be accurately detected by supplying the test latch signal COMLAT according to the signal change of the bit signal, that is, the signal change of the count signal CNT. . Further, even when there is a bit signal whose signal value does not change at all and a bit defect occurs in the count signal CNT, the bit defect can be detected. In the imaging apparatus of the present embodiment, since the comparison unit 34 does not output the latch signal LAT in the inspection mode, when the signal comparison unit 61 detects a signal value deviation between the expected value and the memory holding signal in the inspection mode. Indicates that the signal path of the count signal is defective.

本実施例は、列ADCを有する装置として撮像装置を一例に説明した。本発明は、撮像装置に限定されるものではなく、アナログ信号をデジタル信号に変換するアナログデジタル変換回路のうち、各列のメモリ36に共通してカウンタがカウント信号CNTを供給する共通カウンタ型の列ADCであれば良い。即ち、共通カウンタ型の列ADCを有し、アナログ信号が垂直信号線39のそれぞれに供給される構成を有する装置であれば良い。   In this embodiment, the image pickup apparatus is described as an example of the apparatus having the column ADC. The present invention is not limited to the image pickup apparatus, and is a common counter type of the analog-digital conversion circuit that converts an analog signal into a digital signal. The counter supplies a count signal CNT in common to the memory 36 of each column. Any row ADC may be used. In other words, any device having a common counter type column ADC and a structure in which an analog signal is supplied to each of the vertical signal lines 39 may be used.

また、本実施例では同期信号生成部33−1で3つのフリップフロップ回路FF1〜FF3を用い、カウント信号CNTのうち選択されたビット信号の信号変化のタイミングに対しクロックパルス信号CLKの2周期分遅延したテストラッチ信号COMLATを生成していた。このテストラッチ信号COMLATを、カウント信号CNTの選択されたビット信号の信号変化のタイミングに対しクロックパルス1周期分遅れた信号とする場合、フリップフロップ回路FF1を省略することができる。すなわち、セレクタSEL1がフリップフロップ回路FF2に信号を出力する形態であれば良い。   Further, in this embodiment, the synchronization signal generator 33-1 uses three flip-flop circuits FF1 to FF3, and two cycles of the clock pulse signal CLK with respect to the signal change timing of the selected bit signal among the count signals CNT. A delayed test latch signal COMLAT was generated. When the test latch signal COMLAT is a signal delayed by one clock pulse period with respect to the signal change timing of the selected bit signal of the count signal CNT, the flip-flop circuit FF1 can be omitted. In other words, the selector SEL1 may output the signal to the flip-flop circuit FF2.

また、本実施例ではビット信号CNT(n)のLレベルからHレベルへの信号変化のタイミングに応じてテストラッチ信号COMLATを出力する形態を説明した。しかし、同期信号生成部33−1のAND回路AND1をNOR回路とすることで、ビット信号CNT(4)のHレベルからLレベルへの信号変化に応じ、時刻t26にHレベル、時刻t27にLレベルとなるテストラッチ信号COMLATを出力することができる。また、ビット信号CNT(n)のLレベルからHレベル、及びHレベルからLレベルへの両方の信号変化に応じたテストラッチ信号COMLATを供給する場合について述べる。この場合には、図3(c)に例示した同期信号生成部33−1と、AND回路AND1の代わりにNOR回路を設けた別の同期信号生成部とを有するラッチテスト信号供給部33とすれば良い。そして、それぞれの同期信号生成部が有するAND回路AND2の出力がカウント信号伝送線46に供給されるようにすれば良い。   In the present embodiment, the mode in which the test latch signal COMLAT is output in accordance with the signal change timing from the L level to the H level of the bit signal CNT (n) has been described. However, by making the AND circuit AND1 of the synchronization signal generation unit 33-1 a NOR circuit, the H level at time t26 and the L level at time t27 according to the signal change from the H level to the L level of the bit signal CNT (4). It is possible to output a test latch signal COMLAT that becomes a level. A case will be described in which the test latch signal COMLAT is supplied in response to signal changes from the L level to the H level and from the H level to the L level of the bit signal CNT (n). In this case, the latch test signal supply unit 33 includes the synchronization signal generation unit 33-1 illustrated in FIG. 3C and another synchronization signal generation unit provided with a NOR circuit instead of the AND circuit AND1. It ’s fine. Then, the output of the AND circuit AND2 included in each synchronization signal generation unit may be supplied to the count signal transmission line 46.

本実施例は、メモリ保持信号と、メモリ36にメモリ保持信号を保持させた時のカウント信号CNTとを比較する形態を説明したが、メモリ保持信号とカウント信号CNTの全ビット信号同士の比較を行わない形態とすることもできる。例えば、カウント信号CNTが6ビットの信号であり、メモリ保持信号が5ビットである場合には、信号比較部61はカウント信号CNTの6ビットの信号から5ビットを選択した信号を期待値として用いて比較、判定を行えばよい。つまり、aビットのカウント信号CNTよりも小さいビット数のbビットの撮像信号がメモリ36から出力される場合には、メモリ保持信号とカウント信号CNTとの比較をbビットの同じ桁同士で行えばよい。   In the present embodiment, the mode in which the memory holding signal is compared with the count signal CNT when the memory 36 holds the memory holding signal has been described. However, the comparison between all the bit signals of the memory holding signal and the count signal CNT is performed. It can also be set as the form which does not perform. For example, when the count signal CNT is a 6-bit signal and the memory holding signal is 5 bits, the signal comparison unit 61 uses a signal obtained by selecting 5 bits from the 6-bit signal of the count signal CNT as an expected value. Compare and judge. That is, when a b-bit imaging signal having a smaller number of bits than the a-bit count signal CNT is output from the memory 36, the comparison between the memory holding signal and the count signal CNT is performed between the same bits of b bits. Good.

本実施例のテストラッチ信号供給部33が供給するテストラッチ信号COMLATは、クロックパルス信号CLKの立ち上がりに同期して出力していた。従って、検査するビット信号CNT(n)の信号値が変化してからテストラッチ信号COMLATが供給されるまでの時間はクロックパルス信号CLKの整数倍であった。本実施例は、この形態に限定されるものではない。テストラッチ信号COMLATをクロックパルス信号CLKの立ち上がりよりも遅らせて供給する場合には、AND回路AND1とAND回路AND2との間に例えば抵抗や遅延バッファなど、信号を遅延させる手段を設ければよい。これにより、検査するビット信号CNT(n)の信号値が変化してからテストラッチ信号COMLATが供給されるまでの時間がクロックパルス信号CLKの整数倍ではない期間とすることができる。   The test latch signal COMLAT supplied by the test latch signal supply unit 33 of this embodiment is output in synchronization with the rising edge of the clock pulse signal CLK. Therefore, the time from when the signal value of the bit signal CNT (n) to be inspected to when the test latch signal COMLAT is supplied is an integral multiple of the clock pulse signal CLK. The present embodiment is not limited to this form. When supplying the test latch signal COMLAT with a delay from the rising edge of the clock pulse signal CLK, a means for delaying the signal, such as a resistor or a delay buffer, may be provided between the AND circuit AND1 and the AND circuit AND2. As a result, the time from when the signal value of the bit signal CNT (n) to be inspected to when the test latch signal COMLAT is supplied can be a period that is not an integral multiple of the clock pulse signal CLK.

信号比較部61は、AD変換部30が設けられた基板と同一基板に設けられていても良いし、別の基板に設けられていても良い。   The signal comparison unit 61 may be provided on the same substrate as the substrate on which the AD conversion unit 30 is provided, or may be provided on a different substrate.

また、本実施例の撮像装置は信号比較部61を有している必要はなく、メモリ保持信号が供給される端子を有する形態とすることができる。この形態は、検査モードの時に、この端子に期待値を記憶させた信号比較部61を有するテスト装置を電気的に接続することで、メモリ保持信号とメモリ36にメモリ保持信号を保持させた時のカウント信号CNTとの比較、判定を行うことができる。   In addition, the imaging apparatus of the present embodiment does not need to have the signal comparison unit 61, and can have a form having a terminal to which a memory holding signal is supplied. In this mode, when the test holding mode is used, the memory holding signal and the memory 36 hold the memory holding signal by electrically connecting a test device having the signal comparison unit 61 that stores the expected value to this terminal. And the count signal CNT can be compared and determined.

本実施例では、信号比較部61が期待値に誤差範囲を含めた所定の信号範囲とメモリ保持信号とを比較する形態を基に説明した。別の形態として、期待値とメモリ保持信号とを比較して信号値のずれを検出し、信号値のずれが期待値・誤差範囲設定部72が設定した誤差範囲である所定の信号範囲内にあるか否かに基づいて判定し、判定結果TOUTを出力する形態であっても良い。   In this embodiment, the signal comparison unit 61 has been described based on a mode in which a predetermined signal range including an error range in the expected value is compared with the memory holding signal. As another form, the expected value and the memory holding signal are compared to detect a signal value deviation, and the signal value deviation is within a predetermined signal range that is an error range set by the expected value / error range setting unit 72. It may be determined based on whether or not there is, and a determination result TOUT may be output.

本実施例では、比較部34からラッチ信号LATとテストラッチ信号供給部33からのテストラッチ信号COMLATのいずれかがHレベルとなった時にメモリ書き込み信号WENをメモリ36に供給するOR回路35を有していた。本実施例はこの形態に限定されない。つまり、検査モード時に、比較部34からのラッチ信号LATがメモリ36に供給されず、テストラッチ信号供給部33からのテストラッチ信号COMLATが供給される形態であれば良く、OR回路35が設けられていなくとも良い。 また、本実施例では、各列の比較部34に対応して各列にメモリ36が設けられていた。しかし、1列の比較部34に複数のメモリ36が並列に電気的に接続されている形態や、複数列の比較部34に1つのメモリ36が並列に電気的に接続されている形態など、比較部34とメモリ36の電気的な接続については種々の変形が可能である。このような比較部34とメモリ36の種々の電気的な接続の形態を含め、比較部34はメモリ36に対応して設けられていると言える。   In this embodiment, there is provided an OR circuit 35 for supplying the memory write signal WEN to the memory 36 when either the latch signal LAT from the comparison unit 34 or the test latch signal COMLAT from the test latch signal supply unit 33 becomes H level. Was. The present embodiment is not limited to this form. That is, the latch signal LAT from the comparison unit 34 is not supplied to the memory 36 in the inspection mode, and the test latch signal COMLAT from the test latch signal supply unit 33 may be supplied, and the OR circuit 35 is provided. It does not have to be. In this embodiment, the memory 36 is provided in each column corresponding to the comparison unit 34 in each column. However, a form in which a plurality of memories 36 are electrically connected in parallel to one column comparison unit 34, a form in which one memory 36 is electrically connected in parallel to a plurality of columns comparison unit 34, etc. Various modifications can be made to the electrical connection between the comparison unit 34 and the memory 36. It can be said that the comparison unit 34 is provided corresponding to the memory 36, including various forms of electrical connection between the comparison unit 34 and the memory 36.

本実施例では、カウンタ32とテストラッチ信号供給部33に共通のクロックパルス信号CLKが供給されていたが、カウンタ32とテストラッチ信号供給部33とで独立してクロックパルス信号CLKが供給される形態であっても良い。この形態においても、カウンタ32とテストラッチ信号供給部33とに供給されるクロックパルス信号CLKの周波数が同じであり、かつパルスの信号変化のタイミングが同期していることが好ましい。これにより、カウント信号CNTの信号が変化するタイミングに応じてテストラッチ信号COMLATを所定の期間に精度よく供給することができる。   In this embodiment, the common clock pulse signal CLK is supplied to the counter 32 and the test latch signal supply unit 33. However, the counter 32 and the test latch signal supply unit 33 independently supply the clock pulse signal CLK. Form may be sufficient. Also in this embodiment, it is preferable that the frequency of the clock pulse signal CLK supplied to the counter 32 and the test latch signal supply unit 33 is the same, and the timing of the pulse signal change is synchronized. Thus, the test latch signal COMLAT can be supplied with high accuracy in a predetermined period according to the timing at which the count signal CNT changes.

また、精度よくカウント信号CNTの遅延を検出するために、カウント信号伝送線46とテストタッチ信号COMLATをOR回路35へ伝送するテストラッチ信号伝送線とが同じ遅延特性を持っていることが好ましい。例えば、カウント信号伝送線46とテストラッチ信号伝送線とが同じ配線幅を有する形態がある。また、カウント信号伝送線46に中継バッファが設けられている場合には、テストラッチ信号伝送線についてもカウント信号伝送線46と同数の中継バッファを設けられている形態が好ましい。   In order to accurately detect the delay of the count signal CNT, it is preferable that the count signal transmission line 46 and the test latch signal transmission line for transmitting the test touch signal COMLAT to the OR circuit 35 have the same delay characteristics. For example, there is a form in which the count signal transmission line 46 and the test latch signal transmission line have the same wiring width. Further, when the count signal transmission line 46 is provided with a relay buffer, the test latch signal transmission line is preferably provided with the same number of relay buffers as the count signal transmission line 46.

以上説明したように、本実施例における列ADCを有する撮像装置では、カウント信号CNTの各ビット信号の信号変化に応じたテストラッチ信号COMLATをOR回路35に供給し、メモリ36にメモリ保持信号を保持させる。このテストラッチ信号COMLATを供給してメモリ36に保持されたメモリ保持信号を検査することにより、カウント信号CNTの遅延を精度よく検出することができる。また、カウント信号CNTのビット欠損についても検出することができる。   As described above, in the imaging apparatus having the column ADC in this embodiment, the test latch signal COMLAT corresponding to the signal change of each bit signal of the count signal CNT is supplied to the OR circuit 35, and the memory holding signal is supplied to the memory 36. Hold. By supplying the test latch signal COMLAT and inspecting the memory holding signal held in the memory 36, the delay of the count signal CNT can be detected with high accuracy. Further, it is possible to detect a bit loss of the count signal CNT.

図面を参照しながら、本実施例を説明する。以下では、実施例1との相違点を中心に説明する。   The present embodiment will be described with reference to the drawings. Below, it demonstrates centering on difference with Example 1. FIG.

図6(a)は、図1に示したテストラッチ信号供給部33を抜き出したブロック図である。本実施例のラッチ信号供給部33は、実施例1に対し、同期信号生成部33−1の構成が異なる。実施例1において同期信号生成部33−1は、直列に電気的に接続された3個のFF1〜3、インバータINV、2つのAND回路AND1,AND2で構成されていた。また、セレクタSEL1でビット選択信号BITSELに基づいてカウント信号CNTのうち選択されたビット信号の立ち上がりに対し、クロックパルス信号CLKの2周期後に1周期だけHレベルとなる信号SIG−AND1が同期信号生成部33−1から出力される構成になっていた。これに対し図6(a)に例示した同期信号生成部33−1は、セレクタSEL1の出力端子に対して直列に電気的に接続された2個のFF1、FF2、インバータINV、2つのAND回路AND1,AND2を有する。さらに、AND回路AND1の出力端子に対して直列に電気的に接続された4個のFF4〜7およびセレクタSEL2を有する。セレクタSEL2がタイミング信号供給部50より供給される遅延量選択信号DELAYSELに基づいて信号SIG−AND1、SIG−FF4〜7のいずれかの信号を選択する。セレクタSEL2が出力する信号SIG−SEL2が同期信号生成部33−1から出力される信号である。   FIG. 6A is a block diagram in which the test latch signal supply unit 33 shown in FIG. 1 is extracted. The latch signal supply unit 33 of the present embodiment is different from the first embodiment in the configuration of the synchronization signal generation unit 33-1. In the first embodiment, the synchronization signal generating unit 33-1 includes three FF1 to FF3, an inverter INV, and two AND circuits AND1 and AND2 that are electrically connected in series. In addition, the signal SIG-AND1 which becomes H level only for one cycle after two cycles of the clock pulse signal CLK with respect to the rising edge of the bit signal selected from the count signal CNT based on the bit selection signal BITSEL by the selector SEL1 It was the structure output from the part 33-1. In contrast, the synchronization signal generator 33-1 illustrated in FIG. 6A includes two FF1, FF2, an inverter INV, and two AND circuits electrically connected in series to the output terminal of the selector SEL1. AND1 and AND2. Further, it has four FFs 4 to 7 and a selector SEL2 electrically connected in series to the output terminal of the AND circuit AND1. The selector SEL2 selects one of the signals SIG-AND1 and SIG-FF4-7 based on the delay amount selection signal DELAYSEL supplied from the timing signal supply unit 50. A signal SIG-SEL2 output from the selector SEL2 is a signal output from the synchronization signal generator 33-1.

次に、図6(b)に例示したタイミング図を用いて、本実施例の同期信号生成部33−1の動作について説明する。   Next, the operation of the synchronization signal generation unit 33-1 of this embodiment will be described with reference to the timing diagram illustrated in FIG.

まず時刻t40において、セレクタSEL1からは、ビット選択信号BITSELによって選択されたビット信号CNT(n)が出力される。続いて時刻t40からクロックパルス信号CLKの1周期後の時刻である時刻t41に信号SIG−FF1をHレベルとする。続いて時刻t41からクロックパルス信号CLKの1周期後の時刻である時刻t42にフリップフロップ回路FF2の出力信号をHレベルとしてインバータINVに出力される。インバータINVからの信号SIG−INVはフリップフロップ回路FF2からの出力信号を反転した信号であるため、時刻t42にLレベルとなる。よって、AND回路AND1から出力される信号SIG−AND1は時刻t41からt42の期間、Hレベルとなる。このクロックパルス信号CLKの1周期分Hレベルとなる信号SIG−AND1がセレクタSEL2とフリップフロップ回路FF4に出力される。フリップフロップ回路FF4から出力される信号SIG−FF4は、信号SIG−AND1に対してクロックパルス1周期分遅延した信号であり、セレクタSEL2とフリップフロップ回路FF5に出力される。同様に、信号SIG−FF5、SIG−FF6、SIG−FF7のそれぞれは順に信号SIG−FF4、SIG−FF5、SIG−FF6に対してクロックパルス信号CLKの1周期分ずつ遅延した信号である。そして同期信号生成部33−1から出力される信号SIG−SEL2とラッチマスク信号LATMASKの論理和であるテストラッチ信号COMLATとしてAND回路AND2から出力される。   First, at time t40, the selector SEL1 outputs the bit signal CNT (n) selected by the bit selection signal BITSEL. Subsequently, the signal SIG-FF1 is set to the H level at time t41, which is the time one cycle after the clock pulse signal CLK from time t40. Subsequently, the output signal of the flip-flop circuit FF2 is set to the H level and output to the inverter INV at time t42, which is the time one cycle after the clock pulse signal CLK from time t41. Since the signal SIG-INV from the inverter INV is a signal obtained by inverting the output signal from the flip-flop circuit FF2, it becomes L level at time t42. Therefore, the signal SIG-AND1 output from the AND circuit AND1 is at the H level during the period from time t41 to t42. A signal SIG-AND1 that is H level for one cycle of the clock pulse signal CLK is output to the selector SEL2 and the flip-flop circuit FF4. The signal SIG-FF4 output from the flip-flop circuit FF4 is a signal delayed by one cycle of the clock pulse with respect to the signal SIG-AND1, and is output to the selector SEL2 and the flip-flop circuit FF5. Similarly, each of the signals SIG-FF5, SIG-FF6, and SIG-FF7 is a signal that is sequentially delayed by one cycle of the clock pulse signal CLK with respect to the signals SIG-FF4, SIG-FF5, and SIG-FF6. Then, it is output from the AND circuit AND2 as a test latch signal COMLAT that is a logical sum of the signal SIG-SEL2 output from the synchronization signal generating unit 33-1 and the latch mask signal LATMASK.

本実施例に関わるテストラッチ信号供給部33を用いることにより、カウント信号CNTのうち検査を行うビット信号の信号変化から、テストラッチ信号COMLATを供給するまでの遅延量を任意に設定することができる。このため、カウント信号CNTの遅延に対する誤差範囲をテストラッチ信号供給部33によっても設定することが可能となる。   By using the test latch signal supply unit 33 according to the present embodiment, it is possible to arbitrarily set a delay amount from the signal change of the bit signal to be tested in the count signal CNT to the supply of the test latch signal COMLAT. . Therefore, an error range for the delay of the count signal CNT can be set also by the test latch signal supply unit 33.

図面を参照しながら、本実施例を説明する。以下では、実施例1との相違点を中心に説明する。   The present embodiment will be described with reference to the drawings. Below, it demonstrates centering on difference with Example 1. FIG.

図7(a)は、図1に例示した撮像装置のうち、AD変換部30とタイミング信号供給部50を抜き出したブロック図である。以下では、実施例1との相違点を中心に説明する。   FIG. 7A is a block diagram in which the AD conversion unit 30 and the timing signal supply unit 50 are extracted from the imaging apparatus illustrated in FIG. Below, it demonstrates centering on difference with Example 1. FIG.

実施例1においては、カウンタ32から出力されたカウント信号CNTはカウント信号伝送線46を通じ、メモリ36に出力される構成になっていた。これに対し図7(a)に例示した本実施例に関わる構成では、カウント信号CNTは、カウント信号出力部37に入力される。そしてカウント信号出力部37が出力するカウント信号CNT2が、カウント信号伝送線46を通じてメモリ36に出力される。   In the first embodiment, the count signal CNT output from the counter 32 is configured to be output to the memory 36 through the count signal transmission line 46. On the other hand, in the configuration according to this embodiment illustrated in FIG. 7A, the count signal CNT is input to the count signal output unit 37. The count signal CNT 2 output from the count signal output unit 37 is output to the memory 36 through the count signal transmission line 46.

図7(b)は、カウント信号出力部37の詳細な構成の一例を示す回路図である。カウント信号出力部37は、n個のクロック同期出力回路37−1で構成される。そしてクロック同期出力回路37−1は、フリップフロップ回路FF―nとバッファ回路37−11(n)で構成される。入力されるnビットのカウント信号CNTは、クロック同期出力回路37−1でクロックパルス信号CLKと同期した後、nビットのカウント信号CNT2として出力する。このカウント信号CNT2は、フリップフロップ回路FF―nにカウント信号CNTが入力されてから生じるクロックパルス信号CLKの立ち上がりに同期して出力されるため、カウント信号CNTに対してクロックパルス信号CLKの1周期分遅延した信号となる。   FIG. 7B is a circuit diagram illustrating an example of a detailed configuration of the count signal output unit 37. The count signal output unit 37 includes n clock synchronous output circuits 37-1. The clock synchronous output circuit 37-1 includes a flip-flop circuit FF-n and a buffer circuit 37-11 (n). The input n-bit count signal CNT is output as an n-bit count signal CNT2 after being synchronized with the clock pulse signal CLK by the clock synchronous output circuit 37-1. Since the count signal CNT2 is output in synchronization with the rising edge of the clock pulse signal CLK generated after the count signal CNT is input to the flip-flop circuit FF-n, one cycle of the clock pulse signal CLK with respect to the count signal CNT. The signal is delayed by a minute.

本実施例のテストラッチ信号供給部33は、実施例1で図3(c)を例示しながら説明した構成を有する。よって、本実施例の同期信号生成部33−1が生成するテストラッチ信号COMLATは実施例1と同様に、セレクタSEL1に入力されたビット信号CNT(n)に対してクロックパルス信号CLKの2周期分遅延した信号である。従って、テストラッチ信号COMLATはカウント信号CNT2に対して、クロックパルス信号CLKの1周期分遅延した信号である。そのため、本実施例の撮像装置では、カウント信号CNT2にクロックパルス信号CLKの1周期分よりも大きい遅延が生じていた場合には、これを検出することができる。カウント信号CNT2はカウント信号CNTに基づいてカウント信号出力部37で生成されるため、カウント信号出力部37に供給されたカウント信号CNTにクロックパルス信号CLKの1周期分よりも大きい遅延が生じていた場合も検出することができる。   The test latch signal supply unit 33 of this embodiment has the configuration described in the first embodiment with reference to FIG. Therefore, the test latch signal COMLAT generated by the synchronization signal generation unit 33-1 of this embodiment is two cycles of the clock pulse signal CLK with respect to the bit signal CNT (n) input to the selector SEL1, as in the first embodiment. The signal is delayed by a minute. Therefore, the test latch signal COMLAT is a signal delayed by one cycle of the clock pulse signal CLK with respect to the count signal CNT2. For this reason, in the image pickup apparatus of the present embodiment, when a delay larger than one cycle of the clock pulse signal CLK has occurred in the count signal CNT2, this can be detected. Since the count signal CNT2 is generated by the count signal output unit 37 based on the count signal CNT, the count signal CNT supplied to the count signal output unit 37 has a delay greater than one cycle of the clock pulse signal CLK. Cases can also be detected.

また、実施例1の構成では、カウント信号CNTがメモリ36へのカウント信号伝送線46以外にテストラッチ信号供給部33にも供給されている。従って、テスト対象のビット信号はテストラッチ信号供給部33においても使用される一方で、テスト対象のビット信号以外のビット信号はテストラッチ信号供給部33では使用されない。よって、テスト対象のビット信号とテスト非対象のビット信号とで負荷のばらつきが生じる場合がある。本実施例の構成では、カウント信号出力部37からメモリ36にカウント信号CNT2を供給する構成となっている。よって、カウンタ32の出力負荷のばらつきによらず、クロックパルス信号CLKに同期したカウント信号CNT2をメモリ36に供給することができる。このため、カウンタ32からテストラッチ信号供給部33にカウント信号CNTが出力されることによって生じるカウント信号のビット信号遅延ばらつきを抑制できるという効果を得ることができる。   In the configuration of the first embodiment, the count signal CNT is supplied to the test latch signal supply unit 33 in addition to the count signal transmission line 46 to the memory 36. Accordingly, the bit signal to be tested is also used in the test latch signal supply unit 33, while the bit signal other than the bit signal to be tested is not used in the test latch signal supply unit 33. Therefore, there may be a variation in load between the bit signal to be tested and the bit signal not to be tested. In the configuration of this embodiment, the count signal CNT <b> 2 is supplied from the count signal output unit 37 to the memory 36. Therefore, the count signal CNT2 synchronized with the clock pulse signal CLK can be supplied to the memory 36 regardless of variations in the output load of the counter 32. For this reason, it is possible to obtain an effect that the bit signal delay variation of the count signal caused by the output of the count signal CNT from the counter 32 to the test latch signal supply unit 33 can be suppressed.

図面を参照しながら、本実施例を説明する。図8(a)は、図1に示した構成のうち、AD変換部30とタイミング信号供給部50を抜き出したブロック図である。以下では、実施例1との相違点を中心に説明する。   The present embodiment will be described with reference to the drawings. FIG. 8A is a block diagram in which the AD conversion unit 30 and the timing signal supply unit 50 are extracted from the configuration shown in FIG. Below, it demonstrates centering on difference with Example 1. FIG.

実施例1においては、カウンタ32から出力されたカウント信号CNTは、テストラッチ信号供給部33に供給されるとともに、カウント信号伝送線46を通じ、メモリ36に供給される構成になっていた。   In the first embodiment, the count signal CNT output from the counter 32 is supplied to the test latch signal supply unit 33 and supplied to the memory 36 through the count signal transmission line 46.

これに対し図8(a)に例示した本実施例の構成では、カウント信号CNTは一旦、ビット信号選択部38に入力される。そしてビット信号選択部38が出力するカウント信号CNT3が、テストラッチ信号供給部33に出力されるとともに、カウント信号伝送線46を通じ、メモリ36に供給される。また、タイミング信号供給部50は、ビット信号選択部32に対しテスト信号TESTSIGとテスト選択信号TESTSELを供給する。   On the other hand, in the configuration of this embodiment illustrated in FIG. 8A, the count signal CNT is temporarily input to the bit signal selection unit 38. The count signal CNT3 output from the bit signal selection unit 38 is output to the test latch signal supply unit 33 and also supplied to the memory 36 through the count signal transmission line 46. Further, the timing signal supply unit 50 supplies the test signal TESTSIG and the test selection signal TESTSEL to the bit signal selection unit 32.

図8(b)は、ビット信号選択部38の詳細な構成の一例を示す回路図である。ビット信号選択部38は、n個のセレクタ38−1で構成される。テスト選択信号TESTSELがLレベルの時はカウンタ32から出力されるカウント信号CNTを選択し、カウント信号CNT3として出力する。また、テスト選択信号TESTSELがHレベルの時には、テスト信号TESTSIGを選択し、カウント信号CNT3として出力する。   FIG. 8B is a circuit diagram illustrating an example of a detailed configuration of the bit signal selection unit 38. The bit signal selection unit 38 includes n selectors 38-1. When the test selection signal TESTSEL is at L level, the count signal CNT output from the counter 32 is selected and output as the count signal CNT3. When the test selection signal TESTSEL is at H level, the test signal TESTSIG is selected and output as the count signal CNT3.

次に、図9のタイミング図を用いて、カウント信号伝送線46が伝送するカウント信号CNT3のうち、ビット信号CNT3(4)を検査する動作の一例について説明する。   Next, an example of an operation for inspecting the bit signal CNT3 (4) in the count signal CNT3 transmitted by the count signal transmission line 46 will be described using the timing chart of FIG.

まず始めに、検査時はラッチ許可信号LATENをLレベルにし、比較部34からHレベルのラッチ信号LATが出力されないようにする。   First, at the time of inspection, the latch permission signal LATEN is set to L level so that the H level latch signal LAT is not output from the comparison unit 34.

次に、時刻t30において、タイミング信号供給部50がテスト選択信号TESTSELをHレベルにすると、ビット信号選択部38においてテスト信号TESTSIGが選択され、テスト信号TESTSIGがカウント信号伝送線46に出力される。タイミング信号供給部50は時刻t31で、テスト信号TESTSIGを“0”から“16”に、すなわちテスト信号TESTSIGのビット信号TESTSIG(4)をHレベルにする。   Next, when the timing signal supply unit 50 sets the test selection signal TESTSEL to the H level at time t30, the bit signal selection unit 38 selects the test signal TESTSIG and outputs the test signal TESTSIG to the count signal transmission line 46. At time t31, the timing signal supply unit 50 changes the test signal TESTSIG from “0” to “16”, that is, sets the bit signal TESTSIG (4) of the test signal TESTSIG to the H level.

一方、タイミング信号供給部50から出力されたビット選択信号BITSELに従って、図3(c)に例示したテストラッチ信号供給部33中のセレクタSEL1はカウント信号CNT3のビット信号CNT3(4)を出力する。同期信号生成部33−1のフリップフロップ回路FF1,FF2とインバータINVが出力する信号SIG−FF1、SIG−FF2、SIG−INVは順に、ビット信号CNT3(4)からクロックパルス信号CLKの1周期分ずつ遅延した信号となる。即ち、信号SIG−FF1はビット信号CNT3(4)に対し、クロックパルス1周期分、信号SIG−FF2は同2周期分、信号SIG−INVは同3周期分遅延した信号である。そして同期信号生成部33−1から出力される信号、即ちAND回路AND1が出力する信号SIG−AND1は、信号SIG−FF2と信号SIG−INVの論理積であるので、時刻t32にHレベルとなり、時刻t33にLレベルになる。その結果、テストラッチ信号COMLATは時刻t32にHレベルに、時刻t33にLレベルとなり、メモリ書き込み信号WENも同様に時刻t32にHレベルに、時刻t33にLレベルとなる。   On the other hand, according to the bit selection signal BITSEL output from the timing signal supply unit 50, the selector SEL1 in the test latch signal supply unit 33 illustrated in FIG. 3C outputs the bit signal CNT3 (4) of the count signal CNT3. The signals SIG-FF1, SIG-FF2, and SIG-INV output from the flip-flop circuits FF1 and FF2 of the synchronization signal generation unit 33-1 and the inverter INV are sequentially equivalent to one cycle of the clock pulse signal CLK from the bit signal CNT3 (4). The signal is delayed one by one. That is, the signal SIG-FF1 is a signal delayed from the bit signal CNT3 (4) by one clock pulse, the signal SIG-FF2 is delayed by the same two periods, and the signal SIG-INV is delayed by the same three periods. The signal output from the synchronization signal generating unit 33-1, that is, the signal SIG-AND1 output from the AND circuit AND1, is the logical product of the signal SIG-FF2 and the signal SIG-INV, and thus becomes H level at time t32. It becomes L level at time t33. As a result, the test latch signal COMLAT becomes H level at time t32, becomes L level at time t33, and the memory write signal WEN similarly becomes H level at time t32 and becomes L level at time t33.

ここで、カウント信号CNT3のビット信号CNT3(4)を伝送するカウント信号伝送線46−4に不良がある時、例えば抵抗が通常より高い箇所が存在し、メモリ36にビット信号CNT3(4)が到達する時間に期間p31の遅延が発生する場合について述べる。この場合、メモリ36に保持されるデジタル値はバイナリ値0に相当するグレイ値のメモリ保持信号となる。しかし、ビット信号CNT3(4)に遅延がなくメモリ36に保持されるべきデータはバイナリ値16に相当するグレイ値のメモリ保持信号であり、ビット信号CNT3(4)の遅延によりバイナリ値にして16小さいメモリ保持信号が保持されたことになる。   Here, when the count signal transmission line 46-4 for transmitting the bit signal CNT3 (4) of the count signal CNT3 is defective, for example, there is a location where the resistance is higher than usual, and the bit signal CNT3 (4) is stored in the memory 36. A case where a delay of the period p31 occurs in the arrival time will be described. In this case, the digital value held in the memory 36 is a gray value memory holding signal corresponding to the binary value 0. However, the bit signal CNT3 (4) has no delay and the data to be held in the memory 36 is a gray value memory holding signal corresponding to the binary value 16, and is converted to a binary value 16 by the delay of the bit signal CNT3 (4). A small memory holding signal is held.

以上の動作によって、ビット信号CNT3(4)の遅延によって発生する不正なデータがメモリ36に書き込まれる。   Through the above operation, illegal data generated by the delay of the bit signal CNT3 (4) is written in the memory 36.

そして、時刻t35において、タイミング信号供給部50はテスト選択信号TESTSELをLレベルにする。   At time t35, the timing signal supply unit 50 sets the test selection signal TESTSEL to the L level.

時刻t36において、水平走査信号HSCANをHレベルとし、メモリ保持信号を信号処理部60に転送する。信号処理部60中の信号比較部61は、転送されたメモリ保持信号と、期待値とを比較し、ずれの有無を判定し、ビット信号CNT3(4)の検査を終了する。   At time t36, the horizontal scanning signal HSCAN is set to the H level, and the memory holding signal is transferred to the signal processing unit 60. The signal comparison unit 61 in the signal processing unit 60 compares the transferred memory holding signal with the expected value, determines whether or not there is a deviation, and ends the inspection of the bit signal CNT3 (4).

実施例1で先述した図5に例示したフローチャートに従って、各ビット信号を検査することにより、カウント信号CNT3に遅延やビットの欠落が生じていないか検査することができる。   By checking each bit signal according to the flowchart illustrated in FIG. 5 described in the first embodiment, it is possible to check whether a delay or a missing bit has occurred in the count signal CNT3.

以上説明したように、本実施例の構成によれば、カウンタ32を動作させずともカウント信号CNT3の遅延やビットの欠落が生じていないか検査することができる。さらに、カウンタ32を動作させずにテスト信号TESTSIGを用いることにより、検査対象以外のビット信号の出力が行われない。これにより、0ビット目のビット信号CNT3(0)以外のビット信号を検査する場合において検査時間を短縮できる。よって、全ビット信号の検査に要する時間も、カウンタ32から出力されるカウント信号を用いて検査する場合に比べて本実施例の構成では短縮することができる。   As described above, according to the configuration of the present embodiment, it is possible to inspect whether the count signal CNT3 is delayed or missing bits without operating the counter 32. Further, by using the test signal TESTSIG without operating the counter 32, the output of bit signals other than those to be inspected is not performed. Accordingly, the inspection time can be shortened when a bit signal other than the bit signal CNT3 (0) of the 0th bit is inspected. Therefore, the time required for the inspection of all the bit signals can be shortened in the configuration of this embodiment as compared with the case where the inspection is performed using the count signal output from the counter 32.

本実施例の構成は、実施例3のAD変換部の構成に対し、カウンタ32がバイナリカウンタであること、および、テストラッチ信号供給部33が実施例2の構成であることが異なる。カウンタ32がバイナリカウンタである場合、カウント信号CNTのうちのビット信号CNT(n)に遅延がクロックパルス信号CLKの1周期分生じただけでも、メモリ36の保持されるメモリ保持信号はグレイカウンタである場合に比べて正常値と大きく異なる。バイナリカウンタであるカウンタ32は、図10(a)に例示したように、図3(b)に例示したカウンタ32において、グレイコード変換回路32−2を設けず、バイナリカウンタ32−1からカウント信号CNTが出力される形態とすることができる。   The configuration of the present embodiment differs from the configuration of the AD conversion unit of the third embodiment in that the counter 32 is a binary counter and the test latch signal supply unit 33 has the configuration of the second embodiment. When the counter 32 is a binary counter, the memory holding signal held in the memory 36 is a gray counter even when the bit signal CNT (n) of the count signal CNT is delayed for one cycle of the clock pulse signal CLK. Compared to certain cases, it is significantly different from normal values. As illustrated in FIG. 10A, the counter 32 which is a binary counter is not provided with the Gray code conversion circuit 32-2 in the counter 32 illustrated in FIG. CNTs can be output.

図10(b)に例示したタイミング図を参照しながら、本実施例に関わるカウント信号出力部37から出力されるカウント信号CNT2(4)の検査について実施例3と相違する点を中心に説明する。   With reference to the timing diagram illustrated in FIG. 10B, the inspection of the count signal CNT2 (4) output from the count signal output unit 37 according to the present embodiment will be described with a focus on differences from the third embodiment. .

まず始めに時刻t50にカウント許可信号CNTENがHレベルとなり、これを受けてカウンタ32のバイナリカウンタがカウントを開始する。時刻t51にカウント信号出力部37はカウンタ32からのカウント信号CNTに対しクロックパルス信号CLKの1周期分遅延したカウント信号CNT2を出力する。   First, at time t50, the count permission signal CNTEN becomes H level, and in response to this, the binary counter of the counter 32 starts counting. At time t51, the count signal output unit 37 outputs a count signal CNT2 delayed by one cycle of the clock pulse signal CLK with respect to the count signal CNT from the counter 32.

カウント信号CNT2のビット信号CNT2(4)は時刻t53にHレベルに信号変化するが、カウント信号CNTのビット信号CNT(4)はクロックパルス信号CLK1周期前の時刻t52でHレベルに信号変化する。テストラッチ信号供給部33ではDELAYSELによって、信号SIG−AND1が選択されており、テストラッチ信号COMLATは時刻t53にHレベルとなり、クロックパルス信号CLKの1周期後にLレベルとなる。同様に、メモリ書き込み信号WENもテストラッチ信号COMLATと同時にHレベルとなった後、同時にLレベルとなる。   The bit signal CNT2 (4) of the count signal CNT2 changes to H level at time t53, but the bit signal CNT (4) of the count signal CNT changes to H level at time t52 before the clock pulse signal CLK1 period. In the test latch signal supply unit 33, the signal SIG-AND1 is selected by DELAYSEL, and the test latch signal COMLAT becomes H level at time t53, and becomes L level after one cycle of the clock pulse signal CLK. Similarly, the memory write signal WEN becomes H level simultaneously with the test latch signal COMLAT and then becomes L level at the same time.

ここで、ビット信号CNT2(4)に期間p51(クロックパルス信号CLKの1周期分)の遅延が発生し、図10(b)に例示した点線の波形になる場合について述べる。この場合、遅延の無い場合にはメモリ36に保持されるべきメモリ保持信号のバイナリ値が16であるのに対し、バイナリ値0のメモリ保持信号がメモリ36に保持される。   Here, a case where a delay of the period p51 (one cycle of the clock pulse signal CLK) occurs in the bit signal CNT2 (4) and the waveform of the dotted line illustrated in FIG. 10B is described. In this case, when there is no delay, the binary value of the memory holding signal to be held in the memory 36 is 16, whereas the memory holding signal of the binary value 0 is held in the memory 36.

このバイナリ値0のメモリ保持信号は、正常値であるバイナリ値16のメモリ保持信号とは異なる。例えば、期待値・誤差範囲設定部72が期待値のバイナリ値を16、誤差範囲のバイナリ値を±1と設定したとする。この場合、バイナリ値0のメモリ保持信号が信号処理部60に入力されると信号比較部61は期待値に対して、ずれが有るとの比較結果を比較結果信号TOUTとして出力する。期待値とメモリ保持信号とでずれが生じていることが明らかになることによって、ビット信号CNT2(4)に遅延が生じていることが推測できる。   The memory holding signal of binary value 0 is different from the memory holding signal of binary value 16, which is a normal value. For example, assume that the expected value / error range setting unit 72 sets the binary value of the expected value to 16 and the binary value of the error range to ± 1. In this case, when a memory holding signal having a binary value 0 is input to the signal processing unit 60, the signal comparison unit 61 outputs a comparison result indicating that there is a deviation from the expected value as the comparison result signal TOUT. Since it is clear that there is a difference between the expected value and the memory holding signal, it can be inferred that the bit signal CNT2 (4) has a delay.

また、本実施例の撮像装置では、テストラッチ信号COMLATとカウント信号CNT2は、カウント信号CNTに対して共にクロックパルス信号CLKの1周期分遅延した信号である。即ち、テストラッチ信号とカウント信号CNT2は同期した信号となっている。従って、本実施例はカウント信号CNT2の僅かな遅延も検出したい場合に好適に実施することができる。また、例えばビット信号CNT2(0)、CNT2(1)のような低ビットのビット信号はパルス周期が高ビットのビット信号に比して短い。低ビットのビット信号を検査する時に、テストラッチ信号COMLATがカウント信号CNT2に対して遅延している場合には好適にビット信号の遅延を検出できない場合がある。本実施例のように、カウント信号CNT2とテストラッチ信号COMLATが同期している場合では、低ビットのビット信号を検査する場合にも好適にビット信号の遅延の有無を検査することができる。また、カウント信号CNT2のビット欠損の有無についても検査することができる。   In the imaging apparatus of the present embodiment, the test latch signal COMLAT and the count signal CNT2 are signals that are delayed by one cycle of the clock pulse signal CLK with respect to the count signal CNT. That is, the test latch signal and the count signal CNT2 are synchronized signals. Therefore, this embodiment can be suitably implemented when it is desired to detect a slight delay of the count signal CNT2. Further, for example, low-bit bit signals such as the bit signals CNT2 (0) and CNT2 (1) have a shorter pulse period than a high-bit bit signal. When the low-bit bit signal is inspected, if the test latch signal COMLAT is delayed with respect to the count signal CNT2, the delay of the bit signal may not be detected suitably. In the case where the count signal CNT2 and the test latch signal COMLAT are synchronized as in the present embodiment, it is possible to suitably inspect the presence or absence of a bit signal delay even when inspecting a low-bit bit signal. Further, the presence or absence of a bit defect in the count signal CNT2 can also be inspected.

以上説明したように、カウンタ32がバイナリカウンタであっても、ビット信号CNT2(n)に遅延や欠損が無いか検査することができる。   As described above, even if the counter 32 is a binary counter, the bit signal CNT2 (n) can be inspected for any delay or loss.

これまでに述べた撮像装置を撮像システムに適用した場合の実施例について述べる。撮像システムとして、デジタルスチルカメラやデジタルカムコーダーや監視カメラなどがあげられる。図11に、固体撮像システムの例としてデジタルスチルカメラに固体撮像装置を適用した場合のブロック図を示す。   An embodiment in which the imaging apparatus described so far is applied to an imaging system will be described. Examples of the imaging system include a digital still camera, a digital camcorder, and a surveillance camera. FIG. 11 shows a block diagram when a solid-state imaging device is applied to a digital still camera as an example of the solid-state imaging system.

図11において、111はレンズの保護のためのバリア、112は被写体の光学像を撮像装置1に結像させるレンズ、113はレンズ112を通った光量を可変にするための絞りである。115は撮像装置1より出力される出力信号の処理を行う撮像信号処理部である。   In FIG. 11, reference numeral 111 denotes a barrier for protecting the lens, 112 denotes a lens that forms an optical image of a subject on the imaging apparatus 1, and 113 denotes a diaphragm for changing the amount of light passing through the lens 112. Reference numeral 115 denotes an imaging signal processing unit that processes an output signal output from the imaging apparatus 1.

撮像装置1が出力する信号である撮像信号は先に示した実施例1〜5のように、デジタル信号であるため、撮像信号処理部115はデジタル信号処理部を有し、撮像装置1から出力される信号に対し、必要に応じて各種の補正、圧縮を行って信号を出力する。   Since the imaging signal which is the signal output from the imaging device 1 is a digital signal as in the first to fifth embodiments, the imaging signal processing unit 115 includes a digital signal processing unit and is output from the imaging device 1. The signal is output after being subjected to various corrections and compression as necessary.

そして、図11において、116は画像データを一時的に記憶する為のバッファメモリ部、118は記録媒体に記録または読み出しを行うためのインターフェース部、119は撮像データの記録または読み出しを行う為の半導体メモリ等の着脱可能な記録媒体である。117は外部コンピュータ等と通信する為のインターフェース部である。1110は各種演算とデジタルスチルカメラ全体を制御する全体制御・演算部、1111は撮像装置1、撮像信号処理部115に、各種タイミング信号を出力するタイミング発生部である。ここで、タイミング信号などは外部から入力されてもよく、撮像システムは少なくとも撮像装置1と、撮像装置1から出力された撮像信号を処理する撮像信号処理部115とを有すればよい。   In FIG. 11, 116 is a buffer memory unit for temporarily storing image data, 118 is an interface unit for recording or reading data on a recording medium, and 119 is a semiconductor for recording or reading image data. A removable recording medium such as a memory. Reference numeral 117 denotes an interface unit for communicating with an external computer or the like. Reference numeral 1110 denotes an overall control / arithmetic unit that controls various calculations and the entire digital still camera, and 1111 denotes a timing generation unit that outputs various timing signals to the imaging apparatus 1 and the imaging signal processing unit 115. Here, the timing signal or the like may be input from the outside, and the imaging system may include at least the imaging device 1 and the imaging signal processing unit 115 that processes the imaging signal output from the imaging device 1.

実施例1〜5で述べた撮像装置は信号比較部61を有していたが、この信号比較部61を撮像装置信号処理部115が有する形態であっても良い。   Although the imaging device described in the first to fifth embodiments includes the signal comparison unit 61, the imaging device signal processing unit 115 may include the signal comparison unit 61.

以上のように、本実施例の撮像システムは、撮像装置1を適用して撮像動作を行うことが可能である。   As described above, the imaging system of the present embodiment can perform an imaging operation by applying the imaging device 1.

本実施例の撮像システムは、実施例1〜5で述べた撮像装置1のいずれかを有している。撮像装置1を撮像システムに組み込む工程を行って撮像システムを製造する際には、あらかじめ撮像システムに組み込む前に撮像装置1を検査モードで動作させておくことが好ましい。これにより、検査モードで動作させた際に、撮像装置1が有する信号比較部61が正常と判定した撮像装置1を撮像システムに組み込むことができる。よって、故障の少ない撮像システムを製造し、提供することができる。   The imaging system of the present embodiment includes any one of the imaging devices 1 described in the first to fifth embodiments. When manufacturing the imaging system by performing the process of incorporating the imaging device 1 into the imaging system, it is preferable to operate the imaging device 1 in the inspection mode before incorporating the imaging device 1 into the imaging system in advance. Thereby, when operated in the inspection mode, the imaging device 1 determined by the signal comparison unit 61 included in the imaging device 1 to be normal can be incorporated into the imaging system. Therefore, an imaging system with few failures can be manufactured and provided.

1 撮像装置
10 画素部
20 垂直走査部
29 回路部
30 AD変換部
31 ランプ信号供給部
32 カウンタ
33 テストラッチ信号供給部
34 比較部
35 OR回路
36 メモリ
39 垂直信号線
40 水平走査部
50 タイミング信号供給部
60 信号処理部
61 信号比較部
70 設定部
80 通信部
DESCRIPTION OF SYMBOLS 1 Imaging device 10 Pixel part 20 Vertical scanning part 29 Circuit part 30 AD conversion part 31 Ramp signal supply part 32 Counter 33 Test latch signal supply part 34 Comparison part 35 OR circuit 36 Memory 39 Vertical signal line 40 Horizontal scanning part 50 Timing signal supply Unit 60 signal processing unit 61 signal comparison unit 70 setting unit 80 communication unit

Claims (27)

デジタル信号を保持するメモリと、アナログ信号と時間とともに変化する参照信号とを比較した比較結果を示す比較結果信号を前記メモリに供給する比較器と、をそれぞれ含む複数の回路部と、
クロックパルス信号を前記参照信号の変化と並行して計数して、複数のビット信号を有するカウント信号を生成し、前記カウント信号を出力するカウンタと、
前記カウント信号を複数の前記メモリに供給する複数のカウント信号伝送線と、
を有し、対応する前記比較器の比較結果信号が変化した時に前記メモリが前記カウント信号を前記デジタル信号として保持することで前記アナログ信号を前記デジタル信号に変換するアナログデジタル変換回路であって、
前記アナログデジタル変換回路は検査モードで動作し、
テストラッチ信号供給部と、
信号比較部と、
をさらに有し、
前記検査モードにおいて、
前記比較器は前記比較結果信号の前記メモリへの供給を行わず、
前記カウンタはさらに前記テストラッチ信号供給部に前記カウント信号を供給し、
前記テストラッチ信号供給部は、前記カウント信号を複数の前記メモリに保持させるテストラッチ信号を、複数の前記ビット信号のうち、いずれかの前記ビット信号の信号レベルが変化したタイミングに応じて、複数の前記メモリに供給し、
前記信号比較部に、複数の前記メモリが保持した前記カウント信号が供給され、
前記テストラッチ信号が供給された前記メモリが保持した前記デジタル信号の信号値と、前記カウント信号が前記カウンタから前記メモリに遅滞なく供給される場合において前記テストラッチ信号を供給するタイミングに前記メモリが保持する前記デジタル信号の信号値と、を比較することによって、前記カウント信号伝送線の検査を行うことを特徴とするアナログデジタル変換回路。
A plurality of circuit units each including a memory that holds a digital signal, and a comparator that supplies a comparison result signal indicating a comparison result of comparing an analog signal and a reference signal that changes with time, to the memory;
A counter that counts a clock pulse signal in parallel with a change in the reference signal, generates a count signal having a plurality of bit signals, and outputs the count signal;
A plurality of count signal transmission lines for supplying the count signal to the plurality of memories;
An analog-to-digital conversion circuit that converts the analog signal into the digital signal by holding the count signal as the digital signal when the comparison result signal of the corresponding comparator changes.
The analog-digital conversion circuit operates in an inspection mode,
A test latch signal supply unit;
A signal comparison unit;
Further comprising
In the inspection mode,
The comparator does not supply the comparison result signal to the memory;
The counter further supplies the count signal to the test latch signal supply unit,
The test latch signal supply unit includes a plurality of test latch signals for holding the count signal in the plurality of memories according to a timing at which a signal level of any one of the plurality of bit signals changes. Of the memory,
The count signal held by a plurality of the memories is supplied to the signal comparison unit,
The memory receives the signal value of the digital signal held by the memory to which the test latch signal is supplied and the timing at which the test latch signal is supplied when the count signal is supplied from the counter to the memory without delay. An analog-to-digital conversion circuit characterized in that the count signal transmission line is inspected by comparing a signal value of the digital signal to be held.
複数の前記ビット信号のうち、いずれかの前記ビット信号の信号レベルが変化したタイミングから、前記テストラッチ信号を供給するまでの期間が可変であることを特徴とする請求項1に記載のアナログデジタル変換回路。   2. The analog digital according to claim 1, wherein a period from when the signal level of any one of the plurality of bit signals changes to when the test latch signal is supplied is variable. Conversion circuit. 前記テストラッチ信号供給部は、複数の前記ビット信号のうち、いずれかの前記ビット信号の信号レベルが変化したタイミングから、前記テストラッチ信号を供給するまでの期間が前記クロックパルス信号のパルス周期の整数倍であることを特徴とする請求項1または2に記載のアナログデジタル変換回路。   The test latch signal supply unit has a pulse period of the clock pulse signal from the timing at which the signal level of any one of the bit signals changes to the supply of the test latch signal. 3. The analog-digital conversion circuit according to claim 1, wherein the analog-digital conversion circuit is an integer multiple. 前記テストラッチ信号供給部は、複数の前記ビット信号のいずれかの前記ビット信号の信号レベルが変化したタイミングに対し、前記クロックパルス信号のパルス周期の整数倍の時間遅延して信号レベルが変化するパルス信号を、遅延時間を変えて複数生成し、
複数の前記パルス信号から選択した信号を前記テストラッチ信号として供給することを特徴とする請求項3に記載のアナログデジタル変換回路。
The test latch signal supply unit changes the signal level by delaying a time that is an integral multiple of the pulse period of the clock pulse signal with respect to the timing at which the signal level of any one of the plurality of bit signals changes. Generate multiple pulse signals with different delay times,
4. The analog-digital conversion circuit according to claim 3, wherein a signal selected from a plurality of the pulse signals is supplied as the test latch signal.
前記テストラッチ信号供給部は、前記カウント信号の前記複数のビット信号のいずれかの前記ビット信号の信号レベルが変化したタイミングから、前記クロックパルス信号のパルス周期の2周期以内の期間に前記テストラッチ信号を供給することを特徴とする請求項1〜4のいずれかに記載のアナログデジタル変換回路。   The test latch signal supply unit includes the test latch signal in a period within two cycles of the pulse period of the clock pulse signal from the timing when the signal level of the bit signal of any of the plurality of bit signals of the count signal changes. 5. The analog-digital conversion circuit according to claim 1, wherein a signal is supplied. 複数の前記ビット信号の各々が、複数の前記カウント信号伝送線の各々によって伝送され、
複数の前記カウント信号伝送線のいずれかの電位が変化したタイミングに応じて前記テストラッチ信号を供給することを特徴とする請求項1〜5のいずれかに記載のアナログデジタル変換回路。
Each of the plurality of bit signals is transmitted by each of the plurality of count signal transmission lines,
6. The analog-digital conversion circuit according to claim 1, wherein the test latch signal is supplied in accordance with a timing at which any one of the plurality of count signal transmission lines changes.
前記テストラッチ信号供給部に、さらに前記クロックパルス信号が供給され、
前記テストラッチ信号供給部は、供給される前記クロックパルス信号の信号レベルが変化したタイミングに同期して、前記テストラッチ信号を供給することを特徴とする請求項1〜6のいずれかに記載のアナログデジタル変換回路。
The clock pulse signal is further supplied to the test latch signal supply unit,
The test latch signal supply unit supplies the test latch signal in synchronization with a timing at which a signal level of the supplied clock pulse signal changes. Analog-digital conversion circuit.
前記テストラッチ信号供給部に、前記カウンタに供給される前記クロックパルス信号とは別のクロックパルス信号が供給されることを特徴とする請求項1〜6のいずれかに記載のアナログデジタル変換回路。   7. The analog-digital conversion circuit according to claim 1, wherein a clock pulse signal different from the clock pulse signal supplied to the counter is supplied to the test latch signal supply unit. 前記カウント信号のビット数がaビットであり、
前記メモリが保持する前記デジタル信号のビット数が、前記aビットよりも小さいビット数であるbビットであり、
前記信号比較部が、
前記テストラッチ信号が供給された前記メモリが保持した前記デジタル信号と、前記カウント信号が前記カウンタから前記メモリに遅滞なく供給される場合において前記テストラッチ信号を供給するタイミングに前記メモリが保持する前記デジタル信号の信号値との比較を、前記bビットの同じ桁同士で行うことを特徴とする請求項1〜8のいずれかに記載のアナログデジタル変換回路。
The number of bits of the count signal is a bit;
The number of bits of the digital signal held by the memory is b bits which is smaller than the a bits;
The signal comparison unit is
The digital signal held by the memory to which the test latch signal is supplied, and the memory held by the memory at a timing when the test latch signal is supplied when the count signal is supplied from the counter to the memory without delay. 9. The analog-to-digital conversion circuit according to claim 1, wherein a comparison with a signal value of a digital signal is performed between the same digits of the b bits.
前記テストラッチ信号供給部は、同期信号生成部とマスク部とを有し、
前記同期信号生成部は、複数の前記ビット信号のいずれかの前記ビット信号の信号レベルが変化するタイミングに応じて前記マスク部に信号を供給する動作を行い、
前記マスク部によって、前記同期信号生成部から供給される前記信号を複数の前記メモリに供給されるか否かが切り替えられ、
前記マスク部によって複数の前記メモリに供給される前記信号が前記テストラッチ信号であることを特徴とする請求項1〜9のいずれかに記載のアナログデジタル変換回路。
The test latch signal supply unit includes a synchronization signal generation unit and a mask unit,
The synchronization signal generation unit performs an operation of supplying a signal to the mask unit according to a timing at which a signal level of the bit signal of any of the plurality of bit signals changes,
Whether the signal supplied from the synchronization signal generator is supplied to the plurality of memories is switched by the mask unit,
The analog-digital conversion circuit according to claim 1, wherein the signal supplied to the plurality of memories by the mask unit is the test latch signal.
前記カウント信号はさらに、前記カウント信号伝送線とは別の信号経路によって、前記カウンタから前記テストラッチ信号供給部に供給されることを特徴とする請求項1〜10のいずれかに記載のアナログデジタル変換回路。   The analog / digital signal according to claim 1, wherein the count signal is further supplied from the counter to the test latch signal supply unit through a signal path different from the count signal transmission line. Conversion circuit. 前記カウント信号伝送線において、前記カウント信号を遅延させた信号を複数の前記メモリに供給するカウント信号出力部をさらに有し、
複数の前記ビット信号のうち、いずれかの前記ビット信号の信号レベルが変化したタイミングから前記テストラッチ信号が供給されるまでの時間と、前記カウント信号出力部が出力する前記信号の前記カウント信号に対する遅延時間とが等しいことを特徴とする請求項11に記載のアナログデジタル変換回路。
The count signal transmission line further includes a count signal output unit that supplies a signal obtained by delaying the count signal to the plurality of memories.
Of the plurality of bit signals, the time from when the signal level of any one of the bit signals changes to the time when the test latch signal is supplied, and the count signal of the signal output by the count signal output unit 12. The analog-digital conversion circuit according to claim 11, wherein the delay time is equal.
前記カウンタから前記テストラッチ信号供給部にビット信号選択部を介して前記カウント信号が供給され、
前記ビット信号選択部は、前記カウント信号が有する複数の前記ビット信号のうち、前記テストラッチ信号供給部に供給する前記ビット信号を選択し、
前記テストラッチ信号供給部は、前記ビット信号選択部によって選択された前記ビット信号が供給されるタイミングに応じて前記テストラッチ信号を供給することを特徴とする請求項1〜12のいずれかに記載のアナログデジタル変換回路。
The count signal is supplied from the counter to the test latch signal supply unit via a bit signal selection unit,
The bit signal selection unit selects the bit signal to be supplied to the test latch signal supply unit from among the plurality of bit signals included in the count signal,
The test latch signal supply unit supplies the test latch signal according to a timing at which the bit signal selected by the bit signal selection unit is supplied. Analog-digital conversion circuit.
前記テストラッチ信号供給部に、前記カウンタから供給される前記カウント信号の代わりに、前記カウント信号が含む複数の前記ビット信号の少なくとも一部の前記ビット信号に相当するテスト信号が供給され、
前記テスト信号の信号レベルが変化したタイミングに応じて、前記テストラッチ信号を複数の前記メモリに供給することを特徴とする請求項1〜10のいずれかに記載のアナログデジタル変換回路。
Instead of the count signal supplied from the counter, a test signal corresponding to at least a part of the bit signals included in the count signal is supplied to the test latch signal supply unit,
11. The analog-to-digital conversion circuit according to claim 1, wherein the test latch signal is supplied to the plurality of memories in accordance with a timing at which a signal level of the test signal changes.
前記カウント信号伝送線の遅延特性と、前記テストラッチ信号供給部から複数の前記メモリに前記テストラッチ信号を伝送する伝送線の遅延特性とが同じであることを特徴とする請求項1〜14のいずれかに記載のアナログデジタル変換回路。   15. The delay characteristic of the count signal transmission line is the same as the delay characteristic of the transmission line that transmits the test latch signal from the test latch signal supply unit to the plurality of memories. Any one of the analog-digital conversion circuits. 前記テストラッチ信号供給部が、複数の前記メモリのすべてに前記テストラッチ信号を供給することを特徴とする請求項1〜15のいずれかに記載のアナログデジタル変換回路。   The analog / digital conversion circuit according to claim 1, wherein the test latch signal supply unit supplies the test latch signal to all of the plurality of memories. 前記信号比較部が、
前記テストラッチ信号が供給された前記メモリが保持した前記デジタル信号の信号値と、前記カウント信号が前記カウンタから前記メモリに遅滞なく供給される場合において前記テストラッチ信号を供給するタイミングに前記メモリが保持する前記デジタル信号の信号値を含む所定の信号範囲と、を比較することを特徴とする請求項1〜16のいずれかに記載のアナログデジタル変換回路。
The signal comparison unit is
The memory receives the signal value of the digital signal held by the memory to which the test latch signal is supplied and the timing at which the test latch signal is supplied when the count signal is supplied from the counter to the memory without delay. The analog-to-digital conversion circuit according to claim 1, wherein a predetermined signal range including a signal value of the digital signal to be held is compared.
前記信号比較部が、前記テストラッチ信号が供給された前記メモリが保持した前記デジタル信号の信号値と、前記カウント信号が前記カウンタから前記メモリに遅滞なく供給される場合において前記テストラッチ信号を供給するタイミングに前記メモリが保持する前記デジタル信号の信号値とを比較して信号値のずれを検出し、
さらに、前記信号値のずれが所定の信号範囲内にあるか否か判定することを特徴とする請求項1〜16のいずれかに記載のアナログデジタル変換回路。
The signal comparison unit supplies the test latch signal when the signal value of the digital signal held by the memory to which the test latch signal is supplied and the count signal is supplied from the counter to the memory without delay. Comparing the signal value of the digital signal held by the memory at a timing to detect a signal value shift,
The analog-to-digital conversion circuit according to claim 1, wherein it is determined whether or not the deviation of the signal value is within a predetermined signal range.
請求項1〜18のいずれかに記載のアナログデジタル変換回路を有する撮像装置であって、
前記撮像装置はさらに、光電変換により電荷が生じる光電変換部を含む複数列の画素を有し、
複数列の前記画素の各列に、複数の前記比較器の各々が接続されていることを特徴とする撮像装置。
An imaging apparatus comprising the analog-digital conversion circuit according to claim 1,
The imaging apparatus further includes a plurality of columns of pixels including a photoelectric conversion unit that generates a charge by photoelectric conversion,
An imaging apparatus, wherein each of the plurality of comparators is connected to each column of the plurality of columns of pixels.
光電変換により電荷が生じる光電変換部を含む複数列の画素と、アナログデジタル変換回路と、を有する撮像装置であって、
前記アナログデジタル変換回路は、
デジタル信号を保持するメモリと、アナログ信号と時間とともに変化する参照信号とを比較した比較結果を示す比較結果信号を前記メモリに供給する比較器と、をそれぞれ含む複数の回路部と、
クロックパルス信号を前記参照信号の変化と並行して計数して、複数のビット信号を有するカウント信号を生成し、前記カウント信号を出力するカウンタと、
前記カウント信号を複数の前記メモリに供給する複数のカウント信号伝送線と、
を有し、対応する前記比較器の比較結果信号が変化した時に前記メモリが前記カウント信号を前記デジタル信号として保持することで前記アナログ信号を前記デジタル信号に変換するアナログデジタル変換回路であって、
複数列の前記画素の各列に、複数の前記比較器の各々が接続され、
前記撮像装置は検査モードで動作し、
前記撮像装置は、テストラッチ信号供給部と、信号比較部と、をさらに有し、
前記検査モードにおいて、
前記比較器は前記比較結果信号の前記メモリへの供給を行わず、
前記カウンタはさらに前記テストラッチ信号供給部に前記カウント信号を供給し、
前記テストラッチ信号供給部は、前記カウント信号を複数の前記メモリに保持させるテストラッチ信号を、複数の前記ビット信号のうち、いずれかの前記ビット信号の信号レベルが変化したタイミングに応じて、複数の前記メモリに供給し、
前記信号比較部に、複数の前記メモリが保持した前記カウント信号が供給され、
前記テストラッチ信号が供給された前記メモリが保持した前記デジタル信号の信号値と、前記カウント信号が前記カウンタから前記メモリに遅滞なく供給される場合において前記テストラッチ信号を供給するタイミングに前記メモリが保持する前記デジタル信号の信号値と、を比較することによって、前記カウント信号伝送線の検査を行うことを特徴とする撮像装置。
An imaging device having a plurality of columns of pixels including a photoelectric conversion unit that generates electric charge by photoelectric conversion, and an analog-digital conversion circuit,
The analog-digital conversion circuit is:
A plurality of circuit units each including a memory that holds a digital signal, and a comparator that supplies a comparison result signal indicating a comparison result of comparing an analog signal and a reference signal that changes with time, to the memory;
A counter that counts a clock pulse signal in parallel with a change in the reference signal, generates a count signal having a plurality of bit signals, and outputs the count signal;
A plurality of count signal transmission lines for supplying the count signal to the plurality of memories;
An analog-to-digital conversion circuit that converts the analog signal into the digital signal by holding the count signal as the digital signal when the comparison result signal of the corresponding comparator changes.
Each of the plurality of comparators is connected to each column of the plurality of columns of pixels,
The imaging device operates in an inspection mode;
The imaging apparatus further includes a test latch signal supply unit and a signal comparison unit,
In the inspection mode,
The comparator does not supply the comparison result signal to the memory;
The counter further supplies the count signal to the test latch signal supply unit,
The test latch signal supply unit includes a plurality of test latch signals for holding the count signal in the plurality of memories according to a timing at which a signal level of any one of the plurality of bit signals changes. Of the memory,
The count signal held by a plurality of the memories is supplied to the signal comparison unit,
The memory receives the signal value of the digital signal held by the memory to which the test latch signal is supplied and the timing at which the test latch signal is supplied when the count signal is supplied from the counter to the memory without delay. An image pickup apparatus, wherein the count signal transmission line is inspected by comparing a signal value of the digital signal to be held.
複数のメモリと、
カウント信号伝送線と、
クロックパルス信号を計数した、複数のビット信号を有するカウント信号を、前記カウント信号伝送線を介して複数の前記メモリに供給するカウンタと、
を有するアナログデジタル変換回路の検査方法であって、
前記カウント信号を複数の前記メモリに保持させるテストラッチ信号を、複数の前記ビット信号のうち、いずれかの前記ビット信号の信号レベルが変化したタイミングに応じて複数の前記メモリに供給し、
前記テストラッチ信号が供給された前記メモリが保持した前記カウント信号の信号値と、前記カウント信号が前記カウンタから前記メモリに遅滞なく供給される場合において前記テストラッチ信号を供給するタイミングに前記メモリが保持する前記カウント信号の信号値とを比較することによって、前記カウント信号伝送線の検査を行うことを特徴とするアナログデジタル変換回路の検査方法。
Multiple memories,
A count signal transmission line;
A counter for counting a clock pulse signal, and supplying a count signal having a plurality of bit signals to the plurality of memories via the count signal transmission line;
An analog-digital conversion circuit inspection method having
A test latch signal for holding the count signal in the plurality of memories is supplied to the plurality of memories according to the timing at which the signal level of any one of the bit signals changes,
The memory receives the signal value of the count signal held by the memory to which the test latch signal has been supplied and the timing at which the test latch signal is supplied when the count signal is supplied from the counter to the memory without delay. An inspection method for an analog-digital conversion circuit, wherein the count signal transmission line is inspected by comparing with a signal value of the count signal to be held.
前記カウント信号のビット数がaビットであり、前記メモリが保持する前記デジタル信号が前記aビットより小さいbビットであり、
前記テストラッチ信号が供給された前記メモリが保持した前記デジタル信号と、前記カウント信号が前記カウンタから前記メモリに遅滞なく供給される場合において前記テストラッチ信号を供給するタイミングに前記メモリが保持する前記デジタル信号の信号値との比較を前記bビットの同じ桁同士で行うことを特徴とする請求項21に記載のアナログデジタル変換回路の検査方法。
The number of bits of the count signal is a bit, and the digital signal held by the memory is b bits smaller than the a bits,
The digital signal held by the memory to which the test latch signal is supplied, and the memory held by the memory at a timing when the test latch signal is supplied when the count signal is supplied from the counter to the memory without delay. The method for inspecting an analog-to-digital conversion circuit according to claim 21, wherein a comparison with a signal value of a digital signal is performed between the same digits of the b bits.
複数の前記ビット信号のいずれかの前記ビット信号の信号レベルが変化したタイミングが前記カウンタの動作する期間内に複数回あり、
複数の前記ビット信号のいずれかの前記ビット信号の信号レベルが変化したタイミングのそれぞれに応じてパルス信号の生成動作を行い、
生成した複数の前記パルス信号のうちの1つを前記テストラッチ信号として供給することを特徴とする請求項21または22に記載のアナログデジタル変換回路の検査方法。
The timing at which the signal level of any one of the plurality of bit signals has changed is a plurality of times within the period in which the counter operates,
A pulse signal generation operation is performed according to each of the timings when the signal level of the bit signal of any of the plurality of bit signals has changed,
23. The analog-digital conversion circuit inspection method according to claim 21, wherein one of the generated plurality of pulse signals is supplied as the test latch signal.
複数の前記ビット信号のいずれかの前記ビット信号の信号レベルが変化したタイミングに対し、前記クロックパルス信号のパルス周期の整数倍の時間遅延して信号レベルが変化するパルス信号を、遅延時間を変えて複数生成し、
複数の前記パルス信号のうちの1つを選択して前記テストラッチ信号として供給することを特徴とする請求項21〜23のいずれかに記載のアナログデジタル変換回路の検査方法。
Change the delay time of a pulse signal whose signal level changes by delaying a time that is an integral multiple of the pulse period of the clock pulse signal with respect to the timing at which the signal level of any one of the plurality of bit signals changes. To generate multiple
24. The inspection method for an analog-digital conversion circuit according to claim 21, wherein one of the plurality of pulse signals is selected and supplied as the test latch signal.
前記カウント信号の代わりに、前記カウント信号を遅延させた信号を複数の前記メモリに供給し、
前記カウント信号が変化したタイミングから前記テストラッチ信号が供給されるまでの遅延時間と、複数の前記メモリに供給される前記信号と前記カウント信号との遅延時間とを等しくすることを特徴とする請求項21〜24のいずれかに記載のアナログデジタル変換回路の検査方法。
Instead of the count signal, a signal obtained by delaying the count signal is supplied to the plurality of memories,
The delay time from the timing when the count signal is changed until the test latch signal is supplied is made equal to the delay time between the signal supplied to the plurality of memories and the count signal. Item 25. A method for inspecting an analog-digital conversion circuit according to any one of Items 21 to 24.
前記カウント信号が有する複数の前記ビット信号のいずれかの前記ビット信号を選択し、
選択された前記ビット信号の信号レベルが変化したタイミングに応じて前記テストラッチ信号を供給することを特徴とする請求項21〜25のいずれかに記載のアナログデジタル変換回路の検査方法。
Selecting any one of the plurality of bit signals included in the count signal;
26. The test method for an analog-digital conversion circuit according to claim 21, wherein the test latch signal is supplied in accordance with a timing at which a signal level of the selected bit signal is changed.
撮像装置と、前記撮像装置から出力される撮像信号を処理する撮像信号処理部とを含む撮像システムの製造方法であって、
前記撮像装置はアナログデジタル変換回路と画素部とを含み、
前記アナログデジタル変換回路は、
複数のメモリと、時間とともに変化する参照信号とアナログ信号とを比較した比較結果を示す信号である比較結果信号を前記メモリに供給する比較器と、と含む複数の回路部と、カウント信号伝送線と、
クロックパルス信号を計数した、複数のビット信号を有するカウント信号を、前記カウント信号伝送線を介して複数の前記メモリに供給するカウンタと、
を有し、
前記画素部は、光電変換により電荷が生じる光電変換部を含む複数列の画素を有し、
前記撮像装置は、複数列の前記画素の各列に前記回路部が設けられており、前記画素は前記アナログ信号である画素信号を前記比較器に出力し、
前記製造方法は、請求項21〜26のいずれかに記載のアナログデジタル変換回路の検査方法を有することを特徴とする撮像システムの製造方法。
An imaging system manufacturing method including an imaging device and an imaging signal processing unit that processes an imaging signal output from the imaging device,
The imaging device includes an analog-digital conversion circuit and a pixel unit,
The analog-digital conversion circuit is:
A plurality of memory units, a comparator for supplying a comparison result signal, which is a signal indicating a comparison result obtained by comparing a reference signal that changes with time and an analog signal, to the memory; a plurality of circuit units; and a count signal transmission line When,
A counter for counting a clock pulse signal, and supplying a count signal having a plurality of bit signals to the plurality of memories via the count signal transmission line;
Have
The pixel unit includes a plurality of columns of pixels including a photoelectric conversion unit that generates charge by photoelectric conversion.
In the imaging device, the circuit unit is provided in each column of the pixels in a plurality of columns, and the pixel outputs a pixel signal that is the analog signal to the comparator,
27. A method for manufacturing an imaging system, comprising the method for inspecting an analog-digital conversion circuit according to claim 21.
JP2011201864A 2011-09-15 2011-09-15 ANALOG / DIGITAL CONVERSION CIRCUIT, IMAGING DEVICE, ANALOG / DIGITAL CONVERSION CIRCUIT INSPECTION METHOD Expired - Fee Related JP5854725B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011201864A JP5854725B2 (en) 2011-09-15 2011-09-15 ANALOG / DIGITAL CONVERSION CIRCUIT, IMAGING DEVICE, ANALOG / DIGITAL CONVERSION CIRCUIT INSPECTION METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011201864A JP5854725B2 (en) 2011-09-15 2011-09-15 ANALOG / DIGITAL CONVERSION CIRCUIT, IMAGING DEVICE, ANALOG / DIGITAL CONVERSION CIRCUIT INSPECTION METHOD

Publications (3)

Publication Number Publication Date
JP2013065924A true JP2013065924A (en) 2013-04-11
JP2013065924A5 JP2013065924A5 (en) 2014-10-30
JP5854725B2 JP5854725B2 (en) 2016-02-09

Family

ID=48189062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011201864A Expired - Fee Related JP5854725B2 (en) 2011-09-15 2011-09-15 ANALOG / DIGITAL CONVERSION CIRCUIT, IMAGING DEVICE, ANALOG / DIGITAL CONVERSION CIRCUIT INSPECTION METHOD

Country Status (1)

Country Link
JP (1) JP5854725B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015154339A (en) * 2014-02-17 2015-08-24 キヤノン株式会社 Solid-state image pickup device and imaging system
JP2016005147A (en) * 2014-06-17 2016-01-12 キヤノン株式会社 Driving method of analog-digital conversion circuit, analog-digital conversion circuit, imaging device, imaging system, inspection method of analog-digital conversion circuit

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005323331A (en) * 2004-02-23 2005-11-17 Sony Corp AD conversion method, AD converter, semiconductor device for detecting physical quantity distribution, and electronic apparatus
JP2008270433A (en) * 2007-04-18 2008-11-06 Sony Corp Data transfer circuit, solid-state imaging device, and camera system
JP2011015365A (en) * 2009-07-06 2011-01-20 Panasonic Corp Solid-state image capturing device, and driving method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005323331A (en) * 2004-02-23 2005-11-17 Sony Corp AD conversion method, AD converter, semiconductor device for detecting physical quantity distribution, and electronic apparatus
JP2008270433A (en) * 2007-04-18 2008-11-06 Sony Corp Data transfer circuit, solid-state imaging device, and camera system
JP2011015365A (en) * 2009-07-06 2011-01-20 Panasonic Corp Solid-state image capturing device, and driving method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015154339A (en) * 2014-02-17 2015-08-24 キヤノン株式会社 Solid-state image pickup device and imaging system
JP2016005147A (en) * 2014-06-17 2016-01-12 キヤノン株式会社 Driving method of analog-digital conversion circuit, analog-digital conversion circuit, imaging device, imaging system, inspection method of analog-digital conversion circuit
US9906748B2 (en) 2014-06-17 2018-02-27 Canon Kabushiki Kaisha Analog-digital conversion circuit drive method, analog-digital conversion circuit, imaging device, imaging system, and analog-digital conversion circuit inspection method

Also Published As

Publication number Publication date
JP5854725B2 (en) 2016-02-09

Similar Documents

Publication Publication Date Title
JP6406888B2 (en) Analog-digital conversion circuit driving method, analog-digital conversion circuit, imaging apparatus, imaging system, analog-digital conversion circuit inspection method
US9332202B2 (en) Solid-state imaging apparatus and imaging system
JP5901212B2 (en) Photoelectric conversion system
US8872089B2 (en) Solid-state imaging device
TWI555402B (en) Image processing system for wafer test mode of row analog digital converter (ADC)
JP5734121B2 (en) Solid-state imaging device
KR100340052B1 (en) Image sensor
JPH11331883A (en) CMOS image sensor having self-diagnosis logic and diagnostic method therefor
US9083368B2 (en) Image sensor using offset code for counting
JP6579744B2 (en) Imaging device, imaging system, driving method of imaging device, and inspection method of imaging device
US20120033097A1 (en) Counter circuit, analog-to-digital converter (adc) including a counter circuit, image sensor including counter circuit and/or adc, systems associated therewith, and method associated therewith
US20160173796A1 (en) Solid-state imaging apparatus, imaging system and method for driving solid-state imaging apparatus
TW200904164A (en) Data transfer circuit, solid-state imaging device, and camera system
US10574919B2 (en) High-speed and low-power analog-to-digital converter and CMOS image sensor using the same
US20170339359A1 (en) Analog-to-digital converter and operating method thereof
US8325252B2 (en) Solid-state imaging device and data processing device
JP5980377B2 (en) ANALOG / DIGITAL CONVERSION CIRCUIT, ANALOG / DIGITAL CONVERSION INSPECTION METHOD, IMAGING DEVICE, IMAGING SYSTEM HAVING IMAGING DEVICE, IMAGING DEVICE INSPECTION METHOD
CN101287063B (en) Solid-state image pickup apparatus and method for driving solid-state image pickup apparatus
JP2010281695A (en) Semiconductor integrated circuit
JP5854725B2 (en) ANALOG / DIGITAL CONVERSION CIRCUIT, IMAGING DEVICE, ANALOG / DIGITAL CONVERSION CIRCUIT INSPECTION METHOD
US8406370B2 (en) Counter circuit and solid-state imaging device
KR102617441B1 (en) Analog-digital converting apparatus and operating method
JP5749579B2 (en) AD conversion circuit and solid-state imaging device
US9210349B2 (en) A/D conversion circuit and solid-state imaging device
CN111970466B (en) Image Sensor

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140916

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150420

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150512

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150625

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151208

R151 Written notification of patent or utility model registration

Ref document number: 5854725

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees