JPH0691466B2 - A / D converter - Google Patents

A / D converter

Info

Publication number
JPH0691466B2
JPH0691466B2 JP60171023A JP17102385A JPH0691466B2 JP H0691466 B2 JPH0691466 B2 JP H0691466B2 JP 60171023 A JP60171023 A JP 60171023A JP 17102385 A JP17102385 A JP 17102385A JP H0691466 B2 JPH0691466 B2 JP H0691466B2
Authority
JP
Japan
Prior art keywords
code
output
binary code
natural binary
bit
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 - Lifetime
Application number
JP60171023A
Other languages
Japanese (ja)
Other versions
JPS6232724A (en
Inventor
務 加本
幸雄 赤沢
力 脇本
邦康 河原田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP60171023A priority Critical patent/JPH0691466B2/en
Publication of JPS6232724A publication Critical patent/JPS6232724A/en
Publication of JPH0691466B2 publication Critical patent/JPH0691466B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、高速、高精度を実現することが可能なA/D変
換器に関する。
The present invention relates to an A / D converter capable of realizing high speed and high accuracy.

〔従来技術〕[Prior art]

第3図に従来の並列形A/D変換器の原理的構成を示す。
ディジタル出力Nビットの例では、2N−1個の比較器で
なる比較器群1に基準電圧VRT、VRBの電位差を基準抵抗
Rの抵抗群2で分割した基準電圧を加え、アナログ入力
電圧Ainのレベルを検出する。2N−1個の比較器のう
ち、電圧Ainより低い比較電圧のものの出力は「1」と
なり、電圧Ainより高い比較電圧のものの出力は「0」
となる。
FIG. 3 shows the principle configuration of a conventional parallel type A / D converter.
In the case of the digital output N-bit example, a reference voltage obtained by dividing the potential difference between the reference voltages V RT and V RB by the resistance group 2 of the reference resistance R is added to the comparator group 1 including 2 N −1 comparators, and the analog input Detects the level of voltage A in . Of the 2 N −1 comparators, the output of the comparison voltage lower than the voltage A in is “1”, and the output of the comparison voltage higher than the voltage A in is “0”.
Becomes

アンド回路群3のアンド回路では、2N−1個の比較器の
うち、出力「1」のものと出力「0」のものの切り替わ
りを検出したもののみ出力「1」を発生し、他は出力
「0」を発生する。このアンド回路は、イクスクリュー
シブオア(以下、EX−ORと称する。)で同機能を実現す
る例もある。符号化回路4は、アンド回路出力の「1」
に対応してディジタル出力Dn〜D1を出力する。
In the AND circuit of the AND circuit group 3, among the 2 N −1 comparators, only the one that detects the switching between the output “1” and the output “0” generates the output “1”, and the others output. Generates "0". There is also an example in which this AND circuit realizes the same function by an X-screw or (hereinafter referred to as EX-OR). The encoding circuit 4 has an AND circuit output of "1".
Corresponding to, the digital output D n ~ D 1 is output.

このような並列形A/D変換器において、従来の符号化回
路4は、次の表1にディジタル出力4ビットの例で示す
ような自然2進コードを発生せしめる回路が用いらいて
きた。
In such a parallel type A / D converter, the conventional encoding circuit 4 has used a circuit for generating a natural binary code as shown in the following table 1 as an example of digital output 4 bits.

この表1において、b1〜b4はディジタル出力である。ま
た、a1〜a15はアンド回路の出力端子であり、正常動作
時にはこのうちどれか1つが出力「1」か、或いは全て
が出力「0」の状態をとる。本符号化回路4では、アン
ド回路の出力「1」に対応して、b1〜b4は自然2進コー
ドとなるよう、具体的な回路では、a1〜a15のアンド回
路出力に対して、b4出力はa8〜a15の出力のオア、b3
力はa4〜a7、a12〜a15の出力のオア、b2出力はa2、a3
a6、a7、a10、a11、a14、a15の出力のオア、b1出力は
a1、a3、a5、a7、a9、a11、a13、a15の出力のオアをと
ることにより、ディジタル出力を得ている。
In Table 1, b 1 to b 4 are digital outputs. Further, a 1 ~a 15 is an output terminal of the AND circuit, one any of this at the time of normal operation but if the output "1", or all take the state of the output "0". In the coding circuit 4, corresponding to the output of the AND circuit "1", as b 1 ~b 4 is that a natural binary code, in a specific circuit, to the AND circuit output of a 1 ~a 15 Te, b 4 outputs OR of the output of a 8 ~a 15, b 3 outputs a 4 ~a 7, a 12 OR of the output of ~a 15, b 2 output a 2, a 3,
a 6, a 7, a 10 , a 11, a 14, OR of the output of a 15, b 1 output
The digital output is obtained by taking the OR of the outputs of a 1 , a 3 , a 5 , a 7 , a 9 , a 11 , a 13 , and a 15 .

しかしながら、変換速度が100MHzを超えるような超高速
A/D変換器の符号化回路にこのようなコード化手法を用
いる場合には、次のような問題がある。
However, the conversion speed is over 100MHz
When such a coding method is used for the coding circuit of the A / D converter, there are the following problems.

超高速動作では、配線による信号伝播の遅延差、クロッ
ク信号の遅延差、或いはゆらぎ等により、比較器の動作
が不揃いとなり、アナログ入力に対応する出力「1」と
出力「0」との切り替わり点が本来1箇所のみのもの
が、複数生じることがある。このことは、アンド回路の
出力が同時に複数の「1」を生じることを意味し、本来
の出力コードに対して誤った出力コード(コードの飛
び)を発生することになる。
In ultra-high-speed operation, the comparator operation becomes uneven due to signal propagation delay differences due to wiring, clock signal delay differences, fluctuations, etc., and the switching point between output "1" and output "0" corresponding to analog input. However, there are cases where a plurality of items originally have only one place. This means that the output of the AND circuit produces a plurality of "1" s at the same time, and an erroneous output code (code skip) is generated with respect to the original output code.

例えば、表1で本来a7の出力のみが「1」となるべきと
ころ、同時にa9の出力も「1」になった場合を想定する
と、b4〜b1は「0111」となるべきが、「1111」となり、
a15の出力と誤ってしまう。また、本来a6のみが「1」
となるところをa8が同時に「1」となると「0110」が
「1110」とa14に誤ってしまう。これが、精度劣化の大
きな要因となる。
For example, when it should only output original in Table 1 a 7 becomes "1", assuming that becomes "1" the output of a 9 simultaneously, b 4 ~b 1 is to be a "0111" , "1111",
I am mistaken for the output of a 15 . Also, originally only a 6 is “1”
When a 8 becomes “1” at the same time, “0110” becomes “1110” and a 14 erroneously. This is a major cause of accuracy deterioration.

このような問題を改善する従来の一手法として、次の表
2に示すグレイコード(交番2進コード)と呼ばれる符
号化手法がある。
As a conventional method for improving such a problem, there is an encoding method called Gray code (alternating binary code) shown in Table 2 below.

この符号化手法においては、自然2進コードと同様に
a7、a9が同時に「1」を発生した場合を想定すると、g4
〜g1は「0100」となるべきが「1101」となり、a9の出力
と誤る。a6とa8の同時発生に対しても「0101」が「110
1」となり、a9の出力と誤る。いずれも、前記した表1
に比較してコードの飛びが大幅に改善されることがわか
る。
In this encoding method, similar to the natural binary code,
If it is assumed that a 7, a 9 has generated the "1" at the same time, g 4
~ G 1 should be "0100" but becomes "1101", which is mistaken as the output of a 9 . Even if a 6 and a 8 occur at the same time, "0101" becomes "110".
It becomes 1 ”and is mistaken as the output of a 9 . Both are shown in Table 1 above.
It can be seen that the code jump is significantly improved compared to.

しかしながら、本手法は、出力コードを自然2進コード
に変換するためには、第4図に示すような縦続接続のEX
−OR回路51〜53が必要であり、下位ビットが設定するま
で時間を要し、高速化に対して制約となる。また、グレ
イコードのままでディジタル処理が可能な場合であって
も、次にD/A変換を行う場合にはやはりコード変換回路
を介さないとD/A変換器の構成が複雑となる欠点があ
る。
However, in order to convert the output code to the natural binary code, this method uses EX in cascade connection as shown in FIG.
-OR circuits 5 1 to 5 3 are required, and it takes time for the lower bits to be set, which is a limitation for speeding up. Further, even if the digital processing can be performed with the gray code as it is, the D / A converter configuration becomes complicated when the D / A conversion is performed next time without the code conversion circuit. is there.

〔発明の目的〕[Object of the Invention]

本発明は以上のような点に鑑みてなされたもので、その
目的はビット誤りの減少化を図り、同時に符号化の高速
化を達成したA/D変換器を提供することである。
The present invention has been made in view of the above points, and an object thereof is to provide an A / D converter that reduces bit errors and at the same time achieves high-speed encoding.

〔発明の構成〕[Structure of Invention]

本発明は、アナログ電圧信号を入力する比較器群と、該
比較器群の個々の比較器に異なった基準電圧を与える抵
抗群と、上記比較器群の異なる出力を出す隣接する比較
器を検出するための論理回路群と、該論理回路群の出力
を受けて自然2進コードのデジタル信号を出力する符号
化回路とからなる並列型のA/D変換器において、上記符
号化回路を、自然2進コードおよびグレイコードの両者
と異なる疑似グレイコードを発生する疑似グレイコード
発生部と、該疑似グレイコード発生部で発生した疑似グ
レイーコードを自然2進コードに変換するコード変換部
とから構成し、該コード変換部が、最上位の第nビット
を除く他のビットについて第kビット目の出力と第k+
1ビット目の出力との排他的論理和を第kビット目の本
出力としてこれを自然2進コードとし、上記最上位の第
nビットのみはそのまま自然2進コードと同一とするコ
ード変換を行なうようにしたものである。
The present invention detects a comparator group that inputs an analog voltage signal, a resistor group that gives different reference voltages to the individual comparators of the comparator group, and an adjacent comparator that outputs different outputs of the comparator group. In a parallel A / D converter including a logic circuit group for performing the above operation and an encoding circuit for receiving the output of the logic circuit group and outputting a digital signal of a natural binary code, the encoding circuit is A pseudo gray code generator that generates a pseudo gray code different from both a binary code and a gray code, and a code converter that converts the pseudo gray code generated by the pseudo gray code generator into a natural binary code Then, the code conversion unit outputs the kth bit and the k + th bit for bits other than the highest nth bit.
The exclusive OR with the output of the 1st bit is used as the main output of the kth bit, and this is used as the natural binary code, and code conversion is performed so that only the above nth bit of the highest order is the same as the natural binary code. It was done like this.

〔実施例〕〔Example〕

本発明では、符号化回路を自然2進コードおよびグレイ
コードの両者と異なる疑似グレイコードを発生する疑似
グレイコード発生部と、該疑似グレイコード発生部で発
生した疑似グレイ−コードを自然2進コードに変換する
コード変換部とから構成する。
In the present invention, the encoding circuit uses a pseudo-Gray code generator that generates a pseudo-Gray code different from both the natural binary code and the Gray code, and a pseudo-Gray-code generated by the pseudo-Gray code generator is a natural binary code. And a code conversion unit for converting to.

そして、そのコード変換部で、疑似グレイコードCn、C
n-1、・・・・、C1を自然2進コードbn、bn-1、・・・
・、b1に対して、Cn=bn、Ck+Ck+1=bk(但し、k≦n
−1)となるようにコード変換することが最も特徴とす
るところであり、従来のようにグレイコードgn、gn-1
・・・、g1において、gn=bn、gk=bk+bk+1となるよう
にコード変換するのと異なる。
Then, in the code conversion unit, pseudo Gray codes C n and C
n-1, ····, a C 1 natural binary code b n, b n-1, ···
.., b 1 with C n = b n , C k + C k + 1 = b k (where k ≦ n
-1) is most characterized by performing code conversion so that the gray codes g n , g n-1 ,
... is different from the code conversion in g 1 so that g n = b n and g k = b k + b k + 1 .

次の表3は本発明の一実施例の符号化手法を説明する表
であり、この表3に示す符号化は、疑似グレイコード発
生部によって行なわれる。
The following Table 3 is a table for explaining the coding method according to the embodiment of the present invention. The coding shown in Table 3 is performed by the pseudo Gray code generator.

この表3において、C4〜C1はディジタル出力、a1〜a15
はアンド回路の出力端子である。従来回路と同様に本来
a7のみが出力「1」となるところをa9が同時に「1」と
なった場合を想定すると、C4〜C1が「0101」となるべき
ところが「1111」となり、a8と誤る。また、a6、a8が同
時に「1」となった場合も、「0100」となるべきところ
が「1111」となってa8と誤る。従って、グレイコードと
同様、本コードでも自然2進コードに比較してコードの
飛びが大幅に改善できることがわかる。
In Table 3, C 4 to C 1 are digital outputs, and a 1 to a 15
Is an output terminal of the AND circuit. Originally like the conventional circuit
When the place where only a 7 becomes the output "1" is assumed that a 9 becomes "1" at the same time, C 4 -C 1 is a place to be a "0101" mistaken as "1111" and, a 8. Also, even if a 6 and a 8 both become “1” at the same time, the place that should be “0100” becomes “1111” and is mistaken as a 8 . Therefore, similar to the Gray code, it can be seen that this code can greatly improve code skipping as compared with the natural binary code.

第1図は本実施例での疑似グレイコード(上記表3のコ
ード)を自然2進コードに変換ために使用するコード変
換部の回路を示す図である。この回路では、EX−OR回路
61〜63を1段介在させるのみで、自然2進コードが得ら
れることから、高速動作の大きな制約とはならない。
FIG. 1 is a diagram showing a circuit of a code conversion unit used for converting the pseudo Gray code (the code in Table 3 above) in the present embodiment into a natural binary code. In this circuit, the EX-OR circuit
Natural binary code can be obtained only by interposing 6 1 to 6 3 in one stage, so that it is not a major limitation of high-speed operation.

次の表4はディジタル出力を5ビットとする場合の別の
実施例の符号化手法を示すものである。この表4に示す
符号化も疑似グレーコード発生部によって行なわれる。
ディジタル出力はC5〜C1、アンド回路の出力端子はa1
a31である。
Table 4 below shows an encoding method of another embodiment when the digital output is 5 bits. The encoding shown in Table 4 is also performed by the pseudo gray code generator.
Digital output is C 5 to C 1 , and AND circuit output terminal is a 1 to
a 31 .

この表4において、ディジタル出力C2、C1については、
自然2進コードそのままを用いている。従って、この表
4により得られた疑似グレイコードを自然2進コードに
変換するコード変換部の回路は、第2図に示すように、
C2、C1について71、72に示すようなEX−OR回路を介さな
い構成となる。これは、ディジタル出力の下位ビットは
アナログ入力の変化に対するコードの飛びに与える影響
が小さいことから、高速化や素子数低減化を図る上で自
然2進コードをそのまま用いることが有効な場合がある
からである。しかし、このような構成についても、本発
明の態様に含まれることは勿論である。
In Table 4, digital outputs C 2 and C 1 are
The natural binary code is used as it is. Therefore, the circuit of the code conversion unit for converting the pseudo Gray code obtained from Table 4 into a natural binary code is as shown in FIG.
With respect to C 2 and C 1 , an EX-OR circuit as shown in 7 1 and 7 2 is not provided. This is because the lower bits of the digital output have a small effect on the jump of the code with respect to the change of the analog input, and therefore it may be effective to use the natural binary code as it is for the purpose of speeding up and reducing the number of elements. Because. However, it goes without saying that such a configuration is also included in the aspect of the present invention.

〔発明の効果〕〔The invention's effect〕

以上のように本発明によれば、ディジタル出力コードの
飛びに対して自然2進コードに比較して大幅な改善が可
能となり、しかも速度特性を損なうことなく自然2進コ
ードに変換できるので、100MHzを超える超高速の変換速
度のA/D変換器に適用して、精度向上の効果が期待でき
る。
As described above, according to the present invention, the jump of the digital output code can be greatly improved as compared with the natural binary code, and further, the conversion to the natural binary code can be performed without deteriorating the speed characteristic. It can be applied to A / D converters with super-high conversion speeds that exceed, and expected to improve accuracy.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の一実施例の符号化手法によるディジタ
ル出力を自然2進コードに変換する回路図、第2図は別
の実施例の符号化手法によるディジタル出力を自然2進
コードに変換する回路図、第3図は一般的な並列形A/D
変換器の構成を示す回路図、第4図は従来の符号化手法
によるディジタル出力を自然2進コードに変換する回路
図である。 1…比較器群、2…基準抵抗群、3…アンド回路群、4
…符号化回路、51〜53、61〜63、71、72…EX−OR回路。
FIG. 1 is a circuit diagram for converting a digital output by a coding method according to an embodiment of the present invention into a natural binary code, and FIG. 2 is a circuit diagram for converting a digital output by a coding method according to another embodiment into a natural binary code. Fig. 3 shows the general parallel type A / D.
FIG. 4 is a circuit diagram showing the configuration of the converter, and FIG. 4 is a circuit diagram for converting a digital output by a conventional encoding method into a natural binary code. 1 ... Comparator group, 2 ... Reference resistance group, 3 ... AND circuit group, 4
... Encoding circuit, 5 1 to 5 3 , 6 1 to 6 3 , 7 1 , 7 2 ... EX-OR circuit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 河原田 邦康 神奈川県厚木市森の里若宮3番1号 日本 電信電話株式会社厚木電気通信研究所内 (56)参考文献 特開 昭57−68931(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kuniyasu Kawarada 3-1, Morinosato Wakamiya, Atsugi City, Kanagawa Pref. Atsugi Telecommunications Research Laboratories, Nippon Telegraph and Telephone Corporation (56) Reference JP-A-57-68931 (JP, A)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】アナログ電圧信号を入力する比較器群と、
該比較器群の個々の比較器に異なった基準電圧を与える
抵抗群と、上記比較器群の異なる出力を出す隣接する比
較器を検出するための論理回路群と、該論理回路群の出
力を受けて自然2進コードのデジタル信号を出力する符
号化回路とからなる並列型のA/D変換器において、 上記符号化回路を、自然2進コードおよびグレイコード
の両者と異なる疑似グレイコードを発生する疑似グレイ
コード発生部と、該疑似グレイコード発生部で発生した
疑似グレイーコードを自然2進コードに変換するコード
変換部とから構成し、 該コード変換部が、最上位の第nビットを除く他のビッ
トについて第kビット目の出力と第k+1ビット目の出
力との排他的論理和を第kビット目の本出力としてこれ
を自然2進コードとし、上記最上位の第nビットのみは
そのまま自然2進コードと同一とするコード変換を行な
うようにしたことを特徴とするA/D変換器。
1. A comparator group for inputting an analog voltage signal,
A resistor group that gives different reference voltages to the individual comparators of the comparator group, a logic circuit group for detecting adjacent comparators that output different outputs of the comparator group, and an output of the logic circuit group A parallel type A / D converter comprising a coding circuit which receives and outputs a digital signal of a natural binary code, wherein the coding circuit generates a pseudo Gray code different from both the natural binary code and the Gray code. And a code conversion unit for converting the pseudo Gray code generated by the pseudo Gray code generation unit into a natural binary code, and the code conversion unit outputs the nth highest bit. Except for the other bits, the exclusive OR of the output of the k-th bit and the output of the (k + 1) -th bit is used as the main output of the k-th bit, and this is used as a natural binary code. Pristine binary code and the A / D converter, characterized in that to carry out the code conversion to the same.
【請求項2】上記コード変換部が、上記kビットまでの
うち下位m個のビットについては1位上位ビットとの排
他的論理和を施さずにそのまま自然2進コードと同一と
するコード変換を行なうようにしたことを特徴とする特
許請求の範囲第1項記載のA/D変換器。
2. The code conversion unit performs code conversion for making the lower m bits of up to k bits the same as the natural binary code without performing exclusive OR with the first significant bit. The A / D converter according to claim 1, wherein the A / D converter is implemented.
JP60171023A 1985-08-05 1985-08-05 A / D converter Expired - Lifetime JPH0691466B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60171023A JPH0691466B2 (en) 1985-08-05 1985-08-05 A / D converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60171023A JPH0691466B2 (en) 1985-08-05 1985-08-05 A / D converter

Publications (2)

Publication Number Publication Date
JPS6232724A JPS6232724A (en) 1987-02-12
JPH0691466B2 true JPH0691466B2 (en) 1994-11-14

Family

ID=15915654

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60171023A Expired - Lifetime JPH0691466B2 (en) 1985-08-05 1985-08-05 A / D converter

Country Status (1)

Country Link
JP (1) JPH0691466B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0787371B2 (en) * 1988-02-09 1995-09-20 松下電器産業株式会社 Parallel A / D converter
JPH03104419A (en) * 1989-09-19 1991-05-01 Yokogawa Electric Corp Analog/digital converter
US5633636A (en) * 1995-10-02 1997-05-27 Analog Devices, Inc. Half-gray digital encoding method and circuitry

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5069964A (en) * 1973-10-24 1975-06-11
JPS5516512A (en) * 1978-07-21 1980-02-05 Toshiba Corp Coding circuit
JPS5768931A (en) * 1980-10-16 1982-04-27 Sony Corp A-d converter

Also Published As

Publication number Publication date
JPS6232724A (en) 1987-02-12

Similar Documents

Publication Publication Date Title
US5382955A (en) Error tolerant thermometer-to-binary encoder
EP0070175B1 (en) Analog-to-digital converters
JP2800233B2 (en) AD converter
WO1990001835A1 (en) Error limiting analog to digital converter
EP0070734A2 (en) Analog-to-digital converters
JPH0681048B2 (en) A / D converter
EP1150433B1 (en) Flash type analog-to-digital converter
JPH0691466B2 (en) A / D converter
EP0782790B1 (en) Analog-to-digital converter for generating a digital n-bit gray-code
EP0663731A2 (en) Method and device for determining hamming distance between two multi-bit digital words
JP2000022541A (en) Ad converter circuit
US7002502B2 (en) Analog-to-digital converter and method of generating an intermediate code for an analog-to-digital converter
JPH0681050B2 (en) Parallel AD converter
JPH02104024A (en) Successive comparing analog/digital converter
US6816098B2 (en) High-speed oversampling modulator device
JP2877983B2 (en) A / D converter circuit
JP2638002B2 (en) Parallel A / D converter
SU1198754A1 (en) Parallel-sequential analog-to-digital converter
JP2789697B2 (en) Parallel AD converter
KR880002500B1 (en) High speed a/d converter for 16bit
JPS63299615A (en) Serial parallel type a/d converter
JPH0969780A (en) Analog-digital converter
JPS60214120A (en) Analog-digital converting circuit
JP2904239B2 (en) A / D conversion circuit
JPH01181327A (en) Parallel analog/digital converter

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term