[go: up one dir, main page]

CN115728665A - A power failure detection circuit, method and system - Google Patents

A power failure detection circuit, method and system Download PDF

Info

Publication number
CN115728665A
CN115728665A CN202211402788.XA CN202211402788A CN115728665A CN 115728665 A CN115728665 A CN 115728665A CN 202211402788 A CN202211402788 A CN 202211402788A CN 115728665 A CN115728665 A CN 115728665A
Authority
CN
China
Prior art keywords
chip
power
power supply
power failure
failure detection
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
CN202211402788.XA
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 CN202211402788.XA priority Critical patent/CN115728665A/en
Publication of CN115728665A publication Critical patent/CN115728665A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

本发明公开了一种电源故障检测电路、方法及系统,所述电源故障检测电路包括复杂可编程逻辑器件、电源芯片、基板管理控制器、检测模块、存储芯片,存储芯片包括寄存器,电源芯片的第一输出端连接到所述复杂可编程逻辑器件的输入端,所述复杂可编程逻辑器件的第一输出端通过I2C总线与所述基板管理控制器的输入端连接,所述基板管理控制器的输出端与所述存储芯片的第一输入端连接;所述复杂可编程逻辑器件的第二输出端连接到所述检测模块的第一输入端,所述电源芯片的第二输出端连接到所述检测模块的第二输入端,所述检测模块的输出端连接到所述存储芯片的第二输入端。本发明的技术方案不仅可以检测到电源故障,还可以检测电源故障的原因。

Figure 202211402788

The invention discloses a power failure detection circuit, method and system. The power failure detection circuit includes a complex programmable logic device, a power supply chip, a substrate management controller, a detection module, and a storage chip. The first output terminal is connected to the input terminal of the complex programmable logic device, the first output terminal of the complex programmable logic device is connected to the input terminal of the baseboard management controller through the I2C bus, and the baseboard management controller The output end of the described memory chip is connected to the first input end of the memory chip; the second output end of the complex programmable logic device is connected to the first input end of the detection module, and the second output end of the power supply chip is connected to the The second input end of the detection module, and the output end of the detection module are connected to the second input end of the memory chip. The technical solution of the invention can not only detect power failure, but also detect the cause of power failure.

Figure 202211402788

Description

一种电源故障检测电路、方法及系统A power failure detection circuit, method and system

技术领域technical field

本发明属于电子技术领域,尤其涉及一种电源故障检测电路、方法及系统。The invention belongs to the field of electronic technology, and in particular relates to a power failure detection circuit, method and system.

背景技术Background technique

目前,在服务器的使用过程中,由于某些原因主板及其他一些板卡会出现电源意外掉电的情况,而当板卡掉电时,故障信息很难实时保存。At present, during the use of the server, due to some reasons, the power supply of the motherboard and other boards may be unexpectedly powered off, and when the board is powered off, it is difficult to save the fault information in real time.

除此之外,也难以知晓是何种原因导致的板卡掉电。目前的电源芯片的保护做的都比较充分,保护的种类也比较多,但是芯片却不会自主去输出自己的故障信息,所以这时需要一个监测系统去监测故障信息,输出错误日志,方便诊断具体故障。In addition, it is also difficult to know what causes the board to lose power. The current power chip protection is relatively sufficient, and there are many types of protection, but the chip does not output its own fault information independently, so a monitoring system is needed at this time to monitor the fault information and output error logs to facilitate diagnosis. Specific failure.

现在服务器大多采用复杂可编程逻辑器件(CPLD)去监控电源芯片的电源号信号(PWRGD信号,用于指示供电电源的供电状态)去判断电源芯片是否发生故障,然后通过基板管理控制器(BMC)去读取CPLD中的信息来输出错误日志,来实现对服务器故障的诊断。这种监测PWRGD信号的方法,虽然可以判断出是哪个电源芯片出现了故障,但是导致电源故障的原因却不得而知。Most servers now use complex programmable logic devices (CPLD) to monitor the power signal of the power chip (PWRGD signal, used to indicate the power supply status of the power supply) to determine whether the power chip is faulty, and then through the baseboard management controller (BMC) To read the information in the CPLD to output the error log to realize the diagnosis of the server failure. Although this method of monitoring the PWRGD signal can determine which power chip is faulty, the cause of the power fault is unknown.

电源芯片的保护的种类有很多,例如过流保护,短路保护,过温保护,欠压保护,过压保护等,而PWRGD信号置低只能说明电源无输出。因此,局限性很强,而且如果出现整板掉电,会没有机会读取BMC的信息,此时信息直接会由于掉电而被擦除。There are many types of protection for the power chip, such as over-current protection, short-circuit protection, over-temperature protection, under-voltage protection, over-voltage protection, etc. However, setting the PWRGD signal low can only indicate that the power supply has no output. Therefore, the limitation is very strong, and if the entire board is powered off, there will be no chance to read the information of the BMC, and the information will be directly erased due to the power failure.

发明内容Contents of the invention

为了解决现有技术的问题,本发明提供了一种电源故障检测电路、方法及系统,所述电源故障检测电路包括复杂可编程逻辑器件、电源芯片、基板管理控制器、检测模块、存储芯片,所述存储芯片包括寄存器,所述电源芯片的第一输出端连接到所述复杂可编程逻辑器件的输入端,所述复杂可编程逻辑器件的第一输出端通过I2C总线与所述基板管理控制器的输入端连接,所述基板管理控制器的输出端与所述存储芯片的第一输入端连接;所述复杂可编程逻辑器件的第二输出端连接到所述检测模块的第一输入端,所述电源芯片的第二输出端连接到所述检测模块的第二输入端,所述检测模块的输出端连接到所述存储芯片的第二输入端。本发明的技术方案不仅可以检测到电源故障,还可以检测电源故障的原因。In order to solve the problems of the prior art, the present invention provides a power failure detection circuit, method and system, the power failure detection circuit includes a complex programmable logic device, a power supply chip, a substrate management controller, a detection module, a storage chip, The storage chip includes a register, the first output end of the power supply chip is connected to the input end of the complex programmable logic device, and the first output end of the complex programmable logic device communicates with the base board management control through an I2C bus connected to the input terminal of the device, the output terminal of the baseboard management controller is connected to the first input terminal of the memory chip; the second output terminal of the complex programmable logic device is connected to the first input terminal of the detection module The second output terminal of the power supply chip is connected to the second input terminal of the detection module, and the output terminal of the detection module is connected to the second input terminal of the memory chip. The technical solution of the invention can not only detect power failure, but also detect the cause of power failure.

所述技术方案如下:Described technical scheme is as follows:

