Switch switching method and successive approximation analog-to-digital converter

By setting and updating the reference voltage of the capacitor array according to the common mode voltage of the input signal in the successive approximation analog-to-digital converter, the problem of capacitance plate voltage drop caused by the monotonous switching switching method is solved, and the common mode voltage for multiple inputs is realized Compatibility of differential signals avoids performance problems caused by low common mode voltage.

CN119010916APending Publication Date: 2024-11-22上海先基半导体科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411019982.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

When the successive approximation analog-to-digital converter adopts the monotonous switching method, the plate voltage on the capacitor decreases with the increase in the number of switches, which may reach a negative voltage, affecting the performance of the comparator, resulting in performance degradation or failure, especially when the common mode voltage is over. It is obvious when it is low.

Method used

By setting the initial reference voltage of the lower plate of the variable capacitance array according to the actual ratio of the common mode voltage of the input signal and the reference common mode voltage during the sampling phase, and updating the reference voltage after switching, adjusting the common mode of the plate voltage on the capacitor array on the capacitance array by setting the initial reference voltage of the lower plate voltage according to the actual ratio of the common mode voltage of the input signal and the reference voltage is updated after switching. to be compatible with differential signals of multiple input common mode voltages to avoid performance degradation caused by too low common mode voltages.

Benefits of technology

It effectively avoids the performance degradation or failure of comparator due to the low common mode voltage of the input signal, improves the stability and performance of the successive approximation analog-to-digital converter, and ensures normal operation under different input common mode voltages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010916A_ABST
    Figure CN119010916A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a switch switching method and a successive approximation type analog-to-digital converter, and the method comprises the steps: setting an initial reference voltage of a lower electrode plate of a capacitor in a variable capacitor array according to an actual ratio between an input common-mode voltage of an input signal and a reference common-mode voltage in a sampling stage; switching a switch corresponding to a capacitor in the variable capacitor array according to the set initial reference voltage; after switching, a differential positive part and a differential negative part of the voltage of the input signal are sampled through switches connected to the positive input end and the negative input end of the comparator respectively; in the comparison stage after sampling, the reference voltage of the lower pole plate of the capacitor in the capacitor array is updated, the switch corresponding to the capacitor in the capacitor array is switched according to the updated reference voltage, and the digital representation of the voltage of the input signal is determined in a successive approximation mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to but is not limited to electronic circuit technology, and in particular to a switch switching method and a successive approximation analog-to-digital converter. Background Art

[0002] The core of the successive-approximation register analog-to-digital converter (SAR ADC) lies in the switching method, which plays a key role in increasing conversion power, reducing power consumption and improving performance.

[0003] Among the commonly used switching schemes, the monotonic switching method uses switching logic to maintain monotonicity throughout the successive approximation process, that is, the increase or decrease of charge is monotonic in each step of approximation, thereby minimizing the energy loss caused by charge redistribution. However, the use of the monotonic switching method will cause the voltage on the upper plate of the capacitor to gradually decrease as the number of switching times increases, and even reach a negative voltage, which has a significant impact on the performance of the comparator, thereby affecting the performance of the SAR ADC. Summary of the invention

[0004] The present application provides a switching method and a successive approximation analog-to-digital converter, which are compatible with differential signals with multiple input common-mode voltages and avoid comparator performance degradation or even failure due to too low common-mode voltage of the input signal.

[0005] The embodiment of the present application provides a switch switching method, which is applied to a successive approximation analog-to-digital converter. The successive approximation analog-to-digital converter includes a capacitor array, multiple switches, a comparator, and a successive approximation logic control module. The capacitor array includes a positive phase end capacitor array and a negative phase end capacitor array. The positive phase end capacitor array includes a positive phase end redundant capacitor and an I-1-bit positive phase end capacitor. The negative phase end capacitor array includes a negative phase end redundant capacitor and an I-1-bit negative phase end capacitor. The capacitor array is a weighted capacitor array. The upper plate of the capacitor in the positive phase end capacitor array is connected to the positive input terminal of the comparator, and the upper plate of the capacitor in the negative phase end capacitor array is connected to the negative input terminal of the comparator. The capacitor array is a weighted capacitor array. The method includes:

[0006] In the sampling phase, the initial reference voltage of the lower plate of the capacitor in the variable capacitor array is set according to the actual ratio between the input common mode voltage of the input signal and the reference common mode voltage; wherein the input common mode voltage is determined according to the differential negative part and the differential positive part of the voltage of the input signal;

[0007] Switching switches corresponding to capacitors in the variable capacitor array according to a set initial reference voltage;

[0008] After switching, sampling the differential positive part and the differential negative part of the voltage of the input signal respectively through the switch connected to the positive input terminal and the negative input terminal of the comparator;

[0009] In a comparison phase after sampling, a reference voltage of a lower plate of a capacitor in the capacitor array is updated, and switches corresponding to the capacitors in the capacitor array are switched according to the updated reference voltage to determine a digital representation of the voltage of the input signal by successive approximation;

[0010] In which, when the theoretical ratio between the input common-mode voltage and the reference common-mode voltage is divided into 2N-1 intervals, the variable capacitor array includes N consecutive capacitors starting from the highest-order capacitor in the capacitor array, N is an integer greater than 1 and less than I, and I represents the conversion accuracy of the successive approximation analog-to-digital converter.

[0011] In an exemplary embodiment, setting the initial reference voltage of the lower plate of the capacitor in the variable capacitor array according to the actual ratio between the input common mode voltage of the input signal and the reference common mode voltage includes:

