WO2021120037A1 - Successive approximation register analog-to-digital converter and mismatch voltage detection method - Google Patents

Successive approximation register analog-to-digital converter and mismatch voltage detection method Download PDF

Info

Publication number
WO2021120037A1
WO2021120037A1 PCT/CN2019/126181 CN2019126181W WO2021120037A1 WO 2021120037 A1 WO2021120037 A1 WO 2021120037A1 CN 2019126181 W CN2019126181 W CN 2019126181W WO 2021120037 A1 WO2021120037 A1 WO 2021120037A1
Authority
WO
WIPO (PCT)
Prior art keywords
capacitance
voltage
control signal
control circuit
capacitor array
Prior art date
Application number
PCT/CN2019/126181
Other languages
French (fr)
Chinese (zh)
Inventor
高方
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2019/126181 priority Critical patent/WO2021120037A1/en
Priority to CN201980102981.1A priority patent/CN114788179A/en
Publication of WO2021120037A1 publication Critical patent/WO2021120037A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/10Calibration or testing
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/34Analogue value compared with reference values
    • H03M1/38Analogue value compared with reference values sequentially only, e.g. successive approximation type

Definitions

  • the embodiments of the present application relate to the field of electronic circuits, and in particular to a method for successive approximation register analog-to-digital converter (SAR ADC) and mismatch voltage detection.
  • SAR ADC successive approximation register analog-to-digital converter
  • the digital-to-analog converter (DAC) in the SAR ADC is usually composed of a binary weighted capacitor array.
  • the capacitor array includes a multi-bit capacitor, and the capacitance value of each capacitor increases exponentially with the increase in the number of bits. In practical applications, there will be a certain deviation between the capacitance value of each capacitor and the ideal design value, that is, capacitance mismatch. In order to ensure the performance of the SAR ADC, it is necessary to correct the capacitance mismatch.
  • the commonly used capacitance mismatch correction technology is a digital background correction technology, which can correct the mismatch amount of each capacitance in the DAC bit by bit.
  • this technology controls the capacitors in the DAC to switch to generate a mismatch voltage corresponding to the capacitance to be measured, which can reflect the amount of mismatch of the capacitance to be measured, and then inject a detection voltage into the DAC , So that the detection voltage and the mismatch voltage are offset. Since the size of the detection voltage is known, the amount of mismatch of the capacitance to be measured can be determined by the size of the detection voltage.
  • This technology usually pre-sets a fixed voltage range, within which detection voltages of different sizes can be provided. Because the mismatch voltage corresponding to the highest capacitance is large, the voltage range usually needs to be set large enough However, when the voltage range is too large, its accuracy is lower, which makes it impossible to accurately measure the mismatch of low-level capacitors.
  • the embodiments of the present application provide a method for successively approximating analog-to-digital converters and mismatch voltage detection, which can accurately measure the capacitance mismatch amount of low-level capacitors in the RDAC.
  • the first aspect of the embodiments of the present application provides a successive approximation analog-to-digital converter, including: a capacitor digital-to-analog converter (CDAC), a SAR control circuit, a variable capacitor array, a comparator, and a correction Control circuit and resistance digital-to-analog converter (Resistance Digital-to-Analog Converter, RDAC).
  • the SAR control circuit When performing the capacitance mismatch detection of the CDAC, the SAR control circuit is used to control the CDAC to output a first voltage according to the first control signal, where the first voltage is the mismatch voltage and is related to the capacitance mismatch amount of the CDAC;
  • variable capacitor array is used to provide a second voltage, where the second voltage is a detection voltage for detecting the magnitude of the first voltage;
  • the comparator is used to compare according to the difference between the first voltage and the second voltage to generate a comparison result
  • the correction control circuit is used to generate a first control signal and generate a second control signal according to the comparison result;
  • the RDAC is used to output an analog voltage according to the second control signal and charge the variable capacitor array to generate the second voltage
  • the capacitance value of the variable capacitor array is adjustable.
  • the capacitance value of the variable capacitor array for providing the second voltage is adjustable, a variable voltage range is provided.
  • the capacitance value of the variable capacitor array is small, it can provide a smaller voltage range. Because the voltage range is smaller, its accuracy is higher. Therefore, based on the voltage range, a detection voltage with sufficient accuracy can be provided to accurately measure the RDAC. The amount of capacitance mismatch of the low capacitance.
  • the calibration control circuit is also used to generate a third control signal to control the variable capacitor array to adjust the capacitance value .
  • the third control signal is generated by the correction control circuit to realize the adjustment of the capacitance value of the variable capacitor array, which improves the flexibility and selectivity of the solution.
  • the correction control circuit includes: a state machine for outputting a third control signal,
  • the variable capacitance array is controlled to adjust the capacitance value so that the adjusted capacitance value matches the mismatch amount of the capacitance to be measured.
  • the third control signal is generated by the state machine in the correction control circuit to realize the adjustment of the capacitance value of the variable capacitance array, so that the capacitance value of the adjusted variable capacitance array is different from the capacitance to be measured. Matching the dosage increases the flexibility and selectivity of the scheme.
  • variable capacitor array in combination with the first implementation or the second implementation of the first aspect of the embodiments of the present application, in the third implementation of the first aspect of the embodiments of the present application, includes a plurality of capacitor branches connected in parallel , And each capacitor branch includes a capacitor and a switch connected in series.
  • variable capacitor array is formed by a plurality of parallel capacitor branches, which improves the flexibility and selectivity of the solution.
  • variable capacitor array is used to: control at least one capacitor branch according to a third control signal Switch in the switch.
  • variable capacitor array after receiving the third control signal sent by the correction control circuit, can control the switch in at least one capacitor branch to switch according to the third control signal, thereby adjusting its own capacitance value so that The adjusted capacitance value can match the mismatch amount of the capacitance to be measured in the RDCA to accurately detect the capacitance mismatch amount of the capacitance to be measured.
  • the SAR control circuit is used to control the capacitor array in the CDAC to switch on and off according to the first control signal to output the first voltage.
  • the SRA control circuit after receiving the first control signal sent by the correction control circuit, the SRA control circuit can switch the capacitor array in the CDAC based on the first control signal, so that the CDAC outputs the first voltage, which improves the flexibility of the solution. Degree and selectivity.
  • the SAR control circuit is used to: control the capacitance of the capacitance to be measured of the capacitance array in the CDAC
  • the switch and the switch of the low capacitance whose median of the capacitance array is lower than the capacitance to be measured are switched to output the first voltage, and the first voltage is related to the mismatch of the capacitance to be measured.
  • the SRA control circuit can switch the capacitance to be measured of the capacitance array in the CDAC based on the first control signal, and the median of the capacitance array is lower than The switch of the low capacitance of the capacitance to be measured is switched, so that the CDAC outputs the first voltage, which improves the flexibility and selectivity of the solution.
  • the second aspect of the embodiments of the present application provides a method for detecting mismatch voltage, which is applied to a successive approximation analog-to-digital converter, and the successive approximation analog-to-digital converter includes: CDAC, comparator, SAR control circuit, RDAC, The variable capacitance array and the correction control circuit, wherein the capacitance value of the variable capacitance array is adjustable, the method includes:
  • the SAR control circuit controls the CDAC to output the first voltage according to the first control signal
  • the RDAC outputs the analog voltage according to the second control signal and charges the variable capacitor array to generate the second voltage.
  • the capacitance value of the variable capacitor array for providing the second voltage is adjustable, a variable voltage range is provided.
  • the capacitance value of the variable capacitor array is small, it can provide a smaller voltage range. Because the voltage range is smaller, its accuracy is higher. Therefore, based on the voltage range, a detection voltage with sufficient accuracy can be provided to accurately measure the RDAC. The amount of capacitance mismatch of the low capacitance.
  • the method further includes: generating a third control signal through the calibration control circuit to control the variable capacitor array to perform capacitance. Value adjustment.
  • the third control signal is generated by the correction control circuit to realize the adjustment of the capacitance value of the variable capacitor array, which improves the flexibility and selectivity of the solution.
  • the correction control circuit includes: a state machine, which generates a third control signal through the correction control circuit, Adjusting the capacitance value by controlling the variable capacitance array includes:
  • the third control signal is output through the state machine to control the variable capacitor array to adjust the capacitance value so that the adjusted capacitance value matches the mismatch amount of the capacitance to be measured.
  • the third control signal is generated by the state machine in the correction control circuit to realize the adjustment of the capacitance value of the variable capacitance array, so that the capacitance value of the adjusted variable capacitance array is different from the capacitance to be measured. Matching the dosage increases the flexibility and selectivity of the scheme.
  • variable capacitor array in combination with the first implementation or the second implementation of the second aspect of the embodiments of the present application, in the third implementation of the second aspect of the embodiments of the present application, includes a plurality of capacitor branches connected in parallel , And each capacitor branch includes a capacitor and a switch connected in series, and controlling the variable capacitor array to adjust the capacitor value includes:
  • variable capacitor array controls the switch in at least one capacitor branch to switch according to the third control signal.
  • variable capacitor array after receiving the third control signal sent by the correction control circuit, can control the switch in at least one capacitor branch to switch according to the third control signal, thereby adjusting its own capacitance value so that The adjusted capacitance value can match the mismatch amount of the capacitance to be measured in the RDCA to accurately detect the capacitance mismatch amount of the capacitance to be measured.
  • Controlling the CDAC to output the first voltage according to the first control signal by the SAR control circuit includes:
  • the SAR control circuit controls the capacitor array in the CDAC to switch on and off according to the first control signal to output the first voltage.
  • the SRA control circuit after receiving the first control signal sent by the correction control circuit, the SRA control circuit can switch the capacitor array in the CDAC based on the first control signal, so that the CDAC outputs the first voltage, which improves the flexibility of the solution. Degree and selectivity.
  • the SAR control circuit controls the capacitor array in the CDAC to switch on and off according to the first control signal.
  • To output the first voltage includes:
  • the SAR control circuit controls the switch of the capacitance to be measured of the capacitance array in the CDAC and the switch of the low capacitance of the capacitance array whose median is lower than the capacitance to be measured to output the first voltage, the first voltage and the capacitance to be measured The amount of mismatch of the bit capacitance is correlated.
  • the SRA control circuit can switch the capacitance to be measured of the capacitance array in the CDAC based on the first control signal, and the median of the capacitance array is lower than The switch of the low capacitance of the capacitance to be measured is switched, so that the CDAC outputs the first voltage, which improves the flexibility and selectivity of the solution.
  • the third aspect of the embodiments of the present application also provides a communication chip, including an antenna, a radio frequency front-end, a digital processing circuit, and any one of the first aspect or the first implementation to the sixth implementation of the first aspect A said successive approximation analog-to-digital converter;
  • Antenna used to receive analog signals
  • RF front-end used for down-frequency processing of analog signals to obtain the down-frequency analog signals
  • the successive approximation analog-to-digital converter is used to perform analog-to-digital conversion on the down-frequency analog signal to obtain a digital signal;
  • Digital processing circuit used to encode and decode digital signals.
  • the embodiment of the present application provides a SAR ADC and a method for detecting mismatch voltage.
  • the SAR ADC includes: a CDAC, a comparator, a SAR control circuit, an RDAC, a variable capacitor array, and a correction control circuit.
  • the SAR control circuit is used to control the CDAC to output a first voltage according to the first control signal, and the first voltage is related to the capacitance mismatch amount of the CDAC.
  • the variable capacitor array is used to provide a second voltage, and the second voltage is used to detect the magnitude of the first voltage.
  • the comparator is used to generate a comparison result according to the first voltage and the second voltage.
  • the correction control circuit is used to generate a first control signal and generate a second control signal according to the comparison result.
  • the RDAC is used to output an analog voltage and charge the variable capacitor array according to the second control signal to generate the second voltage.
  • FIG. 1 is a schematic structural diagram of a SAR ADC provided by an embodiment of the application
  • FIG. 2 is a schematic diagram of the structure of CDAC
  • FIG. 3 is a schematic diagram of the capacitance switch state of the CDAC
  • Figure 4 is another schematic diagram of the capacitor switch state of the CDAC
  • FIG. 5 is another schematic diagram of the capacitance switch state of the CDAC
  • Fig. 6 is another schematic diagram of the capacitance switch state of the CDAC
  • Fig. 7 is a schematic diagram of the structure of the variable capacitor array.
  • Fig. 1 is a schematic structural diagram of a SAR ADC provided by an embodiment of the application. Please refer to Fig. 1.
  • the SAR ADC includes a main circuit for analog-to-digital conversion and a correction circuit for capacitance mismatch correction.
  • the main loop includes CDAC, comparator and SAR control circuit.
  • the output terminal of CDAC is coupled with the input terminal of the comparator
  • the output terminal of the comparator is coupled with the input terminal of the SAR control circuit
  • the output terminal of the SAR control circuit is coupled with the capacitance of the CDAC Switch coupling.
  • the CDAC can be composed of a binary weighted capacitor array.
  • the structure of the CDAC will be described in detail below in conjunction with Figure 2.
  • Figure 2 is a schematic diagram of the structure of the CDAC.
  • the CDAC is composed of multiple bits with a total capacitance of 2 N. Capacitor composition, the capacitance value of the highest capacitance is 2 N-1 C, the capacitance value of the second highest capacitance is 2 N-2 C, and so on, the capacitance value of the lowest capacitance is 1C.
  • the actual capacitance value of each capacitor will deviate from the ideal capacitance value.
  • the ideal capacitance value of the lowest capacitance is 1C
  • the actual capacitance value may be 0.8C, that is, there is a capacitance mismatch. Therefore, it is particularly important to correct the capacitance mismatch of the CDAC.
  • the most critical link is the measurement of the capacitance mismatch. Specifically, the capacitance mismatch of each capacitor can be measured through the correction loop.
  • the correction loop includes RDAC, variable capacitor array and correction control circuit.
  • the output terminal of the RDAC is coupled with the input terminal of the comparator through the variable capacitance array
  • the output terminal of the comparator is coupled with the input terminal of the correction control circuit
  • the output terminal of the correction control circuit is coupled with the input terminal of the RDAC.
  • the output terminal is coupled with the variable capacitor array
  • the output terminal of the correction control circuit is coupled with the input terminal of the SAR control circuit.
  • the correction control circuit When the correction loop detects capacitance mismatch, the correction control circuit first generates a first control signal, and sends the first control signal to the SAR control circuit, so that the SAR control circuit controls the CDAC to output the first voltage according to the first control signal (that is, the mismatch Voltage), the first voltage is associated with the capacitance mismatch of the CDAC.
  • the SAR control circuit controls the capacitor array in the CDAC to switch according to the first control signal, so that the output of the CDAC is the first voltage.
  • the SAR control circuit controls the switches of the capacitance to be measured of the capacitance array in the CDAC and switches of all low capacitances whose median of the capacitance array is lower than the capacitance to be measured to output the first voltage,
  • the first voltage is associated with the mismatch of the capacitance to be measured, that is, the first voltage can reflect the magnitude of the capacitance mismatch of the capacitance to be measured.
  • the first control signal generated by the calibration control circuit is used to indicate the capacitance to be measured in the CDAC.
  • the SAR control circuit can determine which capacitance in the CDAC is the capacitance to be measured, and A fourth control signal is generated based on the first control signal and sent to the CDAC.
  • the fourth control signal is used to control the switch of the capacitance to be measured and the switches of all low capacitances whose number of bits are lower than the capacitance to be measured.
  • the CDAC after the CDAC receives the fourth control signal, it can switch the switch of the capacitor to be measured and the switches of all the capacitors whose digits are lower than the capacitance to be measured according to the fourth control signal, so that the CDAC output corresponds to the capacitance to be measured
  • the first voltage can reflect the capacitance mismatch of the capacitance to be measured.
  • Figure 3 is a schematic diagram of the capacitance switch state of the CDAC. As shown in Figure 3, the capacitance to be measured is the highest capacitance.
  • the capacitance of the CDAC is in the normal power-on state
  • the first switch of all the capacitors (hereinafter referred to as the common terminal) is connected to the common mode voltage V CM
  • the highest capacitance C MSB of the CDAC (capacitance value 2 N-1 C) is the first switch
  • the second switch (hereinafter referred to as the free end) is grounded, and the second switch (hereinafter referred to as the free end) of the remaining bit capacitance C MSB' (the equivalent capacitance of all the remaining bit capacitances whose digits are lower than the highest bit capacitance) is connected to the reference voltage V DD ,
  • the state of the switch can be changed.
  • FIG 4 is another schematic diagram of the capacitance switch state of the CDAC, as shown in Figure 4.
  • the CDAC controls the capacitance based on the fourth control signal.
  • the switch is switched. Specifically, the common end of all capacitors is not connected to the common mode voltage V CM , the free end of the highest capacitance C MSB of CDAC is connected to the reference voltage V DD , and the free end of the remaining capacitance C MSB' is grounded, so the common end is generated A first voltage V RES , and the magnitude of the first voltage V RES can reflect the capacitance mismatch of the highest capacitance.
  • Fig. 5 is another schematic diagram of the capacitance switch state of the CDAC.
  • the capacitance to be measured is assumed to be the next highest capacitance.
  • the capacitor of CDAC is in the normal power-on state, the common terminal of all capacitors is connected to the common mode voltage V CM , the highest capacitance C MSB of CDAC (capacitance value 2 N-1 C) and the second highest capacitance C MSB-1 ( The free end of the capacitance value 2 N-2 C) is grounded, and the free end of the remaining bit capacitance C MSB-1' (the equivalent capacitance of all the remaining bit capacitances with a number lower than the second highest capacitance) is connected to the reference voltage V DD , in order to Measuring the capacitance mismatch of the next highest capacitance C MSB-1 can change the state of the switch.
  • FIG. 6 is another schematic diagram of the capacitance switch state of CDAC, as shown in Figure 6.
  • CDAC is based on the fourth control signal.
  • the switch of the capacitor is switched. Specifically, the common end of all capacitors is not connected to the common mode voltage V CM , the free end of the highest capacitance C MSB of CDAC remains unchanged, and the free end of the second highest capacitance C MSB-1 (capacitance value 2 N-2 C) Connected to the reference voltage V DD , the free end of the remaining bit capacitance C MSB-1' is grounded, so a first voltage V RES-1 is generated at the common end, and the magnitude of the first voltage V RES-1 can reflect the next highest bit The power loss distribution capacity of the capacitor. In the same way, if it is necessary to measure the capacitance mismatch of the remaining bit capacitors, the above-mentioned operation can also be performed, which will not be repeated here.
  • the capacitance value of the variable capacitance array can be adjusted.
  • the correction control circuit may generate a third control signal and send it to the variable capacitor array to control the variable capacitor array to adjust the capacitance value.
  • the calibration control circuit includes: a state machine for outputting a third control signal to control the variable capacitor array to adjust the capacitance value so that the capacitance value of the adjusted variable capacitance array is equal to the capacitance value of the capacitance to be measured The amount of mismatch matches.
  • variable capacitor The array includes a plurality of capacitor branches connected in parallel, and each capacitor branch includes capacitors and switches connected in series.
  • each capacitor branch includes capacitors and switches connected in series.
  • FIG. 7 shows the structure of the variable capacitor array.
  • a switch is provided on the branch where each capacitor is located. The switch is controlled by the third control signal generated by the correction control circuit.
  • the variable capacitor array When a switch is connected to "1", it means that the corresponding capacitor is in the connected state. When the switch is connected to "0", it means that the corresponding capacitor is in the exit state. Therefore, by controlling the switching state of the capacitor branch, the total capacitance value of the variable capacitor array can be changed. Since a capacitance value corresponds to a fixed voltage range, the variable capacitor array provides a variable voltage range. When the capacitance of the variable capacitor array is large, a larger voltage range can be provided, based on which a large enough detection voltage can be provided to accurately measure the capacitance mismatch of the high-level capacitance in the DAC. When the capacitance of the variable capacitor array is small, it can provide a smaller voltage range. Because the voltage range is smaller, its accuracy is higher. Therefore, based on this voltage range, it can provide a detection voltage with sufficient accuracy to accurately measure the low-level of the DAC. The amount of capacitance mismatch of the capacitor.
  • variable capacitor array can control the switch in at least one capacitor branch to switch according to the third control signal to adjust its own capacitance value so that the adjusted capacitance value matches the mismatch amount of the capacitance to be measured.
  • the correction control circuit may generate a third control signal and send it to the variable capacitor array, so that the variable capacitor array adjusts the size of the capacitor according to the third control signal, where the third control signal includes a signal used to adjust the variable capacitor array Information about its own capacitance value. It is worth noting that the correction control circuit is preset with the corresponding relationship between the capacitance value of the variable capacitor array and the capacitance mismatch of the capacitance to be measured.
  • the correction control circuit determines that the capacitance to be measured is the highest capacitance (The corresponding capacitance mismatch is the largest).
  • the capacitance value of the variable capacitor array can be maximized by the third control signal.
  • the calibration control circuit determines that the capacitance to be measured is a low-level capacitance (its corresponding capacitance mismatch Then smaller), the capacitance value of the variable capacitor array can be reduced by the third control signal, and so on.
  • the adjusted variable capacitor array can be equivalent to a capacitor with a fixed capacitance value.
  • the correction control circuit can charge the variable capacitor array through RDAC. If the capacitance value of the variable capacitor array is larger, the RDAC is changing.
  • the maximum voltage that can be generated on the capacitor array is also larger, that is, a larger voltage range is provided. If the capacitance value of the variable capacitor array is small, the maximum voltage that the RDAC can generate on the variable capacitor array is smaller, that is, A smaller voltage range is provided, but its accuracy is higher. Therefore, when the variable capacitor array is adjusted by the calibration control circuit, it is equivalent to providing a voltage range, and the calibration control circuit can select a certain size of the second voltage (detection voltage) within the voltage range to detect and to be measured. The magnitude of the mismatch voltage corresponding to the capacitance is used to determine the capacitance mismatch amount of the capacitance to be measured.
  • the correction control circuit can generate a second control signal according to the comparison result output by the comparator, and send the second control signal to the RDAC, so that the RDAC outputs an analog voltage according to the second control signal.
  • the variable capacitor array is charged based on the analog voltage to generate a second voltage on the variable capacitor array.
  • the correction control circuit can generate a second control signal according to the comparison result, so that the RDAC charges the variable capacitor array, and generates a second voltage with a certain magnitude on the variable capacitor array .
  • the correction control circuit can continue to generate a second control signal according to the comparison result, which is used to adjust the The magnitude of the second voltage until the comparison result output by the comparator indicates that the difference between the mismatch voltage and the detection voltage is close to zero, (for example, the comparison result is 101010101010»10, indicating that the difference between the two voltages is greater than zero If you switch between and less than zero, you can consider that the difference is approximately equal to zero), the correction control circuit can determine that the second voltage is the first voltage, and the second voltage reflects the capacitance loss of the capacitance to be measured. Distributing, that is, the capacitance mismatch detection of the capacitance to be measured is completed.
  • the second control signal includes codeword information for adjusting the RDAC and estimated information of the first voltage corresponding to the capacitance to be measured.
  • the code word information of the RDAC is the voltage step size for the RDAC to charge the variable capacitor array, and the RDAC can adjust the voltage (ie, the second voltage) of the variable capacitor array according to requirements, as in the detection of the highest capacitance.
  • the voltage step can be set to 0.1V, so that the RDAC adjusts the voltage of the variable capacitor array with a precision of 0.1V.
  • Another example is to set the voltage step when detecting the first voltage corresponding to the lowest capacitance.
  • the length is 0.01V, so that the RDAC adjusts the voltage of the variable capacitor array with an accuracy of 0.01V. Therefore, the correction control circuit can control the accuracy when adjusting the magnitude of the second voltage by adjusting the code word information in the second control signal.
  • the correction control circuit is also preset with the estimated information of the mismatch voltage corresponding to each capacitance of the CDAC. For example, in the CDAC, the actual first voltage corresponding to the highest capacitance is 0.81V, and the lowest capacitance corresponds to If the actual first voltage is 0.0088V, the corresponding estimated information is set in the correction control circuit: the estimated first voltage corresponding to the highest capacitance is 0.80V, and the estimated first voltage corresponding to the lowest capacitance is 0.0090 V. Therefore, the correction control circuit can adjust the magnitude of the second voltage generated by the RDAC on the variable capacitor array by adjusting the estimated information of the mismatch voltage in the second control signal.
  • the calibration control circuit when it is measuring the first voltage corresponding to the highest capacitance, it can generate a second control signal, which contains codeword information of 0.01V, and the value of the first voltage corresponding to the highest capacitance. Estimated information (0.80V).
  • the RDAC adjusts the second voltage generated by the variable capacitor array with a precision of 0.01V based on the second control signal until the second voltage is about 0.80V (For example, the voltage is floating between 0.79V and 0.82V).
  • the second voltage generated by the variable capacitor array is almost equal to the first voltage corresponding to the highest capacitance, and the comparator receives the two After the input signal is composed of the difference between the voltages and compared, the comparison result can be output, which is used to indicate to the correction control circuit that the difference between the two voltages is close to zero, that is, the second voltage can be correctly measured to the highest Based on the first voltage corresponding to the bit capacitance, the capacitance mismatch amount of the highest bit capacitance can be determined based on the second voltage.
  • the capacitance mismatch detection of the next capacitance can be entered.
  • the correction control circuit can control the RDAC to reset, thereby making the variable capacitance array in an uncharged state , And then control the CDAC to output the first voltage corresponding to the next capacitor, then adjust the capacitance value of the variable capacitor array, and charge the adjusted variable capacitor array to generate a second voltage, and adjust the size of the second voltage through feedback ,
  • the capacitance mismatch amount of the next capacitor is determined by the comparison result of the comparator.
  • the capacitance mismatch of each capacitor can be gradually corrected.
  • the capacitance of the variable capacitor array is adjustable, a variable voltage range is provided.
  • the capacitance of the variable capacitor array is small, it can provide a smaller voltage range. Because the voltage range is smaller, its accuracy is higher. Therefore, based on this voltage range, it can provide a detection voltage with sufficient accuracy to accurately measure the low-level of the CDAC. The amount of capacitance mismatch.
  • the above is a specific introduction to the SAR ADC provided by the embodiment of the present application.
  • the method for detecting the mismatch voltage provided by the embodiment of the present application will be described below.
  • the method is applied to the SAR ADC corresponding to FIG. 1, and the method includes:
  • S2 Control the CDAC to output the first voltage according to the first control signal through the SAR control circuit
  • S5 Output the analog voltage through the RDAC according to the second control signal and charge the variable capacitor array to generate the second voltage.
  • steps S1 to S5 reference may be made to the relevant description part in the embodiment corresponding to FIG. 1, which will not be repeated here.
  • the method further includes: generating a third control signal through the correction control circuit to control the variable capacitor array to adjust the capacitance value.
  • the correction control circuit includes: a state machine, and the third control signal is generated by the correction control circuit to control the variable capacitor array to adjust the capacitance value includes:
  • the third control signal is output through the state machine to control the variable capacitor array to adjust the capacitance value so that the adjusted capacitance value matches the mismatch amount of the capacitance to be measured.
  • variable capacitor array includes a plurality of capacitor branches connected in parallel, and each capacitor branch includes a capacitor and a switch connected in series, and controlling the variable capacitor array to adjust the capacitance value includes:
  • variable capacitor array controls the switch in at least one capacitor branch to switch according to the third control signal.
  • controlling the CDAC to output the first voltage according to the first control signal by the SAR control circuit includes:
  • the SAR control circuit controls the capacitor array in the CDAC to switch on and off according to the first control signal to output the first voltage.
  • controlling the capacitor array in the CDAC to switch by the SAR control circuit according to the first control signal to output the first voltage includes:
  • the SAR control circuit controls the switch of the capacitance to be measured of the capacitance array in the CDAC and the switch of the low capacitance of the capacitance array whose median is lower than the capacitance to be measured to output the first voltage, the first voltage and the capacitance to be measured The amount of mismatch of the bit capacitance is correlated.
  • the capacitance mismatch correction can be performed on the CDAC.
  • the capacitance mismatch correction process for the CDAC can be:
  • the embodiment of the present application also relates to a communication chip.
  • the communication chip may be, for example, an information transceiver chip in an optical communication system, and a data acquisition chip in a medical imaging system, an industrial process control system, etc.
  • the communication chip includes: an antenna, RF front-end, digital processing circuit and SAR ADC corresponding to Figure 1.
  • the antenna is used to receive analog signals.
  • the radio frequency front end is used to perform frequency reduction processing on the analog signal to obtain the reduced frequency analog signal.
  • SAR ADC is used to perform analog-to-digital conversion on the down-converted analog signal to obtain a digital signal.
  • Digital processing circuit used to encode and decode digital signals.
  • the SAR ADC includes a main circuit for analog-to-digital conversion and a correction circuit for capacitance mismatch correction
  • the correction circuit has an adjustable variable capacitance array, so it can accurately measure the low level of the CDAC in the main circuit.
  • the amount of mismatch of the capacitance and the realization of capacitance mismatch correction can effectively improve the performance of the communication chip to meet higher demands in practical applications.

