Calibration method and circuit applied to assembly line successive approximation type ADC

By injecting the Dither signal into the input signal and residual signal of the pipeline successive approximation ADC, and using the LMS algorithm for calibration processing, the problem of capacitance mismatch and gain error is solved, and the quantization accuracy and linearity of the ADC are improved.

CN118659783AActive Publication Date: 2024-09-17XIDIAN UNIV

Patent Information

Application Number
CN202410700008.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-17
Estimated Expiration
2044-05-31

AI Technical Summary

Technical Problem

In the design process of the pipeline successive approximation ADC, the capacitance mismatch causes the weight between the binary capacitors to be unable to be determined, which affects the performance of the ADC. In addition, in the deep sub-micron process, the gain of the residual amplifier is limited and the signal cannot be accurately amplified. Affects quantization accuracy and linearity.

Method used

By injecting the Dither signal into the input signal and residual signal, the SAR ADC is used for quantization and calibration processing, combined with the LMS algorithm, iteratively calculates the weight mismatch information and error amount of the capacitor, and adjusts the digital code to achieve calibration.

Benefits of technology

It improves the quantization accuracy and linearity of the ADC, achieves effective calibration of inter-stage gain errors and capacitance mismatch, and improves the overall performance of the ADC.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118659783A
    Figure CN118659783A
Patent Text Reader

Abstract

The invention discloses a calibration method and circuit applied to a streamline successive approximation type ADC, and the method comprises the steps: injecting a Dither signal into an input signal and a residual signal, and carrying out the calibration of a preset gain estimation value through employing an estimation value Dd2, corresponding to a digital domain, of the Dither 2 signal, and the injected residual signal VR ', thereby obtaining a calibrated gain value; splicing the digital code D1 and the digital code D2 by using the calibrated gain value so as to calibrate the inter-stage gain error, and outputting an output signal to be subjected to mismatch calibration; subtracting a corresponding Dither signal from an output signal to be subjected to mismatch calibration in a digital domain so as to find demarcation points, and representing weight mismatch information of a capacitor corresponding to each demarcation point by using a maximum value output in a previous interval and a minimum value output in a next interval of the demarcation point; therefore, iteration is continuously carried out by using the LMS algorithm to obtain the corresponding error amount, mismatch calibration of the output signal to be subjected to mismatch calibration is realized, and the quantization precision and linearity of the ADC are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of mixed signal integrated circuits, and in particular relates to a calibration method and circuit applied to a pipeline successive approximation ADC. Background Art

[0002] The traditional pipelined analog-to-digital converter (Pipelined ADC) works in a multi-stage cascade and pipeline manner, and has the characteristics of high precision and high sampling rate, but the existence of multiple inter-stage residual amplifiers consumes a lot of power, while the traditional successive approximation register ADC (SAR ADC) has a simple structure, a high degree of digitization, and low power consumption. The pipelined SAR ADC combines the characteristics of the above two, has the advantages of high sampling rate, high precision, low power consumption, etc., can achieve a compromise between power consumption and speed, and has become a hot topic of research in recent years.

[0003] In the design process of PSAR ADC, capacitor mismatch will make the weights between binary capacitors uncertain, which will cause the performance of ADC to drop sharply. In addition, under deep submicron process, the gain of residual amplifier is greatly limited, so the signal cannot be accurately amplified in closed loop. In order to improve the quantization accuracy and linearity of ADC, these mismatches need to be calibrated. Summary of the invention

[0004] In order to solve the above problems existing in the prior art, the present invention provides a calibration method and circuit for pipeline successive approximation ADC. The technical problem to be solved by the present invention is achieved by the following technical solutions:

[0005] In a first aspect, the present invention provides a calibration method for a pipelined successive approximation ADC, the method comprising:

[0006] For input signal V in Sampling and injecting Dither_1 signal to get the injected input signal V i ' n , using the first-stage SAR ADC to inject the input signal V i ' n Quantization is performed to obtain an M-bit digital code D1 and a residual signal VR; wherein the Dither_1 signal is a signal with a randomly changed polarity and a constant magnitude; after the Dither_1 signal is injected, the transfer curve of the first-stage SAR ADC changes;

[0007] Injecting the Dither_2 signal into the residual signal VR to obtain an injected residual signal VR′, wherein the injected residual signal VR′ is amplified and then quantized by a second-stage SAR ADC to obtain an N-bit digital code D2;

[0008] The preset gain estimation value G is calculated based on the estimated value Dd2 of the Dither_2 signal corresponding to the digital domain and the injected residual signal VR′. e ' Perform calibration processing to obtain the calibrated gain value G e ;

[0009] According to the calibrated gain value G e splicing the digital code D1 and the digital code D2 to obtain an output signal Dout′ to be mismatch calibrated;

[0010] The estimated value Dd1 of the Dither_1 signal corresponding to the digital domain is obtained by using the LMS algorithm, and the estimated value Dd1 is subtracted from the output signal Dout′ to be mismatch calibrated in the digital domain to obtain a changed transfer curve, and M positions that jump from 0 to 1 are found in the changed transfer curve as demarcation points, and the weight mismatch information of the capacitor corresponding to each demarcation point is obtained according to the maximum value output of the previous LSB interval and the minimum value output of the next LSB interval of each demarcation point; the iterative error of the capacitor corresponding to each demarcation point is obtained according to all the weight mismatch information, and all the iterative errors are processed by the LMS algorithm to obtain M error amounts, and the digital code corresponding to each demarcation point in the output signal Dout′ to be mismatch calibrated is subtracted from the error amount corresponding to the digital code to obtain the output signal Dout after mismatch calibration.

[0011] In one embodiment of the present invention, the clock signal used to control the injection of the Dither_1 signal is synchronized with the enable clock signal used to control the comparator in the first-stage SAR ADC to perform quantization for the first time.

[0012] In one embodiment of the present invention, the preset gain estimation value G is calculated based on the estimated value Dd2 of the Dither_2 signal corresponding to the digital domain and the residual signal VR′. e ' Perform calibration processing to obtain the calibrated gain value G e The process includes:

[0013] The residual signal VR′ is used to subtract the estimated value Dd2 and the preset gain estimated value G e ', and obtain the first signal VR″;

[0014] Multiplying the first signal VR″ by the estimated value Dd2 to obtain a first result, and multiplying the first result by the first iteration step length μ1 to obtain a second signal VR″′;

[0015] The second signal VR"' is processed by an accumulator to obtain a first gain estimation value Ge", and the first gain estimation value Ge" is used to replace the current preset gain estimation value G e ′, the LMS algorithm is used to iterate continuously until the first gain estimation value Ge″ obtained converges to a stable value, which is used as the calibrated gain value G e Output.

[0016] In one embodiment of the present invention, the output signal Dout′ to be mismatch calibrated and the output signal Dout after mismatch calibration are M+N-1 bits.

[0017] In one embodiment of the present invention, the process of changing the transfer curve includes:

[0018] When the Dither_1 signal is injected, the transfer curve is translated left and right along the horizontal axis;

[0019] When the estimated value Dd1 is subtracted in the digital domain, the transfer curve shifts up and down along the vertical axis; when the voltage value Vd corresponding to the Dither_1 signal>0, the transfer curve shifts diagonally downward; when the voltage value Vd corresponding to the Dither_1 signal<0, the transfer curve shifts diagonally upward.

[0020] In one embodiment of the present invention, the process of obtaining the weight mismatch information of the capacitor corresponding to each demarcation point according to the maximum value outputted in the previous LSB interval of each demarcation point and the minimum value outputted in the next LSB interval includes:

[0021] For each demarcation point, when the voltage value Vd corresponding to the Dither_1 signal is greater than 0, the maximum value Max{Dout_cal|D1(m)=0, Vd>0} output in the LSB interval before the demarcation point m, and the minimum value Min{Dout_cal|D1(m)=1, Vd>0} output in the LSB interval after the demarcation point m are counted, and when the voltage value Vd corresponding to the Dither_1 signal is less than 0, the maximum value Max output in the LSB interval before the demarcation point m is counted. {Dout_cal|D1(m)=0,Vd<0}, the minimum value Min{Dout_cal|D1(m)=1,Vd<0} outputted in the LSB interval after the dividing point m; the statistical result of the dividing point m is used as the weight mismatch information of the capacitance corresponding to the dividing point m; wherein, m=1, 2, …, M-1, M, D1(m)=0 indicates that the dividing point m corresponds to the code value of 0 in the digital code D1, and D1(m)=1 indicates that the dividing point m corresponds to the code value of 1 in the digital code D1.

[0022] In one embodiment of the present invention, the process of obtaining the iterative error corresponding to each bit of capacitance according to all weight mismatch information includes:

[0023] For each weight mismatch information, when the weight mismatch information corresponds to the demarcation point in the transfer curve that is changed again and jumps upward, select Max{Dout_cal|D1(m)=0, Vd>0}-Min{Dout_cal|D1(m)=1, Vd<0} as the iterative error of the capacitance corresponding to the weight mismatch information;

[0024] When the weight mismatch information corresponds to a downward jump of the dividing point in the transfer curve that is changed again, Max{Dout_cal|D1(m)=0, Vd<0}-Min{Dout_cal|D1(m)=1, Vd>0} is selected as the iterative error of the capacitance corresponding to the weight mismatch information.

[0025] In a second aspect, the present invention provides a calibration circuit for a pipelined successive approximation ADC, comprising:

[0026] Sampling module, used to sample the input signal V in Take samples;

[0027] The disturbance injection module is used to inject the sampled input signal V in Inject Dither_1 signal to get the injected input signal V i ' n ; Wherein, the Dither_1 signal is a signal with randomly changing polarity and constant magnitude; after the Dither_1 signal is injected, the transfer curve of the first-stage SAR ADC changes;

[0028] The first stage SAR ADC is used to i ' n Quantization is performed to obtain a digital code D1 and a residual signal VR;

[0029] The disturbance injection module is further used to inject the Dither_2 signal into the residual signal VR to obtain the injected residual signal VR′;

[0030] an amplification module, used for amplifying the residual signal VR′;

[0031] The second-stage SAR ADC is used to quantize the amplified residual signal VR′ to obtain an N-bit digital code D2;

[0032] A gain error calibration module is used to calibrate a preset gain estimation value G according to the Dither_2 signal and the residual signal VR′. e ' Perform calibration processing to obtain the calibrated gain value G e ;

[0033] A data splicing module is used to obtain the calibrated gain value G e splicing the digital code D1 and the digital code D2 to obtain an output signal Dout′ to be mismatch calibrated;

[0034] The mismatch calibration module is used to obtain the estimated value Dd1 of the Dither_1 signal corresponding to the digital domain by using the LMS algorithm, and obtain a transfer curve that is changed again by subtracting the estimated value Dd1 from the Dout′ in the digital domain, and find M positions that jump from 0 to 1 as demarcation points in the transfer curve that is changed again, and obtain the weight mismatch information of the capacitor corresponding to each demarcation point according to the maximum value output of the previous LSB interval and the minimum value output of the next LSB interval of each demarcation point; obtain the iterative error of the capacitor corresponding to each demarcation point according to all the weight mismatch information, and process all the iterative errors by using the LMS algorithm to obtain M error amounts, and subtract the error amount corresponding to the digital code of each demarcation point in the output signal Dout′ from the digital code of the digital code to obtain the output signal Dout after mismatch calibration.

[0035] Beneficial effects of the present invention:

[0036] In the solution provided by the present invention, the preset gain estimation value G is calculated by using the estimated value Dd2 of the Dither_2 signal corresponding to the digital domain and the injected residual signal VR′. e ' Perform calibration processing; use the calibrated gain value G eThe digital code D1 and the digital code D2 are spliced ​​to realize the calibration of the inter-stage gain error; the maximum value of the output of the LSB interval before each dividing point and the minimum value of the output of the LSB interval after each dividing point are used to represent the weight mismatch information of the capacitor corresponding to the dividing point; the LMS algorithm is continuously iterated to obtain the corresponding error amount, thereby realizing the mismatch calibration of the output signal Dout′ to be calibrated, thereby improving the quantization accuracy and linearity of the ADC. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A principle block diagram of a pipelined successive approximation ADC provided by an embodiment of the present invention and applied to a calibration method of a pipelined successive approximation ADC;

[0038] Figure 2 A schematic diagram of the steps of a calibration method for a pipeline successive approximation ADC provided by an embodiment of the present invention;

[0039] Figure 3 A timing diagram of a pipelined successive approximation ADC provided by an embodiment of the present invention;

[0040] Figure 4 A flowchart of a gain error calibration method for a pipeline successive approximation ADC provided by an embodiment of the present invention;

[0041] Figure 5 A schematic diagram of a corresponding transfer curve when M=2 in a pipeline successive approximation ADC provided by an embodiment of the present invention;

[0042] Figure 6 A flowchart of a capacitance mismatch calibration method for a pipelined successive approximation ADC provided by an embodiment of the present invention;

[0043] Figure 7 A schematic diagram of a structure of a pipelined successive approximation ADC provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0044] The following will be combined with the accompanying drawings of the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] Example 1

[0046] The principle block diagram of the pipelined successive approximation ADC in the calibration method of the pipelined successive approximation ADC provided by the embodiment of the present invention is shown in FIG. Figure 1 It can be concluded from the figure that the Dither signal is injected into the input signal and the residual signal respectively, so as to perform the subsequent inter-stage gain error calibration and capacitor mismatch calibration. The specific calibration steps are introduced below.

[0047] The embodiment of the present invention provides a calibration method for a pipelined successive approximation ADC, such as Figure 2 As shown, it may include:

[0048] S1, for input signal V in Sampling and injecting Dither_1 signal to get the injected input signal V i ' n , using the first-stage SAR ADC to inject the input signal V i ' n Quantization is performed to obtain an M-bit digital code D1 and a residual signal VR; wherein the Dither_1 signal is a signal with randomly changed polarity and unchanged magnitude; after the Dither_1 signal is injected, the transfer curve of the first-stage SARADC changes.

[0049] For S1, this may include:

[0050] S11, for input signal V in Sampling and injecting Dither_1 signal to get the injected input signal V i ' n .

[0051] The sampling switch Φ_s responds to the input signal V in After sampling, the Dither_1 signal is injected into the sampled signal using switch Φ_d1 to obtain the injected input signal V i ' n The Dither_1 signal is a disturbance signal with randomly changing polarity and constant magnitude. After the Dither_1 signal is injected, the transfer curve of the first-stage SAR ADC changes accordingly, which is used for subsequent calibration. The transfer curve of the first-stage SAR ADC represents the relationship between the analog input voltage and the digital output code of the SAR ADC. Please refer to the following for the specific change method of the transfer curve.

[0052] Optionally, since there is usually a redundant connection bit between the two-stage SAR ADC, the Dither_1 signal can be 1 / 2LSB. 1 / 2LSB represents half of the least significant bit in the first-stage SAR ADC, representing the minimum voltage change that the first-stage SAR ADC can resolve.

[0053] S12, using the first stage SAR ADC to inject the input signal V i ' n Quantization is performed to obtain an M-bit digital code D1 and a residual signal VR.

[0054] M represents the number of bits of the first-stage SAR ADC, the digital code D1 represents the quantization result of the first-stage SAR ADC, and the residual signal represents the difference between the original analog input signal and the digital output signal generated after conversion by the first-stage SAR ADC.

[0055] Specifically, the clock signal used to control the injection of the Dither_1 signal is synchronized with the enable clock signal used to control the first quantization of the comparator in the first-stage SAR ADC.

[0056] It can be understood that the clock signal for controlling the injection of the Dither_1 signal controls the injection of the Dither_1 signal into the sampled signal by controlling the switch Φ_d1.

[0057] S2, injecting the Dither_2 signal into the residual signal VR to obtain an injected residual signal VR′. The injected residual signal VR′ is amplified and then quantized by the second-stage SAR ADC to obtain an N-bit digital code D2.

