



技术领域technical field
本发明涉及供电保护技术领域,特别是涉及一种过流检测及保护方法、系统及介质。The invention relates to the technical field of power supply protection, in particular to an overcurrent detection and protection method, system and medium.
背景技术Background technique
随着服务器的使用越来越多,服务器上的负载设备数量越来越多,整个服务器产生的功耗也逐渐增大,所以服务器主板的供电保护方法是给负载设备所在的各供电支路上增加单独的电子保险丝,设定电子保险丝的切断阈值,当超过该阈值时,切断电子保险丝来保护电路;这种方法存在的问题是,因为服务器功耗较大,所以切断阈值会设定的很大,若电路中出现过流现象,则当过流导致严重短路时,才会对电子保险丝进行切断,这样进行保护为时已晚,过流现象已经对服务器硬件和负载造成了损害;这种方法无法对过流现象做出准确的检测和及时的保护,对服务器会造成极大的损害。With the increasing use of servers, the number of load devices on the server is increasing, and the power consumption of the entire server is also gradually increasing. Therefore, the power supply protection method of the server motherboard is to increase the power supply of each power supply branch where the load devices are located A separate electronic fuse, setting the cut-off threshold of the electronic fuse, when the threshold is exceeded, the electronic fuse is cut off to protect the circuit; the problem with this method is that because the server consumes a lot of power, the cut-off threshold will be set very large , if there is an overcurrent phenomenon in the circuit, the electronic fuse will be cut off when the overcurrent causes a serious short circuit, so it is too late for protection, and the overcurrent phenomenon has already caused damage to the server hardware and load; this method Failure to accurately detect and timely protect the overcurrent phenomenon will cause great damage to the server.
发明内容Contents of the invention
本发明主要解决的技术问题是提供一种过流检测及保护方法、系统及介质,能够解决由于电子保险丝的切断电流过大,无法对服务器主板的过流现象做出准确的检测和进行及时的保护,导致服务器主板硬件和负载损坏的问题。The technical problem mainly solved by the present invention is to provide an overcurrent detection and protection method, system and medium, which can solve the problem that the overcurrent phenomenon of the server mainboard cannot be accurately detected and promptly corrected due to the excessive cut-off current of the electronic fuse. Protection, problems that lead to damage to server motherboard hardware and loads.
为解决上述技术问题,本发明采用的一个技术方案是:一种过流检测及保护方法,包括:In order to solve the above technical problems, a technical solution adopted by the present invention is: an overcurrent detection and protection method, comprising:
设定电流阈值和触发信号的电平状态告警阈值;Set the current threshold and the level state alarm threshold of the trigger signal;
采集负载设备的电流值,比较电流阈值和采集到的电流值,根据比较结果设置触发信号的电平状态;Collect the current value of the load device, compare the current threshold with the collected current value, and set the level state of the trigger signal according to the comparison result;
监测触发信号的电平状态是否改变,若改变,根据检测到的触发信号的电平状态发送与该触发信号对应的警告信号;Monitor whether the level state of the trigger signal changes, and if it changes, send a warning signal corresponding to the trigger signal according to the detected level state of the trigger signal;
在收到警告信号后,触发保护机制,根据保护机制对与该警告信号对应的触发信号所在信号地址的负载设备执行调节措施;After receiving the warning signal, the protection mechanism is triggered, and the adjustment measures are performed on the load device corresponding to the signal address of the trigger signal corresponding to the warning signal according to the protection mechanism;
在执行调节措施后,解除保护机制,并在解除保护机制后,触发后备机制。After the adjustment measures are executed, the protection mechanism is released, and after the protection mechanism is released, the backup mechanism is triggered.
进一步,所述保护机制为:获取故障信号所对应的故障地址,判断故障地址所对应的故障寄存器的变化情况,根据故障寄存器的变化情况判断过流现象的产生情况,根据过流现象的产生情况执行调节措施;Further, the protection mechanism is: obtain the fault address corresponding to the fault signal, judge the change of the fault register corresponding to the fault address, judge the occurrence of the over-current phenomenon according to the change of the fault register, and judge the occurrence of the over-current phenomenon according to the occurrence of the over-current phenomenon implement regulatory measures;
所述后备机制为:监测触发信号的电平状态,并比较监测到的触发信号的电平状态与电平状态告警阈值,若监测到的触发信号的电平状态低于电平状态告警阈值,则执行最终措施。The backup mechanism is: monitor the level state of the trigger signal, and compare the detected level state of the trigger signal with the level state alarm threshold, if the detected level state of the trigger signal is lower than the level state alarm threshold, Then execute the final action.
进一步,所述保护机制具体为:Further, the protection mechanism is specifically:
发送与故障信号对应的地址获取信号,查询与地址获取信号对应的故障地址;判断与此故障地址对应的故障寄存器是否发生变化,若是,则判断所述产生情况为产生过流现象,若否,则判断所述产生情况为未产生过流现象;当产生情况为产生过流现象时,执行调节措施。Sending the address acquisition signal corresponding to the fault signal, querying the fault address corresponding to the address acquisition signal; judging whether the fault register corresponding to the fault address has changed, if so, judging that the occurrence is an overcurrent phenomenon, if not, Then it is judged that the occurrence of the phenomenon is that no over-current phenomenon occurs; when the occurrence of the occurrence of the over-current phenomenon, the adjustment measures are executed.
进一步,所述调节措施为:记录故障日志,判断故障地址对应的负载设备,执行与负载设备对应的降流措施,在执行该降流措施后,执行解除措施;Further, the adjustment measures are: record the fault log, determine the load device corresponding to the fault address, execute the flow reduction measure corresponding to the load device, and execute the removal measure after executing the flow reduction measure;
所述负载设备包括高频运行设备和除高频运行设备以外的运行设备;所述高频运行设备包括内存和中央处理器。The load equipment includes high-frequency operating equipment and operating equipment other than the high-frequency operating equipment; the high-frequency operating equipment includes a memory and a central processing unit.
进一步,所述调节措施具体为:Further, the adjustment measures specifically include:
记录收到警告信号的时间点为故障时间点,并将故障时间点和故障地址打包为故障日志,并存储;Record the time point of receiving the warning signal as the failure time point, and package the failure time point and failure address as a failure log and store it;
判断故障地址对应的负载设备是否为高频运行设备,若是,则对应的降流措施为:降低该高频运行设备的运行频率;若否,则对应的降流措施为:切断该负载设备所在电路的电子保险丝;Determine whether the load device corresponding to the fault address is a high-frequency operating device. If so, the corresponding flow reduction measure is: reduce the operating frequency of the high-frequency operating device; if not, the corresponding flow reduction measure is: cut off the load device. Electronic fuses for circuits;
所述解除措施为:解除保护机制,并记录解除保护机制的时间点为解除故障时间点,将解除故障时间点更新至故障日志中。The removal measure is: remove the protection mechanism, and record the time point when the protection mechanism is removed as the time point when the fault is removed, and update the time point when the fault is removed into the fault log.
进一步,所述最终措施为:切断与所述触发信号对应的故障地址所对应的负载设备所在电路的电子保险丝,并判断与该负载设备对应的二次故障原因,其具体步骤为:Further, the final measure is: cut off the electronic fuse of the circuit where the load device corresponding to the fault address corresponding to the trigger signal is located, and determine the cause of the secondary fault corresponding to the load device. The specific steps are:
若该负载设备为高频运行设备,则判断二次故障原因为降频失败,若该负载设备为除高频运行设备以外的运行设备,则判断二次故障原因为电路中的基板管理控制器故障。If the load device is a high-frequency operating device, it is judged that the cause of the secondary fault is the frequency reduction failure; if the load device is an operating device other than the high-frequency operating device, it is judged that the cause of the secondary fault is the base board management controller in the circuit Fault.
进一步,当采集到的电流值大于电流阈值时,降低触发信号的电平状态;Further, when the collected current value is greater than the current threshold, reduce the level state of the trigger signal;
当监测到触发信号的电平状态低于触发信号的电平状态告警阈值时,发送与该触发信号对应的警告信号,并判断该触发信号为故障信号;所述故障信号所在信号地址为故障地址。When it is detected that the level state of the trigger signal is lower than the level state alarm threshold of the trigger signal, a warning signal corresponding to the trigger signal is sent, and the trigger signal is judged to be a fault signal; the signal address where the fault signal is located is the fault address .
一种过流检测及保护系统,包括:An overcurrent detection and protection system, comprising:
基板管理控制器、可编程控制器和电流检测单元,电流检测单元设置在供电电路的负载设备与电子保险丝之间;A baseboard management controller, a programmable controller and a current detection unit, the current detection unit is arranged between the load device of the power supply circuit and the electronic fuse;
所述基板管理控制器分别与所述可编程控制器、所述供电电路的电子保险丝和所述电流检测单元通过电源管理总线连接;所述可编程控制器分别与所述供电电路的电子保险丝和所述电流检测单元通过电源管理总线连接;The baseboard management controller is respectively connected to the programmable controller, the electronic fuse of the power supply circuit, and the current detection unit through a power management bus; the programmable controller is respectively connected to the electronic fuse of the power supply circuit and the The current detection unit is connected through a power management bus;
所述基板管理控制器用于设定电流阈值和触发信号的电平状态告警阈值、采集负载设备的电流值、根据警告信号触发保护机制以及根据保护机制触发后备机制;The baseboard management controller is used to set the current threshold and the level state alarm threshold of the trigger signal, collect the current value of the load device, trigger the protection mechanism according to the warning signal, and trigger the backup mechanism according to the protection mechanism;
所述电流检测单元上设有电流采样芯片,电流检测单元通过电流采样芯片采集其所在供电电路的电流值并将电流阈值与采集到的电流值进行对比,根据对比结果对电流采样芯片的触发信号的电平状态进行调整;The current detection unit is provided with a current sampling chip, and the current detection unit collects the current value of its power supply circuit through the current sampling chip and compares the current threshold with the collected current value, and compares the trigger signal of the current sampling chip according to the comparison result. Adjust the level status of the
所述可编程控制器用于监测触发信号的电平状态,并根据检测到的触发信号的电平状态向所述基板管理控制器发送警告信号。The programmable controller is used for monitoring the level state of the trigger signal, and sending a warning signal to the baseboard management controller according to the detected level state of the trigger signal.
作为一种改进的方案,所述基板管理控制器包括初始化模块、警告信号接收模块、地址获取模块、故障寄存器检测模块、故障日志存储模块、时间记录模块和故障调节模块;As an improved solution, the baseboard management controller includes an initialization module, a warning signal receiving module, an address acquisition module, a fault register detection module, a fault log storage module, a time recording module and a fault adjustment module;
所述初始化模块用于设置所述电流阈值和所述电平状态告警阈值;The initialization module is used to set the current threshold and the level state alarm threshold;
所述警告信号接收模块用于接收所述警告信号;The warning signal receiving module is used to receive the warning signal;
所述地址获取模块用于向可编程控制器发送地址获取信号,并接收故障地址;The address acquisition module is used to send an address acquisition signal to the programmable controller and receive a fault address;
所述故障寄存器检测模块用于查询与所述电流采样芯片对应的故障寄存器的变化情况,并根据变化情况做出判断;The fault register detection module is used to query the change of the fault register corresponding to the current sampling chip, and make a judgment according to the change;
所述时间记录模块用于记录故障时间点和解决故障时间点;The time recording module is used to record the fault time point and solve the fault time point;
所述故障日志存储模块用于将所述故障时间点和所述故障地址打包为故障日志和将所述解决故障时间点更新至故障日志中,并对故障日志进行存储;The fault log storage module is used to pack the fault time point and the fault address into a fault log and update the fault resolution time point into the fault log, and store the fault log;
所述故障调节模块用于执行所述保护机制;the fault conditioning module is configured to implement the protection mechanism;
所述可编程控制器包括信号电平监测模块、警告信号发送模块、地址查询模块和后备保护模块;The programmable controller includes a signal level monitoring module, a warning signal sending module, an address query module and a backup protection module;
所述信号电平监测模块用于监测所述电流采样芯片的触发信号的电平状态;The signal level monitoring module is used to monitor the level state of the trigger signal of the current sampling chip;
所述警告信号发送模块用于向所述基板管理控制器发送所述警告信号;The warning signal sending module is configured to send the warning signal to the baseboard management controller;
所述地址查询模块用于查询所述故障地址,并将该故障地址发送给基板管理控制器;所述故障地址为所述电流采样芯片的芯片地址;所述后备保护模块用于执行所述后备机制。The address query module is used to query the fault address and send the fault address to the baseboard management controller; the fault address is the chip address of the current sampling chip; the backup protection module is used to execute the backup mechanism.
一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现所述过流检测及保护方法的步骤。A computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the overcurrent detection and protection method are realized.
本发明的有益效果是:本发明能够在出现过流现象时,准确的检测到过流现象和查询到过流发生的位置,并对产生过流的位置采取及时的调节措施,使过流现象消失,保护服务器主板的硬件和负载设备。The beneficial effects of the present invention are: the present invention can accurately detect the over-current phenomenon and query the position where the over-current occurs when the over-current phenomenon occurs, and take timely adjustment measures for the position where the over-current occurs, so that the over-current phenomenon Disappear, protect the hardware of the server motherboard and load equipment.
附图说明Description of drawings
图1是本发明提供的一种过流检测及保护方法的流程图;Fig. 1 is a flow chart of a kind of overcurrent detection and protection method provided by the present invention;
图2是本发明提供的一种过流检测及保护系统的结构示意图;Fig. 2 is a structural schematic diagram of an overcurrent detection and protection system provided by the present invention;
图3是本发明提供的一种过流检测及保护系统中的基板管理控制器的结构示意图;Fig. 3 is a schematic structural diagram of a substrate management controller in an overcurrent detection and protection system provided by the present invention;
图4是本发明提供的一种过流检测及保护系统中的可编程控制器的结构示意图。Fig. 4 is a structural schematic diagram of a programmable controller in an overcurrent detection and protection system provided by the present invention.
具体实施方式detailed description
下面结合附图对本发明的较佳实施例进行详细阐述,以使本发明的优点和特征能更易于被本领域技术人员理解,从而对本发明的保护范围做出更为清楚明确的界定。The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, so as to define the protection scope of the present invention more clearly.
本发明实施例包括:Embodiments of the invention include:
第一方面,见图1,一种过流检测及保护方法,包括:In the first aspect, see Figure 1, an overcurrent detection and protection method, including:
在供电电路的各负载的供电输入端设置电流检测单元,电流检测单元上设有支持PMBUS(即电源管理总线)的ADC电流采样芯片;A current detection unit is set at the power supply input end of each load of the power supply circuit, and the current detection unit is provided with an ADC current sampling chip supporting PMBUS (i.e. power management bus);
供电系统中的基板管理控制器和可编程控制器通过PMBUS访问各个支路的EFUSE(即电子保险丝)和ADC电流采样芯片;The baseboard management controller and programmable controller in the power supply system access the EFUSE (that is, electronic fuse) and ADC current sampling chip of each branch through the PMBUS;
在电路通电后,基板管理控制器设置ADC电流采样芯片的电流阈值和触发信号的电平状态告警阈值;After the circuit is powered on, the baseboard management controller sets the current threshold of the ADC current sampling chip and the level state alarm threshold of the trigger signal;
ADC电流采样芯片对其所在供电电路的电流值进行采集,并和电流阈值进行对比,当ADC电流采样芯片采集到的电流值大于设定的电流阈值时,ADC电流采样芯片降低其触发信号的电平状态至电平状态告警阈值内。The ADC current sampling chip collects the current value of the power supply circuit where it is located, and compares it with the current threshold. When the current value collected by the ADC current sampling chip is greater than the set current threshold, the ADC current sampling chip reduces the voltage of its trigger signal. level state to within the level state alarm threshold.
通过可编程控制器对ADC电流采样芯片的触发信号的电平状态进行监测;当可编程控制器监测到触发信号的电平状态低于电平状态告警阈值时,向基板管理控制器发送警告信号,并判断此触发信号为故障信号;Monitor the level state of the trigger signal of the ADC current sampling chip through the programmable controller; when the programmable controller detects that the level state of the trigger signal is lower than the level state alarm threshold, a warning signal is sent to the baseboard management controller , and judge that the trigger signal is a fault signal;
当基板管理控制器接收到警告信号后,保存此警告信号,此警告信号触发基板管理控制器的保护机制,基板管理控制器向可编程控制器发送地址获取信号;可编程控制器接收到地址获取信号后,查询故障地址,故障地址为发出故障信号的ADC电流采样芯片的芯片地址,并将此故障地址发送给基板管理控制器。When the baseboard management controller receives the warning signal, it saves the warning signal, and the warning signal triggers the protection mechanism of the baseboard management controller, and the baseboard management controller sends an address acquisition signal to the programmable controller; the programmable controller receives the address acquisition signal After the signal, query the fault address, which is the chip address of the ADC current sampling chip that sends the fault signal, and send the fault address to the baseboard management controller.
基板管理控制器查询与此故障地址对应的ADC电流采样芯片的故障寄存器是否发生变化,若是,则基板管理控制器判断该ADC电流采样芯片所在供电电路发生过流,若否,则基板管理控制器判断该ADC电流采样芯片所在供电电路未发生过流,且基板管理控制器判断该ADC电流采样芯片出现故障。The baseboard management controller inquires whether the fault register of the ADC current sampling chip corresponding to the fault address has changed. It is judged that the power supply circuit where the ADC current sampling chip is located has no overcurrent, and the baseboard management controller judges that the ADC current sampling chip is faulty.
当基板管理控制器确认该ADC电流采样芯片所在供电电路发生过流时,基板管理控制器执行调节措施,其具体步骤为:基板管理控制器记录收到警告信号的时间点为故障时间点,并将此故障时间点和对应的故障地址存储在故障日志中;When the baseboard management controller confirms that the power supply circuit where the ADC current sampling chip is located has an overcurrent, the baseboard management controller executes adjustment measures. The specific steps are: the baseboard management controller records the time point when the warning signal is received as the fault time point, and Store this failure time point and the corresponding failure address in the failure log;
基板管理控制器对与故障地址对应的ADC电流采样芯片所在供电电路的负载设备执行对应的降流措施:The baseboard management controller performs corresponding current reduction measures on the load device of the power supply circuit where the ADC current sampling chip corresponding to the fault address is located:
若该负载设备为CPU或内存(即高频运行设备),则对CPU和内存进行降频处理;若该负载设备为CPU或内存以外的器件(即除高频运行设备以外的运行设备),则基板管理控制器发送与故障地址对应的关闭信号给可编程控制器,可编程控制器关闭与关闭信号对应故障地址的ADC电流采样芯片所在供电电路的EFUSE。If the load device is CPU or memory (i.e., high-frequency operating equipment), the CPU and memory will be down-frequency processed; if the load device is a device other than CPU or memory (i.e., operating equipment other than high-frequency operating equipment), Then the baseboard management controller sends a shut down signal corresponding to the fault address to the programmable controller, and the programmable controller shuts down the EFUSE of the power supply circuit where the ADC current sampling chip corresponding to the fault address with the shut down signal is located.
基板管理控制器执行完降流措施后,执行解除措施,具体为:解除保护机制,记录当前时间点为解决故障时间点,并将此解决故障时间点保存至故障日志中,基板管理控制器删除之前保存的警报信号。After the baseboard management controller executes the flow reduction measures, it executes the removal measures, specifically: remove the protection mechanism, record the current time point as the time point for solving the fault, and save the time point for solving the fault in the fault log, and the base board management controller deletes the fault A previously saved alert signal.
为了防止基板管理控制器故障或执行完调节措施后过流现象仍存在,在解除保护机制后,可编程控制器触发后备机制:In order to prevent the baseboard management controller from failing or the overcurrent phenomenon still exists after the adjustment measures are executed, after the protection mechanism is released, the programmable controller triggers the backup mechanism:
可编程控制器再次检测ADC电流采样芯片的触发信号的电平状态,并根据检测到的结果执行最终措施:The programmable controller detects the level state of the trigger signal of the ADC current sampling chip again, and performs the final measures according to the detected results:
若此触发信号的电平状态又小于电平状态告警阈值,则可编程控制器关闭该触发信号对应供电电路的EFUSE,该电路断电;If the level state of the trigger signal is lower than the level state alarm threshold, the programmable controller turns off the EFUSE of the power supply circuit corresponding to the trigger signal, and the circuit is powered off;
可编程控制器根据该供电电路的负载设备,分析此触发信号的电平状态又小于电平状态告警阈值的原因(即二次故障原因),当该负载设备为CPU或内存时,判断此触发信号的电平状态又小于电平状态告警阈值的原因为降频失败;当该负载设备为除了CPU或内存外的负载设备时,判断此触发信号的电平状态又小于电平状态告警阈值的原因为电路中的基板管理控制器出现故障,故障包括基板管理控制器宕机。According to the load device of the power supply circuit, the programmable controller analyzes the reason why the level state of the trigger signal is lower than the level state alarm threshold (that is, the cause of the secondary fault). When the load device is CPU or memory, it judges that the trigger signal The reason why the level status of the signal is lower than the level status alarm threshold is that frequency reduction fails; when the load device is a load device other than CPU or memory, it is judged that the level status of the trigger signal is lower than the level status alarm threshold The reason is that the baseboard management controller in the circuit fails, and the fault includes the downtime of the baseboard management controller.
当本方法运用于集中供电的高密度的服务器中时,可以对服务器供电端设置ADC电流检测芯片,根据此ADC电流检测芯片的触发信号的电平状态,来判断各个服务器是否出现故障导致过流及短路,进而通过相应的保护措施,关闭相应的服务器或者降低服务器的运行功耗,并进行循环检测,直至发生故障的服务器不再产生过流现象。When this method is applied to a high-density server with centralized power supply, an ADC current detection chip can be set on the power supply end of the server, and according to the level state of the trigger signal of the ADC current detection chip, it can be judged whether each server has failed and caused overcurrent And short circuit, and then through the corresponding protection measures, shut down the corresponding server or reduce the operating power consumption of the server, and carry out cyclic detection until the failed server no longer produces overcurrent phenomenon.
第二方面,见图2至图4,基于与前述实施例中一种过流检测及保护方法同样的发明构思,本说明书实施例还提供一种过流检测及保护系统,包括:基板管理控制器、可编程控制器和电流检测单元;In the second aspect, see Figures 2 to 4, based on the same inventive concept as the over-current detection and protection method in the foregoing embodiments, the embodiment of this specification also provides an over-current detection and protection system, including: substrate management control device, programmable controller and current detection unit;
电流检测单元设置在供电电路的负载设备与EFUSE之间;基板管理控制器分别与所述可编程控制器、所述供电电路的EFUSE和所述电流检测单元通过电源管理总线连接;可编程控制器分别与所述供电电路的EFUSE和所述电流检测单元通过电源管理总线连接;The current detection unit is arranged between the load device and the EFUSE of the power supply circuit; the baseboard management controller is respectively connected to the programmable controller, the EFUSE of the power supply circuit and the current detection unit through a power management bus; the programmable controller respectively connected to the EFUSE of the power supply circuit and the current detection unit through a power management bus;
电流检测单元上设有电流采样芯片,电流检测单元通过电流采样芯片采集其所在供电电路的电流值并将采集到的电流值与电流阈值进行对比,根据对比结果对电流采样芯片的触发信号的电平状态进行调整;The current detection unit is equipped with a current sampling chip, and the current detection unit collects the current value of the power supply circuit where it is located through the current sampling chip and compares the collected current value with the current threshold value, and compares the trigger signal of the current sampling chip according to the comparison result. Adjust the level state;
基板管理控制器包括初始化模块、警告信号接收模块、地址获取模块、故障寄存器检测模块、故障日志存储模块、时间记录模块和故障调节模块;The baseboard management controller includes an initialization module, a warning signal receiving module, an address acquisition module, a fault register detection module, a fault log storage module, a time recording module and a fault adjustment module;
初始化模块用于设置电流阈值、电平状态告警阈值和循环时间段;警告信号接收模块用于接收警告信号;地址获取模块用于向可编程控制器发送地址获取信号,并接收故障地址;故障寄存器检测模块用于查询与电流采样芯片对应的故障寄存器的变化情况,并根据变化情况做出判断;时间记录模块用于记录故障时间点和解决故障时间点;故障日志存储模块用于将所述故障时间点和所述故障地址打包为故障日志和将所述解决故障时间点更新至故障日志中,并对故障日志进行存储;故障调节模块用于执行保护机制;The initialization module is used to set the current threshold, the level state alarm threshold and the cycle time period; the warning signal receiving module is used to receive the warning signal; the address acquisition module is used to send the address acquisition signal to the programmable controller and receive the fault address; the fault register The detection module is used to query the change of the fault register corresponding to the current sampling chip, and make a judgment according to the change; the time record module is used to record the fault time point and solve the fault time point; the fault log storage module is used to store the fault The time point and the fault address are packaged into a fault log and the fault resolution time point is updated into the fault log, and the fault log is stored; the fault adjustment module is used to implement the protection mechanism;
可编程控制器包括信号电平监测模块、警告信号发送模块、地址查询模块和后备保护模块;The programmable controller includes a signal level monitoring module, a warning signal sending module, an address query module and a backup protection module;
信号电平检测模块用于监测所述电流采样芯片的触发信号的电平状态;警告信号发送模块用于向基板管理控制器发送所述警告信号;地址查询模块用于查询所述故障地址,并将该故障地址发送给基板管理控制器;故障地址为所述电流采样芯片的芯片地址;后备保护模块用于执行后备机制。The signal level detection module is used to monitor the level state of the trigger signal of the current sampling chip; the warning signal sending module is used to send the warning signal to the baseboard management controller; the address query module is used to query the fault address, and Send the fault address to the baseboard management controller; the fault address is the chip address of the current sampling chip; the backup protection module is used to execute the backup mechanism.
第三方面,基于与前述实施例中一种过流检测及保护方法同样的发明构思,本说明书实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现所述过流检测及保护方法的步骤。In the third aspect, based on the same inventive concept as the overcurrent detection and protection method in the foregoing embodiments, the embodiment of this specification further provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program, When the computer program is executed by the processor, the steps of the overcurrent detection and protection method are implemented.
区别于现有技术,采用本申请一种过流检测及保护方法、系统及介质可以通过电流采样芯片对主板上各个供电电路的电流进行检测,进而及时发现过流现象,针对过流现象所在的不同电路做出相对应的保护措施,保护了主板上的硬件和服务器的负载设备,提高了服务器的运行稳定性。Different from the prior art, the application of an overcurrent detection and protection method, system and medium can detect the current of each power supply circuit on the motherboard through the current sampling chip, and then detect the overcurrent phenomenon in time, aiming at the location of the overcurrent phenomenon Corresponding protection measures are taken for different circuits, which protect the hardware on the motherboard and the load equipment of the server, and improve the operation stability of the server.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only an embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technologies fields, all of which are equally included in the scope of patent protection of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011462312.6ACN112736839B (en) | 2020-12-11 | 2020-12-11 | Method, system and medium for overcurrent detection and protection |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011462312.6ACN112736839B (en) | 2020-12-11 | 2020-12-11 | Method, system and medium for overcurrent detection and protection |
| Publication Number | Publication Date |
|---|---|
| CN112736839A CN112736839A (en) | 2021-04-30 |
| CN112736839Btrue CN112736839B (en) | 2023-01-10 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011462312.6AActiveCN112736839B (en) | 2020-12-11 | 2020-12-11 | Method, system and medium for overcurrent detection and protection |
| Country | Link |
|---|---|
| CN (1) | CN112736839B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114129108B (en)* | 2021-11-25 | 2024-07-09 | 中万恩科技有限公司 | Intelligent dish washer of automatic monitoring heater strip and motor trouble |
| CN114371977A (en)* | 2021-12-31 | 2022-04-19 | 锐捷网络股份有限公司 | Fault monitoring method and device for network equipment |
| CN114496036A (en)* | 2021-12-31 | 2022-05-13 | 联想(北京)有限公司 | An overload detection and protection method, device, circuit and electronic equipment |
| CN114421435B (en)* | 2022-01-20 | 2024-02-13 | 南京矽美半导体技术有限公司 | MOSFET hot plug protector of integrated PMBus interface |
| CN115166344A (en)* | 2022-06-13 | 2022-10-11 | 牧原食品股份有限公司 | Method, circuit, apparatus, and readable storage medium for a current detection circuit |
| CN115599193B (en) | 2022-11-16 | 2023-02-28 | 苏州浪潮智能科技有限公司 | Mainboard protection system and method |
| CN116667268B (en)* | 2022-12-15 | 2024-07-12 | 荣耀终端有限公司 | Method for preventing triggering over-current protection and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106786344A (en)* | 2016-12-20 | 2017-05-31 | 乐视汽车(北京)有限公司 | Overcurrent protective device, method, system and electronic equipment |
| CN108599098A (en)* | 2018-06-04 | 2018-09-28 | 珠海格力电器股份有限公司 | Overcurrent protection device, PFC circuit, air conditioner and overcurrent protection method thereof |
| CN110739661A (en)* | 2019-09-26 | 2020-01-31 | 苏州浪潮智能科技有限公司 | An overcurrent protection device and board |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106786344A (en)* | 2016-12-20 | 2017-05-31 | 乐视汽车(北京)有限公司 | Overcurrent protective device, method, system and electronic equipment |
| CN108599098A (en)* | 2018-06-04 | 2018-09-28 | 珠海格力电器股份有限公司 | Overcurrent protection device, PFC circuit, air conditioner and overcurrent protection method thereof |
| CN110739661A (en)* | 2019-09-26 | 2020-01-31 | 苏州浪潮智能科技有限公司 | An overcurrent protection device and board |
| Publication number | Publication date |
|---|---|
| CN112736839A (en) | 2021-04-30 |
| Publication | Publication Date | Title |
|---|---|---|
| CN112736839B (en) | Method, system and medium for overcurrent detection and protection | |
| KR101515849B1 (en) | Automatic detection of a cmos device in a latch-up and cycling of a power thereto | |
| CN102496907B (en) | Set top box, power fail safeguard device and power fail data protection method | |
| CN107482590B (en) | A kind of driving of IGBT module and fault secure circuit | |
| US9367118B2 (en) | Computer system and operating method thereof | |
| EP1952217A2 (en) | Automatic detection of a cmos circuit device in latch-up and reset of power thereto | |
| CN114676019A (en) | A central processing unit state monitoring method, device, equipment, and storage medium | |
| CN108847261A (en) | A kind of hard disk power control and control method | |
| CN111966198A (en) | Board-level multi-level overcurrent protection device and method | |
| CN111030040A (en) | Fan protection circuit and method | |
| CN108647124A (en) | A kind of method and its device of storage skip signal | |
| CN116780639B (en) | Distributed photovoltaic grid-connected control method, device and storage medium | |
| CN110556789B (en) | Fault protection method and system for output filter capacitor of vehicle-mounted inverter | |
| CN111475292A (en) | Server system and frequency control device of processor in server system | |
| CN114884021B (en) | Power supply control method of power supply circuit and related components | |
| CN111239514A (en) | A method and device for testing the overvoltage protection function of a server power supply | |
| CN113270848B (en) | Trigger control method and device for fault protection of target circuit, controller and power supply | |
| TWI700583B (en) | Servo method, servo system, main board and computer readable storage medium | |
| US20140184266A1 (en) | Method and apparatus for chip self deactivation | |
| CN115080234A (en) | System for preventing single chip microcomputer from being halted | |
| CN112751688B (en) | Flow control processing method of OTN (optical transport network) equipment, electronic equipment and storage medium | |
| TWI855950B (en) | Power supply protection method and system | |
| CN118553693B (en) | A thin film semiconductor circuit refrigeration system with safety protection | |
| CN118642881B (en) | Server abnormality processing method, program product, device and storage medium | |
| CN113991827B (en) | A SSD power-down protection method, device, system and electronic equipment |
| 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address | Address after:215124 Jiangsu Province, Suzhou City, Wuzhong Economic Development Zone, Guoqiang Street, Guanpu Road No. 1, Building 9 Patentee after:Suzhou Yuannao Intelligent Technology Co.,Ltd. Country or region after:China Address before:215124 Jiangsu Province, Suzhou City, Wuzhong Economic Development Zone, Guoqiang Street, Guanpu Road No. 1, Building 9 Patentee before:SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd. Country or region before:China |