Server overcurrent protection circuit and method, and server and non-volatile readable storage medium

By combining the light emitting diode and photoresistor, the current threshold of the server overcurrent protection is dynamically adjusted, solving the problem that the overcurrent protection circuit in the prior art cannot adapt to different service modules, and improving the effectiveness and reliability of overcurrent protection.

WO2025161732A1PCT designated stage Publication Date: 2025-08-07INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/139406
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-01-31
Filing Date
2024-12-13
Publication Date
2025-08-07

AI Technical Summary

Technical Problem

The existing server overcurrent protection circuit has low effectiveness and reliability, and the current threshold of overcurrent protection cannot be automatically adjusted according to the current requirements of different service modules, resulting in the possible damage to the service module.

Method used

The current threshold of the electronic fuse is controlled by the resistance value of the photoresistor, and the current threshold of the overcurrent protection is dynamically adjusted according to the configuration information of the access device.

Benefits of technology

The current threshold for overcurrent protection is dynamically adjusted according to different service modules, which improves the effectiveness and reliability of overcurrent protection, and enhances the compatibility and versatility of the board.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024139406_07082025_PF_FP_ABST
    Figure CN2024139406_07082025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of computers. Disclosed are a server overcurrent protection circuit and method, and a server and a non-volatile readable storage medium. The server overcurrent protection circuit comprises: a controller, a logic device, an electronic fuse, a light-emitting diode and a photoresistor, wherein the controller is connected to the logic device, the logic device is connected to the electronic fuse, the logic device is grounded by means of the light-emitting diode, the electronic fuse is connected to an access device, and the electronic fuse is grounded by means of the photoresistor; the logic device is configured to output to the light-emitting diode a control signal corresponding to overcurrent protection control information corresponding to configuration information of the access device, so as to control the brightness of the light-emitting diode to further control the resistance value of the photoresistor; and the electronic fuse is configured to set a current threshold for overcurrent protection on the basis of the resistance value of the photoresistor. The present application improves the effectiveness and reliability of overcurrent protection.
Need to check novelty before this filing date? Find Prior Art

Description

A server overcurrent protection circuit, method, server and non-volatile readable storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the Patent Office of China on January 31, 2024, with application number 202410133273.7, and entitled “A Server Overcurrent Protection Circuit, Method, Server and Storage Medium”, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present application relates to the field of computer technology, and in particular, to a server overcurrent protection circuit and method, a server, and a non-volatile readable storage medium. Background Art

[0004] Currently, servers typically implement overcurrent protection using specialized EFUSE (Electronic Fuse) integrated circuits (ICs). As customer requirements for server configurations continue to increase, server configurations are becoming increasingly diverse. To ensure board compatibility, the same motherboard must interface with different service modules on different devices. However, these modules are often designed by different vendors, and each module has various differences in internal circuitry and functionality. Consequently, each module's current requirements vary during normal operation. Setting the same OCP (Over Current Protection) parameters for different modules on the motherboard is often unreasonable and can cause irreversible damage to the server. For example, if the overcurrent protection threshold is set too high, the server EFUSE may not be shut down in time when a short circuit occurs or a component is damaged. Consequently, the EFUSE fails to provide overcurrent protection, causing the service module to burn out. Therefore, the effectiveness and reliability of power supply overcurrent protection in the related art are relatively low.

[0005] Therefore, there is a technical problem in the related art that the effectiveness and reliability of overcurrent protection are low. Summary of the Invention

[0006] The purpose of this application is to provide a server overcurrent protection circuit, method, server and non-volatile readable storage medium, thereby improving the effectiveness and reliability of overcurrent protection.

[0007] To achieve the above objectives, the present application provides a server overcurrent protection circuit, comprising: a controller, a logic device, an electronic fuse, a light-emitting diode, and a photoresistor, wherein the controller is connected to the logic device, the logic device is connected to the electronic fuse, the logic device is grounded through the light-emitting diode, the electronic fuse is connected to the access device, and the electronic fuse is grounded through the photoresistor;

[0008] The controller is configured to send overcurrent protection control information corresponding to the configuration information of the access device to the logic device;

[0009] a logic device configured to output a control signal corresponding to the overcurrent protection control information to the light-emitting diode, control the brightness of the light-emitting diode through the control signal, and control the resistance value of the photoresistor by controlling the brightness of the light-emitting diode;

[0010] The electronic fuse is configured to set a current threshold for overcurrent protection according to the resistance value of the photoresistor.

[0011] Among them, it also includes an integrated south bridge and an integrated south bridge connection controller;

[0012] The integrated south bridge is configured to obtain configuration information of the access device when the server is powered on or detects that the access device is connected to the server, and send the configuration information to the controller.

[0013] The integrated south bridge is connected to the controller via an enhanced serial peripheral interface bus or a low pin count bus.

[0014] The controller is configured to convert the configuration information of the access device into corresponding overcurrent protection control information and send it to the logic device.

[0015] The controller is configured to query the flash memory for overcurrent protection control information corresponding to the configuration information of the access device and send the information to the logic device.

[0016] The logic device is further configured to store the overcurrent protection control information in an internal storage area.

[0017] Among them, the storage area is the user flash memory.

[0018] The controller is further configured to send a control signal corresponding to the overcurrent protection control information to the logic device.

[0019] The logic device is configured to: determine whether the controller is in a normal working state; if the controller is determined to be in a normal working state, switch to a link that receives a control signal from the controller and outputs it to the light-emitting diode, so that the controller controls the brightness of the light-emitting diode through the control signal, and controls the resistance of the photoresistor by controlling the brightness of the light-emitting diode; if the controller is determined not to be in a normal working state, switch to a link that outputs a control signal from the logic device to the light-emitting diode, read overcurrent protection control information from a storage area, output a control signal corresponding to the overcurrent protection control information to the light-emitting diode, control the brightness of the light-emitting diode through the control signal, and control the resistance of the photoresistor by controlling the brightness of the light-emitting diode.

[0020] The logic device is configured to determine whether the controller is in a normal working state by detecting a watchdog timer signal sent by the controller to the logic device.

[0021] The logic device includes a multiplexer, and the logic device is configured to: control the multiplexer through an enable signal to switch to a link that receives a control signal from the controller and outputs it to the light emitting diode, or a link that outputs a control signal from the logic device to the light emitting diode.

[0022] The control signal is a pulse width modulation control signal.

[0023] To achieve the above objectives, the present application provides a server, including the above-mentioned server overcurrent protection circuit.

[0024] To achieve the above objectives, the present application provides a server overcurrent protection method, which is applied to a logic device in the above-mentioned server overcurrent protection circuit, and the method includes:

[0025] Obtain overcurrent protection control information corresponding to the configuration information of the access device;

[0026] A control signal corresponding to the overcurrent protection control information is output to the light-emitting diode, the brightness of the light-emitting diode is controlled by the control signal, and the resistance value of the photoresistor is controlled by controlling the brightness of the light-emitting diode, so that the electronic fuse sets the current threshold of the overcurrent protection according to the resistance value of the photoresistor.

[0027] The process of obtaining the overcurrent protection control information corresponding to the configuration information of the access device includes:

[0028] Obtain overcurrent protection control information corresponding to the configuration information of the connected device from the controller.

[0029] After obtaining the overcurrent protection control information corresponding to the configuration information of the access device, the method further includes:

[0030] The overcurrent protection control information is stored in a storage area inside the logic device.

[0031] Before outputting the control signal corresponding to the overcurrent protection control information to the light emitting diode, the method further includes:

[0032] The control signal corresponding to the overcurrent protection control information sent by the receiving controller.

[0033] Outputting a control signal corresponding to the overcurrent protection control information to the light emitting diode, controlling the brightness of the light emitting diode by the control signal, and controlling the resistance value of the photoresistor by controlling the brightness of the light emitting diode include:

[0034] Determine whether the controller is in normal working condition;

[0035] When it is determined that the controller is in a normal working state, switching to a link that receives a control signal from the controller and outputs it to the light-emitting diode, so that the controller controls the brightness of the light-emitting diode through the control signal, and controls the resistance value of the photoresistor by controlling the brightness of the light-emitting diode;

[0036] When it is determined that the controller is not in a normal working state, the link is switched to outputting the control signal from the logic device to the light-emitting diode, and the overcurrent protection control information is read from the storage area, and the control signal corresponding to the overcurrent protection control information is output to the light-emitting diode. The brightness of the light-emitting diode is controlled by the control signal, and the resistance value of the photoresistor is controlled by controlling the brightness of the light-emitting diode.

[0037] The switching to a link that receives a control signal from a controller and outputs it to a light-emitting diode includes:

[0038] The multiplexer inside the logic device is controlled by an enable signal to switch to a link that receives a control signal from the controller and outputs it to the light emitting diode;

[0039] Accordingly, switching to a link for outputting a control signal from the logic device to the light emitting diode includes:

[0040] The multiplexer inside the logic device is controlled by an enable signal to switch to a link from the logic device outputting a control signal to the light emitting diode.

[0041] To achieve the above objectives, the present application provides a computer non-volatile readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned server overcurrent protection method are implemented.

[0042] From the above scheme, it can be seen that the server overcurrent protection circuit provided by the present application includes: a controller, a logic device, an electronic fuse, a light-emitting diode, and a photoresistor. The controller is connected to the logic device, the logic device is connected to the electronic fuse, the logic device is grounded through the light-emitting diode, the electronic fuse is connected to the access device, and the electronic fuse is grounded through the photoresistor; the controller is configured to send overcurrent protection control information corresponding to the configuration information of the access device to the logic device; the logic device is configured to output a control signal corresponding to the overcurrent protection control information to the light-emitting diode, control the brightness of the light-emitting diode through the control signal, and control the resistance value of the photoresistor by controlling the brightness of the light-emitting diode; the electronic fuse is configured to set the current threshold of the overcurrent protection according to the resistance value of the photoresistor.

[0043] In the present application, the electronic fuse is grounded through a photoresistor, and a light-emitting diode is set near the photoresistor. The resistance of the photoresistor can be controlled by the brightness of the light-emitting diode. Therefore, the electronic fuse can be controlled by controlling the brightness of the light-emitting diode to set the corresponding current threshold of overcurrent protection. When the access device is detected, the current threshold of the overcurrent protection that needs to be set is determined according to the configuration information of the access device, and a corresponding control signal is sent to the light-emitting diode, so as to control the light-emitting diode to be at an appropriate brightness, thereby controlling the resistance of the photoresistor, and then controlling the current threshold of the overcurrent protection of the electronic fuse. It can be seen that the server overcurrent protection circuit provided by the present application can set the appropriate current threshold of overcurrent protection according to different business modules in different access devices, and can meet the requirements of the same motherboard being compatible with different business modules, greatly improving the effectiveness and reliability of overcurrent protection, as well as the versatility of the board. The present application also discloses a server overcurrent protection method, a server and a computer non-volatile readable storage medium, which can also achieve the above-mentioned technical effects.

[0044] It should be understood that the foregoing general description and the following detailed description are merely illustrative and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. The drawings are used to provide a further understanding of the present disclosure and constitute part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure, but do not constitute a limitation of the present disclosure. In the drawings:

[0046] FIG1 is a structural diagram of a server overcurrent protection circuit in the related art;

[0047] FIG2 is a structural diagram of an overcurrent protection circuit of a server according to an exemplary embodiment;

[0048] FIG3 is a schematic diagram showing an internal switching link of a logic device according to an exemplary embodiment;

[0049] FIG4 is a flow chart showing a method for setting a current threshold for overcurrent protection according to an exemplary embodiment;

[0050] FIG5 is a flow chart showing a method for overcurrent protection of a server according to an exemplary embodiment;

[0051] FIG6 is a flow chart showing another method for overcurrent protection of a server according to an exemplary embodiment. DETAILED DESCRIPTION

[0052] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. In addition, in the embodiments of the present application, "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0053] Currently, servers typically implement overcurrent protection using a dedicated EFUSE integrated circuit. As shown in Figure 1, with an integrated EFUSE, an external pull-down resistor is added to set the current threshold for overcurrent protection. When the current passing through the EFUSE exceeds the threshold, the EFUSE activates overcurrent protection.

