Half-gray digital encoding method and circuitry
AssigneeAnalog Devices, Inc.
InventorHooman Reyhani
Life of this patent
Estimating the term…
Abstract
A Half-Gray digital encoding technique is disclosed for use in a parallel analog-to-digital converter (ADC) that reduces the ADC's output errors. A thermometer code, proportional to the ADC's analog input, is provided to a decoder which produces 2.sup.n output lines with one active line for each binary 0-to-1 transition in the thermometer code. A 1-of-(2.sup.n)-to-Half-Gray encoder converts the decoder output to a Half-gray code which has error reducing properties. The Half-Gray code is then provided to an n-bit Half-Gray-to-binary decoder for converting the Half-Gray code to a standard Binary code ADC output.
Claims15
A digital coding circuit for use in an analog-to-digital converter (ADC) which receives an analog input signal and produces a digital output signal, comprising:
- a decoder for producing an output of 2.sup.n binary lines, with one active output line representing the amplitude of said ADC's analog input signal,
- an encoder having 2.sup.n input addresses for receiving said decoder output, with each active decoder output line activating a corresponding encoder address to produce an n-bit Half-Gray word at that address, said n-bit Half-Gray word (HG) having the bits:
- HG(i)=B(i) for i=N and i=N/2
- HG(i)=B(i) XOR B(i+1) for (N/2)<i<N and 0<i<(N/2)
- wherein B is an n-bit standard Binary word corresponding to the encoder address activated, N is the total number of bits in said Half-Gray word HG and is an even integer greater than 2, i is an individual bit and is an integer, and XOR is the exclusive-OR logic function, and
- wherein the Half-Gray words of said encoder's activated addresses are combined to produce a single n-bit Half-Gray word output, reducing the ADC output errors due to multiple active decoder output lines that would otherwise arise in the absence of said encoder.
A digital encoding method for use in an analog-to-digital converter (ADC) which has an analog input signal and a digital output signal, comprising the steps of:
- detecting at least one binary zero (0) to binary one (1) transition between (2.sup.n -1) binary states in an input signal, wherein one of said binary 0-to-1 transitions represents the amplitude of said ADC analog input signal,
- generating an output signal having 2.sup.n lines, with an active line for each detected binary 0-to-1 transition,
- converting each active output signal line into an n-bit Half-Gray word (HG), with each Half-Gray word having a corresponding standard Binary word (B) and the bits:
- HG(i)=B(i) for i=N and i=N/2
- HG(i)=B(i) XOR B(i+1) for (N/2)<i<N and 0<i<(N/2)
- wherein N is the total number of bits in said Half-Gray word HG and is an even integer greater than 2, i is an individual bit and is an integer, and XOR is the exclusive-OR logic function, and
- combining said Half-Gray words to produce a single n-bit Half-Gray word output, said digital encoding method reducing the errors in said ADC output signal due to the detection of more than one binary 0-to-1 transition as compared to the errors that arise in the absence of said digital encoding method.
An analog-to-digital converter (ADC) for receiving an analog input signal and converting it into its representative digital output signal, comprising:
- (2.sup.n -1) comparators for providing (2.sup.n -1) binary signals having a binary zero (0) to binary one (1) transition which represents the amplitude level of said analog input signal,
- a decoder for decoding said (2.sup.n -1) comparator signals to produce an output of 2.sup.n binary lines, said decoder output having one active output line corresponding to each binary 0-to-1 transition in said comparator signals,
- an encoder having 2.sup.n input addresses for receiving said decoder output, with each active decoder output line activating a corresponding encoder address to produce an n-bit Half-Gray word at that address, said n-bit Half-Gray word (HG) having the bits:
- HG(i)=B(i) for i=N and i=N/2
- HG(i)=B(i) XOR B(i+1) for (N/2)<i<N and 0<i<(N/2)
- wherein B is an n-bit Standard Binary word corresponding to the encoder address activated, N is the total number of bits in said Half-Gray word HG and is an even integer greater than 2, i is an individual bit and is an integer, and XOR is the exclusive-OR logic function, and
- wherein the Half-Gray words of said encoder's activated addresses are combined to produce a single n-bit Half-Gray word output, reducing the ADC output errors due to multiple active decoder output lines that would otherwise arise in the absence of said encoder.
A read only memory (ROM) for storing Half-Gray words, wherein said ROM is accessed by a 2.sup.n line binary input signal having one active line representing the amplitude of an analog input signal of an analog-to-digital converter (ADC), comprising:
- 2.sup.n ROM input addresses for receiving said binary input signal, with each active binary input signal line activating a corresponding ROM input address to produce an n-bit Half-Gray word at that input address, said n-bit Half-Gray word (HG) having the bits:
- HG(i)=B(i) for i=N and i=N/2
- HG(i)=B(i) XOR B(i+1) for (N/2)<i<N and 0<i<(N/2)
- wherein B is an n-bit standard Binary word corresponding to said ROM input address activated, N is the total number of bits in said Half-Gray word HG and is an even integer greater than 2, i is an individual bit and is an integer, and XOR is the exclusive-OR logic function, and
- an n-bit ROM output address for receiving a single n-bit Half-Gray word which is the combination of the Half-Gray word of each of said activated ROM input address, said ROM reducing the ADC output errors due to multiple active binary input signal lines as compared to errors that arise in the absence of said ROM.
Dependencies are inferred from the claim text.