Embodiments of the invention are illustrated by way of example, and not by way of imitation, in the figures of the accompanying drawings in which like reference numerals refer to similar elements.
The present invention pertains to charge pump circuits, e.g., for a phase locked loop (PLL) or delay locked loop (DLL) circuit. In particular, it relates to a charge pump that can provide a charge pump current (ICP) versus control voltage (Vcntl) response that can be suitably flat to attain a desired performance. For non-self biased PLL's, keeping the charge pump current relatively constant with control voltage (Vcntl) can allow the PLL to meet criteria for stable operation over a frequency range and at the same time, can enable desired results such as improved phase-jitter performance and faster PLL lock time. Before discussing embodiments of the invention, however, a conventional self-biased PLL with a charge pump, having a downwardly sloping output current response, will be discussed for better understanding of the novel circuitry.
The phase-frequency detector compares a reference signal REF and a feedback signal FBK to determine whether a frequency and/or phase difference exists between them. The feedback signal may directly correspond to the output of the voltage-controlled oscillator or may constitute a divided version of this output, achieved, e.g., by placing a divider circuit in a feedback path connecting the VCO and phase-frequency detector.
The charge pump includes a current source 131 to source current IUp to the loop filter and a current sink 132 to sink current (IDn) from the loop filter. The current source 131 may be a positive current source and the current sink 132 may be a negative current source. The symbol ICP represents the current output from the charge pump. (It is noted that this figure illustrates how an ideal charge pump with IUp=IDn, works. The circuits of
In operation, the phase-frequency detector determines whether a phase (or frequency) difference exists between the reference and feedback signals. If a difference exists, the detector outputs one of an Up signal and a Down signal to control the output of the charge pump. If the phase of the reference signal leads the phase of the feedback signal, the Up signal may be asserted. In this case, switch 133 will close and the current signal output from the charge pump will correspond to the output of current source 131, e.g., ICP=IUp. Conversely, if the phase of the reference signal lags the phase of the feedback signal, switch 134 will close and the Down signal may be asserted. In this case, the current signal output from the charge pump will correspond to the output of current source 132, e.g., ICP=IDn. Which signal is asserted depends on the phase/frequency relationship between the reference and feedback signals,
The amount of time current is sourced to or sinked from the loop filter corresponds to the width of the pulse of ICP. Since the width of this pulse is proportional to the phase/frequency difference between the reference and feedback signals, the loop filter will charge/discharge for an amount of time that will bring the phases of these signals into coincidence. The resulting signal output from the loop filter will therefore control the VCO to output a signal at a frequency and a phase which is not substantially different from the reference signal input into the phase-frequency detector.
The charge pump may operate in one of four modes: CHARGE mode, PUMP mode, OVERLAP mode, and OFF mode. In CHARGE mode, a rising edge of the reference signal REF appears at the input of the phase-frequency detector. At this time, the detector outputs a switching voltage signal Up to the charge pump. This signal closes the Up switch to cause the charge pump to output charge current IUp such that ICP=IUp. In this mode, the charge pump therefore drives current into the loop filter of the PLL. On the other hand, in PUMP mode, a rising edge of the feedback signal FBK signal appears at the input of the phase-frequency detector. At this time, the detector outputs a switching voltage signal Dn to the charge pump. This signal closes the Dn switch to cause the charge pump to sink current from the loop filter of the phase locked loop equal to IDn.
In OVERLAP mode, the rising edge of the reference signal is input into the phase-frequency detector essentially at the same time the charge pump is operating in pump mode (i.e., the Dn switch is closed). Because both the Up switch and Dn switch are closed at this time, IUp current from the charge current source flows into the down current sink. As a result, no current should flow out of or into the charge pump during this mode. (Note that this is a characteristic of an idealized charge pump that can be difficult to achieve in practice thereby leading to errors resulting from current leaking into or leaching out of the loop filter during the OVERLAP mode.) OVERLAP mode may also occur if the charge pump is operating in charge mode at the same time the rising edge of the feedback signal is input into the phase-frequency detector. This will cause the phase-frequency detector to assert the Dn switching signal and thus close the Dn switch. In either case, the charge pump current ICP should assume a value of zero.
In OFF mode, the Up and Dn switches are both opened. As a result, the current sources of the charge pump are decoupled from the loop filter and no current should flow into or out of the loop filter.
The operation of the phase-locked loop may therefore be summarized as follows. When the phase-frequency detector detects a phase difference between the reference and feedback signals, the charge pump outputs a current pulse having a width (duration) corresponding to the phase difference. The current pulse determines a voltage variation at the loop filter output. This variation is proportional to the current pulse width and thus determines a VCO steering line voltage change which produces a VCO frequency shift that corrects the phase difference.
Under ideal conditions, when the phase difference between the reference and feedback signals is zero, the current pulse width and average charge pump output current are zero and no correction occurs in the loop. However, under non-ideal (or practical) conditions, the average current output from the charge pump is zeroed for a non-zero phase difference. The non-zero phase difference, which exists under this condition, is referred to as steady state DC skew of the phase-locked loop (PLL). The circuit of FIG. 2 addresses this problem by providing a charge pump with circuitry to substantially maintain IUp equal to IDn to inhibit current from leaking into or out from the loop filter during an overlap mode.
As represented in the graph next to the charge pump block, the charge pump output current (ICP) changes inversely with the control voltage (Vcntl). At the same time, a resistor in the loop filter (whose product with the charge pump current makes up a loop gain factor) increases with the control voltage. This results in the gain factor staying substantially constant even as the frequency changes providing for stable operation over the operating frequency range of the PLL, which allows for a relatively wide operating range.
The output section includes a symmetrical arrangement of four transistors P4, P5, N1, and N2. The transistors are coupled to respectively form Up (source) and Down (sink) switch circuits of the charge pump.
(Note that the term “P transistor” refers to a P-type metal oxide semiconductor field effect transistor. Likewise, “N transistor” refers to an N-type metal oxide semiconductor field effect transistor. It should be appreciated that whenever the terms: “transistor”, “MOS transistor”, “NMOS transistor”, or “PMOS transistor” are used, unless otherwise expressly indicated or dictated by the nature of their use, they are being used in an exemplary manner. They encompass the different varieties of MOS devices including devices with different VTs and oxide thicknesses to mention just a few. Moreover, unless specifically referred to as MOS or the like, the term transistor can include other suitable transistor types, e.g., junction-field-effect transistors, bipolar-junction transistors, and various types of three dimensional transistors, known today or not yet developed.
The source section 210 comprises transistors P1, P2,and P3, with P3 serving as a source transistor for the output node Vcntl. Similarly, the sink section 130 comprises transistors N3, N4, and N5, with N5 serving as a sink transistor for the output node Vcntl.
The dummy section 220 includes a first pair of coupled transistors N6 and N9, a second pair of coupled transistors P6 and N8, and a third pair of coupled transistors P7 and N9. The gates of transistors N6 and N8 are coupled to a voltage source and therefore these transistors are switched on. The gates of transistors N7, P6, P7, and N9 are respectively switched by signals Dn#, Up, Up#, and Dn outputs from the phase-frequency detector of the PLL. Preferably, the signals are buffered in a CMOS buffer prior to input into the dummy stage to provide equal slew rates.
Capacitor C1 is coupled between VVcntl and VCC. VVcntl (or virtual Vcntl) is a virtual (or mirrored) version of Vcntl. VVcntl is also coupled to the gates of the 3 P transistors of the source section 210 (namely transistors P1, P2, and P3). The capacitor is preferably included to stabilize VVcntl while the Up/Up# and Dn/Dn# signals are toggling.
The transistors in the output section are switched by the Up/Up# and Dn/Dn# signals from the phase-frequency detector to generate the output control voltage Vcntl, which corrects the frequency of a VCO to reduce or eliminate a phase difference between reference and feedback signals of a PLL. The Up and Dn signals, and their complements, may be buffered in a CMOS buffer prior to input into the dummy stage, and the amplitudes of switching signals Up, Up#, Dn, and Dn# may correspond to a circuit supply voltage VCC.
The bias generator section 240 comprises buffer amplifier U1, P transistors P8, P9, and N transistors N10, and N11 coupled together as shown. The transistors form a stack to model corresponding transistors from the source, dummy and sink sections to control the source and sink section transistor bias levels. They are controlled so that the Up current (IUp) remains equal to the Dn current (IDn) over changes in process, voltage, and temperature and over the operating range of the output control voltage.
A positive voltage change at the Nbias node leads to a negative voltage change at the Vcntl node. The Up current is controlled by VVcntl, which is a replica of Vcntl. Thus, the Up current is indirectly controlled by Nbias, while Dn current is directly controlled by the Nbias voltage.
Operation of the output stage of the charge pump will now be described for each mode of operation of the charge pump. In CHARGE mode, Up is high, Dn is low, Up# is low, and Dn# is high. These signals cause transistors P5 and N1 to be switched on and transistors P4 and N2 to be switched off. As a result, current from source transistor P3 flows through node Pxx and transistor PS to the Vcntl output, and current from current source P2 flows through switch P7 of the dummy section and then through transistor N1 to node Nxx and current source N3. Dummy current from current source P1 flows through transistors N6 and N1 and node Dnxx to sink transistor N4.
In PUMP mode, Up is low, Dn is high, Up# is high, and Dn# is low. These signals cause transistors P4 and N2 to be switched on and transistors P5 and N1 to be switched off As a result, transistor N2 causes current to be sinked from Vcntl through node Nxx to the sink transistor N3. Transistor P4 draws current from current source P3 through transistor N9 of the dummy stage through node Dnxx to sink transistor N4. Dummy current from current source P2 flows through node Dpxx and transistors P6 and N8 to sink transistor N5.
In OVERLAP mode, Up is high, Dn is high Up# is low, and Dn# is low. These signals cause transistors PS and N2 to be switched on and transistors P4 and N1 to be switched off As a result, current flows from current source P3 through node Pxx, transistors P5 and N2, node Nxx through sink transistor N3. No current goes to the Vcntl output and no current flows from the dummy section to the output section. Dummy current from current source P2 flows through node Dpxx, transistors P7 and No and node Dnxx to sink transistor N4.
In OFF mode, Up and Dn are low and Up# and Dn# are high. These signals cause transistors P4 and N1 to be switched on and transistors PS and N2 to be switched off. As a result, current from source P3 flows through node Pxx, transistors P4 and N1, and node Nxx to sink transistor N3. No current flows from the dummy stage to the output stage. Dummy current from current source P2 flows through node Dpxx and transistors P6 and N8 to sink transistor N5, while dummy current from current source P1 flows through transistors N6 and N7 through sink transistor N4.
The circuits of
The current source supplying current to the output node, Vcntl, is implemented with two P devices, P3 and P23. P3 is controlled by VVcntl, while P23 is controlled by the Nbias voltage. Similarly, the current sink sinking current from the Vcntl node is implemented with two N sink transistors, N3 and N23. N3 is controlled by the Nbias voltage, while N23 is controlled by VVcntl. Thus, the Dn current sink transistors and the Up current source transistors are controlled simultaneously by both nbias voltage and VVcntl bias voltage.
The Up current (IUp) is the sum of the currents of P3 and P23 (IUp1+IUp2). When the Nbias voltage increases, IUp2 decrease. At the same time, the increase in the Nbias voltage causes Vcntl and VVcntl to decrease. This voltage decrease causes Iup1 to increase. The total current IUp, which is equal to the sum of IUp1 and IUp2 is thereby maintained constant.
Similarly, the Dn current (IDn) is the sum of the drain currents of N3 and N23. When the Nbias voltage increases, IDn1 increases. At the same time, the increase in the Nbias voltage causes Vcntl and VVcntl to decrease. This voltage decrease causes IDn2 to decrease. The total current IDn, which is equal to the sum Of IDn1 and IDn2, is accordingly maintained constant,
With this configuration, not only does IUp stay substantially equal to IDN over the various modes of operation, but also, IUp and IDN remain effectively the same in magnitude thereby resulting in a substantially constant ICP. For example, in some embodiments of the circuit of
With reference to
It should be noted that the depicted system could be implemented in different forms. That is, it could be implemented in a single chip module, a circuit board, or a chassis having multiple circuit boards. Similarly, it could constitute one or more complete computers or alternatively, it could constitute a component useful within a computing system.
The invention is not limited to the embodiments described, but can be practiced with modification and alteration within the spirit and scope of the appended claims. For example, it should be appreciated that the present invention is applicable for use with all types of semiconductor integrated circuit (“IC”) chips. Examples of these IC chips include but are not limited to processors, controllers, chip set components, programmable logic arrays (PLA), memory chips, network chips, and the like.
Moreover, it should be appreciated that example sizes/models/values/ranges may have been given, although the present invention is not limited to the same. As manufacturing techniques (e.g., photolithography) mature over time, it is expected that devices of smaller size could be manufactured. In addition, well known power/ground connections to IC chips and other components may or may not be shown within the FIGS. for simplicity of illustration and discussion., and so as not to obscure the invention. Further, arrangements may be shown in block diagram form in order to avoid obscuring the invention, and also in view of the fact that specifics with respect to implementation of such block diagram arrangements are highly dependent upon the platform within which the present invention is to be implemented, i.e., such specifics should be well within purview of one skilled in the art. Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the invention, it should be apparent to one skilled in the art that the invention can be practiced without, or with variation of, these specific details. The description is thus to be regarded as illustrative instead of limiting.