Hot plug control system and method of power supply unit, storage medium and electronic equipment

By introducing a hot-swap control system into the PSU, including hot-swap signal flip-flop, programmable logic devices and indicator light components, the electric spark problems caused by residual power and capacitor charging during hot-swap of high-voltage PSU is solved, and the safe plug-in and unplugging of the PSU and the stable operation of the system is achieved.

CN119829500AInactive Publication Date: 2025-04-15INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Application Number
CN202411748011.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-04-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When a high-voltage PSU is hot-swap operation, the remaining power that the PSU has not released and the moment other PSUs charge the newly inserted PSU capacitors often inevitably brings electric spark problems caused by arc, which in turn causes damage to other circuit devices on the power board.

Method used

A hot-swap control system for a power supply unit is provided, including a hot-swap signal trigger, a programmable logic device and an indicator light assembly. By triggering the hot-swap warning signal, the efuse circuit is turned off and the power supply unit stops outputting power, detects the remaining power and turns off the indicator light when it is below the threshold, indicating that the PSU can be unplugged.

Benefits of technology

It effectively avoids the electric spark problems caused by residual power and capacitor charging during the hot plug-in of high-voltage PSU, protects other circuit devices on the power board, and ensures the safe plug-in and unplugging of the PSU and the stable operation of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119829500A_ABST
    Figure CN119829500A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a hot plug control system and method for a power supply unit, a storage medium and electronic equipment, and the system comprises a hot plug signal trigger which is used for triggering a hot plug pre-alarm signal which is used for indicating that the power supply unit connected with the hot plug signal trigger is to be pulled out; the programmable logic device is connected with the hot plug signal trigger and used for controlling the efuse circuit to be switched off and controlling the power supply unit to stop outputting electric energy under the condition that the hot plug pre-warning signal is received, and the efuse circuit is connected with the power supply unit and used for controlling the power supply unit to input / output an electric energy path to be switched on and switched off; and the indicating lamp assembly is connected with the power supply unit and is used for detecting residual electric energy of the power supply unit and closing the indicating lamp assembly under the condition that the residual electric energy is lower than a preset threshold value so as to indicate that the power supply unit can be pulled out.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computers, and in particular, to a hot-swap control system and method for a power supply unit, a storage medium, and an electronic device. Background Art

[0002] Since servers are essential for processing data communications, the server industry has grown exponentially in sync with the Internet. The power supply unit (PSU) is the core of the server system and requires a complex system architecture. To support more and more server computing requirements, such as cloud computing and artificial intelligence (AI) computing on the Internet, servers can add graphics processing units (GPUs) to work with the CPU. In this way, the power demand of servers has increased to more than 3000W in five years.

[0003] Complex server systems may have N+1 or N+N (N>2) redundancy depending on system reliability and cost. In order to keep the system running normally when the PSU needs to be replaced, the system needs to integrate hot-swap technology. However, when hot-swapping a high-voltage PSU such as 54V, it is often inevitable to cause arc-induced sparks during the plug-in and unplug process because of the residual power not fully released by the PSU and the moment when other PSUs charge the newly inserted PSU capacitors, which in turn damages other circuit components on the power supply board.

[0004] Regarding the related technology, when a high-voltage PSU is hot-plugged, the residual power that has not been fully released by the PSU and the moment when other PSUs charge the newly inserted PSU capacitor often inevitably cause electric arcs and sparks, which in turn cause damage to other circuit components on the power supply board. No effective solution has yet been proposed for the technical problem. Summary of the invention

[0005] The embodiments of the present application provide a hot-swap control system and method, storage medium and electronic device for a power supply unit, so as to at least solve the problem in the related art that when a high-voltage PSU is hot-swapped, the residual power that has not been released by the PSU and the moment when other PSUs charge the newly inserted PSU capacitor often inevitably cause electric arcs to cause sparks, thereby causing damage to other circuit components on the power board.

[0006] According to one embodiment of the present application, a hot-swap control system of a power supply unit is provided, comprising: a hot-swap signal trigger, for triggering a hot-swap pre-alarm signal, wherein the hot-swap pre-alarm signal is used to indicate that the power supply unit connected to the hot-swap signal trigger is to be unplugged; a programmable logic device, connected to the hot-swap signal trigger, for controlling an efuse circuit to shut down and controlling the power supply unit to stop outputting electric energy when the hot-swap pre-alarm signal is received, wherein the efuse circuit is connected to the power supply unit and is used to control the on / off of an input / output electric energy path of the power supply unit; an indicator light component, connected to the power supply unit, for detecting the remaining electric energy of the power supply unit, and turning off the indicator light component when the remaining electric energy is lower than a preset threshold value to indicate that the power supply unit can be unplugged.

[0007] In an exemplary embodiment, the programmable logic device is also used to: upon receiving the hot plug pre-alarm signal, de-bounce the hot plug pre-alarm signal to obtain a processed hot plug pre-alarm signal; determine the duration of the processed hot plug pre-alarm signal; and upon determining that the duration is greater than a preset time threshold, control the efuse circuit to shut down, and control the power supply unit to stop outputting electrical energy.

[0008] In an exemplary embodiment, the programmable logic device is also used to: when it is determined that the duration is less than the preset time threshold, determine that the hot plug pre-alarm signal is a false touch signal, prohibit controlling the efuse circuit to shut down, and prohibit controlling the power supply unit to stop outputting electrical energy.

[0009] In an exemplary embodiment, the system also includes: a discharge circuit connected to the power supply unit, and the programmable logic device is also used to enable the discharge circuit when it is determined that the duration is greater than the preset time threshold, so as to release the remaining electrical energy of the power supply unit through the discharge circuit.

[0010] In an exemplary embodiment, the system further includes: a pop-up mechanism, which is arranged on a power board and movably connected to the power supply unit, the power supply unit being movably connected to the power board, the pop-up mechanism being used to: start the pop-up mechanism when a light-off control signal of the indicator light assembly and the hot-swap pre-warning signal are detected, wherein the light-off control signal is used to indicate that the indicator light assembly has been turned off; determine the weight information of the power supply unit, and determine the hot-swap stroke of the power supply unit, wherein the hot-swap stroke is used to indicate the displacement distance of the power supply unit during the removal process; determine the elastic coefficient of the elastic structure of the pop-up mechanism; enable the pop-up mechanism according to the weight information, the hot-swap stroke and the elastic coefficient to pop the power supply unit out of the power board through the elastic structure; when it is determined that the power supply unit has been popped out, close a micro switch and send a confirmation signal to the programmable logic device, wherein the micro switch is arranged at the end of the elastic structure, the micro switch is used to trigger the confirmation signal, and the confirmation signal is used to indicate to the programmable logic device that the power supply unit has been disconnected from the power board.

[0011] In an exemplary embodiment, the programmable logic device is also used to: upon receiving the confirmation signal, perform a status detection on the power board to obtain a status detection result, wherein the status detection result is used to indicate the number of power supply units connected to the power board at the current moment; and when the status detection result indicates that the number is less than a preset number requirement, control the power board to switch to a low power consumption mode to operate.

[0012] In an exemplary embodiment, the programmable logic device is also used to: when it is detected that a new power supply unit is inserted into the power board, control the efuse circuit corresponding to the new power supply unit to turn on, wherein the efuse circuit is used to block the output power of other power supply units.

[0013] According to another embodiment of the present application, a hot-swap control method for a power supply unit is provided, which is applied to the hot-swap control system of the above-mentioned power supply unit, including: triggering the hot-swap pre-alarm signal when it is determined that the power supply unit is to be unplugged; controlling the efuse circuit to shut down and controlling the power supply unit to stop outputting electric energy when the hot-swap pre-alarm signal is received; detecting the remaining electric energy of the power supply unit, and turning off the indicator light component when the remaining electric energy is lower than a preset threshold value to indicate that the power supply unit can be unplugged.

[0014] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.

[0015] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0016] According to another embodiment of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps of the method described in each embodiment of the present application are implemented.

[0017] Through the present application, the system includes: a hot-plug signal trigger, which is used to trigger a hot-plug pre-alarm signal, wherein the hot-plug pre-alarm signal is used to indicate that the power supply unit connected to the hot-plug signal trigger is to be unplugged; a programmable logic device, which is connected to the hot-plug signal trigger and is used to control the efuse circuit to turn off and control the power supply unit to stop outputting electric energy when receiving the hot-plug pre-alarm signal of the hot-plug signal trigger, the efuse circuit is connected to the power supply unit and is used to control the on / off of the input / output power path of the power supply unit; an indicator light component, which is connected to the power supply unit and is used to detect the remaining electric energy of the power supply unit, and turn off the indicator light component when it is determined that the remaining electric energy is lower than a preset threshold value, so as to indicate The system indicates that the power supply unit can be unplugged. By adding a hot-swap button pre-alarm to the PSU (power supply unit), an efuse circuit is added to the back end of the PSU. After the plug-in button is pressed, the corresponding efuse circuit is turned off through CPLD control to make the PSU unloaded and cut off the PSU output. An LED light is added simultaneously to show the power exhaustion status. When the indicator light goes out, the PSU can be safely plugged in and out. This solves the problem in the related art that when the high-voltage PSU is hot-plugged, the residual power of the PSU that has not been fully released and the moment when other PSUs charge the newly inserted PSU capacitor often inevitably cause electric sparks caused by electric arcs, thereby causing damage to other circuit components on the power supply board. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a hardware structure block diagram of a computer terminal according to a hot-swap control method of a power supply unit of an embodiment of the present application;

