US20200403632A1 - Calibration circuit and calibration method for adc - Google Patents
Calibration circuit and calibration method for adc Download PDFInfo
- Publication number
- US20200403632A1 US20200403632A1 US16/905,284 US202016905284A US2020403632A1 US 20200403632 A1 US20200403632 A1 US 20200403632A1 US 202016905284 A US202016905284 A US 202016905284A US 2020403632 A1 US2020403632 A1 US 2020403632A1
- Authority
- US
- United States
- Prior art keywords
- voltage
- capacitor
- comparator
- adc
- capacitor group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/34—Analogue value compared with reference values
- H03M1/38—Analogue value compared with reference values sequentially only, e.g. successive approximation type
- H03M1/46—Analogue value compared with reference values sequentially only, e.g. successive approximation type with digital/analogue converter for supplying reference values to converter
- H03M1/466—Analogue value compared with reference values sequentially only, e.g. successive approximation type with digital/analogue converter for supplying reference values to converter using switched capacitors
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/10—Calibration or testing
- H03M1/1009—Calibration
- H03M1/1033—Calibration over the full range of the converter, e.g. for correcting differential non-linearity
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/10—Calibration or testing
- H03M1/1009—Calibration
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/34—Analogue value compared with reference values
- H03M1/38—Analogue value compared with reference values sequentially only, e.g. successive approximation type
- H03M1/46—Analogue value compared with reference values sequentially only, e.g. successive approximation type with digital/analogue converter for supplying reference values to converter
- H03M1/462—Details of the control circuitry, e.g. of the successive approximation register
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/34—Analogue value compared with reference values
- H03M1/38—Analogue value compared with reference values sequentially only, e.g. successive approximation type
- H03M1/46—Analogue value compared with reference values sequentially only, e.g. successive approximation type with digital/analogue converter for supplying reference values to converter
- H03M1/466—Analogue value compared with reference values sequentially only, e.g. successive approximation type with digital/analogue converter for supplying reference values to converter using switched capacitors
- H03M1/468—Analogue value compared with reference values sequentially only, e.g. successive approximation type with digital/analogue converter for supplying reference values to converter using switched capacitors in which the input S/H circuit is merged with the feedback DAC array
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/66—Digital/analogue converters
- H03M1/68—Digital/analogue converters with conversions of different sensitivity, i.e. one conversion relating to the more significant digital bits and another conversion to the less significant bits
Definitions
- the present invention generally relates to circuits and methods for calibrating an analog-to-digital converter (ADC), and, more particularly, to circuits and methods for calibrating an ADC which employs a bridge digital-to-analog converter (DAC).
- ADC analog-to-digital converter
- DAC bridge digital-to-analog converter
- FIG. 1 is a partial circuit diagram of a conventional successive approximation ADC (SA ADC).
- SA ADC successive approximation ADC
- the voltages of the two input terminals of the comparator 105 approach each other, and a successive approximation register (SAR) (not shown) coupled to the output terminal of the comparator 105 generates a digital code based on the outputs of the comparator 105 .
- SAR successive approximation register
- the digital code generated by the SAR is the final output value of the SA ADC, which is the result of analog-to-digital conversion of the input signal which is composed of Vin and Vip.
- the bridge DAC 110 includes two capacitor arrays, each of which is coupled to one input terminal of the comparator 105 .
- Each capacitor array contains a bridge capacitor 130 or 140 .
- the right side of the bridge capacitor 130 or 140 i.e., the side close to the comparator 105
- the left side i.e., the side away from the comparator 105
- the least significant bit (LSB) side of the capacitor array Taking the capacitor array coupled to the negative input terminal of the comparator 105 in FIG.
- the MSB side includes the capacitors 111 , 112 and 113 whose capacitance values are respectively 4C, 2C, and 1C (C being a positive number), whereas the LSB side includes the capacitors 151 , 152 , 153 , 154 , and 155 whose capacitance values are 8C, 4C, 2C, 1C and 1C, respectively.
- One end of the capacitors 111 , 112 and 113 is coupled to one end of the bridge capacitor 130 and is directly coupled to the comparator 105 , whereas one end of the capacitors 151 , 152 , 153 , 154 and 155 is coupled to the other end of the bridge capacitor 130 and further coupled to the comparator 105 through the bridge capacitor 130 , instead of being directly coupled to the comparator 105 .
- the other end of the capacitors 111 , 112 , 113 , 151 , 152 , 153 , 154 and 155 which is not coupled to the bridge capacitor 130 is coupled to ground or the reference voltage Vref through the switch SW.
- all capacitors on the LSB side of one capacitor array are collectively in series with the bridge capacitor 130 or 140 , and, ideally, the equivalent capacitance value of these capacitors (including the bridge capacitor 130 or 140 and all capacitors on its LSB side) is substantially equal to the capacitance value of the smallest capacitor on the MSB side.
- the linearity of the bridge DAC may decrease, which in turn causes the linearity of the SA ADC to decrease.
- the proposed method has the following disadvantages: (1) the process of calibrating the comparator takes extra time; and (2) it has been found in practical applications that despite the proposed method having been implemented, if there is still residual offset in the calibrated comparator, or if process, voltage or temperature (PVT) variations occur after the comparator has been calibrated, the linearity of the bridge DAC will still be poor, leading to adverse influences on the accuracy of the SA ADC. Therefore, it is necessary to provide methods and circuits for calibrating the ADC.
- an object of the present invention is to provide circuits and methods for calibrating an ADC, so as to make an improvement to the prior art.
- the ADC includes a bridge digital-to-analog converter (DAC).
- the bridge DAC includes a first capacitor array and a second capacitor array.
- the first capacitor array is coupled to a first input terminal of a comparator of the ADC, and the second capacitor array is coupled to a second input terminal of the comparator.
- the first capacitor array includes a first capacitor group, a second capacitor group and a first bridge capacitor.
- the first capacitor group is electrically connected to the comparator, and the second capacitor group is coupled to the comparator through the first bridge capacitor.
- the second capacitor array includes a third capacitor group, a fourth capacitor group and a second bridge capacitor.
- the third capacitor group is electrically connected to the comparator, and the fourth capacitor group is coupled to the comparator through the second bridge capacitor.
- a method for calibrating an ADC includes the following steps: (a) resetting a voltage of the first input terminal of the comparator and a voltage of the second input terminal of the comparator; (b) changing a terminal voltage of at least one capacitor in the first capacitor group; (c) the ADC generating a first digital code; (d) resetting the voltage of the first input terminal of the comparator and the voltage of the second input terminal of the comparator after the first digital code is generated; (e) changing a terminal voltage of at least one capacitor in the third capacitor group; and (f) the ADC generating a second digital code.
- the first digital code and the second digital code are utilized to correct the output of the ADC.
- a circuit for calibrating an ADC includes a register and a control circuit.
- the control circuit is coupled to the bridge DAC and the register and is configured to perform a calibration procedure, which includes the following steps: (a) resetting a voltage of the first input terminal of the comparator and a voltage of the second input terminal of the comparator; (b) changing a terminal voltage of at least one capacitor in the first capacitor group; (c) storing a first digital code of the ADC to the register; (d) resetting the voltage of the first input terminal of the comparator and the voltage of the second input terminal of the comparator after the first digital code is generated; (e) changing a terminal voltage of at least one capacitor in the third capacitor group; (f) storing a second digital code of the ADC to the register.
- the first digital code and the second digital code are utilized to correct the output of the ADC.
- the ADC can be calibrated in a simple manner Compared with the conventional calibration method, the present invention does not need to calibrate the offset of the comparator beforehand. Therefore, the circuits and methods of the present invention are easier to implement, and the calibration process is faster.
- FIG. 1 illustrates a partial circuit diagram of the conventional SA ADC.
- FIG. 2 illustrates a functional block diagram of a combination of the ADC calibration circuit of the present invention and the SA ADC.
- FIG. 3 illustrates a flowchart of the method of calibrating the ADC according to an embodiment of the present invention.
- FIG. 4A to FIG. 4F are schematic diagrams showing the switching states of the switches of the bridge DAC during the calibration process of the present invention.
- FIG. 5 illustrates a flowchart of the method of calibrating the ADC according to another embodiment of the present invention.
- connection between objects or events in the below-described embodiments can be direct or indirect provided that these embodiments are practicable under such connection.
- Said “indirect” means that an intermediate object or a physical space exists between the objects, or an intermediate event or a time interval exists between the events.
- the disclosure herein includes calibration circuits and calibration methods for ADCs. On account of that some or all elements of the calibration circuits could be known, the detail of such elements is omitted provided that such detail has little to do with the features of this disclosure, and that this omission nowhere dissatisfies the specification and enablement requirements. Some or all of the processes of the calibration methods may be implemented by software and/or firmware, and can be performed by the calibration circuits or their equivalents. A person having ordinary skill in the art can choose components or steps equivalent to those described in this specification to carry out the present invention, which means that the scope of this invention is not limited to the embodiments in the specification.
- FIG. 2 is a functional block diagram of a combination of the ADC calibration circuit of the present invention and the SA ADC.
- FIG. 3 is a flowchart of the method of calibrating the ADC according to an embodiment of the present invention.
- FIG. 4A to FIG. 4F are schematic diagrams showing the switching states of the switches of the bridge DAC during the calibration process of the present invention.
- the bridge DAC 210 includes two capacitor arrays. In the following description, the capacitor array coupled to the negative input terminal of the comparator 205 is referred to as the first capacitor array, and the capacitor array coupled to the positive input terminal of the comparator 205 is referred to as the second capacitor array.
- the first capacitor array includes a first capacitor group (containing capacitors 411 to 413 , that is, all capacitors on the MSB side), the bridge capacitor 430 and a second capacitor group (containing capacitors 451 to 455 , that is, all capacitors on the LSB side).
- the second capacitor array includes a third capacitor group (containing capacitors 421 to 423 , that is, all capacitors on the MSB side), the bridge capacitor 440 and a fourth capacitor group (containing capacitors 461 to 465 , that is, all capacitors on the LSB side).
- the capacitance values of the capacitors 411 , 412 , 413 , 451 , 452 , 453 , 454 , 455 are 4C, 2C, 1C, 8C, 4C, 2C, 1C and 1C, respectively
- the capacitance values of the capacitors 421 , 422 , 423 , 461 , 462 , 463 , 464 , and 465 are 4C, 2C, 1C, 8C, 4C, 2C, 1C and 1C, respectively.
- top plate refers to the end coupled to the comparator 205
- bottom plate refers to the end not coupled to the comparator 205 .
- the control circuit 230 Before the calibration starts, the control circuit 230 first controls the SA ADC not to receive any input signal. In the calibration process, the control circuit 230 first resets the voltages of the two input terminals of the comparator 205 of the SA ADC through the control signal Rst, that is, the control circuit 230 controls the positive and negative input terminals of the comparator 205 to have the same voltage (step S 310 ). For example, in step 310 , the control circuit 230 may control the switch 270 to turn on so that the voltages of the two input terminals of the comparator 205 are equal (as shown in FIG. 4A ).
- the control circuit 230 controls the switch 270 to turn off, and then controls the bottom plate of the smallest capacitor 413 in the first capacitor group to be coupled to the first voltage V 1 and controls the bottom plates of all capacitors in the fourth capacitor group to be coupled to the second voltage V 2 (as shown in FIG. 4B ) (step S 312 ).
- the control circuit 230 controls the switches SW 1 to SW 8 and the switches SW 1 ′ to SW 8 ′ to turn on or off.
- switches SW 1 to SW 3 correspond respectively to capacitors 411 to 413
- switches SW 4 to SW 8 correspond respectively to capacitors 451 to 455
- switches SW 1 ′ to SW 3 ′ correspond respectively to capacitors 421 to 423
- switches SW 4 ′ to SW 8 ′ correspond respectively to capacitors 461 to 465 .
- control circuit 230 controls the bottom plate of the smallest capacitor 413 in the first capacitor group to switch from the first voltage V 1 to the third voltage V 3 , so as to increase the voltage difference between the two input terminals of the comparator 205 by a first voltage difference ⁇ V 1 .
- the third voltage is different from the first voltage (as shown in FIG. 4C ) (step S 314 ).
- the successive approximation register (SAR) 220 generates a digital code Dn according to the outputs of the comparator 205 , and the control circuit 230 then determines, according to the digital code Dn, the ON/OFF states of the switches SW 4 ′ to SW 8 ′ (i.e., determines the voltages (electrical potentials) to which each of the capacitors 461 , 462 , 463 , 464 and 465 couples) (step S 316 ).
- the SA ADC is subject to multiple capacitor switching operations, which determine the voltages of the bottom plates of the capacitors in the fourth capacitor group, and multiple comparison operations in step S 316 .
- the final switching state is shown in FIG. 4D —the bottom plates of the capacitors 461 , 462 , 463 and 465 are switched from the second voltage V 2 to the fourth voltage V 4 , and the bottom plate of the capacitor 464 remains coupled to the second voltage V 2 .
- the voltage difference (V 1 -V 3 ) between the first voltage V 1 and the third voltage V 3 is substantially equal to the voltage difference (V 2 -V 4 ) between the second voltage V 2 and the fourth voltage V 4 .
- the SA ADC generates a first digital code D 1
- the control circuit 230 stores the first digital code D 1 to the register 250 .
- the first digital code D 1 corresponding to FIG. 4D is 00011101. Because the capacitor 455 is a dummy capacitor, which is only used for calibration and not for practical operation, the binary and decimal values corresponding to the first digital code D 1 are 0001110 2 +1 and 14 10 +1, respectively.
- control circuit 230 resets the voltages of the two input terminals of the comparator 205 of the SA ADC again through the control signal Rst (as shown in FIG. 4A ) (step S 320 ).
- control circuit 230 controls the switch 270 to turn off, and then controls the bottom plate of the smallest capacitor 423 in the third capacitor group to be coupled to the fifth voltage V 5 and controls the bottom plates of all capacitors in the second capacitor group to be coupled to the sixth voltage V 6 (as shown in FIG. 4B ) (step S 322 ).
- control circuit 230 controls the bottom plate of the smallest capacitor 423 in the third capacitor group to switch from the fifth voltage V 5 to the seventh voltage V 7 , so as to increase the voltage difference between the two input terminals of the comparator 205 by a second voltage difference ⁇ V 2 .
- the seventh voltage is different from the fifth voltage (as shown in FIG. 4E ) (step S 324 ).
- the SAR 220 generates the digital code Dn according to the outputs of the comparator 205 , and the control circuit 230 then determines, according to the digital code Dn, the ON/OFF states of the switches SW 4 to SW 8 (i.e., determines the voltages (electrical potentials) to which each of the capacitors 451 , 452 , 453 , 454 and 455 couples) (step S 326 ).
- the SA ADC is subject to multiple capacitor switching operations, which determine the voltages of the bottom plates of the capacitors in the second capacitor group, and multiple comparison operations in step S 326 .
- the final switching state is shown in FIG.
- step S 326 the SA ADC generates a second digital code D 2 , and the control circuit 230 stores the second digital code D 2 to the register 250 .
- the second digital code D 2 corresponding to FIG. 4F is 00011001. Because the capacitor 465 is a dummy capacitor, which is only used for calibration and not for practical operation, the binary and decimal values corresponding to the second digital code D 2 are 0001100 2 +1 and 12 10 +1, respectively.
- (D 1 +D 2 )/2 can represent the analog ratio (which is also the digital ratio) of the capacitance value of the capacitor 413 to the capacitance value of the smallest capacitor ( 454 or 455 ) in the second capacitor group, or represent the analog ratio (which is also the digital ratio) of the capacitance value of the capacitor 423 to the capacitance value of the smallest capacitor ( 464 or 465 ) in the fourth capacitance group.
- the control circuit 230 may calculate the calibration factor ⁇ of the SA ADC according to the average R.
- the calibration factor ⁇ is the ratio of the average R to the ideal weight of the smallest capacitor in the first capacitor group (i.e., the capacitor 413 ) or to the ideal weight of the smallest capacitor in the third capacitor group (i.e., the capacitor 423 ).
- the circuit (not shown) that follows the SA ADC i.e., the post-stage circuit of the SA ADC
- control circuit 230 does not calculate the average R and the calibration factor ⁇ . Instead, the circuit that follows the SA ADC reads the first digital code D 1 and the second digital code D 2 from the register 250 and calculate the average R and the calibration factor ⁇ accordingly.
- the invention has the following advantages: (1) there is no need to calibrate the offset of the comparator; (2) there is no need to calibrate the capacitance values of the bridge DAC 210 ; (3) the calibration factor of the ADC can be obtained quickly (only two digital codes are needed); and (4) no specific input signal is required.
- FIG. 5 includes the following steps: first, resetting the voltages of the two input terminals of the comparator of the SA ADC (step S 510 , corresponding to FIG. 4A ); changing the terminal voltage of at least one capacitor in the first capacitor group to generate a voltage difference (step S 520 , corresponding to the transition from FIG. 4B to FIG. 4C ); next, controlling the SA ADC to generate the first digital code (step S 530 , corresponding to the transition from FIG. 4C to FIG. 4D ); next, resetting the voltages of the two input terminals of the comparator of the SA ADC (step S 540 , corresponding to FIG.
- step S 550 changing the terminal voltage of at least one capacitor in the third capacitor group to generate the voltage difference
- step S 550 controlling the SA ADC to generate the second digital code
- step S 560 corresponding to the transition from FIG. 4E to FIG. 4F
- the post-stage circuit of the SA ADC can correct the outputs of the SA ADC according to the first digital code and the second digital code.
- the voltages V 1 to V 8 may be generated by the reference voltage generating unit 260 .
- the calibration circuit and the calibration method of the present invention can be applied to other circuits employing a bridge DAC, such as the analog gain stage of an operational amplifier.
- the present invention can obtain the ratio of the equivalent capacitance value on the left side of the bridge capacitor and to the equivalent capacitance value on the right side of the bridge capacitor.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Nonlinear Science (AREA)
- Analogue/Digital Conversion (AREA)
Abstract
Description
- The present invention generally relates to circuits and methods for calibrating an analog-to-digital converter (ADC), and, more particularly, to circuits and methods for calibrating an ADC which employs a bridge digital-to-analog converter (DAC).
-
FIG. 1 is a partial circuit diagram of a conventional successive approximation ADC (SA ADC). In the conversion process of the SA ADC, which includes multiple capacitor switching operations of thebridge DAC 110 and multiple comparison operations of thecomparator 105, the voltages of the two input terminals of thecomparator 105 approach each other, and a successive approximation register (SAR) (not shown) coupled to the output terminal of thecomparator 105 generates a digital code based on the outputs of thecomparator 105. After all capacitors of thebridge DAC 110 have been switched (i.e., all capacitors are coupled to their respective appropriate voltages), the digital code generated by the SAR is the final output value of the SA ADC, which is the result of analog-to-digital conversion of the input signal which is composed of Vin and Vip. - The
bridge DAC 110 includes two capacitor arrays, each of which is coupled to one input terminal of thecomparator 105. Each capacitor array contains a 130 or 140. In the following discussion, the right side of thebridge capacitor bridge capacitor 130 or 140 (i.e., the side close to the comparator 105) is defined as the most significant bit (MSB) side of the capacitor array, and the left side (i.e., the side away from the comparator 105) the least significant bit (LSB) side of the capacitor array. Taking the capacitor array coupled to the negative input terminal of thecomparator 105 inFIG. 1 as an example, the MSB side includes the 111, 112 and 113 whose capacitance values are respectively 4C, 2C, and 1C (C being a positive number), whereas the LSB side includes thecapacitors 151, 152, 153, 154, and 155 whose capacitance values are 8C, 4C, 2C, 1C and 1C, respectively. One end of thecapacitors 111, 112 and 113 is coupled to one end of thecapacitors bridge capacitor 130 and is directly coupled to thecomparator 105, whereas one end of the 151, 152, 153, 154 and 155 is coupled to the other end of thecapacitors bridge capacitor 130 and further coupled to thecomparator 105 through thebridge capacitor 130, instead of being directly coupled to thecomparator 105. The other end of the 111, 112, 113, 151, 152, 153, 154 and 155 which is not coupled to thecapacitors bridge capacitor 130 is coupled to ground or the reference voltage Vref through the switch SW. - From the perspective of the
comparator 105, all capacitors on the LSB side of one capacitor array are collectively in series with the 130 or 140, and, ideally, the equivalent capacitance value of these capacitors (including thebridge capacitor 130 or 140 and all capacitors on its LSB side) is substantially equal to the capacitance value of the smallest capacitor on the MSB side. However, due to the difficulty of fabricating thebridge capacitor 130 or 140 with a precise capacitance value (because the capacitance value is not an integer multiple of the unit capacitance value) and the presence of inevitable parasitic capacitors (between one end of thebridge capacitor 130 or 140 and ground) from the capacitors on the LSB side, the linearity of the bridge DAC may decrease, which in turn causes the linearity of the SA ADC to decrease.bridge capacitor - The document “Split Capacitor DAC Mismatch Calibration in Successive Approximation ADC” (Yanfei Chen, et al., “Split Capacitor DAC Mismatch Calibration in Successive Approximation ADC,” Custom Integrated Circuits Conference, 2009. CICC '09. IEEE, pp. 279-282, September 2009) has proposed a method for calibrating a bridge DAC. This method, however, must calibrate the offset of the comparator beforehand, and only when the offset of the comparator is small enough, will the calibration result be accurate. The proposed method has the following disadvantages: (1) the process of calibrating the comparator takes extra time; and (2) it has been found in practical applications that despite the proposed method having been implemented, if there is still residual offset in the calibrated comparator, or if process, voltage or temperature (PVT) variations occur after the comparator has been calibrated, the linearity of the bridge DAC will still be poor, leading to adverse influences on the accuracy of the SA ADC. Therefore, it is necessary to provide methods and circuits for calibrating the ADC.
- In view of the issues of the prior art, an object of the present invention is to provide circuits and methods for calibrating an ADC, so as to make an improvement to the prior art.
- Calibration circuits and calibration method for ADCs are provided. The ADC includes a bridge digital-to-analog converter (DAC). The bridge DAC includes a first capacitor array and a second capacitor array. The first capacitor array is coupled to a first input terminal of a comparator of the ADC, and the second capacitor array is coupled to a second input terminal of the comparator. The first capacitor array includes a first capacitor group, a second capacitor group and a first bridge capacitor. The first capacitor group is electrically connected to the comparator, and the second capacitor group is coupled to the comparator through the first bridge capacitor. The second capacitor array includes a third capacitor group, a fourth capacitor group and a second bridge capacitor. The third capacitor group is electrically connected to the comparator, and the fourth capacitor group is coupled to the comparator through the second bridge capacitor.
- A method for calibrating an ADC includes the following steps: (a) resetting a voltage of the first input terminal of the comparator and a voltage of the second input terminal of the comparator; (b) changing a terminal voltage of at least one capacitor in the first capacitor group; (c) the ADC generating a first digital code; (d) resetting the voltage of the first input terminal of the comparator and the voltage of the second input terminal of the comparator after the first digital code is generated; (e) changing a terminal voltage of at least one capacitor in the third capacitor group; and (f) the ADC generating a second digital code. The first digital code and the second digital code are utilized to correct the output of the ADC.
- A circuit for calibrating an ADC includes a register and a control circuit. The control circuit is coupled to the bridge DAC and the register and is configured to perform a calibration procedure, which includes the following steps: (a) resetting a voltage of the first input terminal of the comparator and a voltage of the second input terminal of the comparator; (b) changing a terminal voltage of at least one capacitor in the first capacitor group; (c) storing a first digital code of the ADC to the register; (d) resetting the voltage of the first input terminal of the comparator and the voltage of the second input terminal of the comparator after the first digital code is generated; (e) changing a terminal voltage of at least one capacitor in the third capacitor group; (f) storing a second digital code of the ADC to the register. The first digital code and the second digital code are utilized to correct the output of the ADC.
- According to the circuits and methods of the present invention for calibrating the ADC, the ADC can be calibrated in a simple manner Compared with the conventional calibration method, the present invention does not need to calibrate the offset of the comparator beforehand. Therefore, the circuits and methods of the present invention are easier to implement, and the calibration process is faster.
- These and other objectives of the present invention no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiments with reference to the various figures and drawings.
-
FIG. 1 illustrates a partial circuit diagram of the conventional SA ADC. -
FIG. 2 illustrates a functional block diagram of a combination of the ADC calibration circuit of the present invention and the SA ADC. -
FIG. 3 illustrates a flowchart of the method of calibrating the ADC according to an embodiment of the present invention. -
FIG. 4A toFIG. 4F are schematic diagrams showing the switching states of the switches of the bridge DAC during the calibration process of the present invention. -
FIG. 5 illustrates a flowchart of the method of calibrating the ADC according to another embodiment of the present invention. - The following description is written by referring to terms of this technical field. If any term is defined in this specification, such term should be interpreted accordingly. In addition, the connection between objects or events in the below-described embodiments can be direct or indirect provided that these embodiments are practicable under such connection. Said “indirect” means that an intermediate object or a physical space exists between the objects, or an intermediate event or a time interval exists between the events.
- The disclosure herein includes calibration circuits and calibration methods for ADCs. On account of that some or all elements of the calibration circuits could be known, the detail of such elements is omitted provided that such detail has little to do with the features of this disclosure, and that this omission nowhere dissatisfies the specification and enablement requirements. Some or all of the processes of the calibration methods may be implemented by software and/or firmware, and can be performed by the calibration circuits or their equivalents. A person having ordinary skill in the art can choose components or steps equivalent to those described in this specification to carry out the present invention, which means that the scope of this invention is not limited to the embodiments in the specification.
-
FIG. 2 is a functional block diagram of a combination of the ADC calibration circuit of the present invention and the SA ADC.FIG. 3 is a flowchart of the method of calibrating the ADC according to an embodiment of the present invention.FIG. 4A toFIG. 4F are schematic diagrams showing the switching states of the switches of the bridge DAC during the calibration process of the present invention. The bridge DAC 210 includes two capacitor arrays. In the following description, the capacitor array coupled to the negative input terminal of thecomparator 205 is referred to as the first capacitor array, and the capacitor array coupled to the positive input terminal of thecomparator 205 is referred to as the second capacitor array. The first capacitor array includes a first capacitor group (containing capacitors 411 to 413, that is, all capacitors on the MSB side), thebridge capacitor 430 and a second capacitor group (containingcapacitors 451 to 455, that is, all capacitors on the LSB side). The second capacitor array includes a third capacitor group (containingcapacitors 421 to 423, that is, all capacitors on the MSB side), thebridge capacitor 440 and a fourth capacitor group (containingcapacitors 461 to 465, that is, all capacitors on the LSB side). - In the following description, it is assumed that the capacitance values of the
411, 412, 413, 451, 452, 453, 454, 455 are 4C, 2C, 1C, 8C, 4C, 2C, 1C and 1C, respectively, and the capacitance values of thecapacitors 421, 422, 423, 461, 462, 463, 464, and 465 are 4C, 2C, 1C, 8C, 4C, 2C, 1C and 1C, respectively. In addition, in the following description, two ends of a capacitor are defined as a top plate and a bottom plate, respectively; the top plate refers to the end coupled to thecapacitors comparator 205, whereas the bottom plate refers to the end not coupled to thecomparator 205. Such definition is made only for the ease of discussion and not necessarily related to “top” and “bottom” in the actual circuit. - Before the calibration starts, the
control circuit 230 first controls the SA ADC not to receive any input signal. In the calibration process, thecontrol circuit 230 first resets the voltages of the two input terminals of thecomparator 205 of the SA ADC through the control signal Rst, that is, thecontrol circuit 230 controls the positive and negative input terminals of thecomparator 205 to have the same voltage (step S310). For example, in step 310, thecontrol circuit 230 may control theswitch 270 to turn on so that the voltages of the two input terminals of thecomparator 205 are equal (as shown inFIG. 4A ). - After the reset operation is completed, the
control circuit 230 controls theswitch 270 to turn off, and then controls the bottom plate of thesmallest capacitor 413 in the first capacitor group to be coupled to the first voltage V1 and controls the bottom plates of all capacitors in the fourth capacitor group to be coupled to the second voltage V2 (as shown inFIG. 4B ) (step S312). Through the control signal Csw, thecontrol circuit 230 controls the switches SW1 to SW8 and the switches SW1′ to SW8′ to turn on or off. The switches SW1 to SW3 correspond respectively to capacitors 411 to 413, switches SW4 to SW8 correspond respectively tocapacitors 451 to 455, switches SW1′ to SW3′ correspond respectively tocapacitors 421 to 423, and switches SW4′ to SW8′ correspond respectively tocapacitors 461 to 465. - Next, the
control circuit 230 controls the bottom plate of thesmallest capacitor 413 in the first capacitor group to switch from the first voltage V1 to the third voltage V3, so as to increase the voltage difference between the two input terminals of thecomparator 205 by a first voltage difference ΔV1. The third voltage is different from the first voltage (as shown inFIG. 4C ) (step S314). - Next, in several operation cycles (controlled by the clock signal) of the SA ADC, the successive approximation register (SAR) 220 generates a digital code Dn according to the outputs of the
comparator 205, and thecontrol circuit 230 then determines, according to the digital code Dn, the ON/OFF states of the switches SW4′ to SW8′ (i.e., determines the voltages (electrical potentials) to which each of the 461, 462, 463, 464 and 465 couples) (step S316). In other words, the SA ADC is subject to multiple capacitor switching operations, which determine the voltages of the bottom plates of the capacitors in the fourth capacitor group, and multiple comparison operations in step S316. The final switching state is shown incapacitors FIG. 4D —the bottom plates of the 461, 462, 463 and 465 are switched from the second voltage V2 to the fourth voltage V4, and the bottom plate of the capacitor 464 remains coupled to the second voltage V2. The voltage difference (V1-V3) between the first voltage V1 and the third voltage V3 is substantially equal to the voltage difference (V2-V4) between the second voltage V2 and the fourth voltage V4. At the end of step S316, the SA ADC generates a first digital code D1, and thecapacitors control circuit 230 stores the first digital code D1 to theregister 250. The first digital code D1 corresponding toFIG. 4D is 00011101. Because thecapacitor 455 is a dummy capacitor, which is only used for calibration and not for practical operation, the binary and decimal values corresponding to the first digital code D1 are 00011102+1 and 1410+1, respectively. - Next, the
control circuit 230 resets the voltages of the two input terminals of thecomparator 205 of the SA ADC again through the control signal Rst (as shown inFIG. 4A ) (step S320). - After the reset operation is completed, the
control circuit 230 controls theswitch 270 to turn off, and then controls the bottom plate of thesmallest capacitor 423 in the third capacitor group to be coupled to the fifth voltage V5 and controls the bottom plates of all capacitors in the second capacitor group to be coupled to the sixth voltage V6 (as shown inFIG. 4B ) (step S322). - Next, the
control circuit 230 controls the bottom plate of thesmallest capacitor 423 in the third capacitor group to switch from the fifth voltage V5 to the seventh voltage V7, so as to increase the voltage difference between the two input terminals of thecomparator 205 by a second voltage difference ΔV2. The seventh voltage is different from the fifth voltage (as shown inFIG. 4E ) (step S324). - Next, in several operation cycles (controlled by the clock signal) of the SA ADC, the
SAR 220 generates the digital code Dn according to the outputs of thecomparator 205, and thecontrol circuit 230 then determines, according to the digital code Dn, the ON/OFF states of the switches SW4 to SW8 (i.e., determines the voltages (electrical potentials) to which each of the 451, 452, 453, 454 and 455 couples) (step S326). In other words, the SA ADC is subject to multiple capacitor switching operations, which determine the voltages of the bottom plates of the capacitors in the second capacitor group, and multiple comparison operations in step S326. The final switching state is shown incapacitors FIG. 4F —the bottom plates of the 451, 452 and 455 are switched from the sixth voltage V6 to the eighth voltage V8, and the bottom plates of thecapacitors 453 and 454 remain coupled to the sixth voltage V6. The voltage difference (V5−V7) between the fifth voltage V5 and the seventh voltage V7 is substantially equal to the voltage difference (V6−V8) between the sixth voltage V6 and the eighth voltage V8. At the end of step S326, the SA ADC generates a second digital code D2, and thecapacitors control circuit 230 stores the second digital code D2 to theregister 250. The second digital code D2 corresponding toFIG. 4F is 00011001. Because thecapacitor 465 is a dummy capacitor, which is only used for calibration and not for practical operation, the binary and decimal values corresponding to the second digital code D2 are 00011002+1 and 1210+1, respectively. - Finally, in some embodiments, the
control circuit 230 calculates an average of the first digital code D1 and the second digital code D2 (step S330). More specifically, assuming that there is a voltage offset Vos=V+−V− between the positive input terminal (V+) and the negative input terminal (V−) of thecomparator 205, the first digital code D1 reflects the sum of the first voltage difference ΔV1 and the voltage offset Vos, namely, D1=ΔV1+Vos, and the second digital code D2 reflects the difference between the second voltage difference ΔV2 and the voltage offset Vos, namely, D2=ΔV2−Vos. The average of the first digital code D1 and the second digital code D2 is (D1+D2)/2=(ΔV1+ΔV2)/2. When thecapacitor 413 and thecapacitor 423 are substantially the same (i.e., ΔV1=ΔV2=ΔV), (D1+D2)/2=ΔV. In other words, (D1+D2)/2 can represent the analog ratio (which is also the digital ratio) of the capacitance value of thecapacitor 413 to the capacitance value of the smallest capacitor (454 or 455) in the second capacitor group, or represent the analog ratio (which is also the digital ratio) of the capacitance value of thecapacitor 423 to the capacitance value of the smallest capacitor (464 or 465) in the fourth capacitance group. For the example circuits ofFIGS. 4D and 4F , the average R=(D1+D2)/2=(00011112+00011012)/2=0510+1310/2=1410. - The
control circuit 230 may calculate the calibration factor α of the SA ADC according to the average R. The calibration factor α is the ratio of the average R to the ideal weight of the smallest capacitor in the first capacitor group (i.e., the capacitor 413) or to the ideal weight of the smallest capacitor in the third capacitor group (i.e., the capacitor 423). The circuit (not shown) that follows the SA ADC (i.e., the post-stage circuit of the SA ADC) can correct, according to the calibration factor α, the digital code Dn generated by the SA ADC. Take the first capacitor array as an example, because the ideal digital weights (decimal) of the 454, 453, 452, 451, 413, 412 and 411 are 1, 2, 4, 8, 16, 32 and 64, respectively, the calibration factor α is 14/16. Only the first capacitor group and the third capacitor group need correct the weight, while the second capacitor group and the fourth capacitor group need not correct the weight. After corrected with the calibration factor α, the actual weights of the capacitors 413 (or 423), 412 (or 422), 411 (or 421) become 16*α=14, 32*α=28, and 64*α=56, respectively.capacitors - In some embodiments, the
control circuit 230 does not calculate the average R and the calibration factor α. Instead, the circuit that follows the SA ADC reads the first digital code D1 and the second digital code D2 from theregister 250 and calculate the average R and the calibration factor α accordingly. - The invention has the following advantages: (1) there is no need to calibrate the offset of the comparator; (2) there is no need to calibrate the capacitance values of the
bridge DAC 210; (3) the calibration factor of the ADC can be obtained quickly (only two digital codes are needed); and (4) no specific input signal is required. - The above-mentioned calibration process can be summarized in
FIG. 5 , which includes the following steps: first, resetting the voltages of the two input terminals of the comparator of the SA ADC (step S510, corresponding toFIG. 4A ); changing the terminal voltage of at least one capacitor in the first capacitor group to generate a voltage difference (step S520, corresponding to the transition fromFIG. 4B toFIG. 4C ); next, controlling the SA ADC to generate the first digital code (step S530, corresponding to the transition fromFIG. 4C toFIG. 4D ); next, resetting the voltages of the two input terminals of the comparator of the SA ADC (step S540, corresponding toFIG. 4A ); changing the terminal voltage of at least one capacitor in the third capacitor group to generate the voltage difference (step S550, corresponding to the transition fromFIG. 4B toFIG. 4E ); next, controlling the SA ADC to generate the second digital code (step S560, corresponding to the transition fromFIG. 4E toFIG. 4F ). After the first digital code and the second digital code are obtained, the post-stage circuit of the SA ADC can correct the outputs of the SA ADC according to the first digital code and the second digital code. - In some embodiments, V1=V2 and V3=V4. In some embodiments, V5=V6 and V7=V8. In other embodiments, V1=V2=V5=V6 and V3=V4=V7=V8. The voltages V1 to V8 may be generated by the reference
voltage generating unit 260. - Although the above description takes SA ADC as an example, the calibration circuit and the calibration method of the present invention can be applied to other circuits employing a bridge DAC, such as the analog gain stage of an operational amplifier. For operational amplifiers, whether the operational amplifier has offset or not, the present invention can obtain the ratio of the equivalent capacitance value on the left side of the bridge capacitor and to the equivalent capacitance value on the right side of the bridge capacitor.
- Since a person having ordinary skill in the art can appreciate the implementation detail and the modification thereto of the present method invention through the disclosure of the device invention, repeated and redundant description is thus omitted. Please note that there is no step sequence limitation for the method inventions as long as the execution of each step is applicable. Furthermore, the shape, size, and ratio of any element and the step sequence of any flow chart in the disclosed figures are exemplary for understanding, not for limiting the scope of this invention.
- The aforementioned descriptions represent merely the preferred embodiments of the present invention, without any intention to limit the scope of the present invention thereto. Various equivalent changes, alterations, or modifications based on the claims of the present invention are all consequently viewed as being embraced by the scope of the present invention.
Claims (10)
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW108121544A TWI677195B (en) | 2019-06-20 | 2019-06-20 | Calibration circuit and calibration method for adc |
| TW108121544A | 2019-06-20 | ||
| TW108121544 | 2019-06-20 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| US10862498B1 US10862498B1 (en) | 2020-12-08 |
| US20200403632A1 true US20200403632A1 (en) | 2020-12-24 |
Family
ID=69188773
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US16/905,284 Active US10862498B1 (en) | 2019-06-20 | 2020-06-18 | Calibration circuit and calibration method for ADC |
Country Status (2)
| Country | Link |
|---|---|
| US (1) | US10862498B1 (en) |
| TW (1) | TWI677195B (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2022164841A1 (en) * | 2021-01-26 | 2022-08-04 | Texas Instruments Incorporated | Lookup-table-based analog-to-digital converter |
| US20230055172A1 (en) * | 2021-06-24 | 2023-02-23 | Seiko Epson Corporation | Da conversion circuit, electro-optical device and electronic apparatus |
| US11595053B2 (en) | 2018-12-12 | 2023-02-28 | Texas Instruments Incorporated | Analog-to-digital converter with interpolation |
| US11881867B2 (en) | 2021-02-01 | 2024-01-23 | Texas Instruments Incorporated | Calibration scheme for filling lookup table in an ADC |
| US11962318B2 (en) | 2021-01-12 | 2024-04-16 | Texas Instruments Incorporated | Calibration scheme for a non-linear ADC |
| US12101096B2 (en) | 2021-02-23 | 2024-09-24 | Texas Instruments Incorporated | Differential voltage-to-delay converter with improved CMRR |
| US12206427B2 (en) | 2021-02-01 | 2025-01-21 | Texas Instruments Incorporated | Lookup table for non-linear systems |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11206038B2 (en) * | 2018-01-12 | 2021-12-21 | Sony Semiconductor Solutions Corporation | Successive approximation register analog-to-digital converter |
| JP2019176314A (en) * | 2018-03-28 | 2019-10-10 | 株式会社オートネットワーク技術研究所 | Correction device for ad converter and ad conversion device |
| US11233522B2 (en) * | 2020-05-28 | 2022-01-25 | Semiconductor Components Industries, Llc | High-speed successive approximation analog-to-digital converter with improved mismatch tolerance |
| CN113810052B (en) * | 2021-09-22 | 2024-01-30 | 思瑞浦微电子科技(苏州)股份有限公司 | Successive approximation analog-to-digital converter based on capacitance mismatch calibration circuit |
| TWI898182B (en) * | 2023-02-07 | 2025-09-21 | 瑞昱半導體股份有限公司 | Signal receiving circuit and calibration method thereof |
| US12476651B2 (en) * | 2023-10-02 | 2025-11-18 | Infineon Technologies Austria Ag | Single ended conversions on a true differential analog to digital converter (ADC) |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI407702B (en) * | 2010-04-27 | 2013-09-01 | Univ Nat Taiwan | Analog-to-digital converter with sub-range and method thereof |
| TWI497918B (en) * | 2012-12-28 | 2015-08-21 | Ind Tech Res Inst | Analog to digital converter and capacitors weighting evaluating method of digital to analog converter thereof |
| TWI591969B (en) * | 2016-04-15 | 2017-07-11 | 瑞昱半導體股份有限公司 | Calibration circuit and calibration method for DAC |
| US10659069B2 (en) * | 2018-02-02 | 2020-05-19 | Analog Devices, Inc. | Background calibration of non-linearity of samplers and amplifiers in ADCs |
| US10523228B1 (en) * | 2018-12-18 | 2019-12-31 | Ipgreat Incorporated | Method of capacitive DAC calibration for SAR ADC |
| TWI693799B (en) * | 2019-01-23 | 2020-05-11 | 創意電子股份有限公司 | Analog to digital converter device and method for calibrating clock skew |
| US10742226B1 (en) * | 2019-06-17 | 2020-08-11 | The 58Th Research Institute Of China Electronics Technology Group Corporation | Multi-channel high-precision ADC circuit with self-calibration of mismatch error |
-
2019
- 2019-06-20 TW TW108121544A patent/TWI677195B/en active
-
2020
- 2020-06-18 US US16/905,284 patent/US10862498B1/en active Active
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11595053B2 (en) | 2018-12-12 | 2023-02-28 | Texas Instruments Incorporated | Analog-to-digital converter with interpolation |
| US11962318B2 (en) | 2021-01-12 | 2024-04-16 | Texas Instruments Incorporated | Calibration scheme for a non-linear ADC |
| WO2022164841A1 (en) * | 2021-01-26 | 2022-08-04 | Texas Instruments Incorporated | Lookup-table-based analog-to-digital converter |
| US11881867B2 (en) | 2021-02-01 | 2024-01-23 | Texas Instruments Incorporated | Calibration scheme for filling lookup table in an ADC |
| US12206427B2 (en) | 2021-02-01 | 2025-01-21 | Texas Instruments Incorporated | Lookup table for non-linear systems |
| US12101096B2 (en) | 2021-02-23 | 2024-09-24 | Texas Instruments Incorporated | Differential voltage-to-delay converter with improved CMRR |
| US20230055172A1 (en) * | 2021-06-24 | 2023-02-23 | Seiko Epson Corporation | Da conversion circuit, electro-optical device and electronic apparatus |
| US11658676B2 (en) * | 2021-06-24 | 2023-05-23 | Seiko Epson Corporation | DA conversion circuit, electro-optical device and electronic apparatus |
| US11831327B2 (en) | 2021-06-24 | 2023-11-28 | Seiko Epson Corporation | DA conversion circuit, electro-optical device and electronic apparatus |
Also Published As
| Publication number | Publication date |
|---|---|
| TWI677195B (en) | 2019-11-11 |
| TW202101914A (en) | 2021-01-01 |
| US10862498B1 (en) | 2020-12-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10862498B1 (en) | Calibration circuit and calibration method for ADC | |
| US10069506B2 (en) | Calibration circuit and calibration method for DAC | |
| CN112202448B (en) | Successive approximation type analog-to-digital converter, calibration method thereof and electronic equipment | |
| US8451151B2 (en) | Successive approximation analog to digital converter with capacitor mismatch calibration and method thereof | |
| US8482446B2 (en) | A/D converter circuit, electronic apparatus and A/D conversion method | |
| US10581443B2 (en) | Method and apparatus for offset correction in SAR ADC with reduced capacitor array DAC | |
| US7893860B2 (en) | Successive approximation register analog-digital converter and method of driving the same | |
| US7733258B2 (en) | Data conversion circuitry for converting analog signals to digital signals and vice-versa and method therefor | |
| US20100079327A1 (en) | Data conversion circuitry and method therefor | |
| US11424754B1 (en) | Noise-shaping analog-to-digital converter | |
| US20100079319A1 (en) | Data conversion circuitry and method therefor | |
| US20100079318A1 (en) | Data conversion circuitry and method therefor | |
| US9191018B2 (en) | Analog-digital converter | |
| US10693487B1 (en) | Successive approximation register analog-to-digital converter and operation method thereof | |
| US20110148680A1 (en) | Digital-analog converting apparatus and test apparatus | |
| CN107306135B (en) | Correction circuit and correction method for digital-to-analog converter | |
| CN113810052B (en) | Successive approximation analog-to-digital converter based on capacitance mismatch calibration circuit | |
| CN114696834B (en) | Successive approximation analog-to-digital converter, test equipment and capacitance weight value calibration method | |
| US11637558B2 (en) | Analog-to-digital converter capable of reducing nonlinearity and method of operating the same | |
| US11489539B1 (en) | Analog-to-digital converter and method of operating same | |
| CN112152620B (en) | Correction circuit and correction method for analog-digital converter | |
| TW202249437A (en) | Method of operating analog-to-digital converter | |
| US10840931B2 (en) | Digital to analog and analog to digital converter | |
| CN120546689A (en) | Segmented resistor DAC dynamic mismatch calibration circuit and calibration method for successive approximation ADC | |
| CN118590062A (en) | A calibration method and related device for a successive approximation register type analog-to-digital converter |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AS | Assignment |
Owner name: REALTEK SEMICONDUCTOR CORPORATION, TAIWAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CHEN, YU-CHANG;HUANG, SHIH-HSIUNG;LIN, JIAN-RU;REEL/FRAME:052979/0345 Effective date: 20200226 |
|
| FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
| MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |