JP4999955B2 - Analog-to-digital converter operation test method, analog-to-digital converter, and analog-to-digital converter operation test apparatus - Google Patents
Analog-to-digital converter operation test method, analog-to-digital converter, and analog-to-digital converter operation test apparatus Download PDFInfo
- Publication number
- JP4999955B2 JP4999955B2 JP2010091633A JP2010091633A JP4999955B2 JP 4999955 B2 JP4999955 B2 JP 4999955B2 JP 2010091633 A JP2010091633 A JP 2010091633A JP 2010091633 A JP2010091633 A JP 2010091633A JP 4999955 B2 JP4999955 B2 JP 4999955B2
- Authority
- JP
- Japan
- Prior art keywords
- input
- analog
- test
- signal
- circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Tests Of Electronic Circuits (AREA)
- Analogue/Digital Conversion (AREA)
Description
本発明は、アナログ−デジタル変換器の動作試験方法、アナログ−デジタル変換器およびアナログ−デジタル変換器の動作試験装置に関し、特に冗長アルゴリズムを使用する逐次比較型アナログ−デジタル変換器の動作試験に関する。 The present invention relates to an operation test method for an analog-to-digital converter, an analog-to-digital converter, and an operation test apparatus for the analog-to-digital converter, and more particularly to an operation test of a successive approximation type analog-to-digital converter using a redundancy algorithm.
マイクロコンピュータやシステムLSIに搭載するアナログ−デジタル変換器(ADC)は、小型化および高精度化の観点から逐次比較型が多く用いられている。 As an analog-digital converter (ADC) mounted on a microcomputer or system LSI, a successive approximation type is often used from the viewpoint of miniaturization and high accuracy.
図1は、従来の逐次比較型ADCの構成例を示すブロック図である。また、図2は、逐次比較型ADCにおける変換動作を説明する図である。 FIG. 1 is a block diagram illustrating a configuration example of a conventional successive approximation ADC. FIG. 2 is a diagram for explaining the conversion operation in the successive approximation ADC.
図1に示すように、従来の逐次比較型ADCは、比較器12と、逐次比較制御回路13と、DA変換器(デジタル−アナログ変換器)14と、を備える。入力アナログ信号SAは、例えば、サンプルホールド回路11で一旦保持され、入力信号Vinとして比較器12に入力される。
As shown in FIG. 1, the conventional successive approximation ADC includes a
図2に示すように、逐次比較型ADCは、nビット(ここでは5ビット)の分解能を備え、フルスケール電圧がVFSであるとする。1ステップ目に、逐次比較制御回路13は、1ビット目(b1)のビット値が“1”で、2ビット目以降(b2〜bn)のビット値が“0”であるデジタル信号を出力し、DA変換器14はこのデジタル信号に対応した電圧の参照アナログ信号Vrを発生して出力する。1ステップ目の参照アナログ信号Vrの電圧は、VFS/2である。比較器12は、入力信号Vinの電圧を参照アナログ信号Vrの電圧と比較し、比較結果を出力する。逐次比較制御回路13は、比較結果に基づいて、1ビット目(b1)のビット値を決定する。例えば、VinがVrより大きければb1を“1”に、VinがVrより小さければb1を“0”に決定する。
As shown in FIG. 2, it is assumed that the successive approximation ADC has a resolution of n bits (here, 5 bits) and the full-scale voltage is VFS. In the first step, the successive
2ステップ目に、逐次比較制御回路13は、b1が1ステップ目に決定した値で、2ビット目(b2)のビット値が“1”で、3ビット目以降(b3〜bn)のビット値が“0”であるデジタル信号を出力し、DA変換器14はこのデジタル信号に対応した参照アナログ信号Vrを発生して出力する。比較器12は、入力信号Vinを参照アナログ信号Vrと比較し、比較結果を出力する。逐次比較制御回路13は、比較結果に基づいて、2ビット目(b2)のビット値を決定する。以下、VrがVinに近づくように3ビット目以降のビット値を順次決定し、nビット目(ここでは5ビット目)のビット値が決定されると、VrがVinにもっとも近づいた状態になるので、デジタル信号をAD変換値として出力する。
In the second step, the successive
以上説明した参照アナログ信号Vrを変化させる幅を、前のステップで変化させた幅の1/2に減少させながらVrをVinに近づけるように変化させるアルゴリズムは、2進変換アルゴリズムと呼ばれる。2進変換アルゴリズムでは、nビットのAD変換値を、n回のステップで決定する。 The algorithm for changing Vr so as to approach Vin while reducing the width for changing the reference analog signal Vr described above to ½ of the width changed in the previous step is called a binary conversion algorithm. In the binary conversion algorithm, an n-bit AD conversion value is determined in n steps.
近年、逐次比較型ADCでも高速化が要求されている。図1の逐次比較型ADCでは、DA変換器14の出力する参照アナログ信号Vrが十分に整定してから比較器12による比較を行わないと、判定に誤りが生じる恐れがあり、比較器12の判定が一度誤るとその修正は不可能であり、大きな変換誤差を生じる。そのため、精度を維持するには、DA変換器14の出力する参照アナログ信号Vrが十分に整定するように各ステップの時間を長くする必要があり、高速化が難しかった。
In recent years, higher speed is also required for successive approximation ADCs. In the successive approximation ADC of FIG. 1, if the comparison by the
このような問題を解決するため、nビットのAD変換値をM回のステップで決定する冗長変換アルゴリズムが提案されている。冗長変換アルゴリズムは、非2進変換アルゴリズムとも呼ばれる。 In order to solve such a problem, a redundant conversion algorithm for determining an n-bit AD conversion value in M steps has been proposed. The redundant conversion algorithm is also called a non-binary conversion algorithm.
図3は、冗長(非2進)変換アルゴリズムを使用する逐次比較型ADCにおける変換動作を説明する図である。この例は、nビット(ここでは5ビット)の分解能を備え、M回(ここでは6回)のステップで変換処理を行う。フルスケール電圧はVFSであるとする。1ステップ目に、逐次比較制御回路13は、1ビット目(b1)のビット値が“1”で、2ビット目以降(b2〜bn)のビット値が“0”であるデジタル信号を出力し、DA変換器14はこのデジタル信号に対応した電圧の参照アナログ信号Vrを発生して出力する。5ビットの場合、1ステップ目のデジタル信号値(初期値)は、“16”であり、参照アナログ信号Vrの電圧は、VFS/2である。比較器12は、入力信号Vinの電圧を参照アナログ信号Vrの電圧と比較し、比較結果を出力する。逐次比較制御回路13は、1ステップ目の比較結果を記憶する。
FIG. 3 is a diagram for explaining a conversion operation in a successive approximation ADC using a redundant (non-binary) conversion algorithm. This example has a resolution of n bits (here, 5 bits) and performs the conversion process in M steps (here, 6 times). Assume that the full-scale voltage is VFS. In the first step, the successive
2ステップ目に、逐次比較制御回路13は、初期値(“16”)に、1ステップ目の判定結果に応じて“7”を加算または減算したデジタル信号を出力し、DA変換器14はこのデジタル信号に対応した参照アナログ信号Vrを発生して出力する。したがって、2ステップ目のデジタル信号値は、“9”または“23”である。比較器12は、入力信号Vinを参照アナログ信号Vrと比較し、比較結果を出力する。逐次比較制御回路13は、2ステップ目の比較結果を記憶する。
In the second step, the successive
以下、3ステップ目以降、加減算する値を、“5”、“3”、“2”、“1”に変化させながら上記の処理を繰り返す。6ステップ目の処理が終了すると、初期値“16”に対して、“7”、 “5”、“3”、“2”、“1”、“0.5”を、各ステップの比較結果に応じて加減算し、最後に“0.5”を減算すると、AD変換値が求まる。例えば、図3に示すように、入力信号Vinの信号レベルが“21.5”であるとすると、比較結果は、1ステップ目から6ステップ目まで、正、負、正、正、負、負であり、16+7−5+3+2−1−0.5−0.5=21となる。 Thereafter, after the third step, the above processing is repeated while changing the value to be added / subtracted to “5”, “3”, “2”, “1”. When the sixth step is completed, “7”, “5”, “3”, “2”, “1”, “0.5” are compared with the initial value “16”. The AD conversion value is obtained by adding / subtracting according to the above and finally subtracting “0.5”. For example, as shown in FIG. 3, when the signal level of the input signal Vin is “21.5”, the comparison result is positive, negative, positive, positive, negative, negative from the first step to the sixth step. 16 + 7−5 + 3 + 2-1−0.5−0.5 = 21.
図3に示すように、初期値“16”で、“7”、 “5”、“3”、“2”、“1”、“0.5”の重みを使用すると、信号レベルは−3から+34まで表せるが、信号レベルの範囲は“0”から“31”の範囲であり、それ以外の範囲は誤変換であると判断される。 As shown in FIG. 3, when the initial value is “16” and the weights “7”, “5”, “3”, “2”, “1”, “0.5” are used, the signal level is −3. To +34, but the signal level range is “0” to “31”, and the other ranges are determined to be erroneous conversions.
図4は、冗長変換アルゴリズムを使用する逐次比較型ADCの概略構成を示す図である。図4に示すように、冗長変換アルゴリズムを使用する逐次比較型ADCは、図1に示した従来の逐次比較型ADCと類似の構成を有するが、逐次比較制御回路13の構成が異なる。また、図1では図示を省略したが、図4ではタイミング発生回路31を図示している。タイミング発生回路31は、ADC内の各部の動作を制御するタイミング信号を発生すると共に、サンプルホールド回路11のサンプリング信号などを発生する。図4では、タイミング発生回路31は、サンプリング信号および逐次比較制御回路13に供給するタイミング信号のみを出力するように示したが、例えば、比較器12もタイミング信号(クロック)に応じて動作する型式のものが使用されるのが一般的である。さらに、DAC14が電荷共有型DACである場合、容量の接続を切り換えるためのタイミング信号はタイミング発生回路31から供給される。
FIG. 4 is a diagram showing a schematic configuration of a successive approximation ADC using a redundant conversion algorithm. As shown in FIG. 4, the successive approximation ADC using the redundant conversion algorithm has a configuration similar to that of the conventional successive approximation ADC shown in FIG. 1, but the configuration of the successive
逐次比較制御回路13は、ROM21と、加算器22と、減算器23と、マルチプレクサ(MUX)24と、レジスタ(Reg)25と、を有する。ROM21は、1ステップ目のVrに対応する初期値、2ステップ目以降のVrを生成するために加減算する重み値を記憶し、タイミング発生回路31からのステップを示す信号に応じて、対応する値を出力する。加算器22は、Reg25に保持された前のステップのデジタル値に、ROM21の出力する値を加算して出力する。減算器23は、Reg25に保持された前のステップのデジタル値から、ROM21の出力する値を減算して出力する。MUX24は、比較器12の比較結果に応じて、加算器22の出力と減算器23の出力の一方を選択して、DAC14およびReg25に出力する。DAC14は、MUX24の出力するデジタル信号値に応じたVrを生成する。Reg25は、MUX24の出力するデジタル信号値を保持する。最終ステップが終了した時点のMUX24の出力がAD変換値Doutになる。
The successive
変換動作開始時には、Reg25の値はゼロにリセットされ、1ステップ目では、加算器22は初期値を出力し、MUX24が加算器22の出力を選択する。これに応じてDAC14がVrを生成すると共に、Reg25が初期値を記憶する。1ステップ目の比較動作中に、ROM21は2ステップ目の重み値を出力し、MUX24が1ステップ目の比較結果に応じて加算器22の出力と減算器23の出力の一方を選択して出力する。以下、同様の動作がM回のステップ繰り返される。
At the start of the conversion operation, the value of Reg25 is reset to zero, and in the first step, the
図5は、逐次比較型ADCにおいて、2ステップ目から3ステップ目に変化する時のDAC14の出力Vrの変化を説明する図である。2ステップ目の比較動作が行われる時、DAC14は、2ステップ目のVrを出力しており、正しい比較を行うにはVrが安定していることが必要である。2ステップ目の比較動作が終了した直後に、MUX24が2ステップ目の比較結果に応じて加算器22の出力と減算器23の出力の一方を選択して出力する。DAC14は、MUX24の出力をデコードした後、DAC内の接続を切り換えて出力Vrを変化させる。この処理は、MUX24の出力をデコードするのに要するデコード時間と、DACの出力Vrが安定するまでのDAC整定時間と、を要する。DAC整定時間は、ラダー抵抗を使用したDACであれば増幅器のスルーレートなどに関係し、電荷共有型DACであれば、容量と抵抗などにより決定される電荷の移動時間などに関係する。前のステップほどDACの出力Vrの変化量が大きいため、DAC整定時間は、1ステップ目が長く、徐々に短くなる。以下、同様の動作を繰り返す。
FIG. 5 is a diagram for explaining a change in the output Vr of the
非特許文献1および2は、サイクル時間を短くし、DA変換器の出力の整定が不十分な状態で比較を行うことに起因する整定誤差を、冗長アルゴリズムを適用することで許容する方式を提案している。この方式では、2進アルゴリズムよりステップ数が多くなるが、サイクル時間が短くなるので、全体としては高速化することができる。
非特許文献3は、DA変換器を使用したSAR ADCにおける冗長アルゴリズムについて記載している。
冗長アルゴリズム(非2進アルゴリズム)を使用したAD変換器が提案されているが、その試験方法については特に提案されておらず、2進アルゴリズムを使用したAD変換器と同様の試験方法が適用されると考えられる。すなわち、AD変換器への入力信号の電圧を、入力範囲にわたって最小レベルずつ変化させ、各レベルの入力信号電圧に対するAD変換が正しい値であるかを検出する。通常は、このような試験を、電圧、温度などの動作環境を変えて行い、すべての条件で正しいAD変換値が得られることを確認する。 An AD converter using a redundant algorithm (non-binary algorithm) has been proposed, but the test method is not particularly proposed, and the same test method as that for an AD converter using a binary algorithm is applied. It is thought. That is, the voltage of the input signal to the AD converter is changed by the minimum level over the input range, and it is detected whether the AD conversion for the input signal voltage at each level is a correct value. Usually, such a test is performed while changing the operating environment such as voltage and temperature, and it is confirmed that correct AD conversion values can be obtained under all conditions.
AD変換値は、複数のステップの一連の判定結果列により決定されるが、冗長アルゴリズムによれば、同一のAD変換値が、異なる複数の一連の判定結果列により得られる場合が存在する。冗長アルゴリズムを使用したAD変換器の動作試験を行う場合、異なる複数の一連の判定結果列のすべての列の動作を試験することが望ましい。 The AD conversion value is determined by a series of determination result sequences of a plurality of steps. However, according to the redundancy algorithm, the same AD conversion value may be obtained by a plurality of different series of determination result sequences. When performing an operation test of an AD converter using a redundancy algorithm, it is desirable to test the operation of all columns of a series of different determination result sequences.
しかし、上記の試験では、異なる複数の一連の判定結果列のうちの1つの列の動作を試験するのみである。上記のように動作環境を変えて試験した場合、異なる列の動作を試験する場合も生じると考えられるが、異なる複数の一連の判定結果列のうちのどの列の動作を試験したかは分からない。 However, in the above test, only the operation of one column among a plurality of different judgment result sequences is tested. When testing with different operating environments as described above, it may be possible to test the operation of different columns, but it is not known which column of a plurality of different judgment result sequences was tested. .
図5に示すDAC整定時間は、電圧、温度などにより変動する。そのため、DACの出力Vrが十分に整定した時に比較が行われるならば正しい比較が行われるが、DACの出力Vrが十分に整定する前に比較が行われた場合、比較結果に誤りが発生することが起こり得る。しかし、冗長アルゴリズムを使用したAD変換器の場合、途中の比較結果に誤りが発生した場合でも正しいAD変換値が得られる場合があり、そのような場合途中で比較結果に誤りが発生しことを知ることはできない。このように、冗長アルゴリズムを使用することにより、正しいAD変換値を得ることができるが、異なる複数の一連の判定結果列のうちのどの列の動作が行われたかはわからない。 The DAC settling time shown in FIG. 5 varies with voltage, temperature, and the like. For this reason, if the comparison is performed when the DAC output Vr is sufficiently settled, a correct comparison is performed. However, if the comparison is performed before the DAC output Vr is sufficiently settled, an error occurs in the comparison result. Can happen. However, in the case of an AD converter using a redundant algorithm, a correct AD conversion value may be obtained even if an error occurs in the comparison result in the middle. In such a case, an error occurs in the comparison result in the middle. I can't know. As described above, by using the redundancy algorithm, a correct AD conversion value can be obtained, but it is not known which column of a plurality of different judgment result columns has been operated.
集積回路の内部動作を試験する手法として、スキャン回路が知られている。スキャン回路は、回路内に各部の状態をラッチまたは設定するフリップフロップ(FF)を設け、FFがラッチした状態を外部に出力する信号経路を設け、回路を所定の状態に設定した上で動作させ、ラッチした動作状態を外部に出力する回路である。スキャン回路により、回路内の動作状態を調べることが可能になる。スキャン回路のFFとして回路内のFFを利用する場合もある。冗長アルゴリズムを使用したAD変換器にスキャン回路を設ければ、回路内の動作状態を調べて、異なる複数の一連の判定結果列のうちのどの列の動作が行われたかを知ることが可能である。 A scan circuit is known as a method for testing the internal operation of an integrated circuit. The scan circuit is provided with a flip-flop (FF) that latches or sets the state of each part in the circuit, a signal path that outputs the state latched by the FF to the outside, and operates after setting the circuit to a predetermined state. This is a circuit for outputting the latched operation state to the outside. The scan circuit makes it possible to check the operation state in the circuit. The FF in the circuit may be used as the FF of the scan circuit. If an AD converter using a redundancy algorithm is provided with a scan circuit, it is possible to check the operation state in the circuit and know which column of a plurality of different judgment result sequences has been operated. is there.
しかし、冗長アルゴリズムを使用したAD変換器にスキャン回路を設ける場合、レジスタ25の各ビットの値をラッチする多数のFFごとに入出力を切り換えるMUXを設け、それらの間に配線を設ける必要があり、回路規模が大きくなるという問題が発生する。
逐次比較型ADCは、小チップ面積および低消費電力であることが望まれており、実際にはスキャン回路を設けることはできない。
However, when a scan circuit is provided in an AD converter using a redundancy algorithm, it is necessary to provide a MUX that switches input / output for each of many FFs that latch the value of each bit of the
The successive approximation ADC is desired to have a small chip area and low power consumption, and in reality, a scan circuit cannot be provided.
本発明は、冗長アルゴリズムを使用したAD変換器で、簡単な回路を付加するだけで、異なる複数の一連の判定結果列のうちのすべての列の動作を試験できるようにすることを目的とする。 An object of the present invention is to enable an AD converter using a redundancy algorithm to test the operation of all of a plurality of different judgment result sequences by simply adding a simple circuit. .
上記問題を解決するため、本発明の逐次比較型アナログ−デジタル変換器(ADC)は、ADCの動作中に、所定のステップで逐次比較制御回路に入力する比較器の判定結果を反転して誤判定動作を発生させた後、さらに動作を続行させる。このため、ADCは、逐次比較制御回路に、比較器の判定結果を入力するかまたは記判定結果の反転を入力するかを切り換える判定結果入力回路を有する。 In order to solve the above problem, the successive approximation analog-digital converter (ADC) of the present invention inverts the judgment result of the comparator input to the successive approximation control circuit in a predetermined step during the operation of the ADC. After the determination operation is generated, the operation is further continued. For this reason, the ADC has a determination result input circuit that switches whether the determination result of the comparator or the inversion of the determination result is input to the successive approximation control circuit.
すなわち、本発明のアナログ−デジタル変換器の動作試験方法は、nビットデジタル信号に応じて参照アナログ信号を出力するデジタル−アナログ変換器と、入力アナログ信号を参照アナログ信号と比較する比較器と、比較器の比較結果に基づいて参照アナログ信号が入力アナログ信号に近づくように、nビットデジタル信号の値をM(n<M)回のステップで変化させる逐次比較制御回路と、を有し、逐次比較制御回路は、nビットデジタル信号の値を冗長変換アルゴリズムに従って変化させるアナログ−デジタル変換器の動作試験方法であって、入力アナログ信号として所定の電圧信号を入力してアナログ−デジタル変換器を動作させ、動作中に、所定のステップで、逐次比較制御回路に入力する比較器の判定結果を反転して誤判定動作が発生するように制御し、アナログ−デジタル変換器による所定の電圧信号の変換結果を取得し、取得した変換結果を、所定の電圧信号に対応するデジタル値と比較して、比較結果に基づいて正常動作か否かを判定する。 That is, an analog-digital converter operation test method according to the present invention includes a digital-analog converter that outputs a reference analog signal according to an n-bit digital signal, a comparator that compares an input analog signal with a reference analog signal, A successive approximation control circuit that changes the value of the n-bit digital signal in M (n <M) steps so that the reference analog signal approaches the input analog signal based on the comparison result of the comparator, The comparison control circuit is an operation test method for an analog-to-digital converter that changes the value of an n-bit digital signal according to a redundancy conversion algorithm, and operates the analog-to-digital converter by inputting a predetermined voltage signal as an input analog signal. During the operation, the judgment result of the comparator input to the successive approximation control circuit is inverted at a predetermined step, and an erroneous judgment operation is performed. Control to generate, acquire the conversion result of the predetermined voltage signal by the analog-digital converter, compare the acquired conversion result with the digital value corresponding to the predetermined voltage signal, and normalize based on the comparison result It is determined whether or not the operation.
また、本発明のアナログ−デジタル変換器は、nビットデジタル信号に応じて参照アナログ信号を出力するデジタル−アナログ変換器と、入力アナログ信号を参照アナログ信号と比較する比較器と、比較器の比較結果に基づいて参照アナログ信号が入力アナログ信号に近づくように、nビットデジタル信号の値をM(n<M)回のステップで変化させる逐次比較制御回路と、を有し、逐次比較制御回路は、nビットデジタル信号の値を冗長変換アルゴリズムに従って変化させるアナログ−デジタル変換器であって、逐次比較制御回路に、比較器の判定結果を入力するかまたは判定結果の反転を入力するかを切り換える判定結果入力回路を有する。 The analog-to-digital converter of the present invention includes a digital-to-analog converter that outputs a reference analog signal according to an n-bit digital signal, a comparator that compares an input analog signal with a reference analog signal, and a comparison of the comparators. A successive approximation control circuit that changes the value of the n-bit digital signal in M (n <M) steps so that the reference analog signal approaches the input analog signal based on the result. , An analog-to-digital converter that changes the value of an n-bit digital signal in accordance with a redundancy conversion algorithm, and a determination to switch whether to input a determination result of the comparator or an inversion of the determination result to the successive approximation control circuit It has a result input circuit.
冗長アルゴリズムにより補正可能な入力信号のレベルと誤りが発生するステップの関係は、冗長アルゴリズムに応じて定められるので、補正可能な条件で逐次比較制御回路に入力する比較器の判定結果を反転して誤判定動作を発生する。 The relationship between the level of the input signal that can be corrected by the redundancy algorithm and the step in which the error occurs is determined according to the redundancy algorithm. Therefore, the judgment result of the comparator input to the successive approximation control circuit is inverted under correctable conditions. An erroneous determination operation occurs.
また、通常動作を行わせて、逐次比較制御回路に入力する比較器の判定結果を反転して誤判定動作を発生するステップまで状態を変化させることも可能であるが、より確実に状態を変化させるには、所定のステップまで、逐次比較制御回路に入力する比較器の判定結果を制御してADCを所定の状態にした後、比較器の判定結果を反転することが望ましい。そのため、判定結果入力回路は、逐次比較制御回路に任意の判定結果を入力するように切り換え可能であるようにすることが望ましい。 In addition, it is possible to change the state up to the step where normal operation is performed and the determination result of the comparator input to the successive approximation control circuit is inverted to generate an erroneous determination operation. In order to achieve this, it is desirable to reverse the determination result of the comparator after controlling the determination result of the comparator input to the successive approximation control circuit until the ADC is in a predetermined state until a predetermined step. Therefore, it is desirable that the determination result input circuit can be switched to input an arbitrary determination result to the successive approximation control circuit.
本発明のADCを試験する試験回路は、試験用デジタル信号に応じて定められる比較器の判定結果の反転を入力する反転ステップの関係を記憶する記憶回路と、入力アナログ信号として入力する、試験用デジタル信号に対応する電圧信号を発生させる入力電圧発生回路と、記憶回路に記憶された試験用デジタル信号と反転ステップの関係を読み出し、試験用デジタル信号を入力電圧発生回路に出力すると共に、反転ステップになると、逐次比較制御回路に比較器の判定結果の反転が入力されるように判定結果入力回路を制御する試験制御回路と、アナログ−デジタル変換器が変換値として出力するM回のステップで決定したnビットデジタル信号の値が、試験用デジタル信号の値と一致するかを判定する判定回路と、を有する。試験回路は、ADCの試験装置 (ATE:Automatic Test Equipment)として使用することも可能であるが、ADCが搭載されるSOC(System On-Chop)内のDSPコアなどにより実現することも、ADCの一部として実現することも可能である。 The test circuit for testing the ADC of the present invention has a memory circuit for storing the relationship of the inversion step for inputting the inversion of the determination result of the comparator determined according to the test digital signal, and the test circuit for inputting as an input analog signal An input voltage generation circuit for generating a voltage signal corresponding to the digital signal, a relationship between the test digital signal stored in the storage circuit and the inversion step is read, and the test digital signal is output to the input voltage generation circuit, and the inversion step Then, the test control circuit that controls the determination result input circuit so that the inversion of the determination result of the comparator is input to the successive approximation control circuit, and the M number of steps that the analog-digital converter outputs as the conversion value And a determination circuit that determines whether the value of the n-bit digital signal matches the value of the test digital signal. The test circuit can be used as an ADC test equipment (ATE: Automatic Test Equipment), but it can also be realized by a DSP core in an SOC (System On-Chop) in which the ADC is installed. It can also be realized as a part.
上記のように、判定結果入力回路が逐次比較制御回路に任意の判定結果を入力するように切り換え可能であるように構成して、所定のステップまで、逐次比較制御回路に入力する比較器の判定結果を制御してADCを所定の状態にした後、比較器の判定結果を反転する場合には、記憶回路は、反転ステップを実行する所定状態にするのに必要な反転ステップ以前の判定情報を記憶する。 As described above, the judgment result input circuit can be switched to input an arbitrary judgment result to the successive approximation control circuit, and the judgment of the comparator to be inputted to the successive approximation control circuit until a predetermined step. When the ADC is inverted after the ADC is controlled in a predetermined state after the control of the result, the memory circuit stores the determination information before the inversion step necessary for the predetermined state for executing the inversion step. Remember.
ADCは、通常動作モードと、試験モードと、を有し、判定結果入力回路は、通常動作モード時には、逐次比較制御回路に、前記比較器の判定結果を入力する状態を維持し、試験モード時には、指定された入力を行うようにする。 The ADC has a normal operation mode and a test mode. The determination result input circuit maintains a state in which the determination result of the comparator is input to the successive approximation control circuit in the normal operation mode, and in the test mode. , Make the specified input.
本発明のADCは、従来のADCに、判定結果入力回路として2対1または4対1の選択回路(マルチプレクサ)を追加するだけであり、回路構成が簡単である。 The ADC of the present invention has a simple circuit configuration by adding a 2-to-1 or 4-to-1 selection circuit (multiplexer) as a determination result input circuit to the conventional ADC.
本発明によれば、冗長アルゴリズムを使用したAD変換器の試験が容易になり、試験時間および試験コストを低減できる。 ADVANTAGE OF THE INVENTION According to this invention, the test of AD converter which uses a redundancy algorithm becomes easy, and it can reduce test time and test cost.
図6は、実施形態の冗長アルゴリズムを使用する逐次比較型アナログ−デジタル変換器(ADC)の構成を示す図である。 FIG. 6 is a diagram illustrating a configuration of a successive approximation analog-to-digital converter (ADC) that uses the redundancy algorithm of the embodiment.
図6に示すように、実施形態のADCは、比較器12の比較結果をMUX24に入力する部分に2ビット(4対1選択)のマルチプレクサ(MUX)41が設けられていることと、試験回路50が設けられていることが、図4に示した従来例と異なり、他の部分は同じである。試験回路50は、ADCの試験装置(ATE:Automatic Test Equipment)として使用することも可能であるが、ADCが搭載されるSOC(System On-Chop)内のDSPコアなどにより実現することも可能である。また、ADCの回路規模が大きくなることが許容される場合には、ADCの一部として実現することも可能である。以下の説明では、試験回路50は、ATEとして実現されるものとして説明する。
As shown in FIG. 6, the ADC of the embodiment is provided with a 2-bit (4-to-1 selection) multiplexer (MUX) 41 in a portion for inputting the comparison result of the
マルチプレクサ(MUX)41は、4つの入力を有し、それぞれに、入力比較器12の出力信号(比較結果)、入力比較器12の出力をインバータ42で反転した信号(反転比較結果)、“0”および“1”が入力され、試験回路50からの2ビットの選択信号SELに応じて、4つの入力の1つを選択して出力する。MUX41の出力が、比較結果としてMUX24に入力される。ここでは、SEL=0で入力比較器12の出力信号(比較結果)が、SEL=1で入力比較器12の出力をインバータ42で反転した信号(反転比較結果)が、SEL=2で“0”が、SEL=3で“1”がそれぞれ選択される。
The multiplexer (MUX) 41 has four inputs, and each outputs an output signal (comparison result) of the
試験回路50は、通常のADCで従来行っていたAD変換器への入力信号の電圧を、入力範囲にわたって最小レベルずつ変化させ、各レベルの入力信号電圧に対するAD変換が正しい値であるかを検出する試験を実行する機能を有しているものとする。したがって、いかに説明する回路要素は、従来の機能を実現するための回路要素を利用して実現することも可能である。 The test circuit 50 changes the voltage of the input signal to the AD converter, which is conventionally performed by a normal ADC, by a minimum level over the input range, and detects whether the AD conversion for each level of the input signal voltage is a correct value. It shall have a function to execute the test to be performed. Therefore, the circuit element described below can be realized by using a circuit element for realizing a conventional function.
また、以下に説明する冗長アルゴリズムを使用することによる異なる複数の一連の判定結果列の動作試験は、上記の通常の試験で良品と判定されたものについて行うことが望ましい。 In addition, it is desirable to perform an operation test of a plurality of different series of determination result sequences by using a redundancy algorithm described below for those determined as non-defective products in the above-described normal test.
試験回路50は、ROM51と、試験制御回路52と、DAC53と、一致検出回路54と、を有する。ROM51は、後述する試験用デジタル信号に応じて定められる比較器の判定結果の反転を入力する反転ステップの関係および反転ステップを実行する所定状態にするのに必要な反転ステップ以前の判定情報を記憶する。DAC53は、ADCに入力アナログ信号SAとして入力する、試験用デジタル信号に対応する電圧信号を発生させる。試験制御回路52は、ROM51に記憶された試験用デジタル信号と反転ステップの関係を読み出し、試験用デジタル信号をDAC53に出力すると共に、反転ステップになるまで、MUX41を、反転ステップ以前の判定情報にしたがって制御してADCを所定状態にした後、逐次比較制御回路13に比較器12の判定結果の反転が入力されるように制御する。一致検出回路54は、ADCが変換値として出力するM回のステップで決定したnビットデジタル信号の値が、試験用デジタル信号の値(整数値)と一致するかを判定する。この判定が一致すれば、ADCは良品であり、不一致なら不良品であると判定される。
The test circuit 50 includes a
図7は、試験動作を示すフローチャートであり、(A)が実施形態の試験動作を、(B)が変形例の試験動作を示す。 FIG. 7 is a flowchart showing the test operation, where (A) shows the test operation of the embodiment, and (B) shows the test operation of the modification.
図7の(A)に示すように、kステップ目で逐次比較制御回路13に比較器12の判定結果の反転が入力されるようにする場合、まずk−1ステップ目までは、反転ステップ以前の判定情報にしたがってSEL=2または3に設定して、ADCを所望の状態にする。次に、kステップ目で、SEL=1に設定して、誤った比較結果をMUX24に入力し、ADCで誤判定に応じた動作を発生させる。k+1ステップ目以降は、SEL=0に設定して、正常の比較結果をMUX24に入力し、ADCにAD変換処理を実行させる。
As shown in FIG. 7A, when the inversion of the determination result of the
図7の(A)の例では、ADCを所望の状態にした後、ADCで誤判定を発生させたが、通常動作を行わせてもkステップ目に所望の状態になっていると考えられる場合も存在する。その場合には、図7の(B)に示すように、k−1ステップ目までは、SEL=0に設定して、ADCに通常動作をさせて所望の状態にする。次に、kステップ目で、SEL=1に設定して、誤った比較結果をMUX24に入力し、ADCで誤判定に応じた動作を発生させる。k+1ステップ目以降は、SEL=0に設定して、正常の比較結果をMUX24に入力し、ADCにAD変換処理を実行させる。図7の(B)の試験動作であれば、マルチプレクサ(MUX)41は、2つの入力を有し、それぞれに、比較器12の出力信号(比較結果)および比較器12の出力をインバータ42で反転した信号(反転比較結果)が入力され、試験回路50からの1ビットの選択信号SELに応じて、2つの入力の1つを選択して出力するように構成すればよい。
In the example of FIG. 7A, after the ADC is set to a desired state, an erroneous determination is generated by the ADC. However, even if normal operation is performed, it is considered that the k state is in the desired state. There are cases. In that case, as shown in FIG. 7B, until the k-1th step, SEL = 0 is set, and the ADC is normally operated to obtain a desired state. Next, at step k, SEL = 1 is set, an incorrect comparison result is input to the
次に、冗長アルゴリズムを使用することによる異なる複数の一連の判定結果列の列数、すなわち試験する冗長コード数について説明する。 Next, the number of columns of a plurality of different judgment result sequences by using the redundancy algorithm, that is, the number of redundant codes to be tested will be described.
nビットをM(n<M)回のステップで決定する冗長(非2進)アルゴリズムの場合、2M通りのコードがあり、すべて正しいパターンが2N通りある。したがって、誤差補正パターンは2M−2N通りある。 For a redundant (non-binary) algorithm that determines n bits in M (n <M) steps, there are 2 M codes, all with 2 N correct patterns. Therefore, there are 2 M −2 N error correction patterns.
各ステップで試験するコード数は、次のように表される。 The number of codes tested at each step is expressed as follows:
kステップ目の誤判定補正コード数(後ステップでの判定はすべて正しい)
=(比較値の場合の数)×(正解1を0と誤判定、正解0を1と誤判定の2通り)×(誤差許容範囲)
=2k−1×2×qk
次に、ADCで誤判定を発生させる状態の決定方法について説明する。
Number of erroneous determination correction codes at the k-th step (all determinations in the subsequent steps are correct)
= (Number in case of comparison value) × (Two types of
= 2 k-1 × 2 × q k
Next, a method of determining a state that causes an erroneous determination in the ADC will be described.
kステップ目の比較値Vref(k)は、次の式で表される。 The k-th step comparison value Vref (k) is expressed by the following equation.
ここで、pk:kステップ目のDACの重み値、qk:kステップ目の誤差許容範囲、d(k):kステップ目の比較器の比較結果(「高」:d(k)=1、「低」:d(k)=0)である。 Here, p k : weight value of DAC at k step, q k : error tolerance range at k step, d (k): comparison result of comparator at k step (“high”: d (k) = 1, “low”: d (k) = 0).
kステップ目では、前の比較結果に応じて2k−1パターンの比較結果列がある。 In the k-th step, there is a 2 k-1 pattern comparison result sequence according to the previous comparison result.
kステップ目の誤判定補正試験の場合、次の入力信号Vinを入力する。 In the case of the k-th misjudgment correction test, the next input signal Vin is input.
Vref(k)−qk≦Vin≦Vref(k)+qk
これを比較結果列の全パターンについて試験する。
Vref (k) -q k ≦ Vin ≦ Vref (k) + q k
This is tested for all patterns in the comparison result sequence.
以下、具体的な例を説明する。 A specific example will be described below.
まず、n=4,M=5の4ビット5ステップの冗長(非2進)アルゴリズムの場合を説明する。 First, a case of a 4-bit 5-step redundancy (non-binary) algorithm with n = 4 and M = 5 will be described.
図8は、4ビット5ステップの冗長(非2進)アルゴリズムのDACの重み値の例と誤差許容範囲qを示す図である。ステップ(STEP)1では初期値“8”が使用され、ステップ2以降の重み値は、“3”、“2”、“1”、“1”である。また、ステップ1〜5の誤差許容範囲qは、2、1、1、0、0である。したがって、ステップ4および5については試験を行わない。
FIG. 8 is a diagram illustrating an example of a DAC weight value and an error tolerance range q in a 4-bit 5-step redundancy (non-binary) algorithm. In step (STEP) 1, the initial value “8” is used, and the weight values after
図9の(A)は、ステップ1での、試験の対象となる前の比較結果列と、デジタル信号値(比較値)と、試験信号(試験用デジタル信号)の入力範囲(比較値±qk)と、を示す。ステップ1なので、前の比較結果列は存在せず、比較値は“8”で、入力範囲は6〜10(レベル)、すなわち6.5、7.5、8.5、9.5である。
(A) of FIG. 9 is an input range (comparison value ± q) of the comparison result string, digital signal value (comparison value), and test signal (digital signal for test) before the test target in
図9の(B)は、試験信号として入力する上記の信号の電圧Vin1〜Vin4を示す。 (B) of FIG. 9 shows the voltages Vin1 to Vin4 of the above signals input as test signals.
図10は、電圧Vin1〜Vin4を入力し、ステップ1で比較結果を反転させた場合の比較結果列を示す。
FIG. 10 shows a comparison result string when the voltages Vin1 to Vin4 are input and the comparison result is inverted in
図10の(A)に示すように、電圧Vin1(9.5)を入力してステップ1で比較結果を反転させた場合、AD変換値は(8−3+2+1+1+0.5−0.5=)“9”となり、正しいAD変換値が得られる。
As shown in FIG. 10A, when the voltage Vin1 (9.5) is input and the comparison result is inverted in
図10の(B)に示すように、電圧Vin2(8.5)を入力してステップ1で比較結果を反転させた場合、AD変換値は(8−3+2+1+1−0.5−0.5=)“8”となり、正しいAD変換値が得られる。
As shown in FIG. 10B, when the voltage Vin2 (8.5) is input and the comparison result is inverted in
図10の(C)に示すように、電圧Vin3(7.5)を入力してステップ1で比較結果を反転させた場合、AD変換値は(8+3−2−1−1+0.5−0.5=)“7”となり、正しいAD変換値が得られる。
As shown in FIG. 10C, when the voltage Vin3 (7.5) is input and the comparison result is inverted in
図10の(D)に示すように、電圧Vin2(6.5)を入力してステップ1で比較結果を反転させた場合、AD変換値は(8+3−2−1−1−0.5−0.5=)“6”となり、正しいAD変換値が得られる。
As shown in FIG. 10D, when the voltage Vin2 (6.5) is input and the comparison result is inverted in
図11の(A)は、ステップ2での、試験の対象となる前の比較結果列と、デジタル信号値(比較値)と、試験信号(試験用デジタル信号)の入力範囲(比較値±qk)と、を示す。前の比較結果列は、ステップ1の比較結果が“1”と“0”の2つである。比較結果が“1”の場合、比較値は(8+3=)“11”で、入力範囲は10〜12、すなわち10.5、11.5である。比較結果が“0”の場合、比較値は(8−3=)“5”で、入力範囲は4〜6、すなわち4.5、5.5である。
(A) of FIG. 11 is an input range (comparison value ± q) of the comparison result string, digital signal value (comparison value), and test signal (digital signal for test) before
図11の(B)は、試験信号として入力する上記の信号の電圧Vin1〜Vin4を示す。 (B) of FIG. 11 shows the voltages Vin1 to Vin4 of the above signals input as test signals.
図12は、電圧Vin1〜Vin4を入力し、ステップ2で比較結果を反転させた場合の比較結果列を示す。
FIG. 12 shows a comparison result string when the voltages Vin1 to Vin4 are input and the comparison result is inverted in
図12の(A)に示すように、電圧Vin1(11.5)を入力してステップ2で比較結果を反転させた場合、AD変換値は(8+3−2+1+1+0.5−0.5=)“11”となり、正しいAD変換値が得られる。
As shown in FIG. 12A, when the voltage Vin1 (11.5) is input and the comparison result is inverted in
図12の(B)に示すように、電圧Vin2(10.5)を入力してステップ2で比較結果を反転させた場合、AD変換値は(8+3+2−1−1−0.5−0.5=)“10”となり、正しいAD変換値が得られる。
As shown in FIG. 12B, when the voltage Vin2 (10.5) is input and the comparison result is inverted in
図12の(C)に示すように、電圧Vin3(5.5)を入力してステップ2で比較結果を反転させた場合、AD変換値は(8−3−2+1+1+0.5−0.5=)“5”となり、正しいAD変換値が得られる。
As shown in FIG. 12C, when the voltage Vin3 (5.5) is input and the comparison result is inverted in
図12の(D)に示すように、電圧Vin2(4.5)を入力してステップ2で比較結果を反転させた場合、AD変換値は(8−3+2−1−1−0.5−0.5=)“4”となり、正しいAD変換値が得られる。
As shown in FIG. 12D, when the voltage Vin2 (4.5) is input and the comparison result is inverted in
図13の(A)は、ステップ3での、試験の対象となる前の比較結果列と、デジタル信号値(比較値)と、試験信号(試験用デジタル信号)の入力範囲(比較値±qk)と、を示す。前の比較結果列は、ステップ1および2の比較結果が“11”、“10”、“01”および“00”の4つである。比較結果が“11”の場合、比較値は(8+3+2=)“13”で、入力範囲は12〜14、すなわち12.5、13.5である。比較結果が “10”の場合、比較値は(8+3−2=)“9”で、入力範囲は8〜10、すなわち8.5、9.5である。比較結果が “01”の場合、比較値は(8−3+2=)“7”で、入力範囲は6〜8、すなわち6.5、7.5である。比較結果が “00”の場合、比較値は(8−3−2=)“3”で、入力範囲は2〜4、すなわち2.5、3.5である。
FIG. 13A shows an input range (comparison value ± q) of the comparison result sequence, digital signal value (comparison value), and test signal (digital signal for test) before the test in
図13の(B)は、試験信号として入力する上記の信号の電圧Vin1〜Vin8を示す。 (B) of FIG. 13 shows the voltages Vin1 to Vin8 of the above-mentioned signals input as test signals.
図14および図15は、電圧Vin1〜Vin8を入力し、ステップ3で比較結果を反転させた場合の比較結果列を示す。
14 and 15 show a comparison result string when the voltages Vin1 to Vin8 are input and the comparison result is inverted in
図14の(A)に示すように、電圧Vin1(13.5)を入力してステップ3で比較結果を反転させた場合、AD変換値は(8+3+2−1+1+0.5−0.5=)“13”となり、正しいAD変換値が得られる。
As shown in FIG. 14A, when the voltage Vin1 (13.5) is input and the comparison result is inverted in
図14の(B)に示すように、電圧Vin2(12.5)を入力してステップ3で比較結果を反転させた場合、AD変換値は(8+3+2+1−1−0.5−0.5=)“12”となり、正しいAD変換値が得られる。
As shown in FIG. 14B, when the voltage Vin2 (12.5) is input and the comparison result is inverted in
図14の(C)に示すように、電圧Vin3(9.5)を入力してステップ3で比較結果を反転させた場合、AD変換値は(8+3−2−1+1+0.5−0.5=)“9”となり、正しいAD変換値が得られる。
As shown in FIG. 14C, when the voltage Vin3 (9.5) is input and the comparison result is inverted in
図14の(D)に示すように、電圧Vin4(8.5)を入力してステップ3で比較結果を反転させた場合、AD変換値は(8+3−2+1−1−0.5−0.5=)“8”となり、正しいAD変換値が得られる。
As shown in FIG. 14D, when the voltage Vin4 (8.5) is input and the comparison result is inverted in
図15の(A)に示すように、電圧Vin5(7.5)を入力してステップ3で比較結果を反転させた場合、AD変換値は(8−3+2−1+1+0.5−0.5=)“7”となり、正しいAD変換値が得られる。
As shown in FIG. 15A, when the voltage Vin5 (7.5) is input and the comparison result is inverted in
図15の(B)に示すように、電圧Vin6(6.5)を入力してステップ3で比較結果を反転させた場合、AD変換値は(8−3+2+1−1−0.5−0.5=)“6”となり、正しいAD変換値が得られる。
As shown in FIG. 15B, when the voltage Vin6 (6.5) is input and the comparison result is inverted in
図15の(C)に示すように、電圧Vin7(3.5)を入力してステップ3で比較結果を反転させた場合、AD変換値は(8−3−2−1+1+0.5−0.5=)“3”となり、正しいAD変換値が得られる。
As shown in FIG. 15C, when the voltage Vin7 (3.5) is input and the comparison result is inverted in
図15の(D)に示すように、電圧Vin8(2.5)を入力してステップ3で比較結果を反転させた場合、AD変換値は(8−3−2+1−1−0.5−0.5=)“2”となり、正しいAD変換値が得られる。
As shown in FIG. 15D, when the voltage Vin8 (2.5) is input and the comparison result is inverted in
したがって、ROM51は、ステップ1で比較結果を反転させる場合として図9の(A)に示した前の比較結果列および試験信号のレベル(4セット)を、ステップ2で比較結果を反転させる場合として図11の(A)に示した前の比較結果列および試験信号のレベル(2+2=4セット)を、ステップ3で比較結果を反転させる場合として図13の(A)に示した前の比較結果列および試験信号のレベル(4×2=8セット)を、記憶する。
Therefore, the
試験制御回路52は、ROM51から、これらのデータを読み出して必要な設定および制御を行う。例えば、ステップ3で比較結果を反転させる場合で、前の比較結果列が“10”、試験信号のレベルが“9.5”のデータを読み出した場合には、DAC53に“9.5”を入力し、一致検出回路54に“9”(9.5の整数値)を設定する。そして、タイミング発生回路31からの信号に応じて、ステップ1ではSEL=3に、ステップ2ではSEL=2に設定して、DAC14の比較値が“9”になった状態で、ステップ3でSEL=1にしてステップ3で比較結果を反転させる。その後、SEL=0にしてステップ4および5を実行する。
The
以上のようにして、4ビット5ステップの冗長(非2進)アルゴリズムを使用する逐次比較型ADCの、16の誤差補正パターンのすべてについての動作を試験できる。 As described above, the operation of all the 16 error correction patterns of the successive approximation type ADC using the 4-bit 5-step redundancy (non-binary) algorithm can be tested.
次に、n=4,M=6の4ビット6ステップの冗長(非2進)アルゴリズムの場合を説明する。 Next, the case of a 4-bit 6-step redundancy (non-binary) algorithm with n = 4 and M = 6 will be described.
図16は、4ビット6ステップの冗長(非2進)アルゴリズムのDACの重み値の例と誤差許容範囲qを示す図である。ステップ(STEP)1では初期値“8”が使用され、ステップ2以降の重み値は、“2”、“2”、“1”、“1” 、“1”である。また、ステップ1〜5の誤差許容範囲qは、4、2、2、1、0、0である。
FIG. 16 is a diagram illustrating an example of a DAC weight value of the 4-bit 6-step redundant (non-binary) algorithm and an allowable error range q. In step (STEP) 1, the initial value “8” is used, and the weight values after
図17の(A)は、ステップ1での、試験の対象となる前の比較結果列と、デジタル信号値(比較値)と、試験信号(試験用デジタル信号)の入力範囲(比較値±qk)と、を示す。前の比較結果列は存在せず、比較値は“8”で、入力範囲は4〜12である。
(A) of FIG. 17 is an input range (comparison value ± q) of the comparison result string, digital signal value (comparison value), and test signal (digital signal for test) before
図17の(B)は、試験信号として入力する上記の信号の電圧Vin1〜Vin48示す。 FIG. 17B shows the voltages Vin1 to Vin48 of the above-mentioned signal input as a test signal.
図18および図19は、電圧Vin1〜Vin8を入力し、ステップ1で比較結果を反転させた場合の比較結果列を示す。4ビット5ステップの場合と同様であるから詳しい説明は省略する。
18 and 19 show comparison result strings when the voltages Vin1 to Vin8 are input and the comparison results are inverted in
以下、ステップ2で比較結果を反転させる場合の比較結果列を図20から図22に、ステップ3で比較結果を反転させる場合の比較結果列を図23から図27に、ステップ4で比較結果を反転させる場合の比較結果列を図28から図33に示し、説明は省略する。
The comparison result sequence when the comparison result is inverted in
以上、本発明の実施形態を説明したが、説明した以外にも各種の変形例が可能であるのはいうまでもない。例えば、実施形態では、逐次比較制御回路13は重み値をROM21に記憶したが、逐次比較制御回路13をワイヤードロジック回路などで構成し、ROMを使用しないようにすることも可能である。
Although the embodiments of the present invention have been described above, it goes without saying that various modifications other than those described are possible. For example, in the embodiment, the successive
また、本発明は、冗長(非2進)アルゴリズムを使用する逐次比較型ADCであれば、どのようなものにも適用可能である。 In addition, the present invention can be applied to any successive approximation ADC that uses a redundant (non-binary) algorithm.
本発明は、冗長(非2進)アルゴリズムを使用する逐次比較型AD変換回路およびその試験装置などに利用される。 The present invention is used in a successive approximation AD conversion circuit using a redundant (non-binary) algorithm, a test apparatus thereof, and the like.
11 サンプルホールド回路
12 比較器
13 逐次比較制御回路
14 DA変換器
21 ROM(記憶回路)
22 加算器
23 減算器
24 マルチプレクサ
25 レジスタ
31 タイミング発生回路
41 判定結果入力回路(MUX)
50 試験回路
51 ROM
52 試験制御回路
53 DAC
54 一致検出回路
11
22
50
52
54 Match detection circuit
Claims (10)
前記入力アナログ信号として所定の電圧信号を入力して前記アナログ−デジタル変換器を動作させ、
前記動作中に、所定の前記ステップで、前記逐次比較制御回路に入力する前記比較器の判定結果を反転して誤判定動作が発生するように制御し、
前記アナログ−デジタル変換器による前記所定の電圧信号の変換結果を取得し、
取得した前記変換結果を、前記所定の電圧信号に対応するデジタル値と比較して、比較結果に基づいて正常動作か否かを判定することを特徴とするアナログ−デジタル変換器の動作試験方法。 a digital-analog converter that outputs a reference analog signal in response to an n-bit digital signal; a comparator that compares an input analog signal with the reference analog signal; and the reference analog signal based on a comparison result of the comparator A successive approximation control circuit that changes the value of the n-bit digital signal in M (n <M) steps so as to approach the input analog signal, and the successive approximation control circuit includes: An analog-to-digital converter operation test method for changing a value according to a redundant conversion algorithm,
A predetermined voltage signal is input as the input analog signal to operate the analog-digital converter,
During the operation, in a predetermined step, the determination result of the comparator input to the successive approximation control circuit is inverted and control is performed so that an erroneous determination operation occurs.
Obtaining a conversion result of the predetermined voltage signal by the analog-digital converter;
A method for testing an operation of an analog-to-digital converter, wherein the obtained conversion result is compared with a digital value corresponding to the predetermined voltage signal to determine whether or not the operation is normal based on the comparison result.
入力アナログ信号を前記参照アナログ信号と比較する比較器と、
前記比較器の比較結果に基づいて前記参照アナログ信号が前記入力アナログ信号に近づくように、前記nビットデジタル信号の値をM(n<M)回のステップで変化させる逐次比較制御回路と、を備え、
前記逐次比較制御回路は、前記nビットデジタル信号の値を冗長変換アルゴリズムに従って変化させるアナログ−デジタル変換器であって、
前記逐次比較制御回路に、前記比較器の判定結果を入力するかまたは前記判定結果の反転を入力するかを切り換える判定結果入力回路を備えることを特徴とするアナログ−デジタル変換器。 a digital-to-analog converter that outputs a reference analog signal in response to an n-bit digital signal;
A comparator for comparing an input analog signal with the reference analog signal;
A successive approximation control circuit that changes the value of the n-bit digital signal in M (n <M) steps so that the reference analog signal approaches the input analog signal based on the comparison result of the comparator; Prepared,
The successive approximation control circuit is an analog-to-digital converter that changes the value of the n-bit digital signal according to a redundancy conversion algorithm,
An analog-digital converter comprising a determination result input circuit for switching whether to input a determination result of the comparator or an inversion of the determination result to the successive approximation control circuit.
前記入力アナログ信号として入力する、前記試験用デジタル信号に対応する電圧信号を発生させる入力電圧発生回路と、
前記記憶回路に記憶された前記試験用デジタル信号と反転ステップの関係を読み出し、前記試験用デジタル信号を前記入力電圧発生回路に出力すると共に、前記反転ステップになると、前記逐次比較制御回路に前記比較器の判定結果の反転が入力されるように前記判定結果入力回路を制御する試験制御回路と、
当該アナログ−デジタル変換器が変換値として出力するM回のステップで決定した前記nビットデジタル信号の値が、前記試験用デジタル信号の値と一致するかを判定する判定回路と、を備える請求項4に記載のアナログ−デジタル変換器。 A storage circuit for storing a relationship of an inversion step for inputting an inversion of the determination result of the comparator determined in accordance with a test digital signal;
An input voltage generation circuit for generating a voltage signal corresponding to the test digital signal, which is input as the input analog signal;
The relationship between the test digital signal stored in the storage circuit and the inversion step is read out, and the test digital signal is output to the input voltage generation circuit. When the inversion step is reached, the comparison is performed in the successive approximation control circuit. A test control circuit for controlling the determination result input circuit so that the inversion of the determination result of the measuring instrument is input;
And a determination circuit configured to determine whether a value of the n-bit digital signal determined in M steps output by the analog-digital converter as a converted value matches a value of the test digital signal. 4. The analog-digital converter according to 4.
前記記憶回路は、反転ステップを実行する所定状態にするのに必要な前記反転ステップ以前の判定情報を記憶しており、
前記試験制御回路は、前記反転ステップになるまで、前記判定結果入力回路を、前記反転ステップ以前の判定情報にしたがって制御し、前記反転ステップを実行する時に当該アナログ−デジタル変換器を前記所定状態にする請求項6に記載のアナログ−デジタル変換器。 The determination result input circuit can be switched to input an arbitrary determination result to the successive approximation control circuit,
The storage circuit stores determination information before the inversion step necessary to set a predetermined state for executing the inversion step,
The test control circuit controls the determination result input circuit according to the determination information before the inversion step until the inversion step, and sets the analog-to-digital converter to the predetermined state when executing the inversion step. The analog-to-digital converter according to claim 6.
前記判定結果入力回路は、前記通常動作モード時には、前記逐次比較制御回路に、前記比較器の判定結果を入力する状態を維持する請求項4から7のいずれか1項に記載のアナログ−デジタル変換器。 The analog-digital converter includes a normal operation mode and a test mode,
The analog-to-digital conversion according to any one of claims 4 to 7, wherein the determination result input circuit maintains a state in which the determination result of the comparator is input to the successive approximation control circuit in the normal operation mode. vessel.
試験用デジタル信号に応じて定められる前記比較器の判定結果の反転を入力する反転ステップの関係を記憶する記憶回路と、
前記アナログ−デジタル変換器に前記入力アナログ信号として入力する、前記試験用デジタル信号に対応する電圧信号を発生させる入力電圧発生回路と、
前記記憶回路に記憶された前記試験用デジタル信号と反転ステップの関係を読み出し、前記試験用デジタル信号を前記入力電圧発生回路に出力すると共に、前記反転ステップになると、前記逐次比較制御回路に前記比較器の判定結果の反転が入力されるように前記判定結果入力回路を制御する試験制御回路と、
前記アナログ−デジタル変換器が変換値として出力するM回のステップで決定した前記nビットデジタル信号の値が、前記試験用デジタル信号の値と一致するかを判定する判定回路と、を備えるアナログ−デジタル変換器の動作試験装置。 The operation test apparatus for an analog-digital converter according to claim 4,
A storage circuit for storing a relationship of an inversion step for inputting an inversion of the determination result of the comparator determined in accordance with a test digital signal;
An input voltage generation circuit for generating a voltage signal corresponding to the test digital signal, which is input as the input analog signal to the analog-digital converter;
The relationship between the test digital signal stored in the storage circuit and the inversion step is read out, and the test digital signal is output to the input voltage generation circuit. When the inversion step is reached, the comparison is performed in the successive approximation control circuit. A test control circuit for controlling the determination result input circuit so that the inversion of the determination result of the measuring instrument is input;
A determination circuit for determining whether the value of the n-bit digital signal determined in M steps output by the analog-digital converter as a converted value matches the value of the test digital signal; Digital converter operation test equipment.
試験用デジタル信号に応じて定められる前記比較器の判定結果の反転を入力する反転ステップの関係および前記反転ステップを実行する所定状態にするのに必要な前記反転ステップ以前の判定情報を記憶する記憶回路と、
前記アナログ−デジタル変換器に前記入力アナログ信号として入力する、前記試験用デジタル信号に対応する電圧信号を発生させる入力電圧発生回路と、
前記記憶回路に記憶された前記試験用デジタル信号と反転ステップの関係を読み出し、前記試験用デジタル信号を前記入力電圧発生回路に出力すると共に、前記反転ステップになるまで、前記判定結果入力回路を、前記反転ステップ以前の判定情報にしたがって制御し、前記アナログ−デジタル変換器を前記所定状態にした後、前記逐次比較制御回路に前記比較器の判定結果の反転が入力されるように前記判定結果入力回路を制御する試験制御回路と、
前記アナログ−デジタル変換器が変換値として出力するM回のステップで決定した前記nビットデジタル信号の値が、前記試験用デジタル信号の値と一致するかを判定する判定回路と、を備えるアナログ−デジタル変換器の動作試験装置。 An operation test apparatus for an analog-digital converter according to claim 5,
A memory for storing the relation of the inversion step for inputting the inversion of the determination result of the comparator determined in accordance with the test digital signal and the determination information before the inversion step necessary to obtain a predetermined state for executing the inversion step. Circuit,
An input voltage generation circuit for generating a voltage signal corresponding to the test digital signal, which is input as the input analog signal to the analog-digital converter;
The relationship between the test digital signal stored in the storage circuit and the inversion step is read, the test digital signal is output to the input voltage generation circuit, and the determination result input circuit is changed to the inversion step. The determination result input is performed such that after the control is performed according to the determination information before the inversion step and the analog-digital converter is set to the predetermined state, the inversion of the determination result of the comparator is input to the successive approximation control circuit. A test control circuit for controlling the circuit;
A determination circuit for determining whether the value of the n-bit digital signal determined in M steps output by the analog-digital converter as a converted value matches the value of the test digital signal; Digital converter operation test equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010091633A JP4999955B2 (en) | 2010-04-12 | 2010-04-12 | Analog-to-digital converter operation test method, analog-to-digital converter, and analog-to-digital converter operation test apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010091633A JP4999955B2 (en) | 2010-04-12 | 2010-04-12 | Analog-to-digital converter operation test method, analog-to-digital converter, and analog-to-digital converter operation test apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011223404A JP2011223404A (en) | 2011-11-04 |
JP4999955B2 true JP4999955B2 (en) | 2012-08-15 |
Family
ID=45039758
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010091633A Expired - Fee Related JP4999955B2 (en) | 2010-04-12 | 2010-04-12 | Analog-to-digital converter operation test method, analog-to-digital converter, and analog-to-digital converter operation test apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4999955B2 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5965290B2 (en) * | 2012-10-31 | 2016-08-03 | ルネサスエレクトロニクス株式会社 | Analog / digital converter and self-diagnosis method of analog / digital converter |
EP3059867B1 (en) * | 2015-02-19 | 2020-07-08 | Stichting IMEC Nederland | Circuit and method for dac mismatch error detection and correction in an adc |
JP6750211B2 (en) | 2015-12-03 | 2020-09-02 | セイコーエプソン株式会社 | Circuit devices, oscillators, electronic devices and mobile units |
JP6736871B2 (en) | 2015-12-03 | 2020-08-05 | セイコーエプソン株式会社 | Circuit devices, oscillators, electronic devices and mobile units |
JP6784020B2 (en) | 2015-12-03 | 2020-11-11 | セイコーエプソン株式会社 | Circuits, oscillators, electronics and mobiles |
JP6834579B2 (en) | 2017-02-23 | 2021-02-24 | セイコーエプソン株式会社 | Manufacturing methods for circuit devices, oscillators, electronic devices, mobiles and circuit devices |
US11463098B2 (en) * | 2020-07-02 | 2022-10-04 | Stmicroelectronics International N.V. | Method and device for testing successive approximation register analog-to-digital converters |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4333075A (en) * | 1980-03-27 | 1982-06-01 | The Bendix Corporation | An analog-to-digital converter accurate relative to the value of the input signal |
JPH0253325A (en) * | 1988-08-18 | 1990-02-22 | Yokogawa Electric Corp | Ad converter test instrument |
JP2000269812A (en) * | 1999-01-13 | 2000-09-29 | Nec Corp | A/d converting device |
JP4011377B2 (en) * | 2002-03-22 | 2007-11-21 | 株式会社ルネサステクノロジ | A / D conversion circuit |
-
2010
- 2010-04-12 JP JP2010091633A patent/JP4999955B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011223404A (en) | 2011-11-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4999955B2 (en) | Analog-to-digital converter operation test method, analog-to-digital converter, and analog-to-digital converter operation test apparatus | |
TWI509997B (en) | Data conversion circuitry and method therefor | |
US8872691B1 (en) | Metastability detection and correction in analog to digital converter | |
US8416105B2 (en) | ADC calibration apparatus | |
US9071261B2 (en) | Accuracy enhancement techniques for ADCs | |
JP4153026B2 (en) | AD converter and AD conversion method | |
US7924205B2 (en) | Successive approximation type analog/digital converter and operation method of successive approximation type analog/digital converter | |
US20130176154A1 (en) | Off-line gain calibration in a time-interleaved analog-to-digital converter | |
CN102970038B (en) | Approximation analog-to-digital converter for correcting capacitance mismatch and method thereof | |
US20120262316A1 (en) | Method to reduce voltage swing at comparator input of successive-approximations-register analog-to-digital converters | |
US9496885B2 (en) | Analog-to-digital conversion circuit | |
JP2009118488A (en) | DA converter and AD converter | |
JP2014107674A (en) | Analog-digital converter | |
JP2010519810A (en) | Analog-to-digital converter | |
JP2016192612A (en) | Semiconductor device and analog-digital conversion circuit calibration method | |
US11888494B2 (en) | Semiconductor integrated circuit | |
Lin et al. | Transition-code based linearity test method for pipelined ADCs with digital error correction | |
JP4841664B2 (en) | Analog-to-digital converter | |
US20060114140A1 (en) | Two step flash analog to digital converter | |
US7324027B2 (en) | Circuit and method for testing analog-digital converter | |
JP3265286B2 (en) | A / D converter test equipment | |
US12028088B2 (en) | Analogue-to-digital converter circuitry | |
TWI665875B (en) | Digital background calibration circuit | |
JP3591730B2 (en) | A / D converter | |
Ogawa et al. | Fast testing of linearity and comparator error tolerance of SAR ADCs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120323 |
|
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: 20120417 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120515 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150525 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |