Pipeline ADC background digital calibration method and device based on histogram statistics

By using histogram statistics to calculate the gain coefficient for background digital calibration in pipeline ADC, the problem of limited inter-stage gain calibration accuracy in the existing technology is solved, efficient signal-to-noise ratio and linearity improvement is achieved, simplifying the calibration process and adapting to the environment change.

CN113872598BActive Publication Date: 2024-11-05XIDIAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110998480.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-27
Publication Date
2024-11-05
Estimated Expiration
2041-08-27

AI Technical Summary

Technical Problem

The existing pipeline ADC interstage gain calibration method requires additional analog circuits, which increases system power consumption and algorithm complexity. The front-end calibration cannot ensure calibration performance after the chip's working environment changes, resulting in limited calibration accuracy, affecting the signal-to-noise ratio and Linearity.

Method used

The background digital calibration method of pipeline ADC based on histogram statistics is adopted. By obtaining the output digital code of the multi-stage ADC, counting the histogram to calculate the gain coefficient, and calibrating step by step, from the backend to the front end, the background digital calibration of multi-stage pipeline ADC is realized. Reduce interstage gain error and improve calibration accuracy.

Benefits of technology

This method does not require additional analog circuits, and realizes a significant reduction in the gain error between pipeline ADCs, improves signal-to-noise ratio and linearity, has high calibration accuracy, and adapts to signal changes of pipeline ADCs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113872598B_ABST
    Figure CN113872598B_ABST
Patent Text Reader

Abstract

The present invention discloses a pipeline ADC background digital calibration method and device based on histogram statistics, the method comprising: obtaining the output digital code of each ADC in a multi-stage pipeline ADC, and considering the Nth ADC as an ideal post-stage; statistically analyzing the histogram of the ideal post-stage output digital code, and calculating the gain coefficient between the ideal post-stage and its previous ADC according to the histogram; calibrating the output digital code of the previous ADC of the ideal post-stage according to the gain coefficient; merging the calibrated ADC with the Nth ADC, updating the ideal post-stage, and calibrating the output digital code of the previous ADC after each update until the calibration is to the first ADC, so as to complete the background digital calibration of the multi-stage pipeline ADC. The method can be run in the background, is easy to implement, can significantly reduce the inter-stage gain error of the pipeline ADC without adding an additional analog circuit, and has a high calibration accuracy, which is of great significance to improving the signal-to-noise ratio and linearity of the pipeline ADC.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of pipeline analog-to-digital converters, and in particular relates to a pipeline ADC background digital calibration method and device based on histogram statistics. Background Art

[0002] The pipeline analog-to-digital converter (ADC) is a common structure for realizing high-speed and high-precision converters. It has a high conversion rate, consumes low chip area and power consumption, and is therefore increasingly used in high-speed and high-precision fields such as wireless communications, CCD image data processing, and ultrasonic monitoring. The existence of inter-stage gain error in the pipeline ADC has a very bad effect on the signal-to-noise ratio and linearity of the system. Therefore, it is necessary to calibrate the inter-stage gain of the multi-stage pipeline ADC.

[0003] The prior art provides a method for calibrating inter-stage gain of a pipeline ADC. After chip tape-out, first, the actual gain of the pipeline stage to be calibrated is measured according to an inter-stage gain measurement scheme; then, the actual gain value obtained is used in combination with a compensation circuit structure to determine the required compensation capacitor value; next, the determined compensation capacitor value is converted into a corresponding calibration signal and solidified in the chip of the pipeline ADC; finally, in the normal conversion mode of the pipeline ADC, the compensation circuit compensates for the inter-stage gain error of the stage to be calibrated according to the calibration signal to complete the calibration.

[0004] However, the above method requires additional analog circuits, which increases system power consumption and algorithm complexity. In addition, it is a foreground calibration, which requires a specific operating environment to implement, and the calibration performance cannot be guaranteed after the chip working environment changes. Due to the fixed circuit structure, the calibration accuracy of the inter-stage gain of the pipeline ADC is limited, which is not conducive to improving the signal-to-noise ratio and linearity of the ADC. Summary of the invention

