The present application relates generally to voltage regulation and, more specifically, to systems and methods for calibrating passgate strength for on-chip voltage regulators.
In general, a voltage regulator is a circuit that is designed to maintain a constant output voltage level as operating conditions change over time. A voltage regulator circuit provides a constant DC output voltage and contains circuitry that continuously holds the output voltage at the desired value regardless of changes in load current or input voltage, assuming that the load current and input voltage are within the specified operating range for the regulator. Maintaining accurate voltage regulation is particularly challenging when the load current variations are sudden and extreme, e.g., minimum load to maximum load demand in less than a couple hundred picoseconds. Such sudden and extreme variations in load current can occur in applications in which the circuitry being powered by the regulator is primarily CMOS logic, e.g. high performance processors. The load current presented to the regulator can change from a minimum to a maximum value very quickly when the CMOS logic switches from an idle state to a state with a high activity factor (maximum workload) due to the fact that the underlying circuitry is generally CMOS logic and hence draws only dynamic current (i.e., current that is used to charge and discharge parasitic capacitances) from the supply.
Linear voltage regulators are the most commonly used types of voltage regulators in integrated circuits (ICs) and have a number of advantages. Linear voltage regulators are fully integrable, requiring no off-chip components such as inductors. Unlike switching types, linear regulators generate no inherent ripple of their own, so they can produce a very “clean” DC output voltage, achieving low noise levels with minimal overhead (cost). The output voltage correction in linear regulators is achieved with a feedback loop; however; some type of compensation is required to assure loop stability. The need to maintain adequate loop stability, also referred to as “phase margin,” limits the achievable bandwidth of linear regulators. Therefore, any linear regulator requires a finite amount of time to correct the output voltage after a change in load current demand. This “time lag” defines the characteristic called load response time (TR), which may not be fast enough for applications with sudden and extreme load current variations.
To overcome slow response time as well as relatively low power efficiency of high bandwidth linear regulators, a “bang-bang” type voltage regulator can be used. The fast response time makes bang-bang type voltage regulators more suitable than their linear counterparts to handle highly varying load current demands with minimal effect on regulated voltage, as they are capable of providing nearly instantaneous response to any variation in load current demand. In general, a bang-bang voltage regulator utilizes a passgate device (e.g., PFET or NFET) which is switchably operated to fully turn “on” and “off” to supply/sink current (header/footer) and achieve fast response time to load changes. The fast response time also improves the high-frequency power-supply rejection ratio (PSRR).
The use of bang-bang regulators, however, poses a major design challenge with regard to limiting the intrinsically generated ripple on the regulated output that results from the sudden switching of the current of the passgate device (bang-bang operation). The passgate which is controlled in a bang-bang fashion has to be sized to handle the weakest corner (e.g., with minimum drain-to-source voltage (Vds) across the passgate) to guarantee regulation, but such a passgate will be too strong (in other words, oversized) for other corners (e.g. with maximum Vds). This results in increased intrinsic ripple amplitude, which is not a desirable behavior in bang-bang type regulators.
Embodiments of the invention generally include systems and methods to regulate a supply voltage of a load circuit. For example, in one embodiment, a system to regulate a voltage includes a voltage regulator circuit which regulates a supply voltage of a load circuit. The voltage regulator circuit includes a passgate device. The system includes a passgate strength calibration control module which is configured to (i) obtain information that specifies operating conditions of the voltage regulator circuit, (ii) access entries of one or more look-up tables using the obtained information, (iii) use information within the accessed entries to determine a maximum load current that could be demanded by the load circuit under the operating conditions specified by the obtained information, and to predict a passgate device width which is sufficient to supply the determined maximum load current, and (iv) set an active width of the passgate device according to the predicted passgate device width.
Other embodiments of the invention will be described in conjunction with the following figures.
The voltage regulator system 100 further comprises an on-chip passgate strength calibration system comprising a power manager 170, passgate strength calibration control logic 180, and look-up tables 190. As explained in further detail below, the passgate strength calibration system 170/180/190 is configured to dynamically adjust an active width of the passgate device 160 in each of the processor cores 130 using information recorded in the look-up tables 190 so that the drain current of the passgate device 160 is well matched to the load current requirements of the load circuitry 140 (avoiding under/over sizing of the passgate) in each of the processor cores 130.
In one embodiment of the invention, each integrated voltage regulator module 150 is configured to operate in a “bang-bang” manner to maintain a regulated voltage (Vout) at a regulated voltage output node (Nout) in each of the associated processor cores 130. In general, the error amplifier 154 can be implemented as a comparator having a non-inverting input terminal and an inverting input terminal. The programmable reference generator 152 generates a reference voltage Vref that is input to the non-inverting input terminal of the error amplifier 154, and the inverting input terminal is connected to the regulated voltage output node Nout. As explained further below, the reference voltage Vref may be set based on a control signal (iVID) output from the power manager 170, wherein the regulated voltage Vout is set to the level of the reference voltage Vref by the bang-bang operation of the integrated voltage regulator module 150.
In one embodiment, the passgate device 160 is a P-type FET (field effect transistor) having a gate terminal coupled to the passgate driver circuitry 158. The source terminal of the passgate device 160 is coupled to a supply voltage Vin (output node of an associated one of the external voltage regulator modules 110) and a drain terminal of the passgate device 160 is coupled to the output node Nout. The passgate driver circuitry 158 comprises one or more stages between the output of the error amplifier 154 and the gate terminal of the passgate device 160. Depending on the architecture of the integrated voltage regulator module 150, the passgate driver circuitry 158 may include linear amplifiers, level shifters, and inverters for generating a gate control signal to drive the gate terminal of the passgate device 160. For example, a last stage of the passgate driver circuitry 158 may be an inverter that operates rail-to-rail (from Vin to ground voltage levels) to output a gate control signal to the gate terminal of the passgate device 160 that operates to fully switch on and fully switch off the passgate device 160 in a bang-bang mode of operation.
In particular, the integrated voltage regulator module 150 operates in a bang-bang manner as follows. The error amplifier 154 compares the regulated voltage Vout with the reference voltage Vref output from the programmable reference voltage generator 152. When the regulated voltage Vout falls below Vref, the error amplifier 154 will output a logic 1, which causes the output of the passgate driver circuitry 158 to transition to a logic “0” level after a propagation delay (Tprop) through the path of the passgate driver circuitry 158. The passgate device 160 will fully turn on and start to charge the capacitance at the regulated voltage output node Nout (working against the load current), and hence the regulated voltage Vout will increase.
On the other hand, when the regulated voltage Vout rises above the reference threshold Vref, the output of the error amplifier 154 will become logic 0, which causes the output of the passgate driver circuitry 158 to transition to logic 1 level after another Trop delay along the path of the passgate driver circuitry 158, fully turning off the passgate device 160. While the passgate device 160 is turned off, the load current of the load circuitry 140 will discharge the capacitance at the output node Nout, which causes the regulated voltage Vout to decrease at a given rate that depends on the load current. When the regulated voltage Vout falls below Vref, the entire cycle repeats. In this way, bang-bang voltage regulation is achieved by continuous oscillation of the control signal at the gate terminal of the passgate device 160.
Although the passgate device 160 is schematically illustrated in
For example, the n passgate segments (PFET(0), PFET(1), PFET(2) . . . PFET(n−1)) may be binary weighted transistors with the first transistor PFET0 having a width of 20 times a reference width, the second transistor PFET1 having a width 21 times the reference width, the third transistor PFET2 having a width 22 times the reference width, etc. The different widths of the passgate segments provide different supply currents to drive the regulated voltage Vout. Thus, the total width (strength) of the passgate device 160 can be varied as needed based on an n-bit control signal Passgate_Strength that is output from the passgate strength calibration control logic 180. Each bit of the n-bit control signal Passgate_Strength is applied to gating circuitry within the passgate control circuitry 156 to selectively activate a corresponding one of the n passgate segments that form the passgate device 160.
By way of example, the passgate device 160 may comprise 5 parallel-connected passgate segments, wherein a 5-bit Passgate_Strength control signal is used to control five (5) binary-weighted passgate segments to realize 32 different settings for the strength of the passgate device 160. In other embodiments, the different segments of the passgate device 160 may be sized the same or differently (but not binary weighted), but where different segments of the passgate device 160 can be selectively activated/deactivated by the n-bit Passgate_Strength control signal to vary the active device width of the passgate device 160.
The bang-bang voltage regulator framework as implemented by the integrated voltage regulator modules 150 provides desired properties including high DC accuracy, very good high frequency noise rejection and the ability to almost instantaneously respond to any variation in load current demand. It is to be understood that although the example embodiments discussed herein describe bang-bang voltage regulation techniques using PFET passgate devices, the voltage regulation and passgate calibration techniques described herein can be implemented using header (PFET) and footer (NFET) passgate devices. The calibration schemes described herein are configured to set the active width of a passgate device (either PFET or NFET) so that the drain current of the passgate device is well matched to the load current requirements (avoiding under/over sizing of the passgate device).
Furthermore, while the exemplary embodiments described herein are discussed in the context of bang-bang type voltage regulators, embodiments of passgate strength calibration schemes as described herein can be implemented in conjunction with other types of voltage regulator frameworks, such as linear voltage regulators, which implement a passgate device. Indeed, a passgate device generally refers to the element that connects an input voltage Vin to a regulated output node Nout of the voltage regulator to regulate an output voltage Vout on the output node Nout. In a linear voltage regulator, the passgate device is controlled with an analog gating voltage applied to the gate terminal of the passgate device which, in effect, causes the passgate device to be operated as a voltage-controlled resistance that controls an amount of current supplied to the output node Nout by the passgate device. In this regard, in a linear voltage regulator, the passgate device is operated in various states between a fully “on” state or a fully “off” state. In contrast, as noted above, in a bang-bang voltage regulator, the passgate device is operated in one of two states, fully “on” or fully “off” However, the passgate strength calibration systems and methods described herein can be used with any type of voltage regulators (e.g., bang-bang, linear, etc.) which utilize a passgate device to supply current to a regulated output voltage node.
In one embodiment of the invention, as depicted in
In a multi-core system such as depicted in
This scalability problem is addressed by using the integrated voltage regulator modules 150 to regulate the supply voltages (Vout) that are applied to the associated processor cores 130. In one embodiment of
In the embodiment of
In particular, the power manager 170 knows the target operating frequency of each processor core 130 and uses its own look-up tables (not shown in
In an embodiment of the invention as mentioned above where a given external voltage regulator module 110 is used to distribute an input voltage Vin to a plurality of integrated voltage regulator modules 150, the power manager 170 will determine the required value of Vin based on the associated processor core 130 that is operating at the highest operating frequency with the highest regulated output voltage Vout. In this instance, while the different processor cores 130 may be operating with different levels of output voltage Vout, the input voltage Vin that is applied to group of associated integrated voltage regulator modules 150 should be set at a high enough level to ensure proper operation of the integrated voltage regulator module 150 within that group which is maintaining the highest level of regulated output voltage Vout.
In this embodiment, the power manager 170 will output configuration data (referred to herein as external voltage IDs (or eVIDs)) to the external voltage regulator modules 110 to configure the target input voltage Vin settings for the external regulator voltage modules 110. In other words, the external voltage IDs are processed by the external voltage regulator modules 110 to generate the required input voltages Vin for the associated integrated voltage regulator modules 150. Moreover, the power manager 170 outputs configuration data (referred to as internal voltage IDs (or iVIDs)) to the programmable reference generators 152 of the integrated voltage regulator modules 150. The internal voltage IDS (iVIDs) are used by the programmable reference generators 152 to generate the necessary target reference voltages Vref for operation of the integrated voltage regulator modules 150. As noted above, the integrated voltage regulator modules 150 operate by maintaining their output voltages Vout equal to the associated reference voltage Vref.
Furthermore, the power manager 170 outputs the target Vin and Vout information, as well as the target operating frequency, of each processor core 130 to the passgate strength calibration control logic 180. In one embodiment, the passgate strength calibration control logic 180 comprises a finite state machine that interfaces with the look-up tables 190. With this information, the passgate strength calibration control logic 180 has knowledge of the operating point of each passgate device (i.e., Vgs and Vds), as well as the core operating frequency with the corresponding load current as a function of Vout for each integrated voltage regular module 150. The passgate strength calibration control logic 180 uses the information provided by the power manager 170 to search entries of the look-up tables 190 to determine in a predictive manner an optimal passgate width (strength) of each integrated voltage regulator module 150, which would minimize the intrinsically-generated ripple amplitude while maintaining sufficient strength so that regulation can be held under worst-case loading. The passgate strength calibration control logic 180 outputs corresponding control signals (Passgate_Strength) to the passgate control circuitry 156 to cause a change in the number of active passgate segments of the passgate devices 160 controlled by the integrated voltage regulator modules 150 to minimize the ripple amplitude.
In accordance with the invention, the calibration process does not serve to set the actual output voltage Vout directly with the passgate width, because the bang-bang type voltage regulator adjusts the duty cycle continuously and, consequently, any output voltage (within dropout limits) can be generated with a given passgate width. In this regard, the quantization of passgate width settings has no effect on the regulated voltage Vout. The passgate width is determined to optimize the amount of self-generated ripple over a wide range of input/output voltage levels, while maintaining the strength of the passgate device 160 to be sufficient for the highest expected load current at that value of the output voltage Vout that is regulated by the associated integrated voltage regulator module 150. In short, the width (strength) of a given passgate device 160 can be chosen independently from the set-point resolution of the regulated voltage Vout.
In one embodiment,
The structure and content of the look-up tables 190 will vary depending on the application. In one embodiment of the invention, the look-up tables 190 include a first table referred to herein as a “Pstate Table,” and a second table referred to herein as a “Pwidth Table,” which are used for calibrating passgate strength. In one embodiment, the look-up tables 190 include a set of Pstate and Pwidth tables for each processor core 130 (e.g., for N processor cores, the look-up tables 190 include N sets of Pstate and Pwidth Tables). Furthermore, as explained in further detail below, the look-up tables 190 include a global Pstate Table which specifies information regarding global operating conditions of the given chip 120.
A Pstate Table comprises table entries which record information that specifies a maximum amount of load current that can be demanded by the load circuits 140 (of a given processor core 130) as a function of certain operating conditions associated with a given integrated voltage regulator module 150 and/or an associated processor core 130. In this regard, a Pstate Table does not provide information about passgate properties per se. Rather, the Pstate Table specifies a maximum amount of load current that may be required by a given processor core under specified operating conditions.
A Pwidth Table comprises table entries which record information that specifies passgate device width for a given amount of current as a function of different operating conditions of a given integrated voltage regulator module 150. For example, in one embodiment, a Pwidth Table comprises table entries that specify a passgate device width that is needed to support a given amount of load current (i.e., passgate drain current) as a function of Vin and Vout. The information within table entries of a Pwidth Table essentially indicates how “strong” a passgate device of a given width is at a given operating point (e.g., Vin, Vout).
In one embodiment of the invention, the passgate strength calibration control logic 180 obtains information from the power manager 170 with regard to (i) an operating frequency of the load circuits 140 of a given processor core 130 and (ii) input voltage Vin and regulated output voltage Vout settings of the associated integrated voltage regulator circuit 150. In this embodiment, a Pstate Table for the given processor core would comprise table entries that specify a maximum amount of load current of the load circuits 140 as a function of the operating frequency of the processor core 130 and the regulated output voltage Vout settings. Moreover, a Pwidth Table would comprise table entries that specify passgate device width for a given amount of current as a function of the input voltage Vin and the regulated output voltage Vout.
In another embodiment of the invention, the passgate strength calibration control logic 180 obtains information from the power manager 170 with regard to the input voltage Vin and regulated output voltage Vout settings of a given integrated voltage regulator circuit 150. In this embodiment, a Pstate Table for a given processor core would comprise table entries that specify a maximum amount of load current of the load circuits 140 of the given processor core 130 as a function of the regulated output voltage Vout settings. Moreover, a Pwidth Table would comprise table entries that specify passgate device width for a given amount of current as a function of input voltage Vin and regulated output voltage Vout.
Since each entry in a Pwidth Table represents a given width needed for a given amount (unit amount) of drain current (e.g., with units of microns/mA), the total required passgate width (referred to as Passgate_Strength) equals the product of the entries in the Pstate Table and Pwidth Table as follows:
Passgate_Strength=Pstate Table*Pwidth Table Eq. 1
A variety of normalizations can be used to define entries of the Pstate Table and the Pwidth Table. In one embodiment, the entries of the Pwidth Table are normalized to the maximum available passgate device width (i.e. total width of all available passgate segments) of a passgate device. In practice, the maximum available passgate device width is optimally sized to support the peak power at the highest supported output voltage (Vout) while the core is running at peak frequency, and while the Vds across the passgate device is at a minimum value. With this normalization scheme, a digital code representing the maximum width is defined to be unity. At other operating points, e.g. higher Vds across the passgate device, less active width is required to support a given drain current, so the entry in the Pwidth Table will be less than unity.
Furthermore, in one embodiment of the invention, a similar normalization can be used for entries of the Pstate Table such that unity in the Pstate Table represents the load current at highest Vout operating at peak frequency (Iloadpeak). The load current will be lower than Iloadpeak as Vout and/or frequency decreases, so the entries in the Pstate Table representing these operating points will be less than unity. It is to be noted that at the operating condition where the maximum available width must be employed (highest Vout, peak core frequency, and minimum Vds across the passgate), the load current will also be at its highest. Since both table entries would therefore be unity, their product (Passgate_Strength) would be one (see Eq. 1), and the full width would be utilized. In other operating conditions, either the Pstate Table entry or the Pwidth Table entry (or both) may be less than unity so their product (Passgate_Strength) would be less than one.
In view of the example normalization scheme described above, in one embodiment of the invention, the entries within a Pwidth Table include Pwidth Ratio values, wherein a “Pwidth Ratio” represents a ratio of a width of a passgate device at a given operating condition (Vin, Vout) to a maximum available width of the passgate device. In addition, the entries within a Pstate Table include Power Ratio values, wherein a “Power Ratio” represents a ratio of a maximum load current that may be demanded at a given operating condition to a maximum load current that may be demanded at a maximum operating condition (e.g., highest Vout, highest operating frequency). As such, based on the Passgate_Strength computation of Eq. 1, a passgate strength can be determined by multiplying a “Power Ratio” value of a Pstate Table entry with a “Pwidth Ratio” value of a Pwidth Table entry to compute a Passgate_Strength value as follows: Passgate_Strength=Power Ratio×Pwidth Ratio.
The look-up tables 190 can be constructed using various techniques, and the manner in which the table entries in the look-up tables 190 are populated with relevant information will depend on the particular design constraints, as well as the level of calibration control and accuracy that is needed for a given application to optimize the passgate strength and minimize ripple on the regulated supply. Various embodiments for implementing the look-up tables will now be discussed in further detail, the details of which are not intended to limit the invention.
For example, in one embodiment of the invention, the passgate strength calibration control logic 180 assigns an active width (strength) of a given passgate device 160 based on a hardware independent (i.e. simulation-based data) look-up table where indices are function of Vin and Vout. In such embodiment, the entries in the look-up table 190 are preferably given adequate margins to account for all PVT (process, voltage, temperature) variations.
In another embodiment of the invention, the drain current of an on-chip replica passgate device for calibration (referred to herein as “CalFet”) is characterized during manufacturing testing. The entries of the look-up tables 190 are then populated using a limited set of data points acquired from the testing. In this embodiment, the required margin needs only to cover temperature (T) and aging effects, but not process and voltage variations.
In yet another embodiment of the invention, the drain current of an on-chip replica passgate device, as well as the real load current are measured during manufacturing testing to yield data for populating the look-up tables.
In another embodiment of the invention, on-chip calibration circuitry is employed to characterize the drain current of a replica passgate device. Thereafter, the entries of the look-up tables are updated periodically using the information during operation. This embodiment covers most of the process and temperature (P, T) variations and possibly aging. This embodiment utilizes a reference current IREF which could be proportional to load current requirements or to an absolute current level. The updates to look-up tables 190 would be made slowly, since they only are required to keep up with temperature changes and aging.
Whatever framework is used for constructing and populating the look-up tables 190, achieving the highest calibrated accuracy (minimum ripple amplitude) is weighed against complexity and related cost of the digital calibration circuits and algorithms that are implemented. For example, in Embodiment 1, the use of hardware-independent look-up tables minimizes the complexity and the cost, yet requires sizeable margins to be used when populating the look-up table entries to compensate for PVT and aging effects, which limits the achievable passgate strength accuracy. On the other hand, with Embodiment 2, precision drain current measurements of a replica passgate device at manufacturing test are used to populate the look-up table entries. To avoid measurement errors (e.g. IR drops on the connection wires), separate sense points (Kelvin measurement) are preferably used, as illustrated in
In particular,
To limit the number of measurements taken, and thereby limit the duration of the manufacturing test and the associated cost, interpolation equations can be used to fill in the look-up table with more entries than the set of manufacturing readings. One or more on-chip replica passgate devices can be used per chip. This technique compensates for process (P) and voltage (V) variations, but some margin must be added to the table entries to tolerate temperature and load current variations, as well as aging effects.
With Embodiment 3, in addition to characterization of the calibration passgate drain current during manufacturing testing, a representative load (or the real load) current can also be measured as a function of supply voltage and operation frequency, which then can be used to scale up to the maximum core level load current to minimize the required margin in the look-up table entries. This embodiment would require a longer manufacturing test and would increase the related cost. Furthermore, while Embodiment 4 potentially provides the highest accuracy in passgate strength settings by compensating for all PVT and aging effects, the high accuracy achieved is at the cost of highest complexity.
As further shown in
In one embodiment of the invention, the replica passgate segments 414˜418 include m binary weighted transistors with the replica passgate segment 414 (LSB) having a width of 20 times the reference width of the replica passgate segment 412, and the replica passgate segment 418 (MSB) having a width of 2m-1 times the reference width, etc. For instance, with a 5-bit signal (m=5), 32 different strength settings for the replica passgate device 410 can be realized. In other embodiments, the different replica passgate segments 414˜418 of the replica passgate device 410 may be sized the same or differently (but not binary weighted). In one embodiment, the number (m) of segments of the replica passgate device 410 is the same as the number (n) of segments of the main passgate device 160. In another embodiment, the number (m) of segments of the replica passgate device 410 is different from (e.g., greater than) the number (n) of segments of the main passgate device 160, depending on the accuracy with which the calibration system is configured to populate the table entries in the look-up tables. In another embodiment, the total width of the replica passgate device 410 may be a fraction (e.g., ½) of the total width of the main passgate device 160 (to reduce power consumption in the replica circuitry).
The replica load current generator circuit 420 comprises a current source 422 that is configured to generate a reference current IREF, and a current mirror circuit 424 that is configured to generate a replica drain current ID (for the replica passgate device 410) which is proportional to the reference current IREF. In one embodiment, the replica drain current ID is equal to the reference current IREF (i.e. mirror ratio of 1:1). In another embodiment, the current mirror 424 comprises a tunable mirror transistor 426 (formed of multiple segments) that is controlled by a control signal (Tune Bits) to change the mirroring ratio of the reference current IREF so that the replica drain current ID is some variable multiple of the reference current IREF, for example.
The comparator 430 has a non-inverting terminal (“+”) connected to a voltage reference node REF and an inverting terminal (“−”) connected to a drain node ND of the replica passgate device 410. A reference voltage REF=Vin−Vdscal is applied to the voltage reference node REF. In operation, the comparator 430 is configured to compare a drain voltage VD at the drain node ND of the replica passgate device 410 with the reference voltage REF, and output a stream of 1 s and 0 s based on the results of the comparing operation. In particular, if the drain voltage VD is above REF, the comparator 430 outputs a logic “0” indicating that the replica passgate device 410 is stronger than required. If the drain voltage VD is below REF, the comparator 430 outputs a logic “1” indicating that the replica passgate device 410 is not strong enough (since the replica drain current ID will be below IREF (or a multiple of IREF) when Vds equals Vdscal).
The passgate strength calibration control logic 180 averages the output of the comparator 430 over a defined number of clock periods before determining to increase or decrease the active device width (strength) of the replica passgate device 410. Specifically, if the majority of outputs of the comparator 430 are logic 0's, then the passgate strength calibration control logic 180 will change the m-bit control signal in such a way as to reduce the number of active segments of the replica passgate device 410 (reduce strength of replica passgate device 410). On the other hand, if the majority of outputs of the comparator 430 are logic 1's, then the passgate strength calibration control logic 180 will change the m-bit control signal in such a way as to increase the number of active segments of the replica passgate device 410 (increase strength of replica passgate device 410).
When the number of logic 1's and 0's output from the comparator 430 is substantially the same (e.g., output dithers back and forth between logic 0 and logic 1), then the passgate strength calibration control logic 180 will determine that the replica drain current ID of the replica passgate device 410, which is at a given Vds that is equal to Vin−REF matching the operating point of the main passgate device 160, is approximately equal to IREF (or some multiple thereof, depending on the mirroring ratio of the current mirror 420). At this point, the m-bit control signal output from the passgate strength calibration control logic 180 converges, and the active width of the replica passgate device 410 is maintained. At the point of convergence, the width of the replica passgate device 410 (as a function of Vin and Vds) results in a replica drain current ID that matches IREF (or some multiple thereof). Assuming that IREF is implemented as a representative of the actual load current of the load circuitry 140, the achievable accuracy in passgate width (strength) calibration would be optimized, and minimum ripple amplitude would be realized on the regulated output voltage. To have some degree of programmability, as noted above, tune bits can be used to adjust the mirroring ratio of IREF. Moreover, the reference voltage REF can be programmable by having Vdscal be a programmable voltage to mimic different Vds settings of the main passgate device 160.
The replica drain current ID readings are used by the passgate strength calibration control logic 180 to dynamically update entries of the look-up tables 190 to compensate for effects of temperature and aging. In this embodiment, the calibration process for updating entries of the Pwidth Table 192 based on the measured replica passgate drain current ID can operate slowly since such calibration only has to keep up with temperature variations and aging. More specifically, since the passgate strength calibration control logic 180 averages the output of the comparator 430 for a relatively large number of clock periods, the convergence time of the calibration can be significantly longer than 1 ms. In this manner, the calibration control scheme of
As noted above, the regulated voltage Vout provided to the load circuitry 140 of a given core 130 has a direct correlation to the speed (e.g., frequency) at which the load circuitry 140 can operate. In one embodiment of the invention, a passgate calibration scheme is based on frequency as being an independent value that is used as the key (or index) to coordinate the external and internal voltage settings at a given moment in time. By using frequency as an independent variable for passgate calibration control, an abstraction of the frequency (called the Pstate) is defined. In one embodiment of the invention, the frequency abstraction, Pstate, is a signed quantity with a range of −128 to +127 with a known frequency being represented at Pstate0. Other embodiments having strictly positive Pstates are possible. The “weight” of each Pstate step is a function of the step size of a clock generation system (e.g., a PLL (phase-locked loop) system) and thus, the size of a Pstate indexed table is a function of the frequency span that needs to be supported.
In the example embodiment of
In this regard, the data field 504 value provides a mechanism to compensate for distribution losses in the nominal input voltage Vin output from an external voltage regulator module 110 and determine the actual value of the input voltage Vin applied to the passgate device 160 of a given integrated voltage regulator module 150. As explained in further detail below, the data field 504 is used by the passgate strength calibration control logic 180 to determine a necessary Pwidth Ratio.
In addition, the data field 506 of the Global Pstate Table entry 500 comprises a code that specifies a maximum regulated output voltage Vout (denoted MaxReg VDD) for a given integrated voltage regulator module 150. In other words, the data field 506 specifies a maximum Vout voltage for the given integrated voltage regulator module 150, wherein the maximum Vout voltage is restricted by the actual input voltage Vin (as specified in data field 504). Indeed, with regard to proper operation of a passgate device, the regulated voltage Vout should be less than the input voltage Vin by a given amount, e.g., 100 mV, to provide sufficient headroom for proper operation of the passgate device. Therefore, the values of data fields 504 and 506 can be used to determine a minimum Vds of the associated passgate device 160, wherein the Vds value is one factor that is used to determine passgate device strength.
In one embodiment of the invention as illustrated in
In one embodiment of the invention, the lower order 2 index bits select which data field (602, 606, 608 or 610) is used to form the final iVID VDD value. Furthermore, in one embodiment, assuming each field 606, 608 and 610 is a 3-bit field, the three bits can specify one of 8 different iVID increment values over a given voltage range such as 50 mV, wherein each increment value is a multiple of a unit voltage step of 6.25 mV (e.g., 8×6.25 mV=50 mV). For instance, the data field 606 can specify a first VID increment (denoted PS1 VID Increment) of 12.5 mV. The data field 608 can specify a second VID increment (denoted PS2 VID Increment) of 25.0 mV. The data field 610 can specify a third VID increment (denoted PS3 VID Increment) of 37.5 mV. In this regard, the data fields 606, 608 and 610 provide three additional frequency points into the one PSE 600 of
The data field 604 of the PSE 600 comprises a code that specifies a core VDD power ratio. In one embodiment, a core VDD power ratio specifies a fractional value of the maximum load current at a given operating frequency represented by the given Pstate versus the maximum load current at a peak Vout voltage at a peak operating frequency. In other words, the core VDD power ratio is a Power Ratio as defined above, i.e., a ratio of the maximum load current that can be demanded at a given operating condition as compared to the maximum load current that could be demanded at the maximum operating frequency and maximum regulated output voltage Vout. In one embodiment, the VDD power ratio is stored in the data field 604 of the entry 600 of the Local Pstate Table as a pre-computed 6-bit value in the form .FFFFFF (a 6 bit binary fraction) to represent the ratio in 1/64th increments and allowing a maximum of 0.984375 (63/64).
A value of 128 is added (via an adder 702 block) to the values of the Pstate space 700 to map the Pstate space 700 values to a strictly positive index space 704 with index values from 0-255. In one embodiment, a reduced size Pstate Table (which does not span the full range of the index space 704) is generated using a set of LPSI (Local Pstate State Index) entries (LPSI_entries). To generate the reduced size Pstate Table, an LPSI-min (Local Pstate State Index Minimum) value is subtracted (via subtraction block 706) to form a new zero offset address while the LPSI_entries define the size of a reduced Pstate Table 708. Within the Pstate Table 708 are 128 Pstate Table Entries (PSE) having the target voltage information (e.g., VDD VID). To achieve savings in physical space, the logical Pstate Table 708 is mapped to a physical Pstate Table 710 where each physical entry comprises 4 Pstates (as discussed above with reference to
The Pwidth Ratio is a ratio (implying division) of (a)/(b), wherein (a) is a passgate device width @(present VinEff, Vout), and (b) is the maximum available passgate device width. In one embodiment of the invention, to avoid floating point division in hardware (which can be expensive in both circuit complexity and consumed power), the Pwidth Ratio is determined using a 2 dimensional lookup table based on Vds (Vin−Vout) and Vgs (Vin) for the current operating point and is a pre-computed value for all valid combinations of Vin and Vout. As noted above, the two-dimensional table is referred to herein as a Pwidth Table.
(i) Vds: 16 entries of 25% step sizes (which is non-linear).
This is implemented as a linear search of bounded ranges of 7-bit iVID codes to indicate the beginning of the range and the end of the range. This additionally allows for flexible movement of the step size based on hardware measurement results.
(ii) Vin: 32 entries to linearly cover 600 mV to 1.375 V in 25 mV steps. Each entry contains a pre-computed 5-bit value in the form II.FFF (2 bit integer+3 bits binary fraction).
Referring to
If a vds_addr access to the vds_region lookup array 912 does not produce a “hit,” the vds_addr value (2) is incremented by 1 (block 10) to access the next entry in the vds_region lookup array 912 and the process repeats. If the incrementing causes a value equal to the vds_region lookup array 912 size (16 (0×10) in the present embodiment), the lookup is deemed to have failed and an error indicator (11) is asserted to allow error handling measures to be taken (which measures are beyond the scope of the present disclosure).
With the vds_region (0:3) (indicating which of 16 regions are to be used), the most significant 2 bits (bit 0:1) are concatenated to form a 6-bit access address (17) for the Pwidth Ratio array 922. Each entry in the Pwidth Ratio array 922 contains 32 5-bit ratio values per Vds row (e.g. region). In an example embodiment of storing the Vds row in 4 successive array addresses holding 8 5-bit ratio fields each (20), the most significant 2 bits (bit 0:1) decode which of the 4 subrow addresses holds the region value of interest. With a Pwidth Ratio array 922 subrow accessed value, the VinIndex bits (3:5) then select (via multiplexers (13), (14), and (15)) which of the 8 subrow fields is to be the Pwidth Ratio (16) that is used (denoted Pwidth_ratio (0:4)).
With the Pwidth Ratio (16) output (Pwidth_ratio (0:4)), the Passgate_Strength is determined using a binary multiplication (i.e., Passgate_Strength=Power Ratio×Pwidth Ratio) which takes place to 11 places (6 bits from the Power Ratio value+5 bits from the Pwidth Ratio value) to produce a numerical value (Passgate_Strength) in the form II.FFFF_FFFF_F (2 bit integer+9 bits binary fraction) with the following nomenclature form:
II.FFFFFFFFF
I0.012345678
In one embodiment, the Passgate_Strength is rounded-up to a 5 bit integer result. This is done by adding F5 to the 5 bit value of F0, F1, F2, F3, F4. If the above multiplication or rounding causes an overflow into I0, the maximum value (11111b) (i.e., maximum width) is assigned to the passgate drivers of an integrated voltage regulator module 150 (
The present invention provides passgate strength calibration techniques for voltage regulator circuits that can be utilized in integrated circuit chips with various analog and digital integrated circuitries. In particular, integrated circuit dies can be fabricated having voltage regulator calibration circuits and other semiconductor devices such as field-effect transistors, bipolar transistors, metal-oxide-semiconductor transistors, diodes, resistors, capacitors, inductors, etc., forming analog and/or digital circuits. The voltage regulator calibration circuits can be formed upon or within a semiconductor substrate, the die also comprising the substrate. An integrated circuit in accordance with the present invention can be employed in applications, hardware, and/or electronic systems. Suitable hardware and systems for implementing the invention may include, but are not limited to, personal computers, communication networks, electronic commerce systems, portable communications devices (e.g., cell phones), solid-state media storage devices, functional circuitry, etc. Systems and hardware incorporating such integrated circuits are considered part of this invention. Given the teachings of the invention provided herein, one of ordinary skill in the art will be able to contemplate other implementations and applications of the techniques of the invention.
Although exemplary embodiments of the present invention have been described herein with reference to the accompanying figures, it is to be understood that the invention is not limited to those precise embodiments, and that various other changes and modifications may be made therein by one skilled in the art without departing from the scope of the appended claims.
This application is a Continuation of U.S. patent application Ser. No. 14/458,428, filed on Aug. 13, 2014, which claims priority to U.S. Provisional Patent Application Ser. No. 61/871,822, filed on Aug. 29, 2013, the disclosures of which are fully incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
6504758 | Sacco et al. | Jan 2003 | B2 |
7345463 | Isham | Mar 2008 | B2 |
7457971 | Pineda De Gyvez et al. | Nov 2008 | B2 |
7580805 | Tabaian et al. | Aug 2009 | B2 |
7791160 | Kim et al. | Sep 2010 | B2 |
7821246 | Koertzen et al. | Oct 2010 | B2 |
8264256 | Logiudice et al. | Sep 2012 | B2 |
8461869 | Rahim et al. | Jun 2013 | B1 |
20100001704 | Williams | Jan 2010 | A1 |
20120126849 | Gillingham | May 2012 | A1 |
20120147944 | Amirkhany et al. | Jun 2012 | A1 |
20120153910 | Bulzacchelli et al. | Jun 2012 | A1 |
20120218005 | Chua-Eoan et al. | Aug 2012 | A1 |
20130335058 | Mercer | Dec 2013 | A1 |
Number | Date | Country |
---|---|---|
PCTUS2014050856 | Nov 2014 | WO |
Entry |
---|
Z. Toprak-Deniz et al., “Dual-Loop System of Distributed Microregulators with High DC Accuracy, Load Response Time Below 500ps, and 85mV Dropout Voltage,” Symposium on Very Large Scale Integration (VLSI) Circuits (VLSIC), Jun. 2011, pp. 274-275, Honolulu, Hawaii. |
J.F. Bulzacchelli et al., “Dual-Loop System of Distributed Microregulators with High DC Accuracy, Load Response Time Below 500 ps, and 85-mV Dropout Voltage,” IEEE Journal of Solid-State Circuits, Apr. 2012, pp. 863-874, vol. 47, No. 4. |
Number | Date | Country | |
---|---|---|---|
20150123633 A1 | May 2015 | US |
Number | Date | Country | |
---|---|---|---|
61871822 | Aug 2013 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 14458428 | Aug 2014 | US |
Child | 14595850 | US |