ELECTRONIC DEVICE AND METHOD CAPABLE OF PREDICTING AND GENERATING COMPENSATION CHARGE AMOUNT(S) IN RESPONSE TO SWITCHING OF CDAC
20230253978 · 2023-08-10
Assignee
Inventors
Cpc classification
H03M1/68
ELECTRICITY
H03M1/802
ELECTRICITY
H03M1/468
ELECTRICITY
H03M1/462
ELECTRICITY
International classification
Abstract
A method of an electronic device includes: providing a capacitive digital-to-analog converter having a reference voltage input; providing a reference voltage providing circuit to generate a reference voltage to the reference voltage input of the capacitive digital-to-analog converter; and, generating a compensation signal into the reference voltage input of the capacitive digital-to-analog converter in response to at least one switching of at least one capacitor in a switchable capacitor network of the capacitive digital-to-analog converter.
Claims
1. An electronic device, comprising: a capacitive digital-to-analog converter, having a reference voltage input; a reference voltage providing circuit, coupled to the capacitive digital-to-analog converter, for generating a reference voltage to the reference voltage input of the capacitive digital-to-analog converter; and a compensation circuit, coupled to the reference voltage input of the capacitive digital-to-analog converter, for generating a compensation signal into the reference voltage input of the capacitive digital-to-analog converter in response to at least one switching of at least one capacitor in a switchable capacitor network of the capacitive digital-to-analog converter.
2. The electronic device of claim 1, wherein the compensation circuit is used for generating the compensation signal carrying different compensation charge amounts into the reference voltage input of the capacitive digital-to-analog converter to compensate different voltage drops occurring in the reference voltage input of the capacitive digital-to-analog converter in response to different switching events of the switchable capacitor network of the capacitive digital-to-analog converter.
3. The electronic device of claim 2, wherein the compensation circuit is arranged to predict different charge amounts drawn from the reference voltage based on the different switching events of the switchable capacitor network, and then is arranged to use the predicted different charge amounts to generate the different compensation charge amounts.
4. The electronic device of claim 3, wherein the compensation circuit is arranged to configure capacitances of multiple compensation capacitors respectively based on the predicted different charge amounts drawn from the reference voltage, and then is arranged to control the multiple compensation capacitors to respectively generate and provide the different compensation charge amounts in response to the different switching events of the switchable capacitor network.
5. The electronic device of claim 1, wherein the reference voltage providing circuit comprises: an operational amplifier having a first input, a second input, and an output coupled to the first input; and a first capacitor, coupled between a ground level and the reference voltage input of the capacitive digital-to-analog converter.
6. The electronic device of claim 1, wherein the electronic device is a successive-approximation register analog-to-digital converter (SAR ADC) device, and the switchable capacitor network comprises: a plurality of switch units; a plurality of specific inverters; a plurality of specific capacitors respectively corresponding to a digital decision signal having different data bits determined by the SAR ADC device, the plurality of specific capacitors respectively having first ends coupled together to an output node of the capacitive digital-to-analog converter and respectively having second ends being selectively coupled to one of the reference voltage and a ground level respectively through the plurality of switch units and the plurality of specific inverters; and a second capacitor, coupled between the output node of the capacitive digital-to-analog converter and the reference voltage input of the capacitive digital-to-analog converter.
7. The electronic device of claim 6, wherein the compensation circuit comprises: a first compensation capacitor having a first end coupled to the reference voltage input of the capacitive digital-to-analog converter and a second end coupled to an output of a first logic control unit; and the first logic control unit, implemented as an inverter coupled between the first compensation capacitor and a first control signal generated by a specific inverter within the switchable capacitor network; wherein the specific inverter is associated with a first important bit of the digital decision signal; a capacitance of the first compensation capacitor is configured to be proportional to a predicted drawn charge amount caused due to a switching of a specific capacitor associated with the first important bit.
8. The electronic device of claim 7, wherein the compensation circuit further comprises: a plurality of second logic control units; and a plurality of second compensation capacitors, each second compensation capacitor having a first end coupled to the reference voltage input of the capacitive digital-to-analog converter and a second end coupled to an output of a second logic control unit; wherein a specific second logic control unit is implemented as an inverter to receive a second control signal generated by a specific switch unit in the plurality of switch units of the switchable capacitor network, and at least one another second logic control unit is implemented as a NOR gate being arranged to receive the second control signal and an output signal of another specific inverter comprised by the switchable capacitor network.
9. A method of an electronic device, comprising: providing a capacitive digital-to-analog converter having a reference voltage input; providing a reference voltage providing circuit to generate a reference voltage to the reference voltage input of the capacitive digital-to-analog converter; and generating a compensation signal into the reference voltage input of the capacitive digital-to-analog converter in response to at least one switching of at least one capacitor in a switchable capacitor network of the capacitive digital-to-analog converter.
10. The method of claim 9, further comprising: generating the compensation signal carrying different compensation charge amounts into the reference voltage input of the capacitive digital-to-analog converter to compensate different voltage drops occurring in the reference voltage input of the capacitive digital-to-analog converter in response to different switching events of the switchable capacitor network of the capacitive digital-to-analog converter.
11. The method of claim 10, further comprising: predicting different charge amounts drawn from the reference voltage based on the different switching events of the switchable capacitor network; and using the predicted different charge amounts to generate the different compensation charge amounts.
12. The method of claim 11, further comprising: configuring capacitances of multiple compensation capacitors respectively based on the predicted different charge amounts drawn from the reference voltage; and controlling the multiple compensation capacitors to respectively generate and provide the different compensation charge amounts in response to the different switching events of the switchable capacitor network.
13. The method of claim 9, further comprising: providing the reference voltage providing circuit having: an operational amplifier having a first input, a second input, and an output coupled to the first input; and a first capacitor, coupled between a ground level and the reference voltage input of the capacitive digital-to-analog converter.
14. The method of claim 9, wherein the electronic device is a successive-approximation register analog-to-digital converter (SAR ADC) device, and the method further comprises: providing the switchable capacitor network having: a plurality of switch units; a plurality of specific inverters; a plurality of specific capacitors respectively corresponding to a digital decision signal having different data bits determined by the SAR ADC device, the plurality of specific capacitors respectively having first ends coupled together to an output node of the capacitive digital-to-analog converter and respectively having second ends being selectively coupled to one of the reference voltage and a ground level respectively through the plurality of switch units and the plurality of specific inverters; and a second capacitor, coupled between the output node of the capacitive digital-to-analog converter and the reference voltage input of the capacitive digital-to-analog converter.
15. The method of claim 14, further comprising: providing a first compensation capacitor having a first end coupled to the reference voltage input of the capacitive digital-to-analog converter and a second end coupled to an output of a first logic control unit; providing the first logic control unit, implemented as an inverter coupled between the first compensation capacitor and a first control signal generated by a specific inverter within the switchable capacitor network; wherein the specific inverter is associated with a first important bit of the digital decision signal; and configuring a capacitance of the first compensation capacitor to be proportional to a predicted drawn charge amount caused due to a switching of a specific capacitor associated with the first important bit.
16. The method of claim 15, further comprising: providing a plurality of second logic control units; providing a plurality of second compensation capacitors, each second compensation capacitor having a first end coupled to the reference voltage input of the capacitive digital-to-analog converter and a second end coupled to an output of a second logic control unit; providing a specific second logic control unit implemented as an inverter to receive a second control signal generated by a specific switch unit in the plurality of switch units of the switchable capacitor network; and providing at least one another second logic control unit implemented as a NOR gate being arranged to receive the second control signal and an output signal of another specific inverter comprised by the switchable capacitor network.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0007]
[0008]
[0009]
[0010]
DETAILED DESCRIPTION
[0011] The invention aims at providing a technical solution of an analog-to-digital conversion/converter (ADC) device such as a successive-approximation register (SAR) ADC device and a corresponding method which can be arranged to minimize a voltage drop occurring in a reference voltage provided for the SAR ADC device each time when the SAR ADC device's digital-to-analog conversion/converter (DAC) operation performs a bit conversion and can also be arranged to minimize the power consumption. The method can be arranged to predict one or more charge amounts drawn from the provided reference voltage based on the capacitance(s) of one or more capacitors in the SAR ADC device in response to different switching conditions/states of the one or more capacitors and can use the predicted one or more drawn charge amounts as one or more compensation charge amounts to implement corresponding circuit(s) to generate and provide the one or more compensation charge amounts to at least partially compensate the provided reference voltage in response to the different switching conditions/states of the one or more capacitors.
[0012]
[0013] The reference voltage providing circuit 110 is configured inside the SAR ADC device 100 and coupled to the CDAC 105, and is arranged for generating a reference voltage VREF to a reference voltage input of the CDAC 105. It is not needed for the SAR ADC device 100 to further implement one additional pin to be coupled to an external reference voltage providing circuit. In addition, the SAR ADC device 100 consumes power less than a conventional SAR ADC device.
[0014] The CDAC 105 has the reference voltage input for receiving the reference voltage VREF, an output terminal for generating the analog output signal SOUT, and an input terminal for receiving the digital input signal D<1:n> having n data bits. The CDAC 105 is used for converting the digital input signal D<1:n> into the analog output signal SOUT so as to generate different analog voltage levels in response to different digital data bits. In addition, the CDAC 105 has a switchable capacitor network (not shown in
[0015] For example, the reference voltage providing circuit 110 comprises an operational amplifier OP1 used as a buffer and a capacitor 1101 such as a loading capacitor having the capacitance C.sub.REF. The operational amplifier OP1 has a first input (e.g. the negative input), a second input (e.g. positive input), and an output coupled to the first input. The capacitor 1101 is coupled between the ground level GND and the reference voltage input of the CDAC 105. The capacitor 1101 is a capacitive element having a larger capacitance C.sub.REF, and the operational amplifier OP1 provides a high bandwidth such as 50 MHz (but not limited) which is not needed to much higher than that used by a conventional SAR ADC device, e.g. 1 GHz (but not limited). The high bandwidth can consume less power as well as can raise up the level of reference voltage VREF more rapidly if such level is lowered down. The capacitor 1101 is used to provide the reference voltage VREF at its first end (i.e. at the reference voltage input of the CDAC 105). Further, it should be noted that the larger capacitance C.sub.REF may be optional; in other embodiment, the capacitance C.sub.REF can be configured to be equal to or smaller than that used by the conventional SAR ADC device.
[0016] As mentioned above, the corresponding voltage drop, occurring in the reference voltage VREF, is associated with the capacitance C.sub.REF and the corresponding charge amount drawn from the reference voltage VREF into the CDAC 105. In one embodiment, the capacitance C.sub.REF is configured to be larger so as to decrease the corresponding voltage drop; for example (but not limited), the capacitance C.sub.REF may be ten or twenty times more than the capacitance used by a conventional ADC device. Also, the operational amplifier OP1 provides the high bandwidth such as 50 MHz so as to reduce the power consumption, when the SAR ADC device 100 is arranged to meet the data requirements of 30 Mbps (megabit per second) and 10 ns of the settle time requirement of ADC conversion operation. However, this is not intended to be a limitation.
[0017] Further, the compensation circuit 115 is coupled to the reference voltage input of the CDAC 105, and it is used for generating a corresponding compensation signal, carrying an estimated or predicted charge amount Q.sub.C, into the reference voltage input of the CDAC 105 in response to at least one switching of at least one capacitor in the switchable capacitor network of the CDAC 105, wherein the capacitor switching causes an event that a charge amount is drawn by the CDAC 105 (i.e. a voltage drop occurs) and the compensation circuit 115 generates the compensation signal to compensate the drawn charge amount as far as possible to minimize the voltage drop. In addition, in response to different switching events (or switching conditions/states) of the switchable capacitor network of the CDAC 105, the compensation signal may carry different estimated or predicted charge amounts Q.sub.C to compensate different voltage drops occurring in the reference voltage input of the CDAC 105. In practice, the compensation circuit 115 is arranged to predict different drawn charge amounts drawn from the reference voltage VREF based on the different switching events of the switchable capacitor network and use the predicted different charge amounts to generate different compensation charge amounts into the node N1 in response to different switching conditions of capacitor(s).
[0018] In practice, for example (but not limited), in one embodiment, the compensation circuit 115 may comprise a capacitor 1151 having the capacitance C.sub.C, two switch units SW1 and SW2, and an operational amplifier OP2. The operational amplifier OP2 is used as a buffer and has a first input terminal (e.g. negative input terminal), a second input terminal (e.g. positive input terminal), and an output terminal. The first input terminal of operational amplifier OP2 is coupled to its output terminal, and its second input terminal is coupled to a specific voltage level such as a compensation voltage VREFC. In one embodiment, the level of compensation voltage VREFC is equal to the level of reference voltage VREF inputted to the operational amplifier OP1. However, this is not intended to be a limitation. In other embodiment, the level of compensation voltage VREFC may be different from that of reference voltage VREF inputted to the operational amplifier OP1. It should be noted that the reference voltage VREF and the compensation voltage VREFC are respectively provided by two different voltage source circuits not shown in
[0019] The estimated or predicted charge amount Q.sub.C can be indicated by the following equation:
Q.sub.C=VREFC×C.sub.C
[0020] In one embodiment, if the level of compensation voltage VREFC is fixed and equal to the level of reference voltage VREF inputted to the operational amplifier OP1, then the compensation circuit 115 is arranged to predict different capacitances as C.sub.C in response to different switching conditions of capacitor(s) so as to provide different corresponding predicted charge amounts as Q.sub.C as compensation charge amounts into the node N1. If the level of compensation voltage VREFC is changed, then the compensation circuit 115 can control and correspondingly change the capacitance C.sub.C so as to provide an enough or appropriate compensation charge amount.
[0021] The switch unit SW1 is selectively coupled between the capacitor C.sub.C and the output terminal of operational amplifier OP2. When no events of switching of capacitor unit(s) occur, the compensation circuit 115 controls the switch unit SW1 being turned off (open state) to disconnect the coupling between the capacitor 1151 and the output terminal of the operational amplifier OP2, and it controls the switch unit SW2 being turned on (closed state) to establish the coupling between the capacitor 1151 and the ground level GND. Thus, in this situation, the compensation circuit 115 does not provide a charge amount to the node N1. Then, once an event that a switching of capacitor unit(s) occurs, the compensation circuit 115 controls the switch unit SW1 being turned on (closed state) to rapidly establish the coupling between the capacitor 1151 and the output terminal of the operational amplifier OP2, and it controls the switch unit SW2 being turned off (open state) to rapidly disconnect the coupling between the capacitor 1151 and the ground level GND. Accordingly, a voltage difference dV=VREFC occurs at the intermediate node between the capacitor 1151 and the switch unit SW1, and the voltage level rapidly becomes VREFC from the ground level GND since the voltage level provided from the output terminal of operational amplifier OP2 is equal to VREFC. The predicted compensation charge amount Q.sub.C=VREFC×C.sub.C is generated and provided from the compensation circuit 115 into the node N1 to at least partially compensate the charge amount drawn into the CDAC 105 when the level of the reference voltage VREF at the node N1 becomes lower.
[0022] Based on the operations of the compensation circuit 115, each time when the level of the reference voltage VREF is rapidly lower down to a lower level due to a capacitor switching event occurring in the CDAC 105, the compensation circuit 115 can rapidly raise up the level from the lower level into a higher level during a specific time period. For example (but not limited), as shown in
[0023]
[0024] Based on the parallel connection circuit structure and a voltage division principle, the voltage change ΔV.sub.i of the level Vi at the intermediate node N2 will be changed in response to the voltage difference/change ΔV and can be indicated by the following equation:
[0025] Ina first scenario case (but not limited) of
[0026] When the level of voltage Vi is increased, the increased voltage change/difference ΔV.sub.i causes that the charge amount Q.sub.R indicated by the following equation is generated at the second end of third capacitor 205C and outputted from the capacitor network 205 to be provided back to the reference voltage VREF:
[0027] Thus, the totally drawn charge amount Q.sub.D from the reference voltage VREF can be indicated by the following equation:
[0028] That is, in this example, when the first capacitor 205A is switched from the ground level GND to the reference voltage VREF, the totally drawn charge amount Q.sub.D from the reference voltage VREF, predicted by the compensation circuit 115, is proportional to C.sub.L×C.sub.G (i.e. the capacitance of a switching capacitor multiplied by the capacitance(s) of non-switching capacitor(s) which is/are coupled to the ground level GND) and is inversely proportional to C.sub.L+C.sub.G+C.sub.R (i.e. the totally sum of capacitances of switching and non-switching capacitors).
[0029] Further, in a second scenario case (but not limited) of
[0030] That is, in this example, when the first capacitor 205A is switched from the reference voltage VREF to the ground level GND, the totally drawn charge amount Q.sub.D′ from the reference voltage VREF, predicted by the compensation circuit 115, is proportional to C.sub.L×C.sub.R (i.e. the capacitance of a switching capacitor multiplied by the capacitance(s) of non-switching capacitor(s) which is/are coupled to the reference voltage VREF) and is inversely proportional to C.sub.L+C.sub.G+C.sub.R (i.e. the totally sum of capacitances of switching and non-switching capacitors). By doing so, this method can dynamically predict and provide different compensation charge amounts as the compensation charge amount Q.sub.C into the node N1 of
[0031] Further, this method can use different levels of the compensation voltage VREFC to generate the different compensation charge amounts. Equivalently, this method predicts the charge amount needed by the CDAC 105 and then generates at least partial charge amount for the CDAC 105.
[0032] In this embodiment, in practice, the compensation circuit 115 can predict to generate different charge amounts that are associated with different switching conditions of capacitor switching.
[0033] For example (but not limited), the capacitances of capacitors' C.sub.1, C.sub.2, C.sub.3, . . . , and C.sub.10 are respectively configured as and equal to 252×Cap, 116×Cap, 64×Cap, 36×Cap, 20×Cap, 10×Cap, 6×Cap, 4×Cap, 2×Cap, and 1×Cap, respectively, wherein Cap indicates a capacitance value or a specific measurement capacitance unit. The capacitances 252×Cap, 116×Cap, 64×Cap, 36×Cap, 20×Cap, 10×Cap, 6×Cap, 4×Cap, 2×Cap, and 1×Cap are simplified as values 252, 116, 64, 36, 20, 10, 6, 4, 2, and 1.
[0034] In addition, the scaling capacitor C.sub.S, further comprised by the CDAC 105, is coupled between the node N3 and the reference voltage VREF, and its capacitance value is configured to be 257×Cap which can be simplified as a number 257; this is not intended to be a limitation of the invention. The bottom plate of scaling capacitor C.sub.S is maintained at the reference voltage VREF. The total capacitance of the capacitor network is equal to 768×Cap which can be simplified as a number 768. The scaling capacitor C.sub.S is optional.
[0035] In a first step, for the switching of capacitor C.sub.1, the second end of capacitor C.sub.1 may be switched from the reference voltage VREF to the ground level GND, and the second ends of the other capacitors C.sub.2, C.sub.3, . . . , and C.sub.10 are maintained at the ground level GND respectively (i.e. non-switching capacitors). Based on the principle operation of
[0036] In a second step, for the switching of capacitor C.sub.2, the capacitor C.sub.2 is a switching capacitor, and the other capacitors are non-switching capacitors. Based on the principle operation of
[0037] Similarly, in a third step, for the switching of capacitor C.sub.3, the capacitor C.sub.3 is a switching capacitor, and the other capacitors are non-switching capacitors. Based on the principle operation of
[0038] Similarly, the compensation circuit 115 can be arranged to predict the charge amounts drawn by different capacitors when the other capacitors perform switching so as to generate different compensation charge amounts. For example (but not limited), the following table shows the ratio/factors results of different drawn charge amounts predicted by the compensation circuit 115 for the different capacitors:
TABLE-US-00001 C.sub.1 C.sub.2 C.sub.3 C.sub.4 C.sub.5 C.sub.6 C.sub.7 C.sub.8 C.sub.9 C.sub.10 (252) (116) (64) (36) (20) (10) (6) (4) (2) (1) Q.sub.Da 84 38 21 12 7 3 2 1 1 Q.sub.Db 22 10 5 3 2 1 1 Q.sub.Dc 6.5 3 2 1 1 Q.sub.Dd 2 1 0 0 Q.sub.De 1 0 0 Q.sub.Df 0 0 Q.sub.Dg 0
[0039] As mentioned above, Q.sub.Da-Q.sub.Dg respectively indicate the different charge amounts drawn by different capacitors when different capacitor perform switching. The different values of drawn charge amounts shown by the table can be regarded as different compensation ratios/factors which will be used to implement one or more circuit components to generate and provide the corresponding compensation charge amount(s).
[0040] Further, in other embodiments, the compensation circuit 115 may not generate other compensation charge amounts for the other less significant bit(s) to reduce computation complexity since the needed compensation charge amounts of the other less significant bits become smaller.
[0041]
[0042] For generating the predicted drawn charge amount(s) as compensation charge amount(s), the compensation circuit 115 comprises the scaling capacitor C.sub.S, one or more compensation capacitors corresponding one or more predicted drawn charge amounts, and one or more logic circuit units correspondingly coupled to the one or more compensation capacitors and arranged to receive one or more control signals from the CDAC 105. In practice, as shown in
[0043] The compensation capacitors C.sub.m1-C.sub.m6 respectively have first ends (i.e. top plates) coupled together to one end (i.e. bottom plate) of the scaling capacitor C.sub.S, i.e. the level of reference voltage VREF. The second ends (i.e. bottom plates) of compensation capacitors C.sub.m1-C.sub.m6 are respectively coupled to the outputs of the logic circuit units LC.sub.1-LC.sub.6. The capacitances of the compensation capacitors C.sub.m1-C.sub.m6 are configured by the compensation circuit 115 based on the drawn charge amounts predicted by the compensation circuit 115 in the above-mentioned table or can be configured to be proportional to the predicted or measured drawn charge amounts, and then the compensation circuit 115 can control the compensation capacitors C.sub.m1-C.sub.m6 to respectively generate and provide the different compensation charge amounts in response to the different switching events of the switchable capacitor network. For example (but not limited), the capacitances of the compensation capacitors C.sub.m1-C.sub.m6 may be respectively configured as the compensation ratios/factors, shown by the table in the aforementioned paragraph, multiplied by the capacitance value or the specific measurement capacitance unit Cap. The capacitances of the compensation capacitors C.sub.m1-C.sub.m6 are respectively equal to 84×Cap, 38×Cap, 22×Cap, 21×Cap, 10×Cap, and 6.5×Cap, respectively; the capacitances 84×Cap, 38×Cap, 22×Cap, 21×Cap, 10×Cap, and 6.5×Cap are simplified as values 84, 38, 22, 21, 10, and 6.5.
[0044] For the first important bit conversion, the logic circuit unit LC.sub.1, associated with the drawn charge amount due to the switching of the capacitor C.sub.1, is implemented as an inverter which receives the inverted control signal CD.sub.1 to generate an output signal to the bottom plate of compensation capacitor C.sub.m1. That is, for the first important bit conversion, i.e. MSB bit conversion, only one set of compensation capacitor and logic control unit is needed.
[0045] For the second important bit conversion, the logic circuit unit LC.sub.2, associated with the drawn charge amount drawn by the capacitor C.sub.1 due to the switching of the capacitor C.sub.2, is implemented as a NOR gate which receives the inverted control signal CD.sub.1 and the control signal DR.sub.2 to generate an output signal to the bottom plate of compensation capacitor C.sub.m2. The logic circuit unit LC.sub.3, associated with the drawn charge amount drawn by the other capacitors C.sub.3-C.sub.10 (i.e. excluding the capacitor C.sub.1) due to the switching of the capacitor C.sub.2, is implemented as an inverter which receives the control signal DR.sub.2 to generate an output signal to the bottom plate of compensation capacitor C.sub.m3. That is, for the second important bit conversion, two sets of compensation capacitors and logic control units are needed.
[0046] For the third important bit conversion, the logic circuit unit LC.sub.4, associated with the drawn charge amount drawn by the capacitor C.sub.1 due to the switching of the capacitor C.sub.3, is implemented as a NOR gate which receives the inverted control signal CD.sub.1 and the control signal DR.sub.3 to generate an output signal to the bottom plate of compensation capacitor C.sub.m4. The logic circuit unit LC.sub.5, associated with the drawn charge amount drawn by the capacitor C.sub.2 due to the switching of the capacitor C.sub.3, is implemented as a NOR gate which receives the inverted control signal CD.sub.2 and the control signal DR.sub.3 to generate an output signal to the bottom plate of compensation capacitor C.sub.m5. The logic circuit unit LC.sub.6, associated with the drawn charge amount drawn by the other capacitors C.sub.4-C.sub.10 (i.e. excluding the capacitors C.sub.1 and C.sub.2) due to the switching of the capacitor C.sub.3, is implemented as an inverter which receives the control signal DR.sub.3 to generate an output signal to the bottom plate of compensation capacitor C.sub.m6. That is, for the third important bit conversion, two sets of compensation capacitors and logic control units are needed.
[0047] In practice, to compensate charge amounts for multiple bit conversions such as N bits, N×(N−1) sets of compensation capacitors and logic control units are needed. However, this is not intended to be a limitation.
[0048] For the operation, initially the switch unit W.sub.1 selects the ground level GND as its output and the other switch units W.sub.2-W.sub.10 select the reference voltage VREF as their outputs, so that the capacitor C.sub.1 is coupled to the reference voltage VREF while the other capacitors C.sub.2-C.sub.10 are coupled to the ground level GND. Then, for the first important bit conversion, to make the capacitor C.sub.1 be switched from the reference voltage VREF to the ground level GND, the switch unit W.sub.1 changes to select the reference voltage VREF as its output, and accordingly the level of control signal DR.sub.1 is switched to the reference voltage VREF while the level of control signal CD.sub.1 is switched to the ground level GND. In this situation, the output of the logic circuit unit LC.sub.1 (i.e. an inverter) is switched from the ground level GND to the reference voltage VREF due to that the level of control signal CD.sub.1 is switched from the reference voltage level VREF to the ground level GND, so that the compensation capacitor C.sub.m1 is switched from the ground level GND to the reference voltage VREF so as to provide a compensation charge amount Q.sub.EC1a back to the reference voltage VREF to minimize a voltage drop occurring in the reference voltage VREF.
[0049] For the second important bit conversion, to make the capacitor C.sub.2 be switched from the ground level GND to the reference voltage VREF, the switch unit W.sub.2 changes to select the ground level GND as its output, and accordingly the level of control signal DR.sub.2 is switched to the ground level GND while the level of control signal CD.sub.2 is switched to the reference voltage VREF. In this situation, the output of the logic circuit unit LC.sub.2 (i.e. a NOR gate) is switched from the ground level GND to the reference voltage VREF when the level of control signal CD.sub.1 is switched to the ground level GND and the level of control signal DR.sub.2 is switched to the ground level GND, so that the compensation capacitor C.sub.m2 can be switched from the ground level GND to the reference voltage VREF so as to provide a compensation charge amount Q.sub.EC2a back to the reference voltage VREF to minimize a voltage drop occurring in the reference voltage VREF. In addition, the output of the logic circuit unit LC.sub.3 (i.e. an inverter) can be switched from the ground level GND to the reference voltage VREF when the level of control signal DR.sub.2 is switched from the reference voltage level VREF to the ground level GND, so that the compensation capacitor C.sub.m3 is switched from the ground level GND to the reference voltage VREF so as to provide a compensation charge amount Q.sub.EC2b back to the reference voltage VREF to minimize a voltage drop occurring in the reference voltage VREF.
[0050] Similarly, for the third important bit conversion, the outputs of the logic circuit units LC.sub.4-LC.sub.6 (i.e. two NOR gates and one inverter) can be respectively switched from the ground level GND to the reference voltage VREF when the levels of corresponding control signals are switched, so that the compensation capacitors C.sub.m4-C.sub.m6 can be switched from the ground level GND to the reference voltage VREF so as to provide different compensation charge amounts back to the reference voltage VREF to minimize voltage drops occurring in the reference voltage VREF. The corresponding operations are not detailed again for brevity.
[0051] In addition, in one embodiment, the compensation circuit 115 can be used to only compensate a voltage drop caused by the switching of the capacitor C.sub.1 without compensating voltage drops caused by the switching of the other capacitors. In this situation, the compensation circuit 115 can be arranged to power up only the logic control unit LC.sub.1 and power down the other logic circuit units. That is, the compensation circuit 115 can determine whether to power down a portion of logic control units to disable other compensation operations.
[0052] Further, the above-mentioned compensation capacitors can be implemented by using transistors which are powered by the compensation circuit 115. When the compensation circuit 115 controls a particular compensation capacitor providing a corresponding compensation charge amount for the CDAC 105, the compensation circuit 115 can disable or power down one or more other compensation capacitors and corresponding logic control units. Additionally, in other embodiment, the capacitances of the compensation capacitors may be configured by further referring to identical or different parameters which can be set by users.
[0053] Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.