[0005] In order to solve the above problems existing in the prior art, the present invention provides a pipeline ADC background digital calibration method and device based on histogram statistics. The technical problem to be solved by the present invention is achieved through the following technical solutions:

[0006] A pipeline ADC background digital calibration method based on histogram statistics, comprising:

[0007] Obtaining the output digital code of each stage ADC in the multi-stage pipeline ADC, and regarding the N-th stage ADC as an ideal subsequent stage; wherein the N-th stage ADC is the last stage ADC of the N-stage pipeline ADC;

[0008] Counting a histogram of the digital code output by the ideal subsequent stage, and calculating a gain coefficient between the ideal subsequent stage and the ADC of the previous stage according to the histogram;

[0009] Calibrate the output digital code of the previous stage ADC of the ideal subsequent stage according to the gain coefficient;

[0010] The calibrated ADC is combined with the Nth stage ADC to update the ideal subsequent stage, and after each update, the output digital code of the previous stage ADC is calibrated until it is calibrated to the first stage ADC, so as to complete the background digital calibration of the multi-stage pipeline ADC.

[0011] In one embodiment of the present invention, a histogram of the ideal post-stage output digital code is counted, and a gain coefficient between the ideal post-stage and its previous stage ADC is calculated according to the histogram, including:

[0012] Count the histogram of all output digital codes of the current ideal post-stage;

[0013] Determine the maximum value, minimum value and digital code range of the output digital code according to the histogram;

[0014] Calculate the gain coefficient α between the current ideal subsequent stage and the previous stage ADC according to the digital code range i , the calculation formula is as follows:

[0015]

[0016] in and They respectively represent the maximum and minimum values ​​of the output digital code of the ideal subsequent stage combined from the N-i+1th stage ADC to the Nth stage ADC, LSB(N-i+1) represents the unit quantization interval range of the N-i+1th stage input signal, N represents the maximum number of stages of the multi-stage pipeline ADC, 1≤i<N.

[0017] In one embodiment of the present invention, before determining the maximum value, the minimum value and the digital code range of the output digital code according to the histogram, the method further includes:

[0018] The histogram is threshold screened to remove digital codes caused by noise.

[0019] In one embodiment of the present invention, the calibrated ADC is combined with the Nth stage ADC, the ideal subsequent stage is updated, and after each update, the output digital code of the previous stage ADC is calibrated until the 1st stage ADC is calibrated to complete the background digital calibration of the multi-stage pipeline ADC; including:

[0020] Combining the calibrated ADC with the Nth stage ADC to update the ideal subsequent stage;

[0021] Iteratively calculating the output digital code of the ideal subsequent stage;

[0022] Calibrate the output digital code of the previous stage ADC according to the output digital code of the current ideal subsequent stage;

[0023] Repeat the above steps until the first-stage ADC is calibrated to obtain the ideal multi-stage pipeline ADC output digital code.

[0024] In one embodiment of the present invention, the output digital code iteration formula of the current ideal subsequent stage is:

[0025] D * (Ni)=D(Ni)×α i +D * (N-i+1)

[0026] Among them, D * (Ni) represents the output digital code of the ideal subsequent stage combined from the Ni-th ADC to the N-th ADC, D(Ni) represents the output digital code of the Ni-th ADC, α i It represents the gain coefficient between the ideal post-stage combined from the N-i+1th ADC to the Nth ADC and the Nith ADC, D * (N-i+1) represents the output digital code of the ideal subsequent stage formed by combining the N-i+1th ADC to the Nth ADC.

[0027] In one embodiment of the present invention, a histogram of the ideal post-stage output digital code is counted, and a gain coefficient between the ideal post-stage and its previous stage ADC is calculated according to the histogram, further comprising:

[0028] Segment the output digital code of the current ideal subsequent stage according to the output digital code of the previous stage ADC;

[0029] Perform histogram statistics on each output digital code;

[0030] Determine the maximum value, minimum value and digital code range of the output digital code in different histograms, and calculate the gain corresponding to each section of the output digital code accordingly;