[0012] When the voltage of the lower plate of each capacitor in the variable capacitor array is set to a positive reference voltage or a negative reference voltage according to the actual ratio, and the position is set to 1 when the voltage of the lower plate of the capacitor is set to a positive reference voltage, and the position is set to 0 when the voltage of the lower plate of the capacitor is set to a negative reference voltage, the following relationship is satisfied between the N-bit binary number corresponding to the interval in which the actual ratio falls and the binary sequence composed of all bits of the variable capacitor array:

[0013] The N-bit binary number corresponding to the interval in which the actual ratio falls is equal to the binary sequence composed of all bits of the variable capacitor array;

[0014] Among them, the N-bit binary number corresponding to the interval in which the actual ratio falls includes: when the theoretical ratios in the 1st interval to the 2N-1th interval increase successively, the N-bit binary number corresponding to the Nth interval is set to a binary number with the highest bit being 1 and the remaining bits being 0; the N-bit binary number corresponding to the NPth interval is set to a binary number obtained by decreasing the N-bit binary number corresponding to the Nth interval P times according to the principle of decreasing by 1 each time; the N-bit binary number corresponding to the N+Qth interval is set to a binary number obtained by increasing the N-bit binary number corresponding to the Nth interval Q times according to the principle of increasing by 1 each time; among them, 1≤P≤N-1; 1≤Q≤N-1.

[0015] In an exemplary embodiment, in the sampling phase, the initial reference voltage of the lower plate of the capacitor in the fixed capacitor array is set to a negative reference voltage or a positive reference voltage, and the switches corresponding to the capacitors in the fixed capacitor array are switched according to the initial reference voltage of the lower plate of the capacitor in the fixed capacitor array;

[0016] The fixed capacitor array includes capacitors in the capacitor array except the variable capacitor array.

[0017] In an exemplary embodiment, updating the reference voltage of the lower plate of the capacitor in the capacitor array includes:

[0018] The reference voltage of the lower plate of the capacitor in the capacitor array is updated according to the output result of the comparator and the initial reference voltage.

[0019] In an exemplary embodiment, updating the reference voltage of the lower plate of the capacitor in the capacitor array according to the output result of the comparator and the initial reference voltage includes:

[0020] For the Jth comparison, it includes: updating the reference voltage of the lower plate of the IJth capacitor from the J+1th comparison to the end of the comparison phase according to the output signal of the comparator and the voltage of the lower plate of the IJth capacitor in the capacitor array during the sampling phase; wherein J∈[1, I).

[0021] In an exemplary embodiment, the IJ-th capacitor includes an IJ-th positive-phase terminal capacitor and an IJ-th negative-phase terminal capacitor;

[0022] The method of updating the reference voltage of the lower plate of the IJ-th capacitor from the J+1th comparison to the end of the comparison phase according to the output signal of the comparator and the voltage of the lower plate of the IJ-th capacitor in the capacitor array during the sampling phase comprises:

[0023] When the output signal of the comparator is 1 and the voltage of the lower plate of the IJth capacitor set in the sampling phase is a positive reference voltage, the reference voltage of the lower plate of the IJth positive phase terminal capacitor from the J+1th comparison to the end of the comparison phase is updated to a negative reference voltage.

[0024] In an exemplary embodiment, the IJ-th capacitor includes an IJ-th positive-phase terminal capacitor and an IJ-th negative-phase terminal capacitor;

[0025] The method of updating the reference voltage of the lower plate of the IJ-th capacitor from the J+1th comparison to the end of the comparison phase according to the output signal of the comparator and the voltage of the lower plate of the IJ-th capacitor in the capacitor array during the sampling phase comprises:

[0026] When the output signal of the comparator is 1 and the voltage of the lower plate of the IJth capacitor set in the sampling phase is a negative reference voltage, the reference voltage of the lower plate of the IJth inverting terminal capacitor from the J+1th comparison to the end of the comparison phase is updated to a positive reference voltage.

[0027] In an exemplary embodiment, the IJ-th capacitor includes an IJ-th positive-phase terminal capacitor and an IJ-th negative-phase terminal capacitor;

[0028] The method of updating the reference voltage of the lower plate of the IJ-th capacitor from the J+1th comparison to the end of the comparison phase according to the output signal of the comparator and the voltage of the lower plate of the IJ-th capacitor in the capacitor array during the sampling phase comprises:

[0029] When the output signal of the comparator is 0 and the voltage of the lower plate of the IJth capacitor set in the sampling phase is a positive reference voltage, the reference voltage of the lower plate of the IJth inverting terminal capacitor from the J+1th comparison to the end of the comparison phase is updated to a negative reference voltage.

[0030] In an exemplary embodiment, the IJ-th capacitor includes an IJ-th positive-phase terminal capacitor and an IJ-th negative-phase terminal capacitor;

[0031] The method of updating the reference voltage of the lower plate of the IJ-th capacitor from the J+1th comparison to the end of the comparison phase according to the output signal of the comparator and the voltage of the lower plate of the IJ-th capacitor in the capacitor array during the sampling phase comprises:

[0032] When the output signal of the comparator is 0 and the voltage of the lower plate of the IJth capacitor set in the sampling phase is a negative reference voltage, the reference voltage of the lower plate of the IJth positive phase terminal capacitor from the J+1th comparison to the end of the comparison phase is updated to a positive reference voltage.

[0033] The embodiment of the present application further provides a successive approximation analog-to-digital converter, the successive approximation analog-to-digital converter comprising a capacitor array, a plurality of switches, a comparator and a successive approximation logic control module, the capacitor array comprising a positive phase end capacitor array and a negative phase end capacitor array, the positive phase end capacitor array comprising a positive phase end redundant capacitor and an I-1-bit positive phase end capacitor, the negative phase end capacitor array comprising a negative phase end redundant capacitor and an I-1-bit negative phase end capacitor, the capacitor array being a weighted capacitor array, the upper board of the positive phase end capacitor array being connected to the positive input terminal of the comparator, the upper board of the negative phase end capacitor array being connected to the negative input terminal of the comparator, and the capacitor array being a weighted capacitor array;