第一方面,一种电源故障检测电路,所述电源故障检测电路包括复杂可编程逻辑器件、电源芯片、基板管理控制器、检测模块、存储芯片,所述存储芯片包括寄存器,In the first aspect, a power failure detection circuit, the power failure detection circuit includes a complex programmable logic device, a power chip, a baseboard management controller, a detection module, and a storage chip, and the storage chip includes a register,

所述电源芯片的第一输出端连接到所述复杂可编程逻辑器件的输入端,所述复杂可编程逻辑器件的第一输出端通过I2C总线与所述基板管理控制器的输入端连接,所述基板管理控制器的输出端与所述存储芯片的第一输入端连接;The first output terminal of the power chip is connected to the input terminal of the complex programmable logic device, and the first output terminal of the complex programmable logic device is connected to the input terminal of the baseboard management controller through the I2C bus, so The output end of the baseboard management controller is connected to the first input end of the memory chip;

所述复杂可编程逻辑器件的第二输出端连接到所述检测模块的第一输入端,所述电源芯片的第二输出端连接到所述检测模块的第二输入端,所述检测模块的输出端连接到所述存储芯片的第二输入端;The second output end of the complex programmable logic device is connected to the first input end of the detection module, the second output end of the power supply chip is connected to the second input end of the detection module, and the detection module The output terminal is connected to the second input terminal of the memory chip;

所述检测模块用于将电源故障检测信息结果转化为二进制信息,并将所述二进制信息存储于所述寄存器;所述基板管理控制器用于获取所述寄存器的电源故障检测信息,输出错误日志。The detection module is used to convert the result of power failure detection information into binary information, and store the binary information in the register; the baseboard management controller is used to obtain the power failure detection information of the register, and output an error log.

在一些实施例中,所述电源故障检测电路包括电容模块,In some embodiments, the power failure detection circuit includes a capacitor module,

所述电容模块的输出端连接到所述存储芯片的第三输入端;The output terminal of the capacitor module is connected to the third input terminal of the memory chip;

所述电容模块用于所述存储芯片的备用电源。The capacitor module is used for the backup power supply of the memory chip.

在一些实施例中,所述电源故障检测还包括硬盘,In some embodiments, the power failure detection further includes a hard disk,

所述存储芯片的输出端连接到所述硬盘的输入端;The output terminal of the memory chip is connected to the input terminal of the hard disk;

所述硬盘用于备份所述存储芯片存储的信息。The hard disk is used for backing up information stored in the memory chip.

在一些实施例中,所述电源故障检测电路还包括负载模块,In some embodiments, the power failure detection circuit further includes a load module,

所述电源芯片的第二输出端同时连接到所述负载模块的输入端。The second output terminal of the power chip is connected to the input terminal of the load module at the same time.

第二方面,本发明还提供了一种电源故障检测方法,所述方法,包括:In the second aspect, the present invention also provides a power failure detection method, the method comprising:

通过所述复杂可编程逻辑器件获取所述电源芯片的电源号信号;Obtain the power supply number signal of the power supply chip through the complex programmable logic device;

根据所述电源芯片的电源号信号确认开启检测模块;confirming that the detection module is turned on according to the power signal of the power chip;

通过所述检测模块对所述电源芯片出现故障的原因进行检测。The cause of the failure of the power supply chip is detected by the detection module.

在一些实施例中,所述根据所述电源芯片的电源号信号确认开启检测模块,包括:In some embodiments, the confirmation of starting the detection module according to the power signal signal of the power chip includes:

根据所述电源芯片的电源号信号判断所述电源芯片是否出现故障;judging whether the power chip is faulty according to the power signal of the power chip;

若是,则所述基板管理控制器根据接收的所述电源芯片出现故障的错误信息向所述复杂可编程逻辑器件发出报警信息,所述复杂可编程逻辑器件根据所述报警信号开启检测模块;若否,则重新通过所述复杂可编程逻辑器件获取所述电源芯片的电源号信号。If so, the baseboard management controller sends an alarm message to the complex programmable logic device according to the received error information that the power chip is faulty, and the complex programmable logic device turns on the detection module according to the alarm signal; if If not, the power signal of the power chip is obtained again through the complex programmable logic device.

在一些实施例中,所述通过所述检测模块对所述电源芯片出现故障的原因进行检测,包括:In some embodiments, the detection of the cause of the failure of the power supply chip through the detection module includes:

所述检测模块依次对所述电源芯片出现故障涉及的电路保护种类进行检测;The detection module sequentially detects the type of circuit protection involved in the failure of the power chip;

判断是否检测到导致所述电源芯片出现故障而出现问题的电路保护种类;Judging whether to detect the type of circuit protection that causes the power chip to fail and cause problems;

若是,则根据检测到的出现问题的电路保护种类将电源故障检测信息结果转化为对应的二进制信息,并将所述二进制信息存储于所述存储芯片的寄存器;若否,则继续依次对所述电源芯片出现故障涉及的电路保护种类进行检测。If so, then convert the power failure detection information result into corresponding binary information according to the detected circuit protection type of the problem, and store the binary information in the register of the memory chip; The type of circuit protection involved in the failure of the power chip is detected.

在一些实施例中,所述通过所述检测模块对所述电源芯片出现故障的原因进行检测之后,包括:In some embodiments, after the detection module detects the cause of the failure of the power supply chip, it includes:

将所述电容模块作为备用电源,将所述寄存器接收到的电源故障检测信息结果对应的二进制信息备份到所述硬盘。The capacitor module is used as a backup power supply, and the binary information corresponding to the power failure detection information result received by the register is backed up to the hard disk.

在一些实施例中,所述通过所述检测模块对所述电源芯片出现故障的原因进行检测之后,还包括:In some embodiments, after detecting the cause of the failure of the power supply chip through the detection module, it further includes:

所述基板管理控制器获取所述寄存器存储的电源故障检测信息结果对应的二进制信息,根据所述电源故障检测信息结果对应的二进制信息输出错误日志。The baseboard management controller acquires binary information corresponding to the power failure detection information result stored in the register, and outputs an error log according to the binary information corresponding to the power failure detection information result.

第三方面,本发明还提供了一种电源故障检测系统,所述系统包括如第一方面任一所述的电源故障检测电路。In a third aspect, the present invention also provides a power failure detection system, said system comprising the power failure detection circuit according to any one of the first aspect.

本发明实施例公开的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions disclosed in the embodiments of the present invention are:

