CN106155259A - Power supply control method and device - Google Patents

Power supply control method and device Download PDF

Info

Publication number
CN106155259A
CN106155259A CN201510190823.XA CN201510190823A CN106155259A CN 106155259 A CN106155259 A CN 106155259A CN 201510190823 A CN201510190823 A CN 201510190823A CN 106155259 A CN106155259 A CN 106155259A
Authority
CN
China
Prior art keywords
control
power supply
power
host system
threshold
Prior art date
Application number
CN201510190823.XA
Other languages
Chinese (zh)
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 CN201510190823.XA priority Critical patent/CN106155259A/en
Publication of CN106155259A publication Critical patent/CN106155259A/en

Links

Abstract

The invention discloses a power supply control method and device. The current working state of a host system and preset parameter item values of a power supply are obtained in real time; on this basis, according to the current working state of the host system and the preset parameter item values of the power supply, energy-saving and protective control is performed on the power supply. It is thus clear that compared with the prior art, the preset parameter item values (such as output power or output current) of the power supply and the current working state of the host system are adopted as the power supply energy-saving and protective control basis at the same time, control on demand can be performed on the power source with the combination of the actual working state of the host system, and compared with the prior art of single and rough control mode, the power supply can be more precisely controlled by matching the actual working state of the PC host system.

Description

一种电源控制方法和装置 A power control method and apparatus

技术领域 FIELD

[0001] 本发明属于电源控制技术领域,尤其涉及一种电源控制方法和装置。 [0001] The present invention pertains to power control technology, and in particular relates to a power control method and apparatus.

背景技术 Background technique

[0002] 基于节能考虑及主机、电源保护考虑,需对PC (Personal Computer,个人计算机)电源进行节能及保护控制。 [0002] To save energy and host-based power protection considerations, the need for PC (Personal Computer, PC) for energy supply and the protective control.

[0003]目前的电源节能/保护控制方案为:当电源的输出功率或输出电流达到设定的最高阈值(保护点)时,控制电源进入保护模式,以避免损毁电源或主机;相反,当电源的输出功率或输出电流低于设定的最低阈值,即轻载或空载时,控制电源进入节能模式,实现节能。 [0003] Current power saving / protective control scheme is: when the output power or the output current of the power reaches the maximum set threshold value (protection point), the control power supply into the protection mode to avoid damage to the power supply or a host; the contrary, when the power supply the output power or the output current below the minimum threshold is set, i.e., no-load or light load, control power saving mode, to achieve energy saving. 可见,现有节能/保护控制方案的控制方式较为单一,仅以电源的输出功率或输出电流作为控制依据,实现对电源进行粗略控制,未能实现匹配PC主机系统实际工作状态的精准电源控制。 Be seen, the conventional energy control / protection control scheme is single, only the output current or the output power supply based on a precise power control to achieve coarse control of power supply, failure to achieve the actual working conditions matching the host PC system.

发明内容 SUMMARY

[0004] 有鉴于此,本发明的目的在于提供一种电源控制方法和装置,旨在结合PC主机系统的实际工作状态,实现对PC电源进行更为精准的控制。 [0004] In view of this, an object of the present invention is to provide a power control method and apparatus designed to work in conjunction with the actual state of the host PC system, the PC power to achieve a more precise control.

[0005] 为此,本发明公开如下技术方案: [0005] To this end, the present invention discloses the following technical solutions:

[0006] 一种电源控制方法,包括: [0006] A power control method comprising:

[0007] 实时获取主机系统的当前工作状态及电源的预设参数项数值; [0007] The host system acquired in real time the current preset value of the parameter item and the operation state of the power supply;

[0008] 依据所述主机系统的当前工作状态及电源的预设参数项数值,对电源进行节能或保护控制。 [0008] The item according to a preset parameter values ​​and the current operating state of the host system power, or energy-saving power supply protection control.

[0009] 上述方法,优选的,所述主机系统的当前工作状态为如下六种状态中的任意一种: [0009] The above-described method, preferably, the current operating state of the host system is any one of the following six states:

[0010] 正常工作状态SO、中央处理器CPU停止工作的状态SUCPU关闭的状态S2、待机状态S3、休眠状态S4、关机状态S5。 [0010] The normal operating state SO, the central processing unit CPU operation stop SUCPU closed state S2, the standby state S3, hibernation S4, off state S5.

[0011] 上述方法,优选的,所述预设参数项为电源的输出电流。 [0011] The above-described method, preferably, the predetermined parameter is a power supply output current item.

[0012] 上述方法,优选的,主机系统的当前工作状态为SO或SI或S2,则所述依据所述主机系统的当前工作状态及电源的预设参数项数值,对电源进行节能或保护控制包括: , The item value of the preset parameter and the current operating state of the power supply according to the host system, or the energy-saving power supply to the protection control [0012] The current operating state of the above methods, preferably, the host system is SO or SI or S2 include:

[0013] 判断电源的输出电流是否达到预设的第一保护阈值; [0013] It is determined whether the power supply output current reaches a first preset protection threshold;

[0014] 若判断结果为是,则控制电源进入保护模式。 [0014] If the determination result is YES, the control power supply into the protected mode.

[0015] 上述方法,优选的,主机系统的当前工作状态为S3或S4或S5,则所述依据所述主机系统的当前工作状态及电源的预设参数项数值,对电源进行节能或保护控制包括: [0015] The current operating state of the above methods, preferably, the host system for S3 or S4 or S5, then the preset value of the parameter item and the current operating state of the power supply according to the host system, or the energy-saving power supply protection control include:

[0016] 判断电源的输出电流是否低于预设的第一节能阈值; [0016] It is determined whether the power supply output current is lower than a preset first energy threshold;

[0017] 若判断结果为低于所述第一节能阈值,则控制电源进入节能模式; [0017] If the determination result is less than the first power threshold value, the control enters the power saving mode;

[0018] 若判断结果为不低于所述第一节能阈值,则继续判断电源的输出电流是否达到预设的第二保护阈值;若判断结果为达到所述第二保护阈值,则控制电源进入保护模式。 [0018] If the determination result is not less than the first threshold value can then determine whether the power supply output current reaches a second preset protection threshold; if the judging result reaches the second protective threshold value, the control power supply into Protected mode.

[0019] 上述方法,优选的,在所述控制电源进入节能模式后,还包括: [0019] The above-described method, preferably, after the control enters the power saving mode, further comprising:

[0020] 判断实时获取的电源输出电流是否达到预设的第二节能阈值,若判断结果为是,则控制电源跳出节能模式。 [0020] Analyzing the acquired real-time power supply output current reaches a second predetermined energy threshold, if the judgment result is YES, the control power saving mode out.

[0021] 上述方法,优选的,所述第一保护阈值为19.5A。 [0021] The above-described method, preferably, the first protection threshold is 19.5A.

[0022] 上述方法,优选的,所述第一节能阈值为0.45A,所述第二保护阈值为4A。 [0022] The above-described method, preferably, the first energy threshold is 0.45A, the second protective threshold 4A.

[0023] 上述方法,优选的,所述第二节能阈值为0.6A。 [0023] The above-described method, preferably, the second energy threshold is 0.6A.

[0024] 一种电源控制装置,包括: [0024] A power control apparatus comprising:

[0025] 获取模块,用于实时获取主机系统的当前工作状态及电源的预设参数项数值; [0025] The acquisition module for acquiring real-time preset values ​​Parameter current operating state of the host system and the power supply;

[0026] 控制模块,用于依据所述主机系统的当前工作状态及电源的预设参数项数值,对电源进行节能或保护控制。 [0026] The control module for a preset value of the parameter item based on the host system and the current operating state of the power supply, energy-saving power supply or the protection control.

