Capacitor array mismatch correction method, circuit, device, equipment and medium

By performing mismatch correction and replacement from the highest capacitance to the lowest capacitance in the capacitor array, the problem of the impact of capacitor array mismatch on the ADC is solved, effective correction of the capacitor array is achieved, the cost and R&D cycle are reduced, and the signal quality is improved. .

CN118801880AActive Publication Date: 2024-10-18CHINA MOBILE COMM LTD RES INST +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311685677.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-08
Publication Date
2024-10-18
Estimated Expiration
2043-12-08

AI Technical Summary

Technical Problem

When existing technology deals with capacitor array mismatch, it usually requires additional circuit costs or extended development cycles, and cannot effectively solve the impact of DAC unit capacitance accuracy on ADC nonlinearity, noise floor, and harmonics.

Method used

Calibrate the capacitor array mismatch from the highest capacitance to the lower capacitance of the capacitor array, determine and replace the high-order capacitance, until the parallel value ratio of the capacitor connected to the reference voltage and the remaining ground capacitance reaches the designed ratio, select the appropriate capacitor configuration and record the register settings to realize capacitor replacement and combination configuration.

Benefits of technology

Without adding additional circuits, the capacitor mismatch correction is achieved, which saves circuit costs and shortens the research and development cycle. It improves the voltage division accuracy of the capacitor array and reduces interference signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118801880A_ABST
    Figure CN118801880A_ABST
Patent Text Reader

Abstract

The invention relates to a capacitor array mismatch correction method, circuit, device, equipment and medium in the technical field of communication. The method comprises the following steps: carrying out capacitor array mismatch correction from a highest-order capacitor to a low-order capacitor of a capacitor array; judging whether the proportion of the capacitance value of the high-order capacitor connected with the reference voltage to the parallel value of the other grounding capacitors is greater than a design proportion or not; and if the proportion is greater than the design proportion, suspending the high-order capacitor, replacing the high-order capacitor with the next capacitor of the high-order capacitor connected with the reference voltage until the proportion of the parallel value of the capacitor connected with the reference voltage and the other grounding capacitors is not greater than the design proportion, selecting proper capacitor configuration and recording register setting. According to the method, capacitor replacement and capacitor configuration are carried out on the basis of an existing capacitor array so as to achieve a pre-designed voltage dividing effect, and good capacitor mismatch correction can be achieved without adding an additional circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a capacitor array mismatch correction method, circuit, device, equipment and medium. Background Art

[0002] Analog to Digital Converter (ADC) is a device that converts analog signals into digital signals, such as converting information such as temperature, humidity, pressure, and position into digital signals. Among them, the successive approximation register (SAR) ADC can achieve low power consumption and high sampling rate, and is one of the mainstream solutions for RF transceiver chips. The principle of the successive approximation register (SAR) ADC is that the analog signal is maintained by a capacitor and compared with different reference voltages one by one, so that the required accuracy is finally obtained through binary division, and the digital register records the result of each comparison and finally outputs a digital signal. The overall comparison operation is controlled by the logic unit of the ADC. Among them, the capacitive N-bits digital to analog converter (DAC) is used to realize the generation of different references. Generally, a capacitor array is used to realize the capacitive DAC, and the accuracy of the DAC unit capacitor will affect the nonlinearity, noise floor and harmonics of the ADC.

[0003] In current technology, capacitor mismatch is mainly handled through the following two solutions: one solution is to add an additional column of capacitor arrays or at least a part of capacitors to compensate for the capacitor mismatch. This solution adds additional circuit cost to the chip; the other solution is to determine the degree of capacitor mismatch through testing, and then modify the chip through an engineering change order (ECO) to increase the capacitor in advance. Although this solution does not increase the chip circuit overhead, it increases the chip R&D cycle and R&D cost. Summary of the invention

[0004] In order to solve the above technical problems, the present disclosure provides a capacitor array mismatch correction method, circuit, device, equipment and medium, which can achieve zero-overhead capacitor array mismatch correction.

[0005] The present disclosure provides a capacitor array mismatch correction method, which is applied to a successive approximation ADC, comprising:

[0006] Performing capacitor array mismatch correction from the highest capacitor to the lowest capacitor in the capacitor array;

[0007] Determine whether the ratio of the capacitance value of the high-level capacitor connected to the reference voltage to the parallel value of the remaining grounding capacitors is greater than the design ratio;

[0008] If it is greater than the design ratio, the high-order capacitor is left floating and replaced by connecting the next capacitor of the high-order capacitor to the reference voltage until the ratio of the parallel value of the capacitor connected to the reference voltage and the remaining grounded capacitors is no greater than the design ratio. Select a suitable capacitor configuration and record the register settings.

[0009] Exemplarily, the determining whether the ratio of the capacitance value of the high-order capacitor connected to the reference voltage to the parallel value of the remaining grounded capacitors is greater than a designed ratio includes:

[0010] Input a DC full-swing single-tone signal, keep the high-position capacitor connected to the reference voltage, and gradually reduce the parallel value of the grounding capacitor through the capacitance in the suspended grounding capacitor;

[0011] If the received interference signal situation gradually worsens as the parallel value of the grounding capacitor decreases, it is determined that the ratio of the capacitance value of the high-order capacitor connected to the reference voltage to the parallel value of the remaining grounding capacitors is greater than the designed ratio.

[0012] Exemplarily, the capacitor array mismatch correction from the highest capacitor to the lower capacitor of the capacitor array includes: the highest capacitor mismatch correction and other capacitor mismatch correction, and the highest capacitor mismatch correction includes:

[0013] Determine whether the ratio of the capacitance value of the high-level capacitor connected to the reference voltage to the parallel value of the remaining grounding capacitors is greater than 1:1;

[0014] If it is greater than 1:1, the highest capacitor is left floating and replaced by connecting the second highest capacitor to the reference voltage. If the ratio of the parallel value of the second highest capacitor and the remaining grounded capacitors is greater than 1:1, the second highest capacitor is left floating and replaced by connecting the third capacitor to the reference voltage, until the ratio of the parallel value of the capacitor connected to the reference voltage and the remaining grounded capacitors is no greater than 1:1. Select the appropriate capacitor configuration and record the register settings.

[0015] Exemplarily, when performing the other-position capacitor mismatch correction, the design ratio of the parallel value of the other-position capacitor connected to the reference voltage and the grounded capacitor is a symmetrical ratio. After half of the optimization of the other-position capacitor mismatch correction is performed, the grounding and reference voltage connection of the completed half of the optimized capacitors are reversed to complete the remaining half of the optimization.

[0016] Exemplarily, the method further includes:

[0017] If it is not greater than the design ratio, select the appropriate capacitor configuration and record the register settings.

[0018] Exemplarily, selecting a suitable capacitor configuration and recording register settings includes:

[0019] The capacitor configuration with the minimum interference signal is selected through traversal, trend judgment and other methods, and the capacitor value and corresponding register setting are recorded.

[0020] The present disclosure provides a capacitor array, comprising:

[0021] N+1 capacitors connected in parallel, where N is a natural number greater than or equal to 2;

[0022] The top plate of the capacitor array is connected to the common terminal of the intermediate relay;

[0023] The bottom plate of the capacitor array is connected to a predetermined reference voltage, an input voltage and a ground voltage through a set of switching arrays, and each switching switch in the switch array corresponds to a capacitor in the capacitor array one by one;

[0024] The N capacitors from the high position to the low position are all provided with a suspended position which can be connected by the switching switch.

[0025] The present disclosure provides a capacitor array mismatch correction device, comprising:

[0026] A sequential correction module is configured to perform mismatch correction of the capacitor array from the highest capacitor to the lowest capacitor of the capacitor array;

[0027] A judgment module is configured to judge whether a ratio of a capacitance value of a high-level capacitor connected to a reference voltage to a parallel value of other grounding capacitors is greater than a designed ratio;

[0028] The replacement module is configured to leave the high-order capacitor suspended if it is greater than the design ratio, and replace it with a capacitor next to the high-order capacitor connected to the reference voltage, until the ratio of the parallel value of the capacitor connected to the reference voltage and the remaining grounded capacitors is no greater than the design ratio, select a suitable capacitor configuration and record the register setting.

[0029] The present disclosure provides an electronic device, comprising:

[0030] Processor and memory;

[0031] The processor is used to execute the steps of any of the above methods by calling the program or instruction stored in the memory.

[0032] The present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program or instruction, wherein the program or instruction enables a computer to execute the steps of any one of the above methods.

[0033] Compared with the prior art, the technical solution provided by the present invention has the following advantages:

[0034] The present disclosure provides a capacitor array mismatch correction method, circuit, device, equipment and medium. The capacitor array mismatch correction method includes: performing capacitor array mismatch correction from the highest capacitor of the capacitor array to the low capacitor; judging whether the ratio of the capacitance value of the high capacitor connected to the reference voltage to the parallel value of the remaining grounded capacitors is greater than the design ratio; if it is greater than the design ratio, the high capacitor is suspended and replaced by connecting the next capacitor of the high capacitor to the reference voltage until the ratio of the parallel value of the capacitor connected to the reference voltage to the remaining grounded capacitors is not greater than the design ratio, selecting a suitable capacitor configuration and recording the register setting. The capacitor array mismatch correction method replaces and configures capacitors on the basis of the existing capacitor array to achieve the designed voltage division effect, and can achieve good capacitor mismatch correction without adding additional circuits, saving circuit costs and shortening the research and development cycle. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0037] Figure 1 It is a circuit structure diagram of an N-bits capacitive DAC in the prior art;

[0038] Figure 2 A schematic diagram of a flow chart of a capacitor array mismatch correction method provided in an embodiment of the present disclosure;

[0039] Figure 3 A schematic diagram of a circuit structure of an N-bits capacitive DAC provided in an embodiment of the present disclosure;

[0040] Figure 4 A schematic diagram of a capacitor mismatch correction logic flow provided by an embodiment of the present disclosure;

[0041] Figure 5 A structural block diagram of a capacitor array calibration device provided in an embodiment of the present disclosure;

[0042] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0043] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0044] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0045] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0046] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0047] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0048] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0049] The successive approximation register (SAR) ADC is an analog signal that is maintained by a capacitor and compared with different reference voltages one by one, thereby obtaining the required accuracy through binary division. The digital register records the result of each comparison and finally outputs a digital signal. The overall comparison operation is controlled by the logic unit of the ADC. The capacitive N-bits DAC is used to achieve different reference generation. Generally, a capacitor array is used to implement the capacitive DAC. Figure 1 FIG. 1 is a schematic diagram of a circuit structure of an N-bits capacitive DAC in the prior art. Figure 1 As shown, the comparison process of SAR ADC is:

[0050] 1. Charge all capacitors with analog inputs through switches V in , Common Terimal (the common terminal of the intermediate relay, referred to as CT) is grounded. Further, CT is disconnected from the ground, and all capacitors are grounded. At this time, CT = -V in ;

[0051] 2. The highest bit MSB capacitor is connected to the reference voltage V REF , the rest of the capacitors remain grounded. Since the capacitance of the highest bit MSB capacitor is equal to the parallel capacitance of the other bits, according to the capacitor voltage divider theorem, CT = -V in +0.5*V REF , compare CT and 0, that is, V in and 0.5*V RRF ;

[0052] 3. According to the theory, the next highest capacitor is compared in turn, and the next highest capacitor is connected to the reference voltage V REF , and so on until the smallest bit capacitance LSB, each capacitor is divided according to the capacitance value, CT n =-V in +0.5 n *V REF (n=2 for the next highest position, and so on);

[0053] 4. Through the formula: CT n =-V in +0.5 n *V REF It can be seen that the accuracy of the DAC unit capacitance can significantly affect the ADC's nonlinearity, noise floor, and harmonics.

[0054] Since the deviation of the highest-order capacitance value has the greatest impact on the output digital signal (determines the highest digital bit), the current correction method is to observe the noise floor and harmonics of the signal from the digital output end and adjust the highest-order capacitance value. In current technology, the processing of capacitor mismatch is mainly carried out through the following two schemes: one is to add an additional column of capacitor arrays or at least a part of the capacitors to compensate for the capacitor mismatch. This scheme increases the circuit cost of the chip; the other scheme is to determine the degree of capacitor mismatch through testing, and then modify the chip through ECO to increase the capacitance in advance. Although this scheme does not increase the chip circuit overhead, it increases the chip R&D cycle and R&D cost.

[0055] In order to solve the above technical problems, the embodiments of the present disclosure provide a capacitor array mismatch correction method, circuit, device, equipment and medium, the method comprising: performing capacitor array mismatch correction from the highest capacitor of the capacitor array to the low capacitor; judging whether the ratio of the capacitance value of the high capacitor connected to the reference voltage to the parallel value of the remaining grounded capacitors is greater than the design ratio; if it is greater than the design ratio, the high capacitor is suspended and replaced by connecting the next capacitor of the high capacitor to the reference voltage until the ratio of the capacitance connected to the reference voltage to the parallel value of the remaining grounded capacitors is not greater than the design ratio, selecting a suitable capacitor configuration and recording the register setting. The capacitor array mismatch correction method achieves a pre-designed voltage division effect by replacing capacitors and selecting corresponding capacitor configurations on the basis of the existing capacitor array, without adding additional circuits, and can achieve good capacitor mismatch correction, saving circuit costs and shortening the research and development cycle.

[0056] Combine the following Figure 2-Figure 6 , the capacitor array mismatch correction method, circuit, device, equipment and medium provided in the embodiments of the present disclosure are described.

[0057] The present disclosure provides a capacitor array mismatch correction method, which is applied to a successive approximation ADC. Figure 2 A flow chart of a capacitor array mismatch correction method provided by an embodiment of the present disclosure is shown in FIG. Figure 2 As shown, the method includes:

[0058] S01, performing capacitor array mismatch correction from the highest capacitor of the capacitor array to the lowest capacitor;

[0059] It can be understood that the highest capacitor mismatch in the capacitor array has the greatest impact on the overall performance, and the second highest, third to lowest gradually decreases. Therefore, the capacitor array mismatch correction is performed one by one from the highest capacitor to the lowest capacitor in the capacitor array.

[0060] The mismatch correction of the capacitor array from the highest capacitor to the lower capacitor of the capacitor array includes: mismatch correction of the highest capacitor and mismatch correction of other capacitors.

[0061] S02, determining whether the ratio of the capacitance value of the high-level capacitor connected to the reference voltage to the parallel value of the remaining grounding capacitors is greater than the design ratio;

[0062] Take the highest capacitor mismatch correction as an example: the highest capacitor is connected to the reference voltage V REF , and the rest of the capacitors are grounded. Therefore, the voltage division is the value of the highest capacitor and the other capacitors in parallel. Input a DC full-swing single-tone signal, and perform spectrum analysis at the digital receiving end to see the single-tone signal spectrum and other interference spectra such as harmonics caused by mismatch. Keep the highest capacitor connected to the reference voltage V REF, the parallel value of the grounding capacitor is gradually reduced by the capacitance in the suspended grounding capacitor; if the received interference signal situation gradually worsens with the reduction of the parallel value of the grounding capacitor, it is judged that the ratio of the capacitance value of the highest capacitor connected to the reference voltage to the parallel value of the remaining grounding capacitors is greater than the design ratio of 1:1.

[0063] The remaining capacitors need to meet the design ratio of 1:1 for non-highest bits. The remaining capacitors need to meet the design ratio which can be derived from the following formula:

[0064]

[0065] Where, the numerator is the reference voltage V REF The denominator is the overall capacitance value, m is the number of bits for comparison, where the highest bit is 1 and the second highest bit is 2. S03, if it is greater than the design ratio, the high-order capacitor is left unconnected and replaced by connecting the next capacitor of the high-order capacitor to the reference voltage until the ratio of the parallel value of the capacitor connected to the reference voltage and the remaining grounded capacitors is no greater than the design ratio, select a suitable capacitor configuration and record the register settings.

[0066] Take the highest capacitor mismatch correction as an example: if step S02 determines that the ratio of the capacitance value of the highest capacitor connected to the reference voltage to the parallel value of the other grounded capacitors is greater than 1:1, the highest capacitor is left floating and replaced by connecting the second highest capacitor to the reference voltage V REF If the ratio of the parallel value of the second highest capacitor to the remaining grounded capacitors is greater than 1:1, the second highest capacitor is left floating and replaced by connecting the third capacitor to the reference voltage until the ratio of the parallel value of the capacitor connected to the reference voltage to the remaining grounded capacitors is no greater than 1:1. Then select the appropriate capacitor configuration and record the register settings.

[0067] If step S02 determines that the ratio of the capacitance value of the highest capacitor connected to the reference voltage to the parallel value of the remaining grounded capacitors is not greater than 1:1, a suitable capacitor configuration is selected and the register setting is recorded. Exemplarily, the capacitor configuration with the smallest interference signal is selected by traversal, trend judgment, etc., and the capacitance value and the corresponding register setting are recorded.

[0068] In an embodiment of the present disclosure, a capacitor array mismatch correction method includes: performing capacitor array mismatch correction from the highest capacitor of the capacitor array to the lowest capacitor; judging whether the ratio of the capacitance value of the high-order capacitor connected to the reference voltage to the parallel value of the remaining grounded capacitors is greater than the design ratio; if it is greater than the design ratio, the high-order capacitor is suspended and replaced by connecting the next capacitor of the high-order capacitor to the reference voltage until the ratio of the parallel value of the capacitor connected to the reference voltage to the remaining grounded capacitors is not greater than the design ratio, selecting a suitable capacitor configuration and recording the register setting. The capacitor array mismatch correction method performs capacitor replacement and capacitor combination configuration on the basis of the existing capacitor array to achieve a pre-designed voltage division effect, and can achieve good capacitor mismatch correction without adding additional circuits, saving circuit costs and shortening the research and development cycle.

[0069] The disclosed embodiment also provides a capacitor array, which is applied to a successive approximation ADC, and the capacitor array includes: N+1 capacitors connected in parallel, wherein N is a natural number greater than or equal to 2; the top plate of the capacitor array is connected to the common terminal of the intermediate relay; the bottom plate of the capacitor array is connected to a predetermined reference voltage, an input voltage and a ground voltage through a group of switching switch arrays, and each switching switch in the switch array corresponds one-to-one to a capacitor in the capacitor array; the N capacitors from high to low are all provided with a floating position that can be connected through the switching switch. Figure 3 A schematic diagram of the circuit structure of an N-bits capacitive DAC provided in an embodiment of the present disclosure. In some embodiments, as Figure 3 As shown, Figure 2 Compared with the N-bits capacitive DAC of the prior art shown in FIG. 1 , the N-bits capacitive DAC provided in the embodiment of the present disclosure only adds a capacitor dangling position. By setting the capacitor dangling position, the capacitor mismatch correction method provided in the embodiment of the present disclosure can dangling any capacitor, realize the high-bit replacement of the capacitor and any capacitor combination configuration so that the ratio of the actual capacitor value connected to the reference voltage and the parallel value of the grounded capacitor approaches the design ratio.

[0070] Figure 4 A schematic diagram of a capacitor mismatch correction logic flow provided by an embodiment of the present disclosure, in some embodiments, such as Figure 4 As shown, capacitor mismatch correction and correction scheme can be implemented.

[0071] Since the performance degradation caused by the capacitor mismatch in higher bits is greater, the correction scheme starts from the highest bit.

[0072] S1, highest capacitor mismatch correction

[0073] To correct the mismatch of the highest capacitor, the mismatch of the highest capacitor must first be determined.

[0074] S11, highest capacitor mismatch judgment

[0075] Connect the highest capacitor to the reference voltage V REF , and the remaining capacitors are grounded. Therefore, the voltage division is the parallel value of the highest capacitor and other capacitors. Input a DC full-swing single-tone signal, and perform spectrum analysis at the digital receiving end to see the single-tone signal spectrum and other interference spectra such as harmonics caused by mismatch.

[0076] S111, gradually reduce the parallel capacitance value

[0077] Keep the highest capacitor connected to the reference voltage V REF , the parallel capacitance value of the grounding is gradually reduced by the suspended capacitor, and the capacitance is [1,1,2,…,2 (n-1) ]C, so the range of the parallel capacitance value is [1,2 n ]C, reduce the step size to 1C.

[0078] S112. Determine the mismatch situation

[0079] When the parallel capacitance value is gradually reduced, the spectrum of the digital receiving end is analyzed respectively. If the interference signal situation gradually deteriorates as the parallel capacitance value decreases (the power of harmonics and other signals increases), it means that the highest capacitance value is greater than the sum of the other capacitance values ​​in parallel, and it cannot be optimized by reducing the parallel value of the grounding capacitor, record the current mismatch situation, and turn to the next step S12, the optimization scheme of replacing the high-position capacitance; if the interference signal situation is alleviated as the parallel capacitance value decreases (the power of harmonics and other signals decreases), step S113 is performed, and a suitable capacitance value is selected to obtain the optimal solution. Step S21 is continued, and the mismatch correction of the next capacitance position is corrected.

[0080] S113, select the appropriate capacitance value to obtain the optimal solution

[0081] The optimal capacitance value is selected by traversal, trend judgment and other methods, that is, the capacitance configuration when the interference signal situation is the best (the harmonic and other signal power is the minimum) is selected, and the capacitance configuration and the corresponding register setting information are recorded.

[0082] S12, Optimization scheme for replacing high-position capacitors

[0083] The optimization scheme of replacing the high-order capacitor is used to solve the situation when the highest-order capacitor value is greater than the sum of the remaining capacitors in parallel.

[0084] S121, replace high-position capacitor

[0085] The selected high-level capacitor in step S11 is suspended or grounded, and the second-highest level of the capacitor is connected to the reference voltage V REF , the total value of the grounded shunt capacitor can be changed by grounding or floating the remaining capacitors.

[0086] S122. Determine the mismatch situation

[0087] With reference to step S112, when the parallel capacitance value is gradually reduced, the spectrum of the digital receiving end is analyzed respectively. If the interference signal situation gradually deteriorates as the capacitance value decreases (the power of harmonics and other signals increases), it means that the highest capacitance value is greater than the sum of the other grounding capacitance values ​​in parallel, and it cannot be optimized by reducing the parallel value of the grounding capacitance, record the current mismatch situation, proceed to step S12, and replace the high-order capacitance. If the interference signal situation is alleviated as the capacitance decreases (the power of harmonics and other signals decreases), turn to step S123 and select the appropriate capacitance value to obtain the optimal solution.

[0088] S123, select the appropriate capacitance value to obtain the optimal solution

[0089] Referring to step S113, the optimal capacitance value is selected by traversal, trend judgment and other methods, that is, the capacitance configuration when the interference signal is the best (harmonic signal power is the minimum) is selected, and the capacitance value and the corresponding register setting information are recorded. Then, the next step S21 of capacitance mismatch correction is performed.

[0090] S13. When there is no fully matching optimal solution, select the alternative optimal solution (in S112 and S122).

[0091] If no fully matched optimal solution can be obtained by traversing all of them step by step, then according to the mismatch conditions recorded in step S112 and step S122, the optimal solution is selected, the corresponding register setting information is recorded, and the next capacitor mismatch correction step S21 is performed.

[0092] S21, other capacitor mismatch correction

[0093] The capacitor matching of the remaining bits is similar to that of the highest bit. The difference is that the capacitors of the remaining bits need to meet the design ratio of 1:1, which is not the highest bit. The capacitors of the remaining bits need to meet the design ratio as follows:

[0094]

[0095] The numerator is the reference voltage V FEF The denominator is the overall capacitance value, and m is the number of bits for comparison, where the highest bit is 1 and the second highest bit is 2.

[0096] When m is 1, When m is 2, n∈{1,2}, when n is 1, When n is 2 When m is 3, n∈{1,2,3,4}, when n is 1, When n is 2,

[0097] When n is 3, When n is 4 It can be seen that the ratio is symmetrical, and only half of the correction needs to be completed. The remaining half can be achieved by reversing the capacitor grounding and connecting to the reference voltage. The design ratio of the parallel value of the other capacitors connected to the reference voltage and the grounded capacitor is a symmetrical ratio. After half of the other capacitor mismatch correction is optimized, the half of the optimized capacitors grounding and connecting to the reference voltage are reversed to complete the remaining half of the optimization, which simplifies the correction process and improves the correction efficiency.

[0098] For ease of understanding, the present embodiment analyzes the case where the capacitance value of the part connected to the reference voltage is small. In particular, when the remaining positions are subjected to mismatch correction, after the high-position capacitor replacement scheme has been applied once, since the capacitance values ​​of the parts connected to the reference voltage and ground have the above-mentioned proportion, the adjustment scheme is more flexible and the mismatch adjustment can be performed directly. When the ideal mismatch adjustment cannot be completed, the high-position capacitor replacement scheme is continued.

[0099] In the embodiment of the present disclosure, the capacitor array mismatch correction is performed from the highest capacitor to the low capacitor of the self-capacitor array; it is determined whether the ratio of the capacitance value of the high capacitor connected to the reference voltage to the parallel value of the remaining grounded capacitors is greater than the design ratio; if it is greater than the design ratio, the high capacitor is suspended and replaced by connecting the next capacitor of the high capacitor to the reference voltage, until the ratio of the parallel value of the capacitor connected to the reference voltage to the remaining grounded capacitors is not greater than the design ratio, and a suitable capacitor configuration is selected and the register setting is recorded. The capacitor array mismatch correction method performs capacitor replacement and capacitor configuration on the basis of the existing capacitor array to achieve the designed voltage division effect, and can achieve good capacitor mismatch correction without adding additional circuits, saving circuit costs and shortening the research and development cycle.

[0100] The following takes a 6-bits ADC as an example to illustrate the capacitor array mismatch correction method according to the embodiment of the present disclosure.

[0101] The design values ​​and actual values ​​of the 6-bits ADC capacitor array of one embodiment are shown in Table 1, where the values ​​reflect the corresponding relationship of the capacitor values.

[0102] Table 1

[0103]

[0104] It can be seen from Table 1 that the actual values ​​of the first three capacitors are significantly different from the designed values, which leads to inaccurate voltage division and the introduction of nonlinearity, resulting in spectral harmonics and spurious interference signals.

[0105] Since the mismatch of the first three capacitors has a significant impact on performance, the following is the correction process for the mismatch of the first three capacitors:

[0106] A1. According to the spectrum analysis, the value of the highest capacitor is greater than the value of the remaining capacitors in parallel (36:35 (1+1+2+4+9+18)). The current mismatch is recorded and the process proceeds to step S12, replacing the high-order capacitor.

[0107] A2, apply the optimization solution of replacing the high-order capacitor, suspend the highest-order capacitor, and connect the second-order capacitor to the reference voltage Vref. According to the spectrum analysis, the value of this capacitor is larger than the value of the other capacitors in parallel (18:17 (1+1+2+4+9)).

[0108] A3. Apply the optimization solution of replacing the high-position capacitor again, suspend the second-position capacitor, and connect the third-position capacitor to Vref. According to the spectrum analysis, the value of this capacitor is larger than the value of the other capacitors in parallel (9:8 (1+1+2+4)).

[0109] A4. Apply the optimization solution of replacing the high-position capacitor again, suspend the third-position capacitor, and connect the fourth-position capacitor to Vref. According to the spectrum analysis, the nonlinearity is significantly alleviated (4:4(1+1+2)). The current capacitor configuration and register configuration solution are recorded as shown in Table 2:

[0110] Table 2

[0111]

[0112] A5. Regarding the second judgment, theoretically, the value of the second capacitor should be 1:3 compared to the value of other capacitors in parallel. After spectrum analysis, the ratio of the second capacitor is (18:53 (1+1+2+4+9+36)), which is higher than the ratio value.

[0113] A6. Apply the optimization solution of replacing the high-position capacitor, so that the second-position capacitor is not connected to Vref. After spectrum analysis, the best matching solution (13(9+4):39(36+1+2)) is selected. The current register configuration solution is recorded as shown in Table 3:

[0114] Table 3

[0115]

[0116] A7. Based on the symmetry, the capacitor configuration for the second reverse (3:1) can be directly obtained as shown in Table 4:

[0117] Table 4

[0118]

[0119] At the same time, when judging the highest-order capacitance, the highest-order capacitance value is 36, and the remaining digits are 35; similarly, when judging the second-order and third-order capacitance, the higher the digit deviation, the greater the impact on performance.

[0120] A8. The four situations of the third position are judged. The first ratio is 1:7. After spectrum analysis, the ratio of the third capacitor is (9:62(1+1+2+4+18+36)), which is higher than the ratio 1:7.

[0121] A 9. Apply the optimization solution of replacing the high-position capacitor, so that the third-position capacitor is not connected to Vref. After spectrum analysis, the best matching solution (4(4):28(18+9+1)) is selected. The current register configuration solution is recorded as shown in Table 5:

[0122] Table 5

[0123]

[0124] A10. Similarly, based on symmetry, the capacitor configuration for the third reverse situation (7:1) can be directly obtained as shown in Table 6:

[0125] Table 6

[0126]

[0127]

[0128] A11. According to the four situations of the third position, one ratio is 3:5. After spectrum analysis, the ratio of the third position capacitor cannot get the optimal solution. 27(9+18):44(36+4+2+1+1), which is higher than the ratio value 3:5.

[0129] A12. Apply the optimization solution of replacing the high-position capacitor, so that the third-position capacitor is not connected to Vref. After spectrum analysis, the optimal matching solution (6(4+2):10(9+1)) is selected. The current register configuration solution is recorded as shown in Table 7:

[0130] Table 7

[0131]

[0132] A13. Similarly, based on symmetry, the capacitor configuration for the third reverse situation (5:3) can be directly obtained as shown in Table 8:

[0133] Table 8

[0134]

[0135] After the calibration of the first three capacitors is completed, the mismatch calibration of the entire capacitor array can be terminated because the effect of the fourth capacitor and the lower capacitors on the performance is negligible. Alternatively, the calibration is terminated when the interference caused by the capacitor mismatch is less than the noise floor.

[0136] The design values ​​and actual values ​​of the 6-bits ADC capacitor array of another embodiment are shown in Table 9, where the numerical values ​​reflect the corresponding relationship of the capacitor values.

[0137] Table 9

[0138]

[0139]

[0140] It can be seen that the first two capacitors have large deviations from the design values, which leads to inaccurate voltage division and the introduction of nonlinearity, resulting in spectral harmonics and spurious interference signals.

[0141] The following is the correction process for the first two digits (which have a greater impact on performance):

[0142] B1. According to the spectrum analysis, the value of the highest capacitor is greater than the value of the remaining capacitors in parallel (36:31(1+1+2+4+9+14)).