本发明公开了一种电源故障检测电路、方法及系统,所述电源故障检测电路包括复杂可编程逻辑器件、电源芯片、基板管理控制器、检测模块、存储芯片,所述存储芯片包括寄存器,所述电源芯片的第一输出端连接到所述复杂可编程逻辑器件的输入端,所述复杂可编程逻辑器件的第一输出端通过I2C总线与所述基板管理控制器的输入端连接,所述基板管理控制器的输出端与所述存储芯片的第一输入端连接;所述复杂可编程逻辑器件的第二输出端连接到所述检测模块的第一输入端,所述电源芯片的第二输出端连接到所述检测模块的第二输入端,所述检测模块的输出端连接到所述存储芯片的第二输入端。本发明的技术方案不仅可以检测到电源故障,还可以检测电源故障的原因。The invention discloses a power failure detection circuit, method and system. The power failure detection circuit includes a complex programmable logic device, a power chip, a substrate management controller, a detection module, and a storage chip. The storage chip includes a register. The first output terminal of the power chip is connected to the input terminal of the complex programmable logic device, and the first output terminal of the complex programmable logic device is connected to the input terminal of the baseboard management controller through the I2C bus, and the The output terminal of the baseboard management controller is connected to the first input terminal of the storage chip; the second output terminal of the complex programmable logic device is connected to the first input terminal of the detection module, and the second output terminal of the power chip The output terminal is connected to the second input terminal of the detection module, and the output terminal of the detection module is connected to the second input terminal of the memory chip. The technical solution of the invention can not only detect power failure, but also detect the cause of power failure.

本发明实施例公开的技术方案设计可以用于监测板卡上电源芯片故障的系统,可以具体判别出电源芯片发生哪种故障,并且通过BMC记录错误日志,可以通过访问错误日志确定具体发生故障的原因。The technical solution design disclosed in the embodiment of the present invention can be used to monitor the system for the fault of the power chip on the board, which kind of fault occurs in the power chip can be specifically identified, and the error log can be recorded through the BMC, and the specific fault can be determined by accessing the error log. reason.

本发明实施例公开的技术方案当板卡出现12V掉电时可以通过超级电容模块,然后将存储芯片寄存器的二进制故障信息写入到硬盘中,防止故障信息的丢失。The technical solution disclosed in the embodiment of the present invention can write the binary fault information of the memory chip register into the hard disk through the supercapacitor module when the 12V power failure of the board occurs, so as to prevent the loss of the fault information.

本发明实施例公开的技术方案对电源VR(Voltage Regulation)芯片具体故障原因进行检测,方便后期的维修debug工作,同时诊断板卡的具体问题;利用BMC来实现这一功能,可以直观的输出错误日志,方便维护人员处理解决问题;利用超级电容电路对故障信息进行备份,防止整板掉电后的监测故障数据丢失。The technical solution disclosed in the embodiment of the present invention detects the specific failure cause of the power supply VR (Voltage Regulation) chip, which facilitates later maintenance and debugging work, and at the same time diagnoses specific problems of the board; using BMC to realize this function can intuitively output errors The log is convenient for maintenance personnel to deal with and solve problems; the fault information is backed up by using the super capacitor circuit to prevent the loss of monitoring fault data after the entire board is powered off.

附图说明Description of drawings

在结合以下附图阅读本公开的实施例的详细描述之后,能够更好地理解本发明的上述特征和优点。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The above-mentioned features and advantages of the present invention can be better understood after reading the detailed description of the embodiments of the present disclosure in conjunction with the following drawings. Apparently, the drawings in the following description are only some embodiments of the present invention, and those skilled in the art can obtain other drawings according to these drawings without creative efforts.

图1示出了本发明所述的电源故障检测电路的结构图;Fig. 1 shows the structural diagram of the power failure detection circuit of the present invention;

图2示出了本发明所述的电源故障检测方法的流程图;Fig. 2 shows the flowchart of the power failure detection method of the present invention;

图3示出了本发明过温保护出现问题的寄存器数值图;Fig. 3 shows the register numerical chart of the overtemperature protection problem of the present invention;

图4示出了本发明所述的电源故障检测方法的具体流程图;Fig. 4 shows the specific flowchart of the power failure detection method of the present invention;

图5示出了本发明所述的电源故障检测装置的结构图。Fig. 5 shows a structural diagram of the power failure detection device of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages 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 accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Some, but not all, embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

需要说明的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。在本发明的描述中,“多个”或“若干”的含义是两个以上,除非另有明确具体的限定。It should be noted that the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. In the description of the present invention, "plurality" or "several" means two or more, unless otherwise specifically defined.

实施例一Embodiment one

本发明实施例提供了一种电源故障检测电路,如图1所示,所述电源故障检测电路包括复杂可编程逻辑器件、电源芯片、基板管理控制器、检测模块、存储芯片,所述存储芯片包括寄存器,An embodiment of the present invention provides a power failure detection circuit. As shown in FIG. 1, the power failure detection circuit includes a complex programmable logic device, a power supply chip, a substrate management controller, a detection module, and a storage chip. including registers,

所述电源芯片的第一输出端连接到所述复杂可编程逻辑器件的输入端,所述复杂可编程逻辑器件的第一输出端通过I2C总线与所述基板管理控制器的输入端连接,所述基板管理控制器的输出端与所述存储芯片的第一输入端连接;The first output terminal of the power chip is connected to the input terminal of the complex programmable logic device, and the first output terminal of the complex programmable logic device is connected to the input terminal of the baseboard management controller through the I2C bus, so The output end of the baseboard management controller is connected to the first input end of the memory chip;

所述复杂可编程逻辑器件的第二输出端连接到所述检测模块的第一输入端,所述电源芯片的第二输出端连接到所述检测模块的第二输入端,所述检测模块的输出端连接到所述存储芯片的第二输入端;The second output end of the complex programmable logic device is connected to the first input end of the detection module, the second output end of the power supply chip is connected to the second input end of the detection module, and the detection module The output terminal is connected to the second input terminal of the memory chip;

所述检测模块用于将电源故障检测信息结果转化为二进制信息,并将所述二进制信息存储于所述寄存器;所述基板管理控制器用于获取所述寄存器的电源故障检测信息,输出错误日志。The detection module is used to convert the result of power failure detection information into binary information, and store the binary information in the register; the baseboard management controller is used to obtain the power failure detection information of the register, and output an error log.

具体地,本发明技术方案在电源芯片与负载模块之间加入检测电路,来实现对发生各种电源保护种类状态的实时监测,并将监测到的结果输入到存储芯片的寄存器中,基板管理控制器通过I2C通信,读取寄存器中的电源故障检测数据,并根据电源故障检测数据读数,输出错误日志。Specifically, the technical solution of the present invention adds a detection circuit between the power supply chip and the load module to realize real-time monitoring of various power supply protection statuses, and input the monitored results into the registers of the memory chip, and the substrate management control The device reads the power failure detection data in the register through I2C communication, and outputs an error log according to the reading of the power failure detection data.

