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

Electronic apparatus and performance adjustment method thereof Download PDF

Info

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
Application number
TW107119387A
Other languages
Chinese (zh)
Other versions
TWI704497B (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

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 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 electronic device 100 according to an embodiment of the 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. However, the 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. The amount of current consumed by the electronic device 100 is measured to generate a current sensing value SI. 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 weight of 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 to adjust 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 invention, the power circuit 130 may be, for example, a charge control chip with a current sensing function, but the invention is not limited thereto.

在本發明的一實施例中,控制電路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 program code stored in a memory and loaded and executed by a microcontroller. If it is implemented by hardware, the control circuit 140 may be implemented by a single integrated circuit chip or multiple circuit chips, but the invention is not limited thereto. The above-mentioned multiple circuit chips or a single integrated circuit chip can be implemented by using a special function integrated circuit (ASIC) or a programmable logic gate array (FPGA) or a complex programmable logic device (CPLD). The above-mentioned memory may be, for example, random access memory, read-only memory or flash memory.

在本發明的一實施例中,電子裝置100還可選擇性地包括至少一周邊電路150。但為了圖式簡潔起見,圖1僅繪示一個周邊電路150。在本發明的一實施例中,周邊電路可例如是顯示面板或輸出輸入裝置等等,但本發明不限於此。周邊電路150耦接電源電路130。電源電路130可提供周邊電路150運作所需的第三電力PW3。可以理解的是,電源電路130所感測到的電流感測值SI(即電子裝置100所消耗的電流量)為第一電力PW1、第二電力PW2及第三電力PW3的電流總和。In an embodiment of the invention, the electronic device 100 may optionally include at least one peripheral circuit 150. However, for the sake of simplicity, FIG. 1 only shows one peripheral circuit 150. In an embodiment of the invention, the peripheral circuit may be, for example, a display panel, an input/output device, etc., but the 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 for the operation of the peripheral circuit 150. It can be understood that the current sensing value SI (that is, 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 look up corresponding reference power values in a lookup table LUT according to the current sensing value SI, and the control circuit 140 can set the first power according to the reference power values The power value of PW1 and the power value of the second power PW2, wherein the look-up table LUT can be created according to actual application or design requirements, and stored in the control circuit 140 or 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
In the following, the first processor 110 is a central processor (hereinafter referred to as the central processor 110) and the second processor 120 is a graphics processor (hereinafter referred to as the graphics processor 120) as an example to further illustrate the overall electronic device 100 Operation. Here, it is assumed that the maximum power of the input power 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 capacity of the electronic device 100 is At 100 watts, the power value required by the central processing unit 110 for optimal 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 look-up table LUT such as shown in Table 1 can be established. The look-up table LUT shown in Table 1 includes the current sensing value SI (ie, the amount of current consumed by the electronic device 100 or the power consumption value) and corresponding multiple reference power values, where such reference power values may include the central processing unit 110 The upper limit of the power, the power value of the graphics processor 120, and the power value of the peripheral circuit 130. In addition, Table 1 also lists the actual power value 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 sense value SI sensed by the power supply circuit 130 is 4.5 amperes, the control circuit 140 may set the power upper limit of the CPU 110 according to the current sense value SI and the lookup table in Table 1. That is, the upper limit of the power 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 upper limit of the power of the central processor 110 is set at 45 watts, the central processor 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 threshold (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 sense value SI rises (still less than or equal to the first critical value), the control circuit 140 can increase the power value of the second power PW2 to increase the power value supplied to the graphics processor 120, but does not adjust the The power upper limit value of a 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 sense value SI rises 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 processor 110 The value remains at 45 watts. That is to say, when the current sensing value SI is less than or equal to the first threshold, 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 (eg, 4.5 amperes) and less than or equal to the second critical value (eg, 6.0 amperes), the control circuit 140 may determine that the workload of the electronic device 100 is gradually increasing. Therefore, when the current sense 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 Value, and lowering the power upper limit value of the first power PW1 (that is, the power upper limit value of the central processing unit 110) to gradually suppress the performance of the central processing unit 110. For example, as shown in Table 1, when the current sense value SI rises 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 processor 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 threshold (for example, 6.0 amperes), the control circuit 140 can determine that the workload of the electronic device 100 is about to be fully loaded. Therefore, when the current sensing value SI rises (in the case where it is greater than the second threshold), 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 lowering the power upper limit of the first power PW1 (that is, the power upper limit of the central processor 110) to suppress the performance of the central processor 110 and ensure the first power PW1 and the second power PW2 The sum of the power is less than or equal to the heat dissipation capacity of the electronic device 100 to avoid the electronic device 100 being thermally crashed. 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 upper limit of the central processor 110 will be adjusted from 25 watts to 20 watts. Since the actual power value of the CPU 110 at this time is 15 watts, and the maximum power value of the graphics processor 120 is 85 watts, the total 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至少其中之一。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 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 circuit 130. Next, in step S220, the power circuit 130 can sense the amount of current consumed by the electronic device 100 to obtain the current sensing value SI. Then, 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 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‧‧‧Electronic device 110‧‧‧ First processor 120‧‧‧ Second processor 130‧‧‧Power supply 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 value S210, S220, S230‧‧‧ Step

下面的所附圖式是本發明的說明書的一部分,繪示了本發明的示例實施例,所附圖式與說明書的描述一起說明本發明的原理。 圖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)

一種電子裝置,包括: 一第一處理器; 一第二處理器; 一電源電路,耦接該第一處理器及該第二處理器,用以提供該第一處理器運作所需的一第一電力以及該第二處理器運作所需的一第二電力,且感測該電子裝置所消耗的電流量並據以產生一電流感測值;以及 一控制電路,耦接該第一處理器及該第二處理器,且耦接該電源電路以接收該電流感測值,其中該控制電路根據該電流感測值調整該第一電力及該第二電力至少其中之一。An electronic device includes: 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 sense value, wherein the control circuit adjusts at least one of the first power and the second power according to the current sense value. 如申請專利範圍第1項所述的電子裝置,其中該控制電路根據該電流感測值於一查找表中查找出對應的多個參考功率值,且根據該些參考功率值來設定該第一電力及該第二電力的功率值。The electronic device as described in item 1 of the patent application scope, wherein the control circuit finds corresponding reference power values in a look-up table according to the current sensing value, and sets the first according to the reference power values The power value of the power and the second power. 如申請專利範圍第1項所述的電子裝置,其中當該電流感測值小於或等於一第一臨界值時,該控制電路反應於該電流感測值的上升而調升該第二電力的功率值,且不調整該第一電力的功率上限值。The electronic device as described in item 1 of the patent application scope, wherein when the current sense value is less than or equal to a first threshold value, the control circuit increases the power of the second power in response to the rise of the current sense value The power value, and the power upper limit value of the first power is not adjusted. 如申請專利範圍第2項所述的電子裝置,其中當該電流感測值大於該第一臨界值且小於或等於一第二臨界值時,該控制電路反應於該電流感測值的上升而調升該第二電力的功率值,以及調降該第一電力的功率上限值,其中該第一臨界值小於該第二臨界值。The electronic device as described in item 2 of the patent application scope, wherein when the current sensing value is greater than the first critical value and less than or equal to a second critical value, the control circuit reacts to the rise of the current sensing value Raising the power value of the second power and lowering the power upper limit of the first power, wherein the first critical value is smaller than the second critical value. 如申請專利範圍第3項所述的電子裝置,其中當該電流感測值大於該第二臨界值時,該控制電路將該第二電力的功率值設定為該第二處理器的一滿載功率值,以及調降該第一電力的功率上限值,致使該第一電力與該第二功率的功率總和小於或等於該電子裝置的一散熱能力。The electronic device of claim 3, wherein when the current sense value is greater than the second threshold, the control circuit sets the power value of the second power to a full load power of the second processor Value, and lowering the power upper limit of the first power, so that the sum of the 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 as described in item 1 of the patent application scope further comprises: at least one peripheral circuit coupled to the power circuit to receive at least a third power, wherein the current sensing value is the first power and the second power And the current sum of the at least one third power. 一種效能調整方法,用於一電子裝置的一第一處理器及一第二處理器,包括: 透過該電子裝置的一電源電路提供該第一處理器運作所需的一第一電力以及該第二處理器運作所需的一第二電力; 透過該電源電路感測該電子裝置所消耗的電流量以取得一電流感測值;以及 透過該電子裝置的一控制電路根據該電流感測值調整該第一電力及該第二電力至少其中之一。A performance adjustment method for a first processor and a second processor of an electronic device, including: providing a first power required by the operation of the first processor and the first 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 sense value; and adjusting according to the current sense value through a control circuit of the electronic device At least one of the first power and the second power. 如申請專利範圍第7項所述的效能調整方法,其中透過該控制電路根據該電流感測值調整該第一電力及該第二電力至少其中之一的步驟包括: 根據該電流感測值於一查找表中查找出對應的多個參考功率值;以及 根據該些參考功率值來設定該第一電力及該第二電力的功率值。The performance adjustment method as described in item 7 of the patent application scope, wherein the step of adjusting at least one of the first power and the second power according to the current sense value through the control circuit includes: according to the current sense value Finding corresponding reference power values in a lookup table; and setting the power values of the first power and the second power according to the reference power values. 如申請專利範圍第7項所述的效能調整方法,其中透過該控制電路根據該電流感測值調整該第一電力及該第二電力至少其中之一的步驟包括: 當該電流感測值小於或等於一第一臨界值時,反應於該電流感測值的上升而調升該第二電力的功率值且不調整該第一電力的功率上限值。The performance adjustment method as described in item 7 of the patent application scope, wherein the step of adjusting at least one of the first power and the second power according to the current sense value through the control circuit includes: when the current sense value is less than Or equal to a first critical value, the power value of the second power is adjusted up in response to the rise of the current sensing value and the power upper limit of the first power is not adjusted. 如申請專利範圍第9項所述的效能調整方法,其中透過該控制電路根據該電流感測值調整該第一電力及該第二電力至少其中之一的步驟更包括: 當該電流感測值大於該第一臨界值且小於或等於一第二臨界值時,反應於該電流感測值的上升而調升該第二電力的功率值,以及調降該第一電力的功率上限值,其中該第一臨界值小於該第二臨界值。The performance adjustment method according to item 9 of the patent application scope, wherein the step of adjusting at least one of the first power and the second power according to the current sense value through the control circuit further includes: when the current sense value When it is greater than the first critical value and less than or equal to a second critical value, the power value of the second power is increased in response to the rise of the current sensing value, and the power upper limit of the first power is decreased, The first critical value is smaller than the second critical value. 如申請專利範圍第10項所述的效能調整方法,其中透過該控制電路根據該電流感測值調整該第一電力及該第二電力至少其中之一的步驟更包括: 當該電流感測值大於該第二臨界值時,將該第二電力的功率值設定為該第二處理器的一滿載功率值,以及調降該第一電力的功率上限值,致使該第一電力與該第二功率的功率總和小於或等於該電子裝置的一散熱能力。The performance adjustment method as described in item 10 of the patent application range, wherein the step of adjusting at least one of the first power and the second power according to the current sense value through the control circuit further includes: when the current sense value When it is 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 sum of the power of the two powers is less than or equal to the heat dissipation capacity 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 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)

* Cited by examiner, † Cited by third party
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

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