Adaptive voltage adjustment based on temperature value

Various embodiments of a method and apparatus for performing adaptive voltage adjustment based on temperature value are disclosed. In one embodiment, and integrated circuit (IC) includes logic circuitry having at least one temperature sensor therein. The IC also includes a power management circuit coupled to receive temperature readings from the temperature sensor. The power management circuit is configured to determine a temperature of the IC based on a temperature reading received from the temperature sensor. The power management circuit may compare the determined temperature to a temperature threshold. If the temperature exceeds a temperature threshold value, the power management circuit may cause the operating voltage to be reduced by an amount equivalent to a voltage guard band.

BACKGROUND

1. Technical Field

This disclosure is directed to electronic circuits, and more particularly, to supply voltage adjustments based on reported temperature values.

2. Description of the Related Art

Advances in integrated circuit (IC) technology have increased the number of transistors on a single IC chip. The operating frequencies of some IC chips has also increased. The large number of transistors and increase in operating frequency has resulted in a corresponding increase in power consumption by IC chips. A corresponding increase in thermal output has also accompanied the increase in transistor count and operating frequency.

Management of power consumption and thermal output has increase in importance with the above-mentioned advances in IC technology. This is particularly true for portable devices that may rely on a battery for at least some of their operation. One manner in which power may be saved is to reduce the operating voltage of an IC. The power consumption by a given IC can be calculated as the square of the operating voltage. Accordingly, reduction of the operating voltage can have a significant impact on power consumption. However, ability to reduce the operating voltage may nevertheless be limited. Circuits within a given IC typically need a certain amount of voltage to operate properly. Furthermore, the operating voltage may include a guard band that is a surplus voltage added to the required voltage. The guard band may allow for factors such as power supply noise, as well as for process, voltage, and temperature variations while ensuring that circuit internal to the IC receive sufficient voltage for proper operation.

SUMMARY

Various embodiments of a method and apparatus for performing adaptive voltage adjustment based on temperature value are disclosed. In one embodiment, and integrated circuit (IC) includes logic circuitry having at least one temperature sensor therein. The IC also includes a power management circuit coupled to receive temperature readings from the temperature sensor. The power management circuit is configured to determine a temperature of the IC based on a temperature reading received from the temperature sensor. The power management circuit may compare the determined temperature to a temperature threshold. If the temperature exceeds a temperature threshold value, the power management circuit may cause the operating voltage to be reduced by an amount equivalent to a voltage guard band.

In one embodiment, a power management circuit may compare a determined temperature of the IC to a temperature value that is equivalent to the temperature at which a production test of the IC was performed. The production test is also performed at a first voltage. For temperatures below the temperature threshold, the IC may operate at an operating voltage that is a sum of the first voltage and a guard band voltage. The additional guard band voltage may be provided to ensure a sufficient operating voltage by the circuits in that power domain. If the temperature is determined to be above the temperature threshold, then the operating voltage may be reduced by the guard band voltage, effectively removing the guard band. This may be possible since, based on the production test, it is known that the IC may properly function at the first voltage (i.e., without the guard band voltage) at that particular temperature. In some embodiments, an additional temperature guard band may be added to the production test temperature.

While the discussion above has been directed to an IC as a whole, the method and apparatus embodiments may be applied more particularly to particular power domains in an IC that implement multiple power domains. The other power domains may or may not implement the same methodology, depending on other factors such as their operating requirements.

Since the power management circuit in one embodiment may base decisions on whether a temperature is above or below the value at which production test occurred (or a threshold based on that temperature), the design of the temperature sensors may be simplified. Embodiments using ring oscillators or various diode-based designs to implement the temperature sensors are possible and contemplated.

In some embodiments, the methodology may be extended to temperatures other than that at which production test occurred. For example, in one embodiment a power management circuit may compare a temperature value to a threshold that is less than the threshold based on the production test value. If the temperature is greater than the lower threshold value but less than the greater threshold value (upon which production test was based), the operating voltage may be reduced by a portion (but not the full amount) of the guard band. In general, the methodology described herein may take advantage of the fact that at higher temperatures, lower operating voltages may be used in some cases.