[0034] The successive approximation logic control module is configured to set the initial reference voltage of the lower plate of the capacitor in the variable capacitor array according to the actual ratio between the input common mode voltage of the input signal and the reference common mode voltage during the sampling phase; wherein the input common mode voltage is determined according to the differential negative part and the differential positive part of the voltage of the input signal;

[0035] Switching switches corresponding to capacitors in the variable capacitor array according to a set initial reference voltage;

[0036] After switching, sampling the differential positive part and the differential negative part of the voltage of the input signal respectively through the switch connected to the positive input terminal and the negative input terminal of the comparator;

[0037] In a comparison phase after sampling, a reference voltage of a lower plate of a capacitor in the capacitor array is updated, and switches corresponding to the capacitors in the capacitor array are switched according to the updated reference voltage to determine a digital representation of the voltage of the input signal by successive approximation;

[0038] In which, when the theoretical ratio between the input common-mode voltage and the reference common-mode voltage is divided into 2N-1 intervals, the variable capacitor array includes N consecutive capacitors starting from the highest-order capacitor in the capacitor array, N is an integer greater than 1 and less than I, and I represents the conversion accuracy of the successive approximation analog-to-digital converter.

[0039] In an exemplary embodiment, the successive approximation logic control module is configured to set the initial reference voltage of the lower plate of the capacitor in the fixed capacitor array to a negative reference voltage during the sampling phase, and switch the switches corresponding to the capacitors in the fixed capacitor array according to the initial reference voltage of the lower plate of the capacitor in the fixed capacitor array.

[0040] The switching method and successive approximation analog-to-digital converter provided in the embodiments of the present application can adjust the common-mode level of the voltage on the upper plate of the capacitor array for different input common-mode voltages by adjusting the initial reference voltage of the lower plate by setting the voltage of the lower plate of the capacitor in the variable capacitor array according to the actual ratio during the sampling phase, thereby making the switching method and the successive approximation analog-to-digital converter compatible with differential signals of multiple input common-mode voltages and avoiding degradation of comparator performance or even failure due to excessively low common-mode voltage of the input signal.

[0041] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0043] Figure 1 A schematic diagram of a flow chart of a switch switching method in an embodiment of the present application;

[0044] Figure 2 A schematic diagram of a successive approximation analog-to-digital converter according to an embodiment of the present application;

[0045] Figure 3 A schematic diagram of another successive approximation analog-to-digital converter according to an embodiment of the present application;

[0046] Figure 4A for Figure 3 The sampling schematic diagram of the successive approximation analog-to-digital converter shown;

[0047] Figure 4B for Figure 3 The schematic diagram of the successive approximation analog-to-digital converter performing the first comparison is shown;

[0048] Figure 4C for Figure 3 The schematic diagram of the successive approximation analog-to-digital converter performing the second comparison is shown;

[0049] Figure 4D for Figure 3 The schematic diagram of the successive approximation analog-to-digital converter performing the third comparison is shown;

[0050] Figure 4E for Figure 3 The schematic diagram of the successive approximation analog-to-digital converter performing the fourth comparison shown;

[0051] Figure 5 for Figure 3 The diagram shown is a schematic diagram of the change in upper board voltage during the operation of the successive approximation analog-to-digital converter. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the present application more clear, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other arbitrarily without conflict.

[0053] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.

[0054] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0055] It is understood that the terms "first" and "second" used in this application are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0056] It can be understood that the “connection” in the following embodiments should be understood as “electrical connection”, “communication connection”, etc. if the connected circuits, modules, units, etc. have electrical signals or data transmission between each other.

[0057] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" and the like specify the presence of stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.

[0058] In order to solve the problem that the voltage on the upper plate of the capacitor gradually decreases as the number of switch switching times increases, or even reaches a negative voltage when a successive approximation analog-to-digital converter adopts a monotonic switching method, the embodiment of the present application provides a switching method and a successive approximation analog-to-digital converter, which can be compatible with differential signals with multiple input common-mode voltages, and avoid comparator performance degradation or even failure due to too low common-mode voltage of the input signal.

[0059] Figure 1 Schematic diagram of a flow chart of a switch switching method in an embodiment of the present application; Figure 1 As shown, the switch switching method includes the following steps 11 to 14:

[0060] Step 11, in the sampling phase, setting the initial reference voltage of the lower plate of the capacitor in the variable capacitor array according to the actual ratio between the input common mode voltage of the input signal and the reference common mode voltage;

[0061] Step 12, switching switches corresponding to capacitors in the variable capacitor array according to a set initial reference voltage;

[0062] Step 13, sampling the differential positive part and the differential negative part of the voltage of the input signal respectively through the switch connected to the positive input terminal and the negative input terminal of the comparator after the switching;

[0063] Step 14, in the comparison stage after sampling, the reference voltage of the lower plate of the capacitor in the capacitor array is updated, and the switches corresponding to the capacitors in the capacitor array are switched according to the updated reference voltage to determine the digital representation of the voltage of the input signal by successive approximation.

[0064] Wherein, the input common-mode voltage is determined according to the differential negative part and the differential positive part of the voltage of the input signal; when the theoretical ratio between the input common-mode voltage and the reference common-mode voltage is divided into 2N-1 intervals, the variable capacitor array includes N consecutive capacitors starting from the highest-order capacitor in the capacitor array, N is an integer greater than 1 and less than I, and I represents the conversion accuracy of the successive approximation analog-to-digital converter.