[0143] B 2. Apply the optimization solution of replacing the high-order capacitor, suspend the highest-order capacitor, and connect the second-order capacitor to Vref. According to the spectrum analysis, the value of this capacitor is smaller than the value of the other capacitors in parallel. According to the spectrum analysis, the nonlinearity is significantly alleviated (14:14 (9+4+1)). The current register configuration solution is recorded as shown in Table 10:

[0144] Table 10

[0145]

[0146] A3. Regarding the second judgment, theoretically, the value of the second capacitor should be 1:3 compared to the value of other capacitors in parallel. After spectrum analysis, the optimal matching solution is selected as shown in Table 11. The ratio of the second capacitor is (14:42(2+4+36)).

[0147] Table 11

[0148]

[0149] A4. Based on the symmetry, the capacitor configuration for the second reverse (3:1) can be directly obtained as shown in Table 12:

[0150] Table 12

[0151]

[0152] Record the capacitor configuration and register configuration to complete the first two-bit correction.

[0153] Figure 5 A structural block diagram of a capacitor array calibration device provided in an embodiment of the present disclosure, such as Figure 5As shown, the device 500 includes:

[0154] A sequential correction module 501 is configured to perform mismatch correction of the capacitor array from the highest capacitor to the lowest capacitor of the capacitor array;

[0155] The judging module 502 is configured to judge whether the ratio of the capacitance value of the high-level capacitor connected to the reference voltage to the parallel value of the other grounding capacitors is greater than the designed ratio;

[0156] The replacement module 503 is configured to suspend the high-order capacitor if it is greater than the design ratio, and replace it with a capacitor next to the high-order capacitor connected to the reference voltage, until the ratio of the parallel value of the capacitor connected to the reference voltage and the remaining grounded capacitors is no greater than the design ratio, select a suitable capacitor configuration and record the register setting.

[0157] Exemplarily, the determination module 502 includes:

[0158] The input module is configured to input a DC full-swing single-tone signal, keep the high-position capacitor connected to the reference voltage, and gradually reduce the parallel value of the grounding capacitor through the capacitance in the suspended grounding capacitor;

[0159] The judgment submodule is configured to judge that the ratio of the capacitance value of the high-order capacitor connected to the reference voltage to the parallel value of the remaining grounding capacitors is greater than the designed ratio if the received interference signal gradually deteriorates as the parallel value of the grounding capacitor decreases.

[0160] Exemplarily, the sequence correction module 501 is configured to include:

[0161] A high-bit correction module, configured for highest-bit capacitance mismatch correction;

[0162] The other bit correction module is configured to correct the capacitance mismatch of other bits.

[0163] The high-order correction module is configured to determine whether the ratio of the capacitance value of the high-order capacitor connected to the reference voltage to the parallel value of the remaining grounded capacitors is greater than 1:1; if it is greater than 1:1, the highest-order capacitor is suspended and replaced by connecting the second-highest-order capacitor to the reference voltage; if the ratio of the parallel value of the second-highest-order capacitor to the remaining grounded capacitors is greater than 1:1, the second-highest-order capacitor is suspended and replaced by connecting the third-order capacitor to the reference voltage, until the ratio of the parallel value of the capacitor connected to the reference voltage to the remaining grounded capacitors is no greater than 1:1, and a suitable capacitor configuration is selected and the register settings are recorded.

[0164] Exemplarily, the other-bit correction module is also configured to, when performing the other-bit capacitor mismatch correction, based on the design ratio of the parallel value of the other-bit capacitor connected to the reference voltage and the grounded capacitor being a symmetrical ratio, after performing half of the optimization of the other-bit capacitor mismatch correction, reverse the grounding and reference voltage connection of the completed half of the optimized capacitors, thereby completing the remaining half of the optimization.

[0165] Exemplarily, the device 500 further includes:

[0166] The selection module is configured to select a suitable capacitor configuration and record the register setting if it is not greater than the design ratio.

[0167] Exemplarily, the replacement module 503 is further configured to select a capacitor configuration with the minimum interference signal through methods such as traversal and trend judgment, and record the capacitor value and the corresponding register setting.

[0168] In the embodiment of the present disclosure, the capacitor array mismatch correction is performed from the highest capacitor to the low capacitor of the self-capacitor array; it is determined whether the ratio of the capacitance value of the high capacitor connected to the reference voltage to the parallel value of the remaining grounded capacitors is greater than the design ratio; if it is greater than the design ratio, the high capacitor is suspended and replaced by connecting the next capacitor of the high capacitor to the reference voltage, until the ratio of the parallel value of the capacitor connected to the reference voltage to the remaining grounded capacitors is not greater than the design ratio, and a suitable capacitor configuration is selected and the register setting is recorded. The capacitor array mismatch correction method performs capacitor replacement and capacitor configuration on the basis of the existing capacitor array to achieve the designed voltage division effect, and can achieve good capacitor mismatch correction without adding additional circuits, saving circuit costs and shortening the research and development cycle.

[0169] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure is shown in FIG. Figure 6 As shown, the electronic device 600 includes: a processor 601 and a memory 602; the processor 600 calls the program or instruction stored in the memory 602 to execute the steps of any of the above capacitor array mismatch correction methods to achieve the corresponding effect.

[0170] The disclosed embodiment provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the above-mentioned virtual conference interaction method. The computer-readable storage medium can be a volatile memory (volatile memory), such as a random access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (Read-Only Memory, ROM), a flash memory (flash memory), a hard disk (Hard Disk Drive, HDD) or a solid-state drive (Solid-State Drive, SSD); or it can be a respective device including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc.