[0019] Figure 2 is a structural block diagram (I) of a hot-swap control system of an optional power supply unit according to an embodiment of the present application;

[0020] Figure 3 is a structural block diagram (II) of a hot-swap control system of an optional power supply unit according to an embodiment of the present application;

[0021] Figure 4 is an optional PSU hot-swap quantity management flow chart according to an embodiment of the present application;

[0022] Figure 5 is a schematic structural diagram of an optional hot-swap control logic circuit according to an embodiment of the present application;

[0023] Figure 6 is an optional PSU hot-swap flow chart according to an embodiment of the present application;

[0024] Figure 7 It is a flow chart of an optional hot-swap control method of a power supply unit according to an embodiment of the present application. DETAILED DESCRIPTION

[0025] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0027] The method embodiments provided in the embodiments of the present application can be executed in a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 1 is a hardware structure block diagram of a computer terminal of a hot-swap control method for a power supply unit according to an embodiment of the present application. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned computer terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0028] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the hot-swap control method of the power supply unit in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0029] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0030] The following is an explanation of the professional terms that appear in this application:

[0031] CPLD: Complex Programming logic device, complex programmable logic device;

[0032] PSU: primary source unit, basic power supply unit (i.e. the power supply unit mentioned above);

[0033] BMC: Baseboard Management Controller, baseboard management control device;

[0034] CPU: Central Processing Unit, central processing unit;

[0035] GPU: Graphics processing unit, graphics processor.

[0036] In the related technologies, research on server PSUs often focuses on PSU management and energy efficiency balancing of redundant PSUs. Research on PSU hot-swap circuits is also limited to setting and adjusting hot-swap protection currents, or research on hot-swap power control of external card types.

[0037] PSUs currently all have a long and short pin design, the idea is to connect the GND signal first when inserting, and then connect the signal and power; similarly, when unplugging, first disconnect the power and then disconnect the GND. However, during the hot-plugging process, especially for high-voltage power supply types, the problem of electric sparks caused by residual electricity and instantaneous charging of capacitors is inevitable.

[0038] In order to solve the above problems, a hot-swap control system 20 for a power supply unit is provided in this embodiment. Figure 2 is a block diagram of a hot-swap control system of a power supply unit according to an embodiment of the present application. Figure 2 As shown, the system includes:

[0039] A hot-plug signal trigger 22, used to trigger a hot-plug pre-warning signal, wherein the hot-plug pre-warning signal is used to indicate that a power supply unit connected to the hot-plug signal trigger is to be unplugged;

[0040] A programmable logic device 24, connected to the hot-plug signal trigger, for controlling the efuse circuit to shut down and the power supply unit to stop outputting electric energy when the hot-plug pre-warning signal is received, wherein the efuse circuit is connected to the power supply unit and is used to control the on / off of the input / output electric energy path of the power supply unit;

[0041] The indicator light component 26 is connected to the power supply unit and is used to detect the remaining power of the power supply unit and turn off the indicator light component when the remaining power is lower than a preset threshold to indicate that the power supply unit can be unplugged.

