Calibration method of time-interleaved ADC
By performing zero-point calibration and full-scale calibration on the channels of the time-interleaved ADC, calculating the standard deviation and mean, and iteratively coding to calculate the interleaving error, the problem of circuit complexity and high cost caused by the participation of buffers in calculations in the existing technology is solved, and the implementation Simplifying error calibration and reducing costs.
Patent Information
- Application Number
- CN202411255237.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-10-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing time-interleaved ADCs need to use buffers when calculating interleaving errors, resulting in complex circuit structures and high costs.
By performing zero-point calibration and full-scale calibration on the sub-ADC of each channel, the standard deviation and mean of the channel output are calculated, iterative encoding is used to calculate the multi-channel interleaving error, and adjustments are made based on the error range to avoid the use of buffers.
The circuit structure of the ADC is simplified, the cost is reduced, and the calculation and calibration of the interleaving error are realized.
Smart Images

Figure CN118801883A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of digital-to-analog converter calibration, and in particular to a calibration method for a time-interleaved ADC. Background Art
[0002] With the continuous development of electronic technology, the speed and accuracy requirements of ADC in application fields such as wireless communication and radar are gradually increasing. At present, in order to improve the processing speed, the mainstream ultra-high-speed ADC basically uses time interleaving technology. Time interleaving technology is essentially a time division multiplexing technology. It realizes the exponential increase of sampling rate through alternating sampling of multi-channel ADC. The structural block diagram of time interleaved ADC is shown in the figure. Figure 1 shown.
[0003] The working principle of time interleaving technology is as follows: Assume that the time interleaved ADC contains N sub-ADCs, each sub-ADC has the same structure and consistent sampling period, and the sampling clocks of each adjacent ADC are delayed by 1 / N sampling clock periods, so that each ADC can sample once within one clock period, and work in the form of time division multiplexing so that the collected data do not overlap with each other. Finally, the output digital code is demultiplexed through logical processing, and the digital code output by each ADC is output in the sampling order, that is, the N-way interleaved ADC can obtain N digital codes within the sampling period of the sub-ADC. In this way, the conversion rate can be improved, but the corresponding processing complexity is also increased.
[0004] Although the time-interleaved ADC improves the processing speed, it is necessary to ensure the timing matching between the sub-ADCs of each channel. However, with the continuous evolution of the process technology, the matching problem between channels has become more and more serious, which is also the main factor limiting the application of this structure. In order to avoid the channel matching problem affecting the use of the time-interleaved ADC, it is necessary to calibrate the interleaving error of the time-interleaved ADC.
[0005] At present, when calibrating the interleaving error of the existing time-interleaved ADC, a buffer is needed to store the output codes of each channel of the time-interleaved ADC. However, the use of the buffer will lead to the circuit structure of the ADC and high cost. Summary of the invention
[0006] In view of the shortcomings of the background technology, the present invention provides a calibration method for a time-interleaved ADC, and the technical problem to be solved is that currently, the participation of a buffer is required when calculating the interleaving error of the time-interleaved ADC.
[0007] To solve the above technical problems, the present invention provides the following technical solutions: a calibration method for a time-interleaved ADC, wherein the time-interleaved ADC includes N channels, where N is 2. k , k is an integer greater than 0, comprising the following steps: S1: Perform zero-point calibration and full-scale calibration on the sub-ADC of each channel of the time-interleaved ADC. S2: Calculate the standard deviation sd of the n codes output by each channel of the time-interleaved ADC; S3: Calculate the mean sd_ave of the standard deviation of the N channels of the time-interleaved ADC; S4: Iterate the encoding of each channel output according to the following formula: ; Where di is the ith code of the n codes output by the channel, X i The data after di iteration; S5: Calculate the multi-channel interleaving error of the time-interleaved ADC based on the standard deviation sd of the n codes and the average value sd_ave of the standard deviation of the N channels, wherein the multi-channel interleaving error includes 2 j Channel interleaving error, j is an integer and gradually increases from 1 to k, with each increment being 1; S6: Determine whether all calculated multi-channel interleaving errors are within the target range. If all calculated multi-channel interleaving errors are within the target range, perform new zero point calibration and full-scale calibration after a delay. Otherwise, modify the register data of the time-interleaved ADC and then re-execute step S2.
[0008] In some implementations, the calculation formula for the standard deviation sd in step S2 is as follows: ; where d i is the ith code of the n codes output by the channel, It is the average value of n codes output by the channel.
[0009] In some implementations, the mean of the standard deviations in step S3 is calculated as follows: ; where sd i is the standard deviation of the ith channel.
[0010] In some implementations, the calculation formula for the multi-channel interleaving error in step S5 is as follows: ; When j is 1, the interleaving error between the two channels is calculated in step S5. In this case, the interleaving errors of the e-th channel and the f-th channel are calculated respectively, and f=e+N / 2 j ,e is greater than or equal to 1 and less than or equal to N / 2 j , the calculation formulas of Z and y are as follows: Z i =Xe i ;y i =Xf i , i is greater than or equal to 1 and less than or equal to n; where Xe i represents the i-th code of the e-th channel; When j is 2, the four-channel interleaving error is calculated in step S5. At this time, the interleaving errors of the g-th channel, the h-th channel, the l-th channel and the m-th channel are calculated respectively, and h=g+N / 2 j , l = h + N / 2 j , m is equal to l+N / 2 j ,g is greater than or equal to 1 and less than or equal to N / 2 j : Z 2i-1 =Xg i ; Z 2i-0 =Xl i ;y 2i-1 =Xh i ;y 2i-0 =Xm i ; Similarly, when j is k, the N-channel interleaving error is calculated in step S5. At this time, the interleaving error of all channels is calculated. At this time, the calculation formulas of Z and y are as follows: Z 2 k-1 i-(2 k-1 -1) =Xp i ; Z 2 k-1 i-(2 k-1 -2) =Xp+2 i ; ... Z 2 k-1 i-(2 k-1 -2 k-1 ) =Xp+2( 2 k-1 -1) i ; where p=1; y 2 k-1 i-(2 k-1 -1) =Xqi ;y 2 k-1 i-(2 k-1 -2) =Xq+2 i ; ...y 2 k-1 i-(2 k-1 -2 k-1 ) =Xq+2( 2 k -1) i ; where q=2.
[0011] In a certain implementation manner, in step S1, if the zero-point calibration value and the full-scale calibration value obtained by performing the zero-point calibration and the full-scale calibration do not meet the requirements, step S1 is re-executed.
[0012] In some embodiments, k is 2.
[0013] In one embodiment, k is 3.
[0014] In one embodiment, k is 4.
[0015] Compared with the prior art, the present invention has the following beneficial effects: in actual use, when the interleaving error of a time-interleaved ADC is calculated by the method of the present invention, the entire calculation can be implemented without a buffer, thereby simplifying the circuit structure of the ADC and reducing the cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a block diagram of the existing interleaved ADC structure; Figure 2 is a flow chart of the present invention in an embodiment; Figure 3 Schematic diagram of channels selected when calculating two-channel interleaved error for eight-channel ADC; Figure 4 Schematic diagram of channels selected when calculating four-channel interleaved error for eight-channel ADC; Figure 5 Schematic diagram of the channels selected when calculating the eight-channel interleaved error for an eight-channel ADC. DETAILED DESCRIPTION
[0017] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.
[0018] like Figure 2As shown, this embodiment provides a calibration method for a time-interleaved ADC, wherein the time-interleaved ADC includes N channels, where N is 2. k , k is an integer greater than 0; in addition, the value of k is set according to actual needs and is not limited here. For example, the value of k can be 2, 3 or 4; The calibration method includes the following steps: S1: Perform zero-point calibration and full-scale calibration on the sub-ADC of each channel of the time-interleaved ADC.
[0019] Specifically, in this embodiment, the zero-point calibration and the full-scale calibration are existing calibration processes of the ADC, and no redundant description is given here. It only needs to be performed according to the existing calibration process.
[0020] In addition, in step S1, if the zero point calibration value and the full-scale calibration value obtained by performing zero point calibration and full-scale calibration do not meet the requirements, step S1 is executed again; when the zero point calibration value and the full-scale calibration value obtained by performing zero point calibration and full-scale calibration meet the requirements, step S2 is executed again.
[0021] S2: Calculate the standard deviation sd of the n codes output by each channel of the time-interleaved ADC.
[0022] Specifically, in this embodiment, the calculation formula of the standard deviation sd in step S2 is as follows: ; where d i is the ith code of the n codes output by the channel, It is the average value of n codes output by the channel.
[0023] In addition, in this embodiment, the size of n is determined according to the design specifications of the time-interleaved ADC and is not limited here.
[0024] S3: Calculate the mean sd_ave of the standard deviations of the N channels of the time-interleaved ADC.
[0025] Specifically, in this embodiment, the mean of the standard deviation in step S3 is calculated as follows: ; where sd i is the standard deviation of the ith channel.
[0026] S4: Iterate the encoding of each channel output according to the following formula: .
[0027] S5: Calculate the multi-channel interleaving error of the time-interleaved ADC based on the standard deviation sd of the n codes and the mean sd_ave of the standard deviation of the N channels. The multi-channel interleaving error includes 2 j Channel interleaving error, j is an integer and gradually increases from 1 to k, with each increment being 1.
[0028] Specifically, in this embodiment, the calculation formula of the multi-channel interleaving error in step S5 is as follows: .
[0029] In this embodiment, when j is different, the number of channels for calculating the interleaving error is also different. When j is 1, the interleaving error of two channels is calculated, when j is 2, the interleaving error of four channels is calculated, when j is 3, the interleaving error of eight channels is calculated, and when j is 4, the interleaving error of sixteen channels is calculated.
[0030] Specifically, when j is 1, the interleaving error of the two channels is calculated in step S5. At this time, the interleaving error of the e-th channel and the f-th channel is calculated respectively, f=e+N / 2 j ,e is greater than or equal to 1 and less than or equal to N / 2 j , the calculation formulas of Z and y are as follows: Z i =Xe i ;y i =Xf i , i is greater than or equal to 1 and less than or equal to n; where Xe i represents the i-th code of the e-th channel; When j is 2, the four-channel interleaving error is calculated in step S5. At this time, the interleaving errors of the g-th channel, the h-th channel, the l-th channel and the m-th channel are calculated respectively, and h=g+N / 2 j , l = h + N / 2 j , m is equal to l+N / 2 j ,g is greater than or equal to 1 and less than or equal to N / 2 j : Z 2i-1 =Xg i ; Z 2i-0 =Xl i ;y 2i-1 =Xh i ;y 2i-0 =Xm i ; Similarly, when j is k, the N-channel interleaving error is calculated in step S5. At this time, the interleaving error of all channels is calculated. At this time, the calculation formulas of Z and y are as follows: Z 2 k-1 i-(2 k-1 -1)=Xp i ; Z 2 k-1 i-(2 k-1 -2) =Xp+2 i ; ... Z 2 k-1 i-(2 k-1 -2 k-1 ) =Xp+2( 2 k -1) i ; where p=1; y 2 k-1 i-(2 k-1 -1) =Xq i ;y 2 k-1 i-(2 k-1 -2) =Xq+2 i ; ...y 2 k-1 i-(2 k-1 -2 k-1 ) =Xq+2( 2 k-1 -1) i ; where q=2.
[0031] For example, taking the calculation of an eight-channel interleaved ADC as an example, Figure 3 As shown in the figure, when calculating the interleaving error of 2 channels, it is necessary to calculate the interleaving errors of channels 1 and 5, channels 2 and 6, channels 3 and 7, and channels 4 and 8. Taking the calculation of the interleaving error of channels 1 and 5 as an example, Z 1 =X1 1 ,y 1 =X5 1 ; Z 2 =X1 2 ,y 1 =X5 2 ; And so on, Z 8 =X1 8 ,y 8 =X5 8 ; like Figure 4As shown in FIG. 1 , when it is necessary to calculate the interleaving error of 4 channels, it is necessary to calculate the interleaving error of channels 1, 3, 5 and 7 and the interleaving error of channels 2, 4, 6 and 8. Taking the interleaving error of channels 1, 3, 5 and 7 as an example, Z 1 =X1 1 , Z2 1 =X5 1 ,y 1 =X3 1 , y 2 =X7 1 ; like Figure 5 As shown, when it is necessary to calculate the interleaving error of 8 channels, the calculation formulas of Z and y are as follows: Z 4i-3 =X1 i ; Z 4i-2 =X3 i ; ... Z 4i-0 =X7 i ; Y 4i-3 =X2 i ;y 4i-2 =X4 i ; ... y 4i-0 =X8 i .
[0032] S6: Determine whether all calculated multi-channel interleaving errors are within the target range. If all calculated multi-channel interleaving errors are within the target range, perform new zero point calibration and full-scale calibration after a delay. Otherwise, modify the register data of the time-interleaved ADC and then re-execute step S2.
[0033] The above is based on the present invention as an inspiration. Through the above description, relevant staff can make various changes and modifications without departing from the technical idea of this invention. The technical scope of this invention is not limited to the content in the specification, and its technical scope must be determined according to the scope of the claims.
Claims
1. A calibration method for a time-interleaved ADC, wherein the time-interleaved ADC comprises N channels, wherein N is 2 k , k is an integer greater than 0, characterized in that, The following steps are involved: S1: Perform zero-point calibration and full-scale calibration on the sub-ADC of each channel of the time-interleaved ADC. S2: Calculate the standard deviation sd of the n codes output by each channel of the time-interleaved ADC; S3: Calculate the mean sd_ave of the standard deviation of the N channels of the time-interleaved ADC; S4: Iterate the encoding of each channel output according to the following formula: ; Where di is the ith code of the n codes output by the channel, X i The data after di iteration; S5: Calculate the multi-channel interleaving error of the time-interleaved ADC based on the standard deviation sd of the n codes and the average value sd_ave of the standard deviation of the N channels, wherein the multi-channel interleaving error includes 2 j Channel interleaving error, j is an integer and gradually increases from 1 to k, with each increment being 1; S6: Determine whether all calculated multi-channel interleaving errors are within the target range. If all calculated multi-channel interleaving errors are within the target range, perform new zero point calibration and full-scale calibration after a delay. Otherwise, modify the register data of the time-interleaved ADC and then re-execute step S2.
2. The calibration method of a time-interleaved ADC according to claim 1, characterized in that: The calculation formula of the standard deviation sd in step S2 is as follows: ; Where di is the ith code of the n codes output by the channel, It is the average value of n codes output by the channel.
3. The calibration method of a time-interleaved ADC according to claim 1, characterized in that: The mean of the standard deviation in step S3 is calculated as follows: ; Where sdi is the standard deviation of the i-th channel.
4. The calibration method of a time-interleaved ADC according to claim 1, characterized in that: The calculation formula of the multi-channel interleaving error in step S5 is as follows: ; When j is 1, the interleaving error between the two channels is calculated in step S5. In this case, the interleaving errors of the e-th channel and the f-th channel are calculated respectively, and f=e+N / 2 j ,e is greater than or equal to 1 and less than or equal to N / 2 j , the calculation formulas of Z and y are as follows: Z i =Xe i ;y i =Xf i , i is greater than or equal to 1 and less than or equal to n; where Xe i represents the i-th code of the e-th channel; When j is 2, the four-channel interleaving error is calculated in step S5. At this time, the interleaving errors of the g-th channel, the h-th channel, the l-th channel and the m-th channel are calculated respectively, and h=g+N / 2 j , l=h+N / 2 j , m is equal to l+N / 2 j ,g is greater than or equal to 1 and less than or equal to N / 2 j : Z 2i-1 =Xg i ; Z 2i-0 =Xl i ;y 2i-1 =Xh i ;y 2i-0 =Xm i ; Similarly, when j is k, the N-channel interleaving error is calculated in step S5. At this time, the interleaving error of all channels is calculated. At this time, the calculation formulas of Z and y are as follows: Z2 k-1 i-(2k-1-1) =Xp i ; Z2 k-1 i-(2 k-1 -2) =Xp+2 i ; ... Z2 k-1 i-(2 k-1 -2 k-1 ) =Xp+2(2 k -1)i; where p=1; y2 k-1 i-(2 k-1 -1) =Xq i ;y2 k-1 i-(2 k-1 -2) =Xq+2 i ; ...y2 k-1 i-(2 k-1 -2 k-1 ) =Xq+2(2 k-1 -1) i ; where q=2.
5. The calibration method of a time-interleaved ADC according to claim 1, characterized in that: In step S1 , if the zero-point calibration value and the full-scale calibration value obtained by performing the zero-point calibration and the full-scale calibration do not meet the requirements, step S1 is executed again.
6. The calibration method of a time-interleaved ADC according to claim 1, characterized in that: k is 2.
7. The calibration method of a time-interleaved ADC according to claim 1, characterized in that: k is 3.
8. The calibration method of a time-interleaved ADC according to claim 1, characterized in that: k is 4.
Citation Information
Patent Citations
Calibration method, calibration device, time-interleaved ADC, electronic equipment and readable medium
CN113904683A
Digital calibration system and method for time deviation of time domain interleaved analog-to-digital converter
CN115425974A
Method and device for calibrating sampling error of time-interleaved ADC (Analog to Digital Converter) and time-interleaved ADC
CN115955240A
Calibration of time-interleaved analog-to-digital converter
US20150326240A1