[0171] It should be noted that the computer-readable storage medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0172] In embodiments of the present disclosure, computer program codes for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including but not limited to object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the computer, partially on the computer, as an independent software package, partially on the computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0173] It should be noted that, in this article, terms such as "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0174] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A capacitor array mismatch correction method, applied to a successive approximation ADC, characterized in that: include: Performing capacitor array mismatch correction from the highest capacitor to the lowest capacitor in the capacitor array; Determine whether the ratio of the capacitance value of the high-level capacitor connected to the reference voltage to the parallel value of the remaining grounding capacitors is greater than the design ratio; If it is greater than the design ratio, the high-order capacitor is left floating and replaced by connecting the next capacitor of the high-order capacitor to the reference voltage until the ratio of the parallel value of the capacitor connected to the reference voltage and the remaining grounded capacitors is no greater than the design ratio. Select a suitable capacitor configuration and record the register settings.

2. The method according to claim 1, characterized in that The determining whether the ratio of the capacitance value of the high-level capacitor connected to the reference voltage to the parallel value of the remaining grounding capacitors is greater than the design ratio includes: Input a DC full-swing single-tone signal, keep the high-position capacitor connected to the reference voltage, and gradually reduce the parallel value of the grounding capacitor through the capacitance in the suspended grounding capacitor; If the received interference signal situation gradually worsens as the parallel value of the grounding capacitor decreases, it is determined that the ratio of the capacitance value of the high-order capacitor connected to the reference voltage to the parallel value of the remaining grounding capacitors is greater than the designed ratio.

3. The method according to claim 2, characterized in that The mismatch correction of the capacitor array from the highest capacitor to the lower capacitor of the capacitor array includes: mismatch correction of the highest capacitor and mismatch correction of other capacitors, and the mismatch correction of the highest capacitor includes: Determine whether the ratio of the capacitance value of the high-level capacitor connected to the reference voltage to the parallel value of the remaining grounding capacitors is greater than 1:1; If it is greater than 1:1, the highest capacitor is left floating and replaced by connecting the second highest capacitor to the reference voltage. If the ratio of the parallel value of the second highest capacitor and the remaining grounded capacitors is greater than 1:1, the second highest capacitor is left floating and replaced by connecting the third capacitor to the reference voltage, until the ratio of the parallel value of the capacitor connected to the reference voltage and the remaining grounded capacitors is no greater than 1:

1. Select the appropriate capacitor configuration and record the register settings.

4. The method according to claim 3, characterized in that When performing the other-position capacitor mismatch correction, the design ratio of the parallel value of the other-position capacitor connected to the reference voltage and the grounded capacitor is a symmetrical ratio. After half of the optimization of the other-position capacitor mismatch correction is performed, the grounding and reference voltage connection of the completed half of the optimized capacitors are reversed to complete the remaining half of the optimization.

5. The method according to claim 2, characterized in that: Also includes: If it is not greater than the design ratio, select the appropriate capacitor configuration and record the register settings.

6. The method according to any one of claims 3 to 5, characterized in that: The selecting a suitable capacitor configuration and recording register settings comprises: The capacitor configuration with the minimum interference signal is selected through traversal, trend judgment and other methods, and the capacitor value and corresponding register setting are recorded.

7. A capacitor array, characterized in that: include: N+1 capacitors connected in parallel, where N is a natural number greater than or equal to 2; The top plate of the capacitor array is connected to the common terminal of the intermediate relay; The bottom plate of the capacitor array is connected to a predetermined reference voltage, an input voltage and a ground voltage through a set of switching arrays, and each switching switch in the switch array corresponds to a capacitor in the capacitor array one by one; The N capacitors from the high position to the low position are all provided with a suspended position which can be connected by the switching switch.

8. A capacitor array mismatch correction device, characterized in that: include: A sequential correction module is configured to perform mismatch correction of the capacitor array from the highest capacitor to the lowest capacitor of the capacitor array; A judgment module is configured to judge whether a ratio of a capacitance value of a high-level capacitor connected to a reference voltage to a parallel value of other grounding capacitors is greater than a designed ratio; The replacement module is configured to leave the high-order capacitor suspended if it is greater than the design ratio, and replace it with a capacitor next to the high-order capacitor connected to the reference voltage, until the ratio of the parallel value of the capacitor connected to the reference voltage and the remaining grounded capacitors is no greater than the design ratio, select a suitable capacitor configuration and record the register setting.

9. An electronic device, characterized in that: include: Processor and memory; The processor is used to execute the steps of the method according to any one of claims 1 to 6 by calling the program or instruction stored in the memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program or instruction, and the program or instruction enables a computer to execute the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Digital-to-analog converter with sectional capacitor array structure

    CN103475373A

  • Segmented capacitor array type successive approximation analog-digital converter calibration structure

    CN104124967A

  • Successive approximation type analog-to-digital converter calibration circuit

    CN105959006A

  • Capacitor mismatch calibration method for successive approximation type ADC (Analog to Digital Converter) from high order to low order

    CN114928358A

  • Method for correcting mismatch of capacitors and analog to digital converter using thereof

    KR101299215B1