[go: up one dir, main page]

CN105320241A - Power supplying method and device for server power supply - Google Patents

Power supplying method and device for server power supply Download PDF

Info

Publication number
CN105320241A
CN105320241A CN201510809561.0A CN201510809561A CN105320241A CN 105320241 A CN105320241 A CN 105320241A CN 201510809561 A CN201510809561 A CN 201510809561A CN 105320241 A CN105320241 A CN 105320241A
Authority
CN
China
Prior art keywords
redundant power
threshold
power supply
mode
current
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201510809561.0A
Other languages
Chinese (zh)
Inventor
鞠增伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
IEIT Systems Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510809561.0A priority Critical patent/CN105320241A/en
Publication of CN105320241A publication Critical patent/CN105320241A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

The invention provides a power supplying method and device for a server power supply. The method includes the steps that the first threshold value and the second threshold value of a redundant power supply are preset; the current operating mode and the current input current of the redundant power supply are determined; when it is monitored that the input current of the redundant power supply is changed, the next operating mode of the redundant power supply is determined according to the first threshold value, the second threshold value, the current operating mode of the redundant power supply and the changed input current of the redundant power supply; when the next operating mode of the redundant power supply and the current operating mode of the redundant power supply are different, the current operating mode of the redundant power supply is switched into the next operating mode. According to the scheme, the operating modes of the redundant power supply can be automatically and intelligently switched between different operating modes by monitoring the input current of the redundant power supply in real time, and therefore the energy-saving effect of the server power supply can be achieved.

Description

一种服务器电源供电的方法及装置Method and device for server power supply

技术领域technical field

本发明涉及服务器电源技术领域,特别涉及一种服务器电源供电的方法及装置。The present invention relates to the technical field of server power supply, in particular to a method and device for power supply of server power supply.

背景技术Background technique

随着互联网时代的不断发展,服务器的地位显著提升。为了追求服务器的高效运行,越来越多的人尝试在服务器电源上找到节能的突破口。With the continuous development of the Internet age, the status of the server has been significantly improved. In order to pursue efficient operation of servers, more and more people try to find a breakthrough in energy saving in server power supplies.

目前,服务器电源多使用常见冗余电源(commonredundantpowersupply)对服务器进行供电。冗余电源中的两个电源完全相同,且负载均衡。当服务器电源处于轻载状态且单个电源即可满足其负载需求时,冗余电源中的两个电源仍均上电运行,这在一定程度上增加了服务器电源的能耗。At present, the server power supply mostly uses a common redundant power supply (common redundant power supply) to supply power to the server. The two power supplies in a redundant power supply are identical and load-balanced. When the server power supply is in a light-load state and a single power supply can meet its load requirements, the two power supplies in the redundant power supply are still powered on and running, which increases the energy consumption of the server power supply to a certain extent.

发明内容Contents of the invention

有鉴于此,本发明提供了一种服务器电源供电的方法及装置,能够实现服务器电源的节能效果。In view of this, the present invention provides a server power supply method and device, which can realize the energy-saving effect of the server power supply.

为了达到上述目的,本发明是通过如下技术方案实现的:In order to achieve the above object, the present invention is achieved through the following technical solutions:

一方面,本发明提供了一种服务器电源供电的方法,该方法包括:预先设置冗余电源的第一阈值和第二阈值,其中,所述第一阈值不大于所述第二阈值,还包括:In one aspect, the present invention provides a method for power supply of a server, the method comprising: pre-setting a first threshold and a second threshold of a redundant power supply, wherein the first threshold is not greater than the second threshold, and further includes :

S1:确定所述冗余电源当前的工作模式和所述冗余电源当前的输入电流;S1: Determine the current working mode of the redundant power supply and the current input current of the redundant power supply;

S2:监测所述冗余电源的输入电流,当监测到所述冗余电源的输入电流发生改变时,执行S3;S2: Monitor the input current of the redundant power supply, and execute S3 when it is detected that the input current of the redundant power supply changes;

S3:根据所述第一阈值和所述第二阈值、所述冗余电源当前的工作模式以及改变后的所述冗余电源的输入电流,确定所述冗余电源下一个的工作模式;S3: Determine the next working mode of the redundant power supply according to the first threshold and the second threshold, the current working mode of the redundant power supply, and the changed input current of the redundant power supply;

S4:当所述冗余电源下一个的工作模式与所述冗余电源当前的工作模式不同时,将所述冗余电源的工作模式切换为所述下一个的工作模式,并执行S1;否则,维持所述冗余电源当前的工作模式,并执行S1。S4: When the next working mode of the redundant power supply is different from the current working mode of the redundant power supply, switch the working mode of the redundant power supply to the next working mode, and execute S1; otherwise , maintaining the current working mode of the redundant power supply, and executing S1.

进一步地,所述确定所述冗余电源下一个的工作模式,包括:Further, the determining the next working mode of the redundant power supply includes:

判断所述改变后的所述冗余电源的输入电流与所述第一阈值,和/或,所述第二阈值的关系;judging the relationship between the changed input current of the redundant power supply and the first threshold, and/or, the second threshold;

在判断结果包括所述改变后的所述冗余电源的输入电流不小于所述第二阈值时,确定所述冗余电源下一个的工作模式为均流模式;When the judgment result includes that the changed input current of the redundant power supply is not less than the second threshold, determine that the next working mode of the redundant power supply is the current sharing mode;

在判断结果包括所述改变后的所述冗余电源的输入电流不大于所述第一阈值时,确定所述冗余电源下一个的工作模式为active+standby模式;When the judgment result includes that the changed input current of the redundant power supply is not greater than the first threshold, determine that the next working mode of the redundant power supply is active+standby mode;

在判断结果包括所述改变后的所述冗余电源的输入电流大于所述第一阈值但小于所述第二阈值时,确定所述冗余电源下一个的工作模式为所述冗余电源当前的工作模式。When the judgment result includes that the changed input current of the redundant power supply is greater than the first threshold but smaller than the second threshold, determine that the next working mode of the redundant power supply is the current redundant power supply working mode.

进一步地,在S1之前,还包括:预先设置所述冗余电源在启动时的输入电流不小于所述第二阈值时,所述冗余电源在启动时的工作模式为均流模式;设置所述冗余电源在启动时的输入电流不大于所述第一阈值时,所述冗余电源在启动时的工作模式为active+standby模式;设置所述冗余电源在启动时的输入电流位于过渡带时,所述冗余电源在启动时的工作模式为均流模式和active+standby模式中的任意一种;所述过渡带,包括:大于所述第一阈值但小于所述第二阈值的电流值区间;Further, before S1, it also includes: presetting that when the input current of the redundant power supply at startup is not less than the second threshold value, the working mode of the redundant power supply at startup is the current sharing mode; setting the When the input current of the redundant power supply at startup is not greater than the first threshold, the working mode of the redundant power supply at startup is active+standby mode; the input current of the redundant power supply at startup is set to be at the transition band, the working mode of the redundant power supply at start-up is any one of current sharing mode and active+standby mode; the transition band includes: greater than the first threshold but less than the second threshold Current value range;

在S1之前,还包括:服务器开机启动时,根据所述冗余电源在启动时的工作模式的设置信息,根据所述冗余电源在启动时的输入电流确定所述冗余电源在启动时的工作模式。Before S1, it also includes: when the server starts up, according to the setting information of the working mode of the redundant power supply at startup, according to the input current of the redundant power supply at startup, determine the Operating mode.

进一步地,在所述预先设置冗余电源的第一阈值和第二阈值之前,还包括:Further, before the preset first threshold and second threshold of the redundant power supply, it also includes:

在所述冗余电源的功能地址上设置用于开启和关闭对所述第一阈值,和/或,所述第二阈值进行设置的功能选项,根据该功能选项选择开启或关闭对所述第一阈值,和/或,对所述第二阈值的设置。Set a function option for turning on and off the first threshold and/or setting the second threshold on the function address of the redundant power supply, and select whether to turn on or turn off the second threshold according to the function option a threshold, and/or, a setting for the second threshold.

进一步地,所述第一阈值和所述第二阈值的差值的绝对值为3~5A。Further, the absolute value of the difference between the first threshold and the second threshold is 3-5A.

另一方面,本发明提供了一种服务器电源供电的装置,包括:In another aspect, the present invention provides a server power supply device, including:

第一设置单元,用于设置冗余电源的第一阈值和第二阈值,其中,所述第一阈值不大于所述第二阈值;A first setting unit, configured to set a first threshold and a second threshold of the redundant power supply, wherein the first threshold is not greater than the second threshold;

确定单元,用于确定所述冗余电源当前的工作模式和所述冗余电源当前的输入电流;a determining unit, configured to determine the current working mode of the redundant power supply and the current input current of the redundant power supply;