Abstract

An SAR ADC and a mismatch voltage detection method. During capacitance mismatch detection, an SAR control circuit is configured to control, according to a first control signal, a CDAC to output a mismatch voltage. A variable capacitor array is configured to provide a detection voltage. A comparator is configured to generate a comparison result according to the mismatch voltage and the detection voltage. A correction control circuit is configured to generate the first control signal and generate a second control signal according to the comparison result. An RDAC is configured to output an analog voltage according to the second control signal and charge the variable capacitor array generate the detection voltage. In the capacitance mismatch detection process, because the capacitance of the variable capacitor array is adjustable, a variable voltage range is provided. When the capacitance of the variable capacitor array is small, a small voltage range can be provided; because the precision is high in the case of the small voltage range, the detection voltage having adequate precision can be provided on the basis of said voltage range, so as to accurately measure the amount of mismatch of low capacitance in the CADC.

Description

一种逐次逼近模数转换器及失配电压检测的方法A method for successively approximating analog-to-digital converter and mismatch voltage detection 技术领域Technical field
本申请实施例涉及电子电路领域,尤其涉及一种逐次逼近模数转换器(successive approximation register analog-to-digital converter,SAR ADC)及失配电压检测的方法。The embodiments of the present application relate to the field of electronic circuits, and in particular to a method for successive approximation register analog-to-digital converter (SAR ADC) and mismatch voltage detection.
背景技术Background technique
SAR ADC中的数模转换器(digital-to-analog converter,DAC)通常由二进制加权电容阵列构成,该电容阵列包含多位电容,每位电容的电容值随位数增加呈指数增长。在实际应用中,每位电容的电容值与理想设计值之间会存在一定的偏差,即电容失配,为了保证SAR ADC的性能,需要校正电容失配。The digital-to-analog converter (DAC) in the SAR ADC is usually composed of a binary weighted capacitor array. The capacitor array includes a multi-bit capacitor, and the capacitance value of each capacitor increases exponentially with the increase in the number of bits. In practical applications, there will be a certain deviation between the capacitance value of each capacitor and the ideal design value, that is, capacitance mismatch. In order to ensure the performance of the SAR ADC, it is necessary to correct the capacitance mismatch.
常用的电容失配校正技术为数字域的后台校正技术,该技术可以逐位校正DAC中的每位电容的失配量,其中,如何准确测量每位电容的失配量尤为重要。具体的,该技术通过控制DAC内的各位电容进行开关切换,以产生与待测位电容对应的失配电压,该电压可反映待测位电容的失配量,然后通过向DAC注入一个检测电压,使得检测电压与失配电压抵消,由于检测电压的大小已知,故可通过检测电压的大小确定待测位电容的失配量。The commonly used capacitance mismatch correction technology is a digital background correction technology, which can correct the mismatch amount of each capacitance in the DAC bit by bit. Among them, how to accurately measure the mismatch amount of each capacitance is particularly important. Specifically, this technology controls the capacitors in the DAC to switch to generate a mismatch voltage corresponding to the capacitance to be measured, which can reflect the amount of mismatch of the capacitance to be measured, and then inject a detection voltage into the DAC , So that the detection voltage and the mismatch voltage are offset. Since the size of the detection voltage is known, the amount of mismatch of the capacitance to be measured can be determined by the size of the detection voltage.
该技术通常预先设置了一个固定的电压量程,在该电压量程内可提供大小不一的检测电压,由于最高位电容所对应的失配电压较大,故该电压量程通常需被设置得足够大,然而,当电压量程太大时,其精度则较低,导致无法准确测量低位电容的失配量。This technology usually pre-sets a fixed voltage range, within which detection voltages of different sizes can be provided. Because the mismatch voltage corresponding to the highest capacitance is large, the voltage range usually needs to be set large enough However, when the voltage range is too large, its accuracy is lower, which makes it impossible to accurately measure the mismatch of low-level capacitors.
发明内容Summary of the invention
本申请实施例提供了一种逐次逼近模数转换器及失配电压检测的方法,可以准确测量RDAC中低位电容的电容失配量。The embodiments of the present application provide a method for successively approximating analog-to-digital converters and mismatch voltage detection, which can accurately measure the capacitance mismatch amount of low-level capacitors in the RDAC.
本申请实施例的第一方面提供一种逐次逼近模数转换器,包括:电容数模转换器(Capacitor Digital-to-Analog Converter,CDAC)、SAR控制电路、可变电容阵列、比较器、校正控制电路和电阻数模转换器(Resistance Digital-to-Analog Converter,RDAC)。The first aspect of the embodiments of the present application provides a successive approximation analog-to-digital converter, including: a capacitor digital-to-analog converter (CDAC), a SAR control circuit, a variable capacitor array, a comparator, and a correction Control circuit and resistance digital-to-analog converter (Resistance Digital-to-Analog Converter, RDAC).
当进行CDAC的电容失配检测时,SAR控制电路用于根据第一控制信号控制CDAC输出第一电压,其中,第一电压为失配电压,与CDAC的电容失配量相关联;When performing the capacitance mismatch detection of the CDAC, the SAR control circuit is used to control the CDAC to output a first voltage according to the first control signal, where the first voltage is the mismatch voltage and is related to the capacitance mismatch amount of the CDAC;
可变电容阵列用于提供第二电压,其中,第二电压为检测电压,用于检测第一电压的大小;The variable capacitor array is used to provide a second voltage, where the second voltage is a detection voltage for detecting the magnitude of the first voltage;
比较器用于根据第一电压和第二电压之间的差值进行比较,以生成比较结果;The comparator is used to compare according to the difference between the first voltage and the second voltage to generate a comparison result;
校正控制电路用于生成第一控制信号,并根据比较结果生成第二控制信号;The correction control circuit is used to generate a first control signal and generate a second control signal according to the comparison result;
RDAC用于根据第二控制信号输出模拟电压并对可变电容阵列进行充电,以产生第二电压;The RDAC is used to output an analog voltage according to the second control signal and charge the variable capacitor array to generate the second voltage;
其中,可变电容阵列的电容值可调。Among them, the capacitance value of the variable capacitor array is adjustable.
上述逐次逼近模数转换器中,由于用于提供第二电压的可变电容阵列的电容值可调,故提供了一个可变的电压量程。当可变电容阵列的电容值较小时,可提供一个较小的电压 量程,由于电压量程较小,其精度则较高,故基于该电压量程能够提供精度足够的检测电压,以准确测量RDAC中低位电容的电容失配量。In the above-mentioned successive approximation analog-to-digital converter, since the capacitance value of the variable capacitor array for providing the second voltage is adjustable, a variable voltage range is provided. When the capacitance value of the variable capacitor array is small, it can provide a smaller voltage range. Because the voltage range is smaller, its accuracy is higher. Therefore, based on the voltage range, a detection voltage with sufficient accuracy can be provided to accurately measure the RDAC. The amount of capacitance mismatch of the low capacitance.
结合本申请实施例的第一方面,在本申请实施例的第一方面的第一种实现方式中,校正控制电路,还用于生成第三控制信号,以控制可变电容阵列进行电容值调整。With reference to the first aspect of the embodiments of the present application, in the first implementation of the first aspect of the embodiments of the present application, the calibration control circuit is also used to generate a third control signal to control the variable capacitor array to adjust the capacitance value .
上述实现方式中,通过校正控制电路生成第三控制信号,以实现对可变电容阵列的电容值的调整,提高了方案的灵活度和可选择性。In the foregoing implementation manner, the third control signal is generated by the correction control circuit to realize the adjustment of the capacitance value of the variable capacitor array, which improves the flexibility and selectivity of the solution.
结合本申请实施例的第一方面的第一种实现方式,本申请实施例的第一方面的第二种实现方式中,校正控制电路包括:状态机,状态机用于输出第三控制信号,以控制可变电容阵列调整电容值,使得调整后的电容值与待测位电容的失配量相匹配。With reference to the first implementation manner of the first aspect of the embodiments of the present application, in the second implementation manner of the first aspect of the embodiments of the present application, the correction control circuit includes: a state machine for outputting a third control signal, The variable capacitance array is controlled to adjust the capacitance value so that the adjusted capacitance value matches the mismatch amount of the capacitance to be measured.
上述实现方式中,通过校正控制电路中的状态机生成第三控制信号,以实现对可变电容阵列的电容值的调整,使得调整后的可变电容阵列的电容值与待测位电容的失配量相匹配,提高了方案的灵活度和可选择性。In the foregoing implementation manner, the third control signal is generated by the state machine in the correction control circuit to realize the adjustment of the capacitance value of the variable capacitance array, so that the capacitance value of the adjusted variable capacitance array is different from the capacitance to be measured. Matching the dosage increases the flexibility and selectivity of the scheme.
结合本申请实施例的第一方面的第一种实现方式或第二种实现方式,本申请实施例的第一方面的第三种实现方式中,可变电容阵列包括多个并联的电容支路,且每个电容支路包括串联的电容及开关。In combination with the first implementation or the second implementation of the first aspect of the embodiments of the present application, in the third implementation of the first aspect of the embodiments of the present application, the variable capacitor array includes a plurality of capacitor branches connected in parallel , And each capacitor branch includes a capacitor and a switch connected in series.
上述实现方式中,通过多个并联的电容支路构成可变电容阵列,提高了方案的灵活度和可选择性。In the foregoing implementation manner, a variable capacitor array is formed by a plurality of parallel capacitor branches, which improves the flexibility and selectivity of the solution.
结合本申请实施例的第一方面的第三种实现方式,本申请实施例的第一方面的第四种实现方式中,可变电容阵列用于:根据第三控制信号控制至少一个电容支路中的开关进行切换。In combination with the third implementation manner of the first aspect of the embodiments of the present application, in the fourth implementation manner of the first aspect of the embodiments of the present application, the variable capacitor array is used to: control at least one capacitor branch according to a third control signal Switch in the switch.
上述实现方式中,可变电容阵列在接收到校正控制电路发送的第三控制信号后,可根据第三控制信号控制至少一个电容支路中的开关进行切换,进而调整自身电容值的大小,使得调整后的电容值能够与RDCA中待测位电容的失配量相匹配,以准确检测待测位电容的电容失配量。In the foregoing implementation manner, after receiving the third control signal sent by the correction control circuit, the variable capacitor array can control the switch in at least one capacitor branch to switch according to the third control signal, thereby adjusting its own capacitance value so that The adjusted capacitance value can match the mismatch amount of the capacitance to be measured in the RDCA to accurately detect the capacitance mismatch amount of the capacitance to be measured.
结合本申请实施例的第一方面、本申请实施例的第一方面的第一种至第四种实现方式中的任意一种,在本申请实施例的第一方面的第五种实现方式中,SAR控制电路用于:根据第一控制信号控制CDAC中电容阵列进行开关切换,以输出第一电压。In combination with the first aspect of the embodiments of the present application and any one of the first to fourth implementation manners of the first aspect of the embodiments of the present application, in the fifth implementation manner of the first aspect of the embodiments of the present application The SAR control circuit is used to control the capacitor array in the CDAC to switch on and off according to the first control signal to output the first voltage.
上述实现方式中,SRA控制电路在接收到校正控制电路发送的第一控制信号后,可基于第一控制信号对CDAC中电容阵列进行开关切换,以使得CDAC输出第一电压,提高了方案的灵活度和可选择性。In the foregoing implementation manner, after receiving the first control signal sent by the correction control circuit, the SRA control circuit can switch the capacitor array in the CDAC based on the first control signal, so that the CDAC outputs the first voltage, which improves the flexibility of the solution. Degree and selectivity.
结合本申请实施例的第一方面的第五种实现方式,本申请实施例的第一方面的第六种实现方式中,SAR控制电路用于:控制CDAC中的电容阵列的待测位电容的开关,以及电容阵列中位数低于待测位电容的低位电容的开关进行切换,以输出第一电压,第一电压与待测位电容的失配量相关联。In combination with the fifth implementation manner of the first aspect of the embodiments of the present application, in the sixth implementation manner of the first aspect of the embodiments of the present application, the SAR control circuit is used to: control the capacitance of the capacitance to be measured of the capacitance array in the CDAC The switch and the switch of the low capacitance whose median of the capacitance array is lower than the capacitance to be measured are switched to output the first voltage, and the first voltage is related to the mismatch of the capacitance to be measured.
上述实现方式中,SRA控制电路在接收到校正控制电路发送的第一控制信号后,可基于第一控制信号对CDAC中的电容阵列的待测位电容的开关,以及电容阵列中位数低于待测位电容的低位电容的开关进行切换,以使得CDAC输出第一电压,提高了方案的灵活度和可 选择性。In the foregoing implementation manner, after receiving the first control signal sent by the correction control circuit, the SRA control circuit can switch the capacitance to be measured of the capacitance array in the CDAC based on the first control signal, and the median of the capacitance array is lower than The switch of the low capacitance of the capacitance to be measured is switched, so that the CDAC outputs the first voltage, which improves the flexibility and selectivity of the solution.
本申请实施例第二方面提供了一种失配电压检测的方法,该方法应用于逐次逼近模数转换器,所述逐次逼近模数转换器包括:CDAC、比较器、SAR控制电路、RDAC、可变电容阵列和校正控制电路,其中,变电容阵列的电容值可调,该方法包括:The second aspect of the embodiments of the present application provides a method for detecting mismatch voltage, which is applied to a successive approximation analog-to-digital converter, and the successive approximation analog-to-digital converter includes: CDAC, comparator, SAR control circuit, RDAC, The variable capacitance array and the correction control circuit, wherein the capacitance value of the variable capacitance array is adjustable, the method includes:
通过校正控制电路生成第一控制信号;Generating the first control signal through the correction control circuit;
通过SAR控制电路根据第一控制信号控制CDAC输出第一电压;The SAR control circuit controls the CDAC to output the first voltage according to the first control signal;
通过比较器根据第一电压和第二电压生成比较结果;Generating a comparison result according to the first voltage and the second voltage through a comparator;
通过校正控制电路根据比较结果生成第二控制信号;Generating the second control signal according to the comparison result through the correction control circuit;
通过RDAC根据第二控制信号输出模拟电压并对可变电容阵列进行充电,以产生第二电压。The RDAC outputs the analog voltage according to the second control signal and charges the variable capacitor array to generate the second voltage.
上述失配电压检测的方法中,由于用于提供第二电压的可变电容阵列的电容值可调,故提供了一个可变的电压量程。当可变电容阵列的电容值较小时,可提供一个较小的电压量程,由于电压量程较小,其精度则较高,故基于该电压量程能够提供精度足够的检测电压,以准确测量RDAC中低位电容的电容失配量。In the above method for detecting mismatch voltage, since the capacitance value of the variable capacitor array for providing the second voltage is adjustable, a variable voltage range is provided. When the capacitance value of the variable capacitor array is small, it can provide a smaller voltage range. Because the voltage range is smaller, its accuracy is higher. Therefore, based on the voltage range, a detection voltage with sufficient accuracy can be provided to accurately measure the RDAC. The amount of capacitance mismatch of the low capacitance.
结合本申请实施例的第二方面,在本申请实施例的第二方面的第一种实现方式中,该方法还包括:通过校正控制电路生成第三控制信号,以控制可变电容阵列进行电容值调整。With reference to the second aspect of the embodiments of the present application, in the first implementation of the second aspect of the embodiments of the present application, the method further includes: generating a third control signal through the calibration control circuit to control the variable capacitor array to perform capacitance. Value adjustment.
上述实现方式中,通过校正控制电路生成第三控制信号,以实现对可变电容阵列的电容值的调整,提高了方案的灵活度和可选择性。In the foregoing implementation manner, the third control signal is generated by the correction control circuit to realize the adjustment of the capacitance value of the variable capacitor array, which improves the flexibility and selectivity of the solution.
结合本申请实施例的第二方面的第一种实现方式,本申请实施例的第二方面的第二种实现方式中,校正控制电路包括:状态机,通过校正控制电路生成第三控制信号,以控制可变电容阵列进行电容值调整包括:With reference to the first implementation manner of the second aspect of the embodiments of the present application, in the second implementation manner of the second aspect of the embodiments of the present application, the correction control circuit includes: a state machine, which generates a third control signal through the correction control circuit, Adjusting the capacitance value by controlling the variable capacitance array includes:
通过状态机输出第三控制信号,以控制可变电容阵列调整电容值,使得调整后的电容值与待测位电容的失配量相匹配。The third control signal is output through the state machine to control the variable capacitor array to adjust the capacitance value so that the adjusted capacitance value matches the mismatch amount of the capacitance to be measured.
上述实现方式中,通过校正控制电路中的状态机生成第三控制信号,以实现对可变电容阵列的电容值的调整,使得调整后的可变电容阵列的电容值与待测位电容的失配量相匹配,提高了方案的灵活度和可选择性。In the foregoing implementation manner, the third control signal is generated by the state machine in the correction control circuit to realize the adjustment of the capacitance value of the variable capacitance array, so that the capacitance value of the adjusted variable capacitance array is different from the capacitance to be measured. Matching the dosage increases the flexibility and selectivity of the scheme.
结合本申请实施例的第二方面的第一种实现方式或第二种实现方式,本申请实施例的第二方面的第三种实现方式中,可变电容阵列包括多个并联的电容支路,且每个电容支路包括串联的电容及开关,控制可变电容阵列调整电容值包括:In combination with the first implementation or the second implementation of the second aspect of the embodiments of the present application, in the third implementation of the second aspect of the embodiments of the present application, the variable capacitor array includes a plurality of capacitor branches connected in parallel , And each capacitor branch includes a capacitor and a switch connected in series, and controlling the variable capacitor array to adjust the capacitor value includes:
通过可变电容阵列根据第三控制信号控制至少一个电容支路中的开关进行切换。The variable capacitor array controls the switch in at least one capacitor branch to switch according to the third control signal.
上述实现方式中,可变电容阵列在接收到校正控制电路发送的第三控制信号后,可根据第三控制信号控制至少一个电容支路中的开关进行切换,进而调整自身电容值的大小,使得调整后的电容值能够与RDCA中待测位电容的失配量相匹配,以准确检测待测位电容的电容失配量。In the foregoing implementation manner, after receiving the third control signal sent by the correction control circuit, the variable capacitor array can control the switch in at least one capacitor branch to switch according to the third control signal, thereby adjusting its own capacitance value so that The adjusted capacitance value can match the mismatch amount of the capacitance to be measured in the RDCA to accurately detect the capacitance mismatch amount of the capacitance to be measured.
结合本申请实施例的第二方面、本申请实施例的第二方面的第一种至第三种实现方式中的任意一种,在本申请实施例的第一方面的第四种实现方式中,通过SAR控制电路根据第一控制信号控制CDAC输出第一电压包括:In combination with the second aspect of the embodiments of the present application and any one of the first to third implementation manners of the second aspect of the embodiments of the present application, in the fourth implementation manner of the first aspect of the embodiments of the present application , Controlling the CDAC to output the first voltage according to the first control signal by the SAR control circuit includes:
通过SAR控制电路根据第一控制信号控制CDAC中电容阵列进行开关切换,以输出第一电压。The SAR control circuit controls the capacitor array in the CDAC to switch on and off according to the first control signal to output the first voltage.
上述实现方式中,SRA控制电路在接收到校正控制电路发送的第一控制信号后,可基于第一控制信号对CDAC中电容阵列进行开关切换,以使得CDAC输出第一电压,提高了方案的灵活度和可选择性。In the foregoing implementation manner, after receiving the first control signal sent by the correction control circuit, the SRA control circuit can switch the capacitor array in the CDAC based on the first control signal, so that the CDAC outputs the first voltage, which improves the flexibility of the solution. Degree and selectivity.
结合本申请实施例的第二方面的第四种实现方式,本申请实施例的第二方面的第五种实现方式中,通过SAR控制电路根据第一控制信号控制CDAC中电容阵列进行开关切换,以输出第一电压包括:In combination with the fourth implementation manner of the second aspect of the embodiments of the present application, in the fifth implementation manner of the second aspect of the embodiments of the present application, the SAR control circuit controls the capacitor array in the CDAC to switch on and off according to the first control signal. To output the first voltage includes:
通过SAR控制电路控制CDAC中的电容阵列的待测位电容的开关,以及电容阵列中位数低于待测位电容的低位电容的开关进行切换,以输出第一电压,第一电压与待测位电容的失配量相关联。The SAR control circuit controls the switch of the capacitance to be measured of the capacitance array in the CDAC and the switch of the low capacitance of the capacitance array whose median is lower than the capacitance to be measured to output the first voltage, the first voltage and the capacitance to be measured The amount of mismatch of the bit capacitance is correlated.
上述实现方式中,SRA控制电路在接收到校正控制电路发送的第一控制信号后,可基于第一控制信号对CDAC中的电容阵列的待测位电容的开关,以及电容阵列中位数低于待测位电容的低位电容的开关进行切换,以使得CDAC输出第一电压,提高了方案的灵活度和可选择性。In the foregoing implementation manner, after receiving the first control signal sent by the correction control circuit, the SRA control circuit can switch the capacitance to be measured of the capacitance array in the CDAC based on the first control signal, and the median of the capacitance array is lower than The switch of the low capacitance of the capacitance to be measured is switched, so that the CDAC outputs the first voltage, which improves the flexibility and selectivity of the solution.
本申请实施例的第三方面还提供了一种通信芯片,包括天线、射频前端、数字处理电路和如第一方面、或第一方面的第一种实现方式至第六种实现方式中的任意一种所述的逐次逼近模数转换器;The third aspect of the embodiments of the present application also provides a communication chip, including an antenna, a radio frequency front-end, a digital processing circuit, and any one of the first aspect or the first implementation to the sixth implementation of the first aspect A said successive approximation analog-to-digital converter;
天线,用于接收模拟信号;Antenna, used to receive analog signals;
射频前端,用于对模拟信号进行降频处理,得到降频后的模拟信号;RF front-end, used for down-frequency processing of analog signals to obtain the down-frequency analog signals;
逐次逼近模数转换器,用于对降频后的模拟信号进行模数转换,得到数字信号;The successive approximation analog-to-digital converter is used to perform analog-to-digital conversion on the down-frequency analog signal to obtain a digital signal;
数字处理电路,用于对数字信号进行编解码处理。Digital processing circuit, used to encode and decode digital signals.
本申请实施例提供了一种SAR ADC及失配电压检测的方法,该SAR ADC包括:CDAC、比较器、SAR控制电路、RDAC、可变电容阵列和校正控制电路。当进行电容失配检测时,SAR控制电路用于根据第一控制信号控制CDAC输出第一电压,该第一电压与CDAC的电容失配量相关联。可变电容阵列用于提供第二电压,该第二电压用于检测第一电压的大小。比较器用于根据第一电压和第二电压生成比较结果。校正控制电路用于生成第一控制信号,并根据比较结果生成第二控制信号。RDAC用于根据第二控制信号输出模拟电压并对可变电容阵列进行充电,以产生第二电压。在前述电容失配检测过程中,由于可变电容阵列的电容大小可调,进而提供了一个可变的电压量程。当可变电容阵列的电容较小时,可提供一个较小的电压量程,由于电压量程较小,其精度则较高,故基于该电压量程能够提供精度足够的第二(检测)电压,以准确测量CDAC中低位电容的失配量。The embodiment of the present application provides a SAR ADC and a method for detecting mismatch voltage. The SAR ADC includes: a CDAC, a comparator, a SAR control circuit, an RDAC, a variable capacitor array, and a correction control circuit. When performing capacitance mismatch detection, the SAR control circuit is used to control the CDAC to output a first voltage according to the first control signal, and the first voltage is related to the capacitance mismatch amount of the CDAC. The variable capacitor array is used to provide a second voltage, and the second voltage is used to detect the magnitude of the first voltage. The comparator is used to generate a comparison result according to the first voltage and the second voltage. The correction control circuit is used to generate a first control signal and generate a second control signal according to the comparison result. The RDAC is used to output an analog voltage and charge the variable capacitor array according to the second control signal to generate the second voltage. In the foregoing capacitance mismatch detection process, since the capacitance of the variable capacitance array is adjustable, a variable voltage range is provided. When the capacitance of the variable capacitor array is small, it can provide a smaller voltage range. Because the voltage range is smaller, its accuracy is higher. Therefore, based on the voltage range, it can provide a second (detection) voltage with sufficient accuracy to be accurate Measure the amount of mismatch of the low capacitance in the CDAC.
附图说明Description of the drawings
图1为本申请实施例提供的SAR ADC的一个结构示意图;FIG. 1 is a schematic structural diagram of a SAR ADC provided by an embodiment of the application;
图2为CDAC的一个结构示意图;Figure 2 is a schematic diagram of the structure of CDAC;
图3为CDAC的电容开关状态的一个示意图;Figure 3 is a schematic diagram of the capacitance switch state of the CDAC;
图4为CDAC的电容开关状态的另一个示意图;Figure 4 is another schematic diagram of the capacitor switch state of the CDAC;
图5为CDAC的电容开关状态的另一个示意图;Figure 5 is another schematic diagram of the capacitance switch state of the CDAC;
图6为CDAC的电容开关状态的另一个示意图;Fig. 6 is another schematic diagram of the capacitance switch state of the CDAC;
图7为可变电容阵列的一个结构示意图。Fig. 7 is a schematic diagram of the structure of the variable capacitor array.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行详细描述。The technical solutions in the embodiments of the present application will be described in detail below in conjunction with the drawings in the embodiments of the present application.
图1为本申请实施例提供的SAR ADC的一个结构示意图,请参阅图1,该SAR ADC包括用于进行模数转换的主回路和用于进行电容失配校正的校正回路。Fig. 1 is a schematic structural diagram of a SAR ADC provided by an embodiment of the application. Please refer to Fig. 1. The SAR ADC includes a main circuit for analog-to-digital conversion and a correction circuit for capacitance mismatch correction.
主回路包括CDAC、比较器和SAR控制电路,其中,CDAC的输出端与比较器的输入端耦合,比较器的输出端与SAR控制电路的输入端耦合,SAR控制电路的输出端与CDAC的电容开关耦合。当SAR ADC处于模数转换模式时,CDAC先对输入的模拟信号进行采样和量化,比较器再根据采样和量化的结果进行比较,SAR控制电路最后根据比较结果输出数字信号,进而完成模拟信号与数字信号之间的转换。The main loop includes CDAC, comparator and SAR control circuit. Among them, the output terminal of CDAC is coupled with the input terminal of the comparator, the output terminal of the comparator is coupled with the input terminal of the SAR control circuit, and the output terminal of the SAR control circuit is coupled with the capacitance of the CDAC Switch coupling. When the SAR ADC is in the analog-to-digital conversion mode, the CDAC first samples and quantizes the input analog signal, and then the comparator compares according to the sampling and quantization results. The SAR control circuit finally outputs the digital signal according to the comparison result, and then completes the analog signal and Conversion between digital signals.
CDAC可由二进制加权电容阵列构成,为了便于理解,以下结合图2对CDAC的结构进行具体介绍,图2为CDAC的一个结构示意图,如图2所示,CDAC由总电容值为2 N的多位电容构成,最高位电容的电容值为2 N-1C,次高位电容的电容值为2 N-2C,以此类推,最低位电容的电容值为1C。然而,在实际应用中,每一位电容的实际电容值与理想电容值会存在偏差,例如,最低位电容的理想电容值为1C,实际电容值可能为0.8C,即存在电容失配量,因此,对CDAC的电容失配进行校正尤为重要,其中,最关键的环节即电容失配量的测量,具体地,可通过校正回路测量每一位电容的电容失配量。 The CDAC can be composed of a binary weighted capacitor array. For ease of understanding, the structure of the CDAC will be described in detail below in conjunction with Figure 2. Figure 2 is a schematic diagram of the structure of the CDAC. As shown in Figure 2, the CDAC is composed of multiple bits with a total capacitance of 2 N. Capacitor composition, the capacitance value of the highest capacitance is 2 N-1 C, the capacitance value of the second highest capacitance is 2 N-2 C, and so on, the capacitance value of the lowest capacitance is 1C. However, in practical applications, the actual capacitance value of each capacitor will deviate from the ideal capacitance value. For example, the ideal capacitance value of the lowest capacitance is 1C, and the actual capacitance value may be 0.8C, that is, there is a capacitance mismatch. Therefore, it is particularly important to correct the capacitance mismatch of the CDAC. Among them, the most critical link is the measurement of the capacitance mismatch. Specifically, the capacitance mismatch of each capacitor can be measured through the correction loop.
校正回路包括RDAC、可变电容阵列和校正控制电路。其中,RDAC的输出端通过可变电容阵列与比较器的输入端耦合,比较器的输出端与校正控制电路的输入端耦合,校正控制电路的输出端与RDAC的输入端耦合,校正控制电路的输出端与可变电容阵列耦合,校正控制电路的输出端与SAR控制电路的输入端耦合。当SAR ADC处于电容失配校正模式时,可先通过校正回路进行电容失配检测。The correction loop includes RDAC, variable capacitor array and correction control circuit. Among them, the output terminal of the RDAC is coupled with the input terminal of the comparator through the variable capacitance array, the output terminal of the comparator is coupled with the input terminal of the correction control circuit, and the output terminal of the correction control circuit is coupled with the input terminal of the RDAC. The output terminal is coupled with the variable capacitor array, and the output terminal of the correction control circuit is coupled with the input terminal of the SAR control circuit. When the SAR ADC is in the capacitance mismatch correction mode, the capacitance mismatch detection can be performed through the correction loop first.
校正回路在电容失配检测时,校正控制电路先生成第一控制信号,并将第一控制信号发送至SAR控制电路,使得SAR控制电路根据第一控制信号控制CDAC输出第一电压(即失配电压),该第一电压与CDAC的电容失配量相关联。在一种可能实现的方式中,SAR控制电路根据第一控制信号控制CDAC中电容阵列进行开关切换,以使得CDAC的输出为第一电压。更进一步地,SAR控制电路控制CDAC中的电容阵列的待测位电容的开关,以及电容阵列中位数低于待测位电容的所有低位电容的开关进行切换,以输出所述第一电压,第一电压与待测位电容的失配量相关联,即该第一电压可反映待测位电容的电容失配量的大小。When the correction loop detects capacitance mismatch, the correction control circuit first generates a first control signal, and sends the first control signal to the SAR control circuit, so that the SAR control circuit controls the CDAC to output the first voltage according to the first control signal (that is, the mismatch Voltage), the first voltage is associated with the capacitance mismatch of the CDAC. In a possible implementation manner, the SAR control circuit controls the capacitor array in the CDAC to switch according to the first control signal, so that the output of the CDAC is the first voltage. Furthermore, the SAR control circuit controls the switches of the capacitance to be measured of the capacitance array in the CDAC and switches of all low capacitances whose median of the capacitance array is lower than the capacitance to be measured to output the first voltage, The first voltage is associated with the mismatch of the capacitance to be measured, that is, the first voltage can reflect the magnitude of the capacitance mismatch of the capacitance to be measured.
具体的,校正控制电路所成的第一控制信号用于指示CDAC中的待测位电容,SAR控制电路接收到第一控制信号后,可确定CDAC中哪一位电容为待测位电容,并基于第一控制信号生成第四控制信号发送至CDAC,第四控制信号用于控制待测位电容的开关以及位数低于待测位电容的所有低位电容的开关进行切换。因此,CDAC接收到第四控制信号后,可根据第四控制信号对待测位电容的开关以及位数低于待测位电容的所有电容的开关进行切换, 以使得CDAC输出与待测位电容对应的第一电压,该第一电压即可反映待测位电容的电容失配量。Specifically, the first control signal generated by the calibration control circuit is used to indicate the capacitance to be measured in the CDAC. After receiving the first control signal, the SAR control circuit can determine which capacitance in the CDAC is the capacitance to be measured, and A fourth control signal is generated based on the first control signal and sent to the CDAC. The fourth control signal is used to control the switch of the capacitance to be measured and the switches of all low capacitances whose number of bits are lower than the capacitance to be measured. Therefore, after the CDAC receives the fourth control signal, it can switch the switch of the capacitor to be measured and the switches of all the capacitors whose digits are lower than the capacitance to be measured according to the fourth control signal, so that the CDAC output corresponds to the capacitance to be measured The first voltage can reflect the capacitance mismatch of the capacitance to be measured.
为了便于理解,以下结合图3、图4、图5和图6对上述CDAC中电容开关切换过程作进一步的介绍。图3为CDAC的电容开关状态的一个示意图,如图3所示,设待测位电容为最高位电容。此时,CDAC的电容为正常上电状态,所有电容的第一开关(以下简称公共端)接共模电压V CM,CDAC的最高位电容C MSB(电容值为2 N-1C)的第二开关(以下简称自由端)接地,其余位电容C MSB’(位数低于最高位电容的所有其余位电容的等效电容)的第二开关(以下简称自由端)接参考电压V DD,为了测量最高位电容C MSB的电容失配量,可改变开关的状态,图4为CDAC的电容开关状态的另一个示意图,如图4所示,此时,CDAC基于第四控制信号,对电容的开关进行了切换。具体的,所有电容的公共端不接共模电压V CM,CDAC的最高位电容C MSB的自由端接参考电压V DD,其余位电容C MSB’的自由端接地,故公共端处则产生了一个第一电压V RES,该第一电压V RES的大小即可反映最高位电容的电容失配量。 For ease of understanding, the following describes the capacitance switch switching process in the above CDAC with reference to FIG. 3, FIG. 4, FIG. 5, and FIG. 6. Figure 3 is a schematic diagram of the capacitance switch state of the CDAC. As shown in Figure 3, the capacitance to be measured is the highest capacitance. At this time, the capacitance of the CDAC is in the normal power-on state, the first switch of all the capacitors (hereinafter referred to as the common terminal) is connected to the common mode voltage V CM , and the highest capacitance C MSB of the CDAC (capacitance value 2 N-1 C) is the first switch The second switch (hereinafter referred to as the free end) is grounded, and the second switch (hereinafter referred to as the free end) of the remaining bit capacitance C MSB' (the equivalent capacitance of all the remaining bit capacitances whose digits are lower than the highest bit capacitance) is connected to the reference voltage V DD , In order to measure the capacitance mismatch of the highest capacitance C MSB , the state of the switch can be changed. Figure 4 is another schematic diagram of the capacitance switch state of the CDAC, as shown in Figure 4. At this time, the CDAC controls the capacitance based on the fourth control signal. The switch is switched. Specifically, the common end of all capacitors is not connected to the common mode voltage V CM , the free end of the highest capacitance C MSB of CDAC is connected to the reference voltage V DD , and the free end of the remaining capacitance C MSB' is grounded, so the common end is generated A first voltage V RES , and the magnitude of the first voltage V RES can reflect the capacitance mismatch of the highest capacitance.
同理,图5为CDAC的电容开关状态的另一个示意图,如图5所示,设待测位电容为次高位电容。此时,CDAC的电容为正常上电状态,所有电容的公共端接共模电压V CM,CDAC的最高位电容C MSB(电容值为2 N-1C)和次高位电容C MSB-1(电容值为2 N-2C)的自由端接地,其余位电容C MSB-1’(位数低于次高位电容的所有其余位电容的等效电容)的自由端接参考电压V DD,为了测量次高位电容C MSB-1的电容失配量,可改变开关的状态,图6为CDAC的电容开关状态的另一个示意图,如图6所示,此时,CDAC基于第四控制信号,对电容的开关进行了切换。具体的,所有电容的公共端不接共模电压V CM,CDAC的最高位电容C MSB的自由端保持不变,次高位电容C MSB-1(电容值为2 N-2C)的自由端接参考电压V DD,其余位电容C MSB-1’的自由端接地,故公共端处则产生了一个第一电压V RES-1,该第一电压V RES-1的大小即可反映次高位电容的失配电容量。同理,若需测量其余位电容的电容失配量,也可进行如前述的操作,此处不再赘述。 In the same way, Fig. 5 is another schematic diagram of the capacitance switch state of the CDAC. As shown in Fig. 5, the capacitance to be measured is assumed to be the next highest capacitance. At this time, the capacitor of CDAC is in the normal power-on state, the common terminal of all capacitors is connected to the common mode voltage V CM , the highest capacitance C MSB of CDAC (capacitance value 2 N-1 C) and the second highest capacitance C MSB-1 ( The free end of the capacitance value 2 N-2 C) is grounded, and the free end of the remaining bit capacitance C MSB-1' (the equivalent capacitance of all the remaining bit capacitances with a number lower than the second highest capacitance) is connected to the reference voltage V DD , in order to Measuring the capacitance mismatch of the next highest capacitance C MSB-1 can change the state of the switch. Figure 6 is another schematic diagram of the capacitance switch state of CDAC, as shown in Figure 6. At this time, CDAC is based on the fourth control signal. The switch of the capacitor is switched. Specifically, the common end of all capacitors is not connected to the common mode voltage V CM , the free end of the highest capacitance C MSB of CDAC remains unchanged, and the free end of the second highest capacitance C MSB-1 (capacitance value 2 N-2 C) Connected to the reference voltage V DD , the free end of the remaining bit capacitance C MSB-1' is grounded, so a first voltage V RES-1 is generated at the common end, and the magnitude of the first voltage V RES-1 can reflect the next highest bit The power loss distribution capacity of the capacitor. In the same way, if it is necessary to measure the capacitance mismatch of the remaining bit capacitors, the above-mentioned operation can also be performed, which will not be repeated here.
当CDAC产生了与待测位电容对应的第一电压后,可调整可变电容阵列的电容值。在一种可能实现的方式中,校正控制电路可生成第三控制信号,并发送至可变电容阵列,以控制可变电容阵列进行电容值调整。更进一步地,校正控制电路包括:状态机,该状态机用于输出第三控制信号,以控制可变电容阵列调整电容值,使得调整后的可变电容阵列的电容值与待测位电容的失配量相匹配。After the CDAC generates the first voltage corresponding to the capacitance to be measured, the capacitance value of the variable capacitance array can be adjusted. In a possible implementation manner, the correction control circuit may generate a third control signal and send it to the variable capacitor array to control the variable capacitor array to adjust the capacitance value. Furthermore, the calibration control circuit includes: a state machine for outputting a third control signal to control the variable capacitor array to adjust the capacitance value so that the capacitance value of the adjusted variable capacitance array is equal to the capacitance value of the capacitance to be measured The amount of mismatch matches.
在实际应用中,如何通过第三控制信号调整可变电容阵列的电容值的方式有多种,其具体方式与可变电容阵列的结构相适应,在一种可能实现的方式中,可变电容阵列包括多个并联的电容支路,且每个电容支路包括串联的电容及开关,为了便于理解,以下结合图7对可变电容阵列的结构进行具体介绍,图7为可变电容阵列的一个结构示意图,如图7所示,可变电容阵列由多个电容并联构成,每个电容的电容值可根据实际需求进行设置,此处不做具体限制。每个电容所在的支路上设置有开关,该开关由校正控制电路所产生的第三控制信号进行控制,当某个开关接于“1”处时,表示其对应的电容为接入状态,当该开关接于“0”处时,表示其对应的电容为退出状态。因此,通过控制电容支路的开关状态,可改变可变电容阵列的总电容值大小,由于一个电容值对应一个固定的电压量程,因此, 可变电容阵列提供了一个可变的电压量程。当可变电容阵列的电容较大时,可提供一个较大的电压量程,基于该电压量程能够提供足够大的检测电压,以准确测量DAC中高位电容的电容失配量。当可变电容阵列的电容较小时,可提供一个较小的电压量程,由于电压量程较小,其精度则较高,故基于该电压量程能够提供精度足够的检测电压,以准确测量DAC中低位电容的电容失配量。In practical applications, there are many ways to adjust the capacitance value of the variable capacitor array through the third control signal. The specific method is adapted to the structure of the variable capacitor array. In one possible way, the variable capacitor The array includes a plurality of capacitor branches connected in parallel, and each capacitor branch includes capacitors and switches connected in series. In order to facilitate understanding, the structure of the variable capacitor array will be described in detail below in conjunction with FIG. 7, which shows the structure of the variable capacitor array. A schematic diagram of the structure, as shown in Figure 7, the variable capacitor array is composed of multiple capacitors in parallel, and the capacitance value of each capacitor can be set according to actual needs, and there is no specific limitation here. A switch is provided on the branch where each capacitor is located. The switch is controlled by the third control signal generated by the correction control circuit. When a switch is connected to "1", it means that the corresponding capacitor is in the connected state. When the switch is connected to "0", it means that the corresponding capacitor is in the exit state. Therefore, by controlling the switching state of the capacitor branch, the total capacitance value of the variable capacitor array can be changed. Since a capacitance value corresponds to a fixed voltage range, the variable capacitor array provides a variable voltage range. When the capacitance of the variable capacitor array is large, a larger voltage range can be provided, based on which a large enough detection voltage can be provided to accurately measure the capacitance mismatch of the high-level capacitance in the DAC. When the capacitance of the variable capacitor array is small, it can provide a smaller voltage range. Because the voltage range is smaller, its accuracy is higher. Therefore, based on this voltage range, it can provide a detection voltage with sufficient accuracy to accurately measure the low-level of the DAC. The amount of capacitance mismatch of the capacitor.
更进一步地,可变电容阵列可根据第三控制信号控制至少一个电容支路中的开关进行切换,以调整自身电容值,使得调整后的电容值与待测位电容的失配量相匹配。具体的,校正控制电路可生成第三控制信号,并发送至可变电容阵列,以使得可变电容阵列根据第三控制信号调整电容大小,其中,第三控制信号包含用于调整可变电容阵列自身电容值的信息。值得注意的是,校正控制电路预先设置有可变电容阵列的电容值与待测位电容的电容失配量之间的对应关系,如,当校正控制电路确定待测位电容为最高位电容时(其对应的电容失配量最大),可通过第三控制信号令可变电容阵列的电容值为最大值,当校正控制电路确定待测位电容为低位电容时(其对应的电容失配量则较小),可通过第三控制信号令可变电容阵列的电容值减小等等。调整完成后的可变电容阵列即可等效为一个电容值固定的电容,校正控制电路可通过RDAC对该可变电容阵列进行充电,若可变电容阵列的电容值较大,RDAC在可变电容阵列上可产生的最大电压也较大,即提供了一个较大的电压量程,若可变电容阵列的电容值较小,RDAC在可变电容阵列上可产生的最大电压则较小,即提供了一个较小电压量程,但其精度较高。因此,当可变电容阵列经过校正控制电路调整后,其相当于提供了一个电压量程,校正控制电路可在该电压量程内选择一定大小的第二电压(检测电压),以检测与待测位电容对应的失配电压大小,进而确定待测位电容的电容失配量。Furthermore, the variable capacitor array can control the switch in at least one capacitor branch to switch according to the third control signal to adjust its own capacitance value so that the adjusted capacitance value matches the mismatch amount of the capacitance to be measured. Specifically, the correction control circuit may generate a third control signal and send it to the variable capacitor array, so that the variable capacitor array adjusts the size of the capacitor according to the third control signal, where the third control signal includes a signal used to adjust the variable capacitor array Information about its own capacitance value. It is worth noting that the correction control circuit is preset with the corresponding relationship between the capacitance value of the variable capacitor array and the capacitance mismatch of the capacitance to be measured. For example, when the correction control circuit determines that the capacitance to be measured is the highest capacitance (The corresponding capacitance mismatch is the largest). The capacitance value of the variable capacitor array can be maximized by the third control signal. When the calibration control circuit determines that the capacitance to be measured is a low-level capacitance (its corresponding capacitance mismatch Then smaller), the capacitance value of the variable capacitor array can be reduced by the third control signal, and so on. The adjusted variable capacitor array can be equivalent to a capacitor with a fixed capacitance value. The correction control circuit can charge the variable capacitor array through RDAC. If the capacitance value of the variable capacitor array is larger, the RDAC is changing. The maximum voltage that can be generated on the capacitor array is also larger, that is, a larger voltage range is provided. If the capacitance value of the variable capacitor array is small, the maximum voltage that the RDAC can generate on the variable capacitor array is smaller, that is, A smaller voltage range is provided, but its accuracy is higher. Therefore, when the variable capacitor array is adjusted by the calibration control circuit, it is equivalent to providing a voltage range, and the calibration control circuit can select a certain size of the second voltage (detection voltage) within the voltage range to detect and to be measured. The magnitude of the mismatch voltage corresponding to the capacitance is used to determine the capacitance mismatch amount of the capacitance to be measured.
当可变电容阵列的电容值完成调整后,校正控制电路可根据比较器输出的比较结果生成第二控制信号,并将第二控制信号发送至RDAC,使得RDAC根据第二控制信号输出模拟电压,基于该模拟电压对可变电容阵列进行充电,以在可变电容阵列上产生第二电压。After the capacitance value of the variable capacitor array is adjusted, the correction control circuit can generate a second control signal according to the comparison result output by the comparator, and send the second control signal to the RDAC, so that the RDAC outputs an analog voltage according to the second control signal. The variable capacitor array is charged based on the analog voltage to generate a second voltage on the variable capacitor array.
具体的,当可变电容阵列刚完成调整时,比较器的输入端连接着CDAC的输出端和可变电容阵列,因此,比较器的输入信号为待测位电容所对应的失配电压和第二电压(此时由于RDAC还未接收到第二控制信号,故还未对可变电容阵列进行充电,即第二电压为零)之间的差值,即图2中的V X=丨V RES丨-丨第二电压丨,比较器接收到输入信号后,可根据输入信号进行比较,即判断输入信号的正负值,然后将比较结果发送至校正控制电路。此时,比较结果指示失配电压和检测电压之间的差值与零存在差距(例如,比较结果为111111……11或000000……00,说明两个电压的差值恒大于零或恒小于零,即可认为与零存在一定的差距),校正控制电路则可根据比较结果生成第二控制信号,使得RDAC向可变电容阵列充电,在可变电容阵列上产生具有一定大小的第二电压。若比较器输出的比较结果依旧指示失配电压和检测电压之间的差值与零存在差距,则校正控制电路则可根据比较结果继续生成第二控制信号,用于调整可变电容阵列上的第二电压的大小,直至比较器输出的比较结果指示失配电压和检测电压之间的差值接近于零,(例如,比较结果为101010101010……10,说明两个电压的差值在大于零和小于零之间切换,即可认为差值约 等于零),则校正控制电路可确定第二电压的大小即为第一电压的大小,此时第二电压即反映了待测位电容的电容失配量,即完成了待测位电容的电容失配检测。 Specifically, when the variable capacitor array is just adjusted, the input terminal of the comparator is connected to the output terminal of the CDAC and the variable capacitor array. Therefore, the input signal of the comparator is the mismatch voltage corresponding to the capacitance to be measured and the first The difference between the two voltages (because the RDAC has not yet received the second control signal, the variable capacitor array has not been charged yet, that is, the second voltage is zero), that is, V X =丨V in Figure 2 RES丨-丨Second voltage丨, after the comparator receives the input signal, it can compare according to the input signal, that is, judge the positive and negative value of the input signal, and then send the comparison result to the correction control circuit. At this time, the comparison result indicates that the difference between the mismatch voltage and the detection voltage is different from zero (for example, the comparison result is 111111……11 or 000000……00, indicating that the difference between the two voltages is always greater than zero or less than Zero, it can be considered that there is a certain gap with zero), the correction control circuit can generate a second control signal according to the comparison result, so that the RDAC charges the variable capacitor array, and generates a second voltage with a certain magnitude on the variable capacitor array . If the comparison result output by the comparator still indicates that there is a gap between the difference between the mismatch voltage and the detection voltage and zero, the correction control circuit can continue to generate a second control signal according to the comparison result, which is used to adjust the The magnitude of the second voltage until the comparison result output by the comparator indicates that the difference between the mismatch voltage and the detection voltage is close to zero, (for example, the comparison result is 101010101010……10, indicating that the difference between the two voltages is greater than zero If you switch between and less than zero, you can consider that the difference is approximately equal to zero), the correction control circuit can determine that the second voltage is the first voltage, and the second voltage reflects the capacitance loss of the capacitance to be measured. Distributing, that is, the capacitance mismatch detection of the capacitance to be measured is completed.
值得注意的是,第二控制信号包含用于调整RDAC的码字信息和待测位电容所对应的第一电压的预估信息。具体的,RDAC的码字信息即为RDAC对可变电容阵列进行充电的电压步长,RDAC可根据需求对可变电容阵列的电压(即第二电压)进行调整,如在检测最高位电容所对应的第一电压时,可设置电压步长为0.1V,使得RDAC以0.1V的精度调整可变电容阵列的电压大小,又如在检测最低位电容所对应的第一电压时,设置电压步长为0.01V,使得RDAC以0.01V的精度调整可变电容阵列的电压大小。因此,校正控制电路通过调整第二控制信号中的码字信息,可以控制调整第二电压大小时的精度。此外,校正控制电路还预先设置有CDAC每一位电容所对应的失配电压的预估信息,例如在CDAC中,最高位电容所对应的实际第一电压为0.81V,最低位电容所对应的实际第一电压为0.0088V,则在校正控制电路中设置有相应的预估信息:最高位电容所对应的预估第一电压为0.80V,最低位电容所对应的预估第一电压为0.0090V。因此,校正控制电路通过调整第二控制信号中的失配电压的预估信息,可以调整RDAC在可变电容阵列上所产生的第二电压的大小。It is worth noting that the second control signal includes codeword information for adjusting the RDAC and estimated information of the first voltage corresponding to the capacitance to be measured. Specifically, the code word information of the RDAC is the voltage step size for the RDAC to charge the variable capacitor array, and the RDAC can adjust the voltage (ie, the second voltage) of the variable capacitor array according to requirements, as in the detection of the highest capacitance. When corresponding to the first voltage, the voltage step can be set to 0.1V, so that the RDAC adjusts the voltage of the variable capacitor array with a precision of 0.1V. Another example is to set the voltage step when detecting the first voltage corresponding to the lowest capacitance. The length is 0.01V, so that the RDAC adjusts the voltage of the variable capacitor array with an accuracy of 0.01V. Therefore, the correction control circuit can control the accuracy when adjusting the magnitude of the second voltage by adjusting the code word information in the second control signal. In addition, the correction control circuit is also preset with the estimated information of the mismatch voltage corresponding to each capacitance of the CDAC. For example, in the CDAC, the actual first voltage corresponding to the highest capacitance is 0.81V, and the lowest capacitance corresponds to If the actual first voltage is 0.0088V, the corresponding estimated information is set in the correction control circuit: the estimated first voltage corresponding to the highest capacitance is 0.80V, and the estimated first voltage corresponding to the lowest capacitance is 0.0090 V. Therefore, the correction control circuit can adjust the magnitude of the second voltage generated by the RDAC on the variable capacitor array by adjusting the estimated information of the mismatch voltage in the second control signal.
依旧如上述例子,当校正控制电路在测量最高位电容所对应的第一电压时,可生成第二控制信号,其包含的码字信息为0.01V,以及最高位电容所对应的第一电压的预估信息(0.80V),RDAC接收到第二控制信号后,基于该第二控制信号,以0.01V的精度调整可变电容阵列所产生的第二电压,直至第二电压大小约为0.80V(例如,电压大小在0.79V~0.82V之间浮动),此时,可变电容阵列所产生的第二电压与最高位电容所对应的第一电压几乎等同,比较器接收到由前述两个电压之间的差值所构成的输入信号并进行比较后,可输出比较结果,用于向校正控制电路指示两个电压之间的差值接近于零,即该第二电压可正确测量出最高位电容所对应的第一电压,进而基于该第二电压可确定最高位电容的电容失配量。As in the above example, when the calibration control circuit is measuring the first voltage corresponding to the highest capacitance, it can generate a second control signal, which contains codeword information of 0.01V, and the value of the first voltage corresponding to the highest capacitance. Estimated information (0.80V). After receiving the second control signal, the RDAC adjusts the second voltage generated by the variable capacitor array with a precision of 0.01V based on the second control signal until the second voltage is about 0.80V (For example, the voltage is floating between 0.79V and 0.82V). At this time, the second voltage generated by the variable capacitor array is almost equal to the first voltage corresponding to the highest capacitance, and the comparator receives the two After the input signal is composed of the difference between the voltages and compared, the comparison result can be output, which is used to indicate to the correction control circuit that the difference between the two voltages is close to zero, that is, the second voltage can be correctly measured to the highest Based on the first voltage corresponding to the bit capacitance, the capacitance mismatch amount of the highest bit capacitance can be determined based on the second voltage.
在确定当前的待测位电容的电容失配量后,则可进入下一位电容的电容失配检测,此时,校正控制电路可以控制RDAC进行复位,进而使得可变电容阵列处于未充电状态,然后控制CDAC输出与下一位电容对应的第一电压,再调整可变电容阵列的电容值,并对调整后的可变电容阵列进行充电产生第二电压,通过反馈调节第二电压的大小,以通过比较器的比较结果确定下一位电容的电容失配量,该过程可参考前述相关内容,此处不再具体赘述。当确定CDAC中各位电容的电容失配量后,则可逐步校正各位电容的电容失配量。After determining the capacitance mismatch of the current capacitance to be measured, the capacitance mismatch detection of the next capacitance can be entered. At this time, the correction control circuit can control the RDAC to reset, thereby making the variable capacitance array in an uncharged state , And then control the CDAC to output the first voltage corresponding to the next capacitor, then adjust the capacitance value of the variable capacitor array, and charge the adjusted variable capacitor array to generate a second voltage, and adjust the size of the second voltage through feedback , The capacitance mismatch amount of the next capacitor is determined by the comparison result of the comparator. For this process, please refer to the aforementioned related content, which will not be described in detail here. After determining the capacitance mismatch of each capacitor in the CDAC, the capacitance mismatch of each capacitor can be gradually corrected.
本申请实施例提供的SAR ADC中,由于可变电容阵列的电容大小可调,进而提供了一个可变的电压量程。当可变电容阵列的电容较小时,可提供一个较小的电压量程,由于电压量程较小,其精度则较高,故基于该电压量程能够提供精度足够的检测电压,以准确测量CDAC中低位电容的失配量。In the SAR ADC provided in the embodiment of the present application, since the capacitance of the variable capacitor array is adjustable, a variable voltage range is provided. When the capacitance of the variable capacitor array is small, it can provide a smaller voltage range. Because the voltage range is smaller, its accuracy is higher. Therefore, based on this voltage range, it can provide a detection voltage with sufficient accuracy to accurately measure the low-level of the CDAC. The amount of capacitance mismatch.
以上是对本申请实施例提供的SAR ADC所进行的具体介绍,以下将对本申请实施例提供的失配电压检测的方法进行说明,该方法应用于图1所对应的SAR ADC,该方法包括:The above is a specific introduction to the SAR ADC provided by the embodiment of the present application. The method for detecting the mismatch voltage provided by the embodiment of the present application will be described below. The method is applied to the SAR ADC corresponding to FIG. 1, and the method includes:
S1:通过校正控制电路生成第一控制信号;S1: Generate the first control signal through the correction control circuit;
S2:通过SAR控制电路根据第一控制信号控制CDAC输出第一电压;S2: Control the CDAC to output the first voltage according to the first control signal through the SAR control circuit;
S3:通过比较器根据第一电压和第二电压生成比较结果;S3: Generate a comparison result according to the first voltage and the second voltage through a comparator;
S4:通过校正控制电路根据比较结果生成第二控制信号;S4: Generate a second control signal according to the comparison result through the correction control circuit;
S5:通过RDAC根据第二控制信号输出模拟电压并对可变电容阵列进行充电,以产生第二电压。S5: Output the analog voltage through the RDAC according to the second control signal and charge the variable capacitor array to generate the second voltage.
需要说明的是,步骤S1至步骤S5的具体说明可参考图1所对应实施例中的相关说明部分,此处不再赘述。It should be noted that, for the specific description of steps S1 to S5, reference may be made to the relevant description part in the embodiment corresponding to FIG. 1, which will not be repeated here.
可选的,该方法还包括:通过校正控制电路生成第三控制信号,以控制可变电容阵列进行电容值调整。Optionally, the method further includes: generating a third control signal through the correction control circuit to control the variable capacitor array to adjust the capacitance value.
可选的,校正控制电路包括:状态机,通过校正控制电路生成第三控制信号,以控制可变电容阵列进行电容值调整包括:Optionally, the correction control circuit includes: a state machine, and the third control signal is generated by the correction control circuit to control the variable capacitor array to adjust the capacitance value includes:
通过状态机输出第三控制信号,以控制可变电容阵列调整电容值,使得调整后的电容值与待测位电容的失配量相匹配。The third control signal is output through the state machine to control the variable capacitor array to adjust the capacitance value so that the adjusted capacitance value matches the mismatch amount of the capacitance to be measured.
可选的,可变电容阵列包括多个并联的电容支路,且每个电容支路包括串联的电容及开关,控制可变电容阵列调整电容值包括:Optionally, the variable capacitor array includes a plurality of capacitor branches connected in parallel, and each capacitor branch includes a capacitor and a switch connected in series, and controlling the variable capacitor array to adjust the capacitance value includes:
通过可变电容阵列根据第三控制信号控制至少一个电容支路中的开关进行切换。The variable capacitor array controls the switch in at least one capacitor branch to switch according to the third control signal.
可选的,通过SAR控制电路根据第一控制信号控制CDAC输出第一电压包括:Optionally, controlling the CDAC to output the first voltage according to the first control signal by the SAR control circuit includes:
通过SAR控制电路根据第一控制信号控制CDAC中电容阵列进行开关切换,以输出第一电压。The SAR control circuit controls the capacitor array in the CDAC to switch on and off according to the first control signal to output the first voltage.
可选的,通过SAR控制电路根据第一控制信号控制CDAC中电容阵列进行开关切换,以输出第一电压包括:Optionally, controlling the capacitor array in the CDAC to switch by the SAR control circuit according to the first control signal to output the first voltage includes:
通过SAR控制电路控制CDAC中的电容阵列的待测位电容的开关,以及电容阵列中位数低于待测位电容的低位电容的开关进行切换,以输出第一电压,第一电压与待测位电容的失配量相关联。The SAR control circuit controls the switch of the capacitance to be measured of the capacitance array in the CDAC and the switch of the low capacitance of the capacitance array whose median is lower than the capacitance to be measured to output the first voltage, the first voltage and the capacitance to be measured The amount of mismatch of the bit capacitance is correlated.
需要说明的是,上述各个可选实施例的具体说明可参考图1所对应实施例中的相关说明部分,此处不再赘述。It should be noted that, for the specific description of each of the above-mentioned optional embodiments, reference may be made to the relevant description part in the embodiment corresponding to FIG. 1, which will not be repeated here.
此外,当完成对CDAC各位电容的电容失配检测后,则可对CDAC进行电容失配校正,对CDAC的电容失配校正流程可为:In addition, after the capacitance mismatch detection of the capacitors of each CDAC is completed, the capacitance mismatch correction can be performed on the CDAC. The capacitance mismatch correction process for the CDAC can be:
(1)启动电容失配校正模式;(1) Start the capacitance mismatch correction mode;
(2)从CDAC的最高位电容开始校正,控制CDAC的开关进行切换,使得CDAC输出与最高位电容对应的失配电压;(2) Start correction from the highest capacitance of CDAC, and control the switch of CDAC to switch, so that CDAC outputs the mismatch voltage corresponding to the highest capacitance;
(3)控制可变电容阵列的电容开关进行切换,以控制可变电容阵列的电容大小;(3) Control the capacitance switch of the variable capacitance array to switch to control the capacitance of the variable capacitance array;
(4)调节RDAC的码字信息,使得RDAC对可变电容阵列充电,产生检测电压;(4) Adjust the code word information of the RDAC so that the RDAC charges the variable capacitor array to generate a detection voltage;
(5)读取比较器的比较结果,调整检测电压的大小或进行下一位电容的电容失配量检测;(5) Read the comparison result of the comparator, adjust the size of the detection voltage or detect the capacitance mismatch of the next capacitor;
(6)从高位到低位依次校正CDAC各位电容的电容失配量。(6) Correct the capacitance mismatch of each capacitor of CDAC from high position to low position.
本申请实施例还涉及一种通信芯片,该通信芯片可以为例如光通信系统中的信息收发芯片,以及医学成像系统、工业过程控制系统中的数据采集芯片等等,该通信芯片包括:天线、射频前端、数字处理电路和与图1所对应的SAR ADC。The embodiment of the present application also relates to a communication chip. The communication chip may be, for example, an information transceiver chip in an optical communication system, and a data acquisition chip in a medical imaging system, an industrial process control system, etc. The communication chip includes: an antenna, RF front-end, digital processing circuit and SAR ADC corresponding to Figure 1.
其中,天线,用于接收模拟信号。射频前端,用于对模拟信号进行降频处理,得到降频后的模拟信号。SAR ADC,用于对降频后的模拟信号进行模数转换,得到数字信号。数字处理电路,用于对数字信号进行编解码处理。Among them, the antenna is used to receive analog signals. The radio frequency front end is used to perform frequency reduction processing on the analog signal to obtain the reduced frequency analog signal. SAR ADC is used to perform analog-to-digital conversion on the down-converted analog signal to obtain a digital signal. Digital processing circuit, used to encode and decode digital signals.
上述芯片中,由于SAR ADC包括用于进行模数转换的主回路和用于进行电容失配校正的校正回路,校正回路具有可调的可变电容阵列,因此可以准确测量主回路中CDAC的低位电容的失配量,并实现电容失配校正,能够有效提高通信芯片的性能,以满足实际应用中的更高需求。In the above chip, because the SAR ADC includes a main circuit for analog-to-digital conversion and a correction circuit for capacitance mismatch correction, the correction circuit has an adjustable variable capacitance array, so it can accurately measure the low level of the CDAC in the main circuit. The amount of mismatch of the capacitance and the realization of capacitance mismatch correction can effectively improve the performance of the communication chip to meet higher demands in practical applications.

