Oversampling analog-to-digital converter
By using oversampling successive approximation register ADC and rotation logic in the analog-to-digital converter, the problem of DNL error is solved, the linearity and accuracy of the ADC are improved, and more efficient analog-to-digital conversion is achieved.
Patent Information
- Application Number
- CN202380032275.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-07-27
- Filing Date
- 2023-04-04
- Publication Date
- 2024-11-22
AI Technical Summary
Differential nonlinearity (DNL) error in analog-to-digital converters (ADCs) results in a nonlinear relationship between the analog input voltage and the digital output code, affecting the accuracy and performance of the ADC.
Oversampled successive approximation register (SAR) ADC is used and rotation logic is introduced into the capacitive DAC (CDAC). Through cascading arrangement and rotation control signals, the component mismatch of the capacitor is cancelled and DNL error is reduced.
It effectively reduces DNL error, improves the linearity and accuracy of ADC, reduces the error amplitude, and improves the accuracy of analog-to-digital conversion.
Smart Images

Figure CN119013898A_ABST
Abstract
Description
Technical Background
[0001] An analog-to-digital converter (ADC) converts an analog input signal (such as voltage) into a digital output signal (also called a "digital code" or simply "code"). The ADC uniquely represents all analog inputs within a certain range through a finite number of digital output codes. Since the analog scale is continuous and the digital code scale is discrete, there is a quantization process that introduces errors. Accordingly, the ADC will resolve a small range of analog voltages to the same digital output code. Therefore, the relationship between the analog input voltage and the digital output code is a step-like graph. The width of a step is defined as a least significant bit (LSB) and is often used as a reference unit for other quantities or units of the full analog range. For example, half an LSB represents an analog quantity equal to half the analog resolution. Summary of the invention
[0002] In one example of the present specification, an ADC includes: an input terminal adapted to receive an input voltage; an output terminal; and a comparator having a first input terminal coupled to the input terminal of the ADC, a second input terminal, and an output terminal. The comparator is configured to provide a comparator output at the output terminal in response to the input voltage and a digital-to-analog converter (DAC) output voltage. The ADC also includes a successive approximation register (SAR) circuit, the SAR circuit including an input terminal coupled to the output terminal of the comparator, and including the SAR to store an n-bit digital code, which is initialized to an initial value at the beginning of a conversion phase of the ADC. The SAR circuit is configured to: provide an n-bit digital code as an output at the output terminal of the SAR circuit; and update the n-bit digital code in response to the comparator output, wherein the output of the ADC responds to the n-bit digital code at the end of the conversion phase. The ADC also includes a DAC having an input terminal and an output terminal coupled to the second input terminal of the comparator, wherein the DAC is configured to provide a DAC output voltage in response to the n-bit digital code and a reference voltage. The DAC includes: an m-bit capacitive DAC (CDAC); and an nm-bit resistive DAC (RDAC) coupled between an input terminal of the DAC and the m-bit CDAC, wherein the RDAC is configured to provide an intermediate DAC voltage in response to nm least significant bits of an n-bit digital code and a reference voltage. The m-bit CDAC is configured to provide a DAC output voltage in response to m most significant bits of an n-bit digital code, the intermediate DAC voltage, and a reference voltage.
[0003] In another example of the present specification, a method of operating an ADC is provided, the ADC including a digital-to-analog converter (DAC), the DAC including an m-bit capacitive DAC (CDAC) and an nm-bit resistive DAC (RDAC). The method includes: comparing an input voltage of the ADC with an output voltage of the DAC; updating an n-bit digital code in response to the comparison, wherein the output of the ADC responds to the n-bit digital code at the end of a conversion phase; providing an intermediate DAC voltage by the RDAC in response to the nm least significant bits of the n-bit digital code and a reference voltage; and providing a DAC output voltage by the CDAC in response to the m most significant bits of the n-bit digital code, the intermediate DAC voltage and the reference voltage.
[0004] In another example of the present specification, an ADC includes an input terminal operable to receive an input voltage and an output terminal operable to provide a digital representation of the input voltage. The ADC also includes a comparator having a first input terminal coupled to the input terminal of the ADC, a second input terminal, and an output terminal, the comparator being configured to provide a comparator output at the output terminal in response to the input voltage and a digital-to-analog converter (DAC) output voltage. The ADC also includes a DAC having an input terminal and an output terminal coupled to the second input terminal of the comparator, wherein the DAC is configured to provide a DAC output voltage in response to an n-bit digital code from a successive approximation register (SAR) circuit and a reference voltage. The DAC includes: an m-bit capacitive DAC (CDAC), wherein m is an integer greater than zero but less than n; and an nm-bit resistive DAC (RDAC) coupled between the input terminal of the DAC and the m-bit CDAC, wherein the RDAC is configured to provide an intermediate DAC voltage in response to the nm least significant bits of the n-bit digital code and a reference voltage. The m-bit CDAC is configured to provide a DAC output voltage in response to the m most significant bits of the n-bit digital code, the intermediate DAC voltage, and the reference voltage. The output of the ADC is based on the 2 m The sum of the n-bit digital codes at the end of each of the conversion sub-stages. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] Figure 1 is a schematic block diagram of an analog-to-digital converter (ADC) in various examples;
[0006] Figure 2 yes Figure 1 A schematic block diagram of an ADC, wherein in various examples, a feedback digital-to-analog converter (DAC) is implemented as a combination of a resistive DAC and a capacitive DAC;
[0007] Figure 3 In various examples Figure 2 A schematic circuit diagram of a capacitive DAC;
[0008] Figure 4 is to include rotation logic in various examples Figure 2 A schematic circuit diagram of a capacitive DAC;
[0009] Figure 5 is in a conversion phase that includes multiple conversion sub-phases in various examples Figure 2 The waveform diagram of the operation of the ADC;
[0010] Fig. 6A and Figure 6B is a schematic circuit diagram of a 1-bit capacitive DAC showing the reduction of differential nonlinearity errors resulting from various examples of the present specification; and
[0011] Figure 7 are flow charts of methods in various examples.
[0012] The same reference numbers or other reference designators are used in the drawings to indicate the same or similar features (functionally and / or structurally). DETAILED DESCRIPTION
[0013] An ADC may be used to sample an analog input signal (e.g., voltage) and convert it into a digital output signal or code. For example, integrated circuits (ICs) used for power management (e.g., power ICs), such as those used in battery chargers for electronic devices, use ADCs to monitor various operating parameters (e.g., indicated by corresponding analog voltages). The ADC provides digital codes indicative of the operating parameters, and the power IC may adjust its operation in response to these digital codes. For example, a sense signal (an analog signal representing a voltage and / or current) may be provided to an ADC, which converts the sense signal into a digital representation of the sense signal, and the digital signal is provided to a controller / processor, which manipulates / processes the digital signal and in turn provides a control signal to a power management device to control the operation of the power management device.
[0014] There are various types of errors in ADCs. One example of such an error is a differential nonlinearity (DNL) error. As described above, since the analog voltage is a continuous signal and the digital code is a discrete value, the relationship between the digital output code of the ADC and the analog input voltage has a step shape. For a digital-to-analog converter (DAC), the analog output voltage is determined based on the digital input code, resulting in a step-by-step increase in voltage from one digital code to the next. The ADC may include an internal DAC, and the linearity of this internal DAC affects the linearity of the ADC. The width of each step of the ADC depends on the resolution of the ADC and the component mismatch inside the ADC (including the components of the DAC inside the ADC). As further described below, such component mismatch may cause DNL errors. DNL error refers to the difference between the actual step width between consecutive digital codes and the step width of the ideal ADC (or the difference between the step heights between the actual DAC and the ideal DAC). The step width of an ideal ADC may be referred to as "1LSB" (where "LSB" means the least / less significant bit). DNL error may be expressed in LSBs. For example, a +1 / 2LSB DNL error means that the step width is 50% greater than the ideal ADC step width.
[0015] Although the relationship between the analog input and digital output code is linear for an ideal ADC, DNL errors can result in a nonlinear relationship between the analog input and digital output codes. Therefore, it is useful to reduce DNL errors in ADCs.
[0016] The examples of the present specification solve the above problems by oversampling a successive approximation register (SAR) ADC, where the sampling speed of the ADC is greater than (e.g., the sampling period of the ADC is less than) the system timing constraints of the analog input voltage. In an oversampled ADC, the analog input voltage is sampled by the ADC at a rate higher than the minimum sampling rate (e.g., the Nyquist sampling rate). For example, when an n-bit ADC without oversampling is used, a 100 Hz (Hz) input signal is sampled at 200 Hz (e.g., at least a Nyquist sampling rate equal to 2x 100 Hz) to provide a digital output code of the ADC. However, for example, when oversampling is performed with a multiple of k=4, the same 100 Hz input signal is sampled at 800 Hz (e.g., kx 2x 100 Hz). In this example, k=4 is referred to as an oversampling rate or an oversampling factor. In some examples, the output of the ADC may be the sum of the resulting digital codes of k samples, while in other examples, the output of the ADC may be the average of the resulting digital codes of k samples.
[0017] Regardless of the specific oversampling rate of the SAR ADC, the ADC also includes a feedback DAC that provides some parts of the successive approximation function of the binary search implemented by the SAR ADC. Typically, the feedback DAC provides a DAC output voltage (e.g., an analog output) in response to an n-bit digital code input. The specific functions of the feedback DAC will be described in more detail below. However, in the examples of the present specification, the feedback DAC includes both a resistive DAC (RDAC) and a capacitive DAC (CDAC). The RDAC and CDAC are arranged in a cascade, wherein the RDAC provides an intermediate DAC voltage as its output, which responds to the nm LSBs of the n-bit digital code. In the cascade arrangement, the CDAC provides a DAC output voltage as its output, which responds to the intermediate DAC voltage from the RDAC and the m most significant bits (MSBs) of the n-bit digital code.
[0018] In some examples, the SAR ADC has an oversampling ratio of 2 m (For example, k=2 m ). The ADC conversion stage consists of 2 m In each conversion substage, the ADC provides an intermediate digital code, and the output of the ADC is based on the m The output of the ADC can be the intermediate digital code from 2 conversion sub-stages. m The sum of the intermediate digital codes from the two conversion sub-stages, or the output of the ADC can be m The average value of the intermediate digital codes of the conversion sub-stages.
[0019] In the example described below, CDAC includes 2 m capacitors. Ideally, 2 m The capacitors have equal capacitance values. However, as mentioned above, in real applications, component mismatch is possible, which may cause DNL errors (or increase in the magnitude of DNL errors). To address DNL errors introduced or exacerbated by component mismatch of the CDAC, the CDAC includes rotation logic that is configured to m In each of the conversion sub-stages, the intermediate DAC voltage from the RDAC is provided to the 2 m Different capacitors in the capacitors.
[0020] In one example, m=2, so there are 4 conversion subphases, and CDAC includes 4 capacitors. In this example, during the first conversion subphase, the rotation logic is configured to provide the intermediate DAC voltage from the RDAC to the first capacitor of the CDAC. During the second conversion subphase, the rotation logic is configured to provide the intermediate DAC voltage from the RDAC to the second capacitor of the CDAC. During the third conversion subphase, the rotation logic is configured to provide the intermediate DAC voltage from the RDAC to the third capacitor of the CDAC. Finally, during the fourth conversion subphase, the rotation logic is configured to provide the intermediate DAC voltage from the RDAC to the fourth capacitor of the CDAC.
[0021] As described further below, the rotation logic of the CDAC may also be configured to control the remaining capacitors of the CDAC (eg, the two capacitors other than the capacitors that provide the intermediate DAC voltage) in a rotational manner. m -1 capacitor). For example, the capacitors in the CDAC can be based on various control signals (e.g., 2 m -1 control signal) is coupled to a reference voltage source or a ground terminal. Continuing with the above example where m=2, there are therefore 3 control signals. In this example, during the first conversion subphase, the rotation logic is configured to control the coupling of the second capacitor to the first control signal. During the second conversion subphase, the rotation logic is configured to control the coupling of the third capacitor to the first control signal. During the third conversion subphase, the rotation logic is configured to control the coupling of the fourth capacitor to the first control signal. Finally, during the fourth conversion subphase, the rotation logic is configured to control the coupling of the first capacitor to the first control signal. The rotation logic is similarly configured to apply other control signals in a rotational manner, which will be further described below.
[0022] As mentioned above, the output of the ADC can be from 2 m The sum (or average) of the intermediate digital codes of the conversion sub-stages is obtained by rotating the control signal of the CDAC capacitor and the control signal of the 2 m Each of the conversion sub-stages is provided with a capacitor of the intermediate DAC voltage from the RDAC, and component mismatches that may exist in the capacitors of the CDAC are effectively cancelled out at the output of the ADC. Reducing the effects of component mismatches that exist in the CDAC will also reduce the DNL error of the ADC, which is useful as described above. These and other examples are further described below with reference to the accompanying drawings.
[0023] Figure 11 is a schematic block diagram of a device 100 in various examples, the device 100 being an analog-to-digital converter (ADC) 100. In particular, the ADC 100 is a SAR ADC 100, although for brevity it is referred to as ADC 100 hereinafter. The ADC 100 is depicted in a schematic manner, and the specific circuit implementations of the various functional blocks may differ from those shown in the figure. The ADC 100 is configured to receive an analog input voltage (VIN) as an input and provide a digital code as an output. The digital code output may typically be an n-bit digital code (e.g., (ADC_DATA_OUT[n-1:0]).
[0024] ADC 100 includes a comparator 102 having a non-inverting input (+), an inverting input (-), and a comparator output (COMP_OUT). Figure 1 In the example of , ADC 100 includes a sample / hold circuit 104 that is configured to receive (e.g., sample) an analog input voltage and provide (e.g., hold) a stable output voltage corresponding to the analog input voltage. In this example, the output of the sample / hold circuit 104 is provided to the non-inverting input of the comparator 102.
[0025] The ADC 100 also includes a DAC 106 configured to provide a DAC output voltage. The output of the DAC 106 is provided to the inverting input of the comparator 102. The DAC 106 will be described further below.
[0026] The ADC 100 includes a SAR circuit 108 that includes a register (e.g., a SAR) configured to store an n-bit digital code. The SAR circuit 108 is coupled to the output of the comparator 102 and is thus configured to receive the output of the comparator 102. The n-bit digital code stored in the SAR circuit 108 is initialized to an initial value at the beginning of a conversion phase of the ADC 100, which facilitates implementation of a binary search algorithm (e.g., a successive approximation binary search). For example, the n-bit digital code stored in the SAR may be initialized to have the MSB (most / more significant bit) be 1, followed by all 0s (e.g., 10...0).
[0027] SAR circuit 108 is configured to provide as an output an n-bit digital code stored in SAR circuit 108. SAR circuit 108 is also configured to update the n-bit digital code stored in SAR in response to the value output by comparator 102. The output of ADC 100 is based on the n-bit digital code stored in SAR circuit 108 at the end of the conversion phase.
[0028] The n-bit digital code stored in the SAR circuit 108 is provided to the DAC 106 (e.g., DAC_DATA_IN[n-1:0]), which is configured to convert the received n-bit digital code into an analog voltage and provide the resulting analog voltage as the output voltage of the DAC 106. The reference voltage generator 110 provides a reference voltage (VREF), which may be a full-scale voltage, to the DAC 106. The DAC 106 converts the n-bit digital code into the output voltage of the DAC 106 using the reference voltage.
[0029] Comparator 102 effectively compares an analog input voltage (VIN) and the output of DAC 106 and provides the result of the comparison to SAR circuit 108. SAR circuit 108 provides an n-bit digital code as an approximate digital code of VIN to DAC 106. DAC 106 in turn provides an analog voltage representing the approximate digital code from SAR circuit 108 to comparator 102.
[0030] As described above, the SAR circuit 108 may be initialized to store an n-bit digital code having the MSB equal to 1 followed by all 0s. Thus, the DAC 106 initially provides an analog voltage equivalent to the n-bit digital code (e.g., 10…0) from the SAR circuit 108 to the comparator 102, which may be, for example, VREF / 2. The comparator 102 compares the voltage from the DAC 106 to the analog input voltage (VIN). Thus, if VIN>VREF / 2, the output of the comparator 102 is asserted (e.g., the output becomes “high”); if VIN<VREF / 2, the output of the comparator 102 is de-asserted (e.g., the output becomes “low”). The SAR circuit 108 is configured to set the MSB-1 bit in response to the output of the comparator 102. For example, after initialization, if the output of the comparator 102 is asserted, the SAR circuit 108 updates the MSB-1 bit of the n-bit digital code to 1; if the output of the comparator 102 is de-asserted, the SAR circuit 108 updates the second MSB of the n-bit digital code to 0. This binary search cycle is repeated until each bit of the n-bit digital code stored in the SAR circuit 108 has been tested. When all n bits of the n-bit digital code stored in the SAR circuit 108 have been tested, the conversion phase (or sub-phase) ends, and the n-bit digital code stored in the SAR circuit 108 is the output of the ADC 100.
[0031] Figure 2 yes Figure 1Schematic block diagram of the ADC 100, where in various examples, the feedback DAC 106 is implemented as a combination of the RDAC 202 and the CDAC 204. In Figure 2 the elements with the same numbers as in Figure 1 have the same general functions as described above with respect to Figure 1 and the additional elements and their features specific to the following description Figure 2 are described below.
[0032] The RDAC 202 can be a resistor-based ladder RDAC, and the CDAC 204 will be described in further detail below. As described above, the DAC 106 is an n-bit DAC, and the SAR circuit 108 is configured to provide the n-bit digital code it stores as an output to the DAC 106 (where for example, m bits go to the CDAC 204 and n - m bits go to the RDAC 202). The CDAC 204 is an m-bit CDAC, and the RDAC 202 is an n - m-bit RDAC. Accordingly, in the n-bit digital code from the SAR circuit 108, n - m least significant bits (e.g., DAC_DATA_IN[n - m - 1:0]) are provided to the RDAC 202, and m most significant bits (e.g., DAC_DATA_IN[n - 1:n - m]) are provided to the CDAC 204. In some examples, m can be greater than 0, and m can be less than n (e.g., 0 < m < n, where m and n are integer values).
[0033] In addition, as described above, the RDAC 202 and the CDAC 204 are arranged in a cascade configuration, where the output of the RDAC 202 is an intermediate DAC voltage, which is provided to the CDAC 204 as an input.
[0034] The RDAC 202 provides the intermediate DAC voltage in response to the n - m least significant bits of the n-bit digital code received from the SAR circuit 108 and the VREF from the reference voltage generator 110. Specifically, the RDAC 202 is configured to convert DAC_DATA_IN[n - m - 1:0] into an analog voltage and provide the resulting analog voltage as the intermediate DAC voltage. The RDAC 202 also uses the VREF to convert DAC_DATA_IN[n - m - 1:0] into the intermediate DAC voltage.
[0035] In Figure 2 the cascade configuration shown, the CDAC 204 provides the output voltage of the DAC 106 as its output, which output voltage is in response to the intermediate DAC voltage from the RDAC 202, the m most significant bits of the n-bit digital code from the SAR circuit 108, and the VREF from the reference voltage generator 110.
[0036] Therefore, in Figure 2 In the cascade arrangement shown, the nm-bit LSBs of the n-bit digital code from the SAR circuit 108 are interpreted by the RDAC 202, while the m-bit MSBs of the n-bit digital code from the SAR circuit 108 are interpreted by the CDAC 204. Figure 2 The overall function of DAC106 is as described above. Figure 1 As described, where this functionality is provided by a cascade arrangement of RDAC 202 and CDAC 204.
[0037] As described above, in some examples, the oversampling rate of ADC 100 is 2 m (For example, k=2 m ). Therefore, the conversion phase of ADC 100 includes 2 m At the end of each conversion subphase (e.g., when all n bits of the n-bit digital code stored in the SAR circuit 108 have been tested), the n-bit digital code stored in the SAR circuit 108 is provided to the output register 206. The output of the SAR circuit 108 at the end of each conversion subphase can be referred to as an intermediate digital code, and thus the output register 206 is configured to store the intermediate digital code corresponding to 2 m The conversion sub-stages correspond to 2 m The middle digit code.
[0038] The output of the ADC 100 is based on the intermediate digital codes stored in the output register 206 after the last conversion sub-stage (e.g., the fourth conversion sub-stage when m=2). Continuing with the example of m=2, the output of the ADC 100 may be the sum of the four intermediate digital codes stored in the output register 206, or the output of the ADC 100 may be the average of the four intermediate digital codes stored in the output register 206.
[0039] The oversampling ADC 100 described herein reduces DNL errors in one or more ways. First, in some examples, Figure 2 The cascade arrangement of the DAC 106 in the embodiment results in the linearity requirement of the RDAC 202 being reduced to 1 / (2 m ), which reduces the DNL error of ADC 100. Second, as described further below, CDAC 204 includes rotation logic that is configured to rotate the control signals for the capacitors in CDAC 204 and to rotate the control signals between 2 m The intermediate DAC voltage from RDAC 202 in each of the conversion sub-stages is provided to the capacitor of CDAC 204. Therefore, component mismatches that may exist in the capacitor of CDAC 204 are effectively cancelled in the output of ADC 100, which in turn further reduces the DNL error of ADC 100.
[0040] Figure 3 In various examples Figure 2 A schematic circuit diagram of the CDAC 204 is shown in FIG. Figure 3 In order to introduce the general function of CDAC 204, CDAC 204 is depicted without the above-mentioned rotation logic. Figure 4 The CDAC 204 is shown including rotation logic 402 in various examples.
[0041] exist Figure 3 In the example of , m=2, so CDAC 204 includes four capacitors: a first capacitor 302, a second capacitor 304, a third capacitor 306, and a fourth capacitor 308, which can be unit capacitors (e.g., having equal rated capacitance). Capacitors 302, 304, 306, 308 can be alternately referred to as C0, C1, C2, C3, respectively. In this example, the DNL error of ADC 100 depends on the matching between unit capacitors 302, 304, 306, 308. In addition, for the purpose of explanation, in this example n=12, so CDAC 204 receives DAC_DATA_IN[11:10] from SAR circuit 108.
[0042] During the sampling phase, signal S is asserted (e.g., has a logic “high” or logic “1” value, such that the switch is “closed” or conducting), which causes each of capacitors 302, 304, 306, 308 to couple with the input voltage node of ADC 100 and thereby be charged to the analog input voltage VIN. This effectively acts as Figure 1 and Figure 2 100 , as will be further described below. The conversion phase of the ADC 100 begins after the sampling phase, when the signal S is de-asserted (e.g., has a logic "low" or logic "0" value to make the switch "open" or non-conducting), and the capacitors 302, 304, 306, 308 are decoupled from the input voltage node of the ADC 100. In addition, during the conversion phase, the signal C is asserted. The signals S and C can be generated internally to the ADC 100, for example, by the SAR circuit 108.
[0043] As described above, the intermediate DAC voltage from RDAC 202 is provided to one of the capacitors of CDAC 204, namely Figure 3 . Accordingly, capacitor 302 receives the output of RDAC 202 because signal C is asserted during the conversion phase. The remaining capacitors 304, 306, 308 are coupled to the reference voltage generator 110 (e.g., to receive VREF) or ground terminals based on various control signals.
[0044] In particular, the CDAC 204 is configured to derive three control signals (eg, 2 ) from the m-bit MSB of the n-bit digital code (eg, DAC_DATA_IN[11:10]) from the SAR circuit 108. m -1). Figure 3 In the example, the control signals are b1, b2 and b3 ( Figure 3 The control signals may be thermometric-decoded values. For example:
[0045] b1=DAC_DATA_IN
[11] +DAC_DATA_IN
[10] ;
[0046] b2 = DAC_DATA_IN
[11] ; and
[0047] b3=DAC_DATA_IN
[11] .DAC_DATA_IN
[10] ,
[0048] Where '+' represents a logical OR operation, and '.' represents a logical AND operation.
[0049] Therefore, the capacitors 304 , 306 , 308 are coupled to the reference voltage generator 110 or the ground terminal based on the input code DAC_DATA_IN[11:10] from the SAR circuit 108 .
[0050] As described above, the SAR circuit 108 can be initialized to store an n-bit digital code having an MSB equal to 1. Accordingly, the CDAC 204 initially receives DAC_DATA_IN[11:10] equal to 0b10. Then, initially b1 is asserted (e.g., 1 OR 0 is 1) and the capacitor 304 (e.g., its bottom plate) is coupled to the reference voltage generator 110, b2 is asserted (e.g., DAC_DATA_IN
[11] is 1) and the capacitor 306 (e.g., its bottom plate) is coupled to the reference voltage generator 110, while b3 is de-asserted (e.g., 1 AND 0 is 0) and the capacitor 308 (e.g., its bottom plate) is coupled to the ground terminal. Additionally, since DAC_DATA_IN[9:0] are all initially 0, the intermediate DAC voltage from the RDAC 202 is also the ground terminal voltage, so the capacitor 302 (e.g., its bottom plate) is effectively coupled to the ground terminal. Accordingly, during the conversion, the top plates of the capacitors 302, 304, 306, 308 are floating, such that when the bottom plates are coupled to the reference voltage generator 110 or the ground terminal, the top plates are biased accordingly because the net charge on the respective capacitors does not change. Thus, based on the initialization value of DAC_DATA_IN[11:10], the net voltage at the DAC_OUT terminal is VREF / 2 – VIN (ignoring any parasitic capacitance for simplicity).
[0051] As a result, when VIN > VREF / 2, Figure 3 the DAC_OUT terminal in Figure 1 has a negative voltage, so the output of the comparator 102 is asserted. When VIN < VREF / 2, the DAC_OUT terminal has a positive voltage, so the output of the comparator 102 is de-asserted. In this way, the capacitors 302, 304, 306, 308 perform Figure 2 the function of the sample / hold circuit 104 in Figure 3 and the function of the comparator 102 is implemented by the example single-ended coupling shown in
[0052] where the DAC_OUT terminal is coupled to the inverting input of the comparator 102 and the non-inverting input of the comparator 102 is coupled to the ground terminal. However, regardless of the specific implementation of the comparator 102, the comparator 102 provides its output based on the comparison of VIN with the output voltage of the DAC 106.
[0053] The SAR binary search algorithm continues to be executed as described above, with the SAR circuit 108 setting progressively less significant bits of the DAC_DATA_IN digital code in each iteration until all n bits of the DAC_DATA_IN digital code have been determined. The output of the CDAC 204 is the output of the DAC 106, which is based on the intermediate DAC voltage (e.g., RDAC_OUTPUT) from the RDAC 202, which in turn is based on DAC_DATA_IN[9:0].
[0054] exist Figure 3 In the example of , CDAC 204 is implemented in a single-ended manner because comparator 102 compares the voltage at the DAC_OUT terminal to the voltage at the ground terminal. However, in other examples, CDAC 204 can be implemented in a pseudo-differential manner by coupling the non-inverting input of comparator 102 to the output of a second CDAC (not shown for simplicity), the output of which is coupled to the ground terminal (or common mode terminal) during the sampling phase (e.g., when the S signal is asserted) and coupled to the ground terminal during the conversion phase (e.g., when the C signal is asserted). Pseudo-differential implementations can improve CDAC performance, for example, in the presence of non-ideal conditions including clock feedthrough and switch charge injection. In other examples, CDAC 204 can be implemented in a fully differential manner by coupling the non-inverting input of comparator 102 to the output of a second DAC, which can be a mirror image of DAC 106 but receives a negative reference voltage (e.g., -VREF). In this example, SAR circuit 108 can be modified to include logic that allows the output code to be negative.
[0055] Figure 4 In various examples, the rotation logic 402 is included Figure 2 and Figure 3 Schematic circuit diagram of CDAC 204. Rotation logic 402 is configured to provide an intermediate DAC voltage (e.g., RDAC_OUTPUT) from RDAC 202 to different ones of capacitors 302, 304, 306, 308 in each of four conversion sub-phases (e.g., in the illustrated example where m=2). Rotation logic 402 is also configured to control the remaining capacitors of CDAC 204 (e.g., 2 capacitors other than the capacitors to which the intermediate DAC voltage is provided). m For example, the rotation logic 402 may be configured to control the coupling of each remaining capacitor of the CDAC 204 to a different one of the control signals (eg, b1, b2, b3) in each of the four conversion sub-phases.
[0056] exist Figure 4In order to facilitate the description, some elements are simplified. Figure 3 , the specific coupling of capacitors 302, 304, 306, 308 to the reference voltage generator 110 (eg, VREF) or the ground node is removed. However, it is possible to Figure 3 Control signals b1, b2, b3 are applied in a similar manner as described (eg, when b1 / b2 / b3 are asserted, the associated capacitors are coupled to the reference voltage generator 110, and when b1 / b2 / b3 are de-asserted, the associated capacitors are coupled to the ground terminal).
[0057] In one example, the rotation logic 402 may be configured to implement the rotation algorithm 404. The rotation logic 402 is not necessarily limited to a particular rotation algorithm 404; rather, the rotation algorithm 404 is one such example that may be implemented by the rotation logic 402.
[0058] Referring to the rotation algorithm 404 and continuing with the example of m=2, there are four conversion sub-phases. In a first conversion sub-phase represented by block 406 , the rotation logic 402 is configured to provide the intermediate DAC voltage to the first capacitor 302 .
[0059] In addition, during the first conversion sub-phase, the rotation logic 402 is configured to control the coupling of the second capacitor 304 with the first control signal b1. For example, if b1 is asserted, the second capacitor 304 is coupled to the reference voltage generator 110, and if b1 is de-asserted, the second capacitor 304 is coupled to the ground terminal.
[0060] During the first conversion sub-phase, the rotation logic 402 is also configured to control the coupling of the third capacitor 306 with the second control signal b2. For example, if b2 is asserted, the third capacitor 306 is coupled to the reference voltage generator 110, and if b2 is de-asserted, the third capacitor 306 is coupled to the ground terminal.
[0061] During the first conversion sub-phase, the rotation logic 402 is also configured to control the coupling of the fourth capacitor 308 with the third control signal b3. For example, if b3 is asserted, the fourth capacitor 308 is coupled to the reference voltage generator 110, and if b3 is de-asserted, the fourth capacitor 308 is coupled to the ground terminal.
[0062] In a second conversion sub-phase represented by block 408 , the rotation logic 402 is configured to provide the intermediate DAC voltage to the second capacitor 304 .
[0063] In addition, during the second conversion sub-phase, the rotation logic 402 is configured to control the coupling of the third capacitor 306 with the first control signal b1. For example, if b1 is asserted, the third capacitor 306 is coupled to the reference voltage generator 110, and if b1 is de-asserted, the third capacitor 306 is coupled to the ground terminal.
[0064] During the second conversion sub-phase, the rotation logic 402 is also configured to control the coupling of the fourth capacitor 308 with the second control signal b2. For example, if b2 is asserted, the fourth capacitor 308 is coupled to the reference voltage generator 110, and if b2 is de-asserted, the fourth capacitor 308 is coupled to the ground terminal.
[0065] During the second conversion sub-phase, the rotation logic 402 is also configured to control the coupling of the first capacitor 302 with the third control signal b3. For example, if b3 is asserted, the first capacitor 302 is coupled to the reference voltage generator 110, and if b3 is de-asserted, the first capacitor 302 is coupled to the ground terminal.
[0066] In a third conversion sub-phase represented by block 410 , the rotation logic 402 is configured to provide the intermediate DAC voltage to the third capacitor 306 .
[0067] In addition, during the third conversion sub-phase, the rotation logic 402 is configured to control the coupling of the fourth capacitor 308 with the first control signal b1. For example, if b1 is asserted, the fourth capacitor 308 is coupled to the reference voltage generator 110, and if b1 is de-asserted, the fourth capacitor 308 is coupled to the ground terminal.
[0068] During the third conversion sub-phase, the rotation logic 402 is also configured to control the coupling of the first capacitor 302 with the second control signal b2. For example, if b2 is asserted, the first capacitor 302 is coupled to the reference voltage generator 110, and if b2 is de-asserted, the first capacitor 402 is coupled to the ground terminal.
[0069] During the third conversion sub-phase, the rotation logic 402 is also configured to control the coupling of the second capacitor 304 with the third control signal b3. For example, if b3 is asserted, the second capacitor 304 is coupled to the reference voltage generator 110, and if b3 is de-asserted, the second capacitor 304 is coupled to the ground terminal.
[0070] In a fourth conversion subphase represented by block 412 , the rotation logic 402 is configured to provide the intermediate DAC voltage to the fourth capacitor 308 .
[0071] In addition, during the fourth conversion sub-phase, the rotation logic 402 is configured to control the coupling of the first capacitor 302 with the first control signal b1. For example, if b1 is asserted, the first capacitor 302 is coupled to the reference voltage generator 110, and if b1 is de-asserted, the first capacitor 302 is coupled to the ground terminal.
[0072] During the fourth conversion sub-phase, the rotation logic 402 is also configured to control the coupling of the second capacitor 304 to the second control signal b2. For example, if b2 is asserted, the second capacitor 304 is coupled to the reference voltage generator 110, and if b2 is de-asserted, the second capacitor 304 is coupled to the ground terminal.
[0073] During the fourth conversion sub-phase, the rotation logic 402 is also configured to control the coupling of the third capacitor 306 with the third control signal b3. For example, if b3 is asserted, the third capacitor 306 is coupled to the reference voltage generator 110, and if b3 is de-asserted, the third capacitor 306 is coupled to the ground terminal.
[0074] As described above, the output of ADC 100 may be a combination of four (eg, 2 m The sum (or average) of the intermediate digital codes generated by the conversion sub-stages. m Each of the conversion sub-stages rotates the control signals for the capacitors of CDAC 204 and the capacitors provided with the intermediate DAC voltage from RDAC 202, so that component mismatches that may exist in the capacitors of CDAC 204 are effectively cancelled out in the output of ADC 100. Reducing the effects of component mismatches that exist in the CDAC also reduces the DNL error of ADC 100, which is useful as described above.
[0075] Figure 5 In various examples Figure 2 A waveform diagram 500 is provided showing the operation of the ADC 100. Figure 5In the example of , as described above, m=2, so there are four conversion sub-phases. In the chart 500, the EN_ADC waveform is an enable signal for the above-mentioned ADC 100. The S signal waveform and the C signal waveform belong to the S signal and the C signal indicating the sampling phase and the conversion phase, respectively. The ADC_DONE waveform is a conversion completion signal, which indicates when the conversion phase (or sub-phase) is completed, and therefore indicates when the n-bit digital code of the SAR circuit 108 represents a determined digital code corresponding to the analog input voltage VIN. Finally, the ADC_DATA_OUT waveform indicates when the n-bit digital code obtained from the conversion sub-phase (e.g., the intermediate digital code for the sub-phase) is determined and therefore stored in the output register 206. For example, DATA1 is the n-bit digital code obtained from the first conversion sub-phase, DATA2 is the n-bit digital code obtained from the second conversion sub-phase, DATA3 is the n-bit digital code obtained from the third conversion sub-phase, and DATA4 is the n-bit digital code obtained from the fourth conversion sub-phase.
[0076] In the diagram 500, at time 502, the enable signal for the ADC 100 is asserted, and thus the S signal is also asserted, which begins a first sampling phase. The first sampling phase lasts from time 502 to time 504, at which time the analog input voltage VIN has been sampled (e.g., the capacitors 302, 304, 306, 308 are charged to VIN). At time 504, the S signal is de-asserted, which indicates the end of the sampling phase. In addition, the C signal is asserted, which indicates the beginning of the first conversion subphase. At the beginning of the first conversion subphase, the SAR circuit 108 can be initialized to store an n-bit digital code with the MSB equal to 1. Perform as described above with respect to Figure 3 and Figure 4 The SAR binary search algorithm is described, wherein the SAR circuit 108 sets progressively less significant bits of the DAC_DATA_IN digital code in each iteration until all n bits of the DAC_DATA_IN digital code have been determined.
[0077] In the diagram 500, time 506 indicates the time at which all n bits of the DAC_DATA_IN digital code have been determined in the first conversion sub-phase and therefore the ADC_DONE signal is asserted. As described above, at the end of the conversion sub-phase, the DAC_DATA_IN digital code corresponds to the intermediate digital code provided to the output register 206 for that sub-phase. Accordingly, the ADC_DATA_OUT value (e.g., DATA1) is also available at time 506 and is therefore stored in the output register 206.
[0078] In the diagram 500, at time 508, the C signal is de-asserted to indicate the end of the first conversion sub-phase, and the S signal is asserted again, which begins the second sampling phase, and the above conversion process continues in a similar manner. The subsequent ADC_DATA_OUT values DATA2, DATA3, and DATA4 are the intermediate digital codes from the second, third, and fourth conversion sub-phases, respectively. The output of the ADC 100 can be the sum (or average) of DATA1, DATA2, DATA3, and DATA4.
[0079] exist Figure 5 In the example of FIG. 1 , each conversion subphase includes a sampling phase. However, in other examples, fewer sampling phases (e.g., one sampling phase before the start of the first conversion subphase) may be implemented, which further increases the bandwidth of ADC 100 because four (e.g., two m The conversion sub-stage can be completed in a shorter time.
[0080] Fig. 6A and Figure 6B 6 is a schematic circuit diagram of a 1-bit CDAC 600 that demonstrates the DNL error reduction resulting from the examples described herein. CDAC 600 is generally similar to CDAC 204 described above, but for a simplified example where m=1. Accordingly, CDAC 600 includes two capacitors 602, 604. Capacitors 602, 604 may be alternately referred to as C0, C1, respectively. Fig. 6A and Figure 6B In the example of , the capacitance value of capacitor 602 is C, while the capacitance value of capacitor 604 is C+Δ. As described above, this component mismatch is a source of DNL error for the DAC inside the ADC, and therefore also a source of DNL error for the ADC itself.
[0081] exist Fig. 6A and Figure 6B , the n-1-bit RDAC 610 provides similar functionality as the RDAC 110 described above. For example, the RDAC 610 provides an intermediate DAC voltage in response to the n-1 LSBs of the n-bit digital code received from the SAR circuit 108 and VREF from the reference voltage generator 110. Specifically, the RDAC 610 is configured to convert DAC_DATA_IN[n-2:0] to an analog voltage and provide the resulting analog voltage as the intermediate DAC voltage.
[0082] Fig. 6A is an example of a CDAC 600 in the first conversion sub-stage, and Figure 6Bis an example of CDAC 600 in the second conversion sub-phase. The sampling phase is as described above, where signal S is asserted to charge capacitors 602, 604 to the analog input voltage VIN. The above rotation logic is not Fig. 6A and Figure 6B 604, but the functionality implemented by the rotation logic in the conversion sub-stage is reflected by the various couplings of capacitors 602, 604.
[0083] For example, in Fig. 6A During the first conversion subphase in , the intermediate DAC voltage from the RDAC 610 is provided to the first capacitor 602 (e.g., because the signal C is asserted). In addition, during the first conversion subphase, the second capacitor 604 is coupled to the reference voltage generator 110 (e.g., to receive VREF) or to the ground terminal based on the control signal. In this simplified example, the control signal is DAC_DATA_IN[n-1] from the SAR circuit 108.
[0084] exist Figure 6B During the second conversion subphase in , the intermediate DAC voltage from the RDAC 610 is provided to the second capacitor 604 (e.g., because the signal C is asserted). In addition, during the second conversion subphase, the first capacitor 602 is coupled to the reference voltage generator 110 (e.g., to receive VREF) or the ground terminal based on DAC_DATA_IN[n-1] from the SAR circuit 108.
[0085] For ease of explanation, it may be assumed that there are no component mismatches in the RDAC 610. Under this assumption, a DNL error is introduced by the CDAC 600 when VIN transitions between values that result in an MSB transition in the output of the ADC 100 (and thus a transition of the DAC_DATA_IN MSB). For example, a DNL error occurs when VIN transitions from a first value having an expected result of digital codes 0b01…1 to a second value having an expected result of digital codes 0b10…0. For simplicity, such transitions in VIN values are referred to as “MSB transitions”.
[0086] When a MSB transition occurs in VIN, the CDAC 600 output value (DAC_OUT) is expected to change by one LSB, or VREF / 2 n However, due to the mismatch between capacitor 602 (having a capacitance value C) and capacitor 604 (having a capacitance value C+Δ), the first conversion sub-stage ( Fig. 6A ) is:
[0087]
[0088] The resulting DNL error is the sum of the actual step size in the first conversion sub-stage and VREF / 2 n The difference between the ideal step sizes of , or:
[0089]
[0090] The second conversion sub-stage ( Figure 6B ) is:
[0091]
[0092] The resulting DNL error is also the sum of the actual step size in the second conversion sub-stage and VREF / 2 n The difference between the ideal step sizes of , or:
[0093]
[0094] When Δ is equal to 0, both DNL1 and DNL2 are 0. However, even when Δ is not zero, Fig. 6A and Figure 6B The functionality of the rotation logic implemented in also effectively cancels the effects of component mismatch and reduces or eliminates DNL errors. For example, the average DAC_OUT step size for the first and second conversion sub-stages is:
[0095]
[0096] This is VREF / 2 n Therefore, the average DNL error is also 0.
[0097] Figure 7 7 is a flow chart of a method 700 in various examples. The method 700 begins at block 702, where an input voltage of the ADC is compared with an output voltage of a DAC of the ADC. For example, as described above, the analog input voltage VIN of the ADC 100 is compared with the output of the DAC 106 by the comparator 102. In addition, the DAC 106 includes an m-bit CDAC 204 and an nm-bit RDAC 202, and 0 <m<n。
[0098] The method 700 continues in block 704 where the n-bit digital code is updated in response to the comparison. For example, the SAR circuit 108 is configured to update the n-bit digital code in its SAR based on the output of the comparator 102. When the conversion phase (or sub-phase) is completed, the output of the ADC 100 is based on the n-bit digital code stored by the SAR circuit 108.
[0099] The method 700 further continues in block 706, where an intermediate DAC voltage is provided by the RDAC 202 in response to the nm LSBs of the n-bit digital code from the SAR circuit 108 and a reference voltage, such as VREF provided by the reference voltage generator 110. The method also continues in block 708, where a DAC 106 output voltage is provided by the CDAC 204 in response to the m MSBs of the n-bit digital code, the intermediate DAC voltage from the RDAC 202, and the reference voltage VREF.
[0100] The term "coupled" is used throughout this specification. In this specification, the term may encompass connections, communications, or signal paths that achieve a functional relationship consistent with this specification. For example, if device A generates a signal to control device B to perform an action, then in a first example, device A is coupled to device B; or in a second example, if the intervening component C does not substantially change the functional relationship between device A and device B, then device A is coupled to device B through an intervening component C, such that device B is controlled by device A via the control signal generated by device A.
[0101] A device that is "configured to" perform a task or function may be configured (e.g., programmed and / or hardwired) by the manufacturer at the time of manufacture to perform that function, and / or may be configurable (or reconfigurable) by a user after manufacture to perform that function and / or other additional or alternative functions. Configuration may be achieved through firmware and / or software programming of the device, through the construction and / or layout of the device's hardware components and interconnects, or a combination thereof.
[0102] Circuits or devices described herein as including certain components may instead be adapted to be coupled to these components to form the described circuit system or device. For example, a structure described as including one or more semiconductor elements (such as transistors), one or more passive elements (such as resistors, capacitors and / or inductors), and / or one or more sources (such as voltage sources and / or current sources) may instead include only semiconductor elements within a single physical device (e.g., a semiconductor die and / or an integrated circuit (IC) package), and may be adapted to be coupled to at least some of the passive elements and / or sources to form the structure during or after manufacturing (e.g., by an end user and / or a third party).
[0103] Although certain components may be described herein as components of a particular process technology, these components may be replaced with components of other process technologies. The circuits described herein may be reconfigured to include replaceable components to provide functionality that is at least partially similar to functionality available before component replacement. Unless otherwise specified, components shown as resistors generally represent any one or more elements coupled in series and / or in parallel to provide the amount of impedance represented by the resistor shown. For example, a resistor or capacitor shown and described herein as a single component may be replaced with multiple resistors or capacitors coupled in parallel between the same nodes, respectively. For example, a resistor or capacitor shown and described herein as a single component may be replaced with multiple resistors or capacitors coupled in series between the same two nodes as a single resistor or capacitor, respectively.
[0104] As used herein, the terms "terminal," "node," "interconnect," "pin," "solder ball," and "lead" may be used interchangeably. Unless expressly stated otherwise, these terms are generally used to refer to an interconnection between a device element, a circuit element, an integrated circuit, a device, or other electronic or semiconductor component, or a terminal thereof. Although some elements of the described examples are included in the integrated circuit and other elements are external to the integrated circuit, in other examples, additional or fewer features may be incorporated into the integrated circuit. In addition, some or all of the features illustrated as external to the integrated circuit may be included in the integrated circuit, and / or some features illustrated as internal to the integrated circuit may be incorporated outside the integrated circuit. As used herein, the term "integrated circuit" refers to one or more circuits that: (i) are incorporated into / on a semiconductor substrate; (ii) are incorporated into a single semiconductor package; (iii) are incorporated into the same module; and / or (iv) are incorporated into / on the same printed circuit board.
[0105] The phrase "ground voltage potential" used in the above description includes chassis ground, earth ground, floating ground, virtual ground, digital ground, common ground, and / or any other form of ground connection that is applicable or suitable for the teachings of this specification. Unless otherwise specified, "about", "approximately" or "substantially" preceding a parameter means within + / -10% of the parameter, or if the parameter is zero, a reasonable range of values around zero.
[0106] Modifications to the described embodiments are possible within the scope of the claims, and other embodiments are possible.
Claims
1. An analog-to-digital converter, i.e., ADC, comprising: an input terminal adapted to receive an input voltage; Output terminal; a comparator having a first input coupled to the input of the ADC, a second input, and an output, the comparator being configured to provide a comparator output at the output in response to the input voltage and a digital-to-analog converter output voltage, i.e., a DAC output voltage; A successive approximation register circuit, i.e., a SAR circuit, comprising an input terminal coupled to the output terminal of the comparator and comprising a SAR configured to store an n-bit digital code initialized to an initial value at the beginning of a conversion phase of the ADC, wherein the SAR circuit is configured to: providing the n-bit digital code as an output at an output terminal of the SAR circuit; and updating the n-bit digital code in response to the comparator output, wherein the output of the ADC is responsive to the n-bit digital code at the end of the conversion phase; as well as a DAC having an input and having an output coupled to the second input of the comparator, the DAC being configured to provide the DAC output voltage in response to the n-bit digital code and a reference voltage, wherein the DAC comprises: An m-bit capacitive DAC is a CDAC; and an nm-bit resistive DAC, RDAC, coupled between the input of the DAC and the m-bit CDAC, the RDAC being configured to provide an intermediate DAC voltage in response to the nm least significant bits of the n-bit digital code and the reference voltage, The m-bit CDAC is configured to provide the DAC output voltage in response to the m most significant bits of the n-bit digital code, the intermediate DAC voltage, and the reference voltage.
2. The ADC according to claim 1, wherein the conversion stage comprises 2 m The ADC further comprises an output register coupled to the output terminal of the SAR circuit and configured to m The n-bit digital code from the SAR circuit is stored at the end of each of the conversion sub-phases, wherein the output of the ADC is based on the 2 m The 2 bits stored in the output register at the end of each conversion sub-stage m The sum of the n-digit digital codes.
3. The ADC according to claim 2, wherein the output of the ADC is m The 2 bits stored in the output register at the end of each conversion sub-stage m The average value of the n-bit digital codes.
4. The ADC according to claim 2, wherein the CDAC comprises 2 m capacitors and rotation logic configured to m Each of the conversion sub-stages m Different ones of the capacitors provide the intermediate DAC voltage.
5. The ADC of claim 4, wherein the CDAC is configured to derive 2 from the m most significant bits of the n-bit digital code from the SAR circuit. m - 1 control signal where the rotation logic is configured to be in the 2 m The coupling of each of the capacitors, except the capacitor provided with the intermediate DAC voltage, with a different one of the control signals is controlled in each of the conversion sub-stages. 6 . The ADC of claim 5 , wherein the coupling of the capacitor either receives the reference voltage or is coupled to a ground terminal. 7 . The ADC of claim 5 , wherein the control signal is a thermometric decoded value of the m most significant bits of the n-bit digital code.
8. The ADC of claim 5, wherein m is at least 2, wherein the capacitors include first to fourth capacitors, wherein the conversion substages include first to fourth conversion substages, wherein the control signals include first to third control signals, and wherein the rotation logic is configured to: During the first conversion sub-phase: providing the intermediate DAC voltage to the first capacitor; controlling coupling of the second capacitor with the first control signal; controlling coupling of the third capacitor with the second control signal; and controlling coupling of the fourth capacitor with the third control signal; During the second conversion sub-phase: providing the intermediate DAC voltage to the second capacitor; controlling coupling of the third capacitor with the first control signal; controlling coupling of the fourth capacitor with the second control signal; and controlling coupling of the first capacitor and the third control signal; During the third conversion sub-phase: providing the intermediate DAC voltage to the third capacitor; controlling coupling of the fourth capacitor with the first control signal; controlling coupling of the first capacitor and the second control signal; and controlling coupling of the second capacitor with the third control signal; as well as During the fourth conversion sub-phase: providing the intermediate DAC voltage to the fourth capacitor; controlling coupling of the first capacitor and the first control signal; controlling coupling of the second capacitor and the second control signal; and A coupling of the third capacitor to the third control signal is controlled.
9. A method of operating an analog-to-digital converter (ADC), the ADC comprising a digital-to-analog converter (DAC), the DAC comprising an m-bit capacitive DAC (CDAC) and an nm-bit resistive DAC (RDAC), the method comprising: comparing an input voltage of the ADC and an output voltage of the DAC; updating an n-bit digital code in response to the comparison, wherein an output of the ADC is responsive to the n-bit digital code at the end of a conversion phase; providing an intermediate DAC voltage by the RDAC in response to nm least significant bits of the n-bit digital code and a reference voltage; as well as The DAC output voltage is provided by the CDAC in response to the m most significant bits of the n-bit digital code, the intermediate DAC voltage, and the reference voltage.
10. The method according to claim 9, wherein the conversion phase comprises 2 m The method further comprises: m At the end of each of the conversion sub-phases, the n-bit digital code from the SAR circuit is stored in an output register, wherein the output of the ADC is based on the 2 m The 2 bits stored in the output register at the end of each conversion sub-stage m The sum of the n-digit digital codes.
11. The method of claim 10, wherein the output of the ADC is in the 2 m The 2 bits stored in the output register at the end of each conversion sub-stage m The average value of the n-bit digital codes.
12. The method according to claim 10, wherein the CDAC comprises 2 m A capacitor, wherein the method further comprises: m Each of the conversion sub-stages m Different ones of the capacitors provide the intermediate DAC voltage.
13. The method according to claim 12, further comprising: 2 is derived by the CDAC from the m most significant bits of the n-bit digital code m -1 control signal; as well as By the CDAC in the 2 m The coupling of each of the capacitors, except the capacitor provided with the intermediate DAC voltage, with a different one of the control signals is controlled in each of the conversion sub-stages.
14. The method of claim 13, wherein the coupling of a capacitor either receives the reference voltage or is coupled to a ground terminal.
15. The method of claim 13, wherein the control signal is a thermometric decoded value of the m most significant bits of the n-bit digital code.
16. The method of claim 13, wherein m is at least 2, wherein the capacitor comprises first to fourth capacitors, wherein the conversion subphase comprises first to fourth conversion subphases, wherein the control signal comprises first to third control signals, and wherein the method further comprises: During the first conversion sub-phase: providing the intermediate DAC voltage to the first capacitor; controlling coupling of the second capacitor with the first control signal; controlling coupling of the third capacitor with the second control signal; and controlling coupling of the fourth capacitor with the third control signal; During the second conversion sub-phase: providing the intermediate DAC voltage to the second capacitor; controlling coupling of the third capacitor with the first control signal; controlling coupling of the fourth capacitor with the second control signal; and controlling coupling of the first capacitor and the third control signal; During the third conversion sub-phase: providing the intermediate DAC voltage to the third capacitor; controlling coupling of the fourth capacitor with the first control signal; controlling coupling of the first capacitor and the second control signal; and controlling coupling of the second capacitor with the third control signal; as well as During the fourth conversion sub-phase: providing the intermediate DAC voltage to the fourth capacitor; controlling coupling of the first capacitor and the first control signal; controlling coupling of the second capacitor and the second control signal; and A coupling of the third capacitor to the third control signal is controlled.
17. An analog-to-digital converter (ADC) having an input operable to receive an input voltage and an output operable to provide a digital representation of the input voltage, the ADC comprising: a comparator having a first input coupled to the input of the ADC, a second input, and an output, the comparator being configured to provide a comparator output at the output in response to the input voltage and a digital-to-analog converter output voltage, i.e., a DAC output voltage; a DAC having an input and having an output coupled to the second input of the comparator, the DAC being configured to provide the DAC output voltage in response to an n-bit digital code from a successive approximation register circuit (SAR circuit) and a reference voltage, wherein the DAC comprises: An m-bit capacitive DAC is CDAC, where m is an integer greater than 0 but less than n; and an nm-bit resistive DAC, RDAC, coupled between the input of the DAC and the m-bit CDAC, the RDAC being configured to provide an intermediate DAC voltage in response to the nm least significant bits of the n-bit digital code and the reference voltage, wherein the m-bit CDAC is configured to provide the DAC output voltage in response to the m most significant bits of the n-bit digital code, the intermediate DAC voltage, and the reference voltage; and The output of the ADC is based on 2 m The sum of the n-bit digital codes at the end of each of the conversion sub-stages.
18. The ADC of claim 17, wherein the CDAC comprises 2 m capacitors and rotation logic configured to m Each of the conversion sub-stages m Different capacitors of the capacitors provide the intermediate DAC voltage.
19. The ADC of claim 18, wherein the CDAC is configured to derive 2 from the m most significant bits of the n-bit digital code from the SAR circuit. m - 1 control signal where the rotation logic is configured to be in the 2 m The coupling of each of the capacitors, except the capacitor provided with the intermediate DAC voltage, with a different one of the control signals is controlled in each of the conversion sub-stages.
20. The ADC of claim 19, wherein m is at least 2, wherein the capacitors include first to fourth capacitors, wherein the conversion substages include first to fourth conversion substages, wherein the control signals include first to third control signals, and wherein the rotation logic is configured to: During the first conversion sub-phase: providing the intermediate DAC voltage to the first capacitor; controlling coupling of the second capacitor with the first control signal; controlling coupling of the third capacitor with the second control signal; and controlling coupling of the fourth capacitor with the third control signal; During the second conversion sub-phase: providing the intermediate DAC voltage to the second capacitor; controlling coupling of the third capacitor with the first control signal; controlling coupling of the fourth capacitor with the second control signal; and controlling coupling of the first capacitor and the third control signal; During the third conversion sub-phase: providing the intermediate DAC voltage to the third capacitor; controlling coupling of the fourth capacitor with the first control signal; controlling coupling of the first capacitor and the second control signal; and controlling coupling of the second capacitor with the third control signal; as well as During the fourth conversion sub-phase: providing the intermediate DAC voltage to the fourth capacitor; controlling coupling of the first capacitor and the first control signal; controlling coupling of the second capacitor and the second control signal; and A coupling of the third capacitor to the third control signal is controlled.