第一处理单元,用于监测所述冗余电源的输入电流,当监测到所述冗余电源的输入电流发生改变时,通知第二处理单元;The first processing unit is configured to monitor the input current of the redundant power supply, and notify the second processing unit when it is detected that the input current of the redundant power supply changes;

第二处理单元,用于根据所述第一阈值和所述第二阈值、所述冗余电源当前的工作模式以及改变后的所述冗余电源的输入电流,确定所述冗余电源下一个的工作模式;The second processing unit is configured to determine the next step of the redundant power supply according to the first threshold and the second threshold, the current working mode of the redundant power supply, and the changed input current of the redundant power supply. working mode;

第三处理单元,用于当所述冗余电源下一个的工作模式与所述冗余电源当前的工作模式不同时,将所述冗余电源的工作模式切换为所述下一个的工作模式,并触发所述确定单元执行相应操作;否则,维持所述冗余电源当前的工作模式,并触发所述确定单元执行相应操作。The third processing unit is configured to switch the working mode of the redundant power supply to the next working mode when the next working mode of the redundant power supply is different from the current working mode of the redundant power supply, And trigger the determination unit to perform a corresponding operation; otherwise, maintain the current working mode of the redundant power supply, and trigger the determination unit to perform a corresponding operation.

进一步地,所述第二处理单元,具体用于判断所述改变后的所述冗余电源的输入电流与所述第一阈值,和/或,所述第二阈值的关系;Further, the second processing unit is specifically configured to judge the relationship between the changed input current of the redundant power supply and the first threshold, and/or, the second threshold;

在判断结果包括所述改变后的所述冗余电源的输入电流不小于所述第二阈值时,确定所述冗余电源下一个的工作模式为均流模式;When the judgment result includes that the changed input current of the redundant power supply is not less than the second threshold, determine that the next working mode of the redundant power supply is the current sharing mode;

在判断结果包括所述改变后的所述冗余电源的输入电流不大于所述第一阈值时,确定所述冗余电源下一个的工作模式为active+standby模式;When the judgment result includes that the changed input current of the redundant power supply is not greater than the first threshold, determine that the next working mode of the redundant power supply is active+standby mode;

在判断结果包括所述改变后的所述冗余电源的输入电流大于所述第一阈值但小于所述第二阈值时,确定所述冗余电源下一个的工作模式为所述冗余电源当前的工作模式。When the judgment result includes that the changed input current of the redundant power supply is greater than the first threshold but smaller than the second threshold, determine that the next working mode of the redundant power supply is the current redundant power supply working mode.

进一步地,该装置还包括:Further, the device also includes:

第二设置单元,用于设置所述冗余电源在启动时的输入电流不小于所述第二阈值时,所述冗余电源在启动时的工作模式为均流模式;设置所述冗余电源在启动时的输入电流不大于所述第一阈值时,所述冗余电源在启动时的工作模式为active+standby模式;设置所述冗余电源在启动时的输入电流位于过渡带时,所述冗余电源在启动时的工作模式为均流模式和active+standby模式中的任意一种;所述过渡带,包括:大于所述第一阈值但小于所述第二阈值的电流值区间;The second setting unit is used to set that when the input current of the redundant power supply is not less than the second threshold value at startup, the working mode of the redundant power supply at startup is current sharing mode; set the redundant power supply When the input current at start-up is not greater than the first threshold, the working mode of the redundant power supply at start-up is active+standby mode; when the input current of the redundant power supply at start-up is set in the transition zone, the The working mode of the redundant power supply at startup is any one of the current sharing mode and the active+standby mode; the transition zone includes: a current value interval greater than the first threshold but less than the second threshold;

第四处理单元,用于服务器开机启动时,根据所述冗余电源在启动时的工作模式的设置信息,根据所述冗余电源在启动时的输入电流确定所述冗余电源在启动时的工作模式。The fourth processing unit is configured to determine the starting current of the redundant power supply according to the setting information of the working mode of the redundant power supply when starting the server, and according to the input current of the redundant power supply when starting. Operating mode.

进一步地,该装置还包括:Further, the device also includes:

第三设置单元,用于在所述冗余电源的功能地址上设置用于开启和关闭对所述第一阈值,和/或,所述第二阈值进行设置的功能选项;A third setting unit, configured to set a function option for turning on and off setting the first threshold and/or the second threshold on the function address of the redundant power supply;

选择单元,用于根据该功能选项选择开启或关闭对所述第一阈值,和/或,对所述第二阈值的设置。A selection unit, configured to enable or disable the setting of the first threshold and/or the setting of the second threshold according to the function option.

进一步地,所述第一设置单元,具体用于设置所述第一阈值和所述第二阈值的差值的绝对值为3~5A。Further, the first setting unit is specifically configured to set an absolute value of a difference between the first threshold and the second threshold to 3-5A.

本发明提供了一种服务器电源供电的方法及装置,预先设置冗余电源的第一阈值和第二阈值,其中,所述第一阈值不大于所述第二阈值;确定所述冗余电源当前的工作模式和所述冗余电源当前的输入电流;当监测到所述冗余电源的输入电流发生改变时,根据所述第一阈值和所述第二阈值、所述冗余电源当前的工作模式以及改变后的所述冗余电源的输入电流,确定所述冗余电源下一个的工作模式;当所述冗余电源下一个的工作模式与所述冗余电源当前的工作模式不同时,将所述冗余电源当前的工作模式切换为所述下一个的工作模式。根据本方案,通过对所述冗余电源的输入电流的实时监测,使所述冗余电源的工作模式能够在不同工作模式之间进行自动智能切换,因此,本发明能够实现服务器电源的节能效果。The present invention provides a method and device for power supply of a server. The first threshold value and the second threshold value of the redundant power supply are preset, wherein the first threshold value is not greater than the second threshold value; The working mode of the redundant power supply and the current input current of the redundant power supply; when it is detected that the input current of the redundant power supply changes, according to the first threshold and the second threshold, the current working mode and the changed input current of the redundant power supply to determine the next working mode of the redundant power supply; when the next working mode of the redundant power supply is different from the current working mode of the redundant power supply, Switching the current working mode of the redundant power supply to the next working mode. According to this solution, through the real-time monitoring of the input current of the redundant power supply, the working mode of the redundant power supply can be automatically and intelligently switched between different working modes, therefore, the present invention can realize the energy-saving effect of the server power supply .

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are For some embodiments of the present invention, those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1是本发明一实施例提供的一种服务器电源供电的方法的流程图;FIG. 1 is a flow chart of a method for power supplying a server according to an embodiment of the present invention;

图2是本发明一实施例提供的另一种服务器电源供电的方法的流程图;Fig. 2 is a flow chart of another method for power supply of a server provided by an embodiment of the present invention;

图3是本发明一实施例提供的一种服务器电源供电的装置的示意图;Fig. 3 is a schematic diagram of a server power supply device provided by an embodiment of the present invention;

图4是本发明一实施例提供的另一种服务器电源供电的装置的示意图。FIG. 4 is a schematic diagram of another server power supply device provided by an embodiment of the present invention.

具体实施方式detailed description

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例,基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection of the present invention. scope.

如图1所示,本发明实施例提供了一种服务器电源供电的方法,可以包括以下步骤:As shown in FIG. 1, an embodiment of the present invention provides a method for power supply of a server, which may include the following steps:

步骤101:预先设置冗余电源的第一阈值和第二阈值,其中,所述第一阈值不大于所述第二阈值;Step 101: Presetting a first threshold and a second threshold of the redundant power supply, wherein the first threshold is not greater than the second threshold;

步骤102:确定所述冗余电源当前的工作模式和所述冗余电源当前的输入电流;Step 102: Determine the current working mode of the redundant power supply and the current input current of the redundant power supply;

步骤103:监测所述冗余电源的输入电流,当监测到所述冗余电源的输入电流发生改变时,执行步骤104;Step 103: Monitor the input current of the redundant power supply, and execute step 104 when it is detected that the input current of the redundant power supply changes;

步骤104:根据所述第一阈值和所述第二阈值、所述冗余电源当前的工作模式以及改变后的所述冗余电源的输入电流,确定所述冗余电源下一个的工作模式;Step 104: Determine the next working mode of the redundant power supply according to the first threshold and the second threshold, the current working mode of the redundant power supply, and the changed input current of the redundant power supply;

步骤105:当所述冗余电源下一个的工作模式与所述冗余电源当前的工作模式不同时,将所述冗余电源的工作模式切换为所述下一个的工作模式,并执行步骤102;否则,维持所述冗余电源当前的工作模式,并执行步骤102。Step 105: When the next working mode of the redundant power supply is different from the current working mode of the redundant power supply, switch the working mode of the redundant power supply to the next working mode, and execute step 102 ; Otherwise, maintain the current working mode of the redundant power supply, and execute step 102 .