[0031] The multiple gains are averaged to obtain the gain coefficient between the current ideal subsequent stage and its previous stage ADC.

[0032] Another embodiment of the present invention further provides a pipeline ADC background digital calibration device based on histogram statistics, which can be used to implement the pipeline ADC background digital calibration method based on histogram statistics described in the above embodiment, including:

[0033] A plurality of data acquisition modules are respectively connected to the output end of each stage of the multi-stage pipeline ADC to obtain the output digital code of each stage of the ADC;

[0034] Multiple statistical calculation modules, respectively used to count the output digital codes of the ideal post-stage and calculate the corresponding gain coefficients;

[0035] A plurality of calibration modules are correspondingly connected to a plurality of data acquisition modules and statistical calculation modules, and are respectively used to calibrate the output digital code of the previous stage ADC of the ideal subsequent stage according to the gain coefficient.

[0036] In one embodiment of the present invention, each of the statistical calculation modules includes a histogram statistical unit and a gain calculation unit, wherein:

[0037] The histogram statistics unit is connected to the output end of the ideal post-stage and is used for counting the histogram of the output digital code;

[0038] The gain calculation unit is connected to the histogram statistics unit and the corresponding calibration module, and is used to calculate the gain coefficient according to the histogram.

[0039] In one embodiment of the present invention, each of the statistical calculation modules further includes a threshold screening unit connected between the histogram statistical unit and the gain calculation unit, for performing threshold screening on the histogram to remove the effect of the expansion of the digital code range caused by noise.

[0040] In one embodiment of the present invention, each of the statistical calculation modules further includes a segmentation unit connected between the output terminal of the ideal rear stage and the histogram statistical unit, and connected to the previous stage ADC through a corresponding data acquisition module.

[0041] Beneficial effects of the present invention:

[0042] 1. The present invention first takes the last stage ADC as the ideal post-stage, performs histogram statistics on the post-stage output digital code and calculates the corresponding gain coefficient, and then calibrates step by step from the back end to the front end, and finally obtains an ideal multi-stage pipeline ADC, thereby realizing the background digital calibration of the multi-stage pipeline ADC. This method can be run in the background, is easy to implement, and can significantly reduce the inter-stage gain error of the pipeline ADC without adding additional analog circuits. It also has high calibration accuracy, which is of great significance to improving the signal-to-noise ratio and linearity of the pipeline ADC;

[0043] 2. The present invention removes the influence of the expansion of the output digital code range caused by noise by threshold screening of the statistical histogram, ensures that the actual gain value is obtained, and further improves the calibration accuracy;

[0044] 3. The present invention also eliminates the influence of comparator voltage offset on gain by performing segmented statistical histogram on the output digital code and calculating the average gain, thereby making the gain value more accurate.

[0045] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 It is a schematic diagram of a pipeline ADC background digital calibration method based on histogram statistics provided by an embodiment of the present invention;

[0047] Figure 2 It is a schematic diagram of an implementation process of a pipeline ADC background digital calibration method based on histogram statistics provided by an embodiment of the present invention;

[0048] Figure 3 1 is an example diagram of the operation process of outputting a statistical histogram of a digital code of an N-th level ADC provided by an embodiment of the present invention;

[0049] Figure 4 is an example diagram of histogram statistical results provided by an embodiment of the present invention;

[0050] Figure 5 is an example diagram of a statistical result of a histogram containing noise provided by an embodiment of the present invention;

[0051] Figure 6 It is a transmission curve diagram of a certain level of MDAC when the pipeline provided by an embodiment of the present invention contains an offset error;

[0052] Figure 7 1 is a schematic diagram of an implementation process of improving offset error provided by an embodiment of the present invention;

[0053] Figure 8 It is a comparison diagram of spectrum results before and after calibration using the background digital calibration method proposed by the present invention;

[0054] Fig. 9 It is a comparison chart of INL results before and after calibration using the background digital calibration method proposed by the present invention;

[0055] Fig.10 It is a structural schematic diagram of a pipeline ADC background digital calibration device based on histogram statistics provided by an embodiment of the present invention;

