A resistance mismatch calibration method and circuit for a resistance-type digital-to-analog converter
Through the calibration method and circuit of resistor type digital-to-analog converter, the resistance value is adjusted to reduce resistance mismatch, which solves the problem of resistance mismatch in high-precision and high-speed design, and improves the accuracy of the digital-to-analog converter and the linearity of the output voltage.
Patent Information
- Application Number
- CN202111401447.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-24
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2041-11-24
AI Technical Summary
In the design of high-precision high-speed digital-to-analog converters, the resistance mismatch caused by the contradiction between device size and speed affects the accuracy and speed of the converter.
The calibration method and circuit of resistive digital-to-analog converter is adopted. Through the coordination of calibration logic and amplifier, the resistance value is adjusted to reduce resistance mismatch, and the accuracy is improved using a switch-controlled resistor array.
It effectively reduces resistance mismatch, improves the accuracy of digital-to-analog converters, ensures linearity of output voltage at high speeds, and solves the problem of device size and speed contradiction.
Smart Images

Figure CN114095021B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of digital-to-analog converters, and in particular relates to a resistance mismatch calibration method and circuit for a resistance-type digital-to-analog converter. Background Art
[0002] Digital-to-analog converters are widely used in the fields of communications, sensors, and test instruments. The difficulty in designing high-precision and high-speed digital-to-analog converters lies mainly in the fact that high precision and high speed are two contradictory indicators. In order to achieve high precision, large-sized devices are used to reduce the mismatch generated during the processing, and then the parasitic capacitance of large-sized devices will cause the speed to decrease. Therefore, one way to achieve high precision and high speed at the same time is to use small-sized devices to meet the speed requirements, and at the same time reduce the mismatch between devices through automatic calibration to achieve high precision. Summary of the invention
[0003] In view of the above problems, the present invention proposes a resistance mismatch calibration method and circuit for a resistance-type digital-to-analog converter, which are used to reduce the resistance mismatch in the resistance-type digital-to-analog converter, thereby improving its accuracy.
[0004] On the one hand, the present invention provides a resistance mismatch calibration method for a resistance type digital-to-analog converter, wherein the resistance type digital-to-analog converter is composed of a binary sub-digital-to-analog converter of a low-bit D[N-1:0] bit and an M-bit thermometer code sub-digital-to-analog converter of a high-bit D[M+N-1:N]; the output of the digital-to-analog converter is connected to the left side of a capacitor C1, and the right side of the capacitor C1 is connected to the reverse input terminal of an amplifier, and the voltage of the positive input terminal of the amplifier is V cm The output of the amplifier is connected to the calibration logic, and the output of the calibration logic is connected to the digital-to-analog converter to control the input signal D[M+N-1:N] and THM[i:2 M -1], switch S1 is connected in parallel with the amplifier, and the calibration includes the following steps:
[0005] Step 1: Set the calibration logic configuration CAL_EN=1, set the calibration logic internal register record=0, i=0;
[0006] Step 2: The calibration logic configuration switch S1 is turned on, and the digital-to-analog converter input is configured as D[M+N-1:N]=0, D[N-1:0]=1, and D_CAL=1;
[0007] Step 3: Configure switch S1 to be disconnected. After switch S1 is disconnected, configure D[N-1:0]=0, D_CAL=0, and configure the input of the binary-to-thermometer decoder & selector to THM[i]=1, THM[1:i-1]=0, THM[i:2 M -1]=0;
[0008] Step 4: Detect the logic output of the amplifier, if it is high, record = record + 1, if it is low and record>0, record = record-1;
[0009] Step 5: Repeat steps 2 to 4 for a total of 4 times. If record>2, then change the resistor R i If record < 2, then increase the resistance R i Increase; if record = 2, the resistance R i Remain unchanged; reset record to 0, i=i+1, and proceed to the next step;
[0010] Step 6: Repeat steps 2 to 5, traversing from i=1 to i=2 M -1 resistance, the calibration ends after the traversal is completed, and the configuration CAL_EN=0, D_CAL=0.
[0011] Furthermore, a switch-controlled resistor array is used to adjust the resistance R i .
[0012] On the other hand, the present invention provides a resistance mismatch calibration circuit for a resistance-type digital-to-analog converter, wherein the output of the digital-to-analog converter is connected to the left side of the capacitor C1, and the right side of the capacitor C1 is connected to the reverse input terminal of the amplifier, and the voltage of the positive input terminal of the amplifier is V cm The output of the amplifier is connected to the calibration logic, and the output of the calibration logic is connected to the digital-to-analog converter to control the input signal D[M+N-1:N] and THM[i:2 M -1], the switch S1 is connected in parallel with the amplifier, and the calibration circuit calibrates the resistance mismatch using the above calibration method when in use. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a circuit block diagram of a resistive digital-to-analog converter;
[0014] Figure 2 The block diagram of the resistance mismatch calibration circuit of the resistance-type digital-to-analog converter is shown in FIG. DETAILED DESCRIPTION
[0015] The present invention proposes a method for calibrating resistance mismatch of a resistance-type digital-to-analog converter. The method utilizes the characteristics of the digital-to-analog converter structure, such as Figure 1 The figure shows a typical resistor-type DAC. The DAC consists of a low-order D[N-1:0]-bit binary sub-DAC 1 and a high-order D[M+N-1:N] M-bit thermometer code sub-DAC 2. When the binary-to-thermometer decoder & selector is working normally (CAL_EN=0), its function is to convert the input D[M+N-1:N] into a 1:2 M-1 thermometer code. When the DAC switches from low to high, the resistor mismatch will cause an error in the output voltage of the DAC. The method of the present invention can calibrate the mismatch between the output resistor of the low-bit sub-DAC and the unit resistor of the high-bit thermometer code.
[0016] Figure 2 The calibration circuit is shown, where the amplifier is any conventional circuit. The output of the DAC is connected to the left side of capacitor C1, and the right side of capacitor C1 is connected to the inverting input of the amplifier. The voltage at the positive input of the amplifier is V cm The output of the amplifier is connected to the calibration logic, and the output of the calibration logic is connected to the digital-to-analog converter to control the input signal D[M+N-1:N] and THM[i:2 M -1]. Switch S1 is connected in parallel with the amplifier.
[0017] The direction of the resistor mismatch is obtained through the calibration logic and the amplifier, so that the resistor value is adjusted to reduce the mismatch. During the calibration process, the calibration logic output CAL_EN is set to 1, and the digital-to-analog converter will receive the digital signal sent from the calibration logic.
[0018] During calibration, first, switch S1 is turned on, and the DAC input is configured as D[M+N-1:N]=0, D[N-1:0]=1, and D_CAL=1. At this time, the DAC output voltage is Due to the negative feedback loop, the input voltage of the amplifier is V cm , the voltage difference on capacitor C1 is V OUT1 -V cm Then switch S1 is opened, D[N-1:0]=0, D_CAL=0 is configured, and the input of the binary to thermometer decoder & selector is configured as THM[i]=1, THM[1:i-1]=0, THM[i:2 M -1]=0, where i=1,2,……,2 M -1. Since switch S1 is turned off, the negative feedback loop of the amplifier is disconnected, so the voltage difference on capacitor C1 will remain unchanged. At this time, the output voltage of the digital-to-analog converter becomes The input voltage at the inverting input of the amplifier becomes V cm +V OUT2 -V OUT1 , the voltage difference between the positive and negative ends of the amplifier is So if If the value of is greater than 0, the amplifier outputs a high voltage (logic 1); if the value is less than 0, the amplifier outputs a low voltage (logic 0).
[0019] The calibration logic will make a judgment based on the output value of the amplifier to adjust the resistor R in the thermometer code sub-digital-to-analog converter iIf the amplifier outputs a logic 1, it means that the resistor R i Too large, resistance R i needs to be adjusted down; if the amplifier outputs a logic 0, it means that the resistor R i Too small, resistance R i The resistor R i The adjustment method can use a switch-controlled resistor array.
[0020] According to the above method, i=1 to i=2 M -1 resistor for calibration, after which the resistance in the thermometer code sub-DAC will be equal to the output resistance of the binary sub-DAC. Thus, when the low-order N bits are switched to the high-order M bits, the output voltage will not be nonlinear due to the resistance mismatch caused by the manufacturing process.
[0021] The specific steps of calibration of the present invention are:
[0022] Step 1: Configure the calibration logic CAL_EN=1, and set the calibration logic internal register record=0, i=0.
[0023] Step 2: The calibration logic configuration switch S1 is turned on, and the digital-to-analog converter input is configured to be D[M+N-1:N]=0, D[N-1:0]=1, and D_CAL=1.
[0024] Step 3: Configure switch S1 to be disconnected. After the switch is disconnected, configure D[N-1:0] = 0, D_CAL = 0, and configure the input of the binary to thermometer decoder & selector to THM[i] = 1, THM[1:i-1] = 0, THM[i:2 M -1]=0.
[0025] Step 4: Detect the logic output of the amplifier. If it is high, record = record + 1. If it is low and record > 0, record = record - 1.
[0026] Step 5: Repeat steps 2 to 4 for a total of 4 times. If record>2, then change the resistor R i If record < 2, then reduce the resistance R i Increase; if record = 2, the resistance R i Remain unchanged, reset record to 0, i=i+1, and proceed to the next step.
[0027] Step 6: Repeat steps 2 to 5, traversing from i=1 to i=2 M -1 resistor. After the traversal is completed, the calibration ends and CAL_EN=0, D_CAL=0 are configured.
[0028] This embodiment is only a preferred specific implementation of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A resistance mismatch calibration method for a resistance type digital-to-analog converter, wherein the resistance type digital-to-analog converter is composed of a binary sub-digital-to-analog converter of a low-order D[N-1:0] bit and an M-bit thermometer code sub-digital-to-analog converter of a high-order D[M+N-1:N] bit; the output of the digital-to-analog converter is connected to the left side of a capacitor C1, and the right side of the capacitor C1 is connected to the reverse input terminal of an amplifier, and the voltage of the positive input terminal of the amplifier is V cm The output of the amplifier is connected to the calibration logic, and the output of the calibration logic is connected to the digital-to-analog converter to control the input signal D[M+N-1:N] and THM[i:2 M -1], switch S1 is connected in parallel with the amplifier, characterized in that, Calibration includes the following steps: Step 1: Set the calibration logic configuration CAL_EN=1, set the calibration logic internal register record=0, i=0; Step 2: The calibration logic configuration switch S1 is turned on, and the digital-to-analog converter input is configured to be D[M+N-1:N]=0, D[N-1:0]=1, and D_CAL=1; Step 3: Configure switch S1 to be disconnected. After switch S1 is disconnected, configure D[N-1:0]=0, D_CAL=0, and configure the input of the binary-to-thermometer decoder & selector to THM[i]=1, THM[1:i-1]=0, THM[i:2 M -1]=0; Step 4: Detect the logic output of the amplifier, if it is high, record = record + 1, if it is low and record>0, record = record-1; Step 5: Repeat steps 2 to 4 for a total of 4 times. If record>2, then change the resistor R i If record < 2, then increase the resistance R i Increase; if record = 2, the resistance R i Remain unchanged; reset record to 0, i=i+1, and proceed to the next step; Step 6: Repeat steps 2 to 5, traversing from i=1 to i=2 M -1 resistance, the calibration ends after the traversal is completed, and the configuration CAL_EN=0, D_CAL=0.
2. The method for calibrating resistance mismatch of a resistive digital-to-analog converter according to claim 1, characterized in that: Use a switch-controlled resistor array to adjust the resistance R i .
3. A resistance mismatch calibration circuit for a resistance-type digital-to-analog converter, characterized in that: The output of the DAC is connected to the left side of capacitor C1, and the right side of capacitor C1 is connected to the inverting input of the amplifier. The voltage at the positive input of the amplifier is V cm The output of the amplifier is connected to the calibration logic, and the output of the calibration logic is connected to the digital-to-analog converter to control the input signal D[M+N-1:N] and THM[i:2 M -1], the switch S1 is connected in parallel with the amplifier, and the calibration circuit calibrates the resistance mismatch by using the method described in any one of claims 1-2 when in use.