[0065] The switching method provided in the embodiment of the present application can adjust the common-mode level of the upper plate voltage of the capacitor array by adjusting the initial reference voltage of the lower plate for different input common-mode voltages by setting the voltage of the lower plate of the capacitor in the variable capacitor array according to the actual ratio during the sampling phase, thereby making the switching method and the successive approximation analog-to-digital converter compatible with differential signals of multiple input common-mode voltages, thereby avoiding degradation of comparator performance or even failure due to excessively low common-mode voltage of the input signal.

[0066] The switch switching method of the embodiment of the present application is applied to a successive approximation analog-to-digital converter, the successive approximation analog-to-digital converter includes a capacitor array, a plurality of switches, a comparator and a successive approximation logic control module, the capacitor array includes a positive phase end capacitor array and a negative phase end capacitor array, the positive phase end capacitor array includes a positive phase end redundant capacitor and I-1 positive phase end capacitors, the negative phase end capacitor array includes a negative phase end redundant capacitor and I-1 negative phase end capacitors, the capacitor array is a weighted capacitor array, the upper plate of the capacitor in the positive phase end capacitor array is connected to the positive input terminal of the comparator, the upper plate of the capacitor in the negative phase end capacitor array is connected to the negative input terminal of the comparator, and the capacitor array is a weighted capacitor array. The capacitance value of the highest bit I-1 capacitor is 2 (I-2)C, the capacitance value of the capacitor at the (I - 2)-th bit from the highest bit is 2 (I-3) C, the capacitance value of the capacitor at the 0-th bit is C, the capacitance value of the redundant capacitor is C, and the capacitance value of the capacitor at the (I - J)-th bit is 2 (I-J-1) C, J ∈ [1, I), that is, 1 ≤ J < I, and C is the unit capacitance value.

[0067] In an exemplary embodiment, in the sampling stage, the initial reference voltage of the lower plates of the capacitors in the fixed capacitor array is set to a negative reference voltage or a positive reference voltage, and the switches corresponding to the capacitors in the fixed capacitor array are switched according to the initial reference voltage of the lower plates of the capacitors in the fixed capacitor array;

[0068] Wherein, the fixed capacitor array includes the capacitors in the capacitor array except for the variable capacitor array.

[0069] Exemplarily, the initial reference voltage of the lower plates of the capacitors in the fixed capacitor array can be arbitrarily set to a negative reference voltage or a positive reference voltage. Considering the performance of the analog-to-digital converter, the initial reference voltage of the lower plates of the capacitors in the fixed capacitor array is set to a negative reference voltage.

[0070] In an exemplary embodiment, before step 11, the method may further include: dividing the theoretical ratio between the input common-mode voltage and the reference common-mode voltage into 2N - 1 intervals.

[0071] The number of divided intervals is generally an odd number. For example, the ratio between the input common-mode voltage (VCM_IN) and the reference common-mode voltage (VCM_VREF) can be divided into 3 intervals, and at this time N = 2. These 3 intervals can be the first interval (less than 0.5), the second interval ([0.5, 1.5]), and the third interval (greater than 1.5). The variable capacitor array may include the highest-bit capacitor and the (I - 1)-th bit capacitor in the capacitor array, and the fixed capacitor array may include the capacitors in the capacitor array except for the highest-bit capacitor and the (I - 1)-th bit capacitor.

[0072] In an exemplary embodiment, in step 11, the input common-mode voltage and the reference common-mode voltage are known. Before analog-to-digital conversion, the user can calculate the actual ratio between the input common-mode voltage and the reference common-mode voltage through the known input common-mode voltage and reference common-mode voltage.

[0073] Step 11 may include:

[0074] When the ratio falls into the N-th interval, by controlling the switch switching, the lower plate of the highest-bit capacitor in the variable capacitor array is connected to the positive reference voltage, and the lower plates of the other capacitors in the variable capacitor array are connected to the negative reference voltage.

[0075] Assuming that the ratio is 0.7, it falls into the second interval, and the lower plate of the highest capacitor in the capacitor array is connected to the positive reference voltage by controlling the switch switching, and the lower plates of the capacitors in the remaining variable capacitor arrays are connected to the negative reference voltage. When the positive reference voltage is set to 1 and the negative reference voltage is set to 0, the voltages connected to the lower plates of the capacitors in this column of variable capacitors from high to low are 10.

[0076] In an exemplary embodiment, step 11 may further include:

[0077] When the ratio falls into the NPth interval in the N-1th interval to the 1st interval, the N-bit binary number corresponding to the NPth interval is determined, and when the access positive reference voltage is set to 1 and the access negative reference voltage is set to 0, the lower plate voltage of the N-bit capacitor in the variable capacitor array is set to correspond to the N-bit binary number corresponding to the NPth interval; 1≤P≤N-1.

[0078] In an exemplary embodiment, determining the N-bit binary number corresponding to the NPth interval may include:

[0079] The N-bit binary number corresponding to the Nth interval is set to an N-bit binary number with the highest bit being 1 and the remaining bits being 0; the N-bit binary number corresponding to the NPth interval is the binary number obtained by decreasing the N-bit binary number corresponding to the Nth interval P times according to the principle of decreasing by 1 each time.

[0080] When the ratio increases successively from the first interval to the third interval, assuming that the two-bit binary number corresponding to the Nth interval is 10, then the N-bit binary number corresponding to the NPth interval is the binary number obtained by subtracting 10 P times. Since 1≤P≤N-1, when N=2, P=1, the N-bit binary number corresponding to the NPth interval (i.e., the first interval) is 01.

[0081] In the case where the ratio falls within the N+Qth interval in the N+1th interval to the 2N-1th interval, determining the N-bit binary number corresponding to the N+Qth interval, and setting the access positive reference voltage to 1 and the access negative reference voltage to 0, setting the lower plate voltage of the N-bit capacitor in the variable capacitor array to correspond to the N-bit binary number corresponding to the N+Qth interval; 1≤Q≤N-1;

