Successive approximation register analog-to-digital converter and analog-to-digital signal conversion method thereof
20170359081 · 2017-12-14
Inventors
Cpc classification
H03M1/468
ELECTRICITY
H03M1/687
ELECTRICITY
International classification
H03M1/06
ELECTRICITY
Abstract
A successive approximation register (SAR) analog-to-digital converter (ADC) comprises a comparator for generating a comparison value according to an analog signal; a SAR, coupled to the comparator, comprises N memory units, each memory unit storing a control value and the N control values being related to the comparison value, N being an integer greater than two; and a thermometer-coded DAC, which generates the analog signal and is coupled to the comparator and the SAR. The thermometer-coded DAC comprises N capacitors. The N capacitors are respectively coupled to the N memory units. The N terminal voltages of the N capacitors are respectively controlled by the N control values.
Claims
1. A successive approximation register (SAR) analog-to-digital converter (ADC), comprising: a digital-to-analog converter (DAC), comprising N capacitors whose capacitance values are substantially the same, generating an analog signal, N being an integer greater than two; a SAR, comprising N memory units, wherein said N memory units are respectively coupled to said N capacitors, each said memory unit stores a control value, and N terminal voltages of said N capacitors are respectively controlled by said N control values; a write control unit, coupled to said N memory units, generating a write-enable signal, according to which M memory units of said N memory units and M capacitors corresponding to said M memory units are selected, wherein M is a positive integer smaller than N; and a comparator, coupled to said DAC and said N memory units, generating a comparison value according to said analog signal; wherein, said M control values of said M memory units change in correspondence to said comparison value.
2. The SAR ADC of claim 1, wherein, said write control unit outputs said write-enable signal to said N memory units before said comparator generates said comparison value.
3. The SAR ADC of claim 1, wherein said write-enable signal is a first write-enable signal, said write control unit further generates a second write-enable signal, and said comparison value is a first comparison value, said comparator further generates a second comparison value, said first and second comparison values are successive outputs of said comparator, said write control unit outputs said first write-enable signal before said first comparison value is generated and outputs said second write-enable signal after said first comparison value is generated and before said second comparison value is generated.
4. The SAR ADC of claim 1 operating according to a clock to convert an analog input signal to a digital signal, wherein, said DAC receives said analog input signal to generate said analog signal at a first level of a cycle of said clock, said comparator generates said comparison value according to said analog signal at a second level of said cycle, said second level is different from said first level, and said write control unit determines said write-enable signal at said first level and outputs said write-enable signal at said second level.
5. The SAR ADC of claim 4, wherein, said cycle is a first cycle, said write-enable signal is a first write-enable signal, said write control unit further generates a second write-enable signal in a second cycle of said clock, said second cycle immediately follows said first cycle, and K of said N memory units and K capacitors corresponding to said K memory units are selected according to said second write-enable signal, K is equal to M, and said K capacitors are not exactly equal to said M capacitors.
6. A successive approximation register (SAR) analog-to-digital converter (ADC), comprising: a comparator, generating a comparison value according to an analog signal; a SAR, coupled to said comparator, comprising N memory units, each memory unit storing a control value, said N control values being associated with said comparison value, N being an integer greater than two; a thermometer-coded digital-to-analog converter (DAC), coupled to said comparator and said SAR, generating said analog signal and comprising N capacitors, wherein said N capacitors are respectively coupled to said N memory units, and N terminal voltages of said N capacitors are respectively controlled by said N control values; and a write control unit, coupled to said N memory units, generating a write-enable signal, wherein, M of said N memory units and M capacitors corresponding to said M memory units are selected according to said write-enable signal, and M is a positive integer smaller than N.
7. The SAR ADC of claim 6, wherein, said write control unit outputs said write-enable signal to said N memory units before said comparator generates said comparison value to cause said M control values of said M memory units to change in correspondence with said comparison value.
8. The SAR ADC of claim 6, wherein said write-enable signal is a first write-enable signal, said write control unit further generate a second write-enable signal, and said comparison value is a first comparison value, said comparator further generate a second comparison value, said first and second comparison values are successive outputs of said comparator, and said write control unit outputs said first write-enable signal before said first comparison value is generated and outputs said second write-enable signal after said first comparison value is generated and before said second comparison value is generated.
9. The SAR ADC of claim 6 operating according to a clock to convert an analog input signal to a digital signal, wherein, said thermometer-coded DAC receives said analog input signal to generate said analog signal at a first level of a cycle of said clock, said comparator generates said comparison value according to said analog signal at a second level of said cycle, said second level is different from said first level, and said write control unit determines said write-enable signal at said first level and outputs said write-enable signal at said second level.
10. The SAR ADC of claim 9, wherein, said cycle is a first cycle, said write-enable signal is a first write-enable signal, said write control unit further generates a second write-enable signal in a second cycle of said clock, said second cycle immediately follows said first cycle, and K of said N memory units and K capacitors corresponding to said K memory units are selected according to said second write-enable signal, K is equal to M, and said K capacitors are not exactly equal to said M capacitors.
11. A method for converting an analog signal to a digital signal, said method being applied to a successive approximation register (SAR) analog-to-digital converter (ADC), said SAR ADC operating according to a clock and comprising a digital-to-analog converter (DAC) and a SAR, said DAC comprising N capacitors whose capacitance values are substantially the same, N being an integer greater than two, said SAR comprising N memory units, said N memory units being respectively coupled to said N capacitors, each memory unit storing a control value, N terminal voltages of said N capacitors being respectively controlled by said N control values, said method comprising: sampling an analog input signal to generate an intermediate analog signal at a first level of a cycle of said clock; determining a write-enable signal in said cycle; selecting M of said N memory units and M capacitors corresponding to said M memory units according to said write-enable signal, M being a positive integer smaller than N; generating a comparison value according to said intermediate analog signal at a second level of said cycle, said second level being different from said first level; and changing said M control values of said M memory units according to said comparison value at said second level of said cycle.
12. The method of claim 11, wherein, said write-enable signal is inputted to said N memory units during said second level of said cycle and before said comparison value is generated to cause said M memory units of said N memory units to be writable before said comparison value is generated.
13. The method of claim 11, wherein, said step of determining said write-enable signal is completed during said first level of said cycle.
14. The method of claim 11, wherein said cycle is a first cycle, said write-enable signal is a first write-enable signal, said method further comprises: generating a second write-enable signal at a second cycle of said clock, said second cycle immediately following said first cycle; and selecting K of said N memory units and K capacitors corresponding to said K memory units according to said second write-enable signal, K being a positive integer smaller than N; wherein, K is equal to M, and said K capacitors are not exactly equal to said M capacitors.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0021] The following description is written by referring to terms of this technical field. If any term is defined in this specification, such term should be explained accordingly. In addition, the connection between objects or events in the below-described embodiments can be direct or indirect provided that these embodiments are practicable under such connection. Said “indirect” means that an intermediate object or a physical space exists between the objects, or an intermediate event or a time interval exists between the events.
[0022]
[0023] The SAR 180 includes a plurality of memory units 181 and a plurality of memory units 182. Each memory unit 181-x corresponds to a buffer 163-x and a capacitor C.sub.1x (1≦x≦m) that are connected, and each memory unit 182-y corresponds to a buffer 164-y and a capacitor C.sub.2y (1≦y≦n) that are connected. More specifically, the memory units 181-1˜181-m and the capacitors C.sub.11˜C.sub.1m are in one-to-one correspondence, and the memory units 182-1˜182-n and the capacitors C.sub.21˜C.sub.2n are in one-to-one correspondence. Each of the memory units 181 and 182 stores a control value. The output voltages of the buffers 163 and 164 are associated with the control values; that is to say, a voltage of a first terminal of each of the capacitors C.sub.11˜C.sub.1m and the capacitors C.sub.21˜C.sub.2n (the terminal coupled to the buffer 163 or 164) is controlled by the control value. Each of the memory units 181 and 182 is coupled to the comparator 170, and the control values of the memory units 181 and 182 are associated with the comparison value CMP. The SAR 180 further includes a write control unit 184 that determines whether each memory unit 181 can be written. Whether each memory unit 182 can be written is controlled by the write control unit 150. The SAR 180 further includes a clock control unit 183 that generates a pulse signal TC according to the sampling clock CLK_S of the SAR ADC and the comparison value CMP of the comparator 170. The write control unit 184 and the write control unit 150 respectively output the write-enable signals WE1 and the write-enable signals WE2 by referring to the pulse signal TC. The SAR 180 further includes a digital code temporary storage circuit 185 that determines the digital code B outputted by the SAR ADC according to the comparison values CMP of the comparator 170. The digital code temporary storage circuit 185 may include a plurality of flip-flops.
[0024] The operation of the SAR ADC in
[0025] In the comparing/switching phases (corresponding to low levels of the sampling clock CLK_S in this embodiment), the switch 190 is first switched to a non-conducted state, and the write control unit 150 outputs the write-enable signals WE2. Next, the comparator 170 and the DAC 160 respectively perform the comparison operation and the operation of switching the voltage levels of the capacitors. The comparator 170 may operate according to an internal self-generated clock or according to an external clock whose frequency is higher than that of the sampling clock CLK_S. When the sampling clock CLK_S is at low levels, the clock control unit 183 outputs a pulse each time the comparator 170 generates a comparison value CMP. For example, when the SAR ADC 10 is k-bit, the comparator 170 generates k comparison values CMP in one comparing/switching phase and thus the pulse signal TC has k pulses at time t1.sub.1˜t1.sub.k, respectively. The time interval between any two successive pulses (i.e., t1.sub.2-t1.sub.1, t1.sub.3-t1.sub.2, . . . , t1.sub.k-t1.sub.k−1) is the time when the memory units 181 and 182 selectively change the control values according to the comparison values CMP and the buffers 163 and 164 selectively change the terminal voltages of the capacitors according to the control values. In other words, the time interval is the response time of the foregoing critical path. When a SAR ADC has a higher speed (i.e., the frequency of the sampling clock CLK_S is higher) and a higher resolution (i.e., k is greater), the response time of the critical path is shorter, and therefore the critical paths become more crucial to the performance of the SAR ADC. After the comparator 170 completes k times of comparison operations, the digital code temporary storage circuit 185 obtains k comparison values CMP. The combination of the k comparison values CMP is the digital code B (B0˜Bk) of the analog input signal Vi sampled in a corresponding sampling phase.
[0026] The G write-enable signals WE2 determined in each sampling phase are outputted in sequence in the immediately-following comparing/switching phase. More specifically, the first write-enable signal WE2 is outputted before the comparator 170 generates the first comparison value CMP in the comparing/switching phase (i.e., outputted before time t1.sub.1), the second write-enable signal WE2 is outputted after the comparator 170 generates the first comparison value CMP and before the comparator 170 generates the second comparison value CMP (i.e., outputted between time t1.sub.1 and time t1.sub.2.), and so forth. The write control unit 184 determines m write-enable signals WE1. The m write-enable signals WE1, which respectively enable the memory unit 181-m˜181-1 in sequence, are outputted in sequence after the G write-enable signals WE2 are completely outputted.
[0027]
[0028] Taking a 6-bit SAR ADC (i.e., k=6, and the outputted digital code B being B0˜B5) as an example, the operation of the SAR ADC 10 is detailed below. Assuming that the binary DAC 161 includes two capacitors C.sub.11 and C.sub.12, whose capacitance values are 1C and 2C respectively, and the thermometer-coded DAC 162 includes seven capacitors C.sub.21˜C.sub.27, whose capacitance values are all 4C. In the sampling phase S1, the write control unit 150 determines three (G=log.sub.2(7+1)=3) write-enable signals WE2-S1-1, WE2-S1-2, and WE2-S1-3. The write control unit 184 determines two write-enable signals WE1-S1-1 and WE1-S1-2 that correspond to the capacitors C.sub.12 and C.sub.11, respectively.
[0029]
TABLE-US-00001 TABLE 1 Sampling Write-enable phase signals Corresponding capacitor group S1 WE2-S1-1 C.sub.21 C.sub.23
C.sub.24
C.sub.26 WE2-S1-2 C.sub.22
C.sub.25 WE2-S1-3 C.sub.27 WE1-S1-1 C.sub.12 WE1-S1-2 C.sub.11 S2 WE2-S2-1 C.sub.21
C.sub.22
C.sub.25
C.sub.27 WE2-S2-2 C.sub.24
C.sub.26 WE2-S2-3 C.sub.23 WE1-S2-1 C.sub.12 WE1-S2-2 C.sub.11 S3 WE2-S3-1 C.sub.23
C.sub.24
C.sub.25
C.sub.26 WE2-S3-2 C.sub.27
C.sub.21 WE2-S3-3 C.sub.22 WE1-S3-1 C.sub.12 WE1-S3-2 C.sub.11
[0030] Next, the process in
TABLE-US-00002 TABLE 2 Write- enable signals Output time point Selected capacitor(s) WE2-S1-1 before B.sub.5 is determined C.sub.21 C.sub.23
C.sub.24
C.sub.26 WE2-S1-2 after B.sub.5 is determined and C.sub.22
C.sub.25 before B.sub.4 is determined WE2-S1-3 after B.sub.4 is determined and C.sub.27 before B.sub.3 is determined WE1-S1-1 after B.sub.3 is determined and C.sub.12 before B.sub.2 is determined WE1-S1-2 after B.sub.2 is determined and C.sub.11 before B.sub.1 is determined
[0031] After the bit value B.sub.p is determined (step S630 is complete), the control value(s) of the memory unit(s) 182 corresponding to the selected capacitor(s) keep(s) or change(s), depending on the bit value B.sub.p, to correspondingly keep or change a terminal voltage of the selected capacitor (step S640). For example, assuming that a default value of the control value is logic 1 (correspondingly, a default voltage of the first terminal of the capacitor is a low voltage), and that the bit value B4 is determined to be logic 1 at time t1.sub.2, in step S640 (corresponding to the time interval between t1.sub.2 and t1.sub.3) the control values of the memory units 182-5 and 182-6 change from logic 1 to logic 0, and the voltages of the first terminals of the capacitors C.sub.25 and C.sub.26 also change from low to high. Next, it is determined whether the next sampling phase starts (step S650). If not, steps S620˜S640 are repeated to continue the determination of the remaining bit values. If the next sampling phase starts, the process goes back to step S605 to sample the analog input signal Vi again. It should be noted that, a few minor steps are omitted for brevity in
[0032] As shown in table 1, the composition of the capacitor group (including C.sub.21, C.sub.23, C.sub.24, C.sub.26) corresponding to the bit value B5 in the first operating period of the SAR ADC (including the sampling phase S1 and the comparing/switching phase C1) is different from the composition of the capacitor group (including C.sub.21, C.sub.22, C.sub.25, C.sub.27) corresponding to the bit value B5 in the second operating period (including the sampling phase S2 and the comparing/switching phase C2). Likewise, the composition of the capacitor group (including C.sub.22, C.sub.25) corresponding to the bit value B4 in the first operating period of the SAR ADC is different from the composition of the capacitor group (including C.sub.24, C.sub.26) corresponding to the bit value B4 in the second operating period, and the composition of the capacitor group (including C.sub.27) corresponding to the bit value B3 in the first operating period of the SAR ADC is different from the composition of the capacitor group (including C.sub.23) corresponding to the bit value B3 in the second operating period. In addition, the compositions of the capacitor groups are decided before the corresponding bit values B5, B4, and B3 are generated. In other words, the compositions of the capacitor groups are not associated with bit values B5, B4, and B3 (i.e., not decided according to the bit values B5, B4, and B3). As a result, a binary-to-thermometer decoder is not required in the present invention, and therefore the performance of the SAR ADC 10 is not degraded since no additional logic circuits are added to the critical paths between the SAR 180 and the DAC 160. It should be noted that, the foregoing expression “the q.sup.th capacitor group corresponding to a bit value B.sub.p” means that the terminal voltage(s) of the capacitor(s) of the q.sup.th capacitor group is(are) associated with the bit value B.sub.p.
[0033] In other embodiments, the write control unit 150 may determine the write-enable signals in the comparing/switching phase. The write control unit 150 can determine the write-enable signals at any time before the write-enable signals are outputted. As shown in table 3, the write control unit 150 can determine the write-enable signal WE2-S1-1 at the transition from the sampling phase to the comparing/switching phase of the sampling clock CLK_S and output the write-enable signal WE2-S1-1 before time t1.sub.1; subsequently, the write control unit 150 determines and outputs the corresponding write-enable signal between two successive pulses of the pulse signal TC.
TABLE-US-00003 TABLE 3 Write- enable Determination and signal output time point Selected capacitor(s) WE2-S1-1 before B.sub.5 is determined C.sub.21 C.sub.23
C.sub.24
C.sub.26 WE2-S1-2 after B.sub.5 is determined and C.sub.22
C.sub.25 before B.sub.4 is determined WE2-S1-3 after B.sub.4 is determined and C.sub.27 before B.sub.3 is determined WE1-S1-1 after B.sub.3 is determined and C.sub.12 before B.sub.2 is determined WE1-S1-2 after B.sub.2 is determined and C.sub.11 before B.sub.1 is determined
[0034]
[0035] In another embodiment, the entire DAC 160 can be implemented by a thermometer-coded DAC; that is, the DAC 160 includes the thermometer-coded DAC 162 but does not include the binary DAC 161. In this way, the SAR 180 correspondingly includes the memory units 182 but does not include the memory units 181 and the write control unit 184. Further, although the foregoing embodiments are described by taking binary capacitors (i.e., the capacitance values thereof show a binary relationship) as an example, this invention may also use an arbitrary weighted capacitor array (AWCA) to implement and control the DAC. Hence, the capacitance values, the number of capacitors, and the number of comparing/switching operations mentioned above are for the purpose of explanation, not for limiting the scope of this invention. When the DAC of this invention is implemented by the AWCA, the capacitors of the DAC and the memory units of the SAR 180 are still in one-to-one correspondence.
[0036] It should be noted that,
[0037] Since people of ordinary skill in the art can appreciate the implementation detail and the modification thereto of the present method invention of
[0038] The aforementioned descriptions represent merely the preferred embodiments of the present invention, without any intention to limit the scope of the present invention thereto. Various equivalent changes, alterations, or modifications based on the claims of the present invention are all consequently viewed as being embraced by the scope of the present invention.