[0058] For S2, the residual signal VR′ is Figure 1 The operational amplifier AMP in the circuit amplifies the signal and transmits it to the second-stage SAR ADC. N represents the number of bits of the second-stage SAR ADC.

[0059] Since the residual signal in the pipelined successive approximation ADC is usually the residual signal obtained after the last inversion of the internal DAC output, the clock used to control the injection of the residual signal into the Dither_2 signal needs to be strictly controlled after the last inversion of the DAC in the first-stage SAR ADC. The DAC in the first-stage SAR ADC is a key component that converts the digital output generated by the successive approximation algorithm into an analog voltage.

[0060] It can be understood that the clock signal for controlling the injection of the Dither_2 signal controls the injection of the sampled signal into the Dither_2 signal by controlling the switch Φ_d2. Figure 3 .from Figure 3 It can be seen that the signal controlling the switch Φ_d1 is synchronized with the enable clock signal used to control the first quantization of the comparator in the first-stage SAR ADC; the signal controlling the switch Φ_d2 is after the last flip of the DAC in the first-stage SAR ADC.

[0061] It can be understood that in order to calibrate the inter-stage gain error and the DAC capacitance mismatch, it is first necessary to inject the Dither_1 signal and the Dither_2 signal into the input signal and the residual signal respectively in the analog domain, and then subtract them at the digital back end, and calibrate using the calibration method provided later, so as to obtain the calibrated output signal Dout.

[0062] S3, according to the estimated value Dd2 of the Dither_2 signal corresponding to the digital domain and the injected residual signal VR′, the preset gain estimated value G e ' Perform calibration processing to obtain the calibrated gain value G e .

[0063] For S3, this can include:

[0064] S31, using the residual signal VR′ to subtract the estimated value Dd2 and the preset gain estimated value G e ’ to obtain the first signal VR″.

[0065] The Dither_2 signal is a disturbance signal, and the estimated value Dd2 is the estimated value of the Dither_2 signal in the digital domain. When S3A is executed for the first time, the preset gain estimate G e ′ is a known quantity.

[0066] S32, multiplying the first signal VR″ by the estimated value Dd2 to obtain a first result, and multiplying the first result by the first iteration step length μ1 to obtain a second signal VR″′.

[0067] S33, using an accumulator to process the second signal VR″′ to obtain a first gain estimation value Ge″, and replacing the current preset gain estimation value G with the first gain estimation value Ge″ e ′, the LMS algorithm is used to iterate continuously until the first gain estimate Ge″ converges to a stable value, which is used as the calibrated gain value G e Output.

[0068] The first gain estimation value Ge" is obtained by the LMS algorithm to replace the current preset gain estimation value G e ′, after replacement, return to execute S3A-S3C, and continuously iterate until the first gain estimation value Ge″ obtained in S33 converges to a stable value with a very small difference between the previous and the next two times, which is used as the calibrated gain value G e , to achieve the preset gain estimation value G e ' Perform calibration processing. Calibrating the gain error is a prerequisite for the subsequent DAC mismatch calibration method. The two can be performed at the same time to obtain a high-precision and high-linearity calibration result.

[0069] S4, according to the calibrated gain value G e The digital code D1 and the digital code D2 are concatenated to obtain the output signal Dout′ to be mismatch calibrated.

[0070] According to the calibrated gain value G e The splicing position corresponding to the digital code D1 and the digital code D2 is determined, and the digital code D1 and the digital code D2 are spliced ​​according to the splicing position to obtain the output signal Dout′ to be mismatch calibrated.

[0071] Optionally, since there is usually one redundant connection bit between two-stage SAR ADCs, the output signal Dout′ to be mismatch calibrated and the output signal Dout after mismatch calibration may be M+N-1 bits.

[0072] Through S2-S3, the Dither_2 signal is injected into the residual signal, and the preset gain estimation value G is calculated by using the estimated value Dd2 of the Dither_2 signal corresponding to the digital domain and the injected residual signal VR′. e ' Perform calibration processing to obtain the calibrated gain value G e ; Using the calibrated gain value G e The digital code D1 and the digital code D2 are spliced ​​to achieve calibration of the inter-stage gain error.

[0073] S5, using the LMS algorithm to obtain the estimated value Dd1 of the Dither_1 signal corresponding to the digital domain, and in the digital domain, subtracting the estimated value Dd1 from the output signal Dout′ to be calibrated for mismatch to obtain a changed transfer curve, finding M positions that jump from 0 to 1 in the changed transfer curve as demarcation points, and obtaining the weight mismatch information of the capacitor corresponding to each demarcation point according to the maximum value of the output of the previous LSB interval and the minimum value of the output of the next LSB interval at each demarcation point; obtaining the iterative error of the capacitor corresponding to each demarcation point according to all the weight mismatch information, and processing all the iterative errors using the LMS algorithm to obtain M error amounts, and subtracting the error amount corresponding to the digital code of each demarcation point in the output signal Dout′ to be calibrated for mismatch from the digital code to obtain the output signal Dout after mismatch calibration.

[0074] For S5, this may include:

[0075] S51, using the LMS algorithm to obtain the estimated value Dd1 of the Dither_1 signal in the digital domain, and in the digital domain, subtracting the estimated value Dd1 from the output signal Dout′ to be mismatch calibrated to obtain a transfer curve that is changed again.

[0076] Specifically, when the input signal V inWhen sampling and injecting the Dither_1 signal, the transfer curve of the pipelined successive approximation ADC will change accordingly; when the output signal Dout′ to be mismatch calibrated is subtracted from the estimated value Dd1 in the digital domain, the transfer curve of the pipelined successive approximation ADC will also change accordingly.