[0056] Fig.11 is a schematic diagram of the structure of a statistical calculation module provided by an embodiment of the present invention;

[0057] Fig.12 is a schematic diagram of the structure of another statistical calculation module provided by an embodiment of the present invention;

[0058] Fig.13 It is a structural diagram of another statistical calculation module provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0059] The present invention is further described in detail below with reference to specific embodiments, but the embodiments of the present invention are not limited thereto.

[0060] Embodiment 1

[0061] See also Figure 1-2 , Figure 1 is a schematic diagram of a pipeline ADC background digital calibration method based on histogram statistics provided by an embodiment of the present invention, Figure 2 The present invention provides a schematic diagram of the implementation process of a pipeline ADC background digital calibration method based on histogram statistics; the method specifically comprises the following steps:

[0062] S1: Obtain the output digital code of each stage ADC in the multi-stage pipeline ADC, and regard the N-th stage ADC as an ideal subsequent stage.

[0063] Specifically, in this embodiment, the N-stage pipeline ADC input signal V IN After the pipeline ADC has been converted for a period of time, the background calibration begins. At this time, the output digital codes of each ADC are obtained and recorded as D1, D2...D N-1 , D N , and the default digital code D of the last stage of the pipeline (that is, the Nth stage ADC) N is ideal, that is, D * (N) = D N , where D * (N) represents the ideal digital code output by the Nth stage ADC.

[0064] S2: Count the histogram of the ideal post-stage output digital code, and calculate the gain coefficient between the ideal post-stage and its previous stage ADC according to the histogram.

[0065] S21: Counting the histogram of all output digital codes of the current ideal post-stage;

[0066] S22: Determine the maximum value, minimum value and digital code range of the output digital code according to the histogram;

[0067] S23: Calculate the gain coefficient α between the current ideal post-stage and its previous stage ADC according to the digital code range i , the calculation formula is as follows:

[0068]

[0069] in, and They respectively represent the maximum and minimum values ​​of the output digital code of the ideal subsequent stage combined from the N-i+1th stage ADC to the Nth stage ADC, LSB(N-i+1) represents the least significant input bit, which is the unit quantization interval range of the N-i+1th stage input signal, N represents the maximum number of stages of the multi-stage pipeline ADC, 1≤i<N.

[0070] Specifically, first, starting from the last stage, consider it as the initial ideal post-stage, and count the output digital code D of the Nth stage ADC N See Figure 3 , Figure 3 FIG. 1 is an example diagram of the operation process of outputting a statistical histogram of a digital code of an N-th level ADC according to an embodiment of the present invention. Figure 3 It can be seen that the histogram shows a uniform distribution with fewer occurrences on both sides.

[0071] Then, the maximum value D of the digital code can be obtained from the histogram N_max and minimum value D N_min According to the maximum and minimum values, the dynamic range of the digital code can be obtained as D N_max -D N_min For example, see Figure 4 , Figure 4 is an example of a histogram statistical result provided by an embodiment of the present invention, which includes information such as digital code value and occurrence frequency. Due to the periodicity of the signal, the frequency of occurrence of each code word is almost the same. Figure 4 It can be seen that the code values ​​2, 3, 4, 5, and 6 appear at a higher frequency, among which 2 is the minimum value and 6 is the maximum value, and the digital code range is 6-2=4.

[0072] Finally, the gain coefficient α1 between the Nth ADC and the N-1th ADC is calculated based on the digital code range. The calculation formula is as follows:

[0073]

[0074] Among them, D N_max and D N_min Respectively represent the Nth level ADC output digital code D N The maximum and minimum values ​​of LSB(N) represent the unit quantization interval range of the Nth level input signal.

[0075] S3: Calibrate the output digital code of the previous stage ADC of the ideal subsequent stage according to the gain coefficient.

[0076] Specifically, after the gain coefficient α1 between the Nth ADC and the N-1th ADC is obtained, it is multiplied by the N-1th output digital code D N-1, we get the digital code after calibration of the N-1th ADC, which is also the ideal digital code of the N-1th ADC, denoted as D ideal(N-1) , whose expression is:

[0077] D ideal(N-1) =D N-1 ×α1

[0078] S4: The calibrated ADC is merged with the Nth stage ADC to update the ideal subsequent stage, and after each update, the output digital code of the previous stage ADC is calibrated until the 1st stage ADC is calibrated to complete the background digital calibration of the multi-stage pipeline ADC.

[0079] S41: combining the calibrated ADC with the Nth stage ADC to update the ideal post-stage;

[0080] S42: iteratively calculating the output digital code of the ideal subsequent stage;

[0081] S43: calibrating the output digital code of the previous stage ADC according to the output digital code of the current ideal subsequent stage;

[0082] S44: Repeat the above steps until the first-stage ADC is calibrated to obtain an ideal multi-stage pipeline ADC output digital code.

[0083] Specifically, firstly, the calibrated N-1th ADC and the Nth ADC are used as an ideal post-stage, and the output digital code of the calibrated N-1th ADC and the output digital code of the Nth ADC are combined as the output digital code of the ideal post-stage, which is expressed as follows:

[0084] D * (N-1) = D ideal(N-1) +D * (N) = D N-1 ×α1+D N .

[0085] Then, the ideal post-stage output digital code D is counted * (N-1) histogram.

[0086] Finally, the gain coefficient between the N-2th ADC and the N-2nd ADC is calculated based on the histogram, and the output digital code of the N-2nd ADC is calibrated. The calculation formula of the gain coefficient α2 between the ideal post-stage formed by combining the N-1th ADC and the N-2nd ADC is:

[0087]

[0088] in, and They respectively represent the maximum and minimum values ​​of the output digital code of the ideal subsequent stage combined from the N-1th stage ADC to the Nth stage ADC, and LSB(N-1) represents the unit quantization interval range of the N-1th stage input signal.

[0089] The output digital code of the N-2th ADC is weighted by the gain coefficient α2 to obtain the calibrated output, which is the ideal output of the N-2th ADC, expressed as:

[0090] D ideal(N-2) =D N-2 ×α2

[0091] The calibrated N-2nd ADC, N-1st ADC and Nth ADC are combined into an ideal post-stage, and their digital codes are added to obtain the output of the ideal post-stage, that is,

[0092] D * (N-2) = D ideal(N-2) +D ideal(N-1) +D * (N) = D N-2 ×α2+D N-1 ×α1+D N

[0093] According to the above method, the calibration is continued, and the cycle is repeated until the first stage is calibrated to obtain the output digital code of the ideal multi-stage pipeline ADC, that is, the final calibrated output, which is recorded as:

[0094] D out =D1×α N-1 +D2×α N-2 +……+D N-2 ×α2+D N-1 ×α1+D N

[0095] At this point, the background digital calibration of the multi-stage pipeline ADC is completed.

[0096] The background digital calibration method of the multi-stage pipeline ADC provided by the present invention first takes the last stage ADC as the ideal post-stage, performs histogram statistics on the post-stage output digital code and calculates the corresponding gain coefficient, and then calibrates step by step from the back end to the front end, and finally obtains the ideal multi-stage pipeline ADC, thereby realizing the background digital calibration of the multi-stage pipeline ADC. The method can be run in the background, is easy to implement, and can significantly reduce the inter-stage gain error of the pipeline ADC without adding additional analog circuits, and has high calibration accuracy, which is of great significance to improving the signal-to-noise ratio and linearity of the pipeline ADC.

[0097] Embodiment 2

[0098] As an optional embodiment of the present invention, after step S21 and before step S22 of the above embodiment 1, it further includes: performing threshold screening on the histogram to remove digital codes caused by noise.

[0099] See also Figure 5 , Figure 5 This is an example of a histogram statistical result containing noise provided by an embodiment of the present invention. Since the actual pipeline ADC does not work ideally, considering that the kickback noise and thermal noise in the ADC will cause changes in the digital code, and the frequency of digital code changes caused by noise is much smaller than the change of the input signal, a threshold is set for screening.

[0100] The method of threshold screening the statistical results can remove the influence of the expansion of the digital code range caused by noise and ensure that the actual gain value is obtained.

