The present invention relates generally to a biased clock generator, and more particularly, to a biased clock generator for switched capacitor filters.
Switched capacitor filters (SCFs) are typically used in integrated circuits as they allow for the integration and for the manufacture of various analog and digital components on a single chip. SCFs are based on the realization that a capacitor switched between two circuit nodes at a sufficiently high rate is equivalent to a resistor connecting the two circuit nodes. Since resistors are expensive and are difficult to control, SCF circuits are typically used to simulate resistors.
In a typical SCF circuit, a switch couples a voltage potential to a capacitor. When the switch closes, the voltage potential charges the capacitor. And when the switch opens, the charge remains on the capacitor. Typically, the switch is implemented as a metal oxide semiconductor (MOS) transistor. Using a MOS transistor implemented as a switch, however, introduces various errors in the voltage at the switched capacitor filter.
One source of error is known as charge injection. Typically, when the MOS transistor opens (i.e., as the gate voltage falls below the threshold voltage, and is now off), there is a transfer of charge through the source and drain terminals of the MOS transistor. The transfer of charge causes a leakage of charge (i.e., an injection of charge) from the MOS transistor to the capacitor, which in turn introduces an error in the voltage stored in the capacitor. Clock feed through and noise are other sources of error. As circuits have become more sophisticated and accuracy requirements have increased, errors due to charge injection and clock feed through have become critical in the proper operation of SCFs.
One common technique of reducing these errors includes using a charge cancellation circuit.
The charge cancellation technique described in
A system and method of generating a pair of synchronized signals is disclosed. As an example, the system may be a biased clock generator. The biased clock generator includes a first device connected between a first output voltage and an input reference voltage, the first device generating a first output clock signal, a second device connected in series with the first device, the second device connected between the input reference voltage and a second output voltage, the second device generating a second output clock signal. The biased clock generator further includes a first switching circuit connected in parallel with the first device, the first switching circuit operable to toggle the first device on and off; and a second switching circuit connected in parallel with the second device, the second switching circuit operable to toggle the second device on and off.
The first output clock signal oscillates between the input reference voltage and the first output voltage and the second output clock signal oscillates between the second output voltage and the input reference voltage. In this embodiment, the first output clock signal is one threshold voltage above the input reference voltage and the second output clock signal is one threshold voltage below the input reference voltage. Further, the input reference voltage is greater than zero volts. The input reference voltage is approximately one-half (½) of a rail voltage. Approximately is used because it may be difficult to set the input reference voltage at exactly one-half of the rail voltage. In one embodiment, the rail voltage is the input supply voltage (Vdd) of the biased clock generator. The input supply voltage Vdd supplies power to the biased clock generator.
In a preferred embodiment, the first device is a first NMOS transistor and the second device is a first PMOS transistor. The first NMOS transistor and the first PMOS transistor are coupled together such that a drain terminal of the first NMOS transistor is coupled to a first current source, a source terminal of the first NMOS transistor is coupled to the input reference voltage, and a gate of the first NMOS transistor is connected to the drain terminal of the first NMOS transistor. Further, a drain terminal of the first PMOS transistor is coupled to a second current source, a source terminal of the first PMOS transistor is coupled to the input reference voltage, and a gate of the first PMOS transistor is connected to the drain terminal of the first PMOS transistor.
In a preferred embodiment, the first switching circuit operates to connect the first current source to the first device for a first period of time and disconnect the first current source from the first device for a second period of time, wherein the first and second periods of time are substantially equal. In the same way, the second switching circuit operates to connect the second current source to the second device for the first period of time and disconnect the second current source from the second device for the second period of time. In the same or in another embodiment, the first switching circuit and the second switching operate in unison.
The first switching circuit preferably comprises a second NMOS transistor connected in parallel to a second PMOS transistor such that a source terminal of the second PMOS transistor is coupled to (i) a drain terminal of the second NMOS transistor and (ii) the drain terminal of the first NMOS transistor and a drain terminal of the second PMOS transistor is coupled to (i) a source terminal of the NMOS transistor and (ii) a source terminal of the NMOS transistor. Further, a gate terminal of the second NMOS transistor is coupled to a first inverter and a gate terminal of the second PMOS transistor is coupled a second inverter.
The second switching circuit comprises a third NMOS transistor connected in parallel to a third PMOS transistor such that a source terminal of the third PMOS transistor is coupled to (i) a drain terminal of the third NMOS transistor and (ii) the source terminal of the first PMOS transistor and a drain terminal of the third PMOS transistor is coupled to (i) a source terminal of the NMOS transistor and (ii) the drain terminal of the first PMOS transistor. Further, a gate terminal of the third PMOS transistor is coupled to the first inverter and a gate terminal of the third NMOS transistor is coupled to the second inverter.
The first and second inverters are each connected to a comparator. The comparator receives a first input clock signal and a second input clock signal, the comparator comparing the first input clock and the second clock signal. In a preferred embodiment, the comparator comprises a fourth NMOS transistor and a fifth NMOS transistor, the fourth and fifth NMOS transistors coupled to each other in series. In particular, a source terminal of the fourth NMOS transistor is coupled to a source terminal of the fifth NMOS transistor. Further, a gate terminal of the fourth NMOS transistor receives the first input clock signal and a gate terminal of the fifth NMOS transistor receives the second input clock signal.
In addition, an exemplary embodiment may take the form of a method. In particular, the method includes receiving, at a comparator, a pair of synchronized clock input signals, the pair comprising a first input clock signal and a second input clock signal; and determining, at the comparator, that the first input clock signal is greater than the second input clock signal. In response to this determination, the comparator sends a first signal that causes (i) a first device to generate a first output voltage that is one threshold voltage higher than an input reference voltage and (ii) a second device to generate a second output voltage that is one threshold voltage lower than the input reference voltage. In one embodiment, the first device is an NMOS transistor that is coupled to a first current source, and the second device is a PMOS transistor that is coupled to a second current source.
Further, the method includes determining, at the comparator, that the first input clock signal is less than the second input clock signal. In response to this determination, the comparator sends a signal that causes the first device to (i) generate a first output voltage that is substantially equal to the input reference voltage and a (ii) second output voltage that is substantially equal to the input reference voltage. In the same embodiment, a source terminal of the NMOS transistor is coupled to a drain terminal of the NMOS transistor, which in turn is coupled to the input reference voltage and a source terminal of the PMOS transistor is coupled to a drain terminal of the PMOS transistor, which in turn is coupled to the input reference voltage.
In the same embodiment or in another embodiment, the first NMOS transistor generates a first output clock signal that oscillates between the input reference voltage and the first output voltage and the first PMOS transistor generates a second output clock signal oscillating between the second output voltage and the input reference voltage.
Embodiments of the invention are described herein with reference to the drawings, in which:
It should be understood that the arrangements described herein are for purposes of example only. For example, charge cancellation circuit 100 in
Further, it should be understood that the biased clock generator 206 does not necessarily have to be connected to switched capacitor integrator 212. Although the remainder of this application is directed to biased clock generator 206 being used in conjunction with switched capacitor integrator 212, it should be understood that biased clock generator 206 may be coupled to circuits other than switched capacitor integrator 212. For instance, biased clock generator 206 may be used with a basic switch that uses a sensitive signal.
In normal operation, biased clock generator 206 receives input clock signals 202 and 204. In one embodiment, input clock signals 202 and 204 are differential clock signals, such that clock input signal 204 is an inverted signal of clock signal 202. As one example, differential clock signal 202 and 204 may come from another biased clock generator. Biased clock generator 206 receives differential input clock signals 202 and 204 and generates differential output clock signals 208 and 210. Differential clock output signals 208 and 210 have characteristics that are optimized for the operation of the switched capacitor integrator 212. For instance, in one embodiment, biased clock generator 206 uses clock input signals 202 and 204 to generate differential clock signals 208 and 210 that are centered around a reference voltage. In this regard, clock signal 208 may be one threshold voltage higher than the reference voltage and clock signal 210 may be one threshold voltage below the reference voltage. The reference voltage may be set around the common mode voltage of the switched capacitor integrator 212. Typically, the common mode voltage is set to half of the supply voltage of the switched capacitor integrator 212.
In the same embodiment or in another embodiment, biased clock generator 206 generates differential clock signals 208 and 210 that have amplitudes optimized for the operation of the switched capacitor integrator 212. The amplitude of the differential clock signals 208 and 210 may have a lower amplitude than the differential input clock signals 202 and 204, but the amplitude of the differential output clock signals 208 and 210 may be high enough amplitude to drive switched capacitor integrator 212. Biasing the output clock signals 208 and 210 around a reference voltage and lowering the amplitude of each of the clock signals 208 and 210 reduces errors that may occur because of charge injection and clock feed through. Further, in the same embodiment or in another embodiment, clock signals 208 and 210 have the same phase and frequency as clock input signals 202 and 204.
When biased clock generator 206 receives the clock input signals 202 and 204, biased clock generator 206 compares the two clock signals. When clock signal 202 is greater than clock signal 204, biased clock generator 206 generates clocks clock signals 208 and 210 that are at the reference voltage (i.e., the common mode voltage of the switched capacitor integrator 212). And when clock signal 202 is less than clock signal 204, biased clock generator 206 generates differential clock signals 208 and 210 that are around one threshold voltage around the reference voltage. In this scenario, clock output signal 208 is one threshold voltage above the reference voltage and clock output signal 210 is one threshold voltage below the reference voltage.
Switched capacitor integrator 212 is discussed more fully in connection with
As shown in
Switching circuit 306 is discussed more fully in connection with
Alternatively, when switching circuit 306 is closed, current source 310 is now coupled to the source terminal of the NMOS transistor 312. This condition effectively short-circuits the NMOS transistor 312 (since the drain terminal of NMOS transistor 312 is connected to the source terminal of the NMOS transistor 312), causing the output clock signal 208 to be at the same potential as the reference voltage 314. In this condition, when NMOS transistor 312 is off, output clock signal 208 is substantially equal to the input reference voltage 314.
Switching circuit 308 is discussed more fully in connection with
Alternatively, when switching circuit 308 is closed, current source 318 is now coupled to the source terminal of the PMOS transistor 316. This condition effectively short-circuits the PMOS transistor 316 (since the drain terminal of PMOS transistor 316 is connected to the source terminal of the PMOS transistor 316), causing the output clock signal 210 to be at the same potential as the reference voltage 314. In this condition, when PMOS transistor 312 is off, output clock signal 210 is substantially equal to the input reference voltage 314.
Comparator 302 is discussed more fully in connection with
Alternatively, when input clock signal 202 is less than input clock signal 204, differential amplifier 302 generates a low signal (i.e., “0”). Inverter 304 inverts the low signal into a high signal, which forces switching circuits 306 and 308 to close. In such a condition, the drain terminal and the source terminal of the NMOS transistor 312 are shorted; source terminal and the drain terminal of PMOS transistor 316 are shorted. In such a condition, output clock signals 208 and 210 are at the same potential as the input reference voltage 314. In a preferred embodiment, switching circuits 306 and 308 are synchronized to operate in unison such that whenever switching circuit 306 is open, switching circuit 308 is open, and when switching circuit 306 is closed, switching circuit 308 is closed. By synchronizing switching circuits 306 and 308 to operate in unison, biased clock generator 206 generates a synchronized pair of clock signals 208 and 210, which track each other in phase and frequency. In the same embodiment, switching circuit 306 couples current source 310 to NMOS transistor 312 for a first period of time and disconnects the current source 310 from the NMOS transistor 312 for a second period of time, wherein the first and second periods of time are substantially equal. Further, in the same embodiment or in another embodiment, when switching circuit 308 and 306 operate in unison, switching circuits 308 couples and disconnects PMOS transistor 316 for the same period of time that switching circuit 306 couples and disconnects NMOS transistor 312 from current source 310.
In this way, comparator 302 uses clock signals 202 and 204 to drive NMOS transistor 312 and PMOS transistor 316 to generate clock signals 208 and 210 that are centered around reference voltage 314. The comparator 302 controls switching circuits 306 and 308 so that the NMOS 312 (i.e., first device) and PMOS 316 (i.e., second device) are toggled on and off in unison. Table 1, below, summarizes the operation of biased clock generator 206.
And similarly, in the same embodiment, current source 318 is turned on whenever differential amplifier 302 operates to open switching circuit 308 and current source 318 is turned off whenever differential amplifier 302 operates to close switching circuit 308. Table 2, below, summarizes the operation of biased clock generator 206.
As shown in
Current source 310, as shown in
Current source 318 comprises a current mirror source that comprises a first n-type FET 444 and a second n-type FET 446. The first n-type FET 444 and the second n-type FET 446 are coupled in a stacked arrangement between the ground rail (Vss) 406 and PMOS transistor 316. Specifically, the source terminals of the first n-type FET 434 and of the second n-type FET 446 are coupled to the ground rail 406 and the gates of the FET 432 and FET 434 are coupled with each other. Further, the drain terminal of FET 436 is coupled to the drain terminal of the NMOS transistor 312.
It should be understood that each of current sources 310 and 318 may be implemented in any number of ways, such as a constant current source or a variable current source that is operated to provide a constant current (tail current) to the NMOS transistor 312 and PMOS transistor 316 respectively. Table 3, below, summarizes the operation of biased clock generator 206 illustrated in
In
Next, block 704 includes making a determination of whether the first input clock signal is greater than the second input clock signal. As an example, comparator 302 may make this determination by comparing the amplitude of the first input clock signal 202 with the second input clock signal 204.
If the determination is that the amplitude of the first clock signal is greater than that of the second input clock signal, then, at block 706, NMOS 312 is coupled to current source 310 and PMOS 316 is coupled to current source 318. As an example, if comparator 302 determines that clock signal 202 is greater than clock signal 204, comparator 302 sends a signal to open each of the switching circuits 306 and 308. The signal may be a digital control signal. When switching circuits 306 and 308 have been opened, current source 310, in effect, is coupled to the drain terminal of the NMOS transistor 312 and current source 318 is coupled to the drain terminal of the PMOS transistor 316. This forces NMOS transistor 312 to be on and PMOS transistor 316 to be on. In this regard, NMOS transistor 312 generates an output clock signal 208 that has a voltage one threshold voltage higher than the input reference voltage 314 and PMOS transistor 316 generates an output clock signal 210 that has a voltage one threshold voltage below the input reference voltage. Input reference voltage 314 is approximately one-half (½) of the power rail voltage.
Alternatively, if the determination is that the first clock signal is less than the second input clock signal, then, at block 708, NMOS 312 is disconnected from current source 310 and PMOS 316 is disconnected from current source 318. As an example, if the comparator 302 determines that clock signal 202 is less than clock signal 304, comparator 302 sends a signal to close switching circuits 308 and 310. The signal may be a digital control signal. When switching circuits 306 and 308 have been closed, the drain terminal and the source terminal of the NMOS transistor 312 are coupled together, thereby short-circuiting NMOS transistor 312. In such a scenario, switching circuit 306 causes an output clock signal 208 to be generated that has a voltage potential substantially equal to the input reference voltage 314. In the same regard, the drain terminal and the source terminal of the PMOS transistor 316 are coupled together, thereby short-circuiting PMOS transistor 316. In such a scenario, switching circuit 308 causes an output clock signal 210 to be generated that has a voltage potential substantially equal to the input reference voltage.
While a number of aspects and embodiments have been discussed above, it will be appreciated that various modifications, permutations, additions and/or sub-combinations of these aspects and embodiments are possible. It is therefore intended that the following appended claims and claims hereafter introduced are interpreted to include all such modifications, permutations, additions and/or sub-combinations as are within their true spirit and scope.