TW202004499A - Electronic apparatus and performance adjustment method thereof - Google Patents
Electronic apparatus and performance adjustment method thereof Download PDFInfo
- Publication number
- TW202004499A TW202004499A TW107119387A TW107119387A TW202004499A TW 202004499 A TW202004499 A TW 202004499A TW 107119387 A TW107119387 A TW 107119387A TW 107119387 A TW107119387 A TW 107119387A TW 202004499 A TW202004499 A TW 202004499A
- Authority
- TW
- Taiwan
- Prior art keywords
- power
- value
- processor
- electronic device
- control circuit
- Prior art date
Links
Images
Abstract
Description
本發明是有關於一種電子裝置及其效能調整方法,且特別是有關於一種根據電子裝置所消耗的電流或功率來調整電子裝置的多個處理器的效能的方法。The present invention relates to an electronic device and its performance adjustment method, and in particular to a method for adjusting the performance of multiple processors of an electronic device according to the current or power consumed by the electronic device.
在電腦系統架構中,隨著圖形處理器(Graphics Processing Unit,GPU)的功能越強大,其所消耗的功率瓦數也越高。然而,在電腦系統的散熱能力有限的情況下,一般的電腦系統設計大多都是直接降低中央處理器(Central Processing Unit,CPU)的效能及功率,以確保圖形處理器的效能及所需的功率。也就是說,只要圖形處理器開始運作,無論圖形處理器實際上的負載輕重或所需的功率多寡,電腦系統一律降低中央處理器的效能及功率,如此的系統設計將會導致電腦系統的效能無法達到最佳化。因此,如何調整電腦系統中各處理器的效能,以讓電腦系統的整體效能最佳化,乃是本領域技術人員所面臨的重大課題之一。In the computer system architecture, the more powerful the graphics processing unit (Graphics Processing Unit, GPU) is, the higher the wattage it consumes. However, in the case of limited heat dissipation capacity of the computer system, most of the general computer system design directly reduces the performance and power of the Central Processing Unit (CPU) to ensure the performance and required power of the graphics processor . In other words, as long as the graphics processor starts to operate, regardless of the actual load of the graphics processor or the amount of power required, the computer system will reduce the performance and power of the central processor. Such a system design will result in the performance of the computer system. Unable to achieve optimization. Therefore, how to adjust the performance of each processor in the computer system to optimize the overall performance of the computer system is one of the major issues facing those skilled in the art.
有鑑於此,本發明提供一種電子裝置及其效能調整方法,可根據電子裝置所消耗的電流(或功率)來調整電子裝置的多個處理器的效能,以讓電子裝置的整體效能最佳化。In view of this, the present invention provides an electronic device and its performance adjustment method, which can adjust the performance of multiple processors of the electronic device according to the current (or power) consumed by the electronic device, so as to optimize the overall performance of the electronic device .
本發明的電子裝置包括第一處理器、第二處理器、電源電路以及控制電路。電源電路耦接第一處理器及第二處理器,用以提供第一處理器運作所需的第一電力以及第二處理器運作所需的第二電力,且感測電子裝置所消耗的電流量並據以產生電流感測值。控制電路耦接第一處理器及第二處理器,且耦接電源電路以接收電流感測值,其中控制電路根據電流感測值調整第一電力及第二電力至少其中之一。The electronic device of the present invention includes a first processor, a second processor, a power circuit, and a control circuit. The power circuit is coupled to the first processor and the second processor to provide the first power required for the operation of the first processor and the second power required for the operation of the second processor, and to sense the current consumed by the electronic device Measure and generate the current sensing value accordingly. The control circuit is coupled to the first processor and the second processor, and is coupled to the power circuit to receive the current sensing value, wherein the control circuit adjusts at least one of the first power and the second power according to the current sensing value.
在本發明的一實施例中,上述的控制電路根據電流感測值於查找表中查找出對應的多個參考功率值,且根據此些參考功率值來設定第一電力及第二電力的功率值。In an embodiment of the invention, the above-mentioned control circuit finds corresponding reference power values in a look-up table according to the current sensing value, and sets the power of the first power and the second power according to the reference power values value.
本發明的效能調整方法可用於電子裝置的第一處理器及第二處理器。效能調整方法方括以下步驟:透過該電子裝置的電源電路提供第一處理器運作所需的第一電力以及第二處理器運作所需的第二電力;透過電源電路感測電子裝置所消耗的電流量以取得電流感測值;以及透過電子裝置的控制電路根據電流感測值調整第一電力及第二電力至少其中之一。The performance adjustment method of the present invention can be used for the first processor and the second processor of the electronic device. The performance adjustment method includes the following steps: providing the first power required for the operation of the first processor and the second power required for the operation of the second processor through the power circuit of the electronic device; sensing the power consumed by the electronic device through the power circuit The amount of current to obtain the current sense value; and at least one of the first power and the second power is adjusted according to the current sense value through the control circuit of the electronic device.
基於上述,本發明實施例所提出的電子裝置及其效能調整方法,可根據電子裝置所消耗的電流(或功率)及查找表來調整電子裝置的第一處理器及第二處理器的效能,以讓電子裝置的整體效能最佳化。Based on the above, the electronic device and the performance adjustment method thereof according to the embodiments of the present invention can adjust the performance of the first processor and the second processor of the electronic device according to the current (or power) consumed by the electronic device and the look-up table. In order to optimize the overall performance of the electronic device.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more obvious and understandable, the embodiments are specifically described below in conjunction with the accompanying drawings for detailed description as follows.
為了使本發明內容可以被更容易明瞭,以下特舉實施例做為本發明確實能夠據以實施的範例。另外,凡可能之處,在圖式及實施方式中使用相同標號的元件/構件,係代表相同或類似部件。In order to make the content of the present invention easier to understand, the following specific embodiments are taken as examples on which the present invention can indeed be implemented. In addition, wherever possible, elements/components with the same reference numerals in the drawings and embodiments represent the same or similar components.
以下請參照圖1,圖1是依照本發明一實施例所繪示的電子裝置100的電路方塊示意圖。在本發明的一實施例中,電子裝置100可例如是個人電腦(personal computer,PC)、筆記型電腦(notebook PC)、平板型電腦(tablet PC)、多媒體播放器、電視機或遊戲主機等等,但本發明並不以此為限。電子裝置100可包括第一處理器110、第二處理器120、電源電路130以及控制電路140,但本發明不限於此。Please refer to FIG. 1 below. FIG. 1 is a schematic block diagram of an
電源電路130耦接第一處理器110及第二處理器120,用以提供第一處理器110運作所需的第一電力PW1以及第二處理器120運作所需的第二電力PW2,且感測電子裝置100所消耗的電流量並據以產生電流感測值SI。控制電路140耦接第一處理器110及第二處理器120,且耦接電源電路130以接收電流感測值SI。特別是,控制電路140可根據電流感測值SI調整第一電力PW1及第二電力PW2至少其中之一。詳細來說,控制電路140可根據電流感測值SI判斷電子裝置100整體的工作負荷(workload)的輕重,並據以動態地調整第一電力PW1及第二電力PW2至少其中之一,從而調整第一處理器110及第二處理器120至少其中一者的效能,以讓電子裝置100的整體效能達到最佳化。The
在本發明的一實施例中,第一處理器110可例如是中央處理器(Central Processing Unit,CPU),且第二處理器120可例如是圖形處理器(Graphics Processing Unit,GPU),但本發明不限於此。In an embodiment of the present invention, the
在本發明的一實施例中,電源電路130可接收外部適配器(adaptor)所提供的輸入電源PI,並據以提供第一電力PW1及第二電力PW2,但本發明不限於此。在本發明的一實施例中,電源電路130可例如是具有電流感測功能的充電控制晶片,但本發明不限於此。In an embodiment of the present invention, the
在本發明的一實施例中,控制電路140可以是硬體、韌體或是儲存在記憶體而由微控制器所載入執行的軟體或機器可執行程式碼。若是採用硬體來實現,則控制電路140可以是由單一整合電路晶片所達成,也可以由多個電路晶片所完成,但本發明並不以此為限制。上述多個電路晶片或單一整合電路晶片可採用特殊功能積體電路(ASIC)或可程式化邏輯閘陣列(FPGA)或複雜可編程邏輯裝置(CPLD)來實現。而上述記憶體可以是例如隨機存取記憶體、唯讀記憶體或是快閃記憶體等等。In an embodiment of the present invention, the
在本發明的一實施例中,電子裝置100還可選擇性地包括至少一周邊電路150。但為了圖式簡潔起見,圖1僅繪示一個周邊電路150。在本發明的一實施例中,周邊電路可例如是顯示面板或輸出輸入裝置等等,但本發明不限於此。周邊電路150耦接電源電路130。電源電路130可提供周邊電路150運作所需的第三電力PW3。可以理解的是,電源電路130所感測到的電流感測值SI(即電子裝置100所消耗的電流量)為第一電力PW1、第二電力PW2及第三電力PW3的電流總和。In an embodiment of the invention, the
在本發明的一實施例中,控制電路140可根據電流感測值SI於查找表LUT中查找出對應的多個參考功率值,且控制電路140可根據此些參考功率值來設定第一電力PW1的功率值及第二電力PW2的功率值,其中查找表LUT可依實際應用或設計需求來建立,並將其儲存在控制電路140或儲存器(未繪示)中,但本發明不限於此。In an embodiment of the present invention, the
以下將以第一處理器110為中央處理器(下稱中央處理器110),以及第二處理器120為圖形處理器(下稱圖形處理器120)為範例,來進一步說明電子裝置100的整體運作。在此假設適配器所提供的輸入電源PI的最大功率為130瓦,電源電路130所提供的第一電力PW1、第二電力PW2及第三電力PW3的電壓為19.5伏特,電子裝置100的散熱能力為100瓦,中央處理器110於最佳效能情況下所需的功率值為45瓦,圖形處理器120的滿載功率值為85瓦,以及周邊電路150所需的功率值為25瓦。因此,可建立例如表1所示的查找表LUT。表1所示的查找表LUT包括電流感測值SI(即電子裝置100所消耗的電流量或功耗值)以及對應的多個參考功率值,其中此些參考功率值可包括中央處理器110的功率上限值、圖形處理器120的功率值以及周邊電路130的功率值,另外,表1中還列示了CPU實際使用的功率值以及適配器未被使用的功率值。 表1
舉例來說,若電源電路130所感測到的電流感測值SI為4.5安培,則控制電路140可根據電流感測值SI以及表1的查找表,將中央處理器110的功率上限值(即第一電力PW1的功率上限值)設為45瓦、將供應給圖形處理器120的功率值(即第二電力PW2的功率值)設為43瓦、以及將供應給周邊電路的功率值(即第三電力PW3的功率值)設為25瓦,其中,雖然中央處理器110的功率上限值設在45瓦,但中央處理器110實際上只消耗20瓦。For example, if the current sense value SI sensed by the
在此值得一提的是,當電流感測值SI小於或等於第一臨界值(例如4.5安培)時,控制電路140可判斷電子裝置100的工作負荷仍輕。因此,當電流感測值SI上升時(仍小於或等於第一臨界值),控制電路140可調升第二電力PW2的功率值以提高供應給圖形處理器120的功率值,但不調整第一電力PW1的功率上限值(即中央處理器110的功率上限值)。舉例來說,如表1所示,當電流感測值SI由4.0安培上升至4.5安培時,圖形處理器120的功率值將由33瓦調高至43瓦,但中央處理器110的功率上限值仍維持在45瓦。也就是說,在電流感測值SI小於或等於第一臨界值的情況下,控制電路140不會因為提高圖形處理器120的效能而降低中央處理器110的效能。It is worth mentioning here that when the current sensing value SI is less than or equal to the first threshold (for example, 4.5 amperes), the
當電流感測值SI大於第一臨界值(例如4.5安培)且小於或等於第二臨界值(例如6.0安培)時,控制電路140可判斷電子裝置100的工作負荷逐漸加重。因此,當電流感測值SI上升時(仍大於第一臨界值且小於或等於第二臨界值),控制電路140將調升第二電力PW2的功率值以提高供應給圖形處理器120的功率值,以及調降第一電力PW1的功率上限值(即中央處理器110的功率上限值),以逐步地抑制中央處理器110的效能。舉例來說,如表1所示,當電流感測值SI由5.0安培上升至5.5安培時,圖形處理器120的功率值將由53瓦調高至62瓦,且中央處理器110的功率上限值將由35瓦調降至30瓦。When the current sensing value SI is greater than the first critical value (eg, 4.5 amperes) and less than or equal to the second critical value (eg, 6.0 amperes), the
當電流感測值SI大於第二臨界值(例如6.0安培)時,控制電路140可判斷電子裝置100的工作負荷即將滿載。因此,當電流感測值SI上升時(大於第二臨界值的情況下),控制電路140將第二電力PW2的功率值設定為圖形處理器120的滿載功率值,以滿足圖形處理器120滿載下的電力需求,以及調降第一電力PW1的功率上限值(即中央處理器110的功率上限值),以抑制中央處理器110的效能,並確保第一電力PW1與第二功率PW2的功率總和小於或等於電子裝置100的散熱能力,以避免電子裝置100熱當機。舉例來說,如表1所示,當電流感測值SI由6.0安培上升至6.5安培時,圖形處理器120的功率值將由72瓦調高至85瓦(即圖形處理器120的滿載功率值),且中央處理器110的功率上限值將由25瓦調降至20瓦。由於此時的中央處理器110實際使用的功率值為15瓦,且圖形處理器120最高使用的功率值為85瓦,兩者的功率總和至多100瓦,並未超過電子裝置100的散熱能力(即100瓦)。When the current sensing value SI is greater than the second threshold (for example, 6.0 amperes), the
以下請合併參照圖1及圖2,圖2是依照本發明一實施例所繪示的效能調整方法,可用於圖1的電子裝置100,但不限於此。電子裝置100的效能調整方法包括以下步驟。首先,於步驟S210中,可透過電源電路130提供第一處理器110運作所需的第一電力PW1以及第二處理器120運作所需的第二電力PW2。接著,於步驟S220中,可透過電源電路130感測電子裝置100所消耗的電流量以取得電流感測值SI。之後,於步驟S230中,可透過控制電路140根據電流感測值SI調整第一電力PW1及第二電力PW2至少其中之一。In the following, please refer to FIG. 1 and FIG. 2 together. FIG. 2 is a performance adjustment method according to an embodiment of the present invention, which can be used in the
另外,本發明的實施例的電子裝置的效能調整方法可以由圖1實施例之敘述中獲致足夠的教示、建議與實施說明,因此不再贅述。In addition, the method for adjusting the performance of the electronic device according to the embodiment of the present invention can obtain sufficient teaching, suggestions, and implementation descriptions from the description of the embodiment in FIG.
綜上所述,本發明實施例所提出的電子裝置及其效能調整方法,可根據電子裝置所消耗的電流(或功率)及查找表來調整電子裝置的第一處理器及第二處理器的效能,以讓電子裝置的整體效能最佳化。In summary, the electronic device and its performance adjustment method proposed in the embodiments of the present invention can adjust the first processor and the second processor of the electronic device according to the current (or power) consumed by the electronic device and the look-up table Performance to optimize the overall performance of electronic devices.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed as above with examples, it is not intended to limit the present invention. Any person with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. The scope of protection of the present invention shall be subject to the scope defined in the appended patent application.
100‧‧‧電子裝置110‧‧‧第一處理器120‧‧‧第二處理器130‧‧‧電源電路140‧‧‧控制電路150‧‧‧周邊電路LUT‧‧‧查找表PI‧‧‧輸入電源PW1‧‧‧第一電力PW2‧‧‧第二電力PW3‧‧‧第三電力SI‧‧‧電流感測值S210、S220、S230‧‧‧步驟100‧‧‧
下面的所附圖式是本發明的說明書的一部分,繪示了本發明的示例實施例,所附圖式與說明書的描述一起說明本發明的原理。 圖1是依照本發明一實施例所繪示的電子裝置的電路方塊示意圖。 圖2是依照本發明一實施例所繪示的效能調整方法。The following drawings are part of the description of the present invention, and illustrate exemplary embodiments of the present invention. The drawings together with the description of the description illustrate the principle of the present invention. FIG. 1 is a schematic circuit block diagram of an electronic device according to an embodiment of the invention. FIG. 2 is a performance adjustment method according to an embodiment of the invention.
100‧‧‧電子裝置 100‧‧‧Electronic device
110‧‧‧第一處理器 110‧‧‧ First processor
120‧‧‧第二處理器 120‧‧‧second processor
130‧‧‧電源電路 130‧‧‧Power circuit
140‧‧‧控制電路 140‧‧‧Control circuit
150‧‧‧周邊電路 150‧‧‧ Peripheral circuit
LUT‧‧‧查找表 LUT‧‧‧Lookup Table
PI‧‧‧輸入電源 PI‧‧‧ input power
PW1‧‧‧第一電力 PW1‧‧‧First Power
PW2‧‧‧第二電力 PW2‧‧‧Second Electricity
PW3‧‧‧第三電力 PW3‧‧‧Third Power
SI‧‧‧電流感測值 SI‧‧‧Current sensing value
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107119387A TWI704497B (en) | 2018-06-05 | 2018-06-05 | Electronic apparatus and performance adjustment method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107119387A TWI704497B (en) | 2018-06-05 | 2018-06-05 | Electronic apparatus and performance adjustment method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202004499A true TW202004499A (en) | 2020-01-16 |
TWI704497B TWI704497B (en) | 2020-09-11 |
Family
ID=69942227
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107119387A TWI704497B (en) | 2018-06-05 | 2018-06-05 | Electronic apparatus and performance adjustment method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI704497B (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8458498B2 (en) * | 2008-12-23 | 2013-06-04 | Intel Corporation | Method and apparatus of power management of processor |
US8924758B2 (en) * | 2011-12-13 | 2014-12-30 | Advanced Micro Devices, Inc. | Method for SOC performance and power optimization |
US20130155081A1 (en) * | 2011-12-15 | 2013-06-20 | Ati Technologies Ulc | Power management in multiple processor system |
US9563254B2 (en) * | 2011-12-22 | 2017-02-07 | Intel Corporation | System, method and apparatus for energy efficiency and energy conservation by configuring power management parameters during run time |
TWI571734B (en) * | 2013-02-05 | 2017-02-21 | 新唐科技股份有限公司 | Power management circuit and method thereof and computer system |
US9588571B2 (en) * | 2015-07-08 | 2017-03-07 | Quanta Computer Inc. | Dynamic power supply management |
US9934048B2 (en) * | 2016-03-29 | 2018-04-03 | Intel Corporation | Systems, methods and devices for dynamic power management of devices using game theory |
-
2018
- 2018-06-05 TW TW107119387A patent/TWI704497B/en active
Also Published As
Publication number | Publication date |
---|---|
TWI704497B (en) | 2020-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4732171B2 (en) | Real-time dynamic design of LCD panel power management with brightness control | |
US9563254B2 (en) | System, method and apparatus for energy efficiency and energy conservation by configuring power management parameters during run time | |
US5745375A (en) | Apparatus and method for controlling power usage | |
JP5189921B2 (en) | Computer heat dissipation system | |
TWI417740B (en) | System and method for operating components of an integrated circuit at independent frequencies and/or voltages | |
US8332675B2 (en) | Latency based platform coordination | |
US8732495B2 (en) | Systems, apparatuses and methods for dynamic voltage and frequency control of components used in a computer system | |
TWI468919B (en) | Power controlling system and method | |
US10139882B2 (en) | System, method and apparatus for energy efficiency and energy conservation by configuring power management parameters during run time | |
US8525840B2 (en) | Thermal management of graphics processing units | |
TW200903243A (en) | Dynamic power reduction | |
WO2018126558A1 (en) | Charging current threshold adjusting method, terminal device and graphical user interface | |
US20120329377A1 (en) | Fan control system, computer system, and method for controlling fan speed thereof | |
JP6103783B2 (en) | Power control device | |
TWI634415B (en) | Chip aware thermal policy | |
US11348538B2 (en) | Power saving display having improved image quality | |
TW202001494A (en) | Control method of redundant power supply device | |
US11289006B2 (en) | Systems and methods of reducing display power consumption with minimal effect on image quality | |
TWI704497B (en) | Electronic apparatus and performance adjustment method thereof | |
TW201535100A (en) | Electronic device and power management method | |
US20170030364A1 (en) | Proactive control of electronic device cooling | |
TWI459189B (en) | Motherboard and power management method thereof | |
TWI772730B (en) | Graphics processing system and performance adjustment method | |
TWI537931B (en) | Display device and backlight adjusting method thereof | |
CN116778875A (en) | Display screen control circuit, device, method, display and storage medium |