[0042] Through the above scheme, the system includes: a hot-plug signal trigger, which is used to trigger a hot-plug pre-alarm signal, wherein the hot-plug pre-alarm signal is used to indicate that the power supply unit connected to the hot-plug signal trigger is to be unplugged; a programmable logic device, which is connected to the hot-plug signal trigger and is used to control the efuse circuit to turn off and control the power supply unit to stop outputting electric energy when receiving the hot-plug pre-alarm signal of the hot-plug signal trigger, the efuse circuit is connected to the power supply unit and is used to control the on-off of the input / output electric energy path of the power supply unit; an indicator light component, which is connected to the power supply unit and is used to detect the remaining electric energy of the power supply unit, and turn off the indicator light component when it is determined that the remaining electric energy is lower than a preset threshold value, so as to indicate The system indicates that the power supply unit can be unplugged. By adding a hot-swap button pre-alarm to the PSU (power supply unit), an efuse circuit is added to the back end of the PSU. After the plug-in button is pressed, the corresponding efuse circuit is turned off through CPLD control to make the PSU unloaded and cut off the PSU output. An LED light is added simultaneously to show the power exhaustion status. When the indicator light goes out, the PSU can be safely plugged in and out. This solves the problem in the related art that when the high-voltage PSU is hot-plugged, the residual power of the PSU that has not been fully released and the moment when other PSUs charge the newly inserted PSU capacitor often inevitably cause electric sparks caused by electric arcs, thereby causing damage to other circuit components on the power supply board.

[0043] In an exemplary embodiment, the programmable logic device 24 is also used to: upon receiving the hot plug pre-alarm signal, de-bounce the hot plug pre-alarm signal to obtain a processed hot plug pre-alarm signal; determine the duration of the processed hot plug pre-alarm signal; and upon determining that the duration is greater than a preset time threshold, control the efuse circuit to shut down, and control the power supply unit to stop outputting electrical energy.

[0044] CPLD, during this period, can be integrated into the power board or the upper control board, depending on the specific design. If it is directly on the PDB board (i.e., the power board), the hot plug indication signal HOTPLUG_SW_N (i.e., the above-mentioned hot plug pre-alarm signal) is directly sent to the PDB board CPLD after being flipped by MOS. If it is integrated in the upper control board, the hot plug indication signal is sent to the CPLD of the upper control board through the sideband connector. It is used to receive the hot plug action signal HOTPLUG_SW, and perform debouncing judgment based on the signal, and perform power-off processing on the corresponding PSU after eliminating false touches. Then the CPLD needs to judge the HOTPLUG_SW signal. It is judged as a valid HOTPLUG_SW signal only when it is greater than 2s (i.e., the above-mentioned preset time threshold), and the efuse circuit of the corresponding PSU is turned off by pulling down EFUSE_EN, and the PSON_N signal of the corresponding PSU is released synchronously, so that the PSU is turned off and stops outputting power.

[0045] Optionally, the preset time threshold may also be set to other values, such as 1.5s, 2.5s, etc., which is not limited in this application.

[0046] It should be noted that debouncing the signal is a common step in digital circuit design. Its purpose is to remove short-term noise caused by mechanical switch instability or external interference, and ensure that the signal received by the digital system is stable and accurate. In the server PSU hot-swap system, debouncing is mainly used to process the hot-swap button signal. The specific results are as follows:

[0047] 1. Stable signal output: De-jitter processing makes the signal output of hot-swap buttons more stable. At the moment when a button is pressed or released, the signal may jitter due to the mechanical characteristics of the switch, that is, the signal jumps repeatedly in a short period of time. Through de-jitter processing, these jitters can be filtered out to ensure that the system receives a clean, undisturbed button signal.

[0048] 2. Accurate trigger conditions: The debounced signal can accurately reflect the operator's intention. For example, if the operator presses the hot-swap button for a long time, the system should recognize it as a hot-swap instruction, rather than a series of quick presses and releases. The debounce circuit or software algorithm will ensure that the duration of the signal reaches a preset threshold (such as 2 seconds) before it can be recognized as a valid hot-swap instruction, avoiding misoperation.

[0049] 3. Reduce system misjudgment: Debounce processing reduces the system's misjudgment of key signals and improves system reliability. Without debounce processing, the system may mistakenly identify jitter as multiple key events, resulting in unnecessary PSU power-off and restart, affecting the normal operation of the server.

[0050] 4. Simplify the control relay logic: Debouncing processing simplifies the complexity of CPLD control logic. CPLD can directly make logical judgments based on the stabilized signal without the need for complex algorithms to judge the stability of the signal, which reduces the processing burden of the system and improves the response speed.

[0051] 5. Improve user experience: For users, the hot-swap operation is more reliable and intuitive after debouncing. When a user presses a button, the system can respond accurately without failure or delay due to unstable signals, thus improving the user experience and efficiency of hot-swap operations.

[0052] In summary, debouncing processing plays a key role in the server PSU hot-swap system. It not only improves the stability and accuracy of the signal, but also reduces misoperation, simplifies the system control logic, and ultimately improves the user operation experience and the overall reliability of the system.