[0077] The process of changing the transfer curve may include:

[0078] When the Dither_1 signal is injected, the transfer curve shifts left and right along the horizontal axis;

[0079] When the magnitude of the Dither_1 signal is positive, the transfer curve shifts to the left along the horizontal axis, and when the magnitude of the Dither_1 signal is negative, the transfer curve shifts to the right along the horizontal axis.

[0080] When the estimated value Dd1 is subtracted from the digital domain, the transfer curve shifts up and down along the vertical axis; when the voltage value Vd corresponding to the Dither_1 signal is greater than 0, the transfer curve shifts diagonally downward; when the voltage value Vd corresponding to the Dither_1 signal is less than 0, the transfer curve shifts diagonally upward. Therefore, in the final transfer curve, the transfer curve shifts in the direction of the slope.

[0081] In order to ensure the accuracy of the data, the Dither_1 signal is processed using the LMS algorithm to obtain its estimated value Dd1 corresponding to the digital domain.

[0082] For ease of understanding, take M = 2 as an example to explain in detail. When there is a mismatch in the capacitance weight of the pipelined successive approximation ADC, the transfer curve of the pipelined successive approximation ADC corresponding to M = 2 can be found in Figure 5 As shown by the solid line in the middle, when the voltage value Vd corresponding to the Dither_1 signal is greater than 0, the transfer curve changes again as shown in Figure 5 As shown by the dotted line on the left side of the solid line, when the voltage value Vd corresponding to the Dither_1 signal is less than 0, the transfer curve changes again as shown in Figure 5 The dashed line to the right of the solid line. Figure 5 The two different dotted lines in the figure form a shaded area, and the area of ​​the shaded area can represent the mismatch information of the capacitor corresponding to the demarcation point. For a flowchart of the capacitor mismatch calibration provided by an embodiment of the present invention, please refer to Figure 6 , the following will combine Figure 5 and Figure 6 Describe the relevant steps in detail.

[0083] S52, finding M positions where the value jumps from 0 to 1 in the transfer curve that has changed again as demarcation points, and obtaining weight mismatch information of the capacitor corresponding to each demarcation point according to the maximum value output in the previous LSB interval and the minimum value output in the next LSB interval of each demarcation point.

[0084] Specifically, when there is a mismatch in the capacitance weight of the SAR ADC, an upward or downward jump will occur at the demarcation point in the transfer curve of the SAR ADC. Taking M=2 as an example, in the transfer curve of the pipelined successive approximation ADC corresponding to M=2, it can be seen that a downward jump occurs at the demarcation point corresponding to 00 to 01, an upward jump occurs at the demarcation point corresponding to 01 to 10, and a downward jump occurs at the demarcation point corresponding to 10 to 11.

[0085] Due to the binary quantization mode of the SAR ADC, the transfer curve change caused by the mismatch of the capacitor weight has a symmetrical characteristic. When the same bit output jumps from 0 to 1, the jumps of the transfer curve at different positions are the same. Therefore, only M positions that jump from 0 to 1 need to be selected as the dividing points. Usually, the middle segment is selected as the interval to ensure accuracy.

[0086] Specifically, the process of obtaining the weight mismatch information of the capacitor corresponding to each demarcation point according to the maximum value outputted in the previous LSB interval and the minimum value outputted in the next LSB interval of each demarcation point may include:

[0087] For each demarcation point, when the voltage value Vd corresponding to the Dither_1 signal is greater than 0, the maximum value Max{Dout_cal|D1(m)=0, Vd>0} output in the LSB interval before the demarcation point m, and the minimum value Min{Dout_cal|D1(m)=1, Vd>0} output in the LSB interval after the demarcation point m are counted. When the voltage value Vd corresponding to the Dither_1 signal is less than 0, the maximum value Max output in the LSB interval before the demarcation point m is counted. {Dout_cal|D1(m)=0,Vd<0},the minimum value Min{Dout_cal|D1(m)=1,Vd<0} outputted in the LSB interval after the demarcation point m;the statistical result of the demarcation point m is used as the weight mismatch information of the capacitor corresponding to the demarcation point m;wherein, m=1,2,…,M-1,M,D1(m)=0 indicates that the demarcation point m corresponds to the code value of 0 in the digital code D1,and D1(m)=1 indicates that the demarcation point m corresponds to the code value of 1 in the digital code D1. LSB indicates the least significant bit, and the LSB interval indicates the interval corresponding to the least significant bit, which refers to the voltage range in the analog input voltage range corresponding to the minimum change in the ADC output code.

[0088] The same input signal can get different digital code outputs after superimposing different Dither disturbances. Figure 5 It can be seen that the transfer curves corresponding to Vd>0 and Vd<0 represented by different dotted lines, and the corresponding horizontal windows appear near the dividing point. Figure 5The shaded area in the figure can represent the mismatch information of the capacitor corresponding to the demarcation point. The area of ​​the shaded area corresponding to the demarcation point is represented by the maximum value of the output of the LSB interval before the demarcation point and the minimum value of the output of the LSB interval after the demarcation point, thereby obtaining the mismatch information of the capacitor corresponding to the demarcation point. Taking the case of M=2 as an example, find the maximum value of segment 01 and the minimum value of segment 10; the maximum value of segment 10 and the minimum value of segment 11; the maximum value of segment 01 and the minimum value of segment 10 represent the weight mismatch information of the high-order capacitor in the pipeline successive approximation ADC of M=2, and the maximum value of segment 10 and the minimum value of segment 11 represent the weight mismatch information of the low-order capacitor in the pipeline successive approximation ADC of M=2. By using the maximum value of the output of the LSB interval before the demarcation point and the minimum value of the output of the LSB interval after the demarcation point, the area of ​​the shaded area corresponding to the demarcation point is obtained, thereby specifically representing the weight mismatch information of the capacitor in the pipeline successive approximation ADC, so as to facilitate subsequent mismatch calibration.

