Sepke et al, “Comparator-Based Switched-Capacitor Circuits For Scaled CMOS Technologies,” in ISSCC Digest of Technical Papers, February 2006
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 noise shaping on its circuit-induced error.
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 φ1 and φ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 VI is sampled using a sampling capacitor C1 by connecting the “+” end of C1 to VI and the “−” end to a common mode voltage VCM. During transfer phase (φ2), the charge stored on the sampling capacitor C1 is transferred to an integrating capacitor C2 via a charge transfer circuit comprising a comparator 130 and a charge pump (CP) 140, which includes a current source I1 and a current sink I2, as shown in
At the beginning of the charge transfer phase, a brief preset (P) must be performed to clear CL and ensure the voltage VX is below VCM. The preset is done by momentarily pulling the output node VO to VSS, the lowest potential in the system. Next, a coarse charge transfer phase (E1) begins. During coarse charge transfer phase, VX<VCM and CP 140 turns on the current source I1 to inject charge into the circuit comprising CL, C2, and C1, resulting in a relatively fast voltage ramp on VX toward 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 I1 and turning on the current sink I2 to drain charge from the circuit comprising CL, C1, and C2. One deliberately chooses I2 to be lower than I1, resulting in a relatively slow voltage ramp down on VX back toward VCM. At the instant where the comparator 130 detects VX<VCM again, the sampling switch 150 is opened and the charge stored on CL is 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 VO, due to the circuit delay. As clearly seen in
The error due to comparator offset or circuit delay may degrade the system performance. Besides, both comparator 130 and charge pump 140 also generate noises, in particular a low frequency noise known as “flicker noise.”
Fortunately, for an over-sampling system such as a delta-sigma ADC, the error due to comparator offset and circuit delay, along with any low frequency circuit noise, can be made irrelevant if a spectral shaping operation can be performed on the error.
What is needed is a method to spectrally shape a noise or error due to circuit non-idealities for a CBSC circuit.
In an embodiment, a noise shaping comparator based switch capacitor (CBSC) circuit is disclosed. The CBSC circuit comprises a comparator, a charge pump, a plurality of capacitors, and a plurality of shufflers. Each shuffler is controlled by a logical signal to determine a polarity of connection for a circuit element within the CBSC circuit. The CBSC circuit operates cyclically through a sampling phase and a transfer phase. During the sampling phase the CBSC circuit samples an input voltage; during the transfer phase the CBSC circuit amplifies the sampled input voltage by a ratio and transfers a first resultant voltage to a load using the charge pump circuit. A noise induced by the CBSC circuit due to circuit non-idealities is spectrally modulated by the logical signal.
In an embodiment, a method of spectrally shaping a circuit noise induced in a comparator based switch capacitor (CBSC) circuit is disclosed. The CBSC circuit comprises a comparator, a charge pump, and a plurality of capacitors. The method comprises: generating a modulating logical signal; operating the CBSC circuit through a sampling phase and a transfer phase; sampling an input voltage during the sampling phase; and amplifying the sampled input voltage by a ratio and transferring a resultant voltage to a load using a charge pump circuit during the transfer phase using a configuration of circuit connection determined by the modulating logical signal. A noise induced by the CBSC circuit due to circuit non-idealities is spectrally modulated by the logical signal.
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 noise shaping 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. However, the present invention is most useful to an over-sampling system such as 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).
The present invention discloses a method to spectrally shape the noise due to comparator offset, circuit delay, and a low frequency noise (e.g. flicker noise) in the prior art CBSC circuit 100 by shuffling a polarity of connection for a plurality of capacitors, including a sampling capacitor, an integrating capacitor, and a load capacitor. During sampling phase (φ1), the “+” end of a sampling capacitor C1 is connected to the input voltage VI, while the “−” end of C1 is connected to a common mode voltage VCM. The circuit configuration during transfer phase (φ2) is depicted in
Let the comparator offset be VOS (i.e. comparator 130 favorably gives the “−” end an advantage in an amount of VOS when performing comparison.) Let the current draining from C2 during E2 be I. Also, let the circuit delay between the exact time instant where VX falls past VCM and the actual time instant where comparator 130 detects VX<VCM be τ. Let the charge on C2 before charge transfer phase be Q2(init).
Consider first the case where SWAP is de-asserted (SWAP=0). At the end of charge transfer, the charges stored on C1 and C2 are Q1(0)=−C1VOS+Iτ and Q2(0)=Q2(init)+C1(VOS+VI−VCM)−Iτ, respectively. The output voltage is then
The charge stored on CL at the end of charge transfer is then:
Then consider the case where SWAP is asserted (SWAP=1). At the end of charge transfer, the charges stored on C1 and C2 are Q1(1)=C1VOS−Iτ and Q2(1)=Q2(init)−C1(VOS−VI+VCM)+Iτ, respectively. The output voltage is then
The charge stored on CL at the end of charge transfer is then:
It is obvious that the error term, due to comparator offset (VOS) and circuit delay (Iτ), in the case where SWAP=0 is exactly opposite to the error term in the case where SWAP=1. The same conclusion can be said for other circuit errors such as a flicker noise.
In an embodiment, the SWAP signal toggles its state every time the CBSC circuit 100A completes a sampling-transfer cycle. That is, if SWAP is 0 during current sampling-transfer cycle, then SWAP will be 1 during next sampling-transfer cycle; if SWAP is 1 during current sampling-transfer cycle, then SWAP will be 0 during next sampling-transfer cycle. Using this arrangement, a circuit-induced error will be modulated into a high frequency noise that becomes irrelevant in an over-sampling system.
In another embodiment, the SWAP signal is a pseudo-random noise (PN) sequence. Using this arrangement, a circuit-induced error will be modulated into a random noise.
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:
In an embodiment, one may also use a differential circuit instead of a single-ended circuit.
Throughout this disclosure, 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 the 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.
This application is related to the following applications, owned by the assignee of this invention: 1) Lin, Ser. No. 11/1277,939, for “ERROR CANCELLING COMPARATOR BASED SWITCH CAPACITOR CIRCUIT AND METHOD THEREOF” 2) Lin, Ser. No. 11/277,942, for “ERROR AVERAGING COMPARATOR BASED SWITCH CAPACITOR CIRCUIT AND METHOD THEREOF”