[0082] In an exemplary embodiment, determining the N-bit binary number corresponding to the N+Qth interval may include:

[0083] The N-bit binary number corresponding to the Nth interval is set to an N-bit binary number with the highest bit being 1 and the remaining bits being 0; the N-bit binary number corresponding to the N+Qth interval is an N-bit binary number with the highest bit being 1 and the remaining bits being 0, which is incremented Q times according to the principle of incrementing by 1 each time.

[0084] When the ratio increases successively from the first interval to the third interval, assuming that the two-bit binary number corresponding to the Nth interval is 10, then the N-bit binary number corresponding to the N+Qth interval is the binary number obtained by subtracting 10 Q times. Since 1≤Q≤N-1, when N=2, Q=1, the N-bit binary number corresponding to the N+Qth interval (i.e., the third interval) is 11.

[0085] In step 12, each capacitor in the capacitor array has a corresponding switch, and the lower plate of the capacitor can be connected to a different reference voltage through the corresponding switch.

[0086] In step 13, the differential positive part of the voltage of the input signal can be Figure 3 In VIP, the differential negative part of the input signal voltage can be Figure 3 The voltage of the input signal is equal to VIP-VIN. The input common-mode voltage is equal to (VIP+VIN) / 2.

[0087] In step 14, in an exemplary embodiment, updating the reference voltage of the lower plate of the capacitor in the capacitor array may include:

[0088] The reference voltage of the lower plate of the capacitor in the capacitor array is updated according to the output result of the comparator and the initial reference voltage.

[0089] In an exemplary embodiment, updating the reference voltage of the lower plate of the capacitor in the capacitor array according to the output result of the comparator and the initial reference voltage may include:

[0090] For the Jth comparison, it includes: updating the reference voltage of the lower plate of the IJth capacitor from the J+1th comparison to the end of the comparison phase according to the output signal of the comparator and the voltage of the lower plate of the IJth capacitor in the capacitor array during the sampling phase; wherein J∈[1, I].

[0091] In an exemplary embodiment, the IJ-th capacitor includes an IJ-th positive-phase terminal capacitor and an IJ-th negative-phase terminal capacitor;

[0092] The method of updating the reference voltage of the lower plate of the capacitor of the J+1th comparison to the end of the comparison phase according to the output signal of the comparator and the voltage of the lower plate of the capacitor in the capacitor array in the sampling phase comprises:

[0093] When the output signal of the comparator is 1 and the voltage of the lower plate of the IJth capacitor set in the sampling phase is a positive reference voltage, the reference voltage of the lower plate of the IJth positive phase terminal capacitor from the J+1th comparison to the end of the comparison phase is updated to a negative reference voltage.

[0094] In an exemplary embodiment, the updating of the reference voltage of the lower plate of the IJ-th capacitor from the J+1th comparison to the end of the comparison phase according to the output signal of the comparator and the voltage of the lower plate of the capacitor in the capacitor array in the sampling phase includes:

[0095] When the output signal of the comparator is 1 and the voltage of the lower plate of the IJth capacitor set in the sampling phase is a negative reference voltage, the reference voltage of the lower plate of the IJth inverting terminal capacitor from the J+1th comparison to the end of the comparison phase is updated to a positive reference voltage.

[0096] In an exemplary embodiment, the updating of the reference voltage of the lower plate of the IJ-th capacitor from the J+1th comparison to the end of the comparison phase according to the output signal of the comparator and the voltage of the lower plate of the capacitor in the capacitor array in the sampling phase includes:

[0097] When the output signal of the comparator is 0 and the voltage of the lower plate of the IJth capacitor set in the sampling phase is a positive reference voltage, the reference voltage of the lower plate of the IJth inverting terminal capacitor from the J+1th comparison to the end of the comparison phase is updated to a negative reference voltage.

[0098] In an exemplary embodiment, the updating of the reference voltage of the lower plate of the IJ-th capacitor from the J+1th comparison to the end of the comparison phase according to the output signal of the comparator and the voltage of the lower plate of the capacitor in the capacitor array in the sampling phase includes:

[0099] When the output signal of the comparator is 0 and the voltage of the lower plate of the IJth capacitor set in the sampling phase is a negative reference voltage, the reference voltage of the lower plate of the IJth positive phase terminal capacitor from the J+1th comparison to the end of the comparison phase is updated to a positive reference voltage.

[0100] Figure 2 Schematic diagram of a successive approximation analog-to-digital converter in an embodiment of the present application; Figure 2 As shown, the successive approximation analog-to-digital converter includes a capacitor array 100, a comparator 200 and a successive approximation logic control module 300, wherein:

[0101] The successive approximation logic control module 300 is arranged in a sampling stage to set an initial reference voltage of the lower plate of the capacitor in the variable capacitor array according to an actual ratio between an input common mode voltage of an input signal and a reference common mode voltage; wherein the input common mode voltage is determined according to a differential negative part and a differential positive part of a voltage of the input signal;

[0102] Switching switches corresponding to capacitors in the variable capacitor array according to a set initial reference voltage;

[0103] After switching, sampling the differential positive part and the differential negative part of the voltage of the input signal respectively through the switch connected to the positive input terminal and the negative input terminal of the comparator;

[0104] In a comparison phase after sampling, a reference voltage of a lower plate of a capacitor in the capacitor array is updated, and switches corresponding to the capacitors in the capacitor array are switched according to the updated reference voltage to determine a digital representation of the voltage of the input signal by successive approximation;

[0105] In which, when the theoretical ratio between the input common-mode voltage and the reference common-mode voltage is divided into 2N-1 intervals, the variable capacitor array includes N consecutive capacitors starting from the highest-order capacitor in the capacitor array, N is an integer greater than 1 and less than I, and I represents the conversion accuracy of the successive approximation analog-to-digital converter.