[0054] Designers can consult the service module's data sheet to confirm its peak-to-peak current (pp current). They can then set the OCP current threshold to 1.2-1.5 times the maximum current. Designers then confirm the calculation method for the pull-down resistor (Rset) based on the EFUSE data sheet and select an appropriate resistor Rset to set the OCP current threshold.

[0055] As customer requirements for server configurations continue to increase, server configurations are becoming more diverse. Consequently, the same power supply is often connected to and powered by different service modules. Consequently, the OCP overcurrent protection threshold can only be set based on the largest service module. Setting the current threshold based solely on the largest service module inevitably results in ineffective overcurrent protection for service modules with lower current draws. Excessive current can damage service modules, posing a significant risk. Therefore, related technologies fail to automatically adjust the current threshold based on different service modules.

[0056] In addition, when other projects want to reuse the board or the server configuration is relatively large, it is necessary to change the Rset pull-down resistor to set the OCP threshold according to the actual configuration. This will make it impossible to share the board, increasing manpower and board maintenance costs.

[0057] Therefore, in the present application, the electronic fuse is grounded through a photoresistor, and the resistance of the photoresistor can be controlled by the brightness of the light-emitting diode. Therefore, the electronic fuse can be controlled by controlling the brightness of the light-emitting diode to set the corresponding current threshold of overcurrent protection. When the access device is detected, the current threshold of the overcurrent protection that needs to be set is determined according to the configuration information of the access device, and a corresponding control signal is sent to the light-emitting diode, thereby controlling the light-emitting diode to be at an appropriate brightness, thereby controlling the resistance of the photoresistor, and thereby controlling the current threshold of the overcurrent protection of the electronic fuse. It can be seen that the server overcurrent protection circuit provided by the present application can set the appropriate current threshold of overcurrent protection according to different business modules in different access devices, and can meet the needs of the same motherboard being compatible with different business modules, greatly improving the effectiveness and reliability of overcurrent protection, as well as the versatility of the board.

