CN111338455A - A server power management device, method and system - Google Patents

A server power management device, method and system Download PDF

Info

Publication number
CN111338455A
CN111338455A CN202010125517.9A CN202010125517A CN111338455A CN 111338455 A CN111338455 A CN 111338455A CN 202010125517 A CN202010125517 A CN 202010125517A CN 111338455 A CN111338455 A CN 111338455A
Authority
CN
China
Prior art keywords
power
power supply
state
actual voltage
voltage
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
CN202010125517.9A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010125517.9A priority Critical patent/CN111338455A/en
Publication of CN111338455A publication Critical patent/CN111338455A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The invention provides a server power supply management device, method and system, wherein the device comprises: the control chip is connected with the processor through an I2C bus; the enabling pin of the control chip is connected with the server power supply module; the input pin of the control chip is connected with the output end of the power supply module; the control chip is connected with the BMC through an SJTAG interface. The invention realizes the rapid and accurate control of the power module, can accurately monitor the power module in real time, can review the previous monitoring result once the power module fails, and realizes the failure traceability of the power module.

Description

一种服务器电源管理装置、方法及系统A server power management device, method and system

技术领域technical field

本发明属于服务器技术领域,具体涉及一种服务器电源管理装置、方法及系统。The invention belongs to the technical field of servers, and in particular relates to a server power management device, method and system.

背景技术Background technique

目前常用的服务器电源控制方法是lattice厂家的CPLD和ASPEED厂家的ARM芯片去实现电源的管理功能。CPLD或ARM利用Power Good信号对DC-DC模块(电源模块)进行控制。At present, the commonly used server power control methods are the CPLD of lattice manufacturers and the ARM chips of ASPEED manufacturers to realize the power management function. The CPLD or ARM uses the Power Good signal to control the DC-DC module (power module).

DC-DC模块(电源模块)的Power Good信号一般误差比较大,大概在8%到20%之间,以这个信号来记录电源的状态是不准确的,因为大多数的芯片对电源的精度要求是5%甚至更低。如果使用Power Good作为上电或者掉电是否ok的标志,对某些芯片,尤其对电源精度要求高的芯片,某种意义上存在一定的风险;比如:在掉电过程中,当Power Good信号变低后,CPLD认为掉电已经完成,但是芯片中还是有部分电源未掉干净,芯片内部的控制模块认为自身处于供电状态,这时候如果继续上电,供电后,由于之前芯片电未掉干净,再次上电,芯片内部的电源模块不会响应外部的供电,这样导致芯片出现闩锁效应,进而出现宕机问题。在做错误日志记录的时候,BMC由于程序本身是串行执行的原因,不能及时记录掉电瞬间所有电源的状态,更有甚者BMC就没有时间记录出错的电源信息就宕机了。这样由于不能及时记录电源异常那个时间点的电源信息,因此对于debug是没有意义的。使用CPLD监控Power Good信号记录电源是否ok这个状态,是存在极大的误差的。如果监控的电源比较多,链路拓扑复杂,原理图和Layout文件中,杂线比较多。The power good signal of the DC-DC module (power module) generally has a large error, about 8% to 20%. It is inaccurate to use this signal to record the state of the power supply, because most chips require the accuracy of the power supply is 5% or even lower. If Power Good is used as the sign of whether the power-on or power-off is ok, there is a certain risk for some chips, especially for chips with high power supply accuracy requirements; for example: during the power-off process, when the Power Good signal After it becomes low, the CPLD thinks that the power-down has been completed, but there are still some power supplies in the chip that have not been completely turned off. The control module inside the chip thinks that it is in a power-supply state. At this time, if it continues to be powered on, after the power is supplied, the power of the chip has not been completely turned off before. , Power on again, the power supply module inside the chip will not respond to the external power supply, which will cause the chip to have a latch-up effect, and then cause a downtime problem. When doing error logging, the BMC cannot record the status of all power supplies at the moment of power failure due to the serial execution of the program itself. What's more, the BMC crashes without time to record the erroneous power supply information. In this way, since the power supply information at the time point when the power supply is abnormal cannot be recorded in time, it is meaningless for debugging. Using CPLD to monitor the Power Good signal to record whether the power supply is ok or not has a great error. If there are many power supplies to be monitored, the link topology is complex, and there are many miscellaneous lines in the schematic and layout files.

发明内容SUMMARY OF THE INVENTION

针对现有技术的上述不足,本发明提供一种服务器电源管理装置、方法及系统,以解决上述技术问题。In view of the above shortcomings of the prior art, the present invention provides a server power management device, method and system to solve the above technical problems.

本发明提供一种服务器电源管理装置,所述装置包括:The present invention provides a server power management device, the device comprising:

控制芯片,所述控制芯片通过I2C总线连接处理器;所述控制芯片的使能管脚连接服务器电源模块;所述控制芯片的输入管脚连接电源模块输出端;所述控制芯片通过SJTAG接口连接BMC。control chip, the control chip is connected to the processor through the I2C bus; the enable pin of the control chip is connected to the server power supply module; the input pin of the control chip is connected to the output end of the power supply module; the control chip is connected through the SJTAG interface BMC.

进一步的,所述控制芯片通过SJTAG接口连接离线烧录器。Further, the control chip is connected to the offline programmer through the SJTAG interface.

进一步的,所述控制芯片包括多个使能管脚和多个对应输入管脚;所述使能管脚连接电源模块的输入端,对应输入管脚连接电源模块输出端,形成一个电源管理回路。Further, the control chip includes a plurality of enabling pins and a plurality of corresponding input pins; the enabling pins are connected to the input end of the power supply module, and the corresponding input pins are connected to the output end of the power supply module to form a power management loop. .

进一步的,所述控制芯片采用POER1220芯片。Further, the control chip adopts POER1220 chip.

本发明还提供一种服务器电源管理方法,所述方法包括:The present invention also provides a server power management method, the method comprising:

根据处理器下发的电源控制指令控制电源状态;Control the power state according to the power control command issued by the processor;

采集当前电源模块实际电压;Collect the actual voltage of the current power module;

判断所述实际电压是否符合电源状态:Determine whether the actual voltage matches the power state:

若否,则生成错误提示并将所述错误提示上报处理器。If not, generate an error message and report the error message to the processor.

进一步的,所述根据处理器下发的电源控制指令控制电源状态,包括:Further, the control of the power supply state according to the power supply control instruction issued by the processor includes:

采集并保存电源模块设备码与使能管脚号的映射关系;Collect and save the mapping relationship between the power module device code and the enable pin number;

提取所述控制指令的目标电源模块设备码;extracting the target power module device code of the control instruction;

根据所述目标电源模块设备码和所述映射关系调用对应使能管脚;Invoke the corresponding enable pin according to the target power module device code and the mapping relationship;

通过所述对应使能管脚向目标电源模块下发控制指令。A control instruction is issued to the target power supply module through the corresponding enable pin.

进一步的,所述判断实际电压是否符合电源状态,包括:Further, the judging whether the actual voltage conforms to the power supply state includes:

记录目标电源模块的最新控制指令的目标电源状态,所述电源状态包括上电状态和下电状态;Recording the target power state of the latest control instruction of the target power module, the power state includes a power-on state and a power-off state;

若所述目标电源状态为上电状态,则判断所述实际电压是否不为0,若是则所述实际电压符合电源状态;If the target power state is the power-on state, it is determined whether the actual voltage is not 0, and if so, the actual voltage conforms to the power state;

若所述目标电源状态为下电状态,则判断所述实际电压是否为0,若是则所述实际电压符合电源状态。If the target power state is the power-off state, it is determined whether the actual voltage is 0, and if so, the actual voltage conforms to the power state.

进一步的,所述方法还包括:Further, the method also includes:

设置基准电压值;Set the reference voltage value;

采集上电状态的电源模块的实际电压;Collect the actual voltage of the power module in the power-on state;

调用电压比较器比对所述实际电压与所述基准电压值是否一致:Call the voltage comparator to compare whether the actual voltage is consistent with the reference voltage value:

若否,则将所述实际电压与所述基准电压值的差值写入错误日志并保存所述错误日志。If not, write the difference between the actual voltage and the reference voltage value into an error log and save the error log.

本发明还提供一种服务器电源管理系统,所述系统包括:The present invention also provides a server power management system, which includes:

电源控制单元,配置用于根据处理器下发的电源控制指令控制电源状态;a power control unit, configured to control the power state according to the power control instruction issued by the processor;

电压采集单元,配置用于采集当前电源模块实际电压;The voltage acquisition unit is configured to collect the actual voltage of the current power module;

电压判断单元,配置用于判断所述实际电压是否符合电源状态;a voltage judging unit, configured to judge whether the actual voltage conforms to the power state;

错误上报单元,配置用于若所述实际电压不符合电源状态,则生成错误提示并将所述错误提示上报处理器。An error reporting unit, configured to generate an error prompt and report the error prompt to the processor if the actual voltage does not conform to the power state.

进一步的,所述系统还包括:Further, the system also includes:

基准设置单元,配置用于设置基准电压值;a reference setting unit, configured to set the reference voltage value;

电压监控单元,配置用于采集上电状态的电源模块的实际电压;The voltage monitoring unit is configured to collect the actual voltage of the power module in the power-on state;

一致比对单元,配置用于调用电压比较器比对所述实际电压与所述基准电压值是否一致;a consistent comparison unit, configured to call a voltage comparator to compare whether the actual voltage is consistent with the reference voltage value;

日志记录单元,配置用于若所述实际电压与所述基准电压值不一致,则将所述实际电压与所述基准电压值的差值写入错误日志并保存所述错误日志。A log recording unit, configured to write the difference between the actual voltage and the reference voltage value into an error log and save the error log if the actual voltage is inconsistent with the reference voltage value.

本发明的有益效果在于,The beneficial effect of the present invention is that,

本发明提供一种服务器电源管理装置、方法及系统,通过加入控制芯片,利用控制芯片建立处理器(CPU或CPLD)与电源模块之间的直接控制链路,不再将电源模块PowerGood信号作为控制媒介,利用电压参数,实现了对电源模块的快速准确控制,且能够对电源模块进行实时准确监控,一旦电源模块故障掉电,也可以回看之前的监控结果,实现了电源模块的故障可追溯性。且本发明拓扑结构简单,即使电源比较多也不会出现杂线过多的问题。The invention provides a server power management device, method and system. By adding a control chip, the control chip is used to establish a direct control link between a processor (CPU or CPLD) and a power supply module, and the PowerGood signal of the power supply module is no longer used as a control The medium, using the voltage parameters, realizes the fast and accurate control of the power module, and can monitor the power module accurately in real time. Once the power module fails, the previous monitoring results can also be reviewed, and the fault of the power module can be traced back. sex. In addition, the topology of the present invention is simple, and the problem of excessive stray lines will not occur even if the power supply is relatively large.

此外,本发明设计原理可靠,结构简单,具有非常广泛的应用前景。In addition, the present invention has reliable design principle and simple structure, and has a very wide application prospect.

附图说明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 briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. In other words, other drawings can also be obtained based on these drawings without creative labor.

图1是本申请一个实施例的装置的结构示意图。FIG. 1 is a schematic structural diagram of an apparatus according to an embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。It should be noted that the embodiments of the present invention and the features of the embodiments may be combined with each other under the condition of no conflict.

在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以通过具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that the terms "installed", "connected" and "connected" should be understood in a broad sense, unless otherwise expressly specified and limited, for example, it may be a fixed connection or a detachable connection Connection, or integral connection; can be mechanical connection, can also be electrical connection; can be directly connected, can also be indirectly connected through an intermediate medium, can be internal communication between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood through specific situations.

下面将参考附图并结合实施例来详细说明本发明。The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.

实施例1Example 1

请参考图1,本实施例提供一种服务器电源管理装置,装置结构如下:Referring to FIG. 1 , this embodiment provides a server power management device, the device structure is as follows:

CPU或者CPLD通过IIC总线下挂POER1220芯片,用于CPU从POER1220芯片获取电源电源状态、电流值以及温度值;BMC通过SJTAG接口接到POER1220芯片,用于对1220芯片进行逻辑程序升级,此外POER1220芯片还通过SJTAG接口连接一个SJTAG Header(离线烧录器),用于对POER1220芯片进行逻辑程序离线升级;POER1220芯片的Enable0和Enablen管脚接到外部的DC-DC模块,用于使能DC-DC模块输出电源电压供给负载,同时DC-DC模块输出的电压Vout0和Voutn接回到POER1220信号的VMON管脚,进行电源电压的实时监控。VMON管脚内部使用电压比较器,将Vout电压与内部逻辑程序设计好的基准电压进行比较,进而得出是过压、欠压状态,并得到Vout的精确值。本实施例中POER1220芯片控制多个电源模块,例如Enable0、电源模块0和VMON0形成一个控制回路,Enablen、电源模块n和VMONn形成一个控制回路。The CPU or CPLD is connected to the POER1220 chip through the IIC bus, which is used for the CPU to obtain the power supply status, current value and temperature value from the POER1220 chip; the BMC is connected to the POER1220 chip through the SJTAG interface, which is used to upgrade the logic program of the 1220 chip. In addition, the POER1220 chip A SJTAG Header (offline programmer) is also connected through the SJTAG interface for offline upgrade of the logic program of the POER1220 chip; the Enable0 and Enablen pins of the POER1220 chip are connected to an external DC-DC module for enabling DC-DC The module outputs the power supply voltage to supply the load, and the voltages Vout0 and Voutn output by the DC-DC module are connected to the VMON pin of the POER1220 signal for real-time monitoring of the power supply voltage. A voltage comparator is used inside the VMON pin to compare the Vout voltage with the reference voltage designed by the internal logic program, and then obtain the overvoltage and undervoltage states, and obtain the accurate value of Vout. In this embodiment, the POER1220 chip controls multiple power modules. For example, Enable0, power module 0 and VMON0 form a control loop, and Enablen, power module n and VMONn form a control loop.

信号部分包含以下定义:The Signals section contains the following definitions:

SJTAG信号用于对POER1220芯片进行逻辑程序升级。The SJTAG signal is used to upgrade the logic program of the POER1220 chip.

IIC信号用于CPU从1220芯片获取电源电压、电流以及温度。The IIC signal is used by the CPU to obtain the power supply voltage, current and temperature from the 1220 chip.

Enable0/Enablen信号用于使能DC-DC模块。The Enable0/Enablen signal is used to enable the DC-DC module.

Vout0/Voutn是DC-DC模块的输出电压。Vout0/Voutn is the output voltage of the DC-DC module.

实施例2Example 2

本实施例提供一种服务器电源管理装置,所述装置包括:This embodiment provides a server power management device, the device includes:

FPGA,FPGA通过I2C总线连接处理器;FPGA的使能管脚连接服务器电源模块;FPGA的输入管脚连接电源模块输出端;FPGA通过SJTAG接口连接BMC。FPGA, the FPGA is connected to the processor through the I2C bus; the enable pin of the FPGA is connected to the server power supply module; the input pin of the FPGA is connected to the output end of the power supply module; the FPGA is connected to the BMC through the SJTAG interface.

实施例3Example 3

本实施例提供一种服务器电源管理装置,所述装置包括:This embodiment provides a server power management device, the device includes:

控制芯片,控制芯片通过I2C总线连接处理器。控制芯片通过SJTAG接口连接BMC。控制芯片的一对使能管脚和输入管脚之间连接一组电源模块。The control chip is connected to the processor through the I2C bus. The control chip is connected to the BMC through the SJTAG interface. A group of power modules is connected between a pair of enable pins and input pins of the control chip.

实施例4Example 4

本实施例提供一种服务器电源管理方法,包括如下步骤:This embodiment provides a server power management method, including the following steps:

S1、接收到处理器(CPU或CPLD)下发的电源控制指令后,提取指令中的目标电源模块设备码和目标电源状态。预先采集并保存电源模块设备码与使能管脚号的映射关系,根据目标电源模块设备码和映射关系调用对应使能管脚,通过对应使能管脚向目标电源模块下发控制指令,控制目标电源模块切换至目标电源状态。S1. After receiving the power control instruction issued by the processor (CPU or CPLD), extract the target power module device code and the target power state in the instruction. Collect and save the mapping relationship between the power module device code and the enable pin number in advance, call the corresponding enable pin according to the target power module device code and mapping relationship, and issue a control command to the target power module through the corresponding enable pin to control the The target power module switches to the target power state.

S2、通过目标电源模块的对应输入管脚采集目标电源模块的实际电压,判断实际电压与目标电源状态(上电状态或下电状态)是否相符,若目标电源状态为上电状态,则判断所述实际电压是否不为0,是则所述实际电压符合电源状态,不是则不符合;若目标电源状态为下电状态,则判断实际电压是否为0,若是则实际电压符合电源状态,不是则不符合。若实际电压不符合电源状态,则生成错误提示并将错误提示上报处理器,同时将错误提示写入本地错误日志。S2. Collect the actual voltage of the target power module through the corresponding input pin of the target power module, and judge whether the actual voltage is consistent with the target power state (power-on state or power-off state). Whether the actual voltage is not 0, if yes, the actual voltage conforms to the power state, if not, it does not conform; if the target power state is the power-off state, then judge whether the actual voltage is 0, if so, the actual voltage conforms to the power state, if not, then incompatible. If the actual voltage does not match the power state, an error message will be generated and reported to the processor, and the error message will be written to the local error log at the same time.

S3、设置基准电压值(12V),采集处于上电状态的电源模块的实际电压;调用电压比较器比对实际电压与基准电压值是否保持一致:若不一致,则将实际电压与基准电压值的差值写入错误日志并在控制芯片中保存错误日志。S3. Set the reference voltage value (12V), collect the actual voltage of the power module in the power-on state; call the voltage comparator to compare whether the actual voltage and the reference voltage value are consistent: if they are inconsistent, compare the actual voltage with the reference voltage value. The difference value is written to the error log and saved in the control chip.

实施例5Example 5

本实施例提供一种服务器电源管理系统,包括:This embodiment provides a server power management system, including:

电源控制单元,配置用于根据处理器下发的电源控制指令控制电源状态;a power control unit, configured to control the power state according to the power control instruction issued by the processor;

电压采集单元,配置用于采集当前电源模块实际电压;The voltage acquisition unit is configured to collect the actual voltage of the current power module;

电压判断单元,配置用于判断所述实际电压是否符合电源状态;a voltage judging unit, configured to judge whether the actual voltage conforms to the power state;

错误上报单元,配置用于若所述实际电压不符合电源状态,则生成错误提示并将所述错误提示上报处理器。An error reporting unit, configured to generate an error prompt and report the error prompt to the processor if the actual voltage does not conform to the power state.

进一步的,作为本申请的一个实施例,所述系统还包括:Further, as an embodiment of the present application, the system further includes:

基准设置单元,配置用于设置基准电压值;a reference setting unit, configured to set the reference voltage value;

电压监控单元,配置用于采集上电状态的电源模块的实际电压;The voltage monitoring unit is configured to collect the actual voltage of the power module in the power-on state;

一致比对单元,配置用于调用电压比较器比对所述实际电压与所述基准电压值是否一致;a consistent comparison unit, configured to call a voltage comparator to compare whether the actual voltage is consistent with the reference voltage value;

日志记录单元,配置用于若所述实际电压与所述基准电压值不一致,则将所述实际电压与所述基准电压值的差值写入错误日志并保存所述错误日志。A log recording unit, configured to write the difference between the actual voltage and the reference voltage value into an error log and save the error log if the actual voltage is inconsistent with the reference voltage value.

尽管通过参考附图并结合优选实施例的方式对本发明进行了详细描述,但本发明并不限于此。在不脱离本发明的精神和实质的前提下,本领域普通技术人员可以对本发明的实施例进行各种等效的修改或替换,而这些修改或替换都应在本发明的涵盖范围内/任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。Although the present invention has been described in detail in conjunction with the preferred embodiments with reference to the accompanying drawings, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, those of ordinary skill in the art can make various equivalent modifications or substitutions to the embodiments of the present invention, and these modifications or substitutions should all fall within the scope of the present invention/any Those skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should all be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

1. A server power management apparatus, the apparatus comprising:
the control chip is connected with the processor through an I2C bus; the enabling pin of the control chip is connected with the server power supply module; the input pin of the control chip is connected with the output end of the power supply module; the control chip is connected with the BMC through an SJTAG interface.
2. The device of claim 1, wherein the control chip is connected to the offline burner through an SJTAG interface.
3. The apparatus of claim 1, wherein the control chip comprises a plurality of enable pins and a plurality of corresponding input pins; the enabling pin is connected with the input end of the power supply module, and the corresponding input pin is connected with the output end of the power supply module to form a power supply management loop.
4. The device of claim 1, wherein the control chip is a POER1220 chip.
5. A server power management method, the method comprising:
controlling the power state according to a power control instruction issued by the processor;
collecting the actual voltage of the current power supply module;
judging whether the actual voltage meets the power supply state:
and if not, generating an error prompt and reporting the error prompt to the processor.
6. The method of claim 5, wherein the controlling the power state according to the power control command issued by the processor comprises:
acquiring and storing a mapping relation between a power module device code and an enabling pin number;
extracting a target power module device code of the control instruction;
calling a corresponding enabling pin according to the target power module equipment code and the mapping relation;
and issuing a control instruction to the target power supply module through the corresponding enabling pin.
7. The method of claim 5, wherein the determining whether the actual voltage meets the power state comprises:
recording a target power supply state of a latest control instruction of a target power supply module, wherein the power supply state comprises a power-on state and a power-off state;
if the target power state is a power-on state, judging whether the actual voltage is not 0, and if so, conforming to the power state;
if the target power supply state is a power-off state, judging whether the actual voltage is 0, and if so, determining that the actual voltage conforms to the power supply state.
8. The method of claim 5, further comprising:
setting a reference voltage value;
collecting the actual voltage of the power supply module in the power-on state;
calling a voltage comparator to compare whether the actual voltage is consistent with the reference voltage value:
and if not, writing the difference value of the actual voltage and the reference voltage value into an error log and storing the error log.
9. A server power management system, the system comprising:
the power supply control unit is configured for controlling the power supply state according to a power supply control instruction issued by the processor;
the voltage acquisition unit is configured for acquiring the actual voltage of the current power supply module;
the voltage judging unit is configured for judging whether the actual voltage accords with the power supply state;
and the error reporting unit is configured to generate an error prompt and report the error prompt to the processor if the actual voltage does not conform to the power state.
10. The system of claim 9, further comprising:
a reference setting unit configured to set a reference voltage value;
the voltage monitoring unit is used for acquiring the actual voltage of the power supply module in the power-on state;
the consistency comparison unit is configured to call a voltage comparator to compare whether the actual voltage is consistent with the reference voltage value;
and the log recording unit is configured to write the difference value between the actual voltage and the reference voltage value into an error log and store the error log if the actual voltage is inconsistent with the reference voltage value.
CN202010125517.9A 2020-02-27 2020-02-27 A server power management device, method and system Pending CN111338455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010125517.9A CN111338455A (en) 2020-02-27 2020-02-27 A server power management device, method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010125517.9A CN111338455A (en) 2020-02-27 2020-02-27 A server power management device, method and system

Publications (1)

Publication Number Publication Date
CN111338455A true CN111338455A (en) 2020-06-26

Family

ID=71182008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010125517.9A Pending CN111338455A (en) 2020-02-27 2020-02-27 A server power management device, method and system

Country Status (1)