本发明实施例提供了一种服务器电源供电的方法,预先设置冗余电源的第一阈值和第二阈值,其中,所述第一阈值不大于所述第二阈值;确定所述冗余电源当前的工作模式和所述冗余电源当前的输入电流;当监测到所述冗余电源的输入电流发生改变时,根据所述第一阈值和所述第二阈值、所述冗余电源当前的工作模式以及改变后的所述冗余电源的输入电流,确定所述冗余电源下一个的工作模式;当所述冗余电源下一个的工作模式与所述冗余电源当前的工作模式不同时,将所述冗余电源当前的工作模式切换为所述下一个的工作模式。根据本方案,通过对所述冗余电源的输入电流的实时监测,使所述冗余电源的工作模式能够在不同工作模式之间进行自动智能切换,因此,本发明实施例能够实现服务器电源的节能效果。An embodiment of the present invention provides a server power supply method, which presets a first threshold and a second threshold of a redundant power supply, wherein the first threshold is not greater than the second threshold; determining that the redundant power supply is currently The working mode of the redundant power supply and the current input current of the redundant power supply; when it is detected that the input current of the redundant power supply changes, according to the first threshold and the second threshold, the current working mode and the changed input current of the redundant power supply to determine the next working mode of the redundant power supply; when the next working mode of the redundant power supply is different from the current working mode of the redundant power supply, Switching the current working mode of the redundant power supply to the next working mode. According to this solution, through the real-time monitoring of the input current of the redundant power supply, the working mode of the redundant power supply can be automatically and intelligently switched between different working modes. Therefore, the embodiment of the present invention can realize the power supply of the server energy saving effect.

在一种可能的实现方式中,所述确定所述冗余电源下一个的工作模式,包括:In a possible implementation manner, the determining the next working mode of the redundant power supply includes:

判断所述改变后的所述冗余电源的输入电流与所述第一阈值,和/或,所述第二阈值的关系;judging the relationship between the changed input current of the redundant power supply and the first threshold, and/or, the second threshold;

在判断结果包括所述改变后的所述冗余电源的输入电流不小于所述第二阈值时,确定所述冗余电源下一个的工作模式为均流模式;When the judgment result includes that the changed input current of the redundant power supply is not less than the second threshold, determine that the next working mode of the redundant power supply is the current sharing mode;

在判断结果包括所述改变后的所述冗余电源的输入电流不大于所述第一阈值时,确定所述冗余电源下一个的工作模式为active+standby模式;When the judgment result includes that the changed input current of the redundant power supply is not greater than the first threshold, determine that the next working mode of the redundant power supply is active+standby mode;

在判断结果包括所述改变后的所述冗余电源的输入电流大于所述第一阈值但小于所述第二阈值时,确定所述冗余电源下一个的工作模式为所述冗余电源当前的工作模式。When the judgment result includes that the changed input current of the redundant power supply is greater than the first threshold but smaller than the second threshold, determine that the next working mode of the redundant power supply is the current redundant power supply working mode.

在一种可能的实现方式中,为了确定所述冗余电源在启动时的工作模式,所以,In a possible implementation manner, in order to determine the working mode of the redundant power supply when starting, therefore,

在步骤102之前,进一步包括:预先设置所述冗余电源在启动时的输入电流不小于所述第二阈值时,所述冗余电源在启动时的工作模式为均流模式;设置所述冗余电源在启动时的输入电流不大于所述第一阈值时,所述冗余电源在启动时的工作模式为active+standby模式;设置所述冗余电源在启动时的输入电流位于过渡带时,所述冗余电源在启动时的工作模式为均流模式和active+standby模式中的任意一种;所述过渡带,包括:大于所述第一阈值但小于所述第二阈值的电流值区间;Before step 102, it further includes: presetting that when the input current of the redundant power supply is not less than the second threshold when starting, the working mode of the redundant power supply is the current sharing mode when starting; setting the redundant power supply When the input current of the redundant power supply at startup is not greater than the first threshold, the working mode of the redundant power supply at startup is active+standby mode; when the input current of the redundant power supply at startup is located in the transition zone , the working mode of the redundant power supply at startup is any one of current sharing mode and active+standby mode; the transition zone includes: a current value greater than the first threshold but less than the second threshold interval;

在步骤102之前,进一步包括:服务器开机启动时,根据所述冗余电源在启动时的工作模式的设置信息,根据所述冗余电源在启动时的输入电流确定所述冗余电源在启动时的工作模式。Before step 102, it further includes: when the server is powered on, according to the setting information of the working mode of the redundant power supply at startup, according to the input current of the redundant power supply at startup, it is determined that the redundant power supply working mode.

在一种可能的实现方式中,为了能够判断所述冗余电源的输入电流与所述第一阈值,和/或,所述第二阈值的关系,从而确定所述冗余电源在启动时以及在运行过程中的工作模式,所以,在所述预先设置冗余电源的第一阈值和第二阈值之前,进一步包括:In a possible implementation manner, in order to be able to judge the relationship between the input current of the redundant power supply and the first threshold and/or the second threshold, it is determined when the redundant power supply is started and In the working mode during operation, therefore, before the preset first threshold and second threshold of the redundant power supply, it further includes:

在所述冗余电源的功能地址上设置用于开启和关闭对所述第一阈值,和/或,所述第二阈值进行设置的功能选项,根据该功能选项选择开启或关闭对所述第一阈值,和/或,对所述第二阈值的设置。Set a function option for turning on and off the first threshold and/or setting the second threshold on the function address of the redundant power supply, and select whether to turn on or turn off the second threshold according to the function option a threshold, and/or, a setting for the second threshold.

在一种可能的实现方式中,为了避免所述冗余电源的工作模式在所述第一阈值,和/或,所述第二阈值处反复的切换,所以,所述第一阈值和所述第二阈值的差值的绝对值为3~5A。In a possible implementation manner, in order to avoid repeated switching of the working mode of the redundant power supply at the first threshold and/or at the second threshold, the first threshold and the The absolute value of the difference between the second thresholds is 3˜5A.

为使本发明的目的、技术方案和优点更加清楚,下面结合附图及具体实施例对本发明作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

如图2所示,本发明实施例提供了另一种服务器电源供电的方法,该方法可以包括以下步骤:As shown in FIG. 2, the embodiment of the present invention provides another method for power supply of a server, and the method may include the following steps:

步骤201:在冗余电源的功能地址上设置用于开启和关闭对第一阈值和第二阈值进行设置的功能选项。Step 201: Set a function option for turning on and off setting the first threshold and the second threshold on the function address of the redundant power supply.

假设现有一个冗余电源R,该冗余电源R作为服务器电源对服务器S进行供电,以支持服务器S的正常运行。由于服务器S在实际运行过程中的负载情况多变,为了根据负载程度的不同使冗余电源R使用不同的供电模式,可以设定两个阈值,当冗余电源R的输入电流低于某一阈值时,冗余电源R以active+standby模式供电,当冗余电源R的输入电流高于某一阈值时,冗余电源R以均流模式供电。Assuming that there is a redundant power supply R, the redundant power supply R serves as a server power supply to supply power to the server S to support the normal operation of the server S. Since the load of the server S is variable during actual operation, in order to make the redundant power supply R use different power supply modes according to different load levels, two thresholds can be set. When the input current of the redundant power supply R is lower than a certain threshold, the redundant power supply R supplies power in active+standby mode, and when the input current of the redundant power supply R is higher than a certain threshold, the redundant power supply R supplies power in current sharing mode.

其中,服务器S的运行任务越多,冗余电源R的负载越重,冗余电源R的输入电流就相应的越高,相反,服务器S的运行任务越少,冗余电源R的负载越轻,冗余电源R的输入电流就相应的越低。Among them, the more running tasks of the server S, the heavier the load of the redundant power supply R, the correspondingly higher input current of the redundant power supply R, on the contrary, the less the running tasks of the server S, the lighter the load of the redundant power supply R , the input current of the redundant power supply R is correspondingly lower.

详细的,均流模式为冗余电源中的两个电源各分担50%的负载。其中,负载允许有5%~10%的变化。In detail, in the current sharing mode, each of the two power supplies in the redundant power supply shares 50% of the load. Among them, the load is allowed to vary by 5% to 10%.

详细的,active+standby模式为冗余电源中的一个电源作为active电源并承担全部负载,另一电源作为standby电源并处于待机备用状态。其中,冗余电源可以输入双交流电流,或者输入双直流电流,或者其中任一电源输入直流电,另一电源输入交流电。用户可以根据实际需求,选择任一电源作为active电源,另一电源作为standby电源。In detail, in the active+standby mode, one of the redundant power supplies acts as an active power supply and bears all loads, and the other power supply acts as a standby power supply and is in a standby state. Wherein, the redundant power supply can input dual AC current, or input dual DC current, or any one of the power sources can input DC power, and the other power source can input AC power. Users can choose any power supply as the active power supply and the other power supply as the standby power supply according to actual needs.