[0106] The successive approximation analog-to-digital converter provided in the embodiment of the present application sets the voltage of the lower plate of the capacitor in the variable capacitor array according to the actual ratio during the sampling phase through the successive approximation logic control module, and can adjust the common-mode level of the upper plate voltage of the capacitor array by adjusting the initial access voltage of the lower plate for different input common-mode voltages, thereby making the switching method and the successive approximation analog-to-digital converter compatible with differential signals of multiple input common-mode voltages, thereby avoiding degradation of comparator performance or even failure due to excessively low common-mode voltage of the input signal.

[0107] The switch switching method of the embodiment of the present application is applied to a successive approximation analog-to-digital converter, the successive approximation analog-to-digital converter includes a capacitor array, a plurality of switches, a comparator and a successive approximation logic control module, the capacitor array includes a positive phase end capacitor array and a negative phase end capacitor array, the positive phase end capacitor array includes a positive phase end redundant capacitor and I-1 positive phase end capacitors, the negative phase end capacitor array includes a negative phase end redundant capacitor and I-1 negative phase end capacitors, the capacitor array is a weighted capacitor array, the upper plate of the capacitor in the positive phase end capacitor array is connected to the positive input terminal of the comparator, the upper plate of the capacitor in the negative phase end capacitor array is connected to the negative input terminal of the comparator, and the capacitor array is a weighted capacitor array. The capacitance value of the highest bit I-1 capacitor is 2 (I-2)C, the capacitance value of the capacitor at position I-2 is 2 (I-3) C, the capacitance value of the 0th capacitor is C, the capacitance value of the redundant capacitor is C, and the capacitance value of the IJth capacitor is 2 (I-J-1) C, J∈[1, I), C is the unit capacitance value.

[0108] In an exemplary embodiment, the successive approximation logic control module 300 is configured to set the initial reference voltage of the lower plate of the capacitor in the fixed capacitor array to a negative reference voltage during the sampling phase, and switch the switches corresponding to the capacitors in the fixed capacitor array according to the initial reference voltage of the lower plate of the capacitor in the fixed capacitor array.

[0109] Figure 3 Schematic diagram of another successive approximation analog-to-digital converter in an embodiment of the present application; Figure 3 As shown, the successive approximation analog-to-digital converter includes a capacitor array 21, a comparator 22, a successive approximation logic control module 23, a first switch Sw1 (corresponding to the switch connected to the positive input terminal of the comparator), a second switch Sw2 (corresponding to the switch connected to the negative input terminal of the comparator) and a plurality of switching switches 24 (corresponding to the switch connected to the lower plate of the capacitor). The capacitor array 21 includes a positive phase end capacitor array and a negative phase end capacitor array, the positive phase end capacitor array includes positive phase end capacitors (capacitance values ​​are 4C, 2C, C respectively), positive phase end redundant capacitors, and the negative phase end capacitor array includes negative phase end capacitors (capacitance values ​​are 4C, 2C, C respectively) and negative phase end redundant capacitors. Wherein, C is the unit capacitance value, and the capacitance value of the IJ-th capacitor is 2 (I-J-1) C, J∈[1, I). The upper plate of the positive phase capacitor is connected to the positive phase input voltage VIP through the first switch Sw1, and the upper plate of the negative phase capacitor is connected to the negative phase input voltage VIN through the second switch Sw2. The lower plates of the positive phase redundant capacitor and the negative phase redundant capacitor are both connected to the voltage VSSA. The lower plates of the positive phase capacitor and the negative phase capacitor are respectively connected to VREFP or VREFN through their respective switching switches. Dout represents the corresponding digital value obtained after the input voltage is converted from digital to analog.

[0110] Figure 4A for Figure 3 The sampling diagram of the successive approximation analog-to-digital converter shown in FIG. Figure 4AAs shown, when the first switch Sw1 and the second switch Sw2 are closed, the positive phase input voltage VIP (the differential positive part of the analog input VCM_IN) and the negative phase input voltage VIN (the differential negative part of the analog input VCM_IN) are respectively connected to the upper board of the positive phase end capacitor array and the negative phase end capacitor array, as well as the positive input terminal and the negative input terminal of the comparator 22. Assume that the ratio between the input common mode voltage (VCM_IN) and the reference common mode voltage (VCM_VREF) is divided into 3 (N=2, 2N-1=3) intervals. These three intervals can be the first interval (less than 0.5), the second interval ([0.5, 1.5]) and the third interval (greater than 1.5). Then the variable capacitor array can include the highest capacitor (the capacitor with the largest capacitance value) and the second highest capacitor (the capacitor with a capacitance value only less than the maximum capacitor) in the capacitor array, and the fixed capacitor array can include capacitors other than the highest capacitor and the second highest capacitor in the capacitor array. When the positive reference voltage is set to 1 and the negative reference voltage is set to 0, the voltages connected to the lower plates of the capacitors in the variable capacitor column from high to low are 01, 10, and 11 respectively when the ratio falls into the first interval, the second interval, and the third interval. Assuming that the actual ratio is 0.3, it falls into the first interval mentioned above, then the lower plate of the highest capacitor in the capacitor array is set to connect to the negative reference voltage, the lower plate of the second highest capacitor is set to connect to the positive reference voltage, and the fixed capacitor array maintains the initially set voltage unchanged.

[0111] During the first comparison, the voltage on the lower plate of each capacitor is as follows: Figure 4B As shown, according to Figure 5 From phase 1 (PHASE1), it can be seen that the input common-mode voltage (VCM_IN = (VIN + VIP) / 2) is less than the reference common-mode voltage (VCM_VREF = (VREFP + VREFN) / 2), and the output of the comparator is 0 (B3 = 0), then the lower plate of the highest-order positive-phase terminal capacitor is connected to VREFP.