所述检测模块用于将电源故障检测信息编写成一组六位二进制数,再将二进制数写入存储芯片中,因为电源故障检测数据对应的二进制数会因电源掉电而导致数据被擦除,因此,这里需要利用超级电容即电容模块作为备用电源,将存储芯片存储的电源故障检测数据备份到硬盘中,防止数据丢失。The detection module is used to write the power failure detection information into a set of six-digit binary numbers, and then write the binary numbers into the memory chip, because the binary numbers corresponding to the power failure detection data will be erased due to power failure, Therefore, it is necessary to use a supercapacitor, that is, a capacitor module, as a backup power supply to back up the power failure detection data stored in the memory chip to the hard disk to prevent data loss.

在本实施例中,所述电源故障检测电路包括电容模块,In this embodiment, the power failure detection circuit includes a capacitor module,

所述电容模块的输出端连接到所述存储芯片的第三输入端;The output terminal of the capacitor module is connected to the third input terminal of the memory chip;

所述电容模块用于所述存储芯片的备用电源。The capacitor module is used for the backup power supply of the memory chip.

在本实施例中,所述电源故障检测还包括硬盘,In this embodiment, the power failure detection further includes a hard disk,

所述存储芯片的输出端连接到所述硬盘的输入端;The output terminal of the memory chip is connected to the input terminal of the hard disk;

所述硬盘用于备份所述存储芯片存储的信息。The hard disk is used for backing up information stored in the memory chip.

在本实施例中,所述电源故障检测电路还包括负载模块,In this embodiment, the power failure detection circuit further includes a load module,

所述电源芯片的第二输出端同时连接到所述负载模块的输入端。The second output terminal of the power chip is connected to the input terminal of the load module at the same time.

具体地,所述负载模块包括服务器后端的用电器件,例如CPU等。Specifically, the load module includes power-consuming devices at the back end of the server, such as a CPU and the like.

本发明实施例公开的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions disclosed in the embodiments of the present invention are:

所述电源故障检测电路包括复杂可编程逻辑器件、电源芯片、基板管理控制器、检测模块、存储芯片,所述存储芯片包括寄存器,所述电源芯片的第一输出端连接到所述复杂可编程逻辑器件的输入端,所述复杂可编程逻辑器件的第一输出端通过I2C总线与所述基板管理控制器的输入端连接,所述基板管理控制器的输出端与所述存储芯片的第一输入端连接;所述复杂可编程逻辑器件的第二输出端连接到所述检测模块的第一输入端,所述电源芯片的第二输出端连接到所述检测模块的第二输入端,所述检测模块的输出端连接到所述存储芯片的第二输入端。本发明的技术方案不仅可以检测到电源故障,还可以检测电源故障的原因。The power failure detection circuit includes a complex programmable logic device, a power chip, a baseboard management controller, a detection module, and a storage chip, the storage chip includes a register, and the first output terminal of the power chip is connected to the complex programmable The input terminal of the logic device, the first output terminal of the complex programmable logic device is connected to the input terminal of the baseboard management controller through the I2C bus, and the output terminal of the baseboard management controller is connected to the first output terminal of the storage chip. The input terminal is connected; the second output terminal of the complex programmable logic device is connected to the first input terminal of the detection module, and the second output terminal of the power chip is connected to the second input terminal of the detection module, so The output end of the detection module is connected to the second input end of the memory chip. The technical solution of the invention can not only detect power failure, but also detect the cause of power failure.

本发明实施例公开的技术方案设计可以用于监测板卡上电源芯片故障的系统,可以具体判别出电源芯片发生哪种故障,并且通过BMC记录错误日志,可以通过访问错误日志确定具体发生故障的原因。The technical solution design disclosed in the embodiment of the present invention can be used to monitor the system for the fault of the power chip on the board, which kind of fault occurs in the power chip can be specifically identified, and the error log can be recorded through the BMC, and the specific fault can be determined by accessing the error log. reason.

实施例二Embodiment two

本发明提供了一种电源故障检测方法,如图2所示,所述方法包括:The present invention provides a power failure detection method, as shown in Figure 2, the method includes:

步骤S1,通过所述复杂可编程逻辑器件获取所述电源芯片的电源号信号。Step S1, acquiring the power signal of the power chip through the complex programmable logic device.

具体地,通过所述复杂可编程逻辑器件获取所述电源芯片的PWRGD信号,Specifically, the PWRGD signal of the power chip is obtained through the complex programmable logic device,

其中,所述PWRGD信号用于指示供电电源的供电状态。Wherein, the PWRGD signal is used to indicate the power supply state of the power supply.

步骤S2,根据所述电源芯片的电源号信号确认开启检测模块。Step S2, confirming that the detection module is turned on according to the power signal signal of the power chip.

具体地,复杂可编程逻辑器件CPLD对板卡上的电源芯片的PWRGD信号进行检测,基板管理控制器BMC与复杂可编程逻辑器件CPLD实现通信,能读取到PWRGD信号的状况,也能向复杂可编程逻辑器件CPLD发出指令,CPLD可以根据所述指令控制检测模块的开启与关闭。Specifically, the complex programmable logic device CPLD detects the PWRGD signal of the power chip on the board, and the baseboard management controller BMC communicates with the complex programmable logic device CPLD to read the status of the PWRGD signal and report The programmable logic device CPLD issues instructions, and the CPLD can control the opening and closing of the detection module according to the instructions.

步骤S2还包括:Step S2 also includes:

步骤S21,根据所述电源芯片的电源号信号判断所述电源芯片是否出现故障;Step S21, judging whether the power chip is faulty according to the power signal of the power chip;

若是,则所述基板管理控制器根据接收的所述电源芯片出现故障的错误信息向所述复杂可编程逻辑器件发出报警信息,所述复杂可编程逻辑器件根据所述报警信号开启检测模块;若否,则重新通过所述复杂可编程逻辑器件获取所述电源芯片的电源号信号。If so, the baseboard management controller sends an alarm message to the complex programmable logic device according to the received error information that the power chip is faulty, and the complex programmable logic device turns on the detection module according to the alarm signal; if If not, the power signal of the power chip is obtained again through the complex programmable logic device.

具体地,根据所述电源芯片的电源号信号判断所述电源芯片的电源号PWRGD信号是否为低电平,即所述电源芯片是否出现故障;Specifically, judge whether the power signal PWRGD signal of the power chip is low level according to the power signal signal of the power chip, that is, whether the power chip fails;

若是,则所述基板管理控制器根据接收的所述电源芯片出现故障的错误信息向所述复杂可编程逻辑器件发出报警Alert信息,所述复杂可编程逻辑器件根据所述报警信号开启检测模块;若否,则重新通过所述复杂可编程逻辑器件获取所述电源芯片的电源号信号。If so, the baseboard management controller sends an alarm Alert message to the complex programmable logic device according to the received error information that the power supply chip is faulty, and the complex programmable logic device turns on the detection module according to the alarm signal; If not, the power supply number signal of the power supply chip is obtained again through the complex programmable logic device.

