TWI704497B - Electronic apparatus and performance adjustment method thereof - Google Patents

Electronic apparatus and performance adjustment method thereof Download PDF

Info

Publication number
TWI704497B
TWI704497B TW107119387A TW107119387A TWI704497B TW I704497 B TWI704497 B TW I704497B TW 107119387 A TW107119387 A TW 107119387A TW 107119387 A TW107119387 A TW 107119387A TW I704497 B TWI704497 B TW I704497B
Authority
TW
Taiwan
Prior art keywords
power
value
processor
electronic device
current sensing
Prior art date
Application number
TW107119387A
Other languages
Chinese (zh)
Other versions
TW202004499A (en
Inventor
侯承志
郭俊志
Original Assignee
宏碁股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宏碁股份有限公司 filed Critical 宏碁股份有限公司
Priority to TW107119387A priority Critical patent/TWI704497B/en
Publication of TW202004499A publication Critical patent/TW202004499A/en
Application granted granted Critical
Publication of TWI704497B publication Critical patent/TWI704497B/en

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

An electronic apparatus and a performance adjustment method thereof are provided. The electronic apparatus 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 and configured to provide a first power to the first processor for operation and provide a second power to the second processor for operation. The power circuit senses a current value consumed by the electronic apparatus and generates a current sensing value accordingly. The controller is coupled to the first processor and the second processor, and coupled to the power circuit to receive the current sensing value. The controller adjusts at least one of the first power and the second power according to the current sensing value.

Description

電子裝置及其效能調整方法Electronic device and its performance adjustment method

本發明是有關於一種電子裝置及其效能調整方法,且特別是有關於一種根據電子裝置所消耗的電流或功率來調整電子裝置的多個處理器的效能的方法。The present invention relates to an electronic device and a performance adjustment method thereof, and more particularly to a method for adjusting the performance of multiple processors of the 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, as the graphics processing unit (Graphics Processing Unit, GPU) is more powerful, the power consumed by it is also higher. However, when the heat dissipation capacity of the computer system is limited, most of the general computer system designs directly reduce 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 processing unit. 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 faced by those skilled in the art.

有鑑於此,本發明提供一種電子裝置及其效能調整方法,可根據電子裝置所消耗的電流(或功率)來調整電子裝置的多個處理器的效能,以讓電子裝置的整體效能最佳化。In view of this, the present invention provides an electronic device and a performance adjustment method thereof, which can adjust the performance of multiple processors of the electronic device according to the current (or power) consumed by the electronic device 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 supply 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 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 sensed value, wherein the control circuit adjusts at least one of the first power and the second power according to the current sensed value.

在本發明的一實施例中,上述的控制電路根據電流感測值於查找表中查找出對應的多個參考功率值,且根據此些參考功率值來設定第一電力及第二電力的功率值。In an embodiment of the present invention, the above-mentioned control circuit looks up a plurality of corresponding reference power values in the 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 an 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; and sensing the power consumed by the electronic device through the power circuit The amount of current is used to obtain a current sensing value; and at least one of the first power and the second power is adjusted according to the current sensing value through the control circuit of the electronic device.

基於上述,本發明實施例所提出的電子裝置及其效能調整方法,可根據電子裝置所消耗的電流(或功率)及查找表來調整電子裝置的第一處理器及第二處理器的效能,以讓電子裝置的整體效能最佳化。Based on the above, the electronic device and its performance adjustment method proposed by 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 comprehensible, the following specific embodiments are described in detail in conjunction with the accompanying drawings.

為了使本發明內容可以被更容易明瞭,以下特舉實施例做為本發明確實能夠據以實施的範例。另外,凡可能之處,在圖式及實施方式中使用相同標號的元件/構件,係代表相同或類似部件。In order to make the content of the present invention more comprehensible, the following embodiments are specifically cited as examples on which the present invention can indeed be implemented. In addition, wherever possible, elements/components with the same reference numbers 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 circuit block diagram of an electronic device 100 according to an embodiment of the present invention. In an embodiment of the present invention, the electronic device 100 may be, for example, a personal computer (PC), a notebook PC (notebook PC), a tablet PC (tablet PC), a multimedia player, a television or a game console, etc. Etc., but the present invention is not limited to this. The electronic device 100 may include a first processor 110, a second processor 120, a power circuit 130, and a control circuit 140, but the invention is not limited thereto.

電源電路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 power circuit 130 is coupled to the first processor 110 and the second processor 120 to provide the first power PW1 required for the operation of the first processor 110 and the second power PW2 required for the operation of the second processor 120, and sense The current consumed by the electronic device 100 is measured and the current sensing value SI is generated accordingly. The control circuit 140 is coupled to the first processor 110 and the second processor 120, and is coupled to the power circuit 130 to receive the current sensing value SI. In particular, the control circuit 140 can adjust at least one of the first power PW1 and the second power PW2 according to the current sensing value SI. In detail, the control circuit 140 can determine the overall workload of the electronic device 100 according to the current sensing value SI, and dynamically adjust at least one of the first power PW1 and the second power PW2 accordingly, thereby adjusting The performance of at least one of the first processor 110 and the second processor 120 is to optimize the overall performance of the electronic device 100.

在本發明的一實施例中,第一處理器110可例如是中央處理器(Central Processing Unit,CPU),且第二處理器120可例如是圖形處理器(Graphics Processing Unit,GPU),但本發明不限於此。In an embodiment of the present invention, the first processor 110 may be, for example, a central processing unit (CPU), and the second processor 120 may be, for example, a graphics processing unit (GPU). The invention is not limited to this.

在本發明的一實施例中,電源電路130可接收外部適配器(adaptor)所提供的輸入電源PI,並據以提供第一電力PW1及第二電力PW2,但本發明不限於此。在本發明的一實施例中,電源電路130可例如是具有電流感測功能的充電控制晶片,但本發明不限於此。In an embodiment of the present invention, the power circuit 130 can receive the input power PI provided by an external adapter (adaptor), and accordingly provide the first power PW1 and the second power PW2, but the present invention is not limited thereto. In an embodiment of the present invention, the power supply circuit 130 may be, for example, a charging control chip with a current sensing function, but the present invention is not limited to this.

在本發明的一實施例中,控制電路140可以是硬體、韌體或是儲存在記憶體而由微控制器所載入執行的軟體或機器可執行程式碼。若是採用硬體來實現,則控制電路140可以是由單一整合電路晶片所達成,也可以由多個電路晶片所完成,但本發明並不以此為限制。上述多個電路晶片或單一整合電路晶片可採用特殊功能積體電路(ASIC)或可程式化邏輯閘陣列(FPGA)或複雜可編程邏輯裝置(CPLD)來實現。而上述記憶體可以是例如隨機存取記憶體、唯讀記憶體或是快閃記憶體等等。In an embodiment of the present invention, the control circuit 140 may be hardware, firmware, or software or machine executable code stored in the memory and loaded and executed by the microcontroller. If implemented by hardware, the control circuit 140 can be implemented by a single integrated circuit chip or by multiple circuit chips, but the present invention is not limited to this. The above-mentioned multiple circuit chips or a single integrated circuit chip can be implemented using special function integrated circuits (ASIC), programmable logic gate array (FPGA) or complex programmable logic device (CPLD). The aforementioned memory can be, for example, random access memory, read-only memory, flash memory, or the like.

在本發明的一實施例中,電子裝置100還可選擇性地包括至少一周邊電路150。但為了圖式簡潔起見,圖1僅繪示一個周邊電路150。在本發明的一實施例中,周邊電路可例如是顯示面板或輸出輸入裝置等等,但本發明不限於此。周邊電路150耦接電源電路130。電源電路130可提供周邊電路150運作所需的第三電力PW3。可以理解的是,電源電路130所感測到的電流感測值SI(即電子裝置100所消耗的電流量)為第一電力PW1、第二電力PW2及第三電力PW3的電流總和。In an embodiment of the present invention, the electronic device 100 may also optionally include at least one peripheral circuit 150. However, for the sake of brevity, FIG. 1 only shows one peripheral circuit 150. In an embodiment of the present invention, the peripheral circuit may be, for example, a display panel or an input/output device, etc., but the present invention is not limited thereto. The peripheral circuit 150 is coupled to the power circuit 130. The power circuit 130 can provide the third power PW3 required by the peripheral circuit 150 to operate. It can be understood that the current sensing value SI (ie, the amount of current consumed by the electronic device 100) sensed by the power circuit 130 is the sum of the currents of the first power PW1, the second power PW2, and the third power PW3.

在本發明的一實施例中,控制電路140可根據電流感測值SI於查找表LUT中查找出對應的多個參考功率值,且控制電路140可根據此些參考功率值來設定第一電力PW1的功率值及第二電力PW2的功率值,其中查找表LUT可依實際應用或設計需求來建立,並將其儲存在控制電路140或儲存器(未繪示)中,但本發明不限於此。In an embodiment of the present invention, the control circuit 140 can find the corresponding multiple reference power values in the look-up table LUT according to the current sensing value SI, and the control circuit 140 can set the first power value according to the reference power values. The power value of PW1 and the power value of the second power PW2, in which the look-up table LUT can be established according to actual application or design requirements, and stored in the control circuit 140 or the memory (not shown), but the invention is not limited to this.

以下將以第一處理器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

Figure 107119387-A0304-0001
Hereinafter, the first processor 110 is used as a central processing unit (hereinafter referred to as central processing unit 110) and the second processor 120 is used as an example of a graphics processor (hereinafter referred to as graphics processor 120) to further illustrate the overall electronic device 100 Operation. It is assumed here that the maximum power of the input power supply PI provided by the adapter is 130 watts, the voltage of the first power PW1, the second power PW2, and the third power PW3 provided by the power circuit 130 is 19.5 volts, and the heat dissipation capability of the electronic device 100 is At 100 watts, the power required by the central processing unit 110 under the best performance is 45 watts, the full-load power value of the graphics processor 120 is 85 watts, and the power required by the peripheral circuit 150 is 25 watts. Therefore, a lookup table LUT such as shown in Table 1 can be established. The look-up table LUT shown in Table 1 includes a current sensing value SI (ie, the amount of current or power consumption value consumed by the electronic device 100) and a plurality of corresponding reference power values, where these reference power values may include the central processing unit 110 The power upper limit of, the power value of the graphics processor 120 and the power value of the peripheral circuit 130. In addition, Table 1 also lists the power value actually used by the CPU and the unused power value of the adapter. Table 1
Figure 107119387-A0304-0001

舉例來說,若電源電路130所感測到的電流感測值SI為4.5安培,則控制電路140可根據電流感測值SI以及表1的查找表,將中央處理器110的功率上限值(即第一電力PW1的功率上限值)設為45瓦、將供應給圖形處理器120的功率值(即第二電力PW2的功率值)設為43瓦、以及將供應給周邊電路的功率值(即第三電力PW3的功率值)設為25瓦,其中,雖然中央處理器110的功率上限值設在45瓦,但中央處理器110實際上只消耗20瓦。For example, if the current sensing value SI sensed by the power supply circuit 130 is 4.5 amperes, the control circuit 140 can set the power upper limit of the central processing unit 110 according to the current sensing value SI and the lookup table in Table 1 ( That is, the power upper limit value of the first power PW1) is set to 45 watts, the power value supplied to the graphics processor 120 (that is, the power value of the second power PW2) is set to 43 watts, and the power value supplied to the peripheral circuits (That is, the power value of the third power PW3) is set to 25 watts. Although the power upper limit of the central processing unit 110 is set to 45 watts, the central processing unit 110 actually consumes only 20 watts.

在此值得一提的是,當電流感測值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 critical value (for example, 4.5 amperes), the control circuit 140 can determine that the workload of the electronic device 100 is still light. Therefore, when the current sensing value SI rises (still less than or equal to the first critical value), the control circuit 140 can adjust the power value of the second power PW2 to increase the power value supplied to the graphics processor 120, but does not adjust the first A power upper limit value of the power PW1 (that is, the power upper limit value of the central processing unit 110). For example, as shown in Table 1, when the current sensing value SI increases from 4.0 amperes to 4.5 amperes, the power value of the graphics processor 120 will be increased from 33 watts to 43 watts, but the power limit of the central processing unit 110 The value remains at 45 watts. In other words, when the current sensing value SI is less than or equal to the first critical value, the control circuit 140 will not reduce the performance of the central processing unit 110 due to the improvement of the performance of the graphics processor 120.

當電流感測值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 (for example, 4.5 amperes) and less than or equal to the second critical value (for example, 6.0 amperes), the control circuit 140 can determine that the workload of the electronic device 100 is gradually increasing. Therefore, when the current sensing value SI rises (still greater than the first threshold value and less than or equal to the second threshold value), the control circuit 140 will increase the power value of the second power PW2 to increase the power supplied to the graphics processor 120 The power limit value of the first power PW1 (that is, the power limit value of the central processing unit 110) is reduced to gradually suppress the performance of the central processing unit 110. For example, as shown in Table 1, when the current sensing value SI increases from 5.0 amperes to 5.5 amperes, the power value of the graphics processor 120 will be increased from 53 watts to 62 watts, and the power limit of the central processing unit 110 The value will be reduced from 35 watts to 30 watts.

當電流感測值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 critical value (for example, 6.0 amperes), the control circuit 140 can determine that the working load of the electronic device 100 is about to be fully loaded. Therefore, when the current sensing value SI rises (when it is greater than the second critical value), the control circuit 140 sets the power value of the second power PW2 to the full load power value of the graphics processor 120 to satisfy the full load of the graphics processor 120 Lower power demand and lower the power upper limit of the first power PW1 (ie the power upper limit of the central processing unit 110) to suppress the performance of the central processing unit 110 and ensure the first power PW1 and the second power PW2 The total power of is less than or equal to the heat dissipation capacity of the electronic device 100 to avoid thermal crash of the electronic device 100. For example, as shown in Table 1, when the current sensing value SI increases from 6.0 amperes to 6.5 amperes, the power value of the graphics processor 120 will be increased from 72 watts to 85 watts (that is, the full load power value of the graphics processor 120 ), and the power limit of the central processing unit 110 will be reduced from 25 watts to 20 watts. Since the actual power used by the CPU 110 at this time is 15 watts, and the highest power used by the graphics processor 120 is 85 watts, the sum of the power of the two is at most 100 watts, which does not exceed the heat dissipation capacity of the electronic device 100 ( That is 100 watts).

以下請合併參照圖1及圖2,圖2是依照本發明一實施例所繪示的效能調整方法,可用於圖1的電子裝置100,但不限於此。電子裝置100的效能調整方法包括以下步驟。首先,於步驟S210中,可透過電源電路130提供第一處理器110運作所需的第一電力PW1以及第二處理器120運作所需的第二電力PW2。接著,於步驟S220中,可透過電源電路130感測電子裝置100所消耗的電流量以取得電流感測值SI。之後,於步驟S230中,可透過控制電路140根據電流感測值SI調整第一電力PW1及第二電力PW2至少其中之一。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 for the electronic device 100 of FIG. 1, but is not limited thereto. The performance adjustment method of the electronic device 100 includes the following steps. First, in step S210, the first power PW1 required for the operation of the first processor 110 and the second power PW2 required for the operation of the second processor 120 can be provided through the power supply circuit 130. Then, in step S220, the amount of current consumed by the electronic device 100 can be sensed through the power circuit 130 to obtain the current sensing value SI. After that, in step S230, at least one of the first power PW1 and the second power PW2 can be adjusted according to the current sensing value SI through the control circuit 140.

另外,本發明的實施例的電子裝置的效能調整方法可以由圖1實施例之敘述中獲致足夠的教示、建議與實施說明,因此不再贅述。In addition, the performance adjustment method of the electronic device according to the embodiment of the present invention can obtain sufficient teaching, suggestion and implementation description from the description of the embodiment in FIG. 1, so it is not repeated here.

綜上所述,本發明實施例所提出的電子裝置及其效能調整方法,可根據電子裝置所消耗的電流(或功率)及查找表來調整電子裝置的第一處理器及第二處理器的效能,以讓電子裝置的整體效能最佳化。In summary, the electronic device and its performance adjustment method proposed by 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 the electronic device.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Anyone 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 determined by the scope of the attached patent application.

100‧‧‧電子裝置110‧‧‧第一處理器120‧‧‧第二處理器130‧‧‧電源電路140‧‧‧控制電路150‧‧‧周邊電路LUT‧‧‧查找表PI‧‧‧輸入電源PW1‧‧‧第一電力PW2‧‧‧第二電力PW3‧‧‧第三電力SI‧‧‧電流感測值S210、S220、S230‧‧‧步驟100‧‧‧Electronic device 110‧‧‧First processor 120‧‧‧Second processor 130‧‧‧Power circuit 140‧‧‧Control circuit 150‧‧‧Peripheral circuit LUT‧‧‧Look-up table PI‧‧‧ Input power PW1‧‧‧First power PW2‧‧‧Second power PW3‧‧‧Third power SI‧‧‧Current sensing values S210, S220, S230‧‧‧Steps

下面的所附圖式是本發明的說明書的一部分,繪示了本發明的示例實施例,所附圖式與說明書的描述一起說明本發明的原理。 圖1是依照本發明一實施例所繪示的電子裝置的電路方塊示意圖。 圖2是依照本發明一實施例所繪示的效能調整方法。The accompanying drawings below are a part of the specification of the present invention, and illustrate exemplary embodiments of the present invention. The accompanying drawings and the description of the specification illustrate the principle of the present invention. FIG. 1 is a 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 power

PW3‧‧‧第三電力 PW3‧‧‧Third Power

SI‧‧‧電流感測值 SI‧‧‧Current sensing value

Claims (9)

一種電子裝置,包括:一第一處理器;一第二處理器;一電源電路,耦接該第一處理器及該第二處理器,用以提供該第一處理器運作所需的一第一電力以及該第二處理器運作所需的一第二電力,且感測該電子裝置所消耗的電流量並據以產生一電流感測值;以及一控制電路,耦接該第一處理器及該第二處理器,且耦接該電源電路以接收該電流感測值,其中該控制電路根據該電流感測值調整該第一電力及該第二電力至少其中之一,其中當該電流感測值小於或等於一第一臨界值時,該控制電路反應於該電流感測值的上升而調升該第二電力的功率值,且不調整該第一電力的功率上限值。 An electronic device, comprising: a first processor; a second processor; a power circuit, coupled to the first processor and the second processor, for providing a first processor required for the operation of the first processor A power and a second power required for the operation of the second processor, and sense the amount of current consumed by the electronic device and generate a current sense value accordingly; and a control circuit coupled to the first processor And the second processor, and is coupled to the power circuit to receive the current sensed value, wherein the control circuit adjusts at least one of the first power and the second power according to the current sensed value, wherein when the current When the sensing value is less than or equal to a first critical value, the control circuit increases the power value of the second power in response to the increase of the current sensing value, and does not adjust the power upper limit of the first power. 如申請專利範圍第1項所述的電子裝置,其中該控制電路根據該電流感測值於一查找表中查找出對應的多個參考功率值,且根據該些參考功率值來設定該第一電力及該第二電力的功率值。 For the electronic device described in item 1 of the scope of patent application, the control circuit finds out a plurality of corresponding reference power values in a look-up table according to the current sensing value, and sets the first reference power value according to the reference power values. The power value of the electric power and the second electric power. 如申請專利範圍第1項所述的電子裝置,其中當該電流感測值大於該第一臨界值且小於或等於一第二臨界值時,該控制電路反應於該電流感測值的上升而調升該第二電力的功率值,以 及調降該第一電力的功率上限值,其中該第一臨界值小於該第二臨界值。 The electronic device according to claim 1, wherein when the current sensing value is greater than the first threshold value and less than or equal to a second threshold value, the control circuit responds to the increase in the current sensing value Increase the power value of the second power to And reducing the power upper limit value of the first electric power, wherein the first critical value is smaller than the second critical value. 如申請專利範圍第3項所述的電子裝置,其中當該電流感測值大於該第二臨界值時,該控制電路將該第二電力的功率值設定為該第二處理器的一滿載功率值,以及調降該第一電力的功率上限值,致使該第一電力與該第二功率的功率總和小於或等於該電子裝置的一散熱能力。 The electronic device described in item 3 of the scope of patent application, wherein when the current sensing value is greater than the second critical value, the control circuit sets the power value of the second power as a full load power of the second processor Value, and reducing the power upper limit of the first power, so that the total power of the first power and the second power is less than or equal to a heat dissipation capacity of the electronic device. 如申請專利範圍第1項所述的電子裝置,更包括:至少一周邊電路,耦接該電源電路以接收至少一第三電力,其中該電流感測值為該第一電力、該第二電力及該至少一第三電力的電流總和。 The electronic device described in claim 1 further includes: at least one peripheral circuit coupled to the power supply circuit to receive at least one third power, wherein the current sensing value is the first power and the second power And the sum of the current of the at least one third power. 一種效能調整方法,用於一電子裝置的一第一處理器及一第二處理器,包括:透過該電子裝置的一電源電路提供該第一處理器運作所需的一第一電力以及該第二處理器運作所需的一第二電力;透過該電源電路感測該電子裝置所消耗的電流量以取得一電流感測值;以及透過該電子裝置的一控制電路根據該電流感測值調整該第一電力及該第二電力至少其中之一,其中透過該控制電路根據該電流感測值調整該第一電力及該第二電力至少其中之一的步驟包括:當該電流感測值小於或等於一第一臨界值時,反應於該 電流感測值的上升而調升該第二電力的功率值且不調整該第一電力的功率上限值。 A performance adjustment method for a first processor and a second processor of an electronic device includes: providing a first power required for the operation of the first processor and the second processor through a power circuit of the electronic device A second power required for the operation of the two processors; sensing the amount of current consumed by the electronic device through the power circuit to obtain a current sensing value; and adjusting according to the current sensing value through a control circuit of the electronic device At least one of the first power and the second power, wherein the step of adjusting at least one of the first power and the second power according to the current sensing value through the control circuit includes: when the current sensing value is less than Or equal to a first critical value, it is reflected in the The increase in the current sensed value increases the power value of the second power without adjusting the power upper limit of the first power. 如申請專利範圍第6項所述的效能調整方法,其中透過該控制電路根據該電流感測值調整該第一電力及該第二電力至少其中之一的步驟包括:根據該電流感測值於一查找表中查找出對應的多個參考功率值;以及根據該些參考功率值來設定該第一電力及該第二電力的功率值。 According to the performance adjustment method of claim 6, wherein the step of adjusting at least one of the first power and the second power according to the current sensing value through the control circuit includes: Finding out a plurality of corresponding reference power values in a look-up table; and setting the power values of the first power and the second power according to the reference power values. 如申請專利範圍第6項所述的效能調整方法,其中透過該控制電路根據該電流感測值調整該第一電力及該第二電力至少其中之一的步驟更包括:當該電流感測值大於該第一臨界值且小於或等於一第二臨界值時,反應於該電流感測值的上升而調升該第二電力的功率值,以及調降該第一電力的功率上限值,其中該第一臨界值小於該第二臨界值。 According to the performance adjustment method described in claim 6, wherein the step of adjusting at least one of the first power and the second power according to the current sensing value through the control circuit further includes: when the current sensing value When greater than the first threshold value and less than or equal to a second threshold value, the power value of the second power is increased in response to the increase in the current sensing value, and the power upper limit value of the first power is decreased, The first critical value is smaller than the second critical value. 如申請專利範圍第8項所述的效能調整方法,其中透過該控制電路根據該電流感測值調整該第一電力及該第二電力至少其中之一的步驟更包括:當該電流感測值大於該第二臨界值時,將該第二電力的功率值設定為該第二處理器的一滿載功率值,以及調降該第一電力的功率上限值,致使該第一電力與該第二功率的功率總和小於或等 於該電子裝置的一散熱能力。 According to the performance adjustment method described in claim 8, wherein the step of adjusting at least one of the first power and the second power according to the current sensing value through the control circuit further includes: when the current sensing value When greater than the second critical value, the power value of the second power is set to a full-load power value of the second processor, and the power upper limit value of the first power is reduced, so that the first power and the first power The total power of the two powers is less than or equal to A heat dissipation capability of the electronic device.
TW107119387A 2018-06-05 2018-06-05 Electronic apparatus and performance adjustment method thereof TWI704497B (en)

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 TW202004499A (en) 2020-01-16
TWI704497B true 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)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130151869A1 (en) * 2011-12-13 2013-06-13 Maurice B. Steinman Method for soc performance and power optimization
US20130155081A1 (en) * 2011-12-15 2013-06-20 Ati Technologies Ulc Power management in multiple processor system
TW201337529A (en) * 2011-12-22 2013-09-16 Intel Corp System, method and apparatus for energy efficiency and energy conservation by configuring power management parameters during run time
TWI416311B (en) * 2008-12-23 2013-11-21 Intel Corp Method and apparatus of power management of processor
TW201702799A (en) * 2015-07-08 2017-01-16 廣達電腦股份有限公司 Method and system for dynamically managing power supply
TWI571734B (en) * 2013-02-05 2017-02-21 新唐科技股份有限公司 Power management circuit and method thereof and computer system
US20180173538A1 (en) * 2016-03-29 2018-06-21 Intel Corporation Systems, methods and devices for dynamic power management of devices using game theory

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI416311B (en) * 2008-12-23 2013-11-21 Intel Corp Method and apparatus of power management of processor
US20130151869A1 (en) * 2011-12-13 2013-06-13 Maurice B. Steinman Method for soc performance and power optimization
US20130155081A1 (en) * 2011-12-15 2013-06-20 Ati Technologies Ulc Power management in multiple processor system
TW201337529A (en) * 2011-12-22 2013-09-16 Intel Corp 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
TW201702799A (en) * 2015-07-08 2017-01-16 廣達電腦股份有限公司 Method and system for dynamically managing power supply
US20180173538A1 (en) * 2016-03-29 2018-06-21 Intel Corporation Systems, methods and devices for dynamic power management of devices using game theory

Also Published As

Publication number Publication date
TW202004499A (en) 2020-01-16

Similar Documents

Publication Publication Date Title
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
JP4732171B2 (en) Real-time dynamic design of LCD panel power management with brightness control
US8332675B2 (en) Latency based platform coordination
TWI417740B (en) System and method for operating components of an integrated circuit at independent frequencies and/or voltages
TWI468919B (en) Power controlling system and method
TWI410769B (en) Temperature control method and electric device thereof
US10139882B2 (en) System, method and apparatus for energy efficiency and energy conservation by configuring power management parameters during run time
US20070162160A1 (en) Fan speed control methods
TW200903243A (en) Dynamic power reduction
US20190391626A1 (en) Control method of redundant power supply device
TWI634415B (en) Chip aware thermal policy
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
US11126252B2 (en) Computer system and power management method thereof
TW201535100A (en) Electronic device and power management method
TWI751501B (en) Control setting method for link state transition and electronic device using the same
TWI459189B (en) Motherboard and power management method thereof
TWI663514B (en) Electronic apparatus and temperature controlling method thereof
US9020645B2 (en) Combined control lines for device cooling fans
TWI772730B (en) Graphics processing system and performance adjustment method
TWI602051B (en) Power supply system and power supply method
TWI483098B (en) Computer system and power sharing method thereof
CN116778875A (en) Display screen control circuit, device, method, display and storage medium
TWI547900B (en) Frequency control system for a display card and the method thereof