[0101] After the digital code generated by the noise is removed, the gain coefficient calculation and subsequent processing can be performed according to the actual maximum value, minimum value and actual digital code range. For the detailed process, please refer to the above-mentioned embodiment 1.

[0102] This embodiment removes the influence of the expansion of the output digital code range caused by noise by performing threshold screening on the statistical histogram, ensures that the actual gain value is obtained, and further improves the calibration accuracy.

[0103] Embodiment 3

[0104] The comparator voltage offset caused by transistor mismatch and process production error will generate an offset voltage at the comparator input, causing the comparator to make an erroneous judgment. In order to reduce this effect, the pipeline ADC generally increases redundant bits so that the comparator can still work normally when the judgment is wrong, but this will affect the general calibration method. In order to eliminate this effect, this embodiment provides a calculation method for finding the average gain.

[0105] As an optional embodiment of the present invention, when the present invention performs statistics on the histogram of the ideal post-stage output digital code and calculates the gain coefficient between the ideal post-stage and its previous stage ADC according to the histogram, the following steps can be followed:

[0106] Segment the output digital code of the current ideal subsequent stage according to the output digital code of the previous stage ADC;

[0107] Perform histogram statistics on each output digital code;

[0108] Determine the maximum value, minimum value and digital code range of the output digital code in different histograms, and calculate the gain corresponding to each section of the output digital code accordingly;

[0109] The multiple gains are averaged to obtain the gain coefficient between the current ideal subsequent stage and its previous stage ADC.

[0110] The method of this embodiment is described in detail below through the MDAC transmission curve.

[0111] See also Figure 6 , Figure 6 It is a transmission curve diagram of a certain level of MDAC when the pipeline provided by the embodiment of the present invention contains an offset error, wherein the horizontal axis is the input signal of this level, the vertical axis is the output signal of this level, and the slope of each segment of the curve is the gain corresponding to the digital code of this segment. The transmission curve diagram indicates that when the amplitude of the input signal of this level is within the quantization interval of the ADC, the pipeline of this level will generate a corresponding digital code, such as B=00, 01, 10, 11, and the input signal and the DAC output signal are subtracted and amplified by the amplifier and sent to the next level, and the residual signal entering the next level will be quantized into a digital code by the next level.

[0112] Furthermore, if Figure 6 As shown, this embodiment introduces an offset of Δ in the B=10 interval of the MDAC transmission curve, so that the output voltage is offset in the interval of the output digital code 10 and 11, thereby affecting the digital code generated by the next stage.

[0113] Assume that the next level of digital code increases the deviation by ΔD, that is, D 2`max =D 2max +ΔD,D 3`min =D 3min +ΔD. Calculate the slope for the interval B = 10:

[0114]

[0115] This will introduce an error of ΔD / LSB. To reduce this error, we can calculate the slope for B=11.

[0116]

[0117] Then take the average of the two The influence caused by the offset voltage can be eliminated, thereby obtaining a more accurate gain value.

[0118] For the output code of a certain ADC level, it can be classified by the output digital code of the previous level, and the histogram statistics of each digital code segment can be obtained. 1_1 , α 1_2 ...α 1_N After calculating multiple slopes, the final slope is obtained by taking the average value, which is the final gain coefficient. This reduces the influence of the comparator voltage offset and obtains a more accurate gain value. The implementation process diagram is shown in the figure. Figure 7 shown.

[0119] This embodiment also eliminates the influence of comparator voltage offset on the gain by performing segmented statistical histogram on the output digital code and calculating the average gain, so that the gain value is more accurate.

[0120] Embodiment 4

[0121] The beneficial effects of the present invention are further illustrated by simulation experiments below.

[0122] See also Figure 8 , Figure 8 The figure is a comparison of the spectrum results before and after calibration using the background digital calibration method proposed by the present invention; wherein (a) is the case with gain error before calibration, and (b) is the case without gain error after calibration. SNDR is signal-to-distortion-noise ratio, SFDR is spurious-free dynamic range, THD is total harmonic distortion, and ENOB is effective number of bits. By comparison, it can be seen that the calibration reduces harmonics and spurious power, improves the signal-to-noise ratio by 25.6dB, and improves the linearity by 31.4dB.