步骤S3,通过所述检测模块对所述电源芯片出现故障的原因进行检测。Step S3, detecting the cause of the failure of the power supply chip through the detection module.

步骤S3还包括:Step S3 also includes:

步骤S31,所述检测模块依次对所述电源芯片出现故障涉及的电路保护种类进行检测;Step S31, the detection module sequentially detects the type of circuit protection involved in the failure of the power chip;

判断是否检测到导致所述电源芯片出现故障而出现问题的电路保护种类;Judging whether to detect the type of circuit protection that causes the power chip to fail and cause problems;

若是,则根据检测到的出现问题的电路保护种类将电源故障检测信息结果转化为对应的二进制信息,并将所述二进制信息存储于所述存储芯片的寄存器;若否,则继续依次对所述电源芯片出现故障涉及的电路保护种类进行检测。If so, then convert the power failure detection information result into corresponding binary information according to the detected circuit protection type of the problem, and store the binary information in the register of the memory chip; The type of circuit protection involved in the failure of the power chip is detected.

具体地,检测模块将电源故障检测结果信息组成一组六位二进制数,并将所述二进制数写入存储芯片中。Specifically, the detection module forms a group of six-digit binary numbers into the power failure detection result information, and writes the binary numbers into the memory chip.

这里,电源故障检测电路对过流保护、短路保护、过温保护、过压保护、欠压保护种类进行监控,同时将其他发生的保护种类归为一类,一共输出六位二进制数,分别与上述六种一一对应;‘0’代表未发生该保护,‘1’代表发生了该种保护。Here, the power failure detection circuit monitors the types of over-current protection, short-circuit protection, over-temperature protection, over-voltage protection, and under-voltage protection. The above six types correspond to each other; '0' means that the protection has not occurred, and '1' means that the protection has occurred.

其中,当所述过流保护出现问题时,用电器件的电流较大;当所述短路保护出现问题时,用电器件出现短路现象;当所述过温保护出现问题时,用电器件的温度较高;当所述欠压保护出现问题时,用电器件的输出电压出现降低的现象;当所述过压保护出现问题时,用电器件的输出电压有升高的现象。Wherein, when a problem occurs in the overcurrent protection, the current of the electrical device is large; when a problem occurs in the short circuit protection, a short circuit occurs in the electrical device; The temperature is high; when there is a problem with the undervoltage protection, the output voltage of the electrical device decreases; when there is a problem with the overvoltage protection, the output voltage of the electrical device increases.

如图3为过温保护出现问题的寄存器数值图,当过温保护出现问题时,寄存器输出数值,此时通过BMC输出的错误日志对电源过温保护进行维修和重点检测。As shown in Figure 3, there is a register value diagram of a problem with the over-temperature protection. When there is a problem with the over-temperature protection, the register outputs a value. At this time, the over-temperature protection of the power supply is repaired and key detected through the error log output by the BMC.

步骤S4,将所述电容模块作为备用电源,将所述寄存器接收到的电源故障检测信息结果对应的二进制信息备份到所述硬盘。Step S4, using the capacitor module as a backup power supply, and backing up the binary information corresponding to the power failure detection information result received by the register to the hard disk.

具体地,存储芯片将电源故障检测结果反馈给BMC,并且通过将超级电容作为备用电源以及硬盘实现对存储芯片信息的备份。Specifically, the memory chip feeds back the power failure detection result to the BMC, and uses the supercapacitor as a backup power supply and a hard disk to back up the information of the memory chip.

步骤S5,所述基板管理控制器获取所述寄存器存储的电源故障检测信息结果对应的二进制信息,根据所述电源故障检测信息结果对应的二进制信息输出错误日志。Step S5, the baseboard management controller acquires binary information corresponding to the power failure detection information result stored in the register, and outputs an error log according to the binary information corresponding to the power failure detection information result.

图4为所述的电源故障检测方法的具体流程图,本发明在复杂可编程逻辑器件CPLD监测到PWRGD信号为低电平后,通过I2C通信将电源号信号为低电平的错误信息发送给BMC,BMC返回指令让CPLD启动检测模块,检测模块会依次对过流保护、短路保护、过温保护、过压保护、欠压保护进行检测;当检测到导致电源故障掉电的出现问题的保护种类,系统发生中断,输出检测到的电源故障检测结果,当前面五种保护种类都未检测到,即前面五种保护种类都没有出现问题,此时系统会输出其他保护的结果。Fig. 4 is the specific flow chart of described power supply fault detection method, and the present invention is after the complex programmable logic device CPLD monitors that PWRGD signal is low level, by I2C communication, the error message that the power supply number signal is low level is sent to BMC, BMC return command to let CPLD start the detection module, the detection module will sequentially detect over-current protection, short-circuit protection, over-temperature protection, over-voltage protection, under-voltage protection; Type, when the system is interrupted, output the detection result of the detected power failure. When none of the previous five protection types are detected, that is, there is no problem with the first five protection types, the system will output other protection results at this time.

这里,为了防止基板管理控制器BMC发生掉电,系统通过一个超级电容模块作为备用电源,将存储芯片的寄存器接收到的电源故障检测结果备份到硬盘中。Here, in order to prevent the baseboard management controller BMC from losing power, the system uses a supercapacitor module as a backup power supply to back up the power failure detection results received by the registers of the memory chip to the hard disk.

而在BMC正常工作时可以通过BMC读取寄存器的检测结果,在BMC掉电后,也可以通过硬盘中的备份检测结果判断电源故障的原因。When the BMC is working normally, the detection result of the register can be read through the BMC. After the BMC is powered off, the cause of the power failure can also be judged through the backup detection result in the hard disk.

本发明的技术方案为当电源芯片出现故障时,通过电源故障检测方法诊断出电源芯片的故障原因,并且通过BMC输出故障的错误日志,利用超级电容作为备用电源,来实现对存储芯片上的电源故障检测信息进行备份,防止电源故障检测信息的意外丢失。The technical scheme of the present invention is that when the power chip fails, the fault cause of the power chip is diagnosed by the power fault detection method, and the error log of the fault is output through the BMC, and the supercapacitor is used as a backup power source to realize the power supply on the storage chip. The fault detection information is backed up to prevent accidental loss of power fault detection information.

本发明实施例提供的电源故障检测的方法在不脱离本发明技术方案的前提下,还可以做出若干改进以及优化,这些改进与优化也应当视为本发明的保护范围。The power failure detection method provided by the embodiment of the present invention can be improved and optimized without departing from the technical solution of the present invention, and these improvements and optimizations should also be regarded as the protection scope of the present invention.