[0053] Furthermore, the programmable logic device 24 is also used to: when it is determined that the duration is less than the preset time threshold, determine that the hot plug pre-alarm signal is a false touch signal, prohibit controlling the efuse circuit to shut down, and prohibit controlling the power supply unit to stop outputting electrical energy.

[0054] If the duration of the hot-swap pre-alarm signal is less than 2s, it is judged as a false touch, the operation is ignored, and the efuse circuit and the power supply unit are not processed.

[0055] Through this embodiment, further detection and judgment are performed after the hot plug pre-warning signal is detected to avoid erroneous processing of the power board due to erroneous signal triggering, thereby affecting the operating efficiency of the server.

[0056] Optionally, the system 20 further includes: a discharge circuit 28 connected to the power supply unit, such as Figure 3 As shown, the programmable logic device 24 is further used to enable the discharge circuit when it is determined that the duration is greater than the preset time threshold, so as to release the remaining electric energy of the power supply unit through the discharge circuit.

[0057] A discharge circuit is added to the power board simultaneously, and when the PSON_N signal of the corresponding PSU is released, the discharge circuit is enabled to accelerate the discharge of the PSU. Through this embodiment, the time for users to wait for the power supply unit to be unplugged is reduced, and work efficiency is improved.

[0058] Optionally, the system 20 further includes: a pop-up mechanism 30, which is disposed on the power board and is movably connected to the power supply unit, and the power supply unit is movably connected to the power board, such as Figure 3As shown, the pop-up mechanism 30 is used to: start the pop-up mechanism when a light-off control signal of the indicator light assembly and the hot-plug pre-warning signal are detected, wherein the light-off control signal is used to indicate that the indicator light assembly has been turned off; determine the weight information of the power supply unit, and determine the hot-plug stroke of the power supply unit, wherein the hot-plug stroke is used to indicate the displacement distance of the power supply unit during the removal process; determine the elastic coefficient of the elastic structure of the pop-up mechanism; enable the pop-up mechanism according to the weight information, the hot-plug stroke and the elastic coefficient to pop the power supply unit out of the power board through the elastic structure; when it is determined that the power supply unit has been popped out, close the micro switch and send a confirmation signal to the programmable logic device, wherein the micro switch is arranged at the end of the elastic structure, the micro switch is used to trigger the confirmation signal, and the confirmation signal is used to indicate to the programmable logic device that the power supply unit has been disconnected from the power board.

[0059] The system also includes an ejection mechanism, which cooperates with the weight of the PSU and the control signal of the hot-swap button. When it is detected that the control signal of the PSU power indicator light is pulled low, that is, the PSU is fully discharged, and the hot-swap button is triggered, the ejection mechanism automatically starts, and uses a preset elastic structural member to safely eject the PSU from the server according to the weight of the PSU and the hot-swap stroke. The design of the ejection mechanism takes into account the hot-swap stroke of the PSU and the optimization of the internal space of the server to ensure that there is no interference with other server components when the PSU is ejected. At the same time, the ejection mechanism also integrates a micro switch for feeding back a confirmation signal to the CPLD after the PSU is fully ejected. Through this embodiment, the safety and convenience of the PSU hot-swap operation are further improved, avoiding arc sparks that may be generated when the operator manually pulls out the PSU and potential harm to the operator.

[0060] Optionally, the programmable logic device 24 is also used to: upon receiving the confirmation signal, perform a status detection on the power board to obtain a status detection result, wherein the status detection result is used to indicate the number of power supply units connected to the power board at the current moment; when the status detection result indicates that the number is less than a preset number requirement, control the power board to switch to a low power consumption mode to operate.

[0061] After receiving the confirmation signal, the CPLD will automatically adjust the working mode of the remaining PSUs. For example, in N+1 or N+N redundancy mode, according to the number of PSUs currently in place and the effective working mode, the power capping operation is triggered to put the CPU and GPU into frequency reduction mode to ensure stable operation of the system and avoid overload risks. Figure 4As shown, Figure 4 This is a PSU hot-swap quantity management flow chart, which specifically includes the following steps:

[0062] Step S401, unplug the PSU;

[0063] Step S402, checking the number of PSUs in place;

[0064] Step S403, determining whether the number of PSUs in place can meet the normal operation, if yes, executing step S404, if not, executing step S405;

[0065] Step S404: Ignore;

