Embodiments relate to analog circuits, and more particularly, to analog circuits to recover an analog voltage.
One approach to reduce power consumption in a circuit is to turn OFF various circuit blocks within the circuit when they are not needed for proper operation of the circuit, and then to turn them back ON when they are needed. However, many analog circuit blocks, such as for example a phase-locked loop (PLL), take a relatively large amount of time to reach their steady state operation. For such analog circuit blocks, it is desirable to store their steady state if they are switched OFF, so that they may quickly reach their steady state operation when turned back ON. In many practical instances, the steady state of an analog circuit may be represented by one or more analog voltages.
It is useful to provide an analog recovery circuit to allow the recovery of one or more analog voltages.
Embodiments of the present invention may be termed analog recovery circuits. In an embodiment, an analog voltage at some time is represented by a set of binary voltages (a binary number), the binary voltages (or binary number) is stored, and the set of binary voltages is used at a later time to recover, or reconstruct, the analog voltage. The recovery, or reconstruction, of the analog voltage is in general only approximate, as is the case for any scheme in which an arbitrary analog voltage is represented by a finite set of bits.
Embodiments are expected to have several useful characteristics, such as economical utilization of die area and built-in compensation due to voltage or temperature offsets. In some applications, embodiments may have other useful characteristics. For example, in applications to a PLL, an embodiment analog recovery circuit may share components with the PLL. Furthermore, in applications to a PLL, a synchronizer for the voltage-controlled-oscillator (VCO) may be used to improve lock time upon restart of the PLL by establishing an a priori phase relationship for the VOC, where the a priori phase relationship is the phase relationship at an earlier time, recovered by an embodiment analog recovery circuit.
An embodiment of the present invention employing four capacitors to recover an analog voltage is illustrated in
When the analog circuit providing the voltage Vq is ON, the voltages T0, T1, T2, and T3 are HIGH so that the bottom terminals of capacitors C1, C2, C3, and C4 are coupled to ground rail 104, and pMOSFET (p-Metal-Oxide-Semiconductor-Field-Effect-Transistor) Q9 is OFF. The terms “top terminals” and “bottom terminals” are merely used for convenience, it being understood that in practice the terminals of a capacitor are not necessarily related to each other in which one terminal is above the other. What is meant here is that the top terminal of a capacitor is that terminal connected to the analog voltage node, and the bottom terminal is that terminal which is capable of being coupled to either a ground rail or a power rail, or other reference voltage.
When the analog circuit providing the voltage Vq is put into a standby mode, e.g., switched OFF, it does not drive node 102. That is, node 102 is floating but for the circuit of
When the analog circuit is put into its standby mode, a process begins under control of state machine 108. This process may be described with respect to the example of
In the example of
After the voltage T0 is brought from HIGH to LOW and Vq has time to settle to its new steady state value, state machine 108 brings the voltage T1 from HIGH to LOW so that the bottom terminal of capacitor C2 is now coupled to voltage reference supply 106. The voltage Vq rises again.
The above process continues, with successive capacitors having their bottom terminals coupled to voltage reference supply 106 until the voltage Vq rises above Vref. When Vq rises above Vref, comparator 110 changes its output voltage to indicate that Vq is now greater than Vref. This cause and effect is illustrated by the arrow in
In the example of
After the completion of the digitization process, but before the analog circuit is powered back ON, the voltage at the gate of pMOSFET Q9, denoted as Pb in
With pMOSFET Q9 switched ON, the voltage Vq is brought to Vref. When the analog circuit is powered up, pMOSFET Q9 is switched OFF, and state machine 108 restores the original voltage Vq by switching voltages T0, T1, and T2 to HIGH. That is, all those capacitors whose bottom terminals were coupled to voltage reference supply 106 are now switched so that their bottom terminals are now coupled to ground rail 104. Because the voltage Vq was brought to Vref after digitization but before power up, this process, in a sense, reverses the digitization process. The result is that Vq is brought down to its original value when the digitization process began. However, this statement is not quite accurate because the voltage Vq, in general, is restored only approximately to its original value. This is because, when the output voltage at comparator 110 switches from LOW to HIGH during the digitization process, the voltage Vq will most likely be larger than Vref, and only rarely will it happen to equal Vref. This approximation may be improved by utilizing more capacitors, so that a larger bit-representation of Vq is developed.
The process described with respect to
Process 316 determines whether the analog circuit is to be powered up. If it is, then control is brought to process 318 in which the Vq node is floated. Processes 310 and 316 may be viewed as a power-down mode, whereas entering process 318 begins the power-up and restore mode. After Vq is floated in process 318, in process 320 the voltages Ti for each i are switched to HIGH if they are not already HIGH. Control is then brought back to standby mode 302.
In some embodiments, the values of the capacitors used to encode the voltage Vq may be equal to each other. In other embodiments, they may not be equal to each other. Furthermore, in some embodiments, the process by which digitization is carried out may vary. For example, another embodiment may be described as follows. Suppose the values of the capacitors are chosen to be unequal. One particular example is to choose them to be related to each other by powers of 2, which is the binary weighted case. Then, when digitization begins, the largest capacitor is switched to have its bottom terminal coupled to voltage reference supply 106. If the voltage Vq does not exceed Vref, then the next largest capacitor is switched to have its bottom terminal coupled to voltage reference supply 106. This process continues, switching the capacitors in decreasing order of their capacitances, until either a capacitor is switched for which Vq exceeds Vref, or there are no more capacitors left to switch. If some capacitor is switched for which Vq exceeds Vref, then that capacitor is switched again so that its bottom terminal is again coupled to ground rail 104, and the process again continues whereby the next largest capacitor relative to that capacitor is switched. This process is illustrated in
Referring to
A useful feature of an embodiment when used in conjunction with a PLL is that the capacitors used to quantize the analog voltage during the digitization process may also comprise the tank capacitor used in a loop filter in the PLL. This results in saving die area.
Another useful feature is that the analog voltage may be (approximately) restored if the digitization operation is interrupted. This is accomplished by simply coupling the bottom terminals of the capacitors back to ground rail 104.
It should be appreciated that transistors used to switch the capacitors, e.g. transistors Q1 through Q8 in
It is expected that errors due to mismatches in the capacitors used in the digitization process, or other time-invariant non-linearities in the capacitors, as well as temperature induced offsets, are significantly cancelled out because the same capacitors are used to both encode (quantize) the voltage Vq and to restore the voltage Vq.
Embodiments of the present invention may find applications to a wide range of electronic systems. For example, in
In
Various modifications may be made to the disclosed embodiments without departing from the scope of the invention as claimed below. For example, in some embodiments, the roles of the voltage reference supply and the ground rail may be reversed. Accordingly, for some embodiments, the bottom terminals of the capacitors are coupled to the voltage reference supply during normal operation of the analog circuit, and are then switched to the ground rail during the digitization process.
It is to be understood in these letters patent that the meaning of “A is connected to B”, where A or B may be, for example, a node or device terminal, is that A and B are connected to each other so that the voltage potentials of A and B are substantially equal to each other. For example, A and B may be connected by way of an interconnect, for example. In integrated circuit technology, the interconnect may be exceedingly short, comparable to the device dimension itself. For example, the gates of two transistors may be connected to each other by polysilicon or copper interconnect that is comparable to the gate length of the transistors. As another example, A and B may be connected to each other by a switch, such as a transmission gate, so that their respective voltage potentials are substantially equal to each other when the switch is ON.
It is also to be understood in these letters patent that the meaning of “A is coupled to B” is that either A and B are connected to each other as described above, or that, although A and B may not be connected to each other as described above, there is nevertheless a device or circuit that is connected to both A and B. This device or circuit may include active or passive circuit elements, where the passive circuit elements may be distributed or lumped-parameter in nature. For example, A may be connected to a circuit element which in turn is connected to B.
It is also to be understood in these letters patent that a “current source” may mean either a current source or a current sink. Similar remarks apply to similar phrases, such as, “to source current”.
It is also to be understood in these letters patent that various circuit blocks, such as current mirrors, amplifiers, etc., may include switches so as to be switched in or out of a larger circuit, and yet such circuit blocks may still be considered connected to the larger circuit because the various switches may be considered as included in the circuit block.
Various mathematical relationships may be used to describe relationships among one or more quantities. For example, a mathematical relationship or mathematical transformation may express a relationship by which a quantity is derived from one or more other quantities by way of various mathematical operations, such as addition, subtraction, multiplication, division, etc. Or, a mathematical relationship may indicate that a quantity is larger, smaller, or equal to another quantity. These relationships and transformations are in practice not satisfied exactly, and should therefore be interpreted as “designed for” relationships and transformations. One of ordinary skill in the art may design various working embodiments to satisfy various mathematical relationships or transformations, but these relationships or transformations can only be met within the tolerances of the technology available to the practitioner.
Accordingly, in the following claims, it is to be understood that claimed mathematical relationships or transformations can in practice only be met within the tolerances or precision of the technology available to the practitioner, and that the scope of the claimed subject matter includes those embodiments that substantially satisfy the mathematical relationships or transformations so claimed.