最后,电源芯片能够触发的保护种类还有很多,本技术方案还可以加入更多的保护种类的检测,提高检测的可靠性,本发明基于对电源芯片发生保护的保护种类的诊断,若电源芯片VR损坏,可以检测出具体电源故障的原因。Finally, there are many protection types that can be triggered by the power chip. This technical solution can also add detection of more protection types to improve the reliability of the detection. The present invention is based on the diagnosis of the protection type of the power chip protection. VR damage can detect the cause of a specific power failure.

本发明实施例公开的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions disclosed in the embodiments of the present invention are:

本发明实施例公开的技术方案当板卡出现12V掉电时可以通过超级电容模块,然后将存储芯片寄存器的二进制故障信息写入到硬盘中,防止故障信息的丢失。The technical solution disclosed in the embodiment of the present invention can write the binary fault information of the memory chip register into the hard disk through the supercapacitor module when the 12V power failure of the board occurs, so as to prevent the loss of the fault information.

本发明实施例公开的技术方案对电源VR(Voltage Regulation)芯片具体故障原因进行检测,方便后期的维修debug工作,同时诊断板卡的具体问题;利用BMC来实现这一功能,可以直观的输出错误日志,方便维护人员处理解决问题;利用超级电容电路对故障信息进行备份,防止整板掉电后的监测故障数据丢失。The technical solution disclosed in the embodiment of the present invention detects the specific failure cause of the power supply VR (Voltage Regulation) chip, which facilitates later maintenance and debugging work, and at the same time diagnoses specific problems of the board; using BMC to realize this function can intuitively output errors The log is convenient for maintenance personnel to deal with and solve problems; the fault information is backed up by using the super capacitor circuit to prevent the loss of monitoring fault data after the entire board is powered off.

实施例三Embodiment Three

本发明提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时可以执行如下电源故障检测的方法:The present invention provides a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the computer program, it can perform the following power failure detection method:

通过所述复杂可编程逻辑器件获取所述电源芯片的电源号信号;Obtain the power supply number signal of the power supply chip through the complex programmable logic device;

根据所述电源芯片的电源号信号确认开启检测模块;confirming that the detection module is turned on according to the power signal of the power chip;

通过所述检测模块对所述电源芯片出现故障的原因进行检测。The cause of the failure of the power supply chip is detected by the detection module.

本发明实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solution provided by the embodiments of the present invention are:

本发明实施例公开的技术方案对电源VR(Voltage Regulation)芯片具体故障原因进行检测,方便后期的维修debug工作,同时诊断板卡的具体问题;利用BMC来实现这一功能,可以直观的输出错误日志,方便维护人员处理解决问题;利用超级电容电路对故障信息进行备份,防止整板掉电后的监测故障数据丢失。The technical solution disclosed in the embodiment of the present invention detects the specific failure cause of the power supply VR (Voltage Regulation) chip, which facilitates later maintenance and debugging work, and at the same time diagnoses specific problems of the board; using BMC to realize this function can intuitively output errors The log is convenient for maintenance personnel to deal with and solve problems; the fault information is backed up by using the super capacitor circuit to prevent the loss of monitoring fault data after the entire board is powered off.

实施例四Embodiment four

本发明提供了一种电源故障检测装置,如图5所示,所述装置包括获取模块、处理模块、检测模块、后处理模块。The present invention provides a power failure detection device. As shown in FIG. 5 , the device includes an acquisition module, a processing module, a detection module, and a post-processing module.

在本实施例中,获取模块,用于通过所述复杂可编程逻辑器件获取所述电源芯片的电源号信号;In this embodiment, the acquiring module is configured to acquire the power signal signal of the power chip through the complex programmable logic device;

处理模块,用于根据所述电源芯片的电源号信号确认开启检测模块;A processing module, configured to confirm that the detection module is turned on according to the power signal of the power chip;

检测模块,用于通过所述检测模块对所述电源芯片出现故障的原因进行检测。The detection module is used to detect the cause of the failure of the power supply chip through the detection module.

在本实施例中,处理模块,用于根据所述电源芯片的电源号信号判断所述电源芯片是否出现故障;In this embodiment, the processing module is configured to judge whether the power chip is faulty according to the power signal signal of the power chip;

若是,则所述基板管理控制器根据接收的所述电源芯片出现故障的错误信息向所述复杂可编程逻辑器件发出报警信息,所述复杂可编程逻辑器件根据所述报警信号开启检测模块;若否,则重新通过所述复杂可编程逻辑器件获取所述电源芯片的电源号信号。If so, the baseboard management controller sends an alarm message to the complex programmable logic device according to the received error information that the power chip is faulty, and the complex programmable logic device turns on the detection module according to the alarm signal; if If not, the power signal of the power chip is obtained again through the complex programmable logic device.

在本实施例中,检测模块,还用于依次对所述电源芯片出现故障涉及的电路保护种类进行检测;In this embodiment, the detection module is also used to sequentially detect the type of circuit protection involved in the failure of the power supply chip;

判断是否检测到导致所述电源芯片出现故障而出现问题的电路保护种类;Judging whether to detect the type of circuit protection that causes the power chip to fail and cause problems;

若是,则根据检测到的出现问题的电路保护种类将电源故障检测信息结果转化为对应的二进制信息,并将所述二进制信息存储于所述存储芯片的寄存器;若否,则继续依次对所述电源芯片出现故障涉及的电路保护种类进行检测。If so, then convert the power failure detection information result into corresponding binary information according to the detected circuit protection type of the problem, and store the binary information in the register of the memory chip; The type of circuit protection involved in the failure of the power chip is detected.

在本实施例中,后处理模块,用于将所述电容模块作为备用电源,将所述寄存器接收到的电源故障检测信息结果对应的二进制信息备份到所述硬盘。In this embodiment, the post-processing module is configured to use the capacitor module as a backup power supply, and back up the binary information corresponding to the power failure detection information result received by the register to the hard disk.

在本实施例中,后处理模块,用于所述基板管理控制器获取所述寄存器存储的电源故障检测信息结果对应的二进制信息,根据所述电源故障检测信息结果对应的二进制信息输出错误日志。In this embodiment, the post-processing module is used for the baseboard management controller to obtain binary information corresponding to the power failure detection information result stored in the register, and to output an error log according to the binary information corresponding to the power failure detection information result.

本发明实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solution provided by the embodiments of the present invention are:

本发明实施例公开的技术方案设计可以用于监测板卡上电源芯片故障的系统,可以具体判别出电源芯片发生哪种故障,并且通过BMC记录错误日志,可以通过访问错误日志确定具体发生故障的原因。The technical solution design disclosed in the embodiment of the present invention can be used to monitor the system for the fault of the power chip on the board, which kind of fault occurs in the power chip can be specifically identified, and the error log can be recorded through the BMC, and the specific fault can be determined by accessing the error log. reason.

