Charge pump for PLL/DLL
RE049018 · 2022-04-05
Assignee
Inventors
Cpc classification
H03L7/0816
ELECTRICITY
International classification
Abstract
A charge pump for use in a Phase Locked Loop/Delay Locked Loop minimizes static phase error through the use of an operational amplifier. The operational amplifier also mitigates the effects of low power supply voltage.
Claims
.[.1. A charge pump comprising: pull-up circuitry configured to generate pull-up current to increase voltage at a charge pump output, the pull-up circuitry comprising a current source and a controlled transistor having a gate adapted for connection to a first input signal for being controlled thereby, the pull-up circuitry connected between a positive voltage supply and a charge pump output node; pull-down circuitry configured to generate pull-down current to decrease voltage at the charge pump output, the pull-down circuitry comprising a current source and a controlled transistor having a gate adapted for connection to a second input signal for being controlled thereby, the pull-down circuitry connected between a ground voltage supply and the charge pump output node, and the first and second input signals being derived from up and down signals, respectively; an operation amplifier having two inputs and an output, the operational amplifier configured to reduce phase error, one of the inputs of the operational amplifier connected to the charge pump output node; and a reference current source having a plurality of select transistors and a plurality of mirror master transistors, the mirror master transistors coupled to slave transistors of either the pull-up circuitry or the pull-down circuitry to mirror variable current in the slave transistors..].
.[.2. The charge pump of claim 1 wherein the current sources in each of the pull-up circuitry and the pull-down circuitry comprises a transistor connected in series with the respective controlled transistor..].
.[.3. The charge pump of claim 2 wherein the controlled transistor in the pull-up circuitry is connected to the positive voltage supply, and the current source transistor in the pull-up circuitry is connected to the charge pump output node..].
.[.4. The charge pump of claim 2 wherein the controlled transistor in the pull-down circuitry is connected to the ground voltage supply, and the current source transistor in the pull-down circuitry is connected to the charge pump output node..].
.[.5. The charge pump of claim 1 further comprising additional pull-up circuitry and additional pull-down circuitry connected together at an additional node..].
.[.6. The charge pump of claim 5 wherein the additional pull-up circuitry and the pull-up circuitry have corresponding transistors with source and drain terminals connected in the same manner, and the additional pull-down circuitry and the pull-down circuitry have corresponding transistors with source and drain terminals connected in the same manner..].
.[.7. The charge pump of claim 6 wherein a gate of a controlled transistor in the additional pull-up circuitry is connected to a first voltage supply, and a gate of a controlled transistor in the additional pull-down circuitry is connected to a second voltage supply..].
.[.8. The charge pump of claim 6 wherein the additional pull-up circuitry and the pull-up circuitry have correspondingly same sized transistors, and the additional pull-down circuitry and the pull-down circuitry have correspondingly same sized transistors..].
.[.9. The charge pump of claim 5 wherein the other input of the operational amplifier is connected to the additional node..].
.[.10. The charge pump of claim 9 wherein the output of the operational amplifier is connected to one of the current source of the pull-down circuitry and the current source of the pull-up circuitry, and the reference current source is connected to the current source of the other circuitry..].
.[.11. The charge pump of claim 1 wherein the operational amplifier has an output range substantially from rail to rail..].
.[.12. The charge pump of claim 1 wherein the operational amplifier comprises two differential input stages..].
.[.13. The charge pump of claim 12 wherein the differential input stages comprise one PMOS input differential stage and one NMOS input differential stage..].
.[.14. The charge pump of claim 1 wherein the charge pump output node is connected to a voltage controlled oscillator to form part of a phase locked loop..].
.[.15. The charge pump of claim 1 wherein the charge pump output node is connected to a voltage controlled delay line to form part of a delay locked loop..].
.[.16. The charge pump of claim 1 further comprising registers coupled to the plurality of select transistors..].
.[.17. The charge pump of claim 1 further comprising fuses coupled to the plurality of select transistors..].
.[.18. The charge pump of claim 1 wherein the plurality of select transistors and the plurality of mirror master transistors include a programmable array of field-effect transistors..].
.Iadd.19. A charge pump comprising: pull-up circuitry comprising a slave pull-up current source and a controlled pull-up transistor having a gate operable to be coupled to a first signal, the first signal capable of controlling the controlled pull-up transistor; pull-down circuitry comprising a slave pull-down current source and a controlled pull-down transistor having a gate operable to be coupled to a second signal, the second signal capable of controlling the controlled pull-down transistor; a reference current circuitry; an active current mirror comprising: a first transistor; a slave pull-up transistor, coupled to the reference current circuitry, and coupled to the drain of the first transistor for providing current to the first transistor; and an operational amplifier having two inputs and an output, the first input coupled to an output node of the charge pump, the second input coupled to the drain of the first transistor, and the output of the operational amplifier coupled to a gate terminal of the first transistor and a gate terminal of the slave pull-down current source; and a startup circuit coupled to the first input of the operational amplifier, the startup circuit operable to set a voltage at the first input of the operational amplifier causing the operational amplifier to turn on the slave pull-down current source during power-up of the charge pump..Iaddend.
.Iadd.20. The charge pump of claim 19, wherein the reference current circuitry is operable to generate a programmable variable current..Iaddend.
.Iadd.21. The charge pump of claim 20, wherein the reference current circuitry comprises a plurality of select transistors and a plurality of mirror master transistors..Iaddend.
.Iadd.22. The charge pump of claim 21, wherein the mirror master transistors are coupled to the slave pull-up current source and to the slave pull-up transistor..Iaddend.
.Iadd.23. The charge pump of claim 19, wherein the reference current circuitry further comprises: a second transistor coupled between the positive voltage supply and the slave pull-up transistor; and a third transistor coupled between a ground voltage and the first transistor..Iaddend.
.Iadd.24. The charge pump of claim 19, wherein the operational amplifier has an output range substantially from rail to rail..Iaddend.
.Iadd.25. The charge pump of claim 19, wherein the operational amplifier comprises two differential input stages..Iaddend.
.Iadd.26. The charge pump of claim 25, wherein the differential input stages comprise one PMOS input differential stage and one NMOS input differential stage..Iaddend.
.Iadd.27. A charge pump comprising: pull-up circuitry comprising a slave pull-up current source and a controlled pull-up transistor having a gate operable to be coupled to a first signal, the first signal capable of controlling the controlled pull-up transistor; pull-down circuitry comprising a slave pull-down current source and a controlled pull-down transistor having a gate operable to be coupled to a second signal, the second signal capable of controlling the controlled pull-down transistor; a reference current circuitry; an active current mirror comprising: a first transistor; and a slave pull-down transistor, coupled to the reference current circuitry, and coupled to the drain of the first transistor for providing current to the first transistor; and an operational amplifier having two inputs and an output, the first input coupled to an output node of the charge pump, the second input coupled to the drain of the first transistor, and the output of the operational amplifier coupled to a gate terminal of the first transistor and the slave pull-up current source; and a startup circuit coupled to the first input of the operational amplifier, the startup circuit operable to set a voltage at the first input of the operational amplifier causing the operational amplifier to turn on the slave pull-up current source during power-up of the charge pump..Iaddend.
.Iadd.28. The charge pump of claim 27, wherein the reference current circuitry is operable to generate a programmable variable current..Iaddend.
.Iadd.29. The charge pump of claim 28, wherein the reference current circuitry comprises a plurality of select transistors and a plurality of mirror master transistors..Iaddend.
.Iadd.30. The charge pump of claim 29, wherein the mirror master transistors are coupled to the slave pull-down current source and to the slave pull-down transistor..Iaddend.
.Iadd.31. The charge pump of claim 27, wherein the reference current circuitry further comprises: a second transistor coupled between the ground voltage supply and the slave pull-down transistor; and a third transistor coupled between a positive voltage supply and the first transistor..Iaddend.
.Iadd.32. The charge pump of claim 27, wherein the operational amplifier has an output range substantially from rail to rail..Iaddend.
.Iadd.33. The charge pump of claim 27, wherein the operational amplifier comprises two differential input stages..Iaddend.
.Iadd.34. The charge pump of claim 33, wherein the differential input stages comprise one PMOS input differential stage and one NMOS input differential stage..Iaddend.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular description of preferred embodiments of the invention, as illustrated in the accompanying drawings in which like reference characters refer to the same parts throughout the different views. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION OF THE INVENTION
(11) A description of example embodiments of the invention follows.
(12)
(13) The charge pump 300 includes current mirror M1 and active current mirror M3. Current mirror M1 is similar to the current mirror M1 described in conjunction with the prior art charge pump 200 shown in
(14) Current mirror M1 includes bias PMOS transistor 314 and .[.NMOS.]. .Iadd.PMOS .Iaddend.transistors 310 and 312. Voltage V.sub.bn sets the bias voltage for current mirror M1 and sets the current that flows through PMOS transistor 314. PMOS transistors 314 and 313 provide a reference current source which supplies current to a pull-down circuit and a pull-up circuit. The current through PMOS transistor 314 is mirrored in PMOS transistors 312 and 310. The current that flows through each transistor in a current mirror can be modified by varying the sizes (width/length ratios) of these devices as is well-known to those skilled in the art.
(15) PMOS device 314 in current mirror M1 provides the initial current to the charge pump dependent on the voltage provided by bias voltage V.sub.bn at the node of the source-drain connection of PMOS device 314. When the charge pump is used in a DLL system, the bias voltage adjusts the maximum current of the charge pump according to the total delay of the delay chain so that the ratio between the reference frequency and DLL bandwidth stays constant.
(16) The gate of PMOS transistor 314 is coupled to the drain of PMOS transistor 314. The gates of PMOS devices 312 and 310 are coupled to the gate of PMOS device 314 allowing this initial current to be mirrored to PMOS transistors 312 and 310. The drain of NMOS device 316 is coupled to the drain of PMOS device 312. Thus, the current mirrored to PMOS device 312 is the same current provided to NMOS device 316 in current mirror M3. The gate of NMOS device 316 is coupled to the gate of NMOS device 315, allowing the drain current of NMOS device 316 to be mirrored to NMOS device 315 in current mirror M3 to provide the pull-down current.
(17) Generally, when the charge pump is enabled (signal ENABLE is asserted or driven to a logic 1) and signal UP is asserted, transistor 309 is turned ‘on’ by the voltage applied to the gate of transistor 309 through NAND gate 301, inverters 302 and 304 and pass gate 303. This allows current to flow through PMOS transistors 309 and 310 in the pull-up circuit. This current adds charge into the OUT node which is coupled to the loop filter 206 (
(18) Current mirror M3 controls the ratio between pull-down current (through NMOS transistor 315 to ground) and pull up current (from V.sub.dd through PMOS transistor 310). The pull-down current reduces the voltage at node OUT and the pull-up current increases the voltage at node OUT. Thus, the M1 current mirror sets the maximum current of the charge pump through PMOS device 310 and the M3 current mirror controls the ratio between the pull up and pull down current. Current mirrors M1 and M3 may be adjustable or programmable through the use of well-known techniques. Transistors 315 and 316 in current mirror M3 may be sized to deliver more or less current. This allows the circuit designer to compensate for other factors such as parasitic resistances and capacitances and parameter variations. However, such adjustments are static and cannot be re-adjusted once the chip has been packaged and it cannot compensate for voltage change at the OUT node.
(19) According to one embodiment of the invention, an active adjustment of the current mirrors is provided through the use of an operational amplifier, as shown in
(20) During operation of the charge pump, the operational amplifier 323 minimizes the static phase error by actively keeping the voltage on node ‘n14’ substantially equal to the output voltage on node OUT. It is important to be able to produce the same pull-up and pull-down current pulses at the output (“OUT”) when the DLL is in lock condition. In a DLL which has achieved lock condition, node OUT is not actively being charged or discharged most of the time as the UP and DOWN pulses are of equal duration. Furthermore, the UP and DOWN pulses can be of shorter duration than in the prior art charge pump described in conjunction with
(21) The operational amplifier 323 actively controls the voltage at node OUT as follows: if the voltage on node ‘n14’ is higher than the voltage at node OUT, the operational amplifier 323 increases the voltage at node ‘ctrl’. The increase in voltage at node ‘ctrl’ results in an increase in the current flowing through NMOS transistor 316 and NMOS transistor 315 which reduces the voltage on node ‘n14’ until it is the same as the voltage at node OUT. If the voltage on node ‘n14’ is less than the voltage on node OUT, the operational amplifier 323 decreases the voltage on node ‘ctrl’. This decrease in the voltage on node ‘ctrl’ results in a decrease in the current flowing in NMOS transistor 316 and NMOS transistor 315. As the voltage at node ‘ctrl’ changes the voltage on node ‘n14’ faster than on node OUT, a new balance point is reached with the voltage on node ‘n14’ equal to the voltage on node OUT. With the voltage on node ‘n14’ and the output voltage OUT being substantially the same, the source/drain current (pull-down current) through NMOS device 315 is substantially equal to the source/drain current (pull-up current) through PMOS device 310.
(22) By providing an active current mirror including an operational amplifier to the charge pump, the voltage conditions at drain, source and gate of NMOS transistors pair 315 and 316 and PMOS transistors pair 312 and 310 are substantially equal and much closer than in the prior art circuit shown in
(23) The operational amplifier 323 preferably has an input range from rail to rail (Vdd to Vss (ground)). In an embodiment in which transistors 315, 316 are NMOS devices as shown in
(24) During the power up phase, if the voltage at node ‘n14’ is lower than the voltage at node OUT, the output of the operational amplifier, that is, node ‘ctrl’ is driven low. As node ‘ctrl’ is coupled to the gate of NMOS device 315, NMOS device 315 will likely turn ‘off’. The circuit may freeze in this state or may take a long time to recover. Either case is undesirable.
(25) A start up circuit including NMOS device 321 and NMOS device 322 assists the charge pump in reaching its operating point during the power up phase. The start up circuit initially sets the voltage of node OUT to a value less than V.sub.dd. This allows the operational amplifier 323 to operate properly after the power up phase. A startup signal that is asserted for a predetermined time period after power up during the power up phase is coupled to the gate of NMOS device 322. NMOS device 322 is diode coupled with both the gate and source coupled to the node OUT. The drain of NMOS device 322 is coupled to the drain of NMOS device 322.
(26) While the startup signal coupled to the drain of NMOS device 321 is asserted, the NMOS device 322 is ‘on’. Node OUT is approximately equal to V.sub.dd, thus, with both NMOS device 321 and NMOS device 322 ‘on’, current flows through NMOS device 321 and NMOS device 322 resulting in a decrease in the voltage at node OUT.
(27) Thus, the startup circuit ensures that the voltage at node OUT is less than the voltage at node ‘n14’ during the power up phase, so that the differential input voltage to the operational amplifier 323 is initially positive and node ‘ctrl’ at the output of the operational amplifier 323 is driven ‘high’ during the startup phase holding NMOS device 315 is on. This forces node OUT to approximately the threshold voltage of an NMOS transistor for this predetermined time period. After the power up phase, the startup signal is de-asserted and the startup circuit is no longer required to be enabled.
(28) The present invention reduces the current offset, i.e. the difference in currents flowing between NMOS transistor 315 and PMOS transistor 310 to about 4%. This results in a highly reduced static phase error for the overall DLL system. By reducing the current offset of the charge pump from 20% to 4% in this embodiment, the overall static phase error of the PLL/DLL is reduced from 300 ps to 60 ps.
(29)
(30)
(31) The operational amplifier 323 includes two differential amplifiers 442, 444, a biasing circuit 446 and an output stage 440. The differential amplifiers 442, 444 have complementary input pairs with the first differential amplifier having an NMOS transistor input pair 411, 412 and the second differential amplifier having a PMOS transistor input pair 404, 405. The first differential amplifier 442 also includes transistors PMOS transistor 403 and NMOS transistors 406, 407. The second differential amplifier 444 also includes PMOS transistors 409, 410, and NMOS transistor 413.
(32) The output stage 440 includes transistors 401 and 402. The biasing circuit includes transistors 414, 415, 416, 417, 418 and 419 and provides bias voltages to transistor 401 in the output stage 440, transistor 403 in the first differential amplifier 442 and transistor 413 in the second differential amplifier 444.
(33) Node OUT shown in
(34) When the charge pump 300 (
(35) Other embodiments can use programmable arrayed master transistors for the reference current source in the current mirrors to configure or test the operation of the circuit.
(36) The SEL signals can be controlled by a register, fuse programming, mask programming or any other technique well-known to those skilled in the art. While four sets of programmable master transistors are shown, any number can be used. A similar circuit using NMOS transistors may be used to add programmability by replacing both transistors .[.416.]. .Iadd.316 .Iaddend.and .[.418.]. .Iadd.318 .Iaddend.of
(37) The invention is not limited to charge pumps used in DLLs. For example, the invention can also be used in a charge pump in a phase locked loop. A Phase-Locked Loop (PLL) is another well-known circuit for synchronizing a first clock signal with a second clock signal.
(38)
(39) The phase control signals (UP/DOWN) of the phase detector 604 are integrated by a charge pump 605 and a loop filter 606 to provide a variable bias voltage V.sub.CTRL 110. The bias voltage V.sub.CTRL controls a voltage controlled oscillator (VCO) 602 which outputs a clock signal CLK_OUT. The frequency of the output clock signal CLK_OUT is proportional to the bias voltage V.sub.CTRL 610. VCOs are well known to those skilled in the art.
(40) The CLK_OUT signal is optionally coupled to a divider 603 to produce a feedback clock signal CLK_FB. If the phase detector detects the rising edge of CLK_REF prior to the rising edge of CLK_FB it asserts the UP signal which causes V.sub.CTRL to increase, thereby increasing the frequency of the CLK_OUT signal. If the phase detector detects the rising edge of CLK_FB prior to the rising edge of CLK_REF it asserts the DOWN signal which causes V.sub.CTRL to decrease, thereby decreasing the frequency of the CLK_OUT signal.
(41)
(42) This invention has been described for use in a charge pump in a PLL/DLL system. However, the invention is not limited to a PLL/DLL system. The invention can be used in any system in which a very precise current mirror is required and where the output voltage of the current mirror does not reach ground, which would render the op amp in the active current mirror inoperable.
(43) While this invention has been particularly shown and described with references to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the invention encompassed by the appended claims.