[0066] Step S405, when the number is lower than the number required by the effective working mode, the CPLD triggers the PWRBRK signal (i.e., the powercapping signal);

[0067] Step S406: After receiving the signal, the CPU / GPU triggers frequency reduction and enters the frequency reduction mode.

[0068] Through the above embodiment, after each power supply unit is unplugged, it is confirmed whether the number of power supply units on the remaining power board can meet the power supply demand. If not, the working mode is adjusted in time to ensure the normal operation of the system.

[0069] Optionally, the programmable logic device 24 is also used to: when it is detected that a new power supply unit is inserted into the power board, control the efuse circuit corresponding to the new power supply unit to turn on, wherein the efuse circuit is used to block the output power of other power supply units.

[0070] The efuse circuit is used to control the output of the PSU, and shield the output of each PSU through the efuse, merge the output of the PSU at the back end of the efuse, and the output of the PSU at the front end of the efuse is independent of each other. This ensures that when a new PSU is inserted, the output of other PSUs will not cause sparks to be charged to the capacitor of the newly inserted PSU.

[0071] Through this embodiment, when a new power supply unit is inserted, the efuse circuit prevents other PSUs from charging the capacitor of the newly inserted PSU, thereby avoiding electric sparks.

[0072] In an optional embodiment, the hot-swap button of the PSU can also be integrated on the BMC web interface, that is, a hot-swap button is added on the control page of the PSU. When the corresponding PSU needs to be hot-swapped, the PSUnumber corresponding to the motor will randomly pop up a confirmation message on the page to confirm whether to hot-swap the PSU. After clicking confirm again, the BMC sends a HOTPLUG_SW signal to the CPLD. Then the above-mentioned PSU hot-swap process is executed. The BMC can send instructions to the CPLD through actual GPIO signals, or it can be sent in the form of 12C MAPPING in the form of register command format. The hot-swap process includes but is not limited to shutting down the PSU output, displaying the power exhaustion status, and safely removing the PSU through the pop-up mechanism.

[0073] Through this embodiment, the present application is not limited to the hot-swap control of physical buttons, but also extends to the realization of virtual button control and automatic pop-up mechanism, further improving the safety, convenience and intelligence level of hot-swap operation.

[0074] Through the above embodiments, the problem of electric sparks generated during the PSU plug-in and unplugging process, especially the plug-in and unplugging of the 54VPSU, is eliminated, and the PSU is managed intelligently, and a hot plug button pre-alarm is added to the PSU. By adding an efuse circuit to the back end of the PSU, after pressing the plug-in and unplug button, the corresponding efuse is turned off through CPLD control, so that the PSU is unloaded and the PSU output is cut off. An LED is added to display the power exhaustion status simultaneously, and the PSU is safely plugged in and out when the indicator light goes out. And the added efuse circuit ensures that during the insertion of the new PSU, other PSUs will not charge the capacitor of the new PSU. In this way, the problem of sparks during the PSU plug-in and unplugging process is avoided.

[0075] In an optional embodiment, the following combination Figure 5 The structure of the hot-swap control system of the power supply unit is further described. The hot-swap control system of the power supply unit is integrated into Figure 5 The hot-swap control logic circuit shown in the figure includes the following core components:

[0076] 1. Hot-swap button (i.e. the hot-swap signal trigger mentioned above), which can be integrated on the PSU or the server chassis. By long pressing the hot-swap button, the hot-swap signal HOTPLUG_SW_N is released. After the MOS level is inverted, the corresponding HOTPLUG_SW signal is sent to the CPLD to inform the system that the PSU is ready to be hot-swapped.

[0077] 2. The power indicator light (i.e. the indicator light component mentioned above) is integrated on the PSU and can visually display the current discharge status of the PSU. A discharge circuit is added simultaneously. When the PSON_N signal of the corresponding PSU is released, the discharge circuit is enabled to accelerate the discharge of the PSU.

[0078] 3. CPLD (i.e. the above-mentioned programmable logic device), which can be integrated in the power board or in the upper control board, depending on the specific design. If it is directly on the PDB board, the hot-swap indication signal HOTPLUG_SW_N is directly sent to the PDB board CPLD after being flipped by MOS. If it is integrated in the upper control board, the hot-swap indication signal is sent to the CPLD of the upper control board through the sideband connector. It is used to receive the hot-swap action signal HOTPLUG_SW, and perform debouncing judgment based on the signal, and perform power-off processing on the corresponding PSU after eliminating false touches;

