CN109802678B - Successive approximation analog-to-digital converter and digital calibration method and device thereof - Google Patents
Successive approximation analog-to-digital converter and digital calibration method and device thereof Download PDFInfo
- Publication number
- CN109802678B CN109802678B CN201711146589.6A CN201711146589A CN109802678B CN 109802678 B CN109802678 B CN 109802678B CN 201711146589 A CN201711146589 A CN 201711146589A CN 109802678 B CN109802678 B CN 109802678B
- Authority
- CN
- China
- Prior art keywords
- conversion
- capacitor
- calibrated
- bit
- capacitors
- 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.)
- Active
Links
Images
Landscapes
- Analogue/Digital Conversion (AREA)
Abstract
The invention discloses a successive approximation analog-to-digital converter and a digital calibration method and a digital calibration device thereof, wherein the method comprises the following steps: sequentially acquiring calibration codes of conversion positions corresponding to capacitors to be calibrated from the highest conversion position of the conversion positions corresponding to the capacitors to be calibrated to the lower position, converting an input analog signal according to a normal successive approximation mode to obtain a binary conversion value, and calculating the sum of the calibration codes of the conversion positions corresponding to the binary conversion value 1; and calculating a difference value between the binary conversion value and the sum of the calibration codes of the conversion bits corresponding to the conversion value 1 in the quasi-conversion bits corresponding to the capacitor to be calibrated so as to obtain the conversion value of the ADC after verification. The method can effectively calibrate the mismatch error between the capacitors caused by the parasitic capacitors and the process manufacturing error, and avoid the problem of inaccurate twofold relation between the capacitors caused by the mismatch error, thereby effectively improving the precision of the ADC.
Description
Technical Field
The present invention relates to the field of analog-to-digital conversion technologies, and in particular, to a digital calibration method for a successive approximation analog-to-digital converter, a non-transitory computer-readable storage medium, a digital calibration apparatus for a successive approximation analog-to-digital converter, and a successive approximation analog-to-digital converter having the same.
Background
Analog-to-digital converters (ADCs) have been rapidly developed in the integrated circuit and information industries as bridges for connecting analog signals and digital signals, and have been widely used because they have the comprehensive advantages of medium conversion accuracy, medium conversion speed, low power consumption, and low cost. In general, the sar adc is mainly composed of a digital-to-analog converter (DAC), a comparator, a digital control part, and other analog circuits, and the core of the sar adc is the DAC, the comparator, and the digital control part.
As one of the key elements of the charge redistribution type SAR ADC, the accuracy of a digital-to-analog converter (DAC) formed by a binary weighted capacitor array directly determines the accuracy of the entire analog-to-digital converter (ADC). Under the existing process conditions, parasitic resistances and parasitic capacitances of various devices and wiring lines and errors in the process of manufacturing are caused, so that the double relation between adjacent capacitances of the DAC is not accurate enough, and the precision of the ADC is greatly reduced. For example, in the conventional process manufacturing, the minimum mismatch ratio of the capacitance is about 0.1%, which means that the accuracy of the whole ADC can only reach about 10 bits at most, and in order to improve the accuracy of the ADC, the mismatch due to the process deviation must be calibrated.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. Therefore, a first objective of the present invention is to provide a digital calibration method for a successive approximation analog-to-digital converter, which can effectively calibrate a mismatch error between capacitors due to parasitic capacitance and a process manufacturing error, and avoid a problem that a double relation between capacitors is inaccurate due to the mismatch error, thereby effectively improving the accuracy of an ADC.
A second object of the invention is to propose a non-transitory computer-readable storage medium.
A third object of the present invention is to provide a digital calibration apparatus for a successive approximation analog-to-digital converter.
A fourth object of the present invention is to provide a successive approximation analog-to-digital converter.
In order to achieve the above object, a first embodiment of the present invention provides a digital calibration method for a successive approximation analog-to-digital converter, where the successive approximation analog-to-digital converter includes a digital-to-analog conversion module DAC and a comparator, the DAC includes a low-stage part and a high-stage part, the low-stage part and the high-stage part both include L capacitors with capacitance values increasing in a twofold relationship, one end of each of the L capacitors of the low-stage part is connected to one end of a compensation capacitor and one end of a coupling capacitor, one end of each of the L capacitors of the high-stage part is connected to the other end of the coupling capacitor and then connected to a first input end of the comparator as an output end of the ADC, and the other end of each of the L capacitors of the low-stage part, the other end of each capacitor of the high-stage part, and the other end of the compensation capacitor are connected to a first input end of an analog signal input end, respectively, The voltage reference terminal or the ground, and the second input terminal of the comparator is connected to the common-mode voltage supply terminal, the method includes the following steps: sequentially acquiring calibration codes of conversion positions corresponding to the capacitors to be calibrated from the highest conversion position of the conversion positions corresponding to the capacitors to be calibrated to a lower position; converting an input analog signal according to a normal successive approximation mode to obtain a binary conversion value; calculating the sum of calibration codes of conversion bits corresponding to the conversion values of 1 in the binary conversion values; and calculating a difference value between the binary conversion value and the sum of the calibration codes of the conversion bits corresponding to the conversion value of 1 in the binary conversion value to obtain the conversion value of the checked ADC.
According to the digital calibration method for the successive approximation analog-to-digital converter of the embodiment of the invention, calibration codes of conversion bits corresponding to capacitors to be calibrated are sequentially acquired from the highest conversion bit of the conversion bits corresponding to the capacitors to be calibrated to the lower bits, then an input analog signal is converted according to a normal successive approximation mode to obtain a binary conversion value, finally, the sum of the calibration codes of the conversion bits corresponding to the binary conversion value 1 is calculated, and the difference between the binary conversion value and the sum of the calibration codes of the conversion bits corresponding to the binary conversion value 1 is calculated to obtain the conversion value of the checked ADC. The method can effectively calibrate the mismatch error between the capacitors caused by the parasitic capacitors and the process manufacturing error, and avoid the problem of inaccurate twofold relation between the capacitors caused by the mismatch error, thereby effectively improving the precision of the ADC.
According to an embodiment of the present invention, the sequentially obtaining calibration codes of the conversion bits corresponding to the capacitor to be calibrated from the highest conversion bit of the conversion bits corresponding to the capacitor to be calibrated to the lower bits includes: sequentially acquiring an error code of each conversion bit in the conversion bits corresponding to the capacitor to be calibrated from the highest conversion bit of the conversion bits corresponding to the capacitor to be calibrated to a lower bit; and acquiring a calibration code of each conversion bit in the conversion bits corresponding to the capacitor to be calibrated according to the error code of each conversion bit, wherein the calibration code of the highest conversion bit in the conversion bits corresponding to the capacitor to be calibrated is equal to one half of the error code of the highest conversion bit, and in the conversion bits corresponding to the capacitor to be calibrated, the calibration code of the conversion bit lower than the highest conversion bit is equal to one half of the difference between the error code of the low conversion bit and the calibration code of all conversion bits higher than the low conversion bit.
According to an embodiment of the present invention, the obtaining an error code of each conversion bit in the conversion bits corresponding to the capacitor to be calibrated includes: firstly, connecting the output end of the DAC with the common-mode voltage providing end, connecting the other end of the capacitor corresponding to the conversion bit lower than the conversion bit corresponding to the capacitor to be calibrated with the reference voltage end, and connecting the other end of the capacitor to be calibrated and the other end of the capacitor corresponding to the conversion bit higher than the conversion bit corresponding to the capacitor to be calibrated with the ground; disconnecting the output end of the DAC from the common-mode voltage providing end, connecting the other end of the capacitor to be calibrated with the voltage reference end, and connecting the other ends of all the capacitors except the capacitor to be calibrated with the ground to obtain the error voltage of the conversion bit to be calibrated at the output end of the DAC; and measuring the error voltage of the conversion bit corresponding to the capacitor to be calibrated to obtain the error code of the conversion bit corresponding to the capacitor to be calibrated.
According to an embodiment of the present invention, the measuring the error voltage of the conversion bit to be calibrated to obtain the error code of the conversion bit corresponding to the capacitor to be calibrated includes: and measuring the error voltage of the conversion bit corresponding to the capacitor needing to be calibrated according to the lower bits of the conversion bit corresponding to the capacitor not needing to be calibrated so as to obtain the error code of the conversion bit corresponding to the capacitor needing to be calibrated.
According to an embodiment of the present invention, when acquiring the calibration code of the conversion bit corresponding to the capacitor to be calibrated, the following condition needs to be satisfied: and the capacitance value of the capacitor to be calibrated is less than the sum of the capacitance values of the capacitors of the conversion bits lower than the conversion bit corresponding to the capacitor to be calibrated.
To achieve the above object, a second embodiment of the invention proposes a non-transitory computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the above digital calibration method for a successive approximation analog-to-digital converter.
By implementing the digital calibration method for the successive approximation analog-to-digital converter, the non-transitory computer-readable storage medium of the embodiment of the invention can effectively calibrate the mismatch error between the capacitors caused by parasitic capacitance and process manufacturing errors, and avoid the problem of inaccurate double relation between the capacitors caused by the mismatch error, thereby effectively improving the precision of the ADC.
In order to achieve the above object, a digital calibration apparatus for a successive approximation analog-to-digital converter is provided in an embodiment of a third aspect of the present invention, where the successive approximation analog-to-digital converter includes a digital-to-analog conversion module DAC and a comparator, the DAC includes a low-level part and a high-level part, the low-level part and the high-level part both include L capacitors with capacitance values increasing in a twofold relationship, one end of each of the L capacitors of the low-level part is connected to one end of a compensation capacitor and one end of a coupling capacitor, one end of each of the L capacitors of the high-level part is connected to the other end of the coupling capacitor and then connected to a first input end of the comparator as an output end of the ADC, and the other end of each of the L capacitors of the low-level part, the other end of each capacitor of the high-level part, and the other end of the compensation capacitor are connected to an analog signal input end of the comparator respectively, The voltage reference terminal or the ground, the second input terminal of the comparator is connected with the common-mode voltage supply terminal, and the device comprises: the acquisition module is used for sequentially acquiring calibration codes of conversion bits corresponding to the capacitors to be calibrated from the highest conversion bit of the conversion bits corresponding to the capacitors to be calibrated to the lower bits; the conversion module is used for converting the input analog signal according to a normal successive approximation mode to obtain a binary conversion value; and the calculation module is respectively connected with the conversion module and the acquisition module, and is used for calculating the sum of the calibration codes of the conversion bits corresponding to the conversion values of 1 in the binary conversion values and calculating the difference between the binary conversion values and the sum of the calibration codes of the conversion bits corresponding to the conversion values of 1 in the binary conversion values so as to obtain the conversion values of the checked ADC.
According to the digital calibration device for the successive approximation analog-to-digital converter provided by the embodiment of the invention, the calibration codes of the conversion bits corresponding to the capacitors to be calibrated are sequentially acquired from the highest conversion bit of the conversion bits corresponding to the capacitors to be calibrated to the lower bits through the acquisition module, the input analog signals are converted through the conversion module according to a normal successive approximation mode to obtain the binary conversion value, then the sum of the calibration codes of the conversion bits corresponding to the conversion value of 1 in the binary conversion value is calculated through the calculation module, and the difference between the binary conversion value and the sum of the calibration codes of the conversion bits corresponding to the conversion value of 1 in the binary conversion value is calculated to obtain the conversion value of the calibrated ADC. The device can effectively calibrate the mismatch error between the capacitors caused by parasitic capacitance and process manufacturing errors, and avoid the problem of inaccurate twofold relation between the capacitors caused by the mismatch error, thereby effectively improving the precision of the ADC.
According to one embodiment of the invention, the obtaining module comprises: the first obtaining submodule is used for sequentially obtaining an error code of each conversion bit in the conversion bits corresponding to the capacitor to be calibrated from the highest conversion bit of the conversion bits corresponding to the capacitor to be calibrated to a low bit; and a second obtaining submodule, configured to obtain, according to the error code of each conversion bit, a calibration code of each conversion bit in conversion bits corresponding to the capacitor to be calibrated, where a calibration code of a highest conversion bit in the conversion bits corresponding to the capacitor to be calibrated is equal to one half of the error code of the highest conversion bit, and in the conversion bits corresponding to the capacitor to be calibrated, a calibration code of a conversion bit lower than the highest conversion bit is equal to one half of a difference between the error code of the low conversion bit and calibration codes of all conversion bits higher than the low conversion bit.
According to an embodiment of the present invention, when acquiring an error code of each conversion bit in the conversion bits corresponding to the capacitor to be calibrated, the first acquiring sub-module includes: firstly, connecting the output end of the DAC with the common-mode voltage providing end, connecting the other end of the capacitor corresponding to the conversion bit lower than the conversion bit corresponding to the capacitor to be calibrated with the reference voltage end, and connecting the other end of the capacitor to be calibrated and the other end of the capacitor corresponding to the conversion bit higher than the conversion bit to be calibrated with the ground; disconnecting the output end of the DAC from the common-mode voltage providing end, connecting the other end of the capacitor to be calibrated with the voltage reference end, and connecting the other ends of all the capacitors except the capacitor to be calibrated with the ground, so that the first obtaining submodule obtains the error voltage of the conversion bit corresponding to the capacitor to be calibrated at the output end of the DAC; and measuring the error voltage of the conversion bit corresponding to the capacitor to be calibrated to obtain the error code of the conversion bit corresponding to the capacitor to be calibrated.
According to an embodiment of the present invention, when the first obtaining sub-module measures the error voltage of the conversion bit corresponding to the capacitor to be calibrated to obtain the error code of the conversion bit corresponding to the capacitor to be calibrated, the first obtaining sub-module measures the error voltage of the conversion bit corresponding to the capacitor to be calibrated according to the lower bits of the conversion bit corresponding to the capacitor not to be calibrated to obtain the error code of the conversion bit corresponding to the capacitor to be calibrated. According to an embodiment of the present invention, when the first obtaining sub-module obtains the calibration code of the conversion bit corresponding to the capacitor to be calibrated, the following condition needs to be satisfied: and the capacitance value of the capacitor to be calibrated is less than the sum of the capacitance values of the capacitors of the conversion bits lower than the conversion bit corresponding to the capacitor to be calibrated.
In order to achieve the above object, a fourth aspect of the present invention provides a successive approximation analog-to-digital converter, which includes the above digital calibration apparatus for a successive approximation analog-to-digital converter.
According to the successive approximation analog-to-digital converter provided by the embodiment of the invention, through the digital calibration device, the mismatch error between the capacitors caused by parasitic capacitance and process manufacturing errors can be effectively calibrated, and the problem of inaccurate double relation between the capacitors caused by the mismatch error is avoided, so that the precision of an ADC (analog-to-digital converter) can be effectively improved.
Drawings
FIG. 1 is a circuit diagram of an M-bit two-stage capacitor successive approximation analog-to-digital converter according to an embodiment of the present invention;
FIG. 2 is a flow diagram of a digital calibration method for a successive approximation analog to digital converter according to one embodiment of the present invention;
FIG. 3 is a circuit diagram of a successive approximation analog-to-digital converter of a capacitor precharge phase according to one embodiment of the present invention;
FIG. 4 is a circuit diagram of a successive approximation analog to digital converter in the capacitance redistribution stage according to one embodiment of the invention;
FIG. 5 is a block schematic diagram of a digital calibration apparatus for a successive approximation analog to digital converter according to one embodiment of the present invention; and
fig. 6 is a block diagram of a digital calibration apparatus for a successive approximation analog-to-digital converter according to another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A digital calibration method for a successive approximation analog-to-digital converter, a non-transitory computer-readable storage medium, a digital calibration apparatus for a successive approximation analog-to-digital converter, and a successive approximation analog-to-digital converter having the same proposed according to embodiments of the present invention are described below with reference to the accompanying drawings.
In the embodiment of the present invention, as shown in fig. 1, the successive approximation analog-to-digital converter includes a digital-to-analog conversion module DAC and a comparator, the DAC includes a low-stage part and a high-stage part, both of which include L capacitors with capacitance values increasing in a twofold relationship, and one end of each capacitor in the L capacitors of the low-stage position part is respectively connected with one end of the compensation capacitor and one end of the coupling capacitor, one end of each capacitor in the L capacitors of the high-stage position part is connected with the other end of the coupling capacitor and then is used as the output end of the ADC to be connected with the first input end of the comparator, the other end of each capacitor in the L capacitors of the low-stage position part, the other end of each capacitor in the L capacitors of the high-stage position part and the other end of the compensation capacitor are respectively connected with the analog signal input end, the voltage reference end or the ground, and the second input end of the comparator is connected with the common-mode voltage supply end.
Specifically, fig. 1 shows an M-bit SAR ADC with a two-stage capacitor array structure, which includes a digital-to-analog converter DAC, a comparator and a SAR logic unit (the digital calibration method proposed by the present invention can be performed by the SAR logic unit). The DAC comprises a low-stage bit part and a high-stage bit part, wherein the low-stage bit part comprises L capacitors C with capacitance values increasing in a twofold relationship1-CL(capacitance C)1-CLCan range from 1C to 2L-1C, C is unit capacitance) and the capacitor C1-CLCorresponding L switches S1-SLThrough L switches S1-SLTo control the capacitance C1-CLThe analog signal input end Vin, the voltage reference end Vref or the ground Gnd are connected; the high-stage part comprises L capacitors C with capacitance values increasing in a twofold relationshipL+1-CM(capacitance C)L+1-CMCan range from 1C to 2L-1C) And a capacitor CL+1-CMCorresponding L switches SL+1-SMThrough L switches SL+1-SMTo control the capacitance CL+1-CMTo the analog signal input Vin, to the voltage reference Vref or to ground Gnd.
In addition, a compensation capacitor C is arranged at the low-stage position part1A(C1ASize may be 1C) and is controlled by switch S0Controls it and compensates the capacitance C1AOnly participate in sampling and not in conversion. A coupling capacitor Cc is further disposed between the low-level bit part and the high-level bit part, and the other end of the coupling capacitor Cc is connected to a first input terminal (for example, a negative terminal) of the comparator as an output terminal of the DAC, a second input terminal (for example, a positive terminal) of the comparator is connected to the common mode voltage supply terminal, an output terminal of the comparator is connected to the SAR logic unit, and the SAR logic unit is used for the SAR logic unitTo the switch S0-SMAnd (5) controlling.
Fig. 2 is a flow diagram of a digital calibration method for a successive approximation analog to digital converter according to one embodiment of the invention. As shown in fig. 2, the digital calibration method for a successive approximation analog-to-digital converter according to an embodiment of the present invention may include the following steps:
and S1, sequentially acquiring calibration codes of the conversion bits corresponding to the capacitors to be calibrated from the highest conversion bit of the conversion bits corresponding to the capacitors to be calibrated to the lower bits.
According to an embodiment of the present invention, sequentially obtaining calibration codes of conversion bits corresponding to capacitors to be calibrated from a highest conversion bit of the conversion bits corresponding to the capacitors to be calibrated to a lower bit includes: sequentially acquiring an error code of each conversion bit in the conversion bits corresponding to the capacitor to be calibrated from the highest conversion bit of the conversion bits corresponding to the capacitor to be calibrated to a lower bit; and acquiring a calibration code of each conversion bit in the conversion bits corresponding to the capacitors to be calibrated according to the error code of each conversion bit, wherein the calibration code of the highest conversion bit in the conversion bits corresponding to the capacitors to be calibrated is equal to one half of the error code of the highest conversion bit, and in the conversion bits corresponding to the capacitors to be calibrated, the calibration code of the conversion bit lower than the highest conversion bit is equal to one half of the difference between the error code of the low conversion bit and the calibration code of all conversion bits higher than the low conversion bit.
According to an embodiment of the present invention, obtaining an error code of each conversion bit in conversion bits corresponding to a capacitor to be calibrated includes: firstly, connecting the output end of a DAC with a common-mode voltage providing end, connecting the other end of a capacitor corresponding to a conversion bit lower than the conversion bit corresponding to the capacitor to be calibrated with a reference voltage end, and grounding the other end of the capacitor to be calibrated and the other end of a capacitor corresponding to a conversion bit higher than the conversion bit to be calibrated; disconnecting the output end of the DAC from the common-mode voltage providing end, connecting the other end of the capacitor to be calibrated with the voltage reference end, and grounding the other ends of all the capacitors except the capacitor to be calibrated so as to obtain the error voltage of the conversion bit corresponding to the capacitor to be calibrated at the output end of the DAC; and measuring the error voltage of the conversion bit corresponding to the capacitor to be calibrated to obtain the error code of the conversion bit corresponding to the capacitor to be calibrated.
In particular, assume that the capacitance to be calibrated is CL+1To CMAnd the corresponding conversion bits are L +1 to M, the calibration code is sequentially acquired from the high bit M. Using the conversion bit M corresponding to the capacitor to be calibrated (the corresponding capacitor is C)M) For example.
First, during the pre-charging phase, as shown in fig. 3, the output terminal of DAC (the upper plate of all capacitors) is connected to the common-mode voltage Vcm, and the capacitor C to be calibrated is connectedMGnd, and a capacitance C that will be lower than the desired calibrationM-1–C1ATo Vref, i.e. capacitance C1A-CM-1The lower plate of the valve is connected with Vref. Then, the coupling capacitance Cc between the high-order bit and the low-order bit and the equivalent capacitance of all capacitances in the low-order bit are denoted as CLSBAll capacitances in the high-end position are denoted as C0-CNThe amount of charge Q1 stored on all capacitors at this time is:
then the capacitor redistribution phase, as shown in fig. 4, disconnects the output of the DAC (the upper plates of all capacitors) from the common mode voltage Vcm, and the capacitor C to be calibratedMThe lower pole plate is connected with Vref, C1A-CM-1The lower plate of the DAC is changed from Vref to Gnd, and an error voltage Vx is generated at the output end of the DAC. The total amount of charge Q2 stored on all capacitors at this time is:
since the upper plate of the capacitor does not have any bleeding circuit in the process from the pre-charging phase to the capacitor redistribution phase, the charge is conserved, i.e. Q1 is Q2, and then the error voltage Vx is obtained by the above equations (1) and (2):
the error voltage Vx contains errors caused by capacitance mismatch.
And finally, measuring the obtained error voltage Vx (also called ADC conversion), and obtaining an error code of a conversion bit M corresponding to the capacitor to be calibrated.
According to an embodiment of the present invention, measuring an error voltage of a conversion bit corresponding to a capacitor to be calibrated to obtain an error code of the conversion bit corresponding to the capacitor to be calibrated includes: and measuring the error voltage of the conversion bit corresponding to the capacitor to be calibrated according to the lower bits in the conversion bit corresponding to the capacitor not to be calibrated so as to obtain the error code of the conversion bit corresponding to the capacitor to be calibrated.
Specifically, the conversion bit M corresponding to the capacitor to be calibrated is still taken as an example. After the error voltage Vx is acquired, the error voltage Vx can be measured by using the lower bits of the ADC to acquire an error code of the conversion bit M corresponding to the capacitance to be calibrated. For example, the lower bits of the selected ADC may be the lower transition bits M-1, M-2, …, 2, 1 (corresponding capacitances C, respectively) than M bitsM-1、CM-2、…、C2、C1)。
Specifically, for the ADC, the error voltage caused by the capacitance mismatch is less than 0.5LSB (LSB is a unit of resolution), and for the lower bits of the ADC, the lower bits of the ADC can be guaranteed to have sufficient accuracy under the existing process conditions, so that the calibration for the lower bits of the ADC is not required, for example, for a 12-bit ADC, the capacitance mismatch of the highest bit is required to be less than 1/4096, and the capacitance mismatch of the lowest bit is required to be less than 1/2. Therefore, the error voltage Vx can be measured according to the lower bits (e.g., the lower four bits) of the ADC, the error voltage Vx is obtained by the above equation (3), and then the error voltage is subjected to ADC conversion, so that the error code E of the conversion bit M to be calibrated can be obtainedM. After obtaining the error code EMThen, the calibration code A of the conversion bit M needing calibration can be obtainedM=1/2*EM。
After the calibration code of the high conversion bit M corresponding to the capacitor to be calibrated is obtained, the error code which is lower than the M bit by one bit, namely M-1 bit, is obtained to obtain the calibration code of the conversion bit M-1. In the pre-charging stage, the output end (upper plates of all capacitors) of the DAC is connected with a common-mode voltage Vcm, and the capacitor C to be calibrated is connectedM-1And a capacitance C higher than the required calibrationM-1The capacitance corresponding to the corresponding conversion bit is connected with Gnd, namely CM-1-CMIs connected to Gnd, and the capacitance C corresponding to the conversion bit corresponding to the capacitance lower than the capacitance to be calibratedM-2–C1ATo Vref, i.e. capacitance C1A-CM-2The lower plate of (2) is connected with Vref, and the charge quantity Q1 stored on all the capacitors can be obtained. The capacitor redistribution stage follows, in which the output terminal of the DAC (the upper plates of all capacitors) is disconnected from the common-mode voltage Vcm, and the capacitor C to be calibrated is connected to the output terminal of the DACM-1The lower plate of the capacitor is connected with Vref, and the rest capacitors are all connected with Gnd, namely CMThe lower plate of (2) is kept connected with Gnd, C1A-CM-2The lower plate of the DAC is changed from Vref to Gnd, an error voltage Vx is generated at the output end of the DAC, and the total amount of charge stored on all capacitors Q2 is obtained, so that the error voltage Vx can be obtained according to Q1-Q2 due to charge conservation. The error code E of the conversion bit M-1 can be obtained as wellM-1Obtaining an error code EM-1Then, the calibration code A of the conversion bit M-1 to be calibrated can be obtainedM-1=1/2*(EM-1-AM). By analogy, the calibration code A of the conversion bit M-2 corresponding to the capacitor to be calibrated can be obtainedM-2=1/2*(EM-2-AM-AM-1) …, calibration code for the conversion bit i corresponding to the capacitor to be calibrated(i ═ 1, 2, 3.., M-1). The principle of obtaining the calibration code of the conversion bit corresponding to the capacitor to be calibrated is the same, so the detailed description is omitted.
S2, the input analog signal is converted in a normal successive approximation manner to obtain a binary conversion value.
For example, an input analog signal is converted using a binary search algorithm to obtain a binary conversion value. The DAC can obtain voltages of 1/2Vref, 1/4Vref, 1/8Vref … and the like through the SAR logic unit, the voltage of the analog signal input end Vin is compared with the voltage generated by the DAC, when the voltage of the analog signal input end Vin is larger, the output of the comparator is high level, namely the SAR logic unit records that the code value of the bit is 1, and on the contrary, the output of the comparator is low level, namely the SAR logic unit records that the code value of the bit is 0. And so on, comparing for N times to obtain the conversion result of N bits.
Specifically, when conversion is carried out, firstly, the voltage of an analog signal input end Vin is sampled and held, then, a Successive Approximation Register (SAR) is placed at the Most Significant Bit (MSB) position 1 by an SAR logic unit, other bits are all cleared, a DAC outputs 1/2Vref under the control of Vref and the SAR logic unit, if Vin is more than 1/2Vref, a comparator outputs 1, and the SAR most significant bit is 1; otherwise, the comparator outputs 0, the highest bit of the SAR is 0, and at the moment, the highest bit of the successive approximation ADC is determined.
Then determining the second highest bit, if the MSB determined in the previous conversion period is 1, outputting 3/4Vref by the DAC, comparing Vin with 3/4Vref for size, if Vin is more than 3/4Vref, outputting 1 by the comparator, and the SAR second highest bit is 1; otherwise, the comparator outputs 0, and the SAR time high order is 0, so that the SAR time high order is determined; if the MSB determined in the previous conversion period is 0, the DAC outputs 1/4Vref, Vin is compared with 1/4Vref in size, if Vin is more than 1/4Vref, the comparator outputs 1, and the SAR time upper bit is 1; otherwise, the comparator outputs 0, and the SAR time high bit is 0, so that the SAR time high bit is determined. And so on until LSB of the lowest bit of SAR is determined, thus completing the final output of the successive approximation ADC and finally obtaining a binary conversion value.
S3, calculating the sum of the calibration codes of the conversion bits corresponding to the binary conversion value of 1.
S4, calculating a difference between the binary conversion value and a sum of calibration codes of conversion bits corresponding to the binary conversion value with the conversion value of 1 to obtain a conversion value of the ADC after verification.
Specifically, the conversion bit corresponding to the capacitor to be calibrated is obtained according to the above stepsAfter the calibration code is obtained, the sum of the calibration codes of the conversion bits corresponding to the binary conversion value of 1 is calculated. For example, in a 12-bit ADC, a 12-bit binary code is obtained after one conversion, and assuming that D is 101000000000, the calibration codes of the 12 th bit and the 10 th bit are accumulated, i.e., a is a12+A10Wherein A is12And A10The acquisition may be performed by the method of acquiring the calibration code described above. Then, the difference between the binary conversion value and the sum of the calibration codes of the conversion bits corresponding to the conversion value of 1 in the binary conversion value is calculated to obtain the calibrated digital signal (the conversion value of the ADC), that is, the calibration code a is subtracted from the conversion value D of the ADC, so as to obtain the calibrated conversion value Dcal — D-a (i.e., the conversion value of the ADC after verification).
According to an embodiment of the present invention, when acquiring a calibration code of a conversion bit corresponding to a capacitor to be calibrated, the following condition needs to be satisfied: and the capacitance value of the capacitor to be calibrated is less than the sum of the capacitance values of the capacitors of all conversion bits lower than the conversion bit corresponding to the capacitor to be calibrated.
In particular, when the capacitance value of the capacitance to be calibrated is smaller than the sum of the capacitance values of all capacitances lower than the calibration bit, i.e. when the calibration bit is a bit(wherein, CNA capacitor corresponding to a conversion bit needing calibration), after the analog signal input voltage is converted according to a successive approximation mode, two digital codes are corresponding to the analog signal input voltage, namely, a single analog input signal corresponds to a plurality of digital codes, and some values in the digital codes can not appear under normal conditions and are called lost codes; when in useIn the process, after a plurality of analog signal input voltages are converted according to a successive approximation mode, the analog signal input voltages correspond to a single digital code, namely, non-monotonicity occurs, in this case, the information of the original analog input signal is lost, and digital calibration is not carried outThis information can be recovered, when the ADC conversion is erroneous.
Assume that the capacitances to be calibrated are each CL+1、C L+2、…CM-1、CMIn order to ensure the accuracy of digital calibration, the coupling capacitance C can be increasedCTo satisfyOr can be satisfied by directly increasing the capacitance value of the capacitance of the lower bit
In summary, according to the digital calibration method for successive approximation analog-to-digital converter of the embodiment of the present invention, calibration codes of conversion bits corresponding to capacitors to be calibrated are sequentially obtained from the highest conversion bit of the conversion bits corresponding to the capacitors to be calibrated to the lower bits, then an input analog signal is converted according to a normal successive approximation manner to obtain a binary conversion value, and finally, a sum of calibration codes of conversion bits corresponding to the binary conversion value of 1 is calculated, and a difference between the binary conversion value and a sum of calibration codes of conversion bits corresponding to the binary conversion value of 1 is calculated to obtain a conversion value of the ADC after verification. The method can effectively calibrate the mismatch error between the capacitors caused by the parasitic capacitors and the process manufacturing error, and avoid the problem of inaccurate twofold relation between the capacitors caused by the mismatch error, thereby effectively improving the precision of the ADC.
Fig. 5 is a block schematic diagram of a digital calibration apparatus for a successive approximation analog to digital converter according to one embodiment of the present invention.
In the embodiment of the present invention, as shown in fig. 1, the successive approximation analog-to-digital converter includes a digital-to-analog conversion module DAC and a comparator, the DAC includes a low-stage part and a high-stage part, both of which include L capacitors with capacitance values increasing in a twofold relationship, and one end of each capacitor in the L capacitors of the low-stage position part is respectively connected with one end of the compensation capacitor and one end of the coupling capacitor, one end of each capacitor in the L capacitors of the high-stage position part is connected with the other end of the coupling capacitor and then is used as the output end of the ADC to be connected with the first input end of the comparator, the other end of each capacitor in the L capacitors of the low-stage position part, the other end of each capacitor in the L capacitors of the high-stage position part and the other end of the compensation capacitor are respectively connected with the analog signal input end, the voltage reference end or the ground, and the second input end of the comparator is connected with the common-mode voltage supply end.
As shown in fig. 5, the digital calibration apparatus for a successive approximation analog-to-digital converter according to an embodiment of the present invention may include: a conversion module 10, an acquisition module 20 and a calculation module 30.
The obtaining module 20 is configured to sequentially obtain calibration codes of conversion bits corresponding to the capacitors to be calibrated from a highest conversion bit of the conversion bits corresponding to the capacitors to be calibrated to a lower bit. The conversion module 10 is configured to convert the input analog signal in a normal successive approximation manner to obtain a binary conversion value. The calculating module 30 is connected to the converting module 10 and the obtaining module 20, respectively, and the calculating module 30 is configured to calculate a sum of calibration codes of conversion bits corresponding to a conversion value of 1 in the binary conversion value, and calculate a difference between the binary conversion value and the sum of calibration codes of conversion bits corresponding to a conversion value of 1 in the binary conversion value, so as to obtain a conversion value of the checked ADC.
According to an embodiment of the present invention, as shown in fig. 6, the obtaining module 20 includes: a first acquisition submodule 21 and a second acquisition submodule 22. The first obtaining submodule 21 is configured to sequentially obtain an error code of each conversion bit in the conversion bits corresponding to the capacitor to be calibrated from a highest conversion bit of the conversion bits corresponding to the capacitor to be calibrated to a lower bit; the second obtaining submodule 22 is configured to obtain, according to the error code of each conversion bit, the calibration code of each conversion bit in the conversion bits corresponding to the capacitors to be calibrated, where the calibration code of the highest conversion bit in the conversion bits corresponding to the capacitors to be calibrated is equal to one half of the error code of the highest conversion bit, and in the conversion bits corresponding to the capacitors to be calibrated, the calibration code of the conversion bit lower than the highest conversion bit is equal to one half of the difference between the error code of the low conversion bit and the calibration code of all conversion bits higher than the low conversion bit.
According to an embodiment of the present invention, when acquiring the error code of each conversion bit in the conversion bits corresponding to the capacitor to be calibrated, the first acquiring sub-module 21 includes: firstly, connecting the output end of a DAC with a common-mode voltage providing end, connecting the other end of a capacitor corresponding to a conversion bit lower than the conversion bit corresponding to the capacitor to be calibrated with a reference voltage end, and grounding the other end of the capacitor to be calibrated and the other end of a capacitor corresponding to a conversion bit higher than the conversion bit to be calibrated; disconnecting the output end of the DAC from the common-mode voltage supply end, connecting the other end of the capacitor to be calibrated to the voltage reference end, and grounding the other ends of all the capacitors except the capacitor to be calibrated, so that the first obtaining submodule 21 obtains an error voltage of a conversion bit corresponding to the capacitor to be calibrated at the output end of the DAC; and measuring the error voltage of the conversion bit corresponding to the capacitor to be calibrated to obtain the error code of the conversion bit corresponding to the capacitor to be calibrated.
According to an embodiment of the present invention, when the first obtaining sub-module 21 measures the error voltage of the conversion bit corresponding to the capacitor to be calibrated to obtain the error code of the conversion bit corresponding to the capacitor to be calibrated, the first obtaining sub-module 21 measures the error voltage of the conversion bit corresponding to the capacitor to be calibrated according to the lower bits of the conversion bit corresponding to the capacitor not to be calibrated to obtain the error code of the conversion bit corresponding to the capacitor to be calibrated.
According to an embodiment of the present invention, when the first obtaining sub-module 21 obtains the calibration code of the conversion bit corresponding to the capacitor to be calibrated, the following condition needs to be satisfied: and the capacitance value of the capacitor to be calibrated is less than the sum of the capacitance values of the capacitors of all conversion bits lower than the conversion bit corresponding to the capacitor to be calibrated.
It should be noted that, for details that are not disclosed in the digital calibration apparatus for a successive approximation analog-to-digital converter according to the embodiment of the present invention, please refer to details disclosed in the digital calibration method for a successive approximation analog-to-digital converter according to the embodiment of the present invention, and details are not repeated here.
According to the digital calibration device for the successive approximation analog-to-digital converter provided by the embodiment of the invention, the calibration codes of the conversion bits corresponding to the capacitors to be calibrated are sequentially acquired from the highest conversion bit of the conversion bits corresponding to the capacitors to be calibrated to the lower bits through the acquisition module, the input analog signals are converted through the conversion module according to a normal successive approximation mode to obtain the binary conversion value, then the sum of the calibration codes of the conversion bits corresponding to the conversion value of 1 in the binary conversion value is calculated through the calculation module, and the difference between the binary conversion value and the sum of the calibration codes of the conversion bits corresponding to the conversion value of 1 in the binary conversion value is calculated to obtain the conversion value of the calibrated ADC. The device can effectively calibrate the mismatch error between the capacitors caused by parasitic capacitance and process manufacturing errors, and avoid the problem of inaccurate twofold relation between the capacitors caused by the mismatch error, thereby effectively improving the precision of the ADC.
In addition, an embodiment of the present invention also proposes a non-transitory computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the above-mentioned digital calibration method for a successive approximation analog-to-digital converter.
By implementing the digital calibration method for the successive approximation analog-to-digital converter, the non-transitory computer-readable storage medium of the embodiment of the invention can effectively calibrate the mismatch error between the capacitors caused by parasitic capacitance and process manufacturing errors, and avoid the problem of inaccurate double relation between the capacitors caused by the mismatch error, thereby effectively improving the precision of the ADC.
In addition, the embodiment of the invention also provides a successive approximation analog-to-digital converter, which comprises the digital calibration device for the successive approximation analog-to-digital converter.
According to the successive approximation analog-to-digital converter provided by the embodiment of the invention, through the digital calibration device, the mismatch error between the capacitors caused by parasitic capacitance and process manufacturing errors can be effectively calibrated, and the problem of inaccurate double relation between the capacitors caused by the mismatch error is avoided, so that the precision of an ADC (analog-to-digital converter) can be effectively improved.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In addition, in the description of the present invention, the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, should not be construed as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (12)
1. A digital calibration method for a successive approximation analog-to-digital converter is characterized in that the successive approximation analog-to-digital converter comprises a digital-to-analog conversion module DAC and a comparator, the DAC comprises a low-stage part and a high-stage part, the low-stage part and the high-stage part respectively comprise L capacitors with capacitance values increasing in a twofold relationship, one end of each capacitor in the L capacitors of the low-stage part is connected with one end of a compensation capacitor and one end of a coupling capacitor, one end of each capacitor in the L capacitors of the high-stage part is connected with the other end of the coupling capacitor and then serves as an output end of the DAC to be connected with a first input end of the comparator, the other end of each capacitor in the L capacitors of the low-stage part, the other end of each capacitor in the L capacitors of the high-stage part and the other end of the compensation capacitor are connected with an analog signal input end respectively, The voltage reference terminal or the ground, and the second input terminal of the comparator is connected to the common-mode voltage supply terminal, the method includes the following steps:
the method comprises the following steps of sequentially obtaining calibration codes of conversion positions corresponding to capacitors to be calibrated from the highest conversion position of the conversion positions corresponding to the capacitors to be calibrated to the lower position, wherein the obtaining method comprises the following steps: performing analog-to-digital conversion (ADC) on the error voltage of the conversion bit corresponding to the capacitor to be calibrated to obtain an error code of the conversion bit corresponding to the capacitor to be calibrated, and acquiring a calibration code of each conversion bit in the conversion bit corresponding to the capacitor to be calibrated according to the error code of each conversion bit;
converting an input analog signal according to a normal successive approximation mode to obtain a binary conversion value;
calculating the sum of calibration codes of conversion bits corresponding to the conversion values of 1 in the binary conversion values; and
and calculating a difference value between the binary conversion value and the sum of the calibration codes of the conversion bits corresponding to the conversion value of 1 in the binary conversion value to obtain the conversion value of the checked ADC.
2. The digital calibration method for a successive approximation analog-to-digital converter according to claim 1, wherein the calibration code of the highest conversion bit of the conversion bits corresponding to the capacitor to be calibrated is equal to one half of the error code of the highest conversion bit, and the calibration code of the conversion bit lower than the highest conversion bit of the conversion bits corresponding to the capacitor to be calibrated is equal to one half of the difference between the error code of the lower conversion bit and the calibration code of all conversion bits higher than the lower conversion bit.
3. The digital calibration method for a successive approximation analog-to-digital converter according to claim 2, wherein the error voltage of the conversion bit corresponding to the capacitor to be calibrated is obtained as follows:
firstly, connecting the output end of the DAC with the common-mode voltage providing end, connecting the other end of the capacitor corresponding to the conversion bit lower than the conversion bit corresponding to the capacitor to be calibrated with the voltage reference end, and connecting the other end of the capacitor to be calibrated and the other end of the capacitor corresponding to the conversion bit higher than the conversion bit corresponding to the capacitor to be calibrated with the ground;
and disconnecting the output end of the DAC from the common-mode voltage providing end, connecting the other end of the capacitor to be calibrated with the voltage reference end, and connecting the other ends of all the capacitors except the capacitor to be calibrated to the ground so as to obtain the error voltage of the conversion bit corresponding to the capacitor to be calibrated at the output end of the DAC.
4. The digital calibration method for a successive approximation analog-to-digital converter according to claim 3, wherein the ADC converting the error voltage of the conversion bit corresponding to the capacitor to be calibrated to obtain the error code of the conversion bit corresponding to the capacitor to be calibrated comprises:
and measuring the error voltage of the conversion bit corresponding to the capacitor needing to be calibrated according to the lower bits of the conversion bit corresponding to the capacitor not needing to be calibrated so as to obtain the error code of the conversion bit corresponding to the capacitor needing to be calibrated.
5. The digital calibration method for successive approximation analog-to-digital converter according to any one of claims 2 to 4, characterized in that, when acquiring the calibration code of the conversion bit corresponding to the capacitor to be calibrated, the following condition is satisfied:
and the capacitance value of the capacitor to be calibrated is less than the sum of the capacitance values of the capacitors of the conversion bits lower than the conversion bit corresponding to the capacitor to be calibrated.
6. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the digital calibration method for a successive approximation analog-to-digital converter according to any one of claims 1 to 5.
7. The digital calibration device for the successive approximation analog-to-digital converter is characterized in that the successive approximation analog-to-digital converter comprises a digital-to-analog conversion module DAC and a comparator, the DAC comprises a low-stage bit part and a high-stage bit part, the low-stage bit part and the high-stage bit part respectively comprise L capacitors with capacitance values increasing in a twofold relation, one end of each capacitor in the L capacitors of the low-stage bit part is connected with one end of a compensation capacitor and one end of a coupling capacitor, one end of each capacitor in the L capacitors of the high-stage bit part is connected with the other end of the coupling capacitor to serve as an output end of the DAC to be connected with a first input end of the comparator, the other end of each capacitor in the L capacitors of the low-stage bit part, the other end of each capacitor in the L capacitors of the high-stage bit part and the other end of the compensation capacitor are connected with an analog signal input end, and the other end of the DAC is, The voltage reference terminal or the ground, the second input terminal of the comparator is connected with the common-mode voltage supply terminal, and the device comprises:
the acquisition module is used for sequentially acquiring calibration codes of conversion bits corresponding to the capacitors to be calibrated from the highest conversion bit of the conversion bits corresponding to the capacitors to be calibrated to the lower bits; the acquisition module comprises a first acquisition sub-module and a second acquisition sub-module, the first acquisition sub-module is used for performing analog-to-digital conversion (ADC) conversion on the error voltage of the conversion bit corresponding to the capacitor to be calibrated to acquire an error code of the conversion bit corresponding to the capacitor to be calibrated, and the second acquisition sub-module is used for acquiring the calibration code of each conversion bit in the conversion bit corresponding to the capacitor to be calibrated according to the error code of each conversion bit;
the conversion module is used for converting the input analog signal according to a normal successive approximation mode to obtain a binary conversion value;
and the calculation module is respectively connected with the conversion module and the acquisition module, and is configured to calculate a sum of calibration codes of conversion bits corresponding to conversion values in the binary conversion values of 1 and calculate a difference between the binary conversion values and the sum of calibration codes of conversion bits corresponding to conversion values in the binary conversion values of 1 to obtain a conversion value of the checked ADC.
8. The digital calibration device according to claim 7, wherein the calibration code of the highest conversion bit of the conversion bits corresponding to the capacitor to be calibrated is equal to one half of the error code of the highest conversion bit, and the calibration code of the conversion bit lower than the highest conversion bit of the conversion bits corresponding to the capacitor to be calibrated is equal to one half of the difference between the error code of the lower conversion bit and the calibration code of all conversion bits higher than the lower conversion bit.
9. The digital calibration device for successive approximation analog-to-digital converter according to claim 8, wherein the first obtaining sub-module obtains the error voltage of the conversion bit corresponding to the capacitor to be calibrated according to the following method:
firstly, connecting the output end of the DAC with the common-mode voltage providing end, connecting the other end of the capacitor corresponding to the conversion bit lower than the conversion bit corresponding to the capacitor to be calibrated with the voltage reference end, and connecting the other end of the capacitor to be calibrated and the other end of the capacitor corresponding to the conversion bit higher than the conversion bit corresponding to the capacitor to be calibrated with the ground;
and disconnecting the output end of the DAC from the common-mode voltage providing end, connecting the other end of the capacitor to be calibrated with the voltage reference end, and connecting the other ends of all the capacitors except the capacitor to be calibrated with the ground, so that the first acquisition submodule acquires the error voltage of the conversion bit corresponding to the capacitor to be calibrated at the output end of the DAC.
10. The digital calibration device according to claim 9, wherein the first obtaining sub-module performs ADC conversion on the error voltage of the conversion bits corresponding to the capacitor to be calibrated to obtain the error code of the conversion bits corresponding to the capacitor to be calibrated, and wherein the first obtaining sub-module measures the error voltage of the conversion bits corresponding to the capacitor to be calibrated according to the lower bits of the conversion bits corresponding to the capacitor not to be calibrated to obtain the error code of the conversion bits corresponding to the capacitor to be calibrated.
11. The digital calibration device for a successive approximation analog-to-digital converter according to any one of claims 8 to 10, wherein when the first obtaining sub-module obtains the calibration code of the conversion bit corresponding to the capacitor to be calibrated, the following condition is satisfied:
and the capacitance value of the capacitor to be calibrated is less than the sum of the capacitance values of the capacitors of the conversion bits lower than the conversion bit corresponding to the capacitor to be calibrated.
12. A successive approximation analog to digital converter comprising a digital calibration arrangement for a successive approximation analog to digital converter according to any of claims 7 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711146589.6A CN109802678B (en) | 2017-11-17 | 2017-11-17 | Successive approximation analog-to-digital converter and digital calibration method and device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711146589.6A CN109802678B (en) | 2017-11-17 | 2017-11-17 | Successive approximation analog-to-digital converter and digital calibration method and device thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109802678A CN109802678A (en) | 2019-05-24 |
CN109802678B true CN109802678B (en) | 2020-11-20 |
Family
ID=66556050
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711146589.6A Active CN109802678B (en) | 2017-11-17 | 2017-11-17 | Successive approximation analog-to-digital converter and digital calibration method and device thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109802678B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113765518B (en) * | 2020-06-03 | 2022-07-08 | 杭州深谙微电子科技有限公司 | Analog-to-digital converter and calibration method thereof |
CN111711449B (en) * | 2020-06-30 | 2021-08-10 | 高拓讯达(北京)科技有限公司 | Parasitic capacitance digital compensation method and device |
CN114221662B (en) * | 2022-02-23 | 2022-05-17 | 微龛(广州)半导体有限公司 | Successive approximation type analog-to-digital converter |
CN117176168B (en) * | 2023-08-25 | 2024-06-21 | 重庆览山汽车电子有限公司 | Calibration method and successive approximation type analog-to-digital converter |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103178855B (en) * | 2013-03-26 | 2016-04-13 | 天津大学 | Be applied to the syllogic capacitor array structure of high accuracy gradually-appoximant analog-digital converter |
CN103873059B (en) * | 2014-03-10 | 2017-02-08 | 天津大学 | Digital calibration method for high-precision SAR ADC (successive approximation register analog to digital converter) |
CN104242935B (en) * | 2014-09-15 | 2017-04-05 | 电子科技大学 | A kind of bearing calibration of SAR ADC sectional capacitance mismatches |
US9319059B1 (en) * | 2015-06-06 | 2016-04-19 | Texas Instruments Incorporated | Calibrated SAR ADC having a reduced size |
CN105375925B (en) * | 2015-11-30 | 2018-10-26 | 上海华虹宏力半导体制造有限公司 | The capacitive gradually-appoximant analog-digital converter of pseudo-differential |
-
2017
- 2017-11-17 CN CN201711146589.6A patent/CN109802678B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109802678A (en) | 2019-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112202448B (en) | Successive approximation type analog-to-digital converter, calibration method thereof and electronic equipment | |
US7928871B2 (en) | Successive approximation A/D converter | |
CN104079298A (en) | Successive approximation type analog-to-digital converter of self-calibration bridge-connection capacitor structure | |
KR101716931B1 (en) | Adc calibration | |
US10581443B2 (en) | Method and apparatus for offset correction in SAR ADC with reduced capacitor array DAC | |
US8665125B2 (en) | Electronic device and method for measuring differential non-linearity (DNL) of an SAR ADC | |
CN109802678B (en) | Successive approximation analog-to-digital converter and digital calibration method and device thereof | |
US10862498B1 (en) | Calibration circuit and calibration method for ADC | |
US20130044014A1 (en) | Successive approximation analog to digital converter with capacitor mismatch calibration and method thereof | |
CN109347477B (en) | Successive approximation type analog-to-digital converter weight calibration method | |
US8902092B2 (en) | Analog-digital conversion circuit and method | |
US8514114B2 (en) | Measurement method and apparatus for ADC calibration | |
US20100201552A1 (en) | Self-calibration circuit and method for capacitors | |
JP2010045723A (en) | Digital-to-analog converter | |
US9496885B2 (en) | Analog-to-digital conversion circuit | |
CN113839672B (en) | Self-calibration successive approximation analog-digital converter utilizing redundant capacitor analog domain | |
EP3026818B1 (en) | Method of self-calibrating a sar a/d converter and sar-a/d converter implementing said method | |
CN109802674B (en) | Successive approximation analog-to-digital converter and digital calibration method and device thereof | |
CN110535467B (en) | Capacitor array calibration method and device of stepwise approximation type analog-to-digital conversion device | |
CN113810052B (en) | Successive approximation analog-to-digital converter based on capacitance mismatch calibration circuit | |
JP4884518B2 (en) | Analog-to-digital converter | |
TWI745977B (en) | Analog digital converting system and method with offset and bit-weighting correction mechanism | |
CN115940949A (en) | Calibration circuit and method for successive approximation analog-to-digital converter with split capacitor structure | |
JP6387690B2 (en) | Successive comparison A / D converter | |
US10897261B1 (en) | Analog-to-digital converter with a supplementary digital-to-analog converter for offset and gain error measurements |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210208 Address after: 518119 No.1 Yan'an Road, Kuiyong street, Dapeng New District, Shenzhen City, Guangdong Province Patentee after: BYD Semiconductor Co.,Ltd. Address before: 518118 BYD Road, Pingshan New District, Shenzhen, Guangdong 3009 Patentee before: BYD Co.,Ltd. |