本发明实施例公开的技术方案当板卡出现12V掉电时可以通过超级电容模块,然后将存储芯片寄存器的二进制故障信息写入到硬盘中,防止故障信息的丢失。The technical solution disclosed in the embodiment of the present invention can write the binary fault information of the memory chip register into the hard disk through the supercapacitor module when the 12V power failure of the board occurs, so as to prevent the loss of the fault information.

实施例五Embodiment five

本发明提供了一种电源故障检测系统,所述电源故障检测系统包括电源故障检测电路,所述电源故障检测电路包括复杂可编程逻辑器件、电源芯片、基板管理控制器、检测模块、存储芯片,所述存储芯片包括寄存器,The present invention provides a power failure detection system. The power failure detection system includes a power failure detection circuit. The power failure detection circuit includes a complex programmable logic device, a power chip, a substrate management controller, a detection module, and a storage chip. The memory chip includes registers,

所述电源芯片的第一输出端连接到所述复杂可编程逻辑器件的输入端,所述复杂可编程逻辑器件的第一输出端通过I2C总线与所述基板管理控制器的输入端连接,所述基板管理控制器的输出端与所述存储芯片的第一输入端连接;The first output terminal of the power chip is connected to the input terminal of the complex programmable logic device, and the first output terminal of the complex programmable logic device is connected to the input terminal of the baseboard management controller through the I2C bus, so The output end of the baseboard management controller is connected to the first input end of the memory chip;

所述复杂可编程逻辑器件的第二输出端连接到所述检测模块的第一输入端,所述电源芯片的第二输出端连接到所述检测模块的第二输入端,所述检测模块的输出端连接到所述存储芯片的第二输入端;The second output end of the complex programmable logic device is connected to the first input end of the detection module, the second output end of the power supply chip is connected to the second input end of the detection module, and the detection module The output terminal is connected to the second input terminal of the memory chip;

所述检测模块用于将电源故障检测信息结果转化为二进制信息,并将所述二进制信息存储于所述寄存器;所述基板管理控制器用于获取所述寄存器的电源故障检测信息,输出错误日志。The detection module is used to convert the result of power failure detection information into binary information, and store the binary information in the register; the baseboard management controller is used to obtain the power failure detection information of the register, and output an error log.

在一些实施例中,所述电源故障检测电路包括电容模块,In some embodiments, the power failure detection circuit includes a capacitor module,

所述电容模块的输出端连接到所述存储芯片的第三输入端;The output terminal of the capacitor module is connected to the third input terminal of the memory chip;

所述电容模块用于所述存储芯片的备用电源。The capacitor module is used for the backup power supply of the memory chip.

在一些实施例中,所述电源故障检测还包括硬盘,In some embodiments, the power failure detection further includes a hard disk,

所述存储芯片的输出端连接到所述硬盘的输入端;The output terminal of the memory chip is connected to the input terminal of the hard disk;

所述硬盘用于备份所述存储芯片存储的信息。The hard disk is used for backing up information stored in the memory chip.

在一些实施例中,所述电源故障检测电路还包括负载模块,In some embodiments, the power failure detection circuit further includes a load module,

所述电源芯片的第二输出端同时连接到所述负载模块的输入端。The second output terminal of the power chip is connected to the input terminal of the load module at the same time.

本发明实施例公开的技术方案设计可以用于监测板卡上电源芯片故障的系统,可以具体判别出电源芯片发生哪种故障,并且通过BMC记录错误日志,可以通过访问错误日志确定具体发生故障的原因。The technical solution design disclosed in the embodiment of the present invention can be used to monitor the system for the fault of the power chip on the board, which kind of fault occurs in the power chip can be specifically identified, and the error log can be recorded through the BMC, and the specific fault can be determined by accessing the error log. reason.

本发明实施例公开的技术方案当板卡出现12V掉电时可以通过超级电容模块,然后将存储芯片寄存器的二进制故障信息写入到硬盘中,防止故障信息的丢失。The technical solution disclosed in the embodiment of the present invention can write the binary fault information of the memory chip register into the hard disk through the supercapacitor module when the 12V power failure of the board occurs, so as to prevent the loss of the fault information.

上述所有可选技术方案,可以采用任意结合形成本发明的可选实施例,在此不再一一赘述。All the above optional technical solutions can be combined in any way to form an optional embodiment of the present invention, which will not be repeated here.

尽管已描述了本申请实施例中的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请实施例中范围的所有变更和修改。Although the preferred embodiments of the embodiments of the present application have been described, those skilled in the art can make additional changes and modifications to these embodiments once the basic inventive concept is understood. Therefore, the appended claims are intended to be construed to include the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the application.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.

本说明书中未作详细描述的内容属于本领域专业技术人员公知的现有技术。The content not described in detail in this specification belongs to the prior art known to those skilled in the art.

Claims (10)

1. The power failure detection circuit is characterized by comprising a complex programmable logic device, a power chip, a substrate management controller, a detection module and a storage chip, wherein the storage chip comprises a register,
the first output end of the power supply chip is connected to the input end of the complex programmable logic device, the first output end of the complex programmable logic device is connected with the input end of the substrate management controller through an I2C bus, and the output end of the substrate management controller is connected with the first input end of the storage chip;
a second output end of the complex programmable logic device is connected to a first input end of the detection module, a second output end of the power supply chip is connected to a second input end of the detection module, and an output end of the detection module is connected to a second input end of the storage chip;
the detection module is used for converting a power failure detection information result into binary information and storing the binary information in the register; and the substrate management controller is used for acquiring the power failure detection information of the register and outputting an error log.
2. The power failure detection circuit of claim 1, wherein the power failure detection circuit comprises a capacitive module,
the output end of the capacitor module is connected to the third input end of the memory chip;
the capacitor module is used for a standby power supply of the memory chip.
3. The power failure detection circuit of claim 1, wherein the power failure detection further comprises a hard disk,
the output end of the storage chip is connected to the input end of the hard disk;
the hard disk is used for backing up information stored by the storage chip.
4. The power failure detection circuit of claim 1, further comprising a load module,
and the second output end of the power supply chip is simultaneously connected to the input end of the load module.
5. A power failure detection method applied to a power failure detection circuit according to any one of claims 1 to 4, the method comprising:
acquiring a power supply number signal of the power supply chip through the complex programmable logic device;
confirming to start the detection module according to the power supply number signal of the power supply chip;
and detecting the reason of the power supply chip failure through the detection module.
6. The method according to claim 5, wherein the step of confirming the activation of the detection module according to the power supply number signal of the power supply chip comprises:
judging whether the power supply chip has a fault according to the power supply signal of the power supply chip;
if so, the substrate management controller sends alarm information to the complex programmable logic device according to the received error information that the power supply chip fails, and the complex programmable logic device starts a detection module according to the alarm signal; and if not, acquiring the power supply number signal of the power supply chip again through the complex programmable logic device.
7. The method according to claim 5, wherein the detecting, by the detecting module, the cause of the power chip failure comprises:
the detection module detects the circuit protection types related to the power chip faults in sequence;
judging whether a circuit protection type causing a problem due to the fault of the power supply chip is detected;
if yes, converting the power failure detection information result into corresponding binary information according to the detected circuit protection type with problems, and storing the binary information into a register of the storage chip; if not, the types of the circuit protection related to the power supply chip failure are continuously and sequentially detected.
8. The method according to claim 5, wherein after the detecting the cause of the power chip failure by the detecting module, the method comprises:
and taking the capacitor module as a standby power supply, and backing up binary information corresponding to the power failure detection information result received by the register to the hard disk.
9. The method according to claim 5, wherein after the detecting the cause of the power chip failure by the detecting module, the method further comprises:
and the baseboard management controller acquires binary information corresponding to the power failure detection information result stored in the register and outputs an error log according to the binary information corresponding to the power failure detection information result.
10. A power failure detection system, characterized in that the system comprises a power failure detection circuit according to any of claims 1-4.
CN202211402788.XA 2022-11-09 2022-11-09 A power failure detection circuit, method and system Pending CN115728665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211402788.XA CN115728665A (en) 2022-11-09 2022-11-09 A power failure detection circuit, method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211402788.XA CN115728665A (en) 2022-11-09 2022-11-09 A power failure detection circuit, method and system