举例来说,在系统软件的程序编写过程中,可以在服务器电源的功能地址上设置一个功能选项,通过该功能选项,可以选择开启或关闭对第一阈值和第二阈值的设置。For example, in the process of programming the system software, a function option can be set on the function address of the server power supply, through which the setting of the first threshold and the second threshold can be selected to be enabled or disabled.

步骤202:开启对所述第一阈值和所述第二阈值的设置。Step 202: Start setting the first threshold and the second threshold.

为了使冗余电源R能够根据服务器S负载程度的不同使用不同的供电模式,开启对所述第一阈值和所述第二阈值的设置。In order to enable the redundant power supply R to use different power supply modes according to different load levels of the servers S, the setting of the first threshold and the second threshold is enabled.

显然地,如果关闭对所述第一阈值和所述第二阈值的设置,无论服务器S负载轻重与否,冗余电源R只能以同一工作模式对服务器S进行供电,例如,冗余电源R以均流模式对服务器S供电。Obviously, if the settings of the first threshold and the second threshold are turned off, the redundant power supply R can only provide power to the server S in the same working mode, regardless of whether the server S is loaded or not. For example, the redundant power supply R Provide power to server S in current sharing mode.

步骤203:设置冗余电源的第一阈值和第二阈值,并根据所述第一阈值和所述第二阈值设置冗余电源在运行时的工作模式。Step 203: Set a first threshold and a second threshold of the redundant power supply, and set a working mode of the redundant power supply during operation according to the first threshold and the second threshold.

具体地,可以设置所述第一阈值不大于所述第二阈值。根据所述第一阈值和所述第二阈值,可以设置当所述冗余电源在运行时的输入电流不小于所述第二阈值时,所述冗余电源在运行时的工作模式为均流模式;当所述冗余电源在运行时的输入电流不大于所述第一阈值时,所述冗余电源在运行时的工作模式为active+standby模式;当所述冗余电源在运行时的输入电流大于所述第一阈值但小于所述第二阈值时,所述冗余电源在运行时的工作模式为维持冗余电源当前的工作模式。Specifically, the first threshold may be set to be no greater than the second threshold. According to the first threshold and the second threshold, it can be set that when the input current of the redundant power supply is not less than the second threshold during operation, the operating mode of the redundant power supply during operation is current sharing mode; when the input current of the redundant power supply is not greater than the first threshold value during operation, the working mode of the redundant power supply during operation is active+standby mode; when the redundant power supply is running When the input current is greater than the first threshold but less than the second threshold, the operating mode of the redundant power supply during operation is to maintain the current operating mode of the redundant power supply.

当所述第一阈值等于第二阈值时,相当于仅设置了一个阈值,所以,当冗余电源R的输入电流大于该阈值时,冗余电源R以均流模式供电,当冗余电源R的输入电流小于该阈值时,冗余电源R以active+standby模式供电,从而根据冗余电源R的输入电流的变化不断调整其工作模式,同样可以根据负载轻重来实现不同工作模式的自动智能切换。不过,当冗余电源R的输入电流在该阈值处反复跳变时,会引起冗余电源R的工作模式不断切换,从而会对冗余电源R的稳定性、能耗、使用寿命等造成一定的影响。因此,本实施例对此不作过多的详细描述。When the first threshold is equal to the second threshold, it is equivalent to setting only one threshold. Therefore, when the input current of the redundant power supply R is greater than the threshold, the redundant power supply R supplies power in the current sharing mode. When the redundant power supply R When the input current of the redundant power supply R is less than the threshold value, the redundant power supply R is powered in active+standby mode, so that its working mode is continuously adjusted according to the change of the input current of the redundant power supply R, and automatic intelligent switching of different working modes can also be realized according to the weight of the load. . However, when the input current of the redundant power supply R jumps repeatedly at this threshold, the working mode of the redundant power supply R will be continuously switched, which will have certain impacts on the stability, energy consumption, and service life of the redundant power supply R. Impact. Therefore, this embodiment does not give too many detailed descriptions.

优选地,可以设置所述第一阈值小于所述第二阈值,此外,所述第一阈值和所述第二阈值的差值的绝对值可以为3~5A。Preferably, the first threshold may be set to be smaller than the second threshold, and in addition, the absolute value of the difference between the first threshold and the second threshold may be 3˜5A.

具体地,当所述第一阈值小于所述第二阈值时,大于所述第一阈值但小于所述第二阈值的电流值区间作为过渡带。Specifically, when the first threshold is smaller than the second threshold, a current value range that is larger than the first threshold but smaller than the second threshold is used as a transition zone.

其中,对于所述第一阈值和所述第二阈值这两个临界值,所述过渡带可以同时包含所述第一阈值和所述第二阈值,也可以只包含所述第一阈值但不包含所述第二阈值,也可以只包含所述第二阈值但不包含所述第一阈值,同样可以既不包含所述第一阈值也不包含所述第二阈值,本实施例对此不作具体限定。Wherein, for the two critical values of the first threshold and the second threshold, the transition zone may contain both the first threshold and the second threshold, or may only contain the first threshold but not include the second threshold, may only include the second threshold but not include the first threshold, and may also include neither the first threshold nor the second threshold, which is not made in this embodiment. Specific limits.

在开启对所述第一阈值和所述第二阈值的设置后,可以对冗余电源R的第一阈值和第二阈值进行设置。一般的,可以根据经验、规律等因素,对第一阈值和第二阈值的具体电流值进行设置,且两者相差3~5A。举例来说,根据服务器S的日常负载情况、冗余电源R的输入电流的变动范围和频率、其他常用服务器、及冗余电源的相关参数变化规律以及专业操作人员的经验等多种综合因素,可以设定冗余电源R的第一阈值为23A,第二阈值为26A,第一阈值和第二阈值之间相差3A,且介于23A和26A之间的电流值区间为过渡带。当然,根据具体需要,第一阈值和第二阈值均可以设定为其他值,两者间的相差也不局限于3~5A,例如可以是两者相差2A、6A等。After enabling the setting of the first threshold and the second threshold, the first threshold and the second threshold of the redundant power supply R may be set. Generally, the specific current values of the first threshold and the second threshold can be set according to factors such as experiences and rules, and the difference between them is 3-5A. For example, according to various comprehensive factors such as the daily load of the server S, the variation range and frequency of the input current of the redundant power supply R, other commonly used servers, the variation rules of relevant parameters of the redundant power supply, and the experience of professional operators, The first threshold of the redundant power supply R can be set to 23A, the second threshold to 26A, the difference between the first threshold and the second threshold is 3A, and the current range between 23A and 26A is a transition zone. Of course, according to specific needs, both the first threshold and the second threshold can be set to other values, and the difference between the two is not limited to 3-5A, for example, the difference between the two can be 2A, 6A, etc.

步骤204:根据所述第一阈值和所述第二阈值,设置所述冗余电源在启动时的工作模式。Step 204: According to the first threshold and the second threshold, set the working mode of the redundant power supply when starting.

具体地,设置当所述冗余电源在启动时的输入电流不小于所述第二阈值时,所述冗余电源在启动时的工作模式为均流模式;设置所述冗余电源在启动时的输入电流不大于所述第一阈值时,所述冗余电源在启动时的工作模式为active+standby模式;设置所述冗余电源在启动时的输入电流位于过渡带时,所述冗余电源在启动时的工作模式为均流模式和active+standby模式中的任意一种。例如,设置所述冗余电源在启动时的输入电流位于过渡带时,所述冗余电源在启动时的工作模式为active+standby模式。Specifically, it is set that when the input current of the redundant power supply is not less than the second threshold value at startup, the working mode of the redundant power supply at startup is the current sharing mode; When the input current of the redundant power supply is not greater than the first threshold value, the working mode of the redundant power supply at startup is active+standby mode; when the input current of the redundant power supply at startup is set in the transition zone, the redundant power supply The working mode of the power supply at startup is any one of current sharing mode and active+standby mode. For example, when the input current of the redundant power supply is set to be in the transition zone at startup, the working mode of the redundant power supply at startup is active+standby mode.

举例来说,服务器S开机启动时,一般处于偏轻载状态,冗余电源R的输入电流通常会位于过渡带中,为了尽可能的节省能耗,可以设置冗余电源R在启动时的工作模式为active+standby模式,但如有需要,同样可以设置冗余电源R在启动时的工作模式为均流模式。For example, when the server S starts up, it is generally in a light load state, and the input current of the redundant power supply R is usually located in the transition zone. In order to save energy consumption as much as possible, you can set the working The mode is active+standby mode, but if necessary, the working mode of the redundant power supply R at startup can also be set to the current sharing mode.

步骤205:服务器开机启动时,根据所述冗余电源在启动时的工作模式的设置信息,根据冗余电源R在启动时的输入电流确定冗余电源R在启动时的工作模式。Step 205: When the server starts up, according to the setting information of the working mode of the redundant power supply at startup, determine the working mode of the redundant power supply R at startup according to the input current of the redundant power supply R at startup.