DETAILED DESCRIPTION OF EMBODIMENTS

Turning now toFIG. 1, a block diagram of one embodiment of an integrated circuit (IC) is shown. In the illustrated embodiment, IC10includes a logic circuit14having a number of temperature sensors16A-16E implemented therein. The number of temperature sensors may vary from one embodiment to the next, with as few as one being implemented. Although not explicitly shown, logic circuit14may also include a number of different types of combinational and/or sequential logic circuits and functional units implemented therein to perform various function of IC10. Furthermore, although not explicitly shown, IC10in various embodiments may include additional instances of logic circuit14, which may be identical in some cases or may be different in other cases. Furthermore, additional instances of logic circuit14may be in the same power domain as that which is shown here, or may be in a different power domain.

Each of temperature sensors16A-16E in the embodiment shown is coupled to provide temperature readings to power management circuit18. The temperature sensors shown herein may be implemented using relatively simple circuits. In one embodiment, temperature sensors16A-16E may be implemented as ring oscillator-based temperature sensors50. In another embodiment, temperature sensors16A-16E may be implemented as diode-based temperature sensors51. In either case, the methodology discussed below may allow for temperature sensors to be implemented using simplified circuits, as accuracy across a wide range of temperatures may not be required.

Power management circuit18in the embodiment shown is configured to determine a temperature of IC10, or at least a temperature of logic circuit14, based on temperature readings received from the various temperature sensors16A-16E. The temperature may be determined in various ways. In one embodiment, a temperature may be determined based on a reading at an extreme, e.g., the highest or lowest temperature reported. In another embodiment, power management circuit18may determine an average of all of the temperatures reported from the various temperature sensors16A-16E.

Power management circuit18in the embodiment shown is coupled to a voltage regulator15that is on-board IC10. Additionally, power management circuit18in the embodiment shown is also coupled to power supply12, which is external to IC10. In this example embodiment, power management circuit18may control the operating voltage received by logic circuit14through either power supply12or through voltage regulator15. In some embodiments, power management circuit18may be coupled to control the operating voltage only through voltage regulator15or through power supply12, exclusive of one another. Regardless of how the operating voltage is controlled, power management circuit18may generate signals indicative of a desired operating voltage that may be received by voltage regulator15and/or power supply12.

In various embodiments, an operating voltage provided to logic circuit14of IC10may include a guard band for at least some operating conditions. The guard band may be an additional voltage added to a minimum safe operating voltage to allow for noise on the power supply rails and so forth. The guard band voltage, when added to the minimum safe operating voltage, may allow for safe operation across a wide variety of conditions, including across a range of temperatures. In general, the minimum voltage at which an IC (or portions thereof) may operate may vary with temperature, with higher operating voltages provided for lower temperatures. Accordingly, in one embodiment, the guard band may be determined based on a minimum operating temperature and added on to a voltage at which a production test of IC10was conducted. The temperature at which the production test is conducted may be higher than the minimum temperature. In one exemplary embodiment, a production test may be conducted at a temperature of 25° C., while a minimum operating temperature may be designated at −25° C. Therefore, the guard band voltage may be added to the production test voltage such that logic circuit14of IC10may properly function at −25° C. It is noted that the specific temperature values given herein are exemplary, and that embodiments in which a guard band voltage is based on other temperatures are possible and contemplated.

Power management circuit18may cause adjustments to the operating voltage (increases or decreases) based on various parameters. One such parameter upon which power management circuit12may base decisions for operating voltage changes may be temperature values, as indicated by the various ones of temperature sensors16A-16E. As noted above, power management circuit18is configured to provide various signals to either voltage regulator15or power supply12in order to cause changes to a correspondingly provided operating voltage.

In the embodiment shown, power management circuit18may compare determined temperature values for logic circuit14(or for IC10as a whole) to one or more thresholds and adjust the operating voltage based on such comparisons. In one embodiment, power management circuit18may compare a determined temperature to a first temperature threshold that is equivalent to temperature at which a production test of IC10was conducted. If the determined temperature exceeds the first temperature threshold, power management circuit18may respond by causing a reduction of the operating voltage by the guard band amount. This is made possible due to the fact that, since IC10successfully passed a production test passed at a certain voltage temperature without an added guard band, the voltage guard band is can be removed for temperatures above the production test temperature.

In some embodiments, for temperatures that are less than the first temperature threshold that is based on the production test temperature, portions of the guard band voltage may be eliminated. For example, in one embodiment, a second threshold temperature that is less than the first temperature threshold temperature may be implemented. If power management circuit18determines that the temperature of logic unit14is greater than the second temperature threshold, but less than the first temperature threshold, it may response by causing the operating voltage to be reduced by a portion of the guard band (but not by the full guard band amount).

FIG. 2is a graph further illustrating operation of at least one embodiment of a power management circuit18in terms of controlling an operating voltage based on determined temperature values. In the illustrated example, a temperature slope is drawn from an operating voltage, Vdd_Guard, corresponding to a temperature, T_minimum, through and operating voltage V_test, corresponding to a temperature T_test. In this example, V_test and T_test are production test operating voltage and temperature values, respectively (i.e. the values at which production test was conducted). Vdd_Guard in this example is an operating voltage that adds a guard band to V_test. The guard band may be determined by various types of characterization routines that are commonly conducted with an IC design after it has been committed to silicon.

One of two different temperature values may be used to implement a first temperature threshold as discussed above. In some embodiments of a power management circuit, T_test may be used as a first temperature threshold. Responsive to determining that the temperature is above T_test in such embodiments, power management circuit18may reduce the operating voltage from Vdd_Guard to V_test. This effectively removes the full guard band from the operating voltage.

In other embodiments, a temperature guard band may be added to T_test to form the first threshold at T_Guard. In such embodiments, power management circuit18may reduce the operating voltage from Vdd_Guard to V_test responsive to determining that the temperature exceeds T_Guard, thereby removing the entirety of the guard band from the operating voltage. The temperature guard band that is added to T_test to form T_Guard may account for inaccuracies in the temperature sensors used. Thus, additional simplification of the temperature sensors may be attained in such embodiments.

In general, reducing the operating voltage from Vdd_Guard by the full guard band amount in the embodiments discussed in the previous two paragraphs may take advantage of knowledge that IC10(and thus logic circuit14) were known to function properly at T_test and V_test during the production test.

In some embodiments, the operating voltage provided to IC10and logic circuit14may be Vdd_Guard when the temperature is determined to be below the first threshold that is based on T_test. At such temperatures, the full guard band may provide protection against transients and/or noise occurring in the power distribution system of IC10and/or logic circuit14. In other embodiments, some reduction of the operating voltage may be performed for at least some temperatures below the first threshold. In the illustrated example, an alternate lower threshold is also shown as a second threshold. In one embodiment, power management circuit18may reduce the operating voltage from Vdd_Guard by a value V_portion responsive to determining that the temperature exceeds the second threshold but is less than the first threshold. This may thus enable additional power saving even when the temperature is less than the first threshold that is based on T_test.

Embodiments are possible and contemplated in which further reductions to the operating voltage are obtainable in addition to those discussed above. For example, one embodiment contemplates a power management circuit in which a continuum of thresholds is implemented corresponding to the sloped line shown inFIG. 3. In such embodiments, the operating voltage may be reduced from Vdd_Guard by an amount corresponding to a point on the slope line. In such an embodiment, the reduction in operating voltage may increase proportionally with temperature. Thus, for many, if not all temperatures above T_minimum, the operating voltage may be reduced by at least some amount from Vdd_Guard. In some cases, another temperature guard band may be added as discussed above such that the continuum of thresholds begins at a temperature above the minimum temperature. Embodiments are also possible and contemplated in which reductions of operating voltage above and beyond the guard band are possible for temperatures above the first threshold.

FIG. 3is a flow diagram illustrating one embodiment of a method for controlling an operating voltage based on temperature. Method300in the embodiment shown is a simplified method in which a single threshold is used as a basis for comparing temperatures to determine whether a guard band voltage is provided to an IC (or logic unit thereof).

Method300begins with the determining of a temperature of an IC or of a logic unit in a power domain thereof (block305). The temperature may be determined based on one or more readings received from one or more corresponding temperature sensors. In cases in which multiple temperature sensors are used, the temperature may be determined based on a maximum reported temperature, a minimum reported temperature, or an average temperature.

Upon determining the temperature, a comparison may be made to a threshold value (block310). In one embodiment, the threshold value may be a temperature at which a production test was performed on the IC. In another embodiment, the threshold may be a sum of the production test temperature and a guard band. The guard band may be added in some embodiments to compensate for inaccuracies in the temperature sensor(s), the methodology by which the temperature is determined, or both.

If the temperature is less than the threshold (block310, no), the IC or logic unit thereof may be operated at a voltage that includes a full guard band (block320). More particularly, the operating voltage in this case is a sum of the voltage at which the production test was conducted plus a guard band voltage. The added guard band voltage may ensure safe operation across a range of different temperatures down to at least a minimum temperature value, and may be based on chip characterization. Subsequent to block320, the method may return to block305.

If the temperature is determined to be greater than the threshold value (block310, yes), then the IC or the logic circuit thereof may be operated at an operating voltage that does not include the guard band (block315). More particularly, the operating voltage minus the guard band may be equivalent to a voltage at which a production test of the IC/logic circuit was conducted. Since the IC is presumed to have successfully completed the production test, the production test voltage may be assumed to be a safe operating voltage when the temperature of the IC is above the temperature threshold. Method300may return to block305following block315. In general, temperature checks and comparisons may be performed periodically, with the operating voltage being adjusted accordingly.

FIG. 4is a flow diagram of one embodiment of a method in which multiple temperature thresholds are used to determine an operating voltage for an IC or logic circuitry therein. In the embodiment shown, method400begins with the determination of a temperature of the IC/logic circuitry based on one or more readings received from temperature sensors (block405). After determining the temperature, a comparison may be made to an upper temperature threshold value (block410). If the temperature id greater than the upper threshold (block410), a power management circuit may set the operating voltage to a value equal to a production test voltage (block425). The method may then return to block405for another periodic temperature determination.

If the temperature is less than the upper temperature threshold (block410, no), but is greater than a lower temperature threshold (block415, yes), then the power management circuit may set the operating voltage to a sum of the production test voltage plus a partial guard band (block430). The operating voltage may at this point be at an intermediate value between the production test voltage and the operating voltage that includes the full guard band. Method400may return to block405after block430for a subsequent periodic temperature determination.

If the temperature is less than the lower threshold (block415, no), then the power management circuit may set the operating voltage to a value that is the sum of the production test voltage and the full guard band. Method400may then return to block405for another periodic temperature determination.

Turning next toFIG. 5, a block diagram of one embodiment of a system150is shown. In the illustrated embodiment, the system150includes at least one instance of an IC5(e.g., that implements SoC10ofFIG. 1) coupled to one or more peripherals154and an external memory158. A power supply156is also provided which supplies the supply voltages to the IC10as well as one or more supply voltages to the memory158and/or the peripherals154. In some embodiments, more than one instance of the IC10may be included (and more than one external memory158may be included as well).

The peripherals154may include any desired circuitry, depending on the type of system150. For example, in one embodiment, the system150may be a mobile device (e.g. personal digital assistant (PDA), smart phone, etc.) and the peripherals154may include devices for various types of wireless communication, such as wifi, Bluetooth, cellular, global positioning system, etc. The peripherals154may also include additional storage, including RAM storage, solid-state storage, or disk storage. The peripherals154may include user interface devices such as a display screen, including touch display screens or multitouch display screens, keyboard or other input devices, microphones, speakers, etc. In other embodiments, the system150may be any type of computing system (e.g. desktop personal computer, laptop, workstation, net top etc.).

The external memory158may include any type of memory. For example, the external memory158may be SRAM, dynamic RAM (DRAM) such as synchronous DRAM (SDRAM), double data rate (DDR, DDR2, DDR3, LPDDR1, LPDDR2, etc.) SDRAM, RAMBUS DRAM, etc. The external memory158may include one or more memory modules to which the memory devices are mounted, such as single inline memory modules (SIMMs), dual inline memory modules (DIMMs), etc.