[0112] During the second comparison, the voltage on the lower plate of each capacitor is as follows: Figure 4C As shown, according to Figure 5 In phase 2 (PHASE2), the output of the comparator is 1 (B2=1), indicating that the common-mode voltage of the upper plate of the capacitor is greater than the reference common-mode voltage, and the lower plate of the second highest positive-phase terminal capacitor is connected to VREFN.

[0113] During the third comparison, the voltage on the lower plate of each capacitor is as follows: Figure 4D As shown, according to Figure 5 In phase 3 (PHASE3), the output of the comparator is 0 (B1=0), indicating that the common-mode voltage of the upper plate of the capacitor is less than the reference common-mode voltage, and the lower plate of the negative phase terminal capacitor of the corresponding bit (the next bit after the second highest bit) is connected to VREFN.

[0114] During the fourth comparison, the voltage on the lower plate of each capacitor is as follows: Figure 4E As shown. Figure 5 From phase 4 (PHASE4), it can be seen that the output of the fourth comparison is 0 (B0=0).

[0115] according to Figure 5 It can be seen that the upper board voltages on both sides of the successive approximation analog-to-digital converter are close to the reference common-mode voltage VCM_VREF, which can ensure that the working performance of the comparator is not affected by the input common-mode voltage.

[0116] Although the embodiments disclosed in this application are as above, the contents described are only embodiments adopted to facilitate understanding of this application and are not intended to limit this application. Any technician in the field to which this application belongs can make any modifications and changes in the form and details of implementation without departing from the spirit and scope disclosed in this application, but the scope of patent protection of this application shall still be based on the scope defined in the attached claims.

Claims

1. A switch switching method, applied to a successive approximation analog-to-digital converter, the successive approximation analog-to-digital converter comprising a capacitor array, a plurality of switches, a comparator and a successive approximation logic control module, the capacitor array comprising a positive phase end capacitor array and a negative phase end capacitor array, the positive phase end capacitor array comprising a positive phase end redundant capacitor and 1-1 positive phase end capacitors, the negative phase end capacitor array comprising a negative phase end redundant capacitor and 1-1 negative phase end capacitors, the capacitor array being a weighted capacitor array, the upper plate of the capacitor in the positive phase end capacitor array being connected to the positive input terminal of the comparator, the upper plate of the capacitor in the negative phase end capacitor array being connected to the negative input terminal of the comparator, the capacitor array being a weighted capacitor array, the method comprising: In the sampling phase, the initial reference voltage of the lower plate of the capacitor in the variable capacitor array is set according to the actual ratio between the input common mode voltage of the input signal and the reference common mode voltage; wherein the input common mode voltage is determined according to the differential negative part and the differential positive part of the voltage of the input signal; Switching switches corresponding to capacitors in the variable capacitor array according to a set initial reference voltage; After switching, sampling the differential positive part and the differential negative part of the voltage of the input signal respectively through the switch connected to the positive input terminal and the negative input terminal of the comparator; In a comparison phase after sampling, a reference voltage of a lower plate of a capacitor in the capacitor array is updated, and switches corresponding to the capacitors in the capacitor array are switched according to the updated reference voltage to determine a digital representation of the voltage of the input signal by successive approximation; In which, when the theoretical ratio between the input common-mode voltage and the reference common-mode voltage is divided into 2N-1 intervals, the variable capacitor array includes N consecutive capacitors starting from the highest-order capacitor in the capacitor array, N is an integer greater than 1 and less than I, and I represents the conversion accuracy of the successive approximation analog-to-digital converter.

2. The switch switching method according to claim 1, characterized in that: The method of setting the initial reference voltage of the lower plate of the capacitor in the variable capacitor array according to the actual ratio between the input common mode voltage of the input signal and the reference common mode voltage comprises: When the voltage of the lower plate of each capacitor in the variable capacitor array is set to a positive reference voltage or a negative reference voltage according to the actual ratio, and the position is set to 1 when the voltage of the lower plate of the capacitor is set to a positive reference voltage, and the position is set to 0 when the voltage of the lower plate of the capacitor is set to a negative reference voltage, the following relationship is satisfied between the N-bit binary number corresponding to the interval in which the actual ratio falls and the binary sequence composed of all bits of the variable capacitor array: The N-bit binary number corresponding to the interval in which the actual ratio falls is equal to the binary sequence composed of all bits of the variable capacitor array; Among them, the N-bit binary number corresponding to the interval in which the actual ratio falls includes: when the theoretical ratios in the 1st interval to the 2N-1th interval increase successively, the N-bit binary number corresponding to the Nth interval is set to a binary number with the highest bit being 1 and the remaining bits being 0; the N-bit binary number corresponding to the NPth interval is set to a binary number obtained by decreasing the N-bit binary number corresponding to the Nth interval P times according to the principle of decreasing by 1 each time; the N-bit binary number corresponding to the N+Qth interval is set to a binary number obtained by increasing the N-bit binary number corresponding to the Nth interval Q times according to the principle of increasing by 1 each time; among them, 1≤P≤N-1; 1≤Q≤N-1.

3. The switch switching method according to claim 1 or 2, characterized in that: Also includes: In the sampling phase, the initial reference voltage of the lower plate of the capacitor in the fixed capacitor array is set to a negative reference voltage or a positive reference voltage, and the switches corresponding to the capacitors in the fixed capacitor array are switched according to the initial reference voltage of the lower plate of the capacitor in the fixed capacitor array; The fixed capacitor array includes capacitors in the capacitor array except the variable capacitor array.