详细地,在本实施例中,冗余电源R的输入电流是指冗余电源R输出工作电压的电流值。例如,冗余电源R输出工作电压可以为12V,其中,12V是服务器电源模块标准输出,为Intel标注电压,是通过硬件线路将220V的市电进行转换而得到的。In detail, in this embodiment, the input current of the redundant power supply R refers to the current value of the output working voltage of the redundant power supply R. For example, the output working voltage of the redundant power supply R can be 12V, where 12V is the standard output of the server power module, which is the voltage marked by Intel, which is obtained by converting the 220V mains power through the hardware circuit.

举例来说,服务器S开机启动,冗余电源R对服务器S进行供电。首先确定冗余电源R在启动时的输入电流为25A,根据所述冗余电源在启动时的工作模式的设置信息,经判断,25A位于过渡带中,故确定冗余电源R在启动时的工作模式为active+standby模式。For example, the server S is powered on, and the redundant power supply R supplies power to the server S. Firstly, it is determined that the input current of the redundant power supply R at startup is 25A. According to the setting information of the working mode of the redundant power supply at startup, it is judged that 25A is located in the transition zone, so it is determined that the redundant power supply R is at startup. The working mode is active+standby mode.

步骤206:确定冗余电源R当前的工作模式和冗余电源R当前的输入电流。Step 206: Determine the current working mode of the redundant power supply R and the current input current of the redundant power supply R.

举例来说,假设服务器S开机启动后,负载程度未改变,所以冗余电源R的输入电流始终为25A。为了实时监测冗余电源R的输入电流是否发生变化,首先需要确定冗余电源R在输入电流变化前的工作模式和输入电流,即冗余电源R当前的工作模式和冗余电源R当前的输入电流。例如:冗余电源R当前的工作模式为active+standby模式,冗余电源R当前的输入电流为25A。For example, it is assumed that the load level of the server S does not change after the server S is started, so the input current of the redundant power supply R is always 25A. In order to monitor whether the input current of the redundant power supply R changes in real time, it is first necessary to determine the working mode and input current of the redundant power supply R before the input current changes, that is, the current working mode of the redundant power supply R and the current input of the redundant power supply R current. For example: the current working mode of the redundant power supply R is active+standby mode, and the current input current of the redundant power supply R is 25A.

步骤207:监测冗余电源R的输入电流,当监测到冗余电源R的输入电流发生改变时,执行步骤208。Step 207: Monitor the input current of the redundant power supply R, and execute step 208 when it is detected that the input current of the redundant power supply R changes.

为了实现冗余电源R的工作模式能够自动智能切换,需要实时监测冗余电源R的输入电流。当监测到冗余电源R的输入电流发生改变时,执行下一步;若冗余电源R的输入电流未改变,冗余电源R维持其当前的工作模式。例如,假设现在检测到冗余电源R的输入电流发生改变,由25A变为27A。In order to realize the automatic and intelligent switching of the working mode of the redundant power supply R, it is necessary to monitor the input current of the redundant power supply R in real time. When it is detected that the input current of the redundant power supply R changes, the next step is executed; if the input current of the redundant power supply R does not change, the redundant power supply R maintains its current working mode. For example, suppose it is detected that the input current of the redundant power supply R changes from 25A to 27A.

步骤208:根据所述第一阈值和所述第二阈值、冗余电源R当前的工作模式以及改变后的冗余电源R的输入电流,判断所述改变后的冗余电源R的输入电流与所述第一阈值,和/或,所述第二阈值的关系,从而确定冗余电源R下一个的工作模式。Step 208: According to the first threshold and the second threshold, the current working mode of the redundant power supply R, and the input current of the changed redundant power supply R, determine the difference between the input current of the changed redundant power supply R and The relationship between the first threshold and/or the second threshold determines the next working mode of the redundant power supply R.

具体地,在判断结果包括所述改变后的冗余电源R的输入电流不小于所述第二阈值时,确定冗余电源R下一个的工作模式为均流模式;在判断结果包括所述改变后的冗余电源R的输入电流不大于所述第一阈值时,确定冗余电源R下一个的工作模式为active+standby模式;在判断结果包括所述改变后的冗余电源R的输入电流大于所述第一阈值但小于所述第二阈值时,确定所述冗余电源下一个的工作模式为冗余电源R当前的工作模式。Specifically, when the judgment result includes that the input current of the changed redundant power supply R is not less than the second threshold, it is determined that the next working mode of the redundant power supply R is the current sharing mode; when the judgment result includes the changed When the input current of the redundant power supply R is not greater than the first threshold, it is determined that the next operating mode of the redundant power supply R is active+standby mode; the judgment result includes the input current of the changed redundant power supply R When it is greater than the first threshold but less than the second threshold, it is determined that the next working mode of the redundant power supply is the current working mode of the redundant power supply R.

举例来说,根据第一阈值为23A、第二阈值为26A、冗余电源R当前的工作模式为active+standby模式、改变后的冗余电源R的输入电流为27A,经判断可知27A大于26A,即改变后的冗余电源R的输入电流大于第二阈值,故确定冗余电源R下一个的工作模式为均流模式。For example, according to the first threshold value of 23A, the second threshold value of 26A, the current working mode of the redundant power supply R is active+standby mode, and the input current of the changed redundant power supply R is 27A, it can be judged that 27A is greater than 26A , that is, the changed input current of the redundant power supply R is greater than the second threshold, so it is determined that the next working mode of the redundant power supply R is the current sharing mode.

步骤209:当冗余电源R下一个的工作模式与冗余电源R当前的工作模式不同时,将冗余电源R的工作模式切换为所述下一个的工作模式,并执行步骤206;否则,维持冗余电源R当前的工作模式,并执行步骤206。Step 209: When the next working mode of the redundant power supply R is different from the current working mode of the redundant power supply R, switch the working mode of the redundant power supply R to the next working mode, and perform step 206; otherwise, Maintain the current working mode of the redundant power supply R, and execute step 206 .

详细地,冗余电源R的两个工作模式间的切换是通过电源模块内部Ibus的电压的变化来实现的。In detail, the switching between the two working modes of the redundant power supply R is realized through the change of the voltage of the Ibus inside the power supply module.

举例来说,由于冗余电源R当前的工作模式为active+standby模式,而冗余电源R下一个的工作模式为均流模式,两者不是同一工作模式,故将冗余电源R的工作模式从active+standby模式自动切换为均流模式。For example, since the current working mode of the redundant power supply R is active+standby mode, and the next working mode of the redundant power supply R is the current sharing mode, the two are not the same working mode, so the working mode of the redundant power supply R Automatically switch from active+standby mode to current sharing mode.

在本实施例中,根据实际负载程度,可以实现冗余电源R的均流模式和active+standby模式之间的自动智能切换,当冗余电源R轻载时,使用active+standby模式对服务器进行供电,其中一个电源正常工作并承担全部负载,另一个电源自动处于待机备用状态,仅消耗少量待机能量;当冗余电源R重载时,使用均流模式对服务器进行供电,自动唤醒待机电源,两个电源均正常工作,并各分担50%的负载,因此,根据实际负载情况的需要,通过冗余电源R的工作模式的自动智能切换,能够保证冗余电源R始终保持在最优工作效率状态,从而有效实现了冗余电源R的节能效果。In this embodiment, according to the actual load level, automatic intelligent switching between the current sharing mode and the active+standby mode of the redundant power supply R can be realized. When the redundant power supply R is lightly loaded, the active+standby mode is used to For power supply, one of the power supplies works normally and bears the full load, and the other power supply is automatically in the standby state, consuming only a small amount of standby energy; when the redundant power supply R is overloaded, it uses the current sharing mode to supply power to the server, and automatically wakes up the standby power supply. Both power supplies are working normally, and each share 50% of the load. Therefore, according to the needs of the actual load, through the automatic and intelligent switching of the working mode of the redundant power supply R, it can ensure that the redundant power supply R always maintains the optimal working efficiency. state, thereby effectively realizing the energy-saving effect of the redundant power supply R.

然后,为了监测冗余电源R的输入电流是否会再次发生改变,需要继续执行步骤206,即确定冗余电源R当前的工作模式和冗余电源R当前的输入电流,可知冗余电源R当前的工作模式为均流模式、冗余电源R当前的输入电流为27A。Then, in order to monitor whether the input current of the redundant power supply R will change again, it is necessary to continue to execute step 206, that is, to determine the current working mode of the redundant power supply R and the current input current of the redundant power supply R. It can be seen that the current The working mode is the current sharing mode, and the current input current of the redundant power supply R is 27A.

