1. Field of the Invention
The present invention relates to an overclocking/underclocking technology, particularly to a power-saving trigger-type control device for dynamically and instantly varying frequency and a method thereof, which not only can vary frequency but also can fine tune voltage.
2. Description of the Related Art
The concept of clock frequency involves the external frequency and the frequency multiplier. The external frequency refers to the overall system bus frequency. The frequency multiplier refers to the frequency multiplier factor. The frequency of CPU, i.e. the internal frequency, is equal to the product of the external frequency and the frequency multiplier factor. Sometimes, the external frequency and the frequency multiplier factor are manually configured to enable CPU to work at a higher frequency, whereby is promoted the performance of the computer. Such an operation is referred to as “overclock”.
At present, overclocking can be realized with three methods. The first one is to vary the overall system bus frequency, by which CPU communicates with the peripheral components, to increase the external frequency. The second one is to vary the frequency multiplier factor to increase the working frequency of CPU (because internal frequency=external frequency*frequency multiplier factor). The third one is to directly vary the working voltage of CPU. The core voltage of the working voltage of CPU closely correlates with the voltage of the internal operation of CPU. Therefore, overclocking usually cooperates with increasing core voltage (overvoltaging) to speed up and stabilize the operation of CPU.
No matter which one of the abovementioned methods is adopted to overclock, the frequency has to be fine tuned after a higher frequency is reached. The frequency is fine tuned by an increment of 1-2 MHz or another increment in the BIOS menu. Alternatively, the frequency may be fine tuned via using software or firmware to interrupt the program and control the clock generator in the environment of an operating system. However, such a measure is inflexible. Alternatively, the frequency may be fine tuned with hardware buttons. However, such a measure still needs firmware to control the clock generator with the program persistently interrupted. Too many interruptions would overburden the system and degrade the overall performance of the computer.
Refer to
In a current frequency tuning technology, the motherboard has a Turbo mode. Pressing the Turbo key once can increment the initial CPU frequency by a fixed percentage, such as 3% or 5%. Pressing the Turbo key again restores the system to the initial CPU frequency. The technology can neither increment/decrement the frequency infinitely nor adjust the frequency by a smaller increment (such as 1 MHz) but can only increment the frequency by a fixed percentage.
As described above, the current frequency fine tuning is unlikely to dynamically and instantly overclock the system to achieve outperformance or outscoring in testing programs or playing games. The abovementioned Turbo method may bounce the frequency too high and crash the system in overclocking. Further, the current technologies cannot dynamically and instantly underclock to reduce power consumption. For example, when the batteries are going to be exhausted and the system is running programs needing lower CPU frequency, the frequency may be appropriately lowered to reduce power consumption of CPU and earn a longer running time of batteries. Such a function has not yet appeared in the current technologies.
For voltage scaling, the current technology is unlikely to vary the voltage dynamically, instantly and precisely via hardware, especially during frequency scaling. The current voltage scaling technology of the DC-DC power regulator uses software to vary the voltage in a BIOS or OS environment. The current technology can directly adjust the variable resistor (hardware) to vary the feedback voltage detected by the power regulator and then vary the output voltage without via software or firmware. However, the increment of voltage is hard to accurately control via adjusting a variable resistor, and too high an instantaneous voltage uprise may burn down the system.
Accordingly, the present invention proposes a power-saving trigger-type control device for dynamically and instantly varying frequency and a method thereof to overcome the abovementioned problems.
One objective of the present invention is to provide a power-saving trigger-type control device for dynamically and instantly varying frequency and a method thereof, which can be externally controlled to linearly vary the frequency/voltage of the system instantly, whereby the user can perform frequency/voltage scaling dynamically according to the practical condition without using any software or firmware, wherefore power saving is achieved efficiently, conveniently and economically.
Another objective of the present invention is to provide a power-saving trigger-type control device for dynamically and instantly varying frequency and a method thereof, which can precisely perform underclocking/undervolting to achieve power efficiency or reduce power consumption when power is limited or insufficient.
A further objective of the present invention is to provide a power-saving trigger-type control device for dynamically and instantly varying frequency and a method thereof, which can dynamically and delicately overclock the system to operate at different frequencies according to the load of the system in running game programs.
To achieve the abovementioned objectives, the present invention discloses a power-saving trigger-type control device for dynamically and instantly varying frequency and a method thereof. The device of the present invention comprises a signal control unit having two signal input terminals, a counting control unit, and a clock generator. The two signal input terminals respectively receive increment trigger actions and decrement trigger actions from the user and then generate increment trigger signals and decrement trigger signals each counting to the same number as the corresponding trigger actions. The counting control unit counts the received increment trigger signals or decrement trigger signals. The clock generator linearly increments or decrements the frequency output to the CPU chipset according to the count of the increment trigger signals or decrement trigger signals.
The trigger-type control device of the present invention further comprises a power controller connected with the signal control unit and linearly incrementing or decrementing the output voltage according to the count of the increment trigger signals or decrement trigger signals. The power controller uses a built-in counting controller or an external counting controller to count the increment trigger signals or decrement trigger signals.
The present invention also proposes a trigger-type control method to dynamically and instantly varying frequency/voltage. The method of the present invention comprises steps:
in the frequency-increment phase, receiving trigger actions from a first signal input terminal, generating increment trigger signals counting to the same number as the trigger actions, counting the increment trigger signals to generate a first accumulated number, and linearly incrementing the output frequency with the number of increments equal to the first accumulated number; and
in the frequency-decrement phase, receiving trigger actions from a second signal input terminal, generating decrement trigger signals counting to the same number as the trigger actions, counting the decrement trigger signals to generate a second accumulated number, and linearly decrementing the output frequency with the number of decrements equal to the second accumulated number.
The method of the present invention may further comprise steps:
in the frequency-increment phase, periodically and linearly incrementing the output voltage according to the first accumulated number; and
in the frequency-decrement phase, periodically and linearly decrementing the output voltage according to the second accumulated number.
Below, the embodiments are described in detail in cooperation with the attached drawings to make easily understood the objectives, technical contents, characteristics and accomplishments of the present invention.
The device of the present invention is controlled by the external actions of the user to dynamically vary the frequency and/or voltage of the system to instantly promote system performance or reduce power consumption.
Refer to
When the first signal input terminal 201 and the second signal input terminal 203 are touched or pressed by the user simultaneously, the output frequency or output voltage is restored to the default value preset in the system. Further, a maximum frequency and a maximum voltage are also preset for the safety of the system.
The counting control unit 22 is an independent external circuit transmitting signals to the clock generator 24 or the power controller 26. Alternatively, one counting control unit 22 is built in the clock generator 24 to form a clock generation chip, and another counting control unit 22 is built in the power controller 26 to form a power control chip; thus, the clock generator 24 and the power controller 26 respectively have their own built-in counting control units 22.
Refer to
Below are described the embodiments that the power-saving trigger-type control device applies to adjusting frequency or voltage, wherein a first touch control interface and a second touch control interface respectively exemplify the first signal input terminal and the second signal input terminal, and wherein a positive edge trigger signal and a negative edge trigger signal respectively function as the increment trigger signal and the decrement trigger signal.
Refer to
Below is described in detail the operation process of the trigger-type frequency control device according to the present invention.
The present invention also proposes a trigger-type control method for dynamically and instantly varying frequency. The method of the present invention comprises steps:
in the frequency-increment phase,
the first touch control interface 202 receiving trigger actions from the user and generating positive edge trigger signals, which counts to the same number as the trigger actions, to the logic control controller 221;
the counter 222 counting the positive edge trigger signals to generate a first accumulated number; and
the clock generator 24 linearly incrementing the frequency by a fixed frequency difference with the number of increments equal to the first accumulated number to output the frequency required by the user;
in the frequency-decrement phase, the second touch control interface 204 receiving trigger actions from the user and generating negative edge trigger signals, which counts to the same number as the trigger actions, to the logic control controller 221;
the counter 222 counting the negative edge trigger signals to generate a second accumulated number; and
the clock generator 24 linearly decrementing the frequency by a fixed frequency difference with the number of decrements equal to the second accumulated number to output the frequency required by the user.
In the present invention, the frequency increment or frequency decrement can be dynamically undertaken in any case to instantly meet the demand of the user.
Refer to
Below is described in detail the operation process of the trigger-type voltage control device according to the present invention.
The present invention also proposes a trigger-type control method for dynamically and instantly varying voltage. The method of the present invention comprises steps:
in the voltage-increment phase,
the first touch control interface 202 receiving trigger actions from the user and generating positive edge trigger signals, which counts to the same number as the trigger actions, to the external counting controller 23;
the external counting controller 23 counting the positive edge trigger signals to generate a first accumulated number; and
the power controller 26 linearly incrementing the voltage by a fixed voltage difference according to the first accumulated number to output the voltage required by the user;
in the voltage-decrement phase,
the second touch control interface 204 receiving trigger actions from the user and generating negative edge trigger signals, which counts to the same number as the trigger actions, to the external counting controller 23;
the external counting controller 23 counting the negative edge trigger signals to generate a second accumulated number; and
the power controller 26 linearly decrementing the voltage by a fixed voltage difference according to the second accumulated number to output the voltage required by the user.
In the present invention, the voltage increment or voltage decrement can be dynamically undertaken in any case to instantly meet the demand of the user.
The embodiment shown in
In the present invention, the power controller can cooperate with the clock generator. When the clock generator overclocks/underclocks, the power controller overvoltages/undervoltages simultaneously. However, if the clock generator overclocks by one increment and the power controller also overvoltages by one increment also, the voltage may be increased too much. For example, when the frequency is increased from 133 MHz to 233 MHz with each increment of frequency being 1 MHz, the number of increments is 100; suppose that the initial voltage is 1.5V, and that each increment of voltage is 0.01V; then, 0.01V*100=1V, thus, the resultant voltage is as high as 2.5V (=1.5V+1V) if the clock generator overclocks by one increment and the power controller also overvoltages by one increment. If the system has a highest withstand voltage of only 2.0V, it will be burnt down or overheated. Therefore, the design of voltage scaling in the present invention is that the power controller increments or decrements the output voltage once per N pieces of positive edge trigger signals or negative edge trigger signals. Refer to
From the above description, it is known that the present can instantly overclocks and increments the frequency infinitely until the upper limit of the clock generator is reached, neither interrupting any software/firmware nor affecting the performance of the system. Therefore, the present invention can overcome the problem of the conventional technology that hardware, firmware and bus are involved and affected in frequency/voltage scaling. Not via SM BUS, the present invention uses external hardware to directly control the clock generator or the power controller. Therefore, the present invention can directly and instantly vary the frequency and voltage of the system and features high response speed. Besides, the present invention enables the user to manually underclock and undervoltage. Therefore, the present invention can reduce the power consumption of the system dynamically and instantly and save the cost of developing firmware.
Many motherboards can be overclocked to a high point during booting the system before entering the Windows. However, the system is apt to crash during entering the Windows in such a case. Therefore, the system can be overclocked to an appropriate frequency suitable for the Windows with the existing overclocking technology during entering the Windows. Then, the system is fine tuned to have an expected frequency under the Windows environment with the external hardware of the present invention. Thereby, the system may even have a further higher frequency than before entering the Windows. Even though the system has been tuned to a high point of frequency under the Windows environment, the system is not necessarily able to execute some programs that consume much system resource. When the system executes programs, the present invention can dynamically and instantly perform frequency scaling and enable voltage scaling at the same time. Therefore, the user can flexibly manage the resource of the system via the present invention.
The embodiments described above are only to exemplify the present invention to enable the persons skilled in the art to understand, make and use the present invention. However, it is not intended to limit the scope of the present invention. Any equivalent modification or variation according to spirit of the present invention is to be also included within the scope of the present invention.