Error extraction method for foreground digital correction of pipeline analog-to-digital converter
11349489 · 2022-05-31
Assignee
- NO.24 RESEARCH INSTITUTE OF CHINA ELECTRONICS TECHNOLOGY GROUP CORPORATION (Chongqing, CN)
- CHONGQING GIGACHIP TECHNOLOGY CO. LTD. (Chongqing, CN)
Inventors
- Yong Zhang (Chongqing, CN)
- Ting Li (Chongqing, CN)
- Zhengbo Huang (Chongqing, CN)
- Yabo Ni (Chongqing, CN)
- Dongbing Fu (Chongqing, CN)
Cpc classification
H03M1/0695
ELECTRICITY
H03M1/0604
ELECTRICITY
International classification
Abstract
An error extraction method for foreground digital correction of a pipeline analog-to-digital converter including: acquiring a transmission curve of a pipeline analog-to-digital converter, and controlling an input signal to be within a sub-segment 0 of the transmission curve; during extraction of error information of an ith pipeline stage, setting a magnitude of the input signal according to Formula (I); locking the outputs of all previous-stage comparators in the i.sup.th pipeline stage of the pipeline analog-to-digital converter; and completing, according to original output code of the pipeline analog-to-digital converter, error extraction by means of adaptive iteration, stage-by-stage, sequentially from a last stage to a first stage of a pipeline. During quantization of error value, the invention performs, by means of a fitting-based adaptive algorithm, foreground extraction of a capacitance mismatch error, a gain bandwidth error, and a kickback error in each stage of the pipeline, without any additional circuit.
Claims
1. An error extraction method for foreground digital correction of a pipeline analog-to-digital converter, comprising: acquiring a transmission curve of a pipeline analog-to-digital converter, and controlling an input signal to be within a sub-segment 0 of the transmission curve; during extraction of error information in an i.sup.th pipeline stage, setting a magnitude of the input signal according to:
2. The error extraction method for foreground digital correction of a pipeline analog-to-digital converter according to claim 1, wherein an actual output quantity of the pipeline analog-to-digital converter is acquired, and is fit to obtain an ideal output quantity of the pipeline analog-to-digital converter, and error extraction is completed by means of adaptive iteration stage by stage sequentially from a last stage to a first stage of a pipeline according to the ideal output quantity of the pipeline analog-to-digital converter.
3. The error extraction method for foreground digital correction of a pipeline analog-to-digital converter according to claim 2, wherein a correction value is acquired according to the following formula:
4. The error extraction method for foreground digital correction of a pipeline analog-to-digital converter according to claim 1, wherein a capacitance mismatch of each capacitor is extracted according to the following formula:
ΔC.sub.i(n)=ΔC.sub.i(n−1)−μ.sub.0*B.sub.i(n)*ε(n),i=1−M wherein M is a total number of capacitors of a current stage, Bi is a baseline state in which an i.sup.th capacitor is accessed, Bi is 1 when accessed in a positive baseline state, and Bi is −1 when accessed in a negative baseline state, μ0 is an iteration constant, ΔC.sub.i is capacitance mismatch, ε(n) is a first conversion error, and n is an iteration serial number.
5. The error extraction method for foreground digital correction of a pipeline analog-to-digital converter according to claim 4, wherein the first conversion error is:
6. The error extraction method for foreground digital correction of a pipeline analog-to-digital converter according to claim 4, wherein a correction value is acquired according to the following formula:
7. The error extraction method for foreground digital correction of a pipeline analog-to-digital converter according to claim 1, wherein a gain error is extracted according to the following formula:
ΔG(n)=ΔG(n−1)−μ.sub.1*sign(D.sub.res(n))*ε(n) wherein D.sub.res is a numerical value of a residual error, μ.sub.1 is an iteration constant, ΔG is a gain error, and ε(n) is a first conversion error.
8. The error extraction method for foreground digital correction of a pipeline analog-to-digital converter according to claim 7, wherein a correction value is acquired according to the following formula:
9. The error extraction method for foreground digital correction of a pipeline analog-to-digital converter according to claim 7, wherein the first conversion error is:
10. The error extraction method for foreground digital correction of a pipeline analog-to-digital converter according to claim 1, wherein a kickback error is extracted through the following formulas:
K.sub.1(n)=K.sub.1(n−1)−μ.sub.3*sign(Dout(n)−Dout(n−1))*ε.sub.KB(n) wherein ε.sub.KB(n) is a second conversion error, μ.sub.2 and μ.sub.3 are iteration constants, Dout(n) represents a digital output of an n.sup.th sampling point, K(n) is a kickback error coefficient after the n.sup.th iteration, K.sub.1(n) is a fitting compensation coefficient after the n.sup.th iteration, and the second conversion error is acquired according to the following formula:
11. The error extraction method for foreground digital correction of a pipeline analog-to-digital converter according to claim 10, wherein the input signal is a low-frequency signal.
12. The error extraction method for foreground digital correction of a pipeline analog-to-digital converter according to claim 10, wherein a correction value is acquired according to the following formula:
13. The error extraction method for foreground digital correction of a pipeline analog-to-digital converter according to claim 1, wherein a correction value is acquired according to the following formula:
14. The error extraction method for foreground digital correction of a pipeline analog-to-digital converter according to claim 1, wherein the pipeline analog-to-digital converter is an analog-to-digital converter with an original code output capability.
15. The error extraction method for foreground digital correction of a pipeline analog-to-digital converter according to claim 1, wherein the transmission curve of the pipeline analog-to-digital converter is subjected to expansion processing to obtain an expanded transmission curve, and the expansion processing comprises adjusting threshold voltages of comparators at two ends of the sub-segment 0 of the transmission curve of the pipeline analog-to-digital converter to enable a residual error signal within the sub-segment 0 to be a full amplitude signal.
16. The error extraction method for foreground digital correction of a pipeline analog-to-digital converter according to claim 1, wherein the locking the outputs of the comparators in the pipeline analog-to-digital converter comprises: completing output locking by adding an offset by means of an offset input method for a comparator through an offset trimming circuit of the comparator.
17. The error extraction method for foreground digital correction of a pipeline analog-to-digital converter according to claim 1, wherein the locking the outputs of the comparators in the pipeline analog-to-digital converter comprises: completing output locking by adopting forced setting to enable a value transmitted to a margin gain unit to be the same as a value of a comparator corresponding to the sub-segment 0.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(7) The implementations of the present invention are described below through specific examples. Those skilled in the art can easily understand the other advantages and effects of the present invention from the content disclosed in this specification. The present invention may also be implemented or applied through other different specific implementations. Various details in this specification may also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the embodiments below and features in the embodiments can be combined with each other in the case of no conflict.
(8) It should be noted that the drawings provided in the following embodiments only exemplify the basic idea of the present invention, so only the components related to the present invention are shown in the drawings, and the drawings are not drawn according to the numbers, shapes, and sizes of the components in practical implementations. In practice, the configurations, numbers, and scales of the components may be changed arbitrarily, and the layout and configuration of the components may be more complex.
(9) Numerous details are described below, to provide a more thorough explanation for the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention may be implemented without such specific details. In some other embodiments, well-known structures and devices are shown via block diagrams rather than details, so as not to obscure the embodiments of the present invention.
(10) An error extraction method for foreground digital correction of a pipeline analog-to-digital converter in the present embodiment includes:
(11) a transmission curve of a pipeline analog-to-digital converter is acquired, and an input signal is controlled to be within a sub-segment 0 of the transmission curve;
(12) during extraction of error information of an i.sup.th pipeline stage, a magnitude of the input signal is set according to:
(13)
(14) where G.sub.i is a margin gain of the i.sup.th pipeline stage, and FS is a full scale of the pipeline analog-to-digital converter;
(15) the outputs of all previous-stage comparators in the i.sup.th pipeline stage of the pipeline analog-to-digital converter are locked; and
(16) completing, according to original output code of the pipeline analog-to-digital converter, error extraction by means of adaptive iteration, stage-by-stage, sequentially from a last stage to a first stage of a pipeline.
(17) In the present embodiment, a structure of the pipeline analog-to-digital converter is as shown in
(18)
(19) where G.sub.i is a margin gain of the i.sup.th pipeline stage, and FS is a full scale of the ADC.
(20) In the present embodiment, an offset input method for comparators and a setting method may be adopted for locking the outputs of the comparators. From the transmission curve as shown in
(21) If the setting method is adopted for locking the outputs of the comparators, the increase of an auxiliary circuit is needed, as shown in
(22) In the present embodiment, the insufficient OTA gain and insufficient OTA bandwidth can be equivalent to a gain error. When the kickback error is not considered and only the capacitance mismatch.sub.and the gain error are considered, the errors can be extracted according to the following manner:
(23) An actual output quantity of the pipeline analog-to-digital converter is acquired, and is fit to obtain an ideal output quantity of the pipeline analog-to-digital converter, and error extraction is completed by means of adaptive iteration stage by stage sequentially from a last stage to a first stage of a pipeline according to the ideal output quantity of the pipeline analog-to-digital converter. After a sine signal is added to a certain pipeline stage, and due to the existence of an error source, there may be an error in an actual ADC output Dout. However, according to an unchanged system characteristic under the linear condition, the ideal ADC output is a sine signal, so that an ideal value of the ADC may be obtained through fitting of actual value Dout, and the fitted sine may be expressed as Formula (2):
fit=A*cos(ω*t.sub.n)−B*sin(ω*t.sub.n)−C (2)
(24) In the formula, ω is a frequency, A represents an amplitude of a cosine portion, B represents an amplitude of a sine portion, C represents an offset portion, and t.sub.n represents a sampling moment.
(25) A sine initial phase may be equivalent to a superposition of a sine signal and a cosine signal.
(26) Fitting parameters A, B and C can be obtained by calculating the sum of least mean square errors according to Formula (3):
(27)
(28) In the present embodiment, supposed that initial values of the capacitance mismatch ΔC.sub.i and the gain error ΔG are 0, a conversion error of different iteration serial numbers is obtained according to the capacitance mismatch ΔC.sub.i and the gain error ΔG obtained through iteration:
(29)
(30) The capacitance mismatch of each capacitor can be obtained through an adaptive algorithm, as shown in Formula (5):
ΔC.sub.i(n)=ΔC.sub.i(n−1)−μ.sub.0*B.sub.i(n)*ε(n),i=1˜M (5)
(31) In the formula, M is a total number of capacitors in a current stage, B.sub.i is a baseline state in which an i.sup.th capacitor is accessed, B.sub.i=1 represents a positive baseline state accessed, B.sub.i=−1 represents a negative baseline state accessed, and μ.sub.0 is an iteration constant.
(32) The gain error can be obtained through an adaptive algorithm, as shown in Formula (6):
ΔG(n)=ΔG(n−1)−μ.sub.1*sign(D.sub.res(n))*ε(n) (6)
(33) In the formula, D.sub.res represents a numerical value of a residual error, and a new iteration constant μ.sub.1 needs to be adopted due to different influences of the gain and capacitor on the digital output.
(34) The kickback error is relevant to the digital code B.sub.i of the previous sampling point, has a memory effect, and may thus influence a phase of a fitting signal. Secondly, the digital code B.sub.i has M+1 possibilities, the fitting signal is a smooth signal, its relationship is as shown in
(35)
(36) In the formula, the second item of Formula (7) is used to counteract the kickback error of the signal, the third item of Formula (7) is approximately a sine signal at low-frequency signal input, and is used to compensate the phase deviation of the fitting signal caused by the kickback error. Therefore, the two error parameters need to be iterated at the same time, as shown in Formula (8) and Formula (9), and additionally, the input signal needs to be defined to be a low-frequency signal:
(37)
K.sub.1(n)=K.sub.1(n−1)−μ.sub.3*sign(Dout(n)−Dout(n−1))*ε.sub.KB(n) (9)
(38) After all error extraction is completed, a correction value may be expressed as Formula (10):
(39)
(40) In the present embodiment, the ADC needs to have an original code output capability, and the actual work state of each capacitor, represented by B.sub.i, cannot be reproduced by the data after misalignment overlapping.
(41) In the foregoing embodiments, unless otherwise specified, sequence numbers such as “first” and “second” are used for describing identical objects and only represent different examples of the same object, but are not intended to indicate that the described objects must follow a given sequence, whether in time, in space, in order, or in any other manners.
(42) In the foregoing embodiments, the terms such as “this embodiment”, “the present embodiment”, “the embodiment”, “an embodiment”, “one embodiment”, “another embodiment”, or “other embodiments” in this specification mean that specific features, structures, or properties described with reference to the embodiment(s) are included in at least some embodiments, but are not necessarily included in all the embodiments. Also, repeated occurrences of such terms in this specification do not necessarily refer to the same embodiment(s). If it is described in this specification that a component, feature, structure, or property “may”, “perhaps”, or “can” be/is included, the specific component, feature, structure, or property “may”, “may be”, or “can” be included, it does not mean that this specific component, feature, structure, or property must be included. If “an” element or “a” unit is mentioned in the specification or claims, it does not mean that only one said element or unit exists. If “an other” or “another” element is mentioned in the specification or claims, the possibility of presence of more than one other elements is not excluded.
(43) The above embodiments only exemplarily illustrate the principles and effects of the present invention, but are not used to limit the invention. Any person skilled in the art may make modifications or changes on the foregoing embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical idea of the present invention shall be covered by the claims of the present invention.