同样的,在确定冗余电源R当前的工作模式和冗余电源R当前的输入电流之后,继续监测冗余电源R的输入电流变化情况。假设再次监测到冗余电源R的输入电流发生改变,由27A变为24A,根据第一阈值23A、第二阈值26A、冗余电源R当前的工作模式为均流模式,可知24A大于23A但小于26A,即改变后的冗余电源R的输入电流24A位于过渡带中,故确定所述冗余电源下一个的工作模式为冗余电源R当前的工作模式,即冗余电源R的电流值由27A改变为24A后,仍然维持冗余电源R的工作模式为均流模式。然后,确定冗余电源R当前的工作模式为均流模式、冗余电源R当前的输入电流为24A,并在此基础之上继续监测冗余电源R的输入电流变化情况,从而反复以往,实现冗余电源R的工作模式的自动智能切换,使冗余电源R始终保持在最优工作效率状态。Similarly, after the current working mode of the redundant power supply R and the current input current of the redundant power supply R are determined, the change of the input current of the redundant power supply R is continuously monitored. Assuming that the input current of the redundant power supply R is monitored again to change from 27A to 24A, according to the first threshold 23A, the second threshold 26A, and the current working mode of the redundant power supply R is the current sharing mode, it can be known that 24A is greater than 23A but less than 26A, that is, the input current 24A of the changed redundant power supply R is located in the transition zone, so it is determined that the next working mode of the redundant power supply is the current working mode of the redundant power supply R, that is, the current value of the redundant power supply R is determined by After the 27A is changed to 24A, the working mode of the redundant power supply R is still maintained as the current sharing mode. Then, determine that the current working mode of the redundant power supply R is the current sharing mode, and the current input current of the redundant power supply R is 24A, and on this basis, continue to monitor the input current change of the redundant power supply R, so as to repeat the past and realize The automatic intelligent switching of the working mode of the redundant power supply R keeps the redundant power supply R in the optimal working efficiency state.

在本实施例中,无论冗余电源R当前的工作模式是均流模式,还是active+standby模式,只要改变后的冗余电源R的输入电流处于过渡带中,冗余电源R下一个的工作模式就是冗余电源R当前的工作模式,即维持冗余电源R当前的工作模式,直至改变后的冗余电源R的输入电流没有处于过渡带中时,才有可能出现两种工作模式之间的自动智能切换。In this embodiment, regardless of whether the current working mode of the redundant power supply R is the current sharing mode or the active+standby mode, as long as the input current of the changed redundant power supply R is in the transition zone, the next working mode of the redundant power supply R The mode is the current working mode of the redundant power supply R, that is, to maintain the current working mode of the redundant power supply R until the input current of the changed redundant power supply R is not in the transition zone, it is possible to appear between the two working modes automatic intelligent switching.

例如,冗余电源R当前的工作模式是均流模式,当改变后的冗余电源R的输入电流大于第二阈值时,冗余电源R下一个的工作模式仍是均流模式,同样,当改变后的冗余电源R的输入电流处于过渡带中时,冗余电源R下一个的工作模式为冗余电源R当前的工作模式,即维持当前的均流模式,只有当改变后的冗余电源R的输入电流小于第一阈值时,冗余电源R下一个的工作模式为active+standby模式,与当前的均流模式不同时,冗余电源R的工作模式才从当前的均流模式向下一个的active+standby模式进行自动智能切换。For example, the current working mode of the redundant power supply R is the current sharing mode. When the input current of the changed redundant power supply R is greater than the second threshold, the next working mode of the redundant power supply R is still the current sharing mode. Similarly, when When the input current of the changed redundant power supply R is in the transition zone, the next working mode of the redundant power supply R is the current working mode of the redundant power supply R, that is, the current current sharing mode is maintained, and only when the changed redundant power supply R When the input current of the power supply R is less than the first threshold, the next working mode of the redundant power supply R is active+standby mode. When it is different from the current current sharing mode, the working mode of the redundant power supply R changes from the current current sharing mode to The next active+standby mode is automatically and intelligently switched.

在服务器S正常运行时,当电压不稳出现浮动时,会造成冗余电源R的输入电流出现小范围的反复浮动变化,或其他影响因素同样可能引起冗余电源R的输入电流反复浮动时,通过上述这一实现方式,可以根据实际经验、规律等因素,预先设置合适的第一阈值和第二阈值,使冗余电源R的输入电流的易反复跳变临界值处于过渡带中,从而可以有效避免冗余电源R的工作模式在该易反复跳变临界值处进行反复的切换,以达到提高冗余电源R的稳定性、延长其使用寿命、保证电源的质量、降低能量损耗等效果。When the server S is running normally, when the voltage is unstable and fluctuates, the input current of the redundant power supply R will fluctuate repeatedly in a small range, or other influencing factors may also cause the input current of the redundant power supply R to fluctuate repeatedly, Through the above-mentioned implementation method, the appropriate first threshold and second threshold can be preset according to actual experience, rules and other factors, so that the critical value of the input current of the redundant power supply R that is prone to repeated jumps is in the transition zone, so that Effectively avoid repeated switching of the working mode of the redundant power supply R at the critical value that is prone to repeated jumps, so as to improve the stability of the redundant power supply R, prolong its service life, ensure the quality of the power supply, and reduce energy loss.

如图3所示,本发明实施例提供了一种服务器电源供电的装置,包括:As shown in Figure 3, an embodiment of the present invention provides a server power supply device, including:

第一设置单元301,用于设置冗余电源的第一阈值和第二阈值,其中,所述第一阈值不大于所述第二阈值;The first setting unit 301 is configured to set a first threshold and a second threshold of the redundant power supply, wherein the first threshold is not greater than the second threshold;

确定单元302,用于确定所述冗余电源当前的工作模式和所述冗余电源当前的输入电流;A determining unit 302, configured to determine the current working mode of the redundant power supply and the current input current of the redundant power supply;

第一处理单元303,用于监测所述冗余电源的输入电流,当监测到所述冗余电源的输入电流发生改变时,通知第二处理单元;The first processing unit 303 is configured to monitor the input current of the redundant power supply, and notify the second processing unit when it is detected that the input current of the redundant power supply changes;

第二处理单元304,用于根据所述第一阈值和所述第二阈值、所述冗余电源当前的工作模式以及改变后的所述冗余电源的输入电流,确定所述冗余电源下一个的工作模式;The second processing unit 304 is configured to determine, according to the first threshold and the second threshold, the current working mode of the redundant power supply, and the changed input current of the redundant power supply, that the redundant power supply a working mode;

第三处理单元305,用于当所述冗余电源下一个的工作模式与所述冗余电源当前的工作模式不同时,将所述冗余电源的工作模式切换为所述下一个的工作模式,并触发所述确定单元执行相应操作;否则,维持所述冗余电源当前的工作模式,并触发所述确定单元执行相应操作。The third processing unit 305 is configured to switch the working mode of the redundant power supply to the next working mode when the next working mode of the redundant power supply is different from the current working mode of the redundant power supply , and trigger the determining unit to perform a corresponding operation; otherwise, maintain the current working mode of the redundant power supply, and trigger the determining unit to perform a corresponding operation.

在一种可能的实现方式中,所述第二处理单元304,具体用于判断所述改变后的所述冗余电源的输入电流与所述第一阈值,和/或,所述第二阈值的关系;In a possible implementation manner, the second processing unit 304 is specifically configured to judge the changed input current of the redundant power supply and the first threshold, and/or, the second threshold Relationship;

在判断结果包括所述改变后的所述冗余电源的输入电流不小于所述第二阈值时,确定所述冗余电源下一个的工作模式为均流模式;When the judgment result includes that the changed input current of the redundant power supply is not less than the second threshold, determine that the next working mode of the redundant power supply is the current sharing mode;

在判断结果包括所述改变后的所述冗余电源的输入电流不大于所述第一阈值时,确定所述冗余电源下一个的工作模式为active+standby模式;When the judgment result includes that the changed input current of the redundant power supply is not greater than the first threshold, determine that the next working mode of the redundant power supply is active+standby mode;

在判断结果包括所述改变后的所述冗余电源的输入电流大于所述第一阈值但小于所述第二阈值时,确定所述冗余电源下一个的工作模式为所述冗余电源当前的工作模式。When the judgment result includes that the changed input current of the redundant power supply is greater than the first threshold but smaller than the second threshold, determine that the next working mode of the redundant power supply is the current redundant power supply working mode.

在一种可能的实现方式中,请参考图4,该装置还可以包括:In a possible implementation manner, please refer to FIG. 4, the device may also include:

第二设置单元401,用于设置所述冗余电源在启动时的输入电流不小于所述第二阈值时,所述冗余电源在启动时的工作模式为均流模式;设置所述冗余电源在启动时的输入电流不大于所述第一阈值时,所述冗余电源在启动时的工作模式为active+standby模式;设置所述冗余电源在启动时的输入电流位于过渡带时,所述冗余电源在启动时的工作模式为均流模式和active+standby模式中的任意一种;所述过渡带,包括:大于所述第一阈值但小于所述第二阈值的电流值区间;The second setting unit 401 is configured to set that when the input current of the redundant power supply is not less than the second threshold at startup, the working mode of the redundant power supply at startup is current sharing mode; When the input current of the power supply at startup is not greater than the first threshold, the working mode of the redundant power supply at startup is active+standby mode; when the input current of the redundant power supply at startup is located in the transition zone, The working mode of the redundant power supply at startup is any one of current sharing mode and active+standby mode; the transition zone includes: a current value interval greater than the first threshold but less than the second threshold ;

第四处理单元402,用于服务器开机启动时,根据所述冗余电源在启动时的工作模式的设置信息,根据所述冗余电源在启动时的输入电流确定所述冗余电源在启动时的工作模式。The fourth processing unit 402 is configured to determine, according to the setting information of the working mode of the redundant power supply at startup, and according to the input current of the redundant power supply at startup, when the server is started. working mode.

在一种可能的实现方式中,请参考图4,该装置还可以包括:In a possible implementation manner, please refer to FIG. 4, the device may also include:

第三设置单元403,用于在所述冗余电源的功能地址上设置用于开启和关闭对所述第一阈值,和/或,所述第二阈值进行设置的功能选项;The third setting unit 403 is configured to set a function option for turning on and off setting the first threshold and/or the second threshold on the function address of the redundant power supply;

选择单元404,用于根据该功能选项选择开启或关闭对所述第一阈值,和/或,对所述第二阈值的设置。The selection unit 404 is configured to enable or disable the setting of the first threshold and/or the setting of the second threshold according to the function option.

在一种可能的实现方式中,所述第一设置单元301,具体用于设置所述第一阈值和所述第二阈值的差值的绝对值为3~5A。In a possible implementation manner, the first setting unit 301 is specifically configured to set an absolute value of a difference between the first threshold and the second threshold to 3-5A.

上述装置内的各单元之间的信息交互、执行过程等内容,由于与本发明方法实施例基于同一构思,具体内容可参见本发明方法实施例中的叙述,此处不再赘述。The information exchange and execution process among the units in the above-mentioned device are based on the same concept as the method embodiment of the present invention, and the specific content can refer to the description in the method embodiment of the present invention, and will not be repeated here.

综上所述,本发明实施例提供了一种服务器电源供电的方法及装置,本发明实施例可具有如下有益效果:To sum up, the embodiments of the present invention provide a method and device for server power supply, and the embodiments of the present invention can have the following beneficial effects:

1、本发明实施例提供了一种服务器电源供电的方法及装置,预先设置冗余电源的第一阈值和第二阈值;确定所述冗余电源当前的工作模式和所述冗余电源当前的输入电流;当监测到所述冗余电源的输入电流发生改变时,根据所述第一阈值和所述第二阈值、所述冗余电源当前的工作模式以及改变后的所述冗余电源的输入电流,确定所述冗余电源下一个的工作模式;当所述冗余电源下一个的工作模式与所述冗余电源当前的工作模式不同时,将所述冗余电源当前的工作模式切换为所述下一个的工作模式。根据本方案,通过对所述冗余电源的输入电流的实时监测,使所述冗余电源的工作模式能够在不同工作模式之间进行自动智能切换,因此,本发明能够实现服务器电源的节能效果。1. The embodiment of the present invention provides a method and device for power supply of a server, which presets the first threshold and the second threshold of the redundant power supply; determines the current working mode of the redundant power supply and the current operating mode of the redundant power supply Input current; when it is detected that the input current of the redundant power supply changes, according to the first threshold and the second threshold, the current working mode of the redundant power supply and the changed redundant power supply Input current to determine the next working mode of the redundant power supply; when the next working mode of the redundant power supply is different from the current working mode of the redundant power supply, switch the current working mode of the redundant power supply for the next working mode. According to this solution, through the real-time monitoring of the input current of the redundant power supply, the working mode of the redundant power supply can be automatically and intelligently switched between different working modes, therefore, the present invention can realize the energy-saving effect of the server power supply .

2、本发明实施例提供了一种服务器电源供电的方法及装置,根据实际负载程度,可以实现冗余电源的均流模式和active+standby模式之间的自动智能切换,当冗余电源轻载时,使用active+standby模式对服务器进行供电,其中一个电源正常工作并承担全部负载,另一个电源自动处于待机备用状态,仅消耗少量待机能量;当冗余电源重载时,使用均流模式对服务器进行供电,自动唤醒待机电源,两个电源均正常工作,并各分担50%的负载,因此,根据实际负载情况的需要,通过冗余电源的工作模式的自动智能切换,能够保证冗余电源始终保持在最优工作效率状态,从而有效实现了冗余电源的节能效果。2. The embodiment of the present invention provides a method and device for server power supply. According to the actual load level, automatic intelligent switching between the current sharing mode and the active+standby mode of the redundant power supply can be realized. When the redundant power supply is lightly loaded When the power supply is active+standby, use the active+standby mode to supply power to the server. One of the power supplies works normally and bears the full load, and the other power supply is automatically in the standby state, consuming only a small amount of standby energy; when the redundant power supply is overloaded, use the current sharing mode to The server supplies power, automatically wakes up the standby power supply, and both power supplies work normally, and each share 50% of the load. Therefore, according to the needs of the actual load situation, the redundant power supply can be guaranteed through automatic intelligent switching of the working mode of the redundant power supply. Always maintain the state of optimal working efficiency, thus effectively realizing the energy-saving effect of redundant power supply.

3、本发明实施例提供了一种服务器电源供电的方法及装置,在服务器正常运行时,当电压不稳出现浮动时,会造成冗余电源的输入电流出现小范围的反复浮动变化,或其他影响因素同样可能引起冗余电源的输入电流反复浮动时,可以根据实际经验、规律等因素,预先设置合适的第一阈值和第二阈值,使冗余电源的输入电流的易反复跳变临界值处于过渡带中,从而可以有效避免冗余电源的工作模式在该易反复跳变临界值处进行反复的切换,以达到提高冗余电源的稳定性、延长其使用寿命、保证电源的质量、降低能量损耗等效果。3. The embodiment of the present invention provides a server power supply method and device. When the server is running normally, when the voltage fluctuates and fluctuates, the input current of the redundant power supply will fluctuate repeatedly in a small range, or other When the influencing factors may also cause the input current of the redundant power supply to fluctuate repeatedly, you can pre-set the appropriate first threshold and second threshold according to actual experience, rules and other factors, so that the critical value of the input current of the redundant power supply that is easy to repeatedly jump It is in the transition zone, so that it can effectively avoid repeated switching of the redundant power supply working mode at the critical value that is prone to repeated jumps, so as to improve the stability of the redundant power supply, prolong its service life, ensure the quality of the power supply, and reduce the energy loss etc.

最后需要说明的是:以上所述仅为本发明的较佳实施例,仅用于说明本发明的技术方案,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所做的任何修改、等同替换、改进等,均包含在本发明的保护范围内。Finally, it should be noted that the above descriptions are only preferred embodiments of the present invention, and are only used to illustrate the technical solution of the present invention, and are not used to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (10)

