The present invention is directed to voltage regulation for a double data read physical interface, and more particularly, to a voltage regulator that can prevent a voltage drop occurring in the regulated voltage provided to a double data read physical interface.
Double Data Rate (DDR) circuits transfer data on both the rising and falling edges of a clock signal. In this way, compared to a single data rate circuit, DDR circuits can provide twice the bandwidth without requiring an increased clock frequency.
Refer to
As shown in
All components in the above-described DDR PHY 100 require a regulated power supply, wherein the power supply needs to comprise a voltage that falls within a certain range. This voltage is typically generated by a voltage regulator, which (in its simplest form) consists of an amplifier having an output coupled to a MOSFET that is coupled between a supply voltage and the load. The following description takes an NMOS as an example of the MOSFET but a PMOS may also be used. A negative feedback loop routes the sensed voltage (i.e. signal generated at the drain of the MOSFET) back to the inverting input of the amplifier, while the non-inverting input receives a reference voltage such as a bandgap voltage. A capacitor may be coupled in parallel to the load to stabilize the supply voltage.
In order to supply a sufficiently large regulated voltage to the DDR PHY, the capacitive load must also be large. The amplifier will constantly adjust its output to force the sensed voltage to be equal to the bandgap voltage. This means that, even when there are changes in the load current, the regulated voltage will remain at a fixed value. Sudden large changes in the load current, however, will cause a change in the regulated voltage VREG. A read request of the DDR PHY 100, particularly when the read request is across more than one data read path, will result in this voltage drop, as the amplifier requires a certain amount of time to correct for the change in load current, known as the amplifier transient response.
Further, although the bit-skew circuits in the data read paths operate to reduce any skew in the propagated clock signals, there may still be a mismatch between the clock signal and the data signal (i.e. the read data). In such a case, a read burst will result in an even greater drop in the regulated voltage, which reduces the read margin and may make the data inaccurate.
The invention aims to solve the problems of the prior art by providing a voltage regulator which utilizes staggered current sources which generate currents according to enable signals that are generated according to delay components in a DDR PHY circuit. The invention also provides an auxiliary voltage regulator which generates a bias voltage used to bias the staggered current sources, wherein the bias current is generated according to a reference current which tracks with process, voltage and temperature (PVT) variations of a delay element of the DDR PHY, and tracks with frequency variations of a clock signal input to the DDR PHY.
The claimed voltage regulator provides a regulated voltage to a double data rate (DDR) Physical Interface (PHY), the DDR PHY including a clock path and a plurality of data read paths, the clock path comprising a plurality of delay elements for receiving a clock signal and generating a delayed clock signal, respectively, and each data read path of the plurality of data read paths comprising a bitskew circuit. The voltage regulator comprises: an amplifier, for receiving a bandgap voltage at a first input terminal and generating an output voltage; a first MOSFET having a first terminal coupled to the output voltage, a second terminal coupled to a supply voltage, and a third terminal coupled to a second input terminal of the amplifier; at least a second MOSFET for generating a first current in response to a first enable signal, the second MOSFET coupled in parallel with the first MOSFET and having a second terminal coupled to the supply voltage, a first terminal coupled to a bias voltage, and a first switch coupled between the second terminal of the second MOSFET and the power supply, wherein the first switch is closed in response to the first enable signal; a load, coupled to the third terminal of the first MOSFET and a third terminal of the second MOSFET, for generating the regulated voltage; and a load capacitor, coupled in parallel with the load, and coupled to ground. The first enable signal is generated by inputting a gate enable signal for a first delay element of the plurality of delay elements into a first delay circuit, the first delay circuit corresponding to the first delay element.
As the voltage generated by the auxiliary voltage regulator can be tracked for PVT and frequency variations, the size of the staggered current sources can also track with PVT and frequency variations. This leads to an improved timing margin between a clock signal and a data signal of the DDR PHY.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Refer to
As well as the main MOSFET, the voltage regulator 200 further comprises a plurality of staggered current sources 230. These staggered current sources 230 are generated by a plurality of MOSFETs coupled in parallel between the voltage supply VCC and the inverting input of the amplifier 220. Each MOSFET is biased by a bias voltage at its gate, and has a drain coupled to a switch which is turned on by an enable signal EN, such that staggered current sources I1, I2 and I3 are generated by, respectively, enable signals EN1, EN2 and EN3.
Refer again to
As shown in
As detailed above, the staggered current sources 230 of the main regulator 200 are designed to follow the timing of delay elements in the DDR PHY 100, and comprise MOSFETs which are biased by a bias voltage BIAS. This bias voltage is generated by the auxiliary regulator 250 and according to a reference current IREF required by the bitskew circuit 254. It should be noted that the bitskew circuit 254 is designed to be the same as the bitskew circuits 125, 135 in the DQ0 and DQ1 read paths, respectively, and the bitskew circuit 254 also receives the same clock signal CLK as that supplied to the DQS path. Due to the frequency of the clock signal CLK being known, as it is the same frequency as the read clock of the DDR PHY 100, the generated current IREF can be tracked for a specific frequency. In addition, the negative feedback loop of the amplifier 252 means that the generated voltage VREG AUX can be tracked, as the same bandgap voltage used to generate VREG AUX is used to generate the regulated voltage supply of the main regulator 200 VREG. Process variations can also be tracked, as the bitskew circuits in the DDR PHY 100 are the same circuit as the bitskew circuit 254 of the auxiliary regulator 250. Moreover, the bitskew circuits in the DDR PHY 100 are situated close to each other, meaning that there will not be significant temperature variations. In this way, the bias supplied to the MOSFETs of the staggered current sources 230 will scale with frequency and PVT variations in the DDR PHY 100, ensuring that the regulated voltage VREG generated by the voltage regulator 200 can more clearly match the real-world voltage requirements of the DDR PHY 100.
The above-described voltage regulator and auxiliary regulator use NMOS field effect transistors as the MOSFETs; however, the same objective can also be realized with a circuit that uses PMOS field effect transistors as the MOSFETs. Refer to
As detailed above, the staggered current sources 230, 330 are designed to follow the timing of delay elements within the DQS path of the DDR PHY 100 receiving the clock signal CLK, and are enabled by respective enable signals EN1, EN2 and EN3. Refer to
The above delay elements are designed to mimic the delay elements in the DQS path of the DDR PHY 100, wherein Delay 1 mimics the AND gate in the DQS read path, Delay 2 mimics the DCDL in the DQS read path, and Delay 3 mimics the DCC in the DQS read path. In this way, the staggered current sources can be respectively enabled at a same time that the corresponding delay element in the DQS path receives the clock signal CLK, and therefore the regulated voltage VREG supplied to the DDR PHY 100 can match the requirements of the elements therein.
When the regulated voltage VREG is supplied to the DDR PHY 100, initially VREG is only generated according to the first MOSFET, and the Gate_enable signal is input to the first delay element. The first delay element outputs the first enable signal EN1 by delaying the Gate_enable signal, and the first enable signal EN1 turns on the first switch to generate current I1, such that the current supplied to the DDR PHY 100 is a combination of the output of the first and second MOSFETs. EN1 is then input to the second delay element to generate the second enable signal EN2. EN2 turns on the second switch to generate current I2, such that the current supplied to the DDR PHY 100 is a combination of the output of the first, second and third MOSFETs. EN2 is then input to the third delay element to generate the third enable signal EN3. EN3 turns on the third switch to generate current I3, such that the current supplied to the DDR PHY 100 is a combination of the output of the first, second, third and fourth MOSFETS.
As each of the delay circuits in the DDR PHY 100 has a slightly different current requirement, the staggered current sources I1, I2, I3 are all different values:
I1=a*IREF
I2=b*IREF
I3=c*IREF
In order to determine the values a, b and c, a PVT simulation for the DQS read path can be carried out, and the size of the MOSFETS can be scaled accordingly.
The delay of these enable signals may not exactly match the real delay in the clock propagation path of the DDR PHY 100, but the difference will be negligible. The voltage regulator 200, 300 is on-chip, which further reduces the amount of voltage drop when a read of the DDR PHY 100 occurs.
The circuit of the present invention generates a regulated voltage for a Double Data Rate circuit that can prevent a voltage drop when a read occurs, thereby improving the read margin and the accuracy of the read data.
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.