[0079] 4. CPLD needs to judge the HOTPLUG_SW signal. If it is less than 2s, it is considered as a false touch and the operation is ignored.

[0080] 5. After receiving the valid HOTPLUG_SW signal, turn off the efuse circuit of the corresponding PSU by pulling down EFUSE_EN, and simultaneously release the PSON_N signal of the corresponding PSU to shut down the PSU and stop output;

[0081] 6. The efuse circuit is used to control the output of the PSU and make the output of each PSU independent of each other through efuse. This ensures that when a new PSU is inserted, the output of other PSUs will not cause sparks to be charged to the capacitor of the newly inserted PSU.

[0082] The hot-swap control logic circuit includes an efuse circuit, a newly added hot-swap button, and a PSU power indicator. The hot-swap button is used to be pressed before the hot-swap action to prompt the system to pull out the PSU; after receiving the button indication signal, the CPLD turns off the efuse enable signal corresponding to the PSU and releases the PSON_N signal corresponding to the PSU to stop the PSU output; after the PSU stops working, it starts to discharge, and when it discharges to a safe range, the corresponding power indicator goes out, and the PSU unit can be safely pulled out; when the new PSU is reinserted, the CPLD detects the corresponding PSU in place signal, performs a 100ms delay filter module, pulls up the efuse enable circuit and pulls down the PSON_N signal of the corresponding PSU to enable the PSU to work normally.

[0083] Based on the above hot-swap control logic circuit, the embodiment of the present application provides an optional PSU hot-swap flow chart, such as Figure 6 As shown, the process includes the following steps:

[0084] Step S601, press the hot swap button;

[0085] Step S602, determine whether it is an accidental touch, if it is an accidental touch, execute step S603; if not, execute step S604;

[0086] Step S603: Ignore;

[0087] Step S604: The CPLD turns off the control circuit of the corresponding PSU;

[0088] Step S605, waiting for the PSU power indicator light to turn off;

[0089] Step S606, unplug the PSU;

[0090] Step S607, insert a new PSU;

[0091] Step S608: The CPLD turns on the efuse control circuit of the corresponding PSU.

[0092] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0093] In this embodiment, a hot-swap control method for a power supply unit is also provided, which is applied to the hot-swap control system of the power supply unit. Figure 7 is a flow chart of a hot-swap control method for a power supply unit according to an embodiment of the present application. Figure 7 As shown, the method comprises the following steps:

[0094] Step S702: triggering the hot-plug pre-alarm signal when it is determined that the power supply unit is to be unplugged;

[0095] Step S704: when receiving the hot-plug pre-warning signal, controlling the efuse circuit to be turned off, and controlling the power supply unit to stop outputting electric energy;

[0096] Step S706: Detect the remaining power of the power supply unit, and turn off the indicator light component when the remaining power is lower than a preset threshold to indicate that the power supply unit can be unplugged.

[0097] By the above method, when it is determined that the power supply unit needs to be unplugged, a hot-plug pre-alarm signal is triggered. If the hot-plug pre-alarm signal is detected, the efuse circuit is controlled to be turned off, and the power supply unit is controlled to stop outputting electric energy, and the electric energy in the power supply unit is started to be released. At the same time, the remaining electric energy of the power supply unit is detected, and after determining that the remaining electric energy is lower than the preset threshold, the indicator light component is turned off, thereby indicating that the power supply unit can be unplugged; by adopting the above scheme, a hot-plug button pre-alarm is added to the PSU (power supply unit), and an efuse circuit is added to the rear end of the PSU. After pressing the plug-in button, the corresponding efuse circuit is turned off through CPLD control to make the PSU unloaded and cut off the PSU output, and an LED light is added simultaneously to display the power exhaustion status. When the indicator light is off, the PSU is safely plugged in and out; thereby solving the problem in the related art that when the high-voltage PSU is hot-plugged, the residual power that has not been fully released by the PSU and the moment when other PSUs charge the newly inserted PSU capacitor often inevitably cause electric sparks caused by electric arcs, thereby causing damage to other circuit components on the power board.

[0098] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0099] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0100] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0101] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0102] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0103] An embodiment of the present application further provides a computer program product, comprising a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program product, and when the computer program is executed by a processor, the steps of the method described in each embodiment of the present application are implemented.