[0027] 上述装置,优选的,所述主机系统的当前工作状态为SO或SI或S2时,所述控制模块包括: Current operating state [0027] The apparatus, preferably, the host system is SO or SI or S2, the control module comprises:

[0028] 第一判断单元,用于判断电源的输出电流是否达到预设的第一保护阈值; [0028] The first determination unit configured to determine whether the power supply output current reaches a first preset protection threshold;

[0029] 第一控制单元,用于在判断结果为是时,控制电源进入保护模式。 [0029] a first control unit for the determination result is yes, the control power supply into the protected mode.

[0030] 上述装置,优选的,所述主机系统的当前工作状态为S3或S4或S5时,所述控制模块包括: Current operating state [0030] The apparatus, preferably, the host system is S3 or S4 or S5, the said control module comprises:

[0031] 第二判断单元,用于判断电源的输出电流是否低于预设的第一节能阈值; [0031] The second determination unit configured to determine whether the power supply output current is lower than a preset first energy threshold;

[0032] 第二控制单元,用于在所述第二判断单元的判断结果为低于所述第一节能阈值时,控制电源进入节能模式; [0032] The second control unit for the second determination means determines the result is below said first threshold energy, control power saving mode;

[0033] 第三判断单元,用于在所述第二判断单元的判断结果为不低于所述第一节能阈值时,继续判断电源的输出电流是否达到预设的第二保护阈值; When the determination result [0033] The third determination means for determining the second unit is not lower than the first energy threshold, continue to determine whether the power supply output current reaches a second preset protection threshold;

[0034] 第三控制单元,用于在所述第三判断单元的判断结果为达到所述第二保护阈值时,控制电源进入保护模式。 When [0034] The third control unit for the third determining unit is a determination result reaches the second protection threshold, the control power supply into the protected mode.

[0035] 上述装置,优选的,所述控制模块还包括: [0035] The apparatus, preferably, the control module further comprises:

[0036] 第四判断单元,用于在电源进入节能模式后,判断实时获取的电源输出电流是否达到预设的第二节能阈值; [0036] The fourth judgment means for entering the power saving mode after determining in real time the acquired power supply output current reaches a second predetermined energy threshold;

[0037] 第四控制单元,用于在所述第四判断单元的判断结果为是时,控制电源跳出节能模式。 [0037] The fourth control means for determining the result of the fourth determination means is positive, the control power saving mode out.

[0038] 由以上方案可知,本申请公开的电源控制方法和装置,实时获取主机系统的当前工作状态及电源的预设参数项数值;在此基础上,依据主机系统的当前工作状态及电源的预设参数项数值,对电源进行节能或保护控制。 [0038] From the above embodiment, the power control method and apparatus disclosed herein, real-time access Parameter preset value and the current operating state of the power system of the host; On this basis, according to the host system and the current operating state of the power supply parameter default value for the power saving control or protection. 可见,区别于现有技术,本申请同时将电源的预设参数项数值(譬如输出功率或输出电流)及主机系统的当前工作状态,作为电源节能及保护控制的控制依据,从而实现了结合主机系统的实际工作状态对电源进行按需控制,相比于现有技术较为单一、粗略的控制方式,本申请可匹配PC主机系统的实际工作状态对电源进行更为精准的控制。 Visible, distinguished from the prior art, while the present application preset power value of the parameter item (such as output current or output power) and the current operating state of the host system, as the control and protection according to the power saving control, enabling binding Host the actual working state of the system power supply-demand control, compared to the prior art more single, coarse control mode, the application may match the actual operating state of the host PC power supply system for more precise control.

附图说明 BRIEF DESCRIPTION

[0039] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。 [0039] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, briefly introduced hereinafter, embodiments are described below in the accompanying drawings or described in the prior art needed to be used in describing the embodiments the drawings are only examples of the present invention, those of ordinary skill in the art is concerned, without creative efforts, can derive other drawings from the accompanying drawings provided.

[0040] 图1是本申请提供的一种电源控制方法实施例一的流程图; [0040] FIG. 1 is a flowchart of a power control method of the present embodiment provided herein;

[0041] 图2是本申请提供的一种电源控制方法实施例二的流程图; [0041] FIG 2 is a flowchart of a power control according to the second method of the present embodiment provided herein;

[0042] 图3是本申请提供的一种电源控制方法实施例三的流程图; [0042] FIG. 3 is a flowchart of a power control according to a third method of the present embodiment provided herein;

[0043] 图4是本申请提供的一种电源控制方法实施例四的流程图; [0043] FIG. 4 is a flowchart of fourth embodiment of a power control method of the present embodiment provided herein;

[0044] 图5是本申请提供的一种电源控制装置实施例五的结构示意图; [0044] FIG. 5 is a power supply control apparatus of the present application provides a schematic structural diagram of a fifth embodiment;

[0045] 图6是本申请提供的一种电源控制装置实施例六的结构示意图; [0045] FIG. 6 is a power supply control apparatus of the present application provides a schematic structural diagram of a sixth embodiment;

[0046]图7是本申请提供的一种电源控制装置实施例七的结构示意图; [0046] FIG. 7 is a power supply control apparatus of the present application provides a schematic structural diagram according to a seventh embodiment;

[0047] 图8是本申请提供的一种电源控制装置法实施例八的结构示意图。 [0047] FIG. 8 is a schematic structural diagram of a eight embodiment of a power control apparatus according to the present method provided herein.

具体实施方式 Detailed ways

[0048] 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。 [0048] below in conjunction with the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described embodiments are merely part of embodiments of the present invention, but not all embodiments example. 基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments of ordinary skill in the art without any creative effort shall fall within the scope of the present invention.

[0049] 实施例一 [0049] Example a

[0050] 参考图1,图1为本申请提供的一种电源控制方法实施例一的流程图,该方法可应用于台式机、一体机、笔记本、PAD (portable android device,平板电脑)等各种类型的计算机设备中。 [0050] Referring to FIG 1, FIG. 1 A power control method for providing a flow diagram of one embodiment of the present application, the method may be applied to desktop machine, laptop, PAD (portable android device, tablet) and other types of computer equipment. 如图1所示,所述方法可以包括以下步骤: 1, the method may include the steps of:

[0051] SlOl:实时获取主机系统的当前工作状态及电源的预设参数项数值。 [0051] SlOl: real-time access the host system presets term value of the current work status and power.

[0052] 实际应用本申请时,所述预设参数项可以是电源的输出功率,也可以是电源的输出电流,本实施例中所述预设参数项为电源的输出电流,即本实施例具体采用电源的输出电流作为电源节能或保护控制的控制依据之一。 [0052] The practical application of the present application, the term may be preset parameter output of the power may be a power supply output current, as described in the item preset parameters for the power output current of the present embodiment, i.e., the present embodiment specific uses one power control based on the output current of a power saving control or protection.

[0053] 主机系统工作状态及电源输出电流的检测功能可集成在电源管理芯片中,电源管理芯片与主机主板及电源相连,当电源开启后,电源管理芯片将通过设定的引脚检测主机系统的工作状态以及电源的输出电流。 [0053] The operating state of the host system and the power supply output current detection function can be integrated in the power management chip, the power management chip and connected with the main board and a power supply, when the power is turned on, the power management chip set pin detecting system of the host and the operating state of the power supply output current. 具体地,当主机系统处于SO或SI或S2状态时,其向电源管理芯片输出低电平状态信号;反之,主机系统处于S3或S4或S5状态时,则向电源管理芯片输出高电平状态信号,本实施例中,电源管理芯片通过其引脚SYS_0NB获取主机系统的高电平或低电平状态信号,而电源的输出电流则通过电源管理芯片的引脚I12B检测获取。 Specifically, when the host system is in state SO and SI or S2, which is output to the power management chip low-level signal; the contrary, when the host system is in S3 or S4, or S5 state, the output state to a high level power management chip signal, in this embodiment, the power management chip host system acquired high or low state signal through the pin SYS_0NB, and the power supply output current is obtained by detecting pin I12B power management chip.