[0089] S53, obtaining the iterative error of the capacitor corresponding to each demarcation point based on all the weight mismatch information, processing all the iterative errors using the LMS algorithm to obtain M error amounts, subtracting the error amount corresponding to the digital code from the digital code corresponding to each demarcation point in the output signal Dout′ to be mismatch calibrated, and obtaining the output signal Dout after mismatch calibration.

[0090] Specifically, the process of obtaining the iterative error corresponding to each bit of capacitance according to all weight mismatch information may include:

[0091] For each weight mismatch information, when the dividing point in the transfer curve corresponding to the weight mismatch information jumps upward again, Max{Dout_cal|D1(m)=0, Vd>0}-Min{Dout_cal|D1(m)=1, Vd<0} is selected as the iterative error of the capacitance corresponding to the weight mismatch information; when the transfer curve jumps upward, the iterative error is less than 0.

[0092] When the weight mismatch information corresponds to the demarcation point in the transfer curve that changes again and jumps downward, Max{Dout_cal|D1(m)=0, Vd<0}-Min{Dout_cal|D1(m)=1, Vd>0} is selected as the iteration error of the capacitance corresponding to the weight mismatch information. When the transfer curve jumps downward, the iteration error is greater than 0.

[0093] All iterative errors are processed using the LMS algorithm to obtain M error amounts, and then the error amount corresponding to the digital code is subtracted from the digital code corresponding to each demarcation point in the output signal Dout′ to be mismatch calibrated to obtain the output signal Dout after mismatch calibration.

[0094] By processing all iterative errors using the LMS algorithm, corresponding error amounts are obtained; the output signal Dout′ to be mismatch calibrated is calibrated using the corresponding error amounts to obtain the output signal Dout after mismatch calibration.

[0095] The embodiment of the present invention uses the maximum value of the output of the LSB interval before the demarcation point and the minimum value of the output of the LSB interval after the demarcation point to represent the area of ​​the shaded area corresponding to the demarcation point, thereby obtaining the weight mismatch information of the capacitor corresponding to the demarcation point; uses the LMS algorithm to process all the weight mismatch information to obtain M error amounts, thereby completing the calibration of the output signal Dout′ to be calibrated for the mismatch, and outputting the output signal Dout after the mismatch calibration.

[0096] The mismatch calibration method for pipelined successive approximation ADC proposed in the embodiment of the present invention mainly includes inter-stage gain error calibration and DAC capacitance mismatch calibration. By injecting Dither_1 signal into the input signal, injecting Dither_2 signal into the residual signal, and using the estimated value Dd2 of the Dither_2 signal corresponding to the digital domain and the injected residual signal VR′ to calibrate the preset gain estimation value G e ' Perform calibration processing to obtain the calibrated gain value G e ; Using the calibrated gain value G e The digital code D1 and the digital code D2 are spliced ​​to realize the calibration of the inter-stage gain error, and the output signal Dout′ to be mismatch calibrated is output; the corresponding Dither signal is subtracted from the output signal Dout′ to be mismatch calibrated in the digital domain to find the dividing point, and the maximum value of the output of the previous LSB interval and the minimum value of the output of the next LSB interval of each dividing point are used to represent the weight mismatch information of the capacitor corresponding to the dividing point; the LMS algorithm is continuously iterated to obtain the corresponding error amount, and the mismatch calibration of the output signal Dout′ to be mismatch calibrated is realized, thereby improving the quantization accuracy and linearity of the ADC.

[0097] Example 2

[0098] The embodiment of the present invention provides a calibration circuit for a pipelined successive approximation ADC, such as Figure 7 As shown, it may include:

[0099] Sampling module, used to sample the input signal V in Take samples;

[0100] The disturbance injection module is used to inject the sampled input signal V in Inject Dither_1 signal to get the injected input signal V i ' n; Among them, the Dither_1 signal is a signal with randomly changing polarity and constant magnitude; after the Dither_1 signal is injected, the transfer curve of the first-stage SAR ADC changes;

[0101] The first stage SAR ADC is used to i ' n Quantization is performed to obtain a digital code D1 and a residual signal VR;

[0102] The disturbance injection module is also used to inject the Dither_2 signal into the residual signal VR to obtain the injected residual signal VR′;

[0103] an amplification module, used for amplifying the residual signal VR′;

[0104] The second-stage SAR ADC is used to quantize the amplified residual signal VR′ to obtain an N-bit digital code D2;

[0105] The gain error calibration module is used to calibrate the preset gain estimation value G according to the Dither_2 signal and the residual signal VR′. e ' Perform calibration processing to obtain the calibrated gain value G e ;

[0106] The data splicing module is used to calculate the gain value G after calibration. e The digital code D1 and the digital code D2 are concatenated to obtain an output signal Dout′ to be mismatch calibrated;