[0123] Fig. 9 This is a comparison chart of the INL (integral nonlinearity) results before and after calibration using the background digital calibration method proposed in the present invention. (a) is the case with gain error before calibration, and it can be seen that the INL before calibration is [-26, 27]; (b) is the case without gain error after calibration, and it can be seen that the INL after calibration is [-0.4, 0.8], which shows that the gain error is eliminated after calibration.

[0124] Embodiment 5

[0125] This embodiment provides a pipeline ADC background digital calibration device based on histogram statistics. Fig.10 , Fig.10 1 is a schematic diagram of a pipeline ADC background digital calibration device based on histogram statistics provided by an embodiment of the present invention, which includes:

[0126] A plurality of data acquisition modules are respectively connected to the output end of each stage of the multi-stage pipeline ADC to obtain the output digital code of each stage of the ADC;

[0127] Multiple statistical calculation modules, respectively used to count the output digital codes of the ideal post-stage and calculate the corresponding gain coefficients;

[0128] A plurality of calibration modules are correspondingly connected to a plurality of data acquisition modules and statistical calculation modules, and are respectively used to calibrate the output digital code of the previous stage ADC of the ideal subsequent stage according to the gain coefficient.

[0129] In this embodiment, each of the statistical calculation modules includes a histogram statistical unit and a gain calculation unit. Taking the Nth level ADC as an example, Fig.11 As shown,

[0130] The histogram statistics unit is connected to the output terminal of the ideal post-stage and is used for counting the histogram of the output digital code;

[0131] The gain calculation unit is connected to the histogram statistics unit and the corresponding calibration module, and is used to calculate the gain coefficient according to the histogram.

[0132] In another embodiment of the present invention, each statistical calculation module further includes a threshold screening unit connected between the histogram statistical unit and the gain calculation unit. Taking the Nth level ADC as an example, Fig.12 The threshold screening unit is used to perform threshold screening on the histogram to remove digital codes caused by noise.

[0133] In another embodiment of the present invention, each statistical calculation module further includes a segmentation unit connected between the output terminal of the ideal subsequent stage and the histogram statistical unit, and connected to the previous stage ADC through the corresponding data acquisition module. Taking the Nth stage ADC as an example, Fig.13 The segmentation unit is used to segment the output digital code of the current ideal subsequent stage according to the output digital code of the previous stage ADC.

[0134] The device provided in this embodiment can implement the methods described in the above embodiments 1 to 3, and the detailed process will not be repeated here.

[0135] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. A pipeline ADC background digital calibration method based on histogram statistics, It is characterized in that include: Obtaining the output digital code of each stage ADC in the multi-stage pipeline ADC, and regarding the N-th stage ADC as an ideal subsequent stage; wherein the N-th stage ADC is the last stage ADC of the N-stage pipeline ADC; The histogram of the ideal post-stage output digital code is counted, and the gain coefficient between the ideal post-stage and the previous stage ADC is calculated according to the histogram, specifically including: Count the histogram of all output digital codes of the current ideal post-stage; Determine the maximum value, minimum value and digital code range of the output digital code according to the histogram; Calculate the gain coefficient α between the current ideal subsequent stage and the previous stage ADC according to the digital code range i , the calculation formula is as follows: in, and They respectively represent the maximum and minimum values ​​of the output digital code of the ideal subsequent stage combined from the N-i+1th stage ADC to the Nth stage ADC, LSB(N-i+1) represents the unit quantization interval range of the N-i+1th stage input signal, N represents the maximum number of stages of the multi-stage pipeline ADC, 1≤i<N; Calibrate the output digital code of the previous stage ADC of the ideal subsequent stage according to the gain coefficient; The calibrated ADC is combined with the Nth stage ADC to update the ideal subsequent stage, and after each update, the output digital code of the previous stage ADC is calibrated until it is calibrated to the first stage ADC, so as to complete the background digital calibration of the multi-stage pipeline ADC.