[0054] 其中,主机系统的状态S0、S1、S2、S3、S4及S5具体为ACPI (AdvancedConfigurat1n and Power Interface,高级配置与电源接口)电源管理中所定义的六种系统状态,各状态的定义分别如下: [0054] wherein the host system state S0, S1, S2, S3, S4 and S5 specifically ACPI (AdvancedConfigurat1n and Power Interface, Advanced Configuration and Power Interface) defines six kinds of power management system state defined, each state They are as follows:

[0055] SO:电脑正常工作,所有硬件设备全部处于打开或正常工作的状态; [0055] SO: the computer is working properly, all hardware devices are all in a state of open or work;

[0056] S1:也称为POS (Power on Suspend,CPU停止工作),其他的硬件设备仍然正常工作; [0056] S1: also known as POS (Power on Suspend, CPU stops working), other hardware devices are still working properly;

[0057] S2:将CPU关闭,但其余的硬件设备仍然运转; [0057] S2: The CPU off, but the rest of the hardware device is still running;

[0058] S3:通常称为STR(Suspend to RAM,挂起到内存),指将运行中的数据写入内存后关闭硬盘,本状态即为待机状态,用鼠标或键盘可以唤醒; [0058] S3: commonly referred to STR (Suspend to RAM, Suspend to RAM), hard disks off means after the data write operation in the memory, the present state is the standby state, using the mouse or keyboard can wake up;

[0059] S4:也称为STD (Suspend to Disk,挂起到硬盘),指将内存信息写入硬盘,然后所有部件停止工作,本状态即为休眠状态(深度待机),一般通过按power键唤醒; [0059] S4: also called STD (Suspend to Disk, suspend to disk), memory means to write information to the hard disk, then all parts is stopped, the present state is the sleep state (standby depth), generally by pressing the power button wake;

[0060] S5:所有硬件设备(包括电源)全部都关闭,也就是关机。 [0060] S5: all hardware devices (including power) are all closed, i.e. off.

[0061] S102:依据所述主机系统的当前工作状态及电源的预设参数项数值,对电源进行节能或保护控制。 [0061] S102: Parameter values ​​according to a predetermined operating state and the current power of the host system, or energy-saving power supply protection control.

[0062] 本申请同时将电源的输出电流及主机系统的实际工作状态这两个参数的取值,作为对电源进行节能或保护控制的控制依据,基于此,需预先根据两参数的不同取值情况制定不同的电源控制方案,后续在检测出两参数的实际取值后,可依据预先制定的控制方案,对电源进行相应的节能或保护控制,以实现结合主机系统的实际工作状态对电源进行按需控制。 [0062] This application while the output current value and the actual working conditions of the host system on these two parameters, as a power saving control based on the protection or control, based on this, according to two different values ​​of the required parameters in advance of the case for different power control scheme, the actual follow value is detected after the two parameters can be, for power saving or the corresponding protection control according to the control programs pre-established, in order to achieve a combination of actual operational state of the host system to the power supply control on demand.

[0063] 由以上方案可知,本申请公开的电源控制方法,实时获取主机系统的当前工作状态及电源的预设参数项数值;在此基础上,依据主机系统的当前工作状态及电源的预设参数项数值,对电源进行节能或保护控制。 [0063] From the above embodiment, the power control method disclosed in the present application, the term real-time access preset parameter values ​​and the current operating state of the power system of the host; On this basis, according to the host system and the current operating state of the default power parameter values ​​for the power saving control or protection. 可见,区别于现有技术,本申请同时将电源的预设参数项数值(譬如输出功率或输出电流)及主机系统的当前工作状态,作为电源节能及保护控制的控制依据,从而实现了结合主机系统的实际工作状态对电源进行按需控制,相比于现有技术较为单一、粗略的控制方式,本申请可匹配PC主机系统的实际工作状态对电源进行更为精准的控制。 Visible, distinguished from the prior art, while the present application preset power value of the parameter item (such as output current or output power) and the current operating state of the host system, as the control and protection according to the power saving control, enabling binding Host the actual working state of the system power supply-demand control, compared to the prior art more single, coarse control mode, the application may match the actual operating state of the host PC power supply system for more precise control.

[0064] 实施例二 [0064] Second Embodiment

[0065] 参考图2,图2为本申请提供的一种电源控制方法实施例二的流程图,本实施例中,假设主机系统的当前工作状态为SO或SI或S2,则所述步骤S102可以通过以下步骤实现: [0065] Referring to FIG 2, FIG. 2 is a power control method is a flowchart of the application according to the second embodiment, the present embodiment, the current operating state of the host system is assumed SO or SI or S2, then the step S102 can be achieved through the following steps:

[0066] S201:判断电源的输出电流是否达到预设的第一保护阈值; [0066] S201: judging whether the power supply output current reaches a first preset protection threshold;

[0067] S202:若判断结果为是,则控制电源进入保护模式。 [0067] S202: If the determination result is YES, the control power supply into the protected mode.

[0068] 本实施例针对SYS_0NB处于低电平信号状态,即针对主机系统的工作状态为SO或SI或S2的情况,给出相应的节能及保护控制方案。 [0068] The present embodiment is directed to a low level signal SYS_0NB state, i.e., the operating state for the case where the host system is SO or SI or S2 is given energy and the corresponding protection control scheme.

[0069] 由实施例一对主机系统状态的描述可知,SO状态下电脑正常工作,且处于高电源供应状态,SI及S2状态下电脑正常工作,但处于低电源供应状态;三种状态均属于用户正常使用电脑的情况,主机系统中的风扇等硬件设备均正常工作,从而需要电源进行正常供电,因此,所述三种系统状态下,为了不影响用户体验,为用户正常使用电脑进行正常供电,不适宜控制电源进入节能模式。 [0069] the host system to describe a state seen from Examples, the SO state under normal operation the computer, and the power supply in a high state, the computer is operational state SI and S2, but the power supply is in a low state; three states belong normal use of the computer user, host system fans and other hardware are working properly, requiring the normal power supply, therefore, the system state of the three, in order not to affect user experience, the normal power supply to the normal use of the computer user , not suitable for controlling the power saving mode. 基于此,本实施例中,当主机系统运行于SO或SI或S2状态时,仅对电源进行保护控制,而不对其进行节能控制。 Based on this, in the present embodiment, when the host system is operating in state SO or SI or S2, is only to protect the power control without saving its control.

[0070] 主机系统运行于以上三种状态时,当电源的输出电流过大并达到设定的过流保护点,即所述第一保护阈值时,为了避免损毁电源或主机,需对电源进行保护控制,使其进入保护模式。 [0070] The host system is running in the above three states, the power supply when the output current reaches an excessive current protection and set point, i.e., when the first protection threshold, in order to avoid damage to the power supply or a host, the need for power supply protection control, make it into protection mode.

