The present invention relates to a technology for
1. Field of the Invention setting a power supply voltage to be supplied to a microprocessor such as a CPU.
2. Description of the Related Art
A predetermined power supply voltage stabilized by a voltage regulator circuit (hereinafter referred to simply as “regulator circuit” also) is supplied to a microprocessor, such as a CPU, used in a personal computer, workstation, game device, or the like. The power supply voltage to be supplied to a microprocessor is set in accordance with a semiconductor fabrication process or the like employed for the microprocessor, and it is about 1.2 V for microprocessors fabricated by a low-voltage process of recent years.
Today a variety of microprocessors are being supplied by a plurality of vendors. The microprocessors supplied by the respective vendors specify power supply voltages to be supplied to themselves in their own schemes by the regulator circuits. In other words, the regulator circuits are designed such that they can accept the specification of a power supply voltage from a microprocessor.
As shown in
However, in conventional art, the VID of a microprocessor 60, once set for instance at the time of fabrication of a set equipped with the microprocessor, is never changed thereafter. Therefore, the power supply voltage supplied to the microprocessor remains constant irrespective of the hours of use after shipment from the factory, for instance.
Under such circumstances, the vendors producing microprocessors have set the power supply voltage, or the VID, by allowing a margin based on the worst assumed conditions taking into consideration the deterioration with time and the operating frequency of the microprocessor as well as the voltage drop and operating temperature expected of the set equipped with the microprocessor. What is meant by this is that, to begin with, a power supply voltage higher than necessary to operate a microprocessor is supplied to the microprocessor. In other words, if an optimum power supply voltage can be set in response to the condition of a microprocessor, then it is possible to reduce the power consumption of the microprocessor.
The present invention has been made in view of these problems, and one of the objectives thereof is to provide a technology for optimizing a power supply voltage to be supplied to a microprocessor.
One embodiment of the present invention to resolve the foregoing problems relates to a method for setting a power supply voltage to be supplied to a microprocessor or an arithmetic processor utilizing the setting method. In this technology, the following processes are performed:
(1) Determining the state of a microprocessor.
The “state of a microprocessor” means the performance (minimum voltage for operating the microprocessor), cumulative operating time, operating frequency, operating temperature, characteristics varying from other individual units, and the like of the microprocessor, and further includes the impedance of the power supply line and the like of a device equipped therewith. It is a wide concept encompassing the states that can affect the operating voltage of the microprocessor.
(2) Setting a power supply voltage to be supplied to the microprocessor according to the state of the microprocessor as determined in (1).
(3) Carrying out the two processes of (1) and (2) above at least once with the microprocessor mounted on an electronic device which is to be finally equipped therewith and the electronic device performing all its functions.
According to this embodiment, an optimum power supply voltage can be set for an individual microprocessor and an individual device equipped therewith under actual operating conditions of the microprocessor.
Embodiments will now be described, by way of example only, with reference to the accompanying drawings which are meant to be exemplary, not limiting, and wherein like elements are numbered alike in several Figures, in which:
The technical ideas underlying the present invention are realized by a variety of embodiments as will be described hereinbelow. Firstly, those embodiments will be outlined.
One embodiment of the present invention relates to a method for setting a power supply voltage to be supplied to a microprocessor. This method comprises: determining a state of a microprocessor; and setting the power supply voltage according to the state determined by the determining. In this method, the determining and the setting are carried out with the microprocessor mounted on an electronic device.
The determining may be performed repeatedly in predetermined timing, and whenever the determining is performed, the power supply voltage may be reset by the setting. An optimum power supply voltage at any given time can be set by resetting the power supply voltage in predetermined timing such as at power-on of the electronic device or at predetermined hours.
Determination of the state of a microprocessor and setting of a power supply voltage are accomplished for instance in embodiments as described below.
(Setting Method 1)
In the determining, a predetermined determination program is executed using a microprocessor. In the setting, a power supply voltage is set based on a result of execution of the determination program in the determining. This determination program may include a processing code that sets a maximum power supply voltage necessary for the microprocessor.
In such a case, the determining may be such that the power supply voltage supplied to the microprocessor is lowered successively as a predetermined processing is executed by the microprocessor. The setting may detect a voltage near the lower limit for the operation of the microprocessor and may set the detected voltage as the power supply voltage.
When the power supply voltage is lowered gradually, the microprocessor cannot execute predetermined processings at a certain voltage and below. Therefore, a lower limit voltage at which the microprocessor can still be operated is estimated, and the estimated voltage is set as the power supply voltage. According to this method, an optimum voltage setting can be accomplished in response to the state of the microprocessor when the determining is performed.
A determination program may be updated by an updating after the shipment of an electronic device equipped with the microprocessor.
(Setting Method 2)
In the determining, a characteristic that can be an indicator of the lower limit of operating voltage of the microprocessor is measured. For example, the characteristic that can be an indicator is the oscillation frequency of a ring oscillator provided within the microprocessor. The oscillation frequency of a ring oscillator is an indicator of the performance of transistor gates of a microprocessor, and the higher the oscillation frequency is, the lower the lower limit of the operating voltage will be. In this case, the oscillation frequency of the ring oscillator may be measured by a frequency measuring, and a power supply voltage may be set in the setting based on the frequency measured in the frequency measuring.
The determining may include measuring a cumulative operating time (hereinafter referred to as “ON time” also) of the microprocessor. The setting may set the power supply voltage according to the cumulative operating time measured by the measuring. The performance of transistor gates of a microprocessor deteriorates with time by the effect of migration and the like, so that the minimum operating voltage rises with time. Thus, by measuring the cumulative operating time of a microprocessor, it is possible to set a power supply voltage with deterioration with time taken into consideration.
Another embodiment of the present invention relates to an arithmetic processor. The arithmetic processor comprises: a microprocessor; a determining unit which determines the state of the microprocessor; a setting unit which sets a power supply voltage to be supplied to the microprocessor according to the state of the microprocessor determined by the determining unit; and a power supply circuit which supplies the power supply voltage set by the setting unit to the microprocessor.
Optional combinations of the aforementioned constituting elements, and implementations of the invention in the form of methods, apparatuses, systems and so forth may also be effective as additional modes of the present invention.
An arithmetic processor according to embodiments of the present invention will now be described in detail by reference to the drawings.
This electronic device 1000 includes an arithmetic processor 100, a memory 110, a recording unit 120, an interface unit 130, an image output unit 140, a bus 150, and so forth.
The arithmetic processor 100, which is a unit including for instance a CPU or a graphic processor, carries out predetermined digital arithmetic processings. The CPU is a unit for managing the electronic device 1000 in an integrated manner. The graphic processor is an LSI so designed as to specialize in image processings. The functions of a CPU and a graphic processor may be effectuated by a single LSI. Image data generated by the graphic processor are outputted to an external image display unit (not shown) through the image output unit 140. The arithmetic processor 100 performs arithmetic processings by loading a program or data from the recording unit 120 to the memory 110.
The recording unit 120, which is a hard disk or DVD device, stores programs and the like that are executed by the electronic device. The interface unit 130, which is a USB port, modem, wireless LAN (Local Area Network) or such other unit, is used to connect the electronic device to an external network such as an external device or the Internet. The respective blocks are interconnected by the bus 150.
The arithmetic processor 100 according to the present embodiment can be used in an electronic device 1000 as described above and, in particular, can be suitably used in ones with large power consumption. The arithmetic processor 100 will now be described in detail.
The microprocessor 10 and the power supply unit 20 are connected to each other via a power supply line 12. Note that the identical or equivalent components in the following figures will be given the identical reference numerals and the repeated description thereof will be omitted as appropriate. The microprocessor 10 driven by the power supply unit 20 typically operates on a power supply voltage that is about 1.2 V. In point of fact, however, an optimum power supply voltage Vdd changes depending on various factors such as the actual arithmetic processing to be executed, the temperature of the microprocessor 10 or the lapse of time from mounting the processor. Hence, the arithmetic processor 100 according to the present embodiment determines the state of the microprocessor 10 and sets dynamically or statically the power supply voltage to be supplied to the microprocessor 10 based on the result of the determination.
The power supply unit 20 includes a determining unit 22, a setting unit 24, and a power supply circuit 26. The determining unit 22 determines the state of the microprocessor 10. The determining unit 22 sends a control signal S1 indicative of the state of the microprocessor 10 derived as a result of the determination to the setting unit 24. By referring to the control signal S1, the setting unit 24 sets a power supply voltage Vdd to be supplied to the microprocessor 10 according to the state of the microprocessor 10 as determined by the determining unit 22. The setting unit 24 sends a control signal S2 indicative of the power supply voltage Vdd thus set to the power supply circuit 26. The power supply circuit 26, which is a regulator circuit or the like, supplies the power supply voltage Vdd set by the setting unit 24 to the microprocessor 10.
The functions of the determining unit 22 and the setting unit 24 may be carried out by hardware such as a system controller, and also part of the functions may be carried out by a program that is executed by the microprocessor 10.
As described above, the arithmetic processor 100 and the method for setting the power supply voltage according to the present embodiment are such that a power supply voltage is set after the arithmetic processor 100 including the microprocessor 10 is installed in the electronic device 1000. As a result, an optimum power supply voltage can be set for an individual microprocessor and an individual device equipped therewith under actual operating conditions of the microprocessor.
Described hereinbelow will be preferable concrete examples of determining the state of the microprocessor 10 and setting the power supply voltage Vdd by the determining unit 22 and the setting unit 24.
(First Method of Setting)
After the mounting step S100, a determining step S110 and a setting step S120 are performed successively. In the determining step S110, a predetermined determination program is executed using the microprocessor 10 to which a voltage is supplied. In the setting step S120, a power supply voltage Vdd is set based on the result of execution of the determination program in the determining step S110. The setting step S130 is performed by the setting unit 24.
The determining step S110 and the setting step S120 correspond to the functions of the determining unit 22 and the setting unit 24, respectively. The two steps of the determining step S110 and the setting step S120 are performed in a state where the arithmetic processor 100 including the microprocessor 10 is mounted on the electronic device 1000.
After the start of use of the microprocessor 10, the determining step S110 may be performed repeatedly in predetermined timing. The predetermined timing means the time of starting up the electronic device 1000, the hour in the night when the user is not using the electronic device 1000, the hour specified by the user in advance, and the like. In such a case, whenever the determining step S110 is performed, the power supply voltage Vdd is reset by the setting step S120. By performing the determining step S110 repeatedly in predetermined timing, an optimum power supply voltage can be set at any given time.
In the determining step S110, a predetermined determination program may be executed using the microprocessor 10.
Firstly, in step S112, a predetermined initialization processing is executed. In this initialization processing, the electronic device 1000 is initialized, and also the power supply voltage Vdd is set to an initial value Vinit. It is desirable that the initial value Vinit of the power supply voltage Vdd is a value high enough to allow the microprocessor 10 to reliably execute a predetermined processing which will be described below.
Next, in step S114, the power supply voltage Vdd is lowered by a predetermined value ΔV, and the lowered power supply voltage Vdd′ is applied to the microprocessor 10. Then, in step S116, the microprocessor 10 is made to execute a predetermined processing. Then, in step S118, it is determined whether the microprocessor 10 can execute the predetermined processing or not. If it can execute the predetermined processing (Y of S118), a return is made to step S114, where the power supply voltage Vdd is lowered by a predetermined value. If it cannot execute the predetermined processing (N of S118), a voltage near the lower limit for the operation of the microprocessor 10 is set as the power supply voltage (S120). The voltage near the lower limit for the operation of the microprocessor 10 may be a latest power supply voltage Vdd at which the microprocessor 10 could execute the predetermined processing or a voltage with a given margin added to the lower-limit voltage.
When the power supply voltage is lowered gradually, the microprocessor itself may no longer operate at a certain voltage or below, or it can no longer execute the predetermined processing. Hence, by estimating a lower limit voltage at which the microprocessor can still be operated and setting the estimated voltage as the power supply voltage, the power consumption can be reduced because it is no longer necessary to give consideration to the unnecessary margin.
Note that cases may be assumed where as a result of lowering a power supply voltage the microprocessor 10 becomes inoperative and thus the subsequent processing cannot be kept up. To deal with such a case, a service processor, in addition to the microprocessor 10, may be provided to effect a restart by increasing the power supply voltage again.
In an embodiment, an electronic device, equipped with a first processor and a second processor, may be shipped from the factory. For example, the first processor is a main processor, and the second processor is a sub-processor, and they are used for normal operation of the electronic device, in addition to the setting of the power supply voltage. The second processor detects an operating limit voltage which is eventually reached as the power supply voltage is lowered from a predetermined initial value with the first processor operating. Then the power supply voltage for the first processor is set to a value obtained by adding a predetermined margin to the operating limit voltage detected by the second processor.
Note that the predetermined processing to be executed by the determination program preferably includes a processing code that sets a maximum power supply voltage Vdd necessary for the microprocessor 10.
In an LSI, such as the microprocessor 10, there is a path of transistor gates, called a critical path, where the delay is extremely large, and when a processing is done using the gates on this path, the processing capacity of an arithmetic processor is estimated low. Accordingly, it is possible to set the power supply voltage Vdd properly by implementing a processing code using this critical path in the determination program.
The determination program is preferably updatable even after the electronic device 1000 equipped with the microprocessor 10 is shipped from the factory. For instance, an update program may be downloaded by accessing a server on the Internet via the interface unit 130 shown in
(Second Method of Setting)
In the first setting method as described above, an optimum value of power supply voltage Vdd is estimated by having the microprocessor 10 execute a predetermined processing. In contrast to this, in a second setting method to be described below, a characteristic that can be an indicator of the lower limit of operating voltage of the microprocessor 10 is measured first. Then, based on the measured characteristic as the indicator, the lower limit of power supply voltage is estimated and set.
The characteristic that can be used as an indicator of the lower limit of operating voltage of the microprocessor 10 is the oscillation frequency of a ring oscillator.
Accordingly, in the second setting method, a ring oscillator is provided within the microprocessor 10, and the oscillation frequency fosc thereof is used as the indicator of the lower limit Vmin of the power supply voltage.
The timer circuit 16 reports the measured period Tp of the ring oscillator 14 to the setting unit 24. Based on the reported period Tp, the setting unit 24 sets a power supply voltage Vdd using the correlation of
According to the second method of setting, an optimum power supply voltage Vdd can be set in conformity with individual differences between microprocessors 10. Also, with the same microprocessor 10, the performance of transistor gates therewithin declines due to deterioration with time, so that the oscillation frequency of the ring oscillator 14 may sometimes drop as the ON time gets longer. Therefore, in the second setting method, the setting of power supply voltage taking deterioration with time into consideration can be accomplished.
(Third Method of Setting)
In a third method of setting, a cumulative operating time (POH: Power On Hours) of the microprocessor 10 is measured as the characteristic that can be an indicator of the lower limit of operating voltage of the microprocessor 10. A microprocessor 10 is structured by an integration of innumerable transistor devices called gates. It is known that the level of power supply voltage for stable operation of these transistor devices rises gradually due to deterioration over time such as migration. Conventionally, a method employed has been one of setting a power supply voltage by fixedly adding a voltage margin taking deterioration over time into consideration.
In contrast to this, in the third setting method, the ON time (POH) of the microprocessor 10 is measured, and the power supply voltage is raised gradually relative to the deterioration over time.
The ON time (POH) of the microprocessor 10 may be managed by the microprocessor 10 itself or may be managed by a system controller or the like. In any case, a measuring unit for measuring the ON time (POH) may be formed by software or hardware.
If a voltage margin is added fixedly as has been done conventionally, a power supply voltage higher than necessary will be supplied even when the ON time is short, and this will increase power consumption. Also, there is a problem of larger increment ΔV due to accelerated deterioration over time which results from the supply of power supply voltage larger than necessary. In contrast to this, in the third setting method, the increment ΔV shown by the solid line in
The invention has been described based on the exemplary embodiments. The above-described embodiments are intended to be illustrative only and it will be obvious to those skilled in the art that various modifications to any combination of constituting elements and processes could be developed and that such modifications are also within the scope of the present invention.
The several methods of setting power supply voltage explained in the foregoing embodiments may be used individually or in combination.
Also, it may be assumed that there exists some difference between the set value of power supply voltage Vdd specified by the setting unit 24 to the power supply circuit 26 and the power supply voltage Vdd actually supplied to the microprocessor 10, depending on the individual electronic device, due to variations in the impedance of the power supply line 12, the reference voltage within the power supply circuit 26, and the like. Therefore, in the first to third setting methods, the power supply voltage may be set while giving consideration to these variations. For example, an error of a power supply voltage actually applied to the microprocessor 10 from the set value of power supply voltage may be measured with the microprocessor 10 and the power supply unit mounted on a set, and the error may be reflected in the setting of the power supply voltage Vdd by the setting unit 24.
Number | Date | Country | Kind |
---|---|---|---|
2006-033968 | Feb 2006 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2006/323107 | 11/20/2006 | WO | 00 | 11/4/2008 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2007/091361 | 8/16/2007 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
6795927 | Altmejd et al. | Sep 2004 | B1 |
20030065497 | Rhoads | Apr 2003 | A1 |
20050289376 | Hartman et al. | Dec 2005 | A1 |
Number | Date | Country |
---|---|---|
02-199851 | Aug 1990 | JP |
6334585 | Dec 1994 | JP |
11-203163 | Jul 1999 | JP |
11203163 | Jul 1999 | JP |
2003-256069 | Sep 2003 | JP |
2005-134531 | May 2005 | JP |
2006-004338 | Jan 2006 | JP |
2006-332131 | Dec 2006 | JP |
2005008777 | Jan 2005 | WO |
Number | Date | Country | |
---|---|---|---|
20090228727 A1 | Sep 2009 | US |