The present disclosure relates to the field of semiconductor integrated circuits, and in particular to a method for calibrating a capacitor voltage coefficient of a high-precision successive approximation analog-to-digital converter (SAR ADC).
In a traditional SAR ADC, successive approximation logic determines a level connected to the upper pole plate of the capacitor bit by bit from a high-order bit to a low-order bit. The charge is redistributed. If the capacitor has a voltage coefficient, a nonlinear charge participates in the redistribution, and a conversion result leads to nonlinearity and reduces conversion accuracy of the converter. In a current calibration method, a capacitor voltage coefficient is measured and calibrated based on the addition of an analog circuit, which increases complexity of the circuit.
In view of this, the present disclosure provides a method for calibrating a capacitor voltage coefficient of a high-precision SAR ADC, to extract a capacitor voltage coefficient based on integral nonlinearity (INL) and calibrate the capacitor voltage coefficient at a digital backend without adding an analog calibration circuit, thereby improving conversion accuracy of the ADC.
The present disclosure provides a method for calibrating a capacitor voltage coefficient of a high-precision SAR ADC, including the following steps:
calibrating a voltage coefficient, a capacitance model with the voltage coefficient is shown in Equation 1:
C=C
0*(1+α1*V+α2*V2+ . . . ) (1)
where C is an actual value of a capacitor, C0 is a nominal value of the capacitor when a voltage difference between two ends of the capacitor is 0, α1 is a first-order capacitor voltage coefficient, V is a voltage difference between the two ends of the capacitor, and α2 is a second-order capacitor voltage coefficient;
sampling to obtain a charged charge:
Q=C
0*(V+0.5*α1*V2+⅓*α2*V3+ . . . ) (2)
where because the ADC uses a differential structure, a related term 0.5*α1*V2 of the first-order voltage coefficient is canceled during sampling; if a high-order capacitor voltage coefficient is omitted, a related term ⅓*α2*V3 of the second-order capacitor voltage coefficient becomes a dominant factor of nonlinearity, and the second-order capacitor voltage coefficient is extracted and calibrated according to an integral nonlinearity (INL) curve of the ADC; and the shape of the INL curve is determined by the second-order voltage coefficient, and a digital code for generating maximum INL is shown in Equation 3:
Dout1=min(Dout)/√{square root over (3)}
Dout2=max(Dout)/√{square root over (3)} (3)
where Dout is an output digital code of the ADC, a value at a minimum value of INL in a negative value range of Dout is set to Dout1, a value at a maximum value of INL in a positive value range of Dout is set to Dout2, min(Dout) represents a minimum value of Dout, and max(Dout) represents a maximum value of Dout; and
a maximum INL value is shown in Equation 4:
max(INL)=2*α21*(max(Dout))3/32.5
min(INL)=2*α22*(min(Dout))3/32.5 (4)
where max(INL) represents the maximum value of INL, min(INL) represents the minimum value of INL, α21 represents a second-order voltage coefficient value derived from the maximum value of INL, and α22 represents a second-order voltage coefficient value derived from the minimum value of INL;
according to an INL value obtained by testing, first verifying whether a maximum value of INL occurs in the place shown in Equation 3, then obtaining two very close second-order capacitor voltage coefficients according to Equation 4, and taking an average value thereof as a second-order capacitor voltage coefficient, as shown in Equation 5:
and
then calibrating the second-order capacitor voltage coefficient in a digital domain, a calibration formula is shown in Equation 6:
Dout_cal=Dout−⅓*α2*Dout3 (6)
where Dout_cal is a calibrated ADC digital output code.
The present disclosure has the following beneficial effects: in the present disclosure, a capacitor voltage coefficient can be extracted based on INL and the capacitor voltage coefficient is calibrated at a digital backend without adding an analog calibration circuit, thereby improving the conversion accuracy of the ADC.
In order to make the object, the technical solution and the beneficial effects of the present disclosure clearer, the present disclosure provides the following drawings for description.
The preferred embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
As shown in
C=C
0*(1+α1*V+α2*V2+ . . . ) (1)
A charged charge is sampled as:
Q=C
0*(V+0.5*α1*V2+⅓*α2*V3+ . . . ) (2)
Because the ADC uses a differential structure, a related term 0.5*α1*V2 of a first-order voltage coefficient is canceled during sampling. If a high-order capacitor voltage coefficient is omitted, a related term ⅓*α2*V3 of a second-order capacitor voltage coefficient becomes a dominant factor of nonlinearity. In the present disclosure, the second-order capacitor voltage coefficient is extracted and calibrated according to an INL curve of the ADC.
Dout1=min(Dout)/√{square root over (3)}
Dout2=max(Dout)/√{square root over (3)} (3)
A maximum INL value is shown in Equation 4:
max(INL)=2*α21*(max(Dout))3/32.5
min(INL)=2*α22*(min(Dout))3/32.5 (4)
According to an INL value obtained by testing, whether a maximum value of INL occurs in the place shown in Equation 3 is first verified, then two very close second-order capacitor voltage coefficients can be obtained according to Equation 4, and an average value thereof is taken as a second-order capacitor voltage coefficient, as shown in Equation 5:
Then the second-order capacitor voltage coefficient is calibrated in a digital domain, a calibration formula is shown in Equation 6:
Dout_cal=Dout−⅓*α2*Dout3 (6)
In the present disclosure, the capacitor voltage coefficient is extracted according to the INL test curve. This requires the INL curve to fully represent information about the capacitor voltage coefficient. Therefore, before the voltage coefficient is calibrated, capacitor weight calibration needs to be performed to eliminate an error of a capacitor mismatch, and a calibration process is shown in
Finally, it should be noted that the foregoing preferred embodiments are merely intended for illustrating rather than limiting the technical solution of the present disclosure. Although the present disclosure has been described in detail through the foregoing preferred embodiments, those skilled in the art should understand that various alterations may be performed to the form and details of the present disclosure without departing from the scope defined by the claims of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201810258394.9 | Mar 2018 | CN | national |
This is a Sect. 371 National Stage of PCT International Application No. PCT/CN2018/096085, filed on 18 Jul. 2018, which claims priority of a Chinese Patent Application No. 201810258394.9 filed on 9 Apr. 2018, the contents of both applications hereby being incorporated by reference in their entireties for all purposes.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2018/096085 | 7/18/2018 | WO | 00 |