An error canceling comparator based switch capacitor (CBSC) circuit cyclically works through multiple phases including a sampling phase and a transfer phase. During the sampling phase, an input voltage and also an error due to circuit non-idealities are sampled. During the transfer phase, the sampled input voltage is amplified by a fixed ratio and transferred to an output load, while the error is cancelled by reversing the polarity of connection for an internal capacitor within the CBSC circuit.
1. An error canceling comparator based switch capacitor (CBSC) circuit comprising:
a comparator, a charge pump circuit, and a plurality of capacitors; wherein during a sampling phase the CBSC circuit samples both an input voltage and an error due to CBSC circuit non-idealities and during a transfer phase the CBSC amplifies the sampled input voltage and transfers a resultant voltage to a load while canceling the error by reversing a polarity of connection for at least one of said capacitors. 2. The CBSC circuit of 3. The CBSC circuit of 4. The CBSC circuit of 5. The CBSC circuit of 6. The CBSC circuit of 7. The CBSC circuit of 8. The CBSC circuit of 9. The CBSC circuit of 10. The CBSC circuit of 11. The CBSC circuit of 12. The CBSC circuit of 13. A method of canceling error in a comparator based switch capacitor (CBSC) circuit comprising a comparator, a charge pump circuit, and a plurality of capacitors, the method comprising:
operating the CBSC circuit cyclically through a sampling phase and a transfer phase; sampling an input voltage and an error due to CBSC circuit non-idealities during the sampling phase; and amplifying and transferring the sampled input voltage to a load and canceling the error by reversing a polarity of connection for at least one of said capacitors. 14. The method of 15. The method of 16. The method of 17. The method of 18. The method of 19. The method of 20. The method of
This application is related to the following copending application, owned by the assignee of this invention:
1. Field of the Invention The present invention relates to comparator based switch capacitor circuit, in particular to comparator based switch capacitor circuit that performs circuit error cancellation. 2. Description of Related Art Comparator based switch capacitor (CBSC) circuit is an emerging technology that offers many advantages over conventional operational amplifier based switch capacitor circuit. Like a conventional switch capacitor circuit, a CBSC circuit also works in a two-phase manner. The two phases are “sampling” phase and “transfer” phase, controlled by two non-overlapping clocks, say φ1and φ2, respectively. In a typical two-phase CBSC circuit working at a sampling rate of f, the duration of each phase is slightly less than half of the sampling clock period T=1/f. During sampling phase (φ1), an input voltage VIis sampled using a sampling capacitor C1by connecting the “+” end of C1to VIand the “−” end to a common mode voltage VCM. During transfer phase (φ2), the charge stored on the sampling capacitor C1is transferred to an integrating capacitor C2via a charge transfer circuit comprising a comparator 130 and a charge pump (CP) 140, which includes a current source I1and a current sink I2, as shown in At the beginning of the charge transfer phase, a brief preset (P) must be performed to clear CLand ensure the voltage VXis below VCM. The preset is done by momentarily pulling the output node VOto VSS, the lowest potential in the system. Next, a coarse charge transfer phase (E1) begins. During coarse charge transfer phase, VX<VCMand CP 140 turns on the current source I1to inject charge into the circuit comprising CL, C2, and C1, resulting in a relatively fast voltage ramp on VXtoward VCM. CP 140 continues to inject charge until comparator 130 detects VX>VCM. At the instant where comparator 130 detects VX>VCM, a fine charge transfer phase (E2) commences by turning off the current source I1and turning on the current sink I2to drain charge from the circuit comprising CL, C1, and C2. One deliberately chooses I2to be lower than I1, resulting in a relatively slow voltage ramp down on VXback toward VCM. At the instant where the comparator 130 detects VX<VCMagain, the sampling switch 150 is opened and the charge stored on CLis sampled and frozen. There are two problems associated with the prior art CBSC circuit 100. First, there is always an error on the final sampled value of VOdue to the circuit delay. As clearly seen in What is needed is a method to remove the errors due to circuit non-idealities, in particular circuit delay and comparator offset, for CBSC circuit. In an embodiment, an error canceling comparator based switch capacitor (CBSC) circuit is disclosed; the circuit comprises a comparator, a charge pump circuit, and a plurality of capacitors; and the CBSC works cyclically through multiple phases including at least a sampling phase (φ1) and a transfer phase (φ2), wherein during the sampling phase (φ1) the CBSC circuit samples both an input voltage and an error due to circuit non-idealities and during the transfer (φ2) phase the CBSC amplifies the sampled input voltage by a fixed ratio and transfers a resultant voltage to a load capacitor while canceling the error by reversing a polarity of connection for an internal capacitor within the CBSC circuit. In an embodiment, a method of canceling error in a comparator based switch capacitor (CBSC) is disclosed; the circuit comprises a comparator, a charge pump circuit, and a plurality of capacitors; and the method comprises: operating the CBSC circuit cyclically through multiple phases including at least a sampling phase (φ1) and a transfer phase (φ2), sampling an error due to circuit non-idealities during the sampling phase (φ1), and canceling the error by reversing the polarity of connection for an internal capacitor within the CBSC circuit during the transfer phase (φ2). The subject matter regarded as the invention is particularly pointed out and distinctly claimed in the concluding portion of the specification. The invention, both as to device and method of operation, together with features and advantages thereof may best be understood by reference to the following detailed description with the accompanying drawings in which: The present invention relates to error cancellation for comparator based switch capacitor (CBSC) circuit. While the specifications describe several example embodiments of the invention considered best modes of practicing the invention, it should be understood that the invention can be implemented in many ways and is not limited to the particular examples described below or to the particular manner in which any features of such examples are implemented. The present invention is general and applicable to any sampled-data analog circuit. For example, the present invention can be applied to a pipeline ADC (analog-digital converter), and also to a delta-sigma ADC (analog-digital converter). A sampled-data analog circuit usually works in a multi-phase manner. By way of example but not limitation, a two-phase switch-capacitor circuit in accordance with the present invention is disclosed. Like the prior art described earlier, the two phases are sampling phase (φ1) and transfer phase (φ2). Without loss of generality, a pipeline ADC will be used as an example to illustrate the principle taught by the present invention. In a preferred embodiment, the circuit configuration during sampling phase (φ1) is depicted in An exemplary timing diagram for CBSC 100A is shown in If CBSC 100A has zero comparator offset and zero circuit delay, then there will be zero charge on all for capacitors C′1, C′2, C2, and C′Lat the end of sampling phase (φ1). However, due to nonzero comparator offset and circuit delay, there will be some charge stored for each of the four capacitors. Let the comparator offset be VOS(i.e. comparator 130 favorably gives the “−” end an advantage in an amount of VOSwhen performing comparison.) Let the current draining from C2during E′2be I. Also, let the circuit delay between the exact timing instant where VXfalls past VCMand the actual timing instant where comparator 130 detects VX<VCMbe τ. Then, at the end of sampling phase (φ1), the charges on C1, C′2, and C2are: In a preferred embodiment, the circuit configuration during transfer phase (φ2) is depicted in An exemplary timing diagram for CBSC 100B is shown in In connecting C1in parallel with C′2, a charge sharing occurs to make the voltage across C1identical with the voltage across C′2. The initial value of VXright before CBSC 100B enters transfer phase (φ2) is During P phase, VOis momentarily pulled low and so is VX. During E1phase, CP 140 injects charge so that VXrises toward VCM+VOS. Slightly after VXrises past VCM+VOS, E2phase commences and CP 140 drains charge so that VXfalls toward VCM+VOS. Slightly after VXfalls past VCM+VOS, H phase commences and the charges stored on all four capacitors (C1, C2, C′2, and CL) are frozen. The final value of VXis then The total net charge transferred from C1and C′2to C2during the entire transfer phase (φ2) is then
Therefore, at the end of transfer phase (φ2), the charge stored on C2is
The final output voltage VOis then By manipulating above listed algebraic equations along with the conditions C′1=C1and C′2=C2, one obtains
which is exactly the correct final output voltage for the case of zero comparator offset and zero circuit delay. The error due to comparator offset and circuit delay, therefore, has been completely cancelled. For those of ordinary skill in the art, the principle disclosed by the present invention can be practiced in various alternative forms, including the following:
Also, there are many switches (besides switch 150) that are needed but not displayed in any of the figures. They are controlled by a plurality of clock signals to define the circuit configuration (i.e. the connections among circuit elements) for both sampling phase (φ1) and transfer phase (φ2). They are not shown in the figures because they are implied and deemed obvious to those of ordinary skill in the art. 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.CROSS REFERENCE TO RELATED APPLICATIONS
BACKGROUND OF THE INVENTION
BRIEF SUMMARY OF THIS INVENTION
BRIEF DESCRIPTION OF THE DRAWINGS
DETAILED DESCRIPTION OF THIS INVENTION
and
respectively.