1. a server power supply method of powering, it is characterized in that, pre-set first threshold and the Second Threshold of redundant power, wherein, described first threshold is not more than described Second Threshold, and the method comprises:
S1: determine the mode of operation that described redundant power is current and the current input current of described redundant power;
S2: the input current of monitoring described redundant power, when the input current monitoring described redundant power changes, performs S3;
S3: the input current of the mode of operation current according to described first threshold and described Second Threshold, described redundant power and the described redundant power after changing, determines the Next mode of operation of described redundant power;
S4: when the mode of operation that the Next mode of operation of described redundant power is current from described redundant power is different, the mode of operation of described redundant power is switched to described Next mode of operation, and performs S1; Otherwise, maintain the mode of operation that described redundant power is current, and perform S1.
2. method according to claim 1, is characterized in that, describedly determines the Next mode of operation of described redundant power, comprising:
Judge the input current of the described redundant power after described change and described first threshold, and/or, the relation of described Second Threshold;
When the input current of the described redundant power after judged result comprises described change is not less than described Second Threshold, determine that the Next mode of operation of described redundant power is equal stream mode;
When the input current of the described redundant power after judged result comprises described change is not more than described first threshold, determine that the Next mode of operation of described redundant power is active+standby pattern;
When the input current of the described redundant power after judged result comprises described change is greater than described first threshold but is less than described Second Threshold, determine that the Next mode of operation of described redundant power is the current mode of operation of described redundant power.
3. method according to claim 1, is characterized in that,
Before S1, comprise further: pre-set described redundant power start time input current be not less than described Second Threshold time, described redundant power start time mode of operation be equal stream mode; Arrange described redundant power start time input current be not more than described first threshold time, described redundant power start time mode of operation be active+standby pattern; Arrange the input current of described redundant power when starting when being positioned at transitional zone, the mode of operation of described redundant power when starting is any one in equal stream mode and active+standby pattern; Described transitional zone, comprising: be greater than described first threshold but to be less than the current value of described Second Threshold interval;
Before S1, comprising further: during server starting up, according to the configuration information of the mode of operation of described redundant power when starting, determining the mode of operation of described redundant power when starting according to the input current of described redundant power when starting.
4. method according to claim 1, is characterized in that, before the first threshold pre-setting redundant power described and Second Threshold, comprises further:
The functional address of described redundant power is arranged and is used for opening and closing described first threshold, and/or described Second Threshold carries out the function choosing-item arranged, select to open or close described first threshold according to this function choosing-item, and/or, to the setting of described Second Threshold.
5., according to described method arbitrary in Claims 1-4, it is characterized in that,
The absolute value of the difference of described first threshold and described Second Threshold is 3 ~ 5A.
6. a server power supply device of powering, is characterized in that,
First setting unit, for arranging first threshold and the Second Threshold of redundant power, wherein, described first threshold is not more than described Second Threshold;
Determining unit, for determining the mode of operation that described redundant power is current and the current input current of described redundant power;
First processing unit, for monitoring the input current of described redundant power, when the input current monitoring described redundant power changes, notifies the second processing unit;
Second processing unit, for the input current according to the current mode of operation of described first threshold and described Second Threshold, described redundant power and the described redundant power after changing, determines the Next mode of operation of described redundant power;
3rd processing unit, time different for the mode of operation current from described redundant power when the Next mode of operation of described redundant power, the mode of operation of described redundant power is switched to described Next mode of operation, and triggers described determining unit execution corresponding operating; Otherwise, maintain the mode of operation that described redundant power is current, and trigger described determining unit execution corresponding operating.
7. the server power supply according to claim 6 device of powering, is characterized in that,
Described second processing unit, specifically for judging the input current of the described redundant power after described change and described first threshold, and/or, the relation of described Second Threshold;
When the input current of the described redundant power after judged result comprises described change is not less than described Second Threshold, determine that the Next mode of operation of described redundant power is equal stream mode;
When the input current of the described redundant power after judged result comprises described change is not more than described first threshold, determine that the Next mode of operation of described redundant power is active+standby pattern;
When the input current of the described redundant power after judged result comprises described change is greater than described first threshold but is less than described Second Threshold, determine that the Next mode of operation of described redundant power is the current mode of operation of described redundant power.
8. the server power supply according to claim 6 device of powering, is characterized in that,
Comprise further: the second setting unit, for arrange described redundant power start time input current be not less than described Second Threshold time, described redundant power start time mode of operation be equal stream mode; Arrange described redundant power start time input current be not more than described first threshold time, described redundant power start time mode of operation be active+standby pattern; Arrange the input current of described redundant power when starting when being positioned at transitional zone, the mode of operation of described redundant power when starting is any one in equal stream mode and active+standby pattern; Described transitional zone, comprising: be greater than described first threshold but to be less than the current value of described Second Threshold interval;
Comprise further: fourth processing unit, during for server starting up, according to the configuration information of the mode of operation of described redundant power when starting, determine the mode of operation of described redundant power when starting according to the input current of described redundant power when starting.
9. the server power supply according to claim 6 device of powering, is characterized in that, comprise further:
3rd setting unit, arranges and be used for opening and closing described first threshold, and/or described Second Threshold carries out the function choosing-item arranged on the functional address at described redundant power;
Selection unit, opens for selecting according to this function choosing-item or closes described first threshold, and/or, to the setting of described Second Threshold.
10., according to the device that described server power supply arbitrary in claim 6 to 9 is powered, it is characterized in that,
Described first setting unit is 3 ~ 5A specifically for arranging the absolute value of the difference of described first threshold and described Second Threshold.
CN201510809561.0A 2015-11-20 2015-11-20 Power supplying method and device for server power supply Pending CN105320241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510809561.0A CN105320241A (en) 2015-11-20 2015-11-20 Power supplying method and device for server power supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510809561.0A CN105320241A (en) 2015-11-20 2015-11-20 Power supplying method and device for server power supply

Publications (1)

Publication Number Publication Date
CN105320241A true CN105320241A (en) 2016-02-10

Family

ID=55247795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510809561.0A Pending CN105320241A (en) 2015-11-20 2015-11-20 Power supplying method and device for server power supply

Country Status (1)

Country Link
CN (1) CN105320241A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844185A (en) * 2016-09-19 2018-03-27 华为数字技术(成都)有限公司 A kind of method for managing power supply and device
CN110413093A (en) * 2019-06-28 2019-11-05 苏州浪潮智能科技有限公司 Uninterruptible power supply device for server
TWI815054B (en) * 2020-11-02 2023-09-11 英業達股份有限公司 System for monitoring power supply unit and method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140028100A1 (en) * 2009-06-30 2014-01-30 Viktor Vogman Reducing power losses in a redundant power supply system
CN103744705A (en) * 2014-01-18 2014-04-23 浪潮电子信息产业股份有限公司 Design method capable of identifying AC\DC input and automatically starting active and standby function of power supply
CN103902014A (en) * 2014-03-21 2014-07-02 浪潮电子信息产业股份有限公司 Novel design method for achieving energy-saving power supply of server power supply
CN104267796A (en) * 2014-09-28 2015-01-07 浪潮电子信息产业股份有限公司 Design method of intelligent redundant architecture of server power supply
CN104317377A (en) * 2014-09-28 2015-01-28 浪潮电子信息产业股份有限公司 Design method for controlling power state (active or standby) through BMC

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140028100A1 (en) * 2009-06-30 2014-01-30 Viktor Vogman Reducing power losses in a redundant power supply system
CN103744705A (en) * 2014-01-18 2014-04-23 浪潮电子信息产业股份有限公司 Design method capable of identifying AC\DC input and automatically starting active and standby function of power supply
CN103902014A (en) * 2014-03-21 2014-07-02 浪潮电子信息产业股份有限公司 Novel design method for achieving energy-saving power supply of server power supply
CN104267796A (en) * 2014-09-28 2015-01-07 浪潮电子信息产业股份有限公司 Design method of intelligent redundant architecture of server power supply
CN104317377A (en) * 2014-09-28 2015-01-28 浪潮电子信息产业股份有限公司 Design method for controlling power state (active or standby) through BMC

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844185A (en) * 2016-09-19 2018-03-27 华为数字技术(成都)有限公司 A kind of method for managing power supply and device
CN107844185B (en) * 2016-09-19 2020-01-31 华为数字技术(成都)有限公司 power supply management method and device
CN110413093A (en) * 2019-06-28 2019-11-05 苏州浪潮智能科技有限公司 Uninterruptible power supply device for server
TWI815054B (en) * 2020-11-02 2023-09-11 英業達股份有限公司 System for monitoring power supply unit and method thereof

Similar Documents

Publication Publication Date Title
US8245069B2 (en) Multiple power supplies providing enhanced power efficiency
US7190121B2 (en) Systems and methods to control light-emitting diodes
US9857091B2 (en) Thermostat circuitry to control power usage
WO2014206114A1 (en) Uninterrupted power supply method and uninterrupted power supply
US10345887B2 (en) Adaptive optimization of low power strategies
CN105867586A (en) A control method and an electronic apparatus
CN104866061A (en) Method for controlling redundant power supply, power supply cabinet, and system
CN105260236A (en) Mobile terminal and performance adjustment method of processor of mobile terminal
CN105320241A (en) Power supplying method and device for server power supply
ATE495578T1 (en) INTELLIGENT HOME AUTOMATION SYSTEM WITH POWER SAVING EFFECT IN READY MODE
US9535484B2 (en) Extending RunTime with battery ripple cancellation using CPU throttling
TWI524268B (en) Portable electronic device and core swapping method thereof
US9929593B2 (en) Multi-output power management method
CN104267796A (en) Design method of intelligent redundant architecture of server power supply
CN102156535A (en) Energy-saving processing method and energy-saving processing device for hardware
CN108539743A (en) A kind of high-efficiency and energy-saving type distribution terminal
CN103149908B (en) A kind of method for controlling power supply, device and equipment
CN101211165A (en) Energy-saving control method and device for a power supply system
CN118778790A (en) Operation control method and device of server power supply
CN104635546A (en) Non-leakage type single live wire switch system and its working method
TW201347388A (en) Power saving method and related power saving circuit
CN105578654A (en) Indicator lamp control device capable of reducing stand-by power consumption of liquid crystal display television
CN106951060B (en) Control method and device and electronic equipment
US9317097B2 (en) Efficiency adjustments in power supply system
CN105487630A (en) Information processing method and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160210