Calibration conversion method for digital-to-analog converter
By segmenting and sorting the digital signal to combine the current sources, the calibration conversion of the high-bit segment current source is realized, which solves the problem in the existing technology that the accuracy of the digital-to-analog converter is limited by device matching, improves the accuracy and matching accuracy of the DAC, and avoids Use of calibrated DAC.
Patent Information
- Application Number
- CN202110052376.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-15
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-01-15
AI Technical Summary
In the existing technology, the implementation of high-precision digital-to-analog converters is limited by the device matching accuracy in the CMOS process. It is difficult to achieve higher accuracy through a simple process, and there are accuracy issues and large memory capacity problems in calibrating the DAC.
By dividing the digital signal into high-bit segments and low-bit segments, using the low-bit segment and high-bit segment current sources for conversion, and generating equivalent current sources through sorting and combination, the calibration conversion of the high-bit segment current sources is realized, avoiding the need for additional calibration DACs.
The matching accuracy of the matching device is improved, thereby improving the accuracy of the DAC, avoiding the limitation of device matching accuracy in the process, and reducing the memory capacity requirement.
Smart Images

Figure CN112865793B
Abstract
Description
Technical Field
[0001] The present invention relates to integrated circuit technology. Background Art
[0002] DAC is widely used in various signal processing systems and analog-to-digital converters. As the system's requirements for the accuracy of digital-to-analog converters become higher and higher, the realization of high-precision DACs also requires higher device matching for digital-to-analog converters. At present, there are limits to device matching in CMOS processes, and it is difficult for us to rely solely on existing processes to achieve higher-precision digital-to-analog converters. Therefore, in order to achieve higher conversion accuracy, some other methods must be adopted. Calibration is one of the more commonly used methods. The basic idea is to add a calibration DAC to achieve it, such as Figure 1 The calibration DAC is implemented by analog resistors, which also has accuracy issues. If higher accuracy is required, the accuracy requirements for the calibration DAC are also high, and it will also be limited by the process matching accuracy. If each control code needs to be calibrated separately, the required memory capacity is very large.
[0003] Working principle of calibration DAC: The serial interface converts the serial digital input into parallel digital signals. The parallel digital signals are divided into two paths. One path is input to the main DAC after being cached and converted into an analog voltage signal, and the other path is input to the memory. The memory stores the calibration value of the calibration DAC with different digital input codes. The DAC input code is obtained by querying the memory and then converted into a calibration analog voltage. The two analog voltages are added to obtain the final analog output voltage. Due to the limitation of device matching, the output voltage of the main DAC deviates from the output voltage of the ideal DAC. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a calibration conversion method for a digital-to-analog converter, which has the advantage of high precision and does not require the addition of a calibration DAC.
[0005] The technical solution adopted by the present invention to solve the technical problem is a calibration conversion method of a digital-to-analog converter, comprising the following steps:
[0006] A. Divide the conversion circuit into a high-order segment and a low-order segment according to the digital signal bit. The number of bits in the high-order segment is assigned to m; the number of bits in the low-order segment is assigned to n. The sum of m and n is the number of bits of the digital signal.
[0007] B. Perform low-segment conversion through a low-segment current source to obtain a low-segment current signal;
[0008] C. Perform high-segment conversion through a high-segment current source to obtain a high-segment current signal;
[0009] D. The currents obtained from the high-segment conversion and the low-segment conversion are superimposed on the output line and converted into voltage signals;
[0010] Characterized in that, step C comprises:
[0011] (C.0) Each high-order current source is used as the current source to be sorted;
[0012] (C.1) Sort the current sources to be sorted according to their output currents, combine the current source with the largest current and the current source with the smallest current into the first x-level equivalent current source, combine the current source with the second largest current and the current source with the second smallest current into the second x-level equivalent current source, and so on until only one current source remains, and use the remaining current source as the x-level calibration current source;
[0013] (C.2) m is decremented by 1, and then judge: if m=1, go to step D, otherwise go to step (C.3);
[0014] (C.3) x is incremented by 1, each equivalent current source is used as the current source to be sorted, and the process returns to step (C.1);
[0015] In step D, the correspondence between each level of calibration current source and the high-order segment current source contained therein is recorded as a high-order DAC decoding scheme, and the access switch of each high-order segment current source to the output line is controlled according to the scheme.
[0016] The beneficial effect of the present invention is that the matching accuracy of the matching device is fundamentally improved to improve the accuracy of the DAC, and the use of the calibration DAC is not required, thereby avoiding the limitation of the matching accuracy of the device in the process. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a schematic diagram of DAC calibration in the prior art.
[0018] Figure 2 FIG. 4 is a diagram of a DAC calibration example in the prior art.
[0019] Figure 3 It is a schematic diagram of the present invention.
[0020] Figure 4 It is a circuit structure diagram of the present invention.
[0021] Figure 5 It is a schematic diagram of the calibration logic structure.
[0022] Figure 6 This is an example diagram of a 3-bit calibration logic structure. DETAILED DESCRIPTION
[0023] The calibration conversion method of the digital-to-analog converter of the present invention comprises the following steps:
[0024] A. Divide the conversion circuit into a high-order segment and a low-order segment according to the digital signal bit. The number of bits in the high-order segment is assigned to m; the number of bits in the low-order segment is assigned to n. The sum of m and n is the number of bits of the digital signal.
[0025] B. Perform low-segment conversion through a low-segment current source to obtain a low-segment current signal;
[0026] C. Perform high-segment conversion through a high-segment current source to obtain a high-segment current signal;
[0027] D. The currents obtained from the high-segment conversion and the low-segment conversion are superimposed on the output line and converted into voltage signals;
[0028] The step C comprises:
[0029] (C.0) Each high-order current source is used as the current source to be sorted;
[0030] (C.1) Sort the current sources to be sorted according to their output currents, combine the current source with the largest current and the current source with the smallest current into the first x-level equivalent current source, combine the current source with the second largest current and the current source with the second smallest current into the second x-level equivalent current source, and so on until only one current source remains, and use the remaining current source as the x-level calibration current source;
[0031] (C.2) m is decremented by 1, and then judge: if m=1, go to step D, otherwise go to step (C.3);
[0032] (C.3) x is incremented by 1, each equivalent current source is used as the current source to be sorted, and the process returns to step (C.1);
[0033] D. Record the correspondence between each level of calibration current source and the high-order segment current source it contains as a high-order DAC decoding scheme, and control the access switch of each high-order segment current source to the output line according to the scheme.
[0034] The principle of segmented conversion is to divide the binary digits into high-order segments and low-order segments. For example, for the binary digits 1 0 1 1 1 0, 1 0 1 1 1 0 The method is divided into a high-order segment 101 and a low-order segment 110 for conversion (each segment has 3 digital bits after segmentation), and then the current is superimposed. The segmented conversion and superposition method belongs to the prior art. The feature of the present invention is the calibration conversion of the high-order segment, and the low-order segment conversion adopts the existing method.
[0035] Figure 3 The principle of the high-order conversion of the present invention is shown. The maximum value of the three-digit number 111 in binary is 7 in decimal, that is, 3 digits require 7 current sources (m=3, 2 m-1=7). Ideally, the current value of each current source should be 2 n I U However, there are errors in practice, so calibration is required. The three currents (2 n I U , 2 n +1 I U , 2 n+2 I U ), which can achieve higher matching accuracy. The 7 high-bit current sources are sorted according to the current size, such as Figure 3 As shown in (a), they are numbered 0 to 6 in sequence, and then the largest current value 6 and the smallest current value 0 are combined into the first equivalent current source (the first order equivalent current source is called the first order equivalent current source, and the second order equivalent current source is called the second order equivalent current source in the following text, and so on), the second largest current value 5 and the second smallest current value 1 are combined into the second first order equivalent current source, the third largest current value 4 and the third smallest current value 2 are combined into the third first order equivalent current source, and the remaining current value in the middle is called the calibration current source, which is formed after the first order, so it is called the first order calibration current source. This method can be understood as "folding in half" or "folding".
[0036] At this time, we get 3 equivalent current sources and one calibration current source, a total of 4, which still does not meet the requirement of 3 digits. Then, we perform the next round of folding on the equivalent current sources except the first-level calibration current source after the first round of folding, such as Figure 3 (b) and Figure 3 (c). Specifically, the equivalent current sources obtained by the first round of folding are also sorted according to the equivalent current size, the largest and the smallest combination is the first second-level equivalent current source, the second largest and the second smallest combination is the second second-level equivalent current, and this method is repeated until the total number of equivalent current sources and calibration current sources is equal to the number of bits in the high-order segment. That is, the present invention obtains the final equivalent current source and calibration current source by repeatedly folding.
[0037] Calibration logic such as Figure 5 As shown, the logic is a multi-bit AND logic. When the high-bit input controls the input of the calibration logic, the calibration data stored in the ROM (register) only allows a certain bit of control to control the current source to be turned on and off through the logic unit. The highest bit control logic t m-1 Corresponding control 2 m-1 The lowest bit controls one current source, so any current source can be controlled by ROM data, thus realizing current source calibration conversion. The current steering DAC needs to be tested to get the size order of the current source before calibration.
[0038] Figure 5 is a schematic diagram of the calibration logic structure. Figure 6This is an example diagram of a 3-bit calibration logic structure.
Claims
1. A calibration conversion method for a digital-to-analog converter, comprising the following steps: A. Divide the conversion circuit into a high-order segment and a low-order segment according to the digital signal bit. The number of bits in the high-order segment is assigned to m; the number of bits in the low-order segment is assigned to n. The sum of m and n is the number of bits of the digital signal. B. Perform low-segment conversion through a low-segment current source to obtain a low-segment current signal; C. Perform high-segment conversion through a high-segment current source to obtain a high-segment current signal; D. The currents obtained from the high-segment conversion and the low-segment conversion are superimposed on the output line and converted into voltage signals; It is characterized in that The step C comprises: (C.0) Each high-order current source is used as the current source to be sorted; (C.1) Sort the current sources to be sorted according to their output currents, combine the current source with the largest current and the current source with the smallest current into the first x-level equivalent current source, combine the current source with the second largest current and the current source with the second smallest current into the second x-level equivalent current source, and so on until only one current source remains, and use the remaining current source as the x-level calibration current source; (C.2) m is decremented by 1, and then judge: if m=1, go to step D, otherwise go to step (C.3); (C.3) x is incremented by 1, each equivalent current source is used as the current source to be sorted, and the process returns to step (C.1); Through step C, the equivalent current sources obtained by the first round of folding are also sorted according to the equivalent current size, the largest and the smallest combination is the first second-level equivalent current source, the second largest and the second smallest combination is the second second-level equivalent current, and this method is repeated until the total number of equivalent current sources and calibration current sources is equal to the number of bits in the high-order segment, that is, the final equivalent current source and calibration current source are obtained by repeated folding; In the step D, the correspondence between each level of calibration current source and the high-order segment current source contained therein is recorded as a high-order DAC decoding scheme, and the access switch of each high-order segment current source to the output line is controlled according to the scheme.
