TW201814430A - Electronic devices and power management methods - Google Patents
Electronic devices and power management methods Download PDFInfo
- Publication number
- TW201814430A TW201814430A TW105132830A TW105132830A TW201814430A TW 201814430 A TW201814430 A TW 201814430A TW 105132830 A TW105132830 A TW 105132830A TW 105132830 A TW105132830 A TW 105132830A TW 201814430 A TW201814430 A TW 201814430A
- Authority
- TW
- Taiwan
- Prior art keywords
- power
- battery
- power management
- embedded controller
- adapter
- Prior art date
Links
Abstract
Description
本發明係有關於一種電子裝置以及電源管理方法,特別係有關於一種根據系統之負載決定由電池或者適配器提供電源之電子裝置以及電源管理方法。 The present invention relates to an electronic device and a power management method, and more particularly to an electronic device and a power management method for determining power supply by a battery or an adapter according to a load of the system.
一般而言,當具有電池之筆記型電腦在未插入適配器之情況下,筆記型電腦通常係透過電池進行供電(直流電源)。然而,當原本由電池供電之情況下插入適配器時,筆記型電腦則直接切換為由適配器進行供電(交流電源)。但這對筆記型電腦而言並非為最省電之情況。因此,如何在同時具有電池以及適配器之情況下以更節能之方式為筆記型電腦進行供電為目前所需解決之問題。 In general, when a laptop with a battery is not plugged into an adapter, the notebook is usually powered by a battery (DC power). However, when the adapter is plugged into the battery, the notebook is switched directly to the adapter (AC power). But this is not the most power-saving situation for laptops. Therefore, how to power a notebook in a more energy-efficient manner while having a battery and an adapter is currently a problem to be solved.
為解決上述問題,本發明提供一種電子裝置,包括一電池、一適配器、一電源管理單元、一中央處理器以及一嵌入式控制器。電源管理單元係與電池以及適配器連接,以及控制電池或者適配器提供電源。中央處理器用以執行至少一電 腦指令,並中央處理器之一負載量。嵌入式控制器用以自中央處理器接收負載量,並根據負載量以及剩餘電量控制電源管理單元由電池或者適配器提供電源。 To solve the above problems, the present invention provides an electronic device including a battery, an adapter, a power management unit, a central processing unit, and an embedded controller. The power management unit is connected to the battery and the adapter, and controls the battery or adapter to provide power. The central processor is configured to execute at least one computer command and one of the central processor loads. The embedded controller is configured to receive the load from the central processing unit and control the power management unit to be powered by the battery or the adapter according to the amount of load and the remaining power.
本發明另一實施例提供一種電源管理方法,適用於一電子裝置,包括:透過一中央處理器執行至少一電腦指令,並輸出中央處理器之一負載量;透過一嵌入式控制器自上述中央處理器接收負載量;以及透過嵌入式控制器根據負載量控制電源管理單元由一電池或者一適配器提供電源,其中電源管理單元係同時與電池以及適配器連接。 Another embodiment of the present invention provides a power management method, which is applicable to an electronic device, including: executing at least one computer command through a central processing unit, and outputting a load of one of the central processing units; The processor receives the load; and controls the power management unit to supply power from a battery or an adapter according to the load amount through the embedded controller, wherein the power management unit is simultaneously connected to the battery and the adapter.
100‧‧‧電子裝置 100‧‧‧Electronic devices
110‧‧‧中央處理器 110‧‧‧Central Processing Unit
120‧‧‧嵌入式控制器 120‧‧‧ embedded controller
130‧‧‧電源管理單元 130‧‧‧Power Management Unit
140‧‧‧電池 140‧‧‧Battery
150‧‧‧適配器 150‧‧‧Adapter
SC1‧‧‧第一控制訊號 S C1 ‧‧‧First control signal
SC2‧‧‧第二控制訊號 S C2 ‧‧‧second control signal
SCh1‧‧‧第一充電訊號 S Ch1 ‧‧‧First charging signal
SCh2‧‧‧第二充電訊號 S Ch2 ‧‧‧Second charging signal
S201~S205‧‧‧步驟流程 S201~S205‧‧‧Step procedure
第1圖係顯示根據本發明一實施例所述之電子裝置之示意圖。 1 is a schematic view showing an electronic device according to an embodiment of the invention.
第2圖係顯示根據本發明一實施例所述之電源管理方法之流程圖。 2 is a flow chart showing a power management method according to an embodiment of the present invention.
有關本發明之裝置以及方法適用之其他範圍將於接下來所提供之詳述中清楚易見。必須了解的是下列之詳述以及具體之實施例,當提出有關電子裝置以及電源管理方法之示範實施例時,僅作為描述之目的以及並非用以限制本發明之範圍。 Other ranges applicable to the apparatus and method of the present invention will be apparent from the detailed description provided hereinafter. It is to be understood that the following detailed description, as well as specific embodiments, are intended to be illustrative of the embodiments of the invention, and are not intended to limit the scope of the invention.
第1圖係顯示根據本發明一實施例所述之電子裝 置100之示意圖。如第1圖所示,電子裝置100係包括一中央處理器110、一嵌入式控制器120、一電源管理單元130、一電池140以及一適配器150。中央處理器110係用以執行至少一電腦指令,並根據其運作狀態輸出一當前負載量。電源管理單元(Power Management,PM)130係同時與電池140以及適配器150連接,用以判斷電池140之一剩餘電量並將剩餘電量資訊輸出至嵌入式控制器120,以及控制由電池140或者適配器150提供電源。值得注意的是,當適配器150與電子裝置100連接時,電源管理單元130會接收到適配器150之連接通知,並將該連接通知輸出至嵌入式控制器120,但嵌入式控制器120並不會致能電源管理單元130直接切換由適配器150進行供電。嵌入式控制器(Embed Controller,EC)120可為16位元之單晶片,用以自中央處理器110接收系統之負載量,以及自電源管理單元130接收電池140之剩餘電量資訊,並根據負載量控制電源管理單元130由電池140或者適配器150提供電源。 1 is a schematic view showing an electronic device 100 in accordance with an embodiment of the present invention. As shown in FIG. 1 , the electronic device 100 includes a central processing unit 110 , an embedded controller 120 , a power management unit 130 , a battery 140 , and an adapter 150 . The central processing unit 110 is configured to execute at least one computer command and output a current load amount according to the operating state thereof. A power management unit (PM) 130 is simultaneously connected to the battery 140 and the adapter 150 for determining the remaining power of the battery 140 and outputting the remaining power information to the embedded controller 120, and controlling the battery 140 or the adapter 150. Provide power. It should be noted that when the adapter 150 is connected to the electronic device 100, the power management unit 130 receives the connection notification of the adapter 150 and outputs the connection notification to the embedded controller 120, but the embedded controller 120 does not The enabled power management unit 130 directly switches power supply by the adapter 150. The embedded controller (EC) 120 can be a 16-bit single chip for receiving the load of the system from the central processing unit 110, and receiving the remaining battery information of the battery 140 from the power management unit 130, and according to the load. The quantity control power management unit 130 is powered by the battery 140 or the adapter 150.
根據本發明一實施例,其中當中央處理器110運作於一低負載之情況下時(例如當系統運作於S3/S5狀態時),嵌入式控制器120係輸出一第一控制訊號SC1至電源管理單元130,電源管理單元130則根據第一控制訊號SC1控制由電池140提供電源以供電子裝置100運作。反之,當中央處理器110運作於一高負載之情況下時(例如當系統運作於S3/S5以外之狀態時),嵌入式控制器120則輸出一第二控制訊號SC2至電源管理單元130,電源管理單元130根據第二控制訊號SC2控制由適配器150提供電源以供電子裝置100運作。其中,根據由Intel, Microsoft,Phoenix,HP和Toshiba所制定之電腦電源管理規格-ACPI規範(Advanced Configuration and Power Interface,進階組態與電源介面),電腦系統可分為七種工作狀態,分別為G0(S0)、G1(又細分為S1、S2、S3、S4)和G2(S5)。G0係指電腦之正常工作狀態,此時作業系統以及應用程式皆為執行之狀態。G1係指電腦之睡眠狀態,其中又根據喚醒電腦系統等待時間之長短,由短至長細分為S1、S2、S3和S4。S1係為最耗電之睡眠模式,系統持續供電至CPU和內部記憶體。S2係為較S1更深之睡眠模式,但系統不供電至CPU。S3係為待機模式或睡眠模式(standby),於BIOS中稱為「掛到記憶體」(Suspend to RAM/STR),此時系統持續供電至主記憶體(RAM)。S4係為休眠模式或安全睡眠模式(sleep),亦稱為「掛到硬碟」,所有主記憶體之內容被儲存於非揮發記憶體,例如硬碟,以保護作業系統當前之狀態。G2,亦稱為S5,係為軟關機模式(soft off),系統持續對某些部件供電,使電腦可被部分裝置喚醒。於此一實施例中,當系統進入待機模式或軟關機模式時,才會由電池140進行供電。 According to an embodiment of the invention, when the central processing unit 110 is operating under a low load (for example, when the system is operating in the S3/S5 state), the embedded controller 120 outputs a first control signal S C1 to The power management unit 130 controls the power supply provided by the battery 140 for the electronic device 100 to operate according to the first control signal S C1 . On the other hand, when the central processing unit 110 is operating under a high load (for example, when the system operates in a state other than S3/S5), the embedded controller 120 outputs a second control signal S C2 to the power management unit 130. The power management unit 130 controls the power supply provided by the adapter 150 for the electronic device 100 to operate according to the second control signal S C2 . Among them, according to the computer power management specifications - Advanced Configuration and Power Interface (Advanced Configuration and Power Interface) developed by Intel, Microsoft, Phoenix, HP and Toshiba, the computer system can be divided into seven working states, respectively It is G0(S0), G1 (subdivided into S1, S2, S3, S4) and G2 (S5). G0 refers to the normal working state of the computer. At this time, the operating system and the application are all in the execution state. G1 refers to the sleep state of the computer, which is subdivided into S1, S2, S3 and S4 from short to long according to the length of waiting time for waking up the computer system. The S1 is the most power-hungry sleep mode, and the system continues to supply power to the CPU and internal memory. S2 is a deeper sleep mode than S1, but the system does not supply power to the CPU. The S3 is in standby mode or sleep mode. It is called "Suspend to RAM/STR" in the BIOS. At this time, the system continues to supply power to the main memory (RAM). S4 is a sleep mode or a safe sleep mode (sleep), also known as "hanging to a hard disk". The contents of all main memory are stored in non-volatile memory, such as a hard disk, to protect the current state of the operating system. G2, also known as S5, is a soft off mode. The system continues to power certain components so that the computer can be woken up by some devices. In this embodiment, the battery 140 is powered when the system enters the standby mode or the soft power off mode.
根據本發明另一實施例,其中嵌入式控制器120更可根據電池140之剩餘電量資訊決定充電電流。舉例來說,當電池140之剩餘電量大於一既定電量時(例如剩餘電量大於30%),嵌入式控制器120係輸出一第一充電訊號SCh1至電源管理單元130,電源管理單元130根據第一充電訊號SCh1透過適配器150以一較小之第一電流對電池140充電。反之,當電池140之剩餘電量小於或等於既定電量時(例如剩餘電量小於或等於 30%),嵌入式控制器120則輸出一第二充電訊號SCh2至電源管理單元130,電源管理單元130根據第二充電訊號SCh2透過適配器150以大於第一電流之一第二電流對電池140充電。 According to another embodiment of the present invention, the embedded controller 120 can further determine the charging current according to the remaining power information of the battery 140. For example, when the remaining power of the battery 140 is greater than a predetermined power (for example, the remaining power is greater than 30%), the embedded controller 120 outputs a first charging signal S Ch1 to the power management unit 130, and the power management unit 130 A charging signal S Ch1 charges the battery 140 through the adapter 150 with a smaller first current. On the other hand, when the remaining power of the battery 140 is less than or equal to the predetermined power (for example, the remaining power is less than or equal to 30%), the embedded controller 120 outputs a second charging signal S Ch2 to the power management unit 130, and the power management unit 130 The second charging signal S Ch2 charges the battery 140 through the adapter 150 with a second current greater than one of the first currents.
值得注意的是,嵌入式控制器120僅根據系統之負載選擇由電池140或者適配器150進行供電,而電池140之剩餘電量並不會影響嵌入式控制器120之選擇。舉例來說,儘管電池140之剩餘電量小於30%,但當中央處理器110運作於低負載之情況下,嵌入式控制器120仍輸出第一控制訊號SC1以由電池140進行供電。同時,嵌入式控制器120更輸出第二充電訊號SCh2以控制適配器150以一較大之第二電流對電池140進行充電。反之,當電池140之剩餘電量大於30%,但中央處理器110運作於高負載之情況下時,嵌入式控制器120則輸出第二控制訊號SC2以由適配器150進行供電,並同時輸出第一充電訊號SCh1以一較小之第一電流對電池140進行充電。 It is worth noting that the embedded controller 120 is powered by the battery 140 or the adapter 150 only according to the load selection of the system, and the remaining power of the battery 140 does not affect the selection of the embedded controller 120. For example, although the remaining power of the battery 140 is less than 30%, when the central processing unit 110 operates at a low load, the embedded controller 120 still outputs the first control signal S C1 to be powered by the battery 140. At the same time, the embedded controller 120 further outputs a second charging signal S Ch2 to control the adapter 150 to charge the battery 140 with a larger second current. On the other hand, when the remaining power of the battery 140 is greater than 30%, but the central processing unit 110 operates under high load, the embedded controller 120 outputs the second control signal S C2 to be powered by the adapter 150, and simultaneously outputs the first A charging signal S Ch1 charges the battery 140 with a smaller first current.
第2圖係顯示根據本發明一實施例所述之電源管理方法之流程圖。於步驟S201,中央處理器110執行至少一電腦指令,並輸出中央處理器110所對應之負載量至嵌入式控制器120。於步驟S202,嵌入式控制器120自中央處理器110接收其負載量。於步驟S203,嵌入式控制器120判斷中央處理器110之負載量是否大於既定值。若負載量小於或等於既定值,則進入步驟S204,嵌入式控制器120輸出第一控制訊號SC1控制電源管理單元130由電池140提供電源以供電子裝置100運作。反之,若負載量大於既定值,則進入步驟S205,嵌入式控制器120輸出第二控制訊號SC2控制電源管理單元130由適配器150提供 電源以供電子裝置100運作。 2 is a flow chart showing a power management method according to an embodiment of the present invention. In step S201, the central processing unit 110 executes at least one computer instruction, and outputs the load amount corresponding to the central processing unit 110 to the embedded controller 120. In step S202, the embedded controller 120 receives its load from the central processor 110. In step S203, the embedded controller 120 determines whether the load of the central processing unit 110 is greater than a predetermined value. If the load amount is less than or equal to the predetermined value, the process proceeds to step S204, and the embedded controller 120 outputs the first control signal S C1 to control the power management unit 130 to provide power from the battery 140 for the electronic device 100 to operate. On the other hand, if the load amount is greater than the predetermined value, the process proceeds to step S205, and the embedded controller 120 outputs the second control signal S C2 to control the power management unit 130 to be powered by the adapter 150 for the electronic device 100 to operate.
綜上所述,根據本發明實施例所提出之電子裝置以及電源管理方法,當電子裝置同時接上適配器以及電池時,嵌入式控制器係根據系統或者中央處理器之負載決定由電池或者適配器進行供電,而並非直接由適配器進行供電,並可根據電池之剩餘電量透過適配器適當地對電池進行充電,以提高供電之效率。 In summary, according to the electronic device and the power management method of the embodiment of the present invention, when the electronic device is connected to the adapter and the battery at the same time, the embedded controller is determined by the battery or the adapter according to the load of the system or the central processing unit. The power supply is not directly powered by the adapter, and the battery can be properly charged through the adapter according to the remaining power of the battery to improve the efficiency of the power supply.
以上敘述許多實施例的特徵,使所屬技術領域中具有通常知識者能夠清楚理解本說明書的形態。所屬技術領域中具有通常知識者能夠理解其可利用本發明揭示內容為基礎以設計或更動其他製程及結構而完成相同於上述實施例的目的及/或達到相同於上述實施例的優點。所屬技術領域中具有通常知識者亦能夠理解不脫離本發明之精神和範圍的等效構造可在不脫離本發明之精神和範圍內作任意之更動、替代與潤飾。 The features of many embodiments are described above to enable those of ordinary skill in the art to clearly understand the form of the specification. Those having ordinary skill in the art will appreciate that the objectives of the above-described embodiments and/or advantages consistent with the above-described embodiments can be accomplished by designing or modifying other processes and structures based on the present disclosure. It is also to be understood by those skilled in the art that <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt;
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW105132830A TW201814430A (en) | 2016-10-12 | 2016-10-12 | Electronic devices and power management methods |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW105132830A TW201814430A (en) | 2016-10-12 | 2016-10-12 | Electronic devices and power management methods |
Publications (1)
Publication Number | Publication Date |
---|---|
TW201814430A true TW201814430A (en) | 2018-04-16 |
Family
ID=62639135
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW105132830A TW201814430A (en) | 2016-10-12 | 2016-10-12 | Electronic devices and power management methods |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW201814430A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI682273B (en) * | 2018-09-13 | 2020-01-11 | 緯創資通股份有限公司 | Power control method for storage devices and electronic system using the same |
-
2016
- 2016-10-12 TW TW105132830A patent/TW201814430A/en unknown
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI682273B (en) * | 2018-09-13 | 2020-01-11 | 緯創資通股份有限公司 | Power control method for storage devices and electronic system using the same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10310588B2 (en) | Forcing core low power states in a processor | |
TWI518586B (en) | Collaborative processor and system performance and power management | |
US9600059B2 (en) | Facilitating power management in a multi-core processor | |
US8683247B2 (en) | Method and apparatus for controlling power supply to primary processor and portion of peripheral devices by controlling switches in a power/reset module embedded in secondary processor | |
TWI402647B (en) | Voltage control device, method and computer device capable of dynamically regulating voltage and effectively saving energy | |
TWI595418B (en) | System,computer-implemented method and computer-readable medium for scheduling tasks | |
US8726055B2 (en) | Multi-core power management | |
JP3974510B2 (en) | Computer apparatus, power management method, and program | |
JP5764150B2 (en) | Method and computer for transition from power-on state to power-saving state | |
JP5095682B2 (en) | Information processing apparatus, power control method for information processing apparatus, and computer-executable program | |
TW201329686A (en) | Multi-core processor system, dynamic power management method thereof and control apparatus thereof | |
JP4331999B2 (en) | ELECTRIC DEVICE, COMPUTER DEVICE, POWER SUPPLY METHOD, AND PROGRAM | |
KR102164099B1 (en) | System on chip, method thereof, and device including the same | |
TWI641943B (en) | Controlling power supply unit power consumption during idle state | |
EP2843502B1 (en) | Information processing device, information processing method, and program | |
TW202321871A (en) | Processor core energy management | |
US20160252942A1 (en) | Supercapacitor-based power supply protection for multi-node systems | |
US9612652B2 (en) | Controlling power consumption by power management link | |
EP2784901B1 (en) | Universal serial bus chargers and charging management methods | |
TW200917006A (en) | Apparatus and method for power management | |
JP5179454B2 (en) | Computer and power supply | |
TW201814430A (en) | Electronic devices and power management methods | |
TW201541803A (en) | Portable electronic apparatus and charging control method thereof | |
TWI433374B (en) | Electrical device and battery management method thereof | |
TWI451239B (en) | Control method applied to computer system in hybrid sleep mode |