Publications (1)

Publication Number Publication Date
CN115728665A true CN115728665A (en) 2023-03-03

Family

ID=85295034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211402788.XA Pending CN115728665A (en) 2022-11-09 2022-11-09 A power failure detection circuit, method and system

Country Status (1)

Country Link
CN (1) CN115728665A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117666742A (en) * 2024-01-30 2024-03-08 苏州元脑智能科技有限公司 Server management engine recovery circuit

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101866304A (en) * 2010-02-24 2010-10-20 英业达股份有限公司 Servers that can detect voltage regulator status
CN105808398A (en) * 2016-03-08 2016-07-27 浪潮电子信息产业股份有限公司 Method for rapidly analyzing and positioning hardware abnormity
CN107491370A (en) * 2017-08-30 2017-12-19 郑州云海信息技术有限公司 A kind of method and device for obtaining hardware fault information
CN108919935A (en) * 2018-07-12 2018-11-30 浪潮电子信息产业股份有限公司 Monitoring method, device and equipment for power supply on server mainboard
CN109101358A (en) * 2018-07-27 2018-12-28 郑州云海信息技术有限公司 Server system and its hardware log recording device and method
CN109683696A (en) * 2018-12-25 2019-04-26 浪潮电子信息产业股份有限公司 Fault of server power supply detection system, method, apparatus, equipment and medium
CN112286709A (en) * 2020-10-29 2021-01-29 苏州浪潮智能科技有限公司 Diagnosis method, diagnosis device and diagnosis equipment for server hardware faults
CN112306789A (en) * 2019-07-29 2021-02-02 鸿富锦精密电子(天津)有限公司 Power failure monitoring system and method
CN113760073A (en) * 2021-08-31 2021-12-07 云尖信息技术有限公司 Power failure reporting method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101866304A (en) * 2010-02-24 2010-10-20 英业达股份有限公司 Servers that can detect voltage regulator status
CN105808398A (en) * 2016-03-08 2016-07-27 浪潮电子信息产业股份有限公司 Method for rapidly analyzing and positioning hardware abnormity
CN107491370A (en) * 2017-08-30 2017-12-19 郑州云海信息技术有限公司 A kind of method and device for obtaining hardware fault information
CN108919935A (en) * 2018-07-12 2018-11-30 浪潮电子信息产业股份有限公司 Monitoring method, device and equipment for power supply on server mainboard
CN109101358A (en) * 2018-07-27 2018-12-28 郑州云海信息技术有限公司 Server system and its hardware log recording device and method
CN109683696A (en) * 2018-12-25 2019-04-26 浪潮电子信息产业股份有限公司 Fault of server power supply detection system, method, apparatus, equipment and medium
CN112306789A (en) * 2019-07-29 2021-02-02 鸿富锦精密电子(天津)有限公司 Power failure monitoring system and method
US20210034131A1 (en) * 2019-07-29 2021-02-04 Hongfujin Precision Electronics(Tianjin)Co.,Ltd. Actual or apparent power failure detecting system and method
CN112286709A (en) * 2020-10-29 2021-01-29 苏州浪潮智能科技有限公司 Diagnosis method, diagnosis device and diagnosis equipment for server hardware faults
CN113760073A (en) * 2021-08-31 2021-12-07 云尖信息技术有限公司 Power failure reporting method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117666742A (en) * 2024-01-30 2024-03-08 苏州元脑智能科技有限公司 Server management engine recovery circuit
CN117666742B (en) * 2024-01-30 2024-04-05 苏州元脑智能科技有限公司 Server management engine recovery circuit

Similar Documents

Publication Publication Date Title
JP3831377B2 (en) Method and apparatus for analyzing power failure in a computer system
WO2021169260A1 (en) System board card power supply test method, apparatus and device, and storage medium
US7461303B2 (en) Monitoring VRM-induced memory errors
CN112286709B (en) A kind of server hardware fault diagnosis method, diagnosis device and diagnosis equipment
CN112462920B (en) Method, device, server and storage medium for power control
CN111752776A (en) A method and system for cyclic power-on and power-off test of a server
CN107145410A (en) After a kind of system exception power down it is automatic on establish the method, system and equipment of machine by cable
CN110445638B (en) Switch system fault protection method and device
CN104794033A (en) CPU low-frequency fault positioning method and device based on BMC
CN105867572A (en) Power supply managing method for rack server and rack server
CN114816022B (en) Method, system and storage medium for monitoring server power supply abnormality
CN113672306B (en) Method, device, system and medium for recovery from abnormal self-checking of server components
US11099961B2 (en) Systems and methods for prevention of data loss in a power-compromised persistent memory equipped host information handling system during a power loss event
CN111488050B (en) Power supply monitoring method, system and server
CN115728665A (en) A power failure detection circuit, method and system
CN115080132A (en) Information processing method, device, server and storage medium
CN113742166B (en) A server system device log recording method, device and system
CN109582498A (en) Data protection circuit and guard method when a kind of CPLD powered-off fault
CN212723938U (en) Device for monitoring power supply working state under server S5 state
CN118897615A (en) Server power management system, method, device, medium and program product
CN114884021B (en) Power supply control method of power supply circuit and related components
CN118349423A (en) A power failure log recording method and server
CN218824636U (en) Power supply detection device for server hard disk backboard
CN111176878A (en) A server BBU backup power diagnosis method, system, terminal and storage medium
CN116540856A (en) Device, method and server for correcting status after power supply module fault recovery

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