[0071] 其中,电源的过流保护点可由技术人员依据电源及主机系统中各器件的性能参数进行设定,本实施例具体将S0、S1、S2状态下的电源过流保护点设定为19.5A,即当电源的输出电流达到19.5A时,控制电源进行保护模式,以保护电源或主机不发生过流损坏。 [0071] wherein the overcurrent protection point of the power may be set in the art based on the power and performance parameters of each device in the host system, the present embodiment will be specifically S0, S1, S2 of the power point overcurrent state is set to 19.5A, i.e. when the power supply output current reaches 19.5A, the control power supply protection mode, the power supply to protect the host or overcurrent without damage.

[0072] 实施例三 [0072] Example three

[0073] 参考图3,图3为本申请提供的一种电源控制方法实施例三的流程图,本实施例中,假设主机系统的当前工作状态为S3或S4或S5,则所述步骤S102可以通过以下步骤实现: [0073] Referring to FIG 3, FIG. 3 is a power control method for providing a flowchart according to a third embodiment of the application, in this embodiment, the current operating state of the host system is assumed S3 or S4 or S5, then the step S102 can be achieved through the following steps:

[0074] S301:判断电源的输出电流是否低于预设的第一节能阈值; [0074] S301: judging whether the power supply output current is lower than a preset first energy threshold;

[0075] S302:若判断结果为低于所述第一节能阈值,则控制电源进入节能模式; [0075] S302: If the determination result is less than the first power threshold value, the control enters the power saving mode;

[0076] S303:若判断结果为不低于所述第一节能阈值,则继续判断电源的输出电流是否达到预设的第二保护阈值; [0076] S303: If the determination result is not less than the first threshold value can then determine whether the power supply output current reaches a second preset protection threshold;

[0077] S304:若判断结果为达到所述第二保护阈值,则控制电源进入保护模式。 [0077] S304: If the result of determination reaches the second protection threshold, the control power into protected mode.

[0078] 本实施例针对SYS_0NB处于高电平信号状态,即针对主机系统的工作状态为S3或S4或S5的情况,给出相应的节能及保护控制方案。 [0078] The present embodiment is directed to a high level signal is SYS_0NB state, i.e., the operating state for the case where the host system is S3 or S4 or S5, the given energy and the corresponding protection control scheme.

[0079] 其中,本实施例将所述第一节能阈值设定为0.45A,第二保护阈值设为4.0A。 [0079] wherein the first embodiment of the present energy threshold is set to 0.45A, the second threshold is set to protect the 4.0A.

[0080] 当主机系统的工作状态为S3或S4或S5时,主机系统处于用户非正常开机使用的状态,例如主机中风扇等硬件设备未开启,同时若电源输出电流(I12B)小于所述第一节能阈值(0.45A),则电源轻载或空载,此时可控制电源进入节能模式,实现节能。 [0080] When the operation status of the host system S3 or S4 or S5, the host system is in an abnormal state of the user use the boot, such as a host hardware devices fan is not turned on, while if the power supply output current (I12B) smaller than the first an energy threshold (0.45A), the power light or no load, then the power saving mode may be controlled, to achieve energy saving. 具体地,电源管理芯片通过其节能控制脚BURST向主控芯片输出一个高电压指示信号,指示主控芯片控制电源进入节能模式。 In particular, a high voltage power management chip is the master chip outputs a signal indicative of the energy saving by the control pin BURST, indicates the master chip control power saving mode.

[0081] 相反,主机系统运行于S3或S4或S5状态时,若电源的输出电流较高,且达到设定的第二保护阈值(4.0A),则为了避免主机系统中相应器件因电流过大而损坏,需控制电源进入保护模式。 [0081] Instead, the host system is running in state S3 or S4 or S5, when a high output current power supply, and a second protective reaches the set threshold value (4.0A), in order to avoid the host system due to excessive current corresponding device that can be damaged, the power to be controlled into protected mode.

[0082]区别于实施例二的过流保护点19.5A,本实施例将电源的过流保护点设定为4.0A基于以下考虑: [0082] The embodiment is different from the overcurrent protection point 19.5A two embodiments, the present embodiment of the overcurrent protection point is set to 4.0A power supply based on the following considerations:

[0083] 主机系统运行于S3或S4或S5状态时,系统的硬件设备未开启,风扇等散热器件不能对主机系统进行散热、降温,从而相比于散热器件正常运行的S0、S1及S2状态,主机系统的电流承受能力相应降低,譬如,S0、S1或S2状态下,1A的输出电流为电源的安全电流,不会导致电源及主机损坏,而S3、S4或S5状态下,电源产生的1A输出电流则会成为系统的异常电流,主机系统因无法散热、降温而易导致过流损坏。 [0083] The host system is operating in state S3 or S4 or S5, system hardware is not turned on, the fan and other heat dissipation device to the host system can not be heat, cooling, as compared to the normal operation of the heat radiating member S0, Sl and S2 state , the current carrying capacity of the host system corresponding reduction, for example, under S0, S1 or S2, the output current of 1A is safe current power supply, the power supply will not lead to damage and host, and the next S3, S4 or S5 state, the power generated 1A current output will become abnormal current system, the host system can not be due to heat, cooling apparent cause overcurrent damage.

[0084] 基于此,本申请结合主机系统的不同工作状态,制定了不同的电源控制方案,实现了对电源进行按需控制,控制精度较高。 [0084] Based on this, the present state of the host application in conjunction with different operating system, developed a different power control schemes, realizes the power-demand control, high precision control.

[0085] 实施例四 [0085] Fourth Embodiment

[0086] 参考图4,图4为本申请提供的一种电源控制方法实施例四的流程图,本实施例以实施例三所提供的应用场景及方案为前提,如图4所示,在电源进入节能模式后,所述方法还可以包括以下步骤: [0086] Referring to FIG 4, FIG. 4 is a power control method is a flowchart of a fourth embodiment applying the present embodiment to embodiment and application scenario according to a third embodiment provided as a precondition, shown in Figure 4, the after entering the power saving mode, the method may further comprise the step of:

[0087] S401:判断实时获取的电源输出电流是否达到预设的第二节能阈值; [0087] S401: determining in real time the acquired power supply output current reaches a second predetermined energy threshold;

[0088] S402:若判断结果为是,则控制电源跳出节能模式。 [0088] S402: If the determination result is YES, the control power saving mode out.

[0089] 在控制电源进入节能模式后,需继续检测电源的输出电流,一旦电源的输出电流回升至设定的第二节能阈值,则控制电源跳出节能模式。 [0089] After controlling the power saving mode, the need continues to detect the output current of the power supply, the output current of the power recovery once the second energy threshold to set out the control power saving mode. 具体地,当I12B脚检测出电源输出电流达到第二节能阈值时,电源管理芯片的节能控制脚BURST会向主控芯片输出一个低电压指示信号,指示主控芯片控制电源跳出节能模式。 Specifically, when the foot I12B detected the output current reaches a second energy threshold, the energy management chip power BURST control pin will indicate a low voltage signal is output to the control chip, the master chip indicating control power saving mode out.

[0090] 本实施例中,所述第二节能阈值具体为0.6A。 [0090] In this embodiment, the second energy threshold is specifically 0.6A. 理想状态下,电源进入节能模式及跳出节能模式的电流阈值可设置为同一数值,但考虑到实际应用场景中,PCB(PrintedCircuit Board,印制电路板)存在线路公差,因此,本实施例将跳出节能模式的电流阈值设置为高于进入节能模式电流阈值的一个数值。 Ideally, the power saving mode and out of the current threshold energy saving mode can be set to the same value, but considering the practical application scenarios, PCB (PrintedCircuit Board, printed circuit boards) exist line tolerances, therefore, the present embodiment will bounce current threshold energy saving mode is set to a value higher than the saving mode current threshold.