[0058] This embodiment provides a server overcurrent protection circuit, as shown in FIG2 , including: a controller (which may be, but is not limited to, a baseboard management controller (BMC), a logic device (which may be, but is not limited to, a complex programmable logic device (CPLD)), an electronic fuse, a light-emitting diode (LED), and a photoresistor. The controller is connected to the logic device, which is connected to the electronic fuse. The logic device is grounded via the LED. The electronic fuse is connected to an access device, which is grounded via the photoresistor.

[0059] The controller is configured to send overcurrent protection control information corresponding to the configuration information of the access device to the logic device;

[0060] a logic device configured to output a control signal corresponding to the overcurrent protection control information to the light-emitting diode, control the brightness of the light-emitting diode through the control signal, and control the resistance value of the photoresistor by controlling the brightness of the light-emitting diode;

[0061] The electronic fuse is configured to set a current threshold for overcurrent protection according to the resistance value of the photoresistor.

[0062] As a feasible implementation method, it also includes an integrated south bridge, which is connected to the controller; the integrated south bridge is configured to obtain configuration information of the access device when the server is powered on or detects that the access device is connected to the server, and send the configuration information to the controller.

[0063] In an optional implementation, when the server is powered on or an access device is detected to be connected to the server, the integrated south bridge obtains the configuration information of the access device and sends the configuration information to the controller. The access device here can be a PCIe (Peripheral Component Interconnect Express, a high-speed serial computer expansion bus standard) device, and the configuration information can be the peak to peak current of the service module in the access device. As a feasible implementation method, the integrated south bridge is connected to the controller via an Enhanced Serial Peripheral Interface (eSPI) bus or a Low Pin Count (LPC) bus.

[0064] Furthermore, the controller determines overcurrent protection control information corresponding to the configuration information. As a feasible implementation, the controller is configured to convert the configuration information of the connected device into corresponding overcurrent protection control information and transmit it to the logic device. In an optional implementation, the controller calculates the corresponding overcurrent protection control information based on the received configuration information.

[0065] As another feasible implementation, the controller is configured to query the flash memory for overcurrent protection control information corresponding to the configuration information of the connected device and transmit the information to the logic device. In an optional implementation, the correspondence between the configuration information and the overcurrent protection control information may be pre-stored in the flash memory, and the controller queries the flash memory for the overcurrent protection control information corresponding to the received configuration information.

[0066] The overcurrent protection control information in this embodiment may include the overcurrent protection current threshold, the resistance value of the photoresistor, a control signal for controlling the light-emitting diode, and the like, which are not limited herein. When calculating the overcurrent protection current threshold based on the configuration information, a preset multiple of the peak-to-peak current of the service module in the access device, such as 1.2-1.5 times, may be calculated as the overcurrent protection current threshold. Based on the overcurrent protection current threshold and the specifications of the EFUSE, the resistance value of the photoresistor may be calculated, and the control signal for controlling the light-emitting diode may be determined based on the control of the light-emitting diode over the photoresistor.

[0067] Furthermore, the controller transmits the overcurrent protection control information to the logic device. The logic device stores the overcurrent protection control information in an internal storage area. As a feasible implementation, the storage area is a user flash memory (UFM).

[0068] In an optional implementation, the logic device outputs a control signal corresponding to the overcurrent protection control information to the light-emitting diode, thereby controlling the light-emitting diode to maintain an appropriate brightness, thereby controlling the resistance of the photoresistor, and thus controlling the current threshold of the overcurrent protection of the electronic fuse. As a feasible implementation, the control signal is a pulse width modulation (PWM) control signal.

[0069] As a feasible embodiment, the controller is further configured to transmit a control signal corresponding to the overcurrent protection control information to the logic device. In an optional embodiment, the controller transmits the overcurrent protection control information to the logic device while also transmitting the control signal corresponding to the overcurrent protection control information to the logic device. This control signal is used to control the brightness of the light-emitting diode when the controller is in normal operation.

[0070] As a feasible implementation, the logic device is configured as follows:

[0071] Determine whether the controller is in normal working condition; if it is determined that the controller is in normal working condition, switch to a link that receives a control signal from the controller and outputs it to the light-emitting diode, so that the controller controls the brightness of the light-emitting diode through the control signal, and controls the resistance of the photoresistor by controlling the brightness of the light-emitting diode; if it is determined that the controller is not in normal working condition, switch to a link that outputs a control signal from the logic device to the light-emitting diode, reads overcurrent protection control information from the storage area, outputs a control signal corresponding to the overcurrent protection control information to the light-emitting diode, controls the brightness of the light-emitting diode through the control signal, and controls the resistance of the photoresistor by controlling the brightness of the light-emitting diode.

[0072] In an optional embodiment, the logic device detects a watchdog timer (WDT) signal sent by the controller to the logic device to determine whether the controller is in a normal working state. When the watchdog timer signal is detected to be normal, the controller is determined to be in a normal working state; otherwise, the controller is determined to be in an abnormal working state.

[0073] As a feasible implementation, the logic device includes a multiplexer (MUX), and the logic device is configured to control the multiplexer through an enable signal to switch to a link that receives a control signal from the controller and outputs it to the light-emitting diode or a link that outputs a control signal from the logic device to the light-emitting diode.

[0074] In an optional implementation, a schematic diagram of the switching link within the CPLD is shown in FIG3 . When the controller (which may be, but is not limited to, a baseboard management controller) is in normal working condition, an enable signal (EN) is used to control the multiplexer within the logic device (which may be, but is not limited to, a complex programmable logic device) to switch to a link that receives control signals from the controller and outputs them to the light-emitting diode. This enables transparent transmission of control signals from the controller, thereby enabling the controller to control the brightness of the light-emitting diode. When the controller is in an abnormal working condition, an enable signal is used to control the multiplexer within the logic device to switch to a link that outputs control signals from the logic device to the light-emitting diode. Overcurrent protection control information is read from an internal storage area, and a corresponding control signal is output to control the brightness of the light-emitting diode. This is done until the logic device detects that the controller is in normal working condition again, at which point control is returned to the controller, which then continues to control the brightness of the light-emitting diode.

[0075] In an embodiment of the present application, an electronic fuse is grounded through a photoresistor, and a light-emitting diode is set near the photoresistor. The resistance of the photoresistor can be controlled by the brightness of the light-emitting diode. Therefore, the brightness of the light-emitting diode can be controlled to control the electronic fuse to set the corresponding current threshold of overcurrent protection. When an access device is detected, the current threshold of overcurrent protection that needs to be set is determined based on the configuration information of the access device, and a corresponding control signal is sent to the light-emitting diode, thereby controlling the light-emitting diode to be at an appropriate brightness, thereby controlling the resistance of the photoresistor, and thereby controlling the current threshold of overcurrent protection of the electronic fuse. It can be seen that the server overcurrent protection circuit provided in the embodiment of the present application can set the appropriate current threshold of overcurrent protection according to different business modules in different access devices, and can meet the requirements of the same motherboard being compatible with different business modules, greatly improving the effectiveness and reliability of overcurrent protection, as well as the versatility of the board.

[0076] An embodiment of the present application discloses a server, including the server overcurrent protection circuit provided by the above embodiment.

[0077] In an optional implementation, a flowchart for setting the current threshold for overcurrent protection is shown in FIG4 . Each time the server is powered on or an access device is hot-plugged, the PCH (Platform Controller Hub, integrated south bridge) obtains the configuration information of the access device and transmits the configuration information to the BMC via the eSPI bus or LPC line.

[0078] The BMC receives the configuration information transmitted from the PCH, parses it, and determines the overcurrent protection control information corresponding to the configuration information. As a feasible implementation method, the correspondence between the configuration information and the overcurrent protection control information can be stored in Flash (flash memory) in advance, and the BMC queries the overcurrent protection control information corresponding to the received configuration information in Flash. As another feasible implementation method, the BMC calculates the corresponding overcurrent protection control information based on the received configuration information. The overcurrent protection control information here can be the current threshold of overcurrent protection, the resistance of the photoresistor, the control signal for controlling the light-emitting diode, etc., which are not limited here. When calculating the current threshold of overcurrent protection based on the configuration information, the preset multiple of the peak to peak current of the service module in the access device can be calculated, for example, 1.2-1.5 times as the current threshold of overcurrent protection, and the resistance of the photoresistor can be calculated based on the current threshold of overcurrent protection and the specifications of EFUSE, and then the control signal for controlling the light-emitting diode is determined based on the control of the light-emitting diode on the photoresistor.

[0079] Furthermore, the BMC transmits the overcurrent protection control information to the CPLD via I2C (Inter-Integrated Circuit). At the same time, the BMC sends a control signal corresponding to the overcurrent protection control information to the CPLD. The control signal is used to control the brightness of the light-emitting diode when the controller is in normal working state. The control signal here can be a PWM waveform, which is not limited here.

[0080] The CPLD receives overcurrent protection control information from the BMC and stores it in an internal storage area, which can be the UFM storage area (not specifically defined here). The CPLD monitors the WDT signal status in real time to monitor the BMC's proper operation. When the BMC is operating normally and the WDT signal is normal, the CPLD controls the internal MUX (Enabled Logic Controller) to switch to the link receiving control signals from the BMC, transparently transmitting the control signals from the BMC and enabling the BMC to control the LED brightness. If the CPLD detects an abnormal WDT signal, indicating that the BMC is initializing or hung, the CPLD takes over control of the LEDs. Using Encoder (Enabled Logic Controller) to control the internal MUX, it switches to the internal link, reads the overcurrent protection control information from the internal storage area, and outputs the corresponding control signal to control the LED brightness. The CPLD returns control to the BMC after the WDT signal is normal again, allowing the BMC to resume controlling the LED brightness. The CPLD's internal logic implements functions such as the MUX, significantly reducing costs compared to using separate components.

[0081] It can be seen that each time the server is powered on or the service module is hot-swapped, the BMC will update the overcurrent protection control information and pass it to the CPLD. The CPLD will solidify it into the internal storage area to avoid inconsistency between the overcurrent protection control information stored in the CPLD storage area and the overcurrent protection control information corresponding to the configuration information of the current access device, resulting in abnormal power failure of the service module or failure to provide effective overcurrent protection.

[0082] When the brightness of the LED changes, the resistance of the photoresistor changes accordingly. EFUSE sets the corresponding overcurrent protection current threshold based on the change in the photoresistor's resistance, thereby setting different overcurrent protection current thresholds for different service modules in different access devices.

[0083] In an embodiment of the present application, the electronic fuse is grounded through a photoresistor, and a light-emitting diode is set near the photoresistor. The resistance of the photoresistor can be controlled by the brightness of the light-emitting diode. Therefore, the brightness of the light-emitting diode can be controlled to control the electronic fuse to set the corresponding current threshold of overcurrent protection. When an access device is detected, the current threshold of overcurrent protection that needs to be set is determined based on the configuration information of the access device, and a corresponding control signal is sent to the light-emitting diode, thereby controlling the light-emitting diode to be at an appropriate brightness, thereby controlling the resistance of the photoresistor, and thereby controlling the current threshold of overcurrent protection of the electronic fuse. It can be seen from this that the embodiment of the present application can set the appropriate current threshold of overcurrent protection according to different business modules in different access devices, which can meet the needs of the same mainboard being compatible with different business modules, greatly improving the effectiveness and reliability of overcurrent protection, as well as the versatility of the board.

[0084] The following introduces an application embodiment provided by the present application. The server needs to connect fans of different models. The correspondence between the fan models and overcurrent protection control information is stored in the flash memory in advance. After the server is powered on or when the fan is detected to be connected, the PCH obtains the model of the connected fan and sends it to the BMC. The BMC queries the overcurrent protection control information corresponding to the model in the flash memory. The BMC sends the overcurrent protection control information to the CPLD. At the same time, the BMC sends the control signal corresponding to the overcurrent protection control information to the CPLD.

[0085] The CPLD receives the overcurrent protection control information from the BMC and stores it in its internal storage area. The CPLD detects in real time whether the BMC is functioning properly. When the BMC is functioning properly, the CPLD controls the internal MUX through EN to switch to the link that receives the control signal from the BMC, transparently transmitting the control signal from the BMC and enabling the BMC to control the brightness of the LED. When the CPLD detects that the BMC is in the initialization or dead state, the CPLD takes over control of the LED, controls the internal MUX through EN to switch to the internal link, reads the overcurrent protection control information from the internal storage area, and outputs the corresponding control signal to control the brightness of the LED. The CPLD does not return control to the BMC until it detects that the BMC is functioning properly again. The BMC then continues to control the brightness of the LED.

[0086] As can be seen, after the server is powered on or when a fan is detected, the BMC updates the fan's overcurrent protection control information and transmits it to the CPLD. The CPLD then stores the information in its internal storage area to avoid inconsistencies between the overcurrent protection control information stored in the CPLD's storage area and the overcurrent protection control information corresponding to the currently connected fan model, resulting in ineffective overcurrent protection.

[0087] When the brightness of the LED changes, the resistance of the photoresistor changes accordingly. EFUSE sets the corresponding overcurrent protection current threshold based on the change in the photoresistor's resistance, thus setting different overcurrent protection current thresholds for different models of fans connected.

[0088] The embodiment of the present application discloses a server overcurrent protection method, which improves the effectiveness and reliability of overcurrent protection.

[0089] 5 , a flow chart of a server overcurrent protection method according to an exemplary embodiment is shown. As shown in FIG5 , the method includes:

[0090] S101: Obtain overcurrent protection control information corresponding to configuration information of an access device;

[0091] The execution subject of this embodiment is a logic device in the above-mentioned server system (which may be, but is not limited to, a complex programmable logic device).

[0092] In an optional implementation, when the server is powered on or detects that a device is connected to the server, the integrated south bridge obtains configuration information of the connected device and sends the configuration information to a controller (which may be, but is not limited to, a baseboard management controller). As a feasible implementation, the integrated south bridge sends the configuration information to the controller via an enhanced serial peripheral interface bus or a low pin count bus.

[0093] Furthermore, the controller determines the overcurrent protection control information corresponding to the configuration information. As a feasible implementation, the controller obtains the configuration information of the connected device through the integrated south bridge, searches the flash memory for the overcurrent protection control information corresponding to the configuration information, and sends it to the logic device. In an optional implementation, the correspondence between the configuration information and the overcurrent protection control information can be pre-stored in the flash memory, and the controller searches the flash memory for the overcurrent protection control information corresponding to the received configuration information.

[0094] As another feasible implementation, the controller obtains configuration information of the access device through the integrated south bridge, converts the configuration information into corresponding overcurrent protection control information, and sends it to the logic device. In an optional implementation, the controller calculates the corresponding overcurrent protection control information based on the received configuration information.

[0095] The overcurrent protection control information in this embodiment may include the overcurrent protection current threshold, the resistance value of the photoresistor, a control signal for controlling the light-emitting diode, and the like, which are not limited herein. When calculating the overcurrent protection current threshold based on the configuration information, a preset multiple of the peak-to-peak current of the service module in the access device, such as 1.2-1.5 times, may be calculated as the overcurrent protection current threshold. Based on the overcurrent protection current threshold and the specifications of the EFUSE, the resistance value of the photoresistor may be calculated, and the control signal for controlling the light-emitting diode may be determined based on the control of the light-emitting diode over the photoresistor.

[0096] Furthermore, the controller transmits the overcurrent protection control information to the logic device. That is, obtaining the overcurrent protection control information corresponding to the configuration information of the connected device includes: obtaining the overcurrent protection control information corresponding to the configuration information of the connected device from the controller. As a feasible embodiment, obtaining the overcurrent protection control information corresponding to the configuration information of the connected device from the controller includes: obtaining the overcurrent protection control information corresponding to the configuration information of the connected device from the controller via the integrated circuit bus.

[0097] Furthermore, after obtaining the overcurrent protection control information corresponding to the configuration information of the access device, the method further includes: storing the overcurrent protection control information in a storage area within the logic device. In an optional embodiment, the logic device receives the overcurrent protection control information from the controller and stores it in an internal storage area. As a feasible embodiment, storing the overcurrent protection control information in a storage area within the logic device includes storing the overcurrent protection control information in a user flash memory within the logic device.

[0098] S102: Outputting a control signal corresponding to the overcurrent protection control information to the light-emitting diode, controlling the brightness of the light-emitting diode through the control signal, and controlling the resistance of the photoresistor by controlling the brightness of the light-emitting diode, so that the electronic fuse sets the current threshold of the overcurrent protection according to the resistance of the photoresistor.

[0099] In an optional implementation, the logic device outputs a control signal corresponding to the overcurrent protection control information to the light-emitting diode, thereby controlling the light-emitting diode to maintain an appropriate brightness, thereby controlling the resistance of the photoresistor, and thereby controlling the current threshold of the overcurrent protection of the electronic fuse. The control signal in this embodiment can be a pulse-width modulated signal, that is, outputting the control signal corresponding to the overcurrent protection control information to the light-emitting diode includes: outputting a pulse-width modulated control signal corresponding to the overcurrent protection control information to the light-emitting diode.

[0100] As a feasible implementation, before outputting the control signal corresponding to the overcurrent protection control information to the light-emitting diode, the method further includes: receiving the control signal corresponding to the overcurrent protection control information sent by the controller. In an optional implementation, the controller transmits the overcurrent protection control information to the logic device while simultaneously transmitting the control signal corresponding to the overcurrent protection control information to the logic device. This control signal is used to control the brightness of the light-emitting diode when the controller is in normal operation.

[0101] As a feasible implementation method, a control signal corresponding to overcurrent protection control information is output to the light-emitting diode, the brightness of the light-emitting diode is controlled by the control signal, and the resistance of the photoresistor is controlled by controlling the brightness of the light-emitting diode, including: judging whether the controller is in a normal working state; when it is judged that the controller is in a normal working state, switching to a link that receives a control signal from the controller and outputs it to the light-emitting diode, so that the controller controls the brightness of the light-emitting diode by the control signal, and controls the resistance of the photoresistor by controlling the brightness of the light-emitting diode; when it is judged that the controller is not in a normal working state, switching to a link that outputs a control signal from a logic device to the light-emitting diode, and reading the overcurrent protection control information from the storage area, outputting a control signal corresponding to the overcurrent protection control information to the light-emitting diode, controlling the brightness of the light-emitting diode by the control signal, and controlling the resistance of the photoresistor by controlling the brightness of the light-emitting diode.

[0102] In an optional implementation, whether the controller is in a normal working state is determined by detecting the watchdog timer signal sent by the controller to the logic device. When the watchdog timer signal is detected to be normal, the controller is determined to be in a normal working state; otherwise, the controller is determined to be in an abnormal working state. When the controller is in a normal working state, the multiplexer inside the logic device is controlled by an enable signal to switch to a link that receives a control signal from the controller and outputs it to the light-emitting diode. The control signal from the controller is transparently transmitted, thereby enabling the controller to control the brightness of the light-emitting diode. When the controller is in an abnormal working state, the multiplexer inside the logic device is controlled by an enable signal to switch to a link that outputs a control signal from the logic device to the light-emitting diode. The overcurrent protection control information is read from the internal storage area, and the corresponding control signal is output to control the brightness of the light-emitting diode. After the logic device detects that the controller is in a normal working state again, the control right is returned to the controller, and the controller continues to control the brightness of the light-emitting diode.

[0103] In an embodiment of the present application, an electronic fuse is grounded through a photoresistor, and a light-emitting diode is set near the photoresistor. The resistance of the photoresistor can be controlled by the brightness of the light-emitting diode. Therefore, the brightness of the light-emitting diode can be controlled to control the electronic fuse to set the corresponding current threshold of overcurrent protection. When an access device is detected, the current threshold of overcurrent protection that needs to be set is determined based on the configuration information of the access device, and a corresponding control signal is sent to the light-emitting diode, thereby controlling the light-emitting diode to be at an appropriate brightness, thereby controlling the resistance of the photoresistor, and thereby controlling the current threshold of overcurrent protection of the electronic fuse. It can be seen that the server overcurrent protection method provided in the embodiment of the present application can set the appropriate current threshold of overcurrent protection according to different business modules in different access devices, can meet the requirements of the same motherboard being compatible with different business modules, and greatly improves the effectiveness and reliability of overcurrent protection, as well as the versatility of the board.

[0104] The present application discloses a method for overcurrent protection of a server. Compared with the previous embodiment, this embodiment further illustrates and optimizes the technical solution. In some embodiments:

[0105] 6 , a flow chart of another server overcurrent protection method according to an exemplary embodiment is shown. As shown in FIG6 , the method includes:

[0106] S201: When the server is powered on or detects that an access device is connected to the server, the integrated south bridge obtains configuration information of the access device and sends the configuration information to a controller (which may be, but is not limited to, a baseboard management controller);

[0107] S202: The controller converts the configuration information into corresponding overcurrent protection control information and sends it to a logic device (which may be, but is not limited to, a complex programmable logic device), and simultaneously sends a control signal corresponding to the overcurrent protection control information to the logic device;

[0108] S203: The logic device stores the overcurrent protection control information in an internal storage area;

[0109] S204: The logic device determines whether the controller is in a normal working state; if the controller is determined to be in a normal working state, the logic device switches to a link that receives a control signal from the controller and outputs it to the light-emitting diode, and the process proceeds to S205; if the controller is determined to be in a normal working state, the logic device switches to a link that outputs a control signal to the light-emitting diode, and the process proceeds to S206;

[0110] S205: The controller controls the brightness of the light emitting diode through the control signal, and controls the resistance value of the photoresistor by controlling the brightness of the light emitting diode;

[0111] S206: The logic device reads the overcurrent protection control information from the storage area, outputs a control signal corresponding to the overcurrent protection control information to the light emitting diode, and controls the brightness of the light emitting diode through the control signal;

[0112] S207: Controlling the resistance of the photoresistor by controlling the brightness of the light-emitting diode;

[0113] S208: The electronic fuse sets a current threshold for overcurrent protection according to the resistance value of the photoresistor.

[0114] In an optional implementation, the PCH obtains configuration information for each access device after each server power-up or when a device is hot-swapped. The access device can be a PCIe device, and the configuration information can be the peak-to-peak current of a service module in the access device. The PCH transmits this configuration information to the BMC via the eSPI bus or the LPC bus.

[0115] The BMC receives the configuration information transmitted from the PCH, parses it, and determines the overcurrent protection control information corresponding to the configuration information. As a feasible implementation method, the correspondence between the configuration information and the overcurrent protection control information can be stored in the Flash in advance, and the BMC queries the overcurrent protection control information corresponding to the received configuration information in the Flash. As another feasible implementation method, the BMC calculates the corresponding overcurrent protection control information based on the received configuration information. The overcurrent protection control information here can be the current threshold of the overcurrent protection, the resistance of the photoresistor, the control signal for controlling the light-emitting diode, etc., which are not limited here. When calculating the current threshold of the overcurrent protection based on the configuration information, the preset multiple of the peak to peak current of the service module in the access device can be calculated, for example, 1.2-1.5 times as the current threshold of the overcurrent protection, and the resistance of the photoresistor can be calculated based on the current threshold of the overcurrent protection and the specifications of the EFUSE, and then the control signal for controlling the light-emitting diode is determined based on the control of the light-emitting diode on the photoresistor.

[0116] Furthermore, the BMC transmits the overcurrent protection control information to the CPLD via I2C, and at the same time, the BMC sends a control signal corresponding to the overcurrent protection control information to the CPLD. The control signal is used to control the brightness of the light-emitting diode when the controller is in normal working state. The control signal here can be a PWM waveform, which is not limited here.

[0117] The CPLD receives overcurrent protection control information from the BMC and stores it in an internal storage area, which can be the UFM storage area (not specifically defined here). The CPLD monitors the WDT signal status in real time. When the BMC is operating normally, the CPLD detects a normal WDT signal and, via the EN pin, switches the internal MUX to the link receiving control signals from the BMC. This allows transparent transmission of the BMC control signals, enabling the BMC to control the LED brightness. If the CPLD detects an abnormal WDT signal, indicating that the BMC is in the initialization or hang state, the CPLD takes over control of the LEDs, switches the internal MUX to the internal link via the EN pin, reads the overcurrent protection control information from the internal storage area, and outputs the corresponding control signal to control the LED brightness. The CPLD returns control to the BMC after detecting a normal WDT signal, allowing the BMC to continue controlling the LED brightness.

[0118] It can be seen that each time the server is powered on or the service module is hot-swapped, the BMC will update the overcurrent protection control information and pass it to the CPLD. The CPLD will solidify it into the internal storage area to avoid inconsistency between the overcurrent protection control information stored in the CPLD storage area and the overcurrent protection control information corresponding to the configuration information of the current access device, resulting in abnormal power failure of the service module or failure to provide effective overcurrent protection.

[0119] When the brightness of the LED changes, the resistance of the photoresistor changes accordingly. EFUSE sets the corresponding overcurrent protection current threshold based on the change in the photoresistor's resistance, thereby setting different overcurrent protection current thresholds for different service modules in different access devices.

[0120] In an embodiment of the present application, an electronic fuse is grounded through a photoresistor, and a light-emitting diode is set near the photoresistor. The resistance of the photoresistor can be controlled by the brightness of the light-emitting diode. Therefore, the brightness of the light-emitting diode can be controlled to control the electronic fuse to set the corresponding current threshold of overcurrent protection. When an access device is detected, the current threshold of overcurrent protection that needs to be set is determined based on the configuration information of the access device, and a corresponding control signal is sent to the light-emitting diode, thereby controlling the light-emitting diode to be at an appropriate brightness, thereby controlling the resistance of the photoresistor, and thereby controlling the current threshold of overcurrent protection of the electronic fuse. It can be seen that the server overcurrent protection method provided in the embodiment of the present application can set the appropriate current threshold of overcurrent protection according to different business modules in different access devices, can meet the requirements of the same motherboard being compatible with different business modules, and greatly improves the effectiveness and reliability of overcurrent protection, as well as the versatility of the board.

[0121] The embodiment of the present application also provides a non-volatile readable storage medium, which can be a computer non-volatile readable storage medium, for example, including a memory 3 for storing a computer program, and when the computer program is executed, the above-mentioned server overcurrent protection method steps are completed. The computer non-volatile readable storage medium can be FRAM (ferromagnetic random access memory), ROM (non-volatile memory can be read-only memory, Read Only Memory), PROM (Programmable Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), Flash Memory (flash memory), magnetic surface memory, optical disk, CD-ROM (Compact Disc Read-Only Memory) and other memories.

[0122] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer non-volatile readable storage medium, which, when executed, executes the steps including the above method embodiment.

[0123] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer non-volatile readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a software product, which is stored in a non-volatile readable storage medium and includes a number of instructions for enabling an electronic device (which can be a personal computer, server, network device, etc.) to execute all or part of the methods of each embodiment of the present application.

[0124] The above methods are only optional implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with this technical field can easily think of changes or replacements within the technical scope disclosed in this application, which should be covered by the protection scope of the present application.

Claims

1. A server overcurrent protection circuit, characterized in that: include: A controller, a logic device, an electronic fuse, a light-emitting diode, and a photoresistor, wherein the controller is connected to the logic device, the logic device is connected to the electronic fuse, the logic device is grounded through the light-emitting diode, the electronic fuse is connected to an access device, and the electronic fuse is grounded through the photoresistor; The controller is configured to send overcurrent protection control information corresponding to the configuration information of the access device to the logic device; The logic device is configured to output a control signal corresponding to the overcurrent protection control information to the light-emitting diode, control the brightness of the light-emitting diode through the control signal, and control the resistance value of the photoresistor by controlling the brightness of the light-emitting diode; The electronic fuse is configured to set a current threshold for overcurrent protection according to the resistance value of the photoresistor.

2. The server overcurrent protection circuit according to claim 1, characterized in that: Also included is an integrated south bridge, the integrated south bridge being connected to the controller; The integrated south bridge is configured to obtain configuration information of the access device when the server is powered on or detects that the access device is connected to the server, and send the configuration information to the controller.

3. The server overcurrent protection circuit according to claim 2, characterized in that: The integrated south bridge is connected to the controller via an enhanced serial peripheral interface bus or a low pin count bus.

4. The server overcurrent protection circuit according to claim 1, characterized in that: The controller is configured to convert the configuration information of the access device into corresponding overcurrent protection control information and send the information to the logic device.

5. The server overcurrent protection circuit according to claim 1, characterized in that: The controller is configured to query the flash memory for overcurrent protection control information corresponding to the configuration information of the access device and send the information to the logic device.

6. The server overcurrent protection circuit according to claim 1, characterized in that: The logic device is further configured to store the overcurrent protection control information in an internal storage area.

7. The server overcurrent protection circuit according to claim 6, characterized in that: The storage area is a user flash memory.

8. The server overcurrent protection circuit according to claim 6, characterized in that: The controller is further configured to send a control signal corresponding to the overcurrent protection control information to the logic device.

9. The server overcurrent protection circuit according to claim 8, characterized in that: The logic device is configured to: determine whether the controller is in a normal working state; if it is determined that the controller is in a normal working state, switch to a link that receives a control signal from the controller and outputs it to the light-emitting diode, so that the controller controls the brightness of the light-emitting diode through the control signal, and controls the resistance of the photoresistor by controlling the brightness of the light-emitting diode; if it is determined that the controller is not in a normal working state, switch to a link that outputs a control signal from the logic device to the light-emitting diode, read the overcurrent protection control information from the storage area, output the control signal corresponding to the overcurrent protection control information to the light-emitting diode, control the brightness of the light-emitting diode through the control signal, and control the resistance of the photoresistor by controlling the brightness of the light-emitting diode.

10. The server overcurrent protection circuit according to claim 9, characterized in that: The logic device is configured to determine whether the controller is in a normal working state by detecting a watchdog timer signal sent by the controller to the logic device.

11. The server overcurrent protection circuit according to claim 9, characterized in that: The logic device includes a multiplexer, and the logic device is configured to control the multiplexer to switch to a link that receives a control signal from the controller and outputs it to the light emitting diode or a link that outputs the control signal from the logic device to the light emitting diode through an enable signal.

12. The server overcurrent protection circuit according to claim 1, characterized in that: The control signal is a pulse width modulation control signal.

13. A server, characterized in that: The server overcurrent protection circuit comprises the server overcurrent protection circuit as claimed in any one of claims 1 to 12.

14. A server overcurrent protection method, characterized in that: A logic device applied to the server overcurrent protection circuit according to any one of claims 1 to 12, wherein the method comprises: Obtain overcurrent protection control information corresponding to the configuration information of the access device; A control signal corresponding to the overcurrent protection control information is output to a light-emitting diode, the brightness of the light-emitting diode is controlled by the control signal, and the resistance of the photoresistor is controlled by controlling the brightness of the light-emitting diode, so that the electronic fuse sets the current threshold of the overcurrent protection according to the resistance of the photoresistor.

15. The server overcurrent protection method according to claim 14, characterized in that: The acquiring of overcurrent protection control information corresponding to the configuration information of the access device includes: Obtain overcurrent protection control information corresponding to the configuration information of the connected device from the controller.

16. The server overcurrent protection method according to claim 15, characterized in that: After acquiring the overcurrent protection control information corresponding to the configuration information of the access device, the method further includes: The overcurrent protection control information is stored in a storage area inside the logic device.

17. The server overcurrent protection method according to claim 16, characterized in that: Before outputting the control signal corresponding to the overcurrent protection control information to the light emitting diode, the method further includes: Receive a control signal corresponding to the overcurrent protection control information sent by the controller.

18. The server overcurrent protection method according to claim 17, characterized in that: Outputting a control signal corresponding to the overcurrent protection control information to a light emitting diode, controlling the brightness of the light emitting diode by the control signal, and controlling the resistance of a photoresistor by controlling the brightness of the light emitting diode, including: Determining whether the controller is in a normal working state; When it is determined that the controller is in a normal working state, switching to a link that receives a control signal from the controller and outputs it to the light-emitting diode, so that the controller controls the brightness of the light-emitting diode through the control signal, and controls the resistance value of the photoresistor by controlling the brightness of the light-emitting diode; When it is determined that the controller is not in a normal working state, the link is switched to outputting a control signal from the logic device to the light-emitting diode, and the overcurrent protection control information is read from the storage area, and a control signal corresponding to the overcurrent protection control information is output to the light-emitting diode. The brightness of the light-emitting diode is controlled by the control signal, and the resistance value of the photoresistor is controlled by controlling the brightness of the light-emitting diode.

19. The server overcurrent protection method according to claim 18, characterized in that: The switching to a link that receives a control signal from the controller and outputs the control signal to the light emitting diode includes: Controlling the multiplexer inside the logic device to switch to a link that receives a control signal from the controller and outputs the control signal to the light emitting diode through an enable signal; Accordingly, the switching to a link in which the control signal is output from the logic device to the light emitting diode includes: The multiplexer inside the logic device is controlled by an enable signal to switch to a link that outputs a control signal from the logic device to the light emitting diode.

20. A computer-readable non-volatile storage medium, characterized in that: The computer non-volatile readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the server overcurrent protection method according to any one of claims 14 to 19 are implemented.

Citation Information

Patent Citations

  • Voltage protection circuit and server

    CN114759520A

  • Short-circuit current suppression circuit, server equipment and overcurrent suppression circuit

    CN116316493A

  • Protection circuit management method and device and fan power supply

    CN116526417A

  • Protection system and method for server board card

    CN117075706A

  • Server overcurrent protection circuit and method, server and storage medium

    CN117674020A