[0104] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0105] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0106] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A hot-swap control system for a power supply unit, characterized in that: include: A hot-plug signal trigger, used to trigger a hot-plug pre-warning signal, wherein the hot-plug pre-warning signal is used to indicate that a power supply unit connected to the hot-plug signal trigger is to be unplugged; A programmable logic device is connected to the hot-plug signal trigger and is used to control the efuse circuit to shut down and control the power supply unit to stop outputting electric energy when the hot-plug pre-warning signal is received, wherein the efuse circuit is connected to the power supply unit and is used to control the on / off of the input / output power path of the power supply unit; an indicator light component is connected to the power supply unit and is used to detect the remaining electric energy of the power supply unit, and turn off the indicator light component when the remaining electric energy is lower than a preset threshold value to indicate that the power supply unit can be unplugged.

2. The system according to claim 1, characterized in that The programmable logic device is further used for: When receiving the hot-plug pre-warning signal, de-jitter the hot-plug pre-warning signal to obtain a processed hot-plug pre-warning signal; Determining the duration of the processed hot-plug pre-warning signal; When it is determined that the duration is greater than a preset time threshold, the efuse circuit is controlled to be turned off, and the power supply unit is controlled to stop outputting electrical energy.

3. The system according to claim 2, characterized in that The programmable logic device is further used for: When it is determined that the duration is less than the preset time threshold, the hot plug pre-warning signal is determined to be a false trigger signal, and it is prohibited to control the efuse circuit to shut down, and it is prohibited to control the power supply unit to stop outputting power.

4. The system according to claim 2, characterized in that The system further comprises: a discharge circuit connected to the power supply unit, The programmable logic device is further configured to enable the discharge circuit when it is determined that the duration is greater than the preset time threshold, so as to release the remaining electric energy of the power supply unit through the discharge circuit.

5. The system according to claim 1, characterized in that The system further comprises: The pop-up mechanism is arranged on the power board and is movably connected to the power supply unit. The power supply unit is movably connected to the power board. The pop-up mechanism is used to: In the case of detecting a light-off control signal of the indicator light assembly and the hot-swap pre-warning signal, starting the ejection mechanism, wherein the light-off control signal is used to indicate that the indicator light assembly has been turned off; Determine the weight information of the power supply unit, and determine the hot plug stroke of the power supply unit, wherein the hot plug stroke is used to indicate the displacement distance of the power supply unit during the unplugging process; Determining the elastic coefficient of the elastic structural member of the ejection mechanism; enabling the ejection mechanism according to the weight information, the hot-swap stroke and the elastic coefficient, so as to eject the power supply unit from the power board through the elastic structural member; When it is determined that the power supply unit has been ejected, close the microswitch and send a confirmation signal to the programmable logic device, wherein the microswitch is arranged at the end of the elastic structure, and the microswitch is used to trigger the confirmation signal, and the confirmation signal is used to indicate to the programmable logic device that the power supply unit has been disconnected from the power board.

6. The system according to claim 5, characterized in that The programmable logic device is further used for: In case of receiving the confirmation signal, performing a status detection on the power board to obtain a status detection result, wherein the status detection result is used to indicate the number of power supply units connected to the power board at the current moment; When the status detection result indicates that the quantity is less than the preset quantity requirement, the power board is controlled to switch to a low power consumption mode for operation.

7. The system according to claim 5, characterized in that The programmable logic device is further used for: When it is detected that a new power supply unit is inserted into the power board, the efuse circuit corresponding to the new power supply unit is controlled to be turned on, wherein the efuse circuit is used to block the output power of other power supply units.

8. A hot-swap control method for a power supply unit, characterized in that: A hot-swap control system according to any one of claims 1 to 7, include: When it is determined that the power supply unit is to be unplugged, triggering the hot plug pre-alarm signal; When receiving the hot-plug pre-warning signal, controlling the efu se circuit to shut down, and controlling the power supply unit to stop outputting electric energy; The remaining power of the power supply unit is detected, and when the remaining power is lower than a preset threshold, the indicator light component is turned off to indicate that the power supply unit can be unplugged.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in claim 8 when executed by a processor.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to claim 8 are implemented.

Citation Information

Patent Citations

  • Power supply system and control method thereof

    CN103944420A

  • Hard disk hot plug test method and system and server

    CN115543708A

  • Power supply control system and method for preventing server from being powered off and shut down

    CN115904050A

  • Safe hot plug power control structure

    CN206236007U

  • Hot swappable power supply device and method of operation

    US20060061976A1

Cited By

  • Lamp system

    CN122458268A