[0107] The mismatch calibration module is used to obtain the estimated value Dd1 of the Dither_1 signal corresponding to the digital domain by using the LMS algorithm, and obtain the changed transfer curve again by subtracting the estimated value Dd1 from Dout′ in the digital domain, and find M positions that jump from 0 to 1 in the changed transfer curve as demarcation points, and obtain the weight mismatch information of the capacitor corresponding to each demarcation point according to the maximum value output of the previous LSB interval and the minimum value output of the next LSB interval of each demarcation point; obtain the iterative error of the capacitor corresponding to each demarcation point according to all the weight mismatch information, and process all the iterative errors by using the LMS algorithm to obtain M error amounts, and subtract the error amount corresponding to the digital code of each demarcation point in the output signal Dout′ from the digital code of the digital code to obtain the output signal Dout after mismatch calibration.

[0108] The working process of the sampling module corresponds to S11 in Example 1, the working process of the disturbance injection module corresponds to S11 and S2 in Example 1, the working process of the first-stage SAR ADC corresponds to S12 in Example 1, the working process of the amplification module corresponds to S2 in Example 1, the working process of the second-stage SAR ADC corresponds to S2 in Example 1, the working process of the gain error calibration module corresponds to S3 in Example 1, the working process of the data splicing module corresponds to S4 in Example 1, and the working process of the mismatch calibration module corresponds to S5 in Example 1. Please refer to Example 1 for the specific processing process of each module, which will not be elaborated here.

[0109] In the solution provided by the embodiment of the present invention, a disturbance injection module is used to inject a Dither_1 signal into the input signal, and a Dither_2 signal is injected into the residual signal; a gain error calibration module is used to obtain a calibrated gain value for a preset gain estimate; a data splicing module uses the calibrated gain value to splice the digital code D1 and the digital code D2 to calibrate the inter-stage gain error; a mismatch calibration module calibrates the DAC capacitor mismatch, thereby outputting an output signal Dout after mismatch calibration, thereby improving the quantization accuracy and linearity of the ADC.

[0110] It should be noted that, in the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0111] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0112] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A calibration method for a pipelined successive approximation ADC, characterized in that: include: For input signal V in Sampling and injecting Dither_1 signal to get the injected input signal V i ' n , using the first-stage SAR ADC to inject the input signal V i ' n Quantization is performed to obtain an M-bit digital code D1 and a residual signal VR; wherein the Dither_1 signal is a signal with a randomly changed polarity and a constant magnitude; after the Dither_1 signal is injected, the transfer curve of the first-stage SAR ADC changes; Injecting the Dither_2 signal into the residual signal VR to obtain an injected residual signal VR′, wherein the injected residual signal VR′ is amplified and then quantized by a second-stage SAR ADC to obtain an N-bit digital code D2; The preset gain estimation value G is calculated based on the estimated value Dd2 of the Dither_2 signal corresponding to the digital domain and the injected residual signal VR′. e 'Perform gain error calibration to obtain the calibrated gain value G e ; According to the calibrated gain value G e splicing the digital code D1 and the digital code D2 to obtain an output signal Dout′ to be mismatch calibrated; The estimated value Dd1 of the Dither_1 signal corresponding to the digital domain is obtained by using the LMS algorithm, and the estimated value Dd1 is subtracted from the output signal Dout′ to be mismatch calibrated in the digital domain to obtain a changed transfer curve, and M positions that jump from 0 to 1 are found in the changed transfer curve as demarcation points, and the weight mismatch information of the capacitor corresponding to each demarcation point is obtained according to the maximum value output of the previous LSB interval and the minimum value output of the next LSB interval of each demarcation point; the iterative error of the capacitor corresponding to each demarcation point is obtained according to all the weight mismatch information, and all the iterative errors are processed by the LMS algorithm to obtain M error amounts, and the digital code corresponding to each demarcation point in the output signal Dout′ to be mismatch calibrated is subtracted from the error amount corresponding to the digital code to obtain the output signal Dout after mismatch calibration.

2. The calibration method for pipelined successive approximation ADC according to claim 1, characterized in that: The clock signal used to control the injection of the Dither_1 signal is synchronized with the enable clock signal used to control the comparator in the first-stage SAR ADC to perform quantization for the first time.

3. The calibration method for pipelined successive approximation ADC according to claim 1, characterized in that: The preset gain estimation value G is calculated based on the estimated value Dd2 of the Dither_2 signal corresponding to the digital domain and the residual signal VR′. e ' Perform calibration processing to obtain the calibrated gain value G e The process includes: The residual signal VR′ is used to subtract the estimated value Dd2 and the preset gain estimated value G e ', and obtain the first signal VR″; Multiplying the first signal VR″ by the estimated value Dd2 to obtain a first result, and multiplying the first result by the first iteration step length μ1 to obtain a second signal VR″′; The second signal VR"' is processed by an accumulator to obtain a first gain estimation value Ge", and the first gain estimation value Ge" is used to replace the current preset gain estimation value G e ′, the LMS algorithm is used to iterate continuously until the first gain estimation value Ge″ obtained converges to a stable value, which is used as the calibrated gain value G e Output.

4. The calibration method for pipelined successive approximation ADC according to claim 1, characterized in that: The output signal Dout′ to be mismatch calibrated and the output signal Dout after mismatch calibration are M+N-1 bits.