Country Link
CN (1) CN111338455A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112462920A (en) * 2020-11-30 2021-03-09 苏州浪潮智能科技有限公司 Power supply control method, device, server and storage medium
CN113127296A (en) * 2021-03-26 2021-07-16 山东英信计算机技术有限公司 Method for detecting abnormality of OPEN19 server and OPEN19 server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203561985U (en) * 2013-11-13 2014-04-23 曙光信息产业(北京)有限公司 FPGA (field programmable gate array) chip and BMC (baseboard management controller) chip coordinated power management system for ATCA (advanced telecom computing architecture) blade
CN107294378A (en) * 2017-06-27 2017-10-24 北京嘉楠捷思信息技术有限公司 Circuit
CN109917895A (en) * 2019-03-13 2019-06-21 浪潮商用机器有限公司 A control device and control method of a voltage regulation module VRM
CN110597376A (en) * 2019-09-12 2019-12-20 苏州浪潮智能科技有限公司 Sequencing circuit and sequencing system
CN210038709U (en) * 2019-07-26 2020-02-07 苏州浪潮智能科技有限公司 Power monitoring management buckle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203561985U (en) * 2013-11-13 2014-04-23 曙光信息产业(北京)有限公司 FPGA (field programmable gate array) chip and BMC (baseboard management controller) chip coordinated power management system for ATCA (advanced telecom computing architecture) blade
CN107294378A (en) * 2017-06-27 2017-10-24 北京嘉楠捷思信息技术有限公司 Circuit
CN109917895A (en) * 2019-03-13 2019-06-21 浪潮商用机器有限公司 A control device and control method of a voltage regulation module VRM
CN210038709U (en) * 2019-07-26 2020-02-07 苏州浪潮智能科技有限公司 Power monitoring management buckle
CN110597376A (en) * 2019-09-12 2019-12-20 苏州浪潮智能科技有限公司 Sequencing circuit and sequencing system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨佩等: "ATCA机箱中业务板电源的监测与控制", 《电源技术》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112462920A (en) * 2020-11-30 2021-03-09 苏州浪潮智能科技有限公司 Power supply control method, device, server and storage medium
CN112462920B (en) * 2020-11-30 2023-02-28 苏州浪潮智能科技有限公司 Method, device, server and storage medium for power control
US12339724B2 (en) 2020-11-30 2025-06-24 Inspur Suzhou Intelligent Technology Co., Ltd. Power supply control method and apparatus, and server and non-volatile storage medium
CN113127296A (en) * 2021-03-26 2021-07-16 山东英信计算机技术有限公司 Method for detecting abnormality of OPEN19 server and OPEN19 server
CN113127296B (en) * 2021-03-26 2023-01-06 山东英信计算机技术有限公司 Method for detecting abnormity of OPEN19 server and OPEN19 server

Similar Documents

Publication Publication Date Title
CN106338690B (en) A kind of reserve battery detection method, device, system and method for supplying power to
CN112286709B (en) A kind of server hardware fault diagnosis method, diagnosis device and diagnosis equipment
US10528110B2 (en) Method for diagnosing power supply failure in a wireless communication device
CN106527646A (en) PMBUS-based mainboard power management method
US20240421629A1 (en) Control circuit, method, and apparatus for backup battery unit, and storage system
CN111338455A (en) A server power management device, method and system
CN112114989B (en) A Design Method for Fault Diagnosis of Server System
CN105260286A (en) Method for monitoring CPU working state in real time
CN110597376B (en) A sorting circuit and sorting system
CN116301278A (en) Power supply control method, equipment, device, storage medium and electronic device
CN107943654A (en) A kind of method of quick determining server environmental temperature monitoring abnormal cause
CN210038709U (en) Power monitoring management buckle
CN111381660A (en) Power supply control system and method of multi-node server based on CPLD (complex programmable logic device)
CN114884021B (en) Power supply control method of power supply circuit and related components
CN111707966A (en) A kind of leakage detection method and device of CPLD
CN115309250B (en) A method and system for improving power supply oring reliability
CN115728665A (en) A power failure detection circuit, method and system
CN114527858A (en) Server power supply and server power supply log generation method
CN116185158A (en) Method and device for determining power failure of server, storage medium and electronic device
CN100369009C (en) Monitoring system and method using system management interrupt signal
CN107976570A (en) Power consumption test method, device and medium during a kind of storage system data backup
CN113010999A (en) High-precision current equalizing method, system and medium for power supply module
CN111857319A (en) A method and system for intelligent optimization of server power consumption
CN113466566B (en) A trigger signal collection method and device
CN213814660U (en) Device for reading log record of PSU in abnormal state

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200626