[0091] 实施例五 [0091] Embodiment V

[0092] 参考图5,图5为本申请提供的一种电源控制装置实施例五的结构示意图,该方法可应用于台式机、一体机、笔记本、PAD等各种类型的计算机设备中。 [0092] Referring to FIG 5, FIG. 5 shows a power control device provides a schematic structural diagram of a fifth embodiment of the application, the method may be applied to desktop, one machine, a notebook, the PAD and other types of computer equipment. 如图5所示,所述装置可以包括获取模块100和控制模块200。 5, the apparatus may include an obtaining module 100 and control module 200.

[0093] 获取模块100,用于实时获取主机系统的当前工作状态及电源的预设参数项数值。 [0093] The acquisition module 100, a default parameter item acquired in real time values ​​of the current operating state of the host system and the power supply.

[0094] 实际应用本申请时,所述预设参数项可以是电源的输出功率,也可以是电源的输出电流,本实施例中所述预设参数项为电源的输出电流,即本实施例具体采用电源的输出电流作为电源节能或保护控制的控制依据之一。 [0094] Practical application of the present application, the term may be preset parameter output of the power may be a power supply output current, as described in the item preset parameters for the power output current of the present embodiment, i.e., the present embodiment specific uses one power control based on the output current of a power saving control or protection.

[0095] 主机系统工作状态及电源输出电流的检测功能可集成在电源管理芯片中,电源管理芯片与主机主板及电源相连,当电源开启后,电源管理芯片将通过设定的引脚检测主机系统的工作状态以及电源的输出电流。 [0095] The operating state of the host system and the power supply output current detection function can be integrated in the power management chip, the power management chip and connected with the main board and a power supply, when the power is turned on, the power management chip set pin detecting system of the host and the operating state of the power supply output current. 具体地,当主机系统处于SO或SI或S2状态时,其向电源管理芯片输出低电平状态信号;反之,主机系统处于S3或S4或S5状态时,则向电源管理芯片输出高电平状态信号,本实施例中,电源管理芯片通过其引脚SYS_0NB获取主机系统的高电平或低电平状态信号,而电源的输出电流则通过电源管理芯片的引脚I12B检测获取。 Specifically, when the host system is in state SO and SI or S2, which is output to the power management chip low-level signal; the contrary, when the host system is in S3 or S4, or S5 state, the output state to a high level power management chip signal, in this embodiment, the power management chip host system acquired high or low state signal through the pin SYS_0NB, and the power supply output current is obtained by detecting pin I12B power management chip.

[0096] 其中,主机系统的状态S0、S1、S2、S3、S4及S5具体为ACPI (AdvancedConfigurat1n and Power Interface,高级配置与电源接口)电源管理中所定义的六种系统状态,各状态的定义分别如下: [0096] wherein the host system state S0, S1, S2, S3, S4 and S5 specifically ACPI (AdvancedConfigurat1n and Power Interface, Advanced Configuration and Power Interface) defines six kinds of power management system state defined, each state They are as follows:

[0097] SO:电脑正常工作,所有硬件设备全部处于打开或正常工作的状态; [0097] SO: the computer is working properly, all hardware devices are all in a state of open or work;

[0098] S1:也称为POS (Power on Suspend,CPU停止工作),其他的硬件设备仍然正常工作; [0098] S1: also known as POS (Power on Suspend, CPU stops working), other hardware devices are still working properly;

[0099] S2:将CPU关闭,但其余的硬件设备仍然运转; [0099] S2: The CPU off, but the rest of the hardware device is still running;

[0100] S3:通常称为STR(Suspend to RAM,挂起到内存),指将运行中的数据写入内存后关闭硬盘,本状态即为待机状态,用鼠标或键盘可以唤醒; [0100] S3: commonly referred to STR (Suspend to RAM, Suspend to RAM), hard disks off means after the data write operation in the memory, the present state is the standby state, using the mouse or keyboard can wake up;

[0101] S4:也称为STD (Suspend to Disk,挂起到硬盘),指将内存信息写入硬盘,然后所有部件停止工作,本状态即为休眠状态(深度待机),一般通过按power键唤醒; [0101] S4: also called STD (Suspend to Disk, suspend to disk), memory means to write information to the hard disk, then all parts is stopped, the present state is the sleep state (standby depth), generally by pressing the power button wake;

[0102] S5:所有硬件设备(包括电源)全部都关闭,也就是关机。 [0102] S5: all hardware devices (including power) are all closed, i.e. off.

[0103] 控制模块200,用于依据所述主机系统的当前工作状态及电源的预设参数项数值,对电源进行节能或保护控制。 [0103] The control module 200, a preset value of the parameter item and the current operating state of the power supply according to the host system, or energy-saving power supply protection control.

[0104] 本申请同时将电源的输出电流及主机系统的实际工作状态这两个参数的取值,作为对电源进行节能或保护控制的控制依据,基于此,需预先根据两参数的不同取值情况制定不同的电源控制方案,后续在检测出两参数的实际取值后,可依据预先制定的控制方案,对电源进行相应的节能或保护控制,以实现结合主机系统的实际工作状态对电源进行按需控制。 [0104] This application while the output current value and the actual working conditions of the host system on these two parameters, as a power saving control based on the protection or control, based on this, according to two different values ​​of the required parameters in advance of the case for different power control scheme, the actual follow value is detected after the two parameters can be, for power saving or the corresponding protection control according to the control programs pre-established, in order to achieve a combination of actual operational state of the host system to the power supply control on demand.

[0105] 由以上方案可知,本申请公开的电源控制装置,实时获取主机系统的当前工作状态及电源的预设参数项数值;在此基础上,依据主机系统的当前工作状态及电源的预设参数项数值,对电源进行节能或保护控制。 [0105] From the above embodiment, the power supply control apparatus disclosed in the present application, real-time access Parameter preset value and the current operating state of the power system of the host; On this basis, according to the host system and the current operating state of the default power parameter values ​​for the power saving control or protection. 可见,区别于现有技术,本申请同时将电源的预设参数项数值(譬如输出功率或输出电流)及主机系统的当前工作状态,作为电源节能及保护控制的控制依据,从而实现了结合主机系统的实际工作状态对电源进行按需控制,相比于现有技术较为单一、粗略的控制方式,本申请可匹配PC主机系统的实际工作状态对电源进行更为精准的控制。 Visible, distinguished from the prior art, while the present application preset power value of the parameter item (such as output current or output power) and the current operating state of the host system, as the control and protection according to the power saving control, enabling binding Host the actual working state of the system power supply-demand control, compared to the prior art more single, coarse control mode, the application may match the actual operating state of the host PC power supply system for more precise control.

[0106] 实施例六 [0106] Sixth Embodiment

[0107] 参考图6,图6为本申请提供的一种电源控制装置实施例六的结构示意图,本实施例中,假设主机系统的当前工作状态为SO或SI或S2,则所述控制模块200包括第一判断单元210和第一控制单元220。 [0107] Referring to FIG. 6, FIG. 6 is a power control device provides a schematic diagram of a configuration according to a sixth embodiment of the application, in this embodiment, the current operating state of the host system is assumed SO or SI or S2, the control module 200 includes a first determination unit 210 and a first control unit 220.

[0108] 第一判断单元210,用于判断电源的输出电流是否达到预设的第一保护阈值。 [0108] The first determination unit 210 for determining whether the power supply output current reaches a first preset protection threshold.

[0109] 第一控制单元220,用于在判断结果为是时,控制电源进入保护模式。 [0109] The first control unit 220, for the determination result is yes, the control power supply into the protected mode.