5. The calibration method for pipelined successive approximation ADC according to claim 1, characterized in that: The process in which the transfer curve changes includes: When the Dither_1 signal is injected, the transfer curve is translated left and right along the horizontal axis; When the estimated value Dd1 is subtracted in the digital domain, the transfer curve shifts up and down along the vertical axis; when the voltage value Vd corresponding to the Dither_1 signal>0, the transfer curve shifts diagonally downward; when the voltage value Vd corresponding to the Dither_1 signal<0, the transfer curve shifts diagonally upward.

6. The calibration method for pipelined successive approximation ADC according to claim 1, characterized in that: The process of obtaining the weight mismatch information of the capacitor corresponding to each demarcation point according to the maximum value outputted in the previous LSB interval of each demarcation point and the minimum value outputted in the next LSB interval includes: For each demarcation point, when the voltage value Vd corresponding to the Dither_1 signal is greater than 0, the maximum value Max{Dout_cal|D1(m)=0, Vd>0} output in the LSB interval before the demarcation point m, and the minimum value Min{Dout_cal|D1(m)=1, Vd>0} output in the LSB interval after the demarcation point m are counted, and when the voltage value Vd corresponding to the Dither_1 signal is less than 0, the maximum value Max output in the LSB interval before the demarcation point m is counted. {Dout_cal|D1(m)=0,Vd<0}, the minimum value Min{Dout_cal|D1(m)=1,Vd<0} outputted in the LSB interval after the dividing point m; the statistical result of the dividing point m is used as the weight mismatch information of the capacitance corresponding to the dividing point m; wherein, m=1, 2, …, M-1, M, D1(m)=0 indicates that the dividing point m corresponds to the code value of 0 in the digital code D1, and D1(m)=1 indicates that the dividing point m corresponds to the code value of 1 in the digital code D1.

7. The calibration method for pipelined successive approximation ADC according to claim 6, characterized in that: The process of obtaining the iterative error corresponding to each bit of capacitance according to all weight mismatch information includes: For each weight mismatch information, when the weight mismatch information corresponds to the demarcation point in the transfer curve that is changed again and jumps upward, select Max{Dout_cal|D1(m)=0, Vd>0}-Min{Dout_cal|D1(m)=1, Vd<0} as the iterative error of the capacitance corresponding to the weight mismatch information; When the weight mismatch information corresponds to a downward jump of the dividing point in the transfer curve that is changed again, Max{Dout_cal|D1(m)=0, Vd<0}-Min{Dout_cal|D1(m)=1, Vd>0} is selected as the iterative error of the capacitance corresponding to the weight mismatch information.

8. A calibration circuit for a pipelined successive approximation ADC, characterized in that: include: Sampling module, used to sample the input signal V in Take samples; The disturbance injection module is used to inject the sampled input signal V in Inject Dither_1 signal to get the injected input signal V i ' n ; Wherein, the Dither_1 signal is a signal with randomly changing polarity and constant magnitude; after the Dither_1 signal is injected, the transfer curve of the first-stage SAR ADC changes; The first stage SAR ADC is used to i ' n Quantization is performed to obtain a digital code D1 and a residual signal VR; The disturbance injection module is further used to inject the Dither_2 signal into the residual signal VR to obtain the injected residual signal VR′; an amplification module, used for amplifying the residual signal VR′; The second-stage SAR ADC is used to quantize the amplified residual signal VR′ to obtain an N-bit digital code D2; A gain error calibration module is used to calibrate a preset gain estimation value G according to the Dither_2 signal and the residual signal VR′. e ' Perform calibration processing to obtain the calibrated gain value G e ; A data splicing module is used to obtain the calibrated gain value G e splicing the digital code D1 and the digital code D2 to obtain an output signal Dout′ to be mismatch calibrated; The mismatch calibration module is used to obtain the estimated value Dd1 of the Dither_1 signal corresponding to the digital domain by using the LMS algorithm, and obtain a transfer curve that is changed again by subtracting the estimated value Dd1 from the Dout′ in the digital domain, and find M positions that jump from 0 to 1 as demarcation points in the transfer curve that is changed again, and obtain the weight mismatch information of the capacitor corresponding to each demarcation point according to the maximum value output of the previous LSB interval and the minimum value output of the next LSB interval of each demarcation point; obtain the iterative error of the capacitor corresponding to each demarcation point according to all the weight mismatch information, and process all the iterative errors by using the LMS algorithm to obtain M error amounts, and subtract the error amount corresponding to the digital code of each demarcation point in the output signal Dout′ from the digital code of the digital code to obtain the output signal Dout after mismatch calibration.

Citation Information

Patent Citations

  • Interstage gain error calibration method and system for pipeline successive approximation type ADC

    CN114070314A

  • Pipeline successive approximation analog-to-digital converter calibration method and system

    CN115441869A

  • Error calibration method for pipelined successive approximation analog-to-digital converter

    CN116582128A

  • Background calibration of reference, DAC and quantization nonlinearity in ADCs

    DE102018126606A1

Cited By

  • Successive approximation type ADC capacitor mismatch calibration method

    CN119382702A

  • Calibration type high-precision multi-level PipelinedSAR ADC (Analog to Digital Converter) based on block LMS (Least Mean Square)

    CN119519709A

  • High-precision low-delay analog-to-digital converter multi-error digital cooperative calibration method and circuit

    CN120528428A

  • Calibration method applied to inter-stage gain mismatch of column-type pipelined ADC (Analog-to-Digital Converter)

    CN122371982A

  • A calibration method for inter-stage gain mismatch of a split-column pipelined ADC

    CN122371982B