The present invention relates to an error correction technique for Successive Approximation (SAR) Analog to Digital Converters (ADCs), and more particularly, to a method and apparatus for digital error correction of a SAR ADC, which improve the speed of an ADC and make the design requirement of a reference driver and DAC settle time less strict.
A Successive Approximation (SAR) Analog to Digital Converter (ADC) has a relatively low conversion speed, but is well known as a low-power ADC because the SAR ADC does not include a static power consuming circuit.
The operational principle of a SAR ADC using charge redistribution will be described with reference to
Referring to in
In a sample mode shown in
In a mode for the Most Significant Bit (MSB) decision shown in
If the polarity of the voltage difference Δ(Vxp−Vxn) (=Vin−VREF/2) is positive, it means that the voltage of the input signal Vin is greater than VREF/2, half of the input full scale. Thus, the MSB, B4, is decided to be 1, and the capacitor C4 is connected to the reference voltage VREF. In contrast, in the case where the polarity of the voltage difference Δ(Vxp−Vxn) is negative, the MSB is determined to be 0, and the capacitor C4 is connected to the ground GND.
After the C4-to-VREF or C4-to-GND connection, a settling time for DAC level at Vxn is given. Then, the comparator CP compares the node voltages of Vxp and Vxn, and a bit B3 is determined and, thereafter, the capacitor C3 is connected to either the reference VREF or GND depending on the bit B3 decision.
A A/D conversion for the sampled input signal is completed by repeating the above procedure until the Least Significant Bit (LSB) B1 is obtained. This code decision process is called successive approximation algorithm.
The DAC operation and the voltage difference Δ(Vxp−Vxn) at the input of the comparator CP is the core factor for the digital code decision in the SAR ADC, and it is represented by the following Eq. 1.
wherein the voltage difference Δ(Vxp−Vxn) can be generalized as the value obtained by subtraction of the synthesized DAC voltage VDAC[i] from the sampled signal Vin, where VDAC[i] is the weighted sum of VREF which is determined by the digital code decision. In the Eq. 1, a reference numeral ‘i’ is an integer number denoting the sequence of the decision of codes. ‘i’ is ‘1’ when the MSB is decided, and ‘i’ is ‘4’ when the LSB is decided in a 4-bit ADC, for example. Since ‘i’ increases as the number of bits of the ADC increases, the time required for conversion linearly increases as the ADC resolution increases.
Above-explained code decision process for the 4-bit SAR ADC is illustrated with a DAC waveform in
To summarize, the term ‘SAR algorithm’ means a serial process of finding voltage VDAC which is closest to the sampled input voltage Vin by using a DAC, and the input code to the DAC is the digital code corresponding to the analog input value.
A/D conversion speed of SAR ADC is determined by the settling time of the DAC output (VDAC). The reason is that an N-bit SAR ADC needs to operate within a certain error range of ADC resolution (generally, a range of 0.5 LSB or less) at every comparison and therefore sufficient time for accurate settling is required. If the given settling time is not sufficient, VDAC will not reach an ideal level, and consequently, a code decision error occurs. Conventional representative techniques to correct code errors caused by DAC error are disclosed in the following documents:
The first paper has contributed to the improvement of the speed of a SAR ADC while solving a code error caused by a DAC settling error by using a non-binary redundancy algorithm. According to the first document, however, non-binary decision requires a Read Only Memory (ROM), an arithmetic unit and a multiplexer. Accordingly, the complexity of a digital circuit is increased, and thus a conversion speed is degraded by the logic delay.
The second paper, which uses the non-binary redundancy algorithm, is the upgraded version of the first paper.
The third paper improves the performance of SAR-DAC by correcting a code error caused by an incomplete DAC settling error by use of simple digital logic gates.
The present invention provides a digital error correction technique for a binary search successive approximation ADC, which corrects the code error caused by the incomplete DAC settling in a digital domain with only a slight modification of switching logic of SAR.
In accordance with an aspect of the present invention, there is provided a method for correcting decision errors in a successive approximation (SAR) analog to digital converter (ADC).
The method includes: controlling a digital to analog converter (DAC) with multiple sub-DACs of which one or more elements are shared by adjacent sub-DACs; obtaining Most Significant Bits (MSBs) from the corresponding sub-DAC and its shared DAC element in the adjacent sub-DAC in such a way that the shared DAC element provides the intended offset while MSB-segment DAC (sub-DAC for MSBs) decides MSBs by a following binary decision algorithm; and making redundant decision after said obtaining the MSBs in such a way for the new DAC level to be a center of a determined analog range in a procedure for said obtaining MSBs by switching back the shared DAC element to the initial position (VCM) and by re-arranging sub-DAC elements for said obtaining MSBs by using VCM as well as VREF and 0 as reference voltages.
The method further includes: obtaining Least Significant Bits (LSBs) from a LSB-segment DAC (sub-DAC for LSBs) by a following binary decision SAR process; and adding the digital codes obtained from a MSB-segment and a LSB-segment with code overlap to generate a final digital output code.
In accordance with another aspect of the present invention, there is provided an apparatus for digital error correction in a successive approximation (SAR) analog to digital converter (ADC).
The apparatus includes: a digital to analog converter (DAC) with multiple sub-DACs, such that the sub-DACs share one or more DAC elements and analog level is generated to be compared with an input signal; a comparator configured to compare an analog input voltage with a reference voltage; and a register and control logic unit configured to control a switching operation for DAC and to add output codes obtained from sub-DACs to output the added code as a final A/D converted code.
The objects and features of the present invention will become apparent from the following description of preferred embodiments given in conjunction with the accompanying drawings, in which:
Hereinafter, embodiments of the present invention will be described in detail with reference to accompanying drawings which form a part hereof.
The comparator 93 compares the analog input sampled through the DAC 92 with a reference voltage to generate a digital output code. The register and control logic unit 94 is configured to control the switching operation of the DAC and the storage of the output code. In addition, the control logic unit 94 adds an output code obtained by using the first sub-DAC 92A with an output code obtained by using the second sub-DAC 92B such that the output codes overlap each other by one bit or more bits, to produce the error corrected code as a final digital output.
First, to understand the operational principle of the digital error correction of the present invention, the concept of digital error correction in a 3-bit two-step ADC having a 2-bit to-2-bit structure will be described in detail with reference to
A two-step ADC in
After the input signal Vin has been sampled by the sample/hold (S/H) 61, the ADC 62 in the first stage generates a 2-bit digital output code, 2-bit MSBs. The subtractor 64 subtracts the output of the DAC 63 which is determined by the 2-bit output code of the ADC 62 from the sampled input signal, and the amplifier 65 amplifies the output of the subtractor 64, whereby the MDAC generates a first stage residue output signal. The ideal transfer curve of the residue output signal is shown in
The residue signal output of the MDAC in the first stage is converted into a 2-bit digital code by the FADC in the second stage (black triangles on the y-axis indicate the ideal reference levels for the comparators in FADC), whereby additional 2-bit LSBs are achieved.
In
In the case of the input A, e.g., the 2-bit output code of the first stage as the upper bits is ‘01’, and the output code of the second stage as the lower bits is ‘10’. When the two codes are overlapped by one bit and added, a code ‘100’ is obtained, which is a desired digital output code.
However, even if the upper bits are erroneously determined as ‘10’ due to an error in the A/D conversion process of the first stage, the output code of the second stage is ‘00’, so that the same code ‘100’ is obtained by adding the two codes to each other by use of the above method. Such an error correction technique is shown in
In accordance with an embodiment of the present invention, it is possible to correct incomplete-DAC-settling-induced decision error in the MSBs by applying the aforementioned error correction technique to the SAR-ADC without additional hardware, unlike the conventional error correction SAR ADC based on non-binary decision. This will be described in detail below.
The control operations for respective components, which will be described later, are performed by the control logic unit 94.
The SAR ADC of the present invention performs a several A/D conversion processes like the above-described 2-step ADC.
When the 3-bit MSB code B4′B3′B2′ is being decided by using the first sub-DAC 92A, the first DAC level is shifted by a half of the LSB voltage of the resolution for the first sub-DAC 92A from the conventional one by using the shared DAC element 92C so that the digital error correction shown in
The code decision range for the second sub-DAC 92B is extended by a half of the LSB voltage (VLSB1′/2) of the first stage on each of the upper and lower portions of the range obtained in the first stage for redundancy. The extended range is shown in
Next, the LSB decision is performed by using a sub-DAC292B of the second stage DAC 92 so that an additional output code B2″B1″ is obtained. Finally, the complete ADC output code B4B3B2B1 is obtained by adding the 3-bit MSBs B4′B3′B2′ with 2-bit LSBs B2″B1″ with 1-bit overlap of B2″ and B2′. This is exactly the same as the digital error correction in two-step ADCs as explained earlier.
A process for obtaining the output code explained with
Since superposition can be applied with a switched capacitor circuit 92A, 92B, and 92C, considering only DAC level (voltage on Vxn node) will make understanding of the DAC operation easy. Since when all the capacitors C4, C3, C2 are connected to VCM,Vxn=VCM=VREF/2 when the C2=C is connected to VREF, the DAC level Vxn=VDAC=(½+ 1/16)VREF Thick line on the rightmost figure in
By the result of MSB B4′=0 obtained in
Similarly, the capacitor C3=2C is connected to VREF by the bit B3′ (=1), as shown in
VDAC=(½−¼+⅛+ 1/16)VREF.
Through the procedure explained so far, decision of MSBs from the first sub-DAC 92A is finished and the 3-bit digital code B4′B3′B2′ is obtained.
After the MSBs decision have made, a decision process for LSBs B2″B1″ is now starts by using the second sub-DAC 92B. In this procedure, the range of the decision determined in the previous process is extended by using redundancy.
The decision of the first bit B2″ with the second sub-DAC 92B is shown in
In doing this, there are two important points. One is that the capacitor C2 must be return to VCM from VREF as in an initial status since the capacitor C2 must be used to determine the LSB B1″.
The other is that, when the capacitor C2 returns to VCM, the reference connection for each capacitor in the first sub-DAC 92A might be changed (reference rearrange) in order to achieve the required DAC level without touching the second sub-DAC 92B. In this example, the desired DAC level for B2″ decision can be generated by connecting all the capacitors in the first sub-DAC 92A to VCM as shown in
Through the above-explained digital error correction technique of the present invention, the error corrected final code is obtained by overlapping B2′ and B2″ and by adding the MSB 3-bit B4′B3′B2′ with the LSB 2-bit B2″B1″. Then, the 4-bit SAR A/D conversion process is completed.
Even though the operational principle of the invented digital error correction method for SAR ADC has been explained with the virtually divided two-stage DAC architecture, the present invention is not limited to the two-step decision structure, rather the implementation can be extended to a three or more virtually divided DAC structure with the same A/D conversion principle. The flowchart of the error correction algorithm is shown in
Thus, even if two or more comparison cycles are added in the present invention due to redundancy, the conversion speed of the proposed method is higher. When the operational speed of the ADC is determined by only the settling time of the DAC, a 10-bit SAR ADC in accordance with an embodiment of the present invention can complete A/D conversion within 55% of the total time required by the conventional ADC. That is, under the same conditions of hardware and power consumption, the ADC of the present invention has improved the conversion speed by about 1.8 times to the conventional ADC. In other words, the method of correcting the digital error in the SAR ADC according to the present invention enables high-speed A/D conversion while greatly relieving the design requirements of DAC and reference driver speed, thus making great contributions to the high speed of the SAR ADC.
Unlike multi-step ADCs such as two-stage and pipelined ADCs, SAR ADC had no well-established digital error correction method before proposing the present invention. Thus, so-far known solutions require a large hardware burden due to non-binary decision technique or two or more parallelism.
In accordance with an embodiment of the present invention, it is possible to perform digital error correction in SAR ADC by simply modifying the DAC control algorithm, thereby the present invention enables high-speed A/D conversion by reducing settling time, without requiring additional chip area or power consumption.
While the invention has been shown and described with respect to the embodiments, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the scope of the invention as defined in the following claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2008-0107657 | Oct 2008 | KR | national |
Number | Name | Date | Kind |
---|---|---|---|
4709228 | Hucking et al. | Nov 1987 | A |
6891487 | Leung et al. | May 2005 | B2 |
7605741 | Hurrell | Oct 2009 | B2 |
Number | Date | Country | |
---|---|---|---|
20100109924 A1 | May 2010 | US |