4. The switch switching method according to claim 1, wherein: The updating of the reference voltage of the lower plate of the capacitor in the capacitor array includes: The reference voltage of the lower plate of the capacitor in the capacitor array is updated according to the output result of the comparator and the initial reference voltage.

5. The switch switching method according to claim 4, characterized in that: The updating of the reference voltage of the lower plate of the capacitor in the capacitor array according to the output result of the comparator and the initial reference voltage comprises: For the Jth comparison, it includes: updating the reference voltage of the lower plate of the IJth capacitor from the J+1th comparison to the end of the comparison phase according to the output signal of the comparator and the voltage of the lower plate of the IJth capacitor in the capacitor array during the sampling phase; wherein J∈[1, I].

6. The switch switching method according to claim 5, characterized in that: The IJ-th capacitor includes an IJ-th positive phase terminal capacitor and an IJ-th negative phase terminal capacitor; The method of updating the reference voltage of the lower plate of the IJ-th capacitor from the J+1th comparison to the end of the comparison phase according to the output signal of the comparator and the voltage of the lower plate of the IJ-th capacitor in the capacitor array during the sampling phase comprises: When the output signal of the comparator is 1 and the voltage of the lower plate of the IJth capacitor set in the sampling phase is a positive reference voltage, the reference voltage of the lower plate of the IJth positive phase terminal capacitor from the J+1th comparison to the end of the comparison phase is updated to a negative reference voltage.

7. The switch switching method according to claim 5, characterized in that: The IJ-th capacitor includes an IJ-th positive phase terminal capacitor and an IJ-th negative phase terminal capacitor; The method of updating the reference voltage of the lower plate of the IJ-th capacitor from the J+1th comparison to the end of the comparison phase according to the output signal of the comparator and the voltage of the lower plate of the IJ-th capacitor in the capacitor array during the sampling phase comprises: When the output signal of the comparator is 1 and the voltage of the lower plate of the IJth capacitor set in the sampling phase is a negative reference voltage, the reference voltage of the lower plate of the IJth inverting terminal capacitor from the J+1th comparison to the end of the comparison phase is updated to a positive reference voltage.

8. The switch switching method according to claim 5, characterized in that: The IJ-th capacitor includes an IJ-th positive phase terminal capacitor and an IJ-th negative phase terminal capacitor; The method of updating the reference voltage of the lower plate of the IJ-th capacitor from the J+1th comparison to the end of the comparison phase according to the output signal of the comparator and the voltage of the lower plate of the IJ-th capacitor in the capacitor array during the sampling phase comprises: When the output signal of the comparator is 0 and the voltage of the lower plate of the IJth capacitor set in the sampling phase is a positive reference voltage, the reference voltage of the lower plate of the IJth inverting terminal capacitor from the J+1th comparison to the end of the comparison phase is updated to a negative reference voltage.

9. The switch switching method according to claim 5, characterized in that: The IJ-th capacitor includes an IJ-th positive phase terminal capacitor and an IJ-th negative phase terminal capacitor; The method of updating the reference voltage of the lower plate of the IJ-th capacitor from the J+1th comparison to the end of the comparison phase according to the output signal of the comparator and the voltage of the lower plate of the IJ-th capacitor in the capacitor array during the sampling phase comprises: When the output signal of the comparator is 0 and the voltage of the lower plate of the IJth capacitor set in the sampling phase is a negative reference voltage, the reference voltage of the lower plate of the IJth positive phase terminal capacitor from the J+1th comparison to the end of the comparison phase is updated to a positive reference voltage.

10. A successive approximation analog-to-digital converter, the successive approximation analog-to-digital converter comprising a capacitor array, a plurality of switches, a comparator and a successive approximation logic control module, the capacitor array comprising a positive phase end capacitor array and a negative phase end capacitor array, the positive phase end capacitor array comprising a positive phase end redundant capacitor and an I-1-bit positive phase end capacitor, the negative phase end capacitor array comprising a negative phase end redundant capacitor and an I-1-bit negative phase end capacitor, the capacitor array being a weighted capacitor array, the upper board of the positive phase end capacitor array being connected to the positive input terminal of the comparator, the upper board of the negative phase end capacitor array being connected to the negative input terminal of the comparator, the capacitor array being a weighted capacitor array, characterized in that: The successive approximation logic control module is configured to set the initial reference voltage of the lower plate of the capacitor in the variable capacitor array according to the actual ratio between the input common mode voltage of the input signal and the reference common mode voltage during the sampling phase; wherein the input common mode voltage is determined according to the differential negative part and the differential positive part of the voltage of the input signal; Switching switches corresponding to capacitors in the variable capacitor array according to a set initial reference voltage; After switching, sampling the differential positive part and the differential negative part of the voltage of the input signal respectively through the switch connected to the positive input terminal and the negative input terminal of the comparator; In a comparison phase after sampling, a reference voltage of a lower plate of a capacitor in the capacitor array is updated, and switches corresponding to the capacitors in the capacitor array are switched according to the updated reference voltage to determine a digital representation of the voltage of the input signal by successive approximation; In which, when the theoretical ratio between the input common-mode voltage and the reference common-mode voltage is divided into 2N-1 intervals, the variable capacitor array includes N consecutive capacitors starting from the highest-order capacitor in the capacitor array, N is an integer greater than 1 and less than I, and I represents the conversion accuracy of the successive approximation analog-to-digital converter.

11. The successive approximation analog-to-digital converter of claim 10, wherein: The successive approximation logic control module is configured to set the initial reference voltage of the lower plate of the capacitor in the fixed capacitor array to a negative reference voltage during the sampling phase, and to switch the switches corresponding to the capacitors in the fixed capacitor array according to the initial reference voltage of the lower plate of the capacitor in the fixed capacitor array.