2. The pipeline ADC background digital calibration method based on histogram statistics according to claim 1, It is characterized in that Before determining the maximum value, the minimum value and the range of the digital code of the output digital code according to the histogram, the method further includes: The histogram is subjected to threshold screening to remove digital codes caused by noise.

3. The pipeline ADC background digital calibration method based on histogram statistics according to claim 1, It is characterized in that The calibrated ADC is combined with the Nth stage ADC to update the ideal subsequent stage, and after each update, the output digital code of the previous stage ADC is calibrated until the 1st stage ADC is calibrated to complete the background digital calibration of the multi-stage pipeline ADC; include: a) combining the calibrated ADC with the Nth stage ADC to update the ideal subsequent stage; b) iteratively calculating the output digital code of the ideal subsequent stage; c) calibrating the output digital code of the previous stage ADC according to the output digital code of the current ideal subsequent stage; Repeat the above steps a)-c) until the first-stage ADC is calibrated to obtain the ideal multi-stage pipeline ADC output digital code.

4. The pipeline ADC background digital calibration method based on histogram statistics according to claim 3, It is characterized in that The output digital code iteration formula of the current ideal post-stage is: D * (N-i)=D(N-i)×α i +D * (N-i+1) Among them, D * (Ni) represents the output digital code of the ideal subsequent stage combined from the Ni-th ADC to the N-th ADC, D(Ni) represents the output digital code of the Ni-th ADC, α i It represents the gain coefficient between the ideal post-stage combined from the N-i+1th ADC to the Nth ADC and the Nith ADC, D * (N-i+1) represents the output digital code of the ideal subsequent stage formed by combining the N-i+1th ADC to the Nth ADC.

5. The pipeline ADC background digital calibration method based on histogram statistics according to claim 1, It is characterized in that The method further comprises: generating a histogram of the digital codes output by the ideal subsequent stage, and calculating a gain coefficient between the ideal subsequent stage and the ADC of the previous stage according to the histogram; Segment the output digital code of the current ideal subsequent stage according to the output digital code of the previous stage ADC; Perform histogram statistics on each output digital code; Determine the maximum value, minimum value and digital code range of the output digital code in different histograms, and calculate the gain corresponding to each section of the output digital code accordingly; The multiple gains are averaged to obtain the gain coefficient between the current ideal subsequent stage and its previous stage ADC.

6. A pipeline ADC background digital calibration device based on histogram statistics, which can be used to implement the pipeline ADC background digital calibration method based on histogram statistics according to any one of claims 1 to 5, It is characterized in that include: A plurality of data acquisition modules are respectively connected to the output end of each stage of the multi-stage pipeline ADC to obtain the output digital code of each stage of the ADC; Multiple statistical calculation modules, respectively used to count the output digital codes of the ideal post-stage and calculate the corresponding gain coefficients; A plurality of calibration modules are correspondingly connected to a plurality of data acquisition modules and statistical calculation modules, and are respectively used to calibrate the output digital code of the previous stage ADC of the ideal subsequent stage according to the gain coefficient.

7. The pipeline ADC background digital calibration device based on histogram statistics according to claim 6, It is characterized in that Each of the statistical calculation modules includes a histogram statistical unit and a gain calculation unit, wherein: The histogram statistics unit is connected to the output end of the ideal post-stage and is used for counting the histogram of the output digital code; The gain calculation unit is connected to the histogram statistics unit and the corresponding calibration module, and is used to calculate the gain coefficient according to the histogram.

8. The pipeline ADC background digital calibration device based on histogram statistics according to claim 7, It is characterized in that Each of the statistical calculation modules further includes a threshold screening unit connected between the histogram statistical unit and the gain calculation unit, and configured to perform threshold screening on the histogram to remove the influence of the expansion of the digital code range caused by noise.

9. The pipeline ADC background digital calibration device based on histogram statistics according to claim 7, It is characterized in that Each of the statistical calculation modules also includes a segmentation unit connected between the output end of the ideal rear stage and the histogram statistical unit, and connected to the previous stage ADC through a corresponding data acquisition module.