Claims (14)

  1. 一种逐次逼近模数转换器,其特征在于,包括:A successive approximation analog-to-digital converter, which is characterized in that it comprises:
    电容数模转换器CDAC;Capacitive digital-to-analog converter CDAC;
    逐次逼近SAR控制电路,用于根据第一控制信号控制所述CDAC输出第一电压;The successive approximation SAR control circuit is used to control the CDAC to output the first voltage according to the first control signal;
    可变电容阵列,用于提供第二电压;The variable capacitor array is used to provide the second voltage;
    比较器,用于根据所述第一电压和所述第二电压生成比较结果;A comparator, configured to generate a comparison result according to the first voltage and the second voltage;
    校正控制电路,用于生成所述第一控制信号,并根据所述比较结果生成第二控制信号;A correction control circuit for generating the first control signal, and generating a second control signal according to the comparison result;
    电阻数模转换器RDAC,用于根据所述第二控制信号输出模拟电压并对所述可变电容阵列进行充电,以产生所述第二电压;The resistance digital-to-analog converter RDAC is configured to output an analog voltage according to the second control signal and charge the variable capacitor array to generate the second voltage;
    其中,所述可变电容阵列的电容值可调。Wherein, the capacitance value of the variable capacitor array is adjustable.
  2. 根据权利要求1所述的逐次逼近模数转换器,其特征在于,所述校正控制电路,还用于生成第三控制信号,以控制所述可变电容阵列进行电容值调整。The successive approximation analog-to-digital converter according to claim 1, wherein the correction control circuit is further configured to generate a third control signal to control the variable capacitor array to adjust the capacitance value.
  3. 根据权利要求2所述的逐次逼近模数转换器,其特征在于,所述校正控制电路包括:状态机,所述状态机用于输出所述第三控制信号,以控制所述可变电容阵列调整电容值,使得调整后的电容值与所述待测位电容的失配量相匹配。The successive approximation analog-to-digital converter according to claim 2, wherein the correction control circuit comprises: a state machine, and the state machine is used to output the third control signal to control the variable capacitor array The capacitance value is adjusted so that the adjusted capacitance value matches the mismatch amount of the capacitance to be measured.
  4. 根据权利要求2或3所述的逐次逼近模数转换器,其特征在于,所述可变电容阵列包括多个并联的电容支路,且每个电容支路包括串联的电容及开关。The successive approximation analog-to-digital converter according to claim 2 or 3, wherein the variable capacitor array includes a plurality of capacitor branches connected in parallel, and each capacitor branch includes a capacitor and a switch connected in series.
  5. 根据权利要求4所述的逐次逼近模数转换器,其特征在于,所述可变电容阵列用于:根据所述第三控制信号控制至少一个所述电容支路中的开关进行切换。The successive approximation analog-to-digital converter according to claim 4, wherein the variable capacitor array is used to control at least one switch in the capacitor branch to switch according to the third control signal.
  6. 根据权利要求1至5任意一项所述的逐次逼近模数转换器,其特征在于,所述SAR控制电路用于:根据所述第一控制信号控制所述CDAC中电容阵列进行开关切换,以输出所述第一电压。The successive approximation analog-to-digital converter according to any one of claims 1 to 5, wherein the SAR control circuit is used to control the capacitor array in the CDAC to switch according to the first control signal, so as to The first voltage is output.
  7. 根据权利要求6所述的逐次逼近模数转换器,其特征在于,所述SAR控制电路用于:控制所述CDAC中的电容阵列的待测位电容的开关,以及所述电容阵列中位数低于所述待测位电容的低位电容的开关进行切换,以输出所述第一电压,所述第一电压与所述待测位电容的失配量相关联。The successive approximation analog-to-digital converter according to claim 6, wherein the SAR control circuit is used to: control the switch of the capacitance to be measured of the capacitance array in the CDAC, and the median of the capacitance array A switch of a low capacitance lower than the capacitance to be measured is switched to output the first voltage, and the first voltage is associated with a mismatch amount of the capacitance to be measured.
  8. 一种失配电压检测的方法,其特征在于,应用于逐次逼近模数转换器,所述逐次逼近模数转换器包括:CDAC、比较器、SAR控制电路、RDAC、可变电容阵列和校正控制电路,其中,所述变电容阵列的电容值可调,所述方法包括:A method for detecting mismatch voltage is characterized in that it is applied to a successive approximation analog-to-digital converter, and the successive approximation analog-to-digital converter includes: CDAC, comparator, SAR control circuit, RDAC, variable capacitor array, and correction control A circuit, wherein the capacitance value of the variable capacitance array is adjustable, and the method includes:
    通过所述校正控制电路生成第一控制信号;Generating a first control signal through the correction control circuit;
    通过所述SAR控制电路根据第一控制信号控制所述CDAC输出第一电压;Controlling the CDAC to output the first voltage according to the first control signal through the SAR control circuit;
    通过所述比较器根据所述第一电压和第二电压生成比较结果;Generating a comparison result according to the first voltage and the second voltage by the comparator;
    通过所述校正控制电路根据所述比较结果生成第二控制信号;Generating a second control signal according to the comparison result by the correction control circuit;
    通过所述RDAC根据所述第二控制信号输出模拟电压并对所述可变电容阵列进行充电,以产生所述第二电压。The RDAC outputs an analog voltage according to the second control signal and charges the variable capacitor array to generate the second voltage.
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:通过所述校正控制电路生成第三控制信号,以控制所述可变电容阵列进行电容值调整。8. The method according to claim 8, wherein the method further comprises: generating a third control signal through the correction control circuit to control the variable capacitor array to adjust the capacitance value.
  10. 根据权利要求9所述的方法,其特征在于,所述校正控制电路包括:状态机,所述通过所述校正控制电路生成第三控制信号,以控制所述可变电容阵列进行电容值调整包括:The method according to claim 9, wherein the correction control circuit comprises: a state machine, and the generation of a third control signal by the correction control circuit to control the variable capacitor array to adjust the capacitance value comprises :
    通过所述状态机输出所述第三控制信号,以控制所述可变电容阵列调整电容值,使得调整后的电容值与所述待测位电容的失配量相匹配。The third control signal is output by the state machine to control the variable capacitor array to adjust the capacitance value so that the adjusted capacitance value matches the mismatch amount of the capacitance to be measured.
  11. 根据权利要求9或10所述的方法,其特征在于,所述可变电容阵列包括多个并联的电容支路,且每个电容支路包括串联的电容及开关,所述控制所述可变电容阵列调整电容值包括:The method according to claim 9 or 10, wherein the variable capacitor array includes a plurality of capacitor branches connected in parallel, and each capacitor branch includes a capacitor and a switch connected in series, and the control of the variable capacitor The adjustment capacitance value of the capacitor array includes:
    通过所述可变电容阵列根据所述第三控制信号控制至少一个所述电容支路中的开关进行切换。The variable capacitor array controls at least one switch in the capacitor branch to switch according to the third control signal.
  12. 根据权利要求8至11任意一项所述的方法,其特征在于,所述通过SAR控制电路根据第一控制信号控制所述CDAC输出第一电压包括:The method according to any one of claims 8 to 11, wherein the controlling the CDAC to output the first voltage according to the first control signal by the SAR control circuit comprises:
    通过所述SAR控制电路根据所述第一控制信号控制所述CDAC中电容阵列进行开关切换,以输出所述第一电压。The SAR control circuit controls the capacitor array in the CDAC to switch on and off according to the first control signal to output the first voltage.
  13. 根据权利要求12所述的方法,其特征在于,所述通过所述SAR控制电路根据所述第一控制信号控制所述CDAC中电容阵列进行开关切换,以输出所述第一电压包括:The method according to claim 12, wherein the controlling the capacitor array in the CDAC to switch on and off according to the first control signal by the SAR control circuit to output the first voltage comprises:
    通过所述SAR控制电路控制所述CDAC中的电容阵列的待测位电容的开关,以及所述电容阵列中位数低于所述待测位电容的低位电容的开关进行切换,以输出所述第一电压,所述第一电压与所述待测位电容的失配量相关联。The SAR control circuit controls the switch of the capacitance to be measured of the capacitance array in the CDAC, and the switch of the low capacitance of the capacitance array whose median is lower than the capacitance to be measured is switched to output the The first voltage is associated with the mismatch amount of the capacitance to be measured.
  14. 一种通信芯片,其特征在于,包括天线、射频前端、数字处理电路和如权利要求1至7任意一项所述的逐次逼近模数转换器;A communication chip, characterized by comprising an antenna, a radio frequency front end, a digital processing circuit, and the successive approximation analog-to-digital converter according to any one of claims 1 to 7;
    所述天线,用于接收模拟信号;The antenna is used to receive analog signals;
    所述射频前端,用于对所述模拟信号进行降频处理,得到降频后的模拟信号;The radio frequency front end is used to perform frequency reduction processing on the analog signal to obtain a frequency-reduced analog signal;
    所述逐次逼近模数转换器,用于对所述降频后的模拟信号进行模数转换,得到数字信号;The successive approximation analog-to-digital converter is used to perform analog-to-digital conversion on the frequency-down analog signal to obtain a digital signal;
    所述数字处理电路,用于对所述数字信号进行编解码处理。The digital processing circuit is used for encoding and decoding the digital signal.
PCT/CN2019/126181 2019-12-18 2019-12-18 Successive approximation register analog-to-digital converter and mismatch voltage detection method WO2021120037A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/126181 WO2021120037A1 (en) 2019-12-18 2019-12-18 Successive approximation register analog-to-digital converter and mismatch voltage detection method
CN201980102981.1A CN114788179A (en) 2019-12-18 2019-12-18 Successive approximation analog-to-digital converter and mismatch voltage detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/126181 WO2021120037A1 (en) 2019-12-18 2019-12-18 Successive approximation register analog-to-digital converter and mismatch voltage detection method

Publications (1)

Publication Number Publication Date
WO2021120037A1 true WO2021120037A1 (en) 2021-06-24

Family

ID=76476914

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/126181 WO2021120037A1 (en) 2019-12-18 2019-12-18 Successive approximation register analog-to-digital converter and mismatch voltage detection method

Country Status (2)

Country Link
CN (1) CN114788179A (en)
WO (1) WO2021120037A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06152420A (en) * 1992-11-09 1994-05-31 Nec Corp A/d converter
US20100001891A1 (en) * 2008-07-01 2010-01-07 Kabushiki Kaisha Toshiba A/d converter
CN101800549A (en) * 2009-02-09 2010-08-11 义隆电子股份有限公司 Analog-to-digital converter capable of switching bit resolution and control method thereof
CN103761561A (en) * 2013-12-23 2014-04-30 电子科技大学 Ultrahigh frequency Internet of Things chip compatible with ISO18000-6C standards
CN103873059A (en) * 2014-03-10 2014-06-18 天津大学 Digital calibration method for high-precision SAR ADC (successive approximation register analog to digital converter)
US20160336954A1 (en) * 2015-05-15 2016-11-17 Mediatek Inc. Successive approximation analog-to-digital converter and accuracy improving method thereof
CN110401449A (en) * 2019-09-04 2019-11-01 福州大学 A kind of high-precision SAR ADC structure and calibration method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06152420A (en) * 1992-11-09 1994-05-31 Nec Corp A/d converter
US20100001891A1 (en) * 2008-07-01 2010-01-07 Kabushiki Kaisha Toshiba A/d converter
CN101800549A (en) * 2009-02-09 2010-08-11 义隆电子股份有限公司 Analog-to-digital converter capable of switching bit resolution and control method thereof
CN103761561A (en) * 2013-12-23 2014-04-30 电子科技大学 Ultrahigh frequency Internet of Things chip compatible with ISO18000-6C standards
CN103873059A (en) * 2014-03-10 2014-06-18 天津大学 Digital calibration method for high-precision SAR ADC (successive approximation register analog to digital converter)
US20160336954A1 (en) * 2015-05-15 2016-11-17 Mediatek Inc. Successive approximation analog-to-digital converter and accuracy improving method thereof
CN110401449A (en) * 2019-09-04 2019-11-01 福州大学 A kind of high-precision SAR ADC structure and calibration method

Also Published As

Publication number Publication date
CN114788179A (en) 2022-07-22

Similar Documents

Publication Publication Date Title
US10069506B2 (en) Calibration circuit and calibration method for DAC
US10298250B2 (en) Capacitor order determination in an analog-to-digital converter
US7928880B2 (en) Digital analog converter
TWI509997B (en) Data conversion circuitry and method therefor
US8378863B2 (en) Analog-to-digital converter and correction method thereof
US10243577B1 (en) Analog-to-digital converter (ADC) having calibration
US20130044014A1 (en) Successive approximation analog to digital converter with capacitor mismatch calibration and method thereof
US9362938B2 (en) Error measurement and calibration of analog to digital converters
US20200403632A1 (en) Calibration circuit and calibration method for adc
CN102082572A (en) Calibration method and related calibration apparatus for capacitor array
CN107346975B (en) SAR type ADC's high accuracy calibrating device
KR101191054B1 (en) Analog-to-digital converter with offset voltage calibration method
EP3613147B1 (en) Successive approximation register (sar) analog to digital converter (adc)
US9013345B2 (en) Successive approximation AD converter and successive approximation AD conversion method
US10886937B1 (en) Method to embed ELD DAC in SAR quantizer
US11424757B2 (en) Successive approximation register analog-to-digital converter with calibration function and calibration method thereof
CN110350919B (en) Pipelined analog-to-digital converter
US20150256190A1 (en) Analog-to-digital conversion circuit
CN107306135B (en) Correction circuit and correction method for digital-to-analog converter
US20230198535A1 (en) Calibration method of capacitor array type successive approximation register analog-to-digital converter
CN110535467B (en) Capacitor array calibration method and device of stepwise approximation type analog-to-digital conversion device
US10700694B2 (en) Calibration method and related calibration system
WO2021120037A1 (en) Successive approximation register analog-to-digital converter and mismatch voltage detection method
US11424754B1 (en) Noise-shaping analog-to-digital converter
CN111181564B (en) Calibration device and calibration method for gain error of SAR type ADC

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19956580

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19956580

Country of ref document: EP

Kind code of ref document: A1