[0110] 本实施例针对SYS_0NB处于低电平信号状态,即针对主机系统的工作状态为SO或SI或S2的情况,给出相应的节能及保护控制方案。 [0110] The present embodiment is directed to a low level signal SYS_0NB state, i.e., the operating state for the case where the host system is SO or SI or S2 is given energy and the corresponding protection control scheme.

[0111] 由实施例五对主机系统状态的描述可知,SO状态下电脑正常工作,且处于高电源供应状态,SI及S2状态下电脑正常工作,但处于低电源供应状态;三种状态均属于用户正常使用电脑的情况,主机系统中的风扇等硬件设备均正常工作,从而需要电源进行正常供电,因此,所述三种系统状态下,为了不影响用户体验,为用户正常使用电脑进行正常供电,不适宜控制电源进入节能模式。 [0111] apparent from the host system described in the state of five pairs embodiment, under normal operation the computer SO state, and the power supply in a high state, the computer is operational state SI and S2, but the power supply is in a low state; three states belong normal use of the computer user, host system fans and other hardware are working properly, requiring the normal power supply, therefore, the system state of the three, in order not to affect user experience, the normal power supply to the normal use of the computer user , not suitable for controlling the power saving mode. 基于此,本实施例中,当主机系统运行于SO或SI或S2状态时,仅对电源进行保护控制,而不对其进行节能控制。 Based on this, in the present embodiment, when the host system is operating in state SO or SI or S2, is only to protect the power control without saving its control.

[0112] 主机系统运行于以上三种状态时,当电源的输出电流过大并达到设定的过流保护点,即所述第一保护阈值时,为了避免损毁电源或主机,需对电源进行保护控制,使其进入保护模式。 [0112] The host system is running in the above three states, the power supply when the output current reaches an excessive current protection and set point, i.e., when the first protection threshold, in order to avoid damage to the power supply or a host, the need for power supply protection control, make it into protection mode.

[0113] 其中,电源的过流保护点可由技术人员依据电源及主机系统中各器件的性能参数进行设定,本实施例具体将S0、S1、S2状态下的电源过流保护点设定为19.5A,即当电源的输出电流达到19.5A时,控制电源进行保护模式,以保护电源或主机不发生过流损坏。 [0113] wherein the overcurrent protection point of the power may be set in the art based on the power and performance parameters of each device in the host system, the present embodiment will be specifically S0, S1, S2 of the power point overcurrent state is set to 19.5A, i.e. when the power supply output current reaches 19.5A, the control power supply protection mode, the power supply to protect the host or overcurrent without damage.

[0114] 实施例七 [0114] Seventh Embodiment

[0115] 参考图7,图7为本申请提供的一种电源控制装置实施例七的结构示意图,本实施例中,假设主机系统的当前工作状态为S3或S4或S5,则所述控制模块200包括第二判断单元230、第二控制单元240、第三判断单元250和第三控制单元260。 [0115] Referring to FIG 7, FIG. 7 is a power control device provides a schematic structural diagram of Embodiment 7 of the application, in this embodiment, the current operating state of the host system is assumed S3 or S4 or S5, the control module 200 includes a second determining unit 230, the second control unit 240, a third determination unit 250 and the third control unit 260.

[0116] 其中,第二判断单元230,用于判断电源的输出电流是否低于预设的第一节能阈值; [0116] wherein the second determining means 230 for determining the power output of the first current is below a predetermined energy threshold;

[0117] 第二控制单元240,用于在所述第二判断单元的判断结果为低于所述第一节能阈值时,控制电源进入节能模式; Analyzing Results [0117] The second control unit 240 for the second judging unit is lower than the first power threshold value, the control power saving mode;

[0118] 第三判断单元250,用于在所述第二判断单元的判断结果为不低于所述第一节能阈值时,继续判断电源的输出电流是否达到预设的第二保护阈值; When the determination result [0118] The third determining unit 250, for the second determination unit is not lower than the first energy threshold, continue to determine whether the power supply output current reaches a second preset protection threshold;

[0119] 第三控制单元260,用于在所述第三判断单元的判断结果为达到所述第二保护阈值时,控制电源进入保护模式。 When the determination result [0119] The third control unit 260, for the third determination means to achieve the second protection threshold, the control power supply into the protected mode.

[0120] 本实施例针对SYS_0NB处于高电平信号状态,即针对主机系统的工作状态为S3或S4或S5的情况,给出相应的节能及保护控制方案。 [0120] The present embodiment is directed to a high level signal is SYS_0NB state, i.e., the operating state for the case where the host system is S3 or S4 or S5, the given energy and the corresponding protection control scheme.

[0121] 其中,本实施例将所述第一节能阈值设定为0.45A,第二保护阈值设为4.0A。 [0121] wherein the first embodiment of the present energy threshold is set to 0.45A, the second threshold is set to protect the 4.0A.

[0122] 当主机系统的工作状态为S3或S4或S5时,主机系统处于用户非正常开机使用的状态,例如主机中风扇等硬件设备未开启,同时若电源输出电流(I12B)小于所述第一节能阈值(0.45A),则电源轻载或空载,此时可控制电源进入节能模式,实现节能。 [0122] When the operation status of the host system S3 or S4 or S5, the host system is in an abnormal state of the user use the boot, such as a host hardware devices fan is not turned on, while if the power supply output current (I12B) smaller than the first an energy threshold (0.45A), the power light or no load, then the power saving mode may be controlled, to achieve energy saving. 具体地,电源管理芯片通过其节能控制脚BURST向主控芯片输出一个高电压指示信号,指示主控芯片控制电源进入节能模式。 In particular, a high voltage power management chip is the master chip outputs a signal indicative of the energy saving by the control pin BURST, indicates the master chip control power saving mode.

[0123] 相反,主机系统运行于S3或S4或S5状态时,若电源的输出电流较高,且达到设定的第二保护阈值(4.0A),则为了避免主机系统中相应器件因电流过大而损坏,需控制电源进入保护模式。 [0123] Instead, the host system is running in state S3 or S4 or S5, when a high output current power supply, and a second protective reaches the set threshold value (4.0A), in order to avoid the host system due to excessive current corresponding device that can be damaged, the power to be controlled into protected mode.

[0124] 区别于实施例二的过流保护点19.5A,本实施例将电源的过流保护点设定为4.0A基于以下考虑: [0124] different from the overcurrent protection point 19.5A Example II embodiment, the present embodiment of the overcurrent protection point is set to 4.0A power supply based on the following considerations:

[0125] 主机系统运行于S3或S4或S5状态时,系统的硬件设备未开启,风扇等散热器件不能对主机系统进行散热、降温,从而相比于散热器件正常运行的S0、S1及S2状态,主机系统的电流承受能力相应降低,譬如,S0、S1或S2状态下,1A的输出电流为电源的安全电流,不会导致电源及主机损坏,而S3、S4或S5状态下,电源产生的1A输出电流则会成为系统的异常电流,主机系统因无法散热、降温而易导致过流损坏。 [0125] The host system is operating in state S3 or S4 or S5, system hardware is not turned on, the fan and other heat dissipation device to the host system can not be heat, cooling, as compared to the normal operation of the heat radiating member S0, Sl and S2 state , the current carrying capacity of the host system corresponding reduction, for example, under S0, S1 or S2, the output current of 1A is safe current power supply, the power supply will not lead to damage and host, and the next S3, S4 or S5 state, the power generated 1A current output will become abnormal current system, the host system can not be due to heat, cooling apparent cause overcurrent damage.

[0126] 基于此,本申请结合主机系统的不同工作状态,制定了不同的电源控制方案,实现了对电源进行按需控制,控制精度较高。 [0126] Based on this, the present state of the host application in conjunction with different operating system, developed a different power control schemes, realizes the power-demand control, high precision control.

[0127] 实施例八 [0127] Example eight

[0128] 参考图8,图8为本申请提供的一种电源控制装置法实施例八的结构示意图,本实施例以实施例七所提供的应用场景及方案为前提,如图8所示,所述控制模块200还可以包括第四判断单元270和第四控制单元280。 [0128] Referring to FIG 8, FIG 8 is a power control device provides a schematic structural diagram of method eight embodiment application of the present embodiment to embodiment and application scenario according to a seventh embodiment provided as a precondition embodiment, shown in Figure 8, the control module 200 may further include a fourth determination unit 270, and a fourth control unit 280.

[0129] 第四判断单元270,用于在所述控制电源进入节能模式后,判断实时获取的电源输出电流是否达到预设的第二节能阈值; [0129] The fourth judgment unit 270, the power supply for the control after saving mode, acquired in real time determines whether the power supply output current reaches a second predetermined energy threshold;

[0130] 第四控制单元280,用于在所述第四判断单元的判断结果为是时,控制电源跳出节能模式。 [0130] The fourth control unit 280, for the determination result of the fourth determination means is positive, the control power saving mode out.

[0131] 在控制电源进入节能模式后,需继续检测电源的输出电流,一旦电源的输出电流回升至设定的第二节能阈值,则控制电源跳出节能模式。 [0131] After controlling the power saving mode, the need continues to detect the output current of the power supply, the output current of the power recovery once the second energy threshold to set out the control power saving mode. 具体地,当I12B脚检测出电源输出电流达到第二节能阈值时,电源管理芯片的节能控制脚BURST会向主控芯片输出一个低电压指示信号,指示主控芯片控制电源跳出节能模式。 Specifically, when the foot I12B detected the output current reaches a second energy threshold, the energy management chip power BURST control pin will indicate a low voltage signal is output to the control chip, the master chip indicating control power saving mode out.

[0132] 本实施例中,,所述第二节能阈值具体为0.6A。 [0132] In this embodiment ,, the second energy threshold is specifically 0.6A. 理想状态下,电源进入节能模式及跳出节能模式的电流阈值可设置为同一数值,但考虑到实际应用场景中,PCB(PrintedCircuit Board,印制电路板)存在线路公差,因此,本实施例将跳出节能模式的电流阈值设置为高于进入节能模式电流阈值的一个数值。 Ideally, the power saving mode and out of the current threshold energy saving mode can be set to the same value, but considering the practical application scenarios, PCB (PrintedCircuit Board, printed circuit boards) exist line tolerances, therefore, the present embodiment will bounce current threshold energy saving mode is set to a value higher than the saving mode current threshold.

[0133] 需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。 [0133] Incidentally, the various embodiments of the present specification are described in a progressive manner, differences from the embodiment and the other embodiments each of which emphasizes embodiment, the same or similar portions between the respective embodiments We can see each other.

[0134] 为了描述的方便,描述以上系统时以功能分为各种模块或单元分别描述。 [0134] For convenience of description, the description of the above system is divided into various functional modules or units are described separately. 当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。 Of course, the function of each unit is implemented in one or more software and / or hardware at the time of application of the present embodiment.

[0135] 通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件平台的方式来实现。 [0135] By the above described embodiments can be seen, those skilled in the art can understand that the present application may be implemented by software plus a necessary universal hardware platform. 基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例或者实施例的某些部分所述的方法。 Based on such understanding, the technical solutions of the present application or the nature of the part contributing to the prior art may be embodied in a software product, which computer software product may be stored in a storage medium such as ROM / RAM, magnetic disk, , an optical disc, and includes several instructions that enable a computer device (may be a personal computer, a server, or network device) method for each application of the present embodiment or embodiments certain portions of the described embodiment is performed.

[0136] 最后,还需要说明的是,在本文中,诸如第一、第二、第三和第四等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。 [0136] Finally, it should be noted that, herein, relational terms such as first, second, third, fourth, and the like are only used to distinguish one entity or operation from another entity or action distinguish , without necessarily requiring or implying any such actual relationship or order between these entities or operations. 而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。 Further, the term "comprising", "containing" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, article, or apparatus not include only those elements but not expressly listed further comprising the other elements, or further comprising such process, method, article, or apparatus inherent elements. 在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。 Without more constraints, by the wording "include a ......" defined does not exclude the existence of additional identical elements in the element comprising a process, method, article, or apparatus.

[0137] 以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。 [0137] The above are only preferred embodiments of the present invention, it should be noted that those of ordinary skill in the art, in the present invention without departing from the principles of the premise, can make various improvements and modifications, such modifications and modifications should also be regarded as the protection scope of the present invention.

Claims (13)

1.一种电源控制方法,其特征在于,包括: 实时获取主机系统的当前工作状态及电源的预设参数项数值; 依据所述主机系统的当前工作状态及电源的预设参数项数值,对电源进行节能或保护控制。 A power supply control method comprising: Parameter default value of the current operating state and the power of the host system acquired in real time; Parameter default value of the current operating state and the power of the host system based on protection or control energy-saving power.
2.根据权利要求1所述的方法,其特征在于,所述主机系统的当前工作状态为如下六种状态中的任意一种: 正常工作状态S0、中央处理器CPU停止工作的状态S1、CPU关闭的状态S2、待机状态S3、休眠状态S4、关机状态S5。 2. The method according to claim 1, wherein the current operating state of the host system is any one of the following six states: the normal working state S0, a central processing unit CPU stopped state Sl, CPU closed state S2, the standby state S3, hibernation S4, off state S5.
3.根据权利要求2所述的方法,其特征在于,所述预设参数项为电源的输出电流。 3. The method according to claim 2, wherein said predetermined parameter item as a power supply output current.
4.根据权利要求3所述的方法,其特征在于,主机系统的当前工作状态为SO或SI或S2,则所述依据所述主机系统的当前工作状态及电源的预设参数项数值,对电源进行节能或保护控制包括: 判断电源的输出电流是否达到预设的第一保护阈值; 若判断结果为是,则控制电源进入保护模式。 4. The method according to claim 3, wherein the current operating state of the host system is SO or SI or S2, and the predetermined operating state of the power supply according to the current value of the parameter item is the host system, for protection or control energy-saving power supply comprising: determining whether the power supply output current reaches a first preset protection threshold; if the judgment result is YES, the control power supply into the protected mode.
5.根据权利要求3所述的方法,其特征在于,主机系统的当前工作状态为S3或S4或S5,则所述依据所述主机系统的当前工作状态及电源的预设参数项数值,对电源进行节能或保护控制包括: 判断电源的输出电流是否低于预设的第一节能阈值; 若判断结果为低于所述第一节能阈值,则控制电源进入节能模式; 若判断结果为不低于所述第一节能阈值,则继续判断电源的输出电流是否达到预设的第二保护阈值;若判断结果为达到所述第二保护阈值,则控制电源进入保护模式。 5. The method according to claim 3, wherein the current operating state of the host system S3 or S4 or S5, the default value of the parameter item and the current operation state according to the power of the host system is, for protection or control energy-saving power supply comprising: determining whether the power supply output current is lower than a preset first energy threshold; if the determination result is less than the first power threshold value, the control power saving mode; if the judging result is not low to said first energy threshold then determine whether the power supply output current reaches a second preset protection threshold; if the judging result reaches the second protection threshold, the control power into protected mode.
6.根据权利要求5所述的方法,其特征在于,在所述控制电源进入节能模式后,还包括: 判断实时获取的电源输出电流是否达到预设的第二节能阈值,若判断结果为是,则控制电源跳出节能模式。 6. The method as claimed in claim 5, wherein, after said control power saving mode, further comprising: determining in real time the acquired power supply output current reaches a second predetermined energy threshold, if the judgment result is YES , out of the control power saving mode.
7.根据权利要求4所述的方法,其特征在于,所述第一保护阈值为19.5A。 7. The method as claimed in claim 4, wherein said first protective threshold is 19.5A.
8.根据权利要求5所述的方法,其特征在于,所述第一节能阈值为0.45A,所述第二保护阈值为4A。 8. The method as claimed in claim 5, wherein said first energy threshold is 0.45A, the second protective threshold 4A.
9.根据权利要求6所述的方法,其特征在于,所述第二节能阈值为0.6A。 9. The method according to claim 6, wherein said second energy threshold is 0.6A.
10.一种电源控制装置,其特征在于,包括: 获取模块,用于实时获取主机系统的当前工作状态及电源的预设参数项数值; 控制模块,用于依据所述主机系统的当前工作状态及电源的预设参数项数值,对电源进行节能或保护控制。 A power supply control apparatus comprising: obtaining means for obtaining real time value preset Parameter host system and the current operating state of the power supply; and a control module configured according to the current operating state of host system parameter default value and the power, or energy-saving power supply protection control.
11.根据权利要求10所述的装置,其特征在于,所述主机系统的当前工作状态为SO或SI或S2时,所述控制模块包括: 第一判断单元,用于判断电源的输出电流是否达到预设的第一保护阈值; 第一控制单元,用于在判断结果为是时,控制电源进入保护模式。 11. The apparatus according to claim 10, wherein the current operating state of the host system is SO or SI or S2, the control module comprises: a first judging means for judging whether the output current of the power supply a first protective reaches a preset threshold value; a first control unit for the determination result is yes, the control power supply into the protected mode.
12.根据权利要求10所述的装置,其特征在于,所述主机系统的当前工作状态为S3或S4或S5时,所述控制模块包括: 第二判断单元,用于判断电源的输出电流是否低于预设的第一节能阈值; 第二控制单元,用于在所述第二判断单元的判断结果为低于所述第一节能阈值时,控制电源进入节能模式; 第三判断单元,用于在所述第二判断单元的判断结果为不低于所述第一节能阈值时,继续判断电源的输出电流是否达到预设的第二保护阈值; 第三控制单元,用于在所述第三判断单元的判断结果为达到所述第二保护阈值时,控制电源进入保护模式。 12. The apparatus according to claim 10, wherein the current operating state of the host system when S3 or S4 or S5, the control module comprises: a second judging means for judging whether the output current of the power supply lower than a preset first threshold energy; and a second control unit for determining the result of the second judging unit is lower than the first power threshold value, the control power saving mode; third determination means, with when the result of the determination in the second determination unit is not lower than the first power threshold value, it continues to determine whether the power supply output current reaches a second preset protection threshold; third control unit, for the first when the determination result is three determination unit reaches the second protection threshold, the control power supply into the protected mode.
13.根据权利要求12所述的装置,其特征在于,所述控制模块还包括: 第四判断单元,用于在电源进入节能模式后,判断实时获取的电源输出电流是否达到预设的第二节能阈值; 第四控制单元,用于在所述第四判断单元的判断结果为是时,控制电源跳出节能模式。 Second and fourth determination means for, after entering the power saving mode, acquired in real time determines whether the power supply output current reaches a preset: 13. The apparatus according to claim 12, wherein the control module further comprises energy threshold value; and a fourth control means for determining the result of the fourth determination means is positive, the control power saving mode out.
CN201510190823.XA 2015-04-21 2015-04-21 Power supply control method and device CN106155259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510190823.XA CN106155259A (en) 2015-04-21 2015-04-21 Power supply control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510190823.XA CN106155259A (en) 2015-04-21 2015-04-21 Power supply control method and device

Publications (1)

Publication Number Publication Date
CN106155259A true CN106155259A (en) 2016-11-23

Family

ID=58057904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510190823.XA CN106155259A (en) 2015-04-21 2015-04-21 Power supply control method and device

Country Status (1)

Country Link
CN (1) CN106155259A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1640120A (en) * 2002-02-27 2005-07-13 皇家飞利浦电子股份有限公司 Power standby mode circuitry for audiovisual device
US20060098368A1 (en) * 2004-11-09 2006-05-11 Dell Products L.P. Auto adjustment of over current protection in degraded mode
CN102084261A (en) * 2008-07-11 2011-06-01 三美电机株式会社 Battery state monitoring device
US20140068288A1 (en) * 2012-09-04 2014-03-06 Motorola Mobility, Inc. Method and device with enhanced battery capacity savings
CN104035344A (en) * 2013-03-04 2014-09-10 纬创资通股份有限公司 Power-saving device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1640120A (en) * 2002-02-27 2005-07-13 皇家飞利浦电子股份有限公司 Power standby mode circuitry for audiovisual device
US20060098368A1 (en) * 2004-11-09 2006-05-11 Dell Products L.P. Auto adjustment of over current protection in degraded mode
CN102084261A (en) * 2008-07-11 2011-06-01 三美电机株式会社 Battery state monitoring device
US20140068288A1 (en) * 2012-09-04 2014-03-06 Motorola Mobility, Inc. Method and device with enhanced battery capacity savings
CN104035344A (en) * 2013-03-04 2014-09-10 纬创资通股份有限公司 Power-saving device

Similar Documents

Publication Publication Date Title
US7272732B2 (en) Controlling power consumption of at least one computer system
US6904534B2 (en) Progressive CPU sleep state duty cycle to limit peak power of multiple computers on shared power distribution unit
US5745375A (en) Apparatus and method for controlling power usage
CN1167023C (en) Method for waking up signal control computer system power supply by using local area network and its equipment
US7596705B2 (en) Automatically controlling processor mode of multi-core processor
EP2485117B1 (en) Method and apparatus for adjusting the voltage and frequency to minimize power dissipation in a multiprocessor system
CN101067759B (en) Power allocation management in an information handling system
US20090063877A1 (en) Systems and methods for power management
US7120808B2 (en) Information processing apparatus and method, as well as program
US8639962B2 (en) Power profiling application for managing power allocation in an information handling system
KR101173730B1 (en) Dynamic power reduction
US20080271026A1 (en) Systems and Media for Controlling Temperature in a Computer System
CN102652296B (en) Based systems and methods for dynamically controlling the temperature of a plurality of multi-core core of the central processing unit
US7069189B2 (en) Method and apparatus for controlling multiple resources using thermal related parameters
WO2009002383A2 (en) Dynamic converter control for efficient operation
US7689850B2 (en) System and method for adaptive information handling system power management
US9721660B2 (en) Configurable volatile memory without a dedicated power source for detecting a data save trigger condition
CN1722060A (en) Always ready computing device
US7512824B2 (en) System and method for managing power consumption in a computer system having a redundant power supply
US7921203B2 (en) Specifying associations among attributes of entities in
US20090169188A1 (en) Apparatus and method for fan auto-detection
KR100563691B1 (en) Apparatus and method for managing power in computer system
US20060174146A1 (en) Microprocessor performance mode control utilizing sensed temperature as an indication of microprocessor utilization
JP2002328754A (en) Power supply system and computer equipment and maximum power control method
KR20130126647A (en) Maximum current limiting method and apparatus

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination