Power supply detection method, device, computer equipment and storage medium

Through the combination of complex programmable logic devices and voltage level conversion devices, the status of power-level circuits in multi-phase power supply is automatically judged and recorded, which solves the problem of low detection efficiency in the prior art and improves the reliability and power level of the system Lifespan of the circuit.

CN116879789BActive Publication Date: 2024-11-15SUMA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310705946.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-14
Publication Date
2024-11-15
Estimated Expiration
2043-06-14

AI Technical Summary

Technical Problem

The power-level circuit detection efficiency of multiphase power supply in existing servers is low, making it difficult to quickly identify and process abnormal circuits, which in turn affects the reliability and life of the overall system.

Method used

Using complex programmable logic devices and voltage level conversion devices, the rectangular wave high voltage is processed by step-down, and the working status of the power level circuit is automatically judged, and abnormal information is recorded when the preset conditions are not met, which improves detection efficiency and passes the step-down. Or down-frequency processing relieves pressure on other power stage circuits.

Benefits of technology

It realizes automatic state judgment and abnormal detection of power-level circuits in multi-phase power supplies, improves detection efficiency, extends the life of power-level circuits, and reduces the probability of failures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116879789B_ABST
    Figure CN116879789B_ABST
Patent Text Reader

Abstract

The present application relates to a power supply detection method, device, computer equipment, storage medium and computer program product. The method comprises: obtaining multiple rectangular wave low voltages output by each voltage level conversion device; multiple rectangular wave low voltages are obtained by each voltage level conversion device stepping down multiple rectangular wave high voltages output by each power stage circuit in a multi-phase power supply; based on a preset detection cycle, judging whether each of the multiple rectangular wave low voltages meets a preset output condition; in the case where there is a target rectangular wave low voltage that does not meet the output condition, recording abnormal circuit detection information of the power stage circuit corresponding to the target rectangular wave low voltage. The use of this method can improve the efficiency of detecting multi-phase power supplies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of server technology, and in particular to a power supply detection method, device, computer equipment, storage medium and computer program product. Background Art

[0002] Nowadays, more and more servers use multi-phase power supplies to power the CPU (central processing unit). When there is a welding abnormality between any power stage (power stage circuit) and PCB (printed circuit board) in the multi-phase power supply, this power stage cannot work normally, resulting in increased current pressure on other power stages, thereby shortening the life of other power stages. Therefore, it is necessary to detect each power stage in the multi-phase power supply.

[0003] At present, the power supply detection method usually adopts a manual method, based on the oscilloscope probe to measure the output end of each PowerStage Switch, and judges whether the power stage is working normally according to whether the oscilloscope displays a rectangular wave voltage.

[0004] However, a server contains multiple sets of multi-phase power supplies, and each set of multi-phase power supplies contains multiple PowerStages. It is inefficient to manually measure each Power Stage in the server using an oscilloscope probe. Summary of the invention

[0005] Based on this, it is necessary to provide a power supply detection method, device, computer equipment, computer readable storage medium and computer program product to address the above technical problems.

[0006] In a first aspect, the present application provides a power supply detection method. The power supply detection method is applied to a complex programmable logic device in a server, and the method comprises:

[0007] Acquire a plurality of rectangular wave low voltages output by each voltage level conversion device; the plurality of rectangular wave low voltages are obtained by each of the voltage level conversion devices performing voltage reduction processing on a plurality of rectangular wave high voltages output by each power stage circuit in the multi-phase power supply;

[0008] Based on a preset detection period, determining whether each of the plurality of rectangular wave low voltages satisfies a preset output condition;

[0009] In the case where the target rectangular wave low voltage does not satisfy the output condition, abnormal circuit detection information of the power stage circuit corresponding to the target rectangular wave low voltage is recorded.

[0010] By adopting this method, the rectangular wave high voltage output by the power stage circuit corresponding to the voltage level conversion device is stepped down by each voltage level conversion device to obtain a rectangular wave low voltage, and according to a preset detection period, it is judged whether the rectangular wave low voltage meets the preset output condition, thereby realizing the automatic judgment of the working state of the power stage circuit in the multi-phase power supply. In the case that the rectangular wave low voltage does not meet the output condition, the abnormal circuit detection information is recorded to facilitate the subsequent determination of the damaged power stage circuit, thereby improving the efficiency of detecting the multi-phase power supply.

[0011] In one embodiment, before obtaining the plurality of rectangular wave low voltages output by each of the voltage level conversion devices, the method further includes:

[0012] Sending a first enabling signal to a controller to start the controller;

[0013] The controller sends a pulse width modulation signal to each power stage circuit to control each power stage circuit to output a plurality of rectangular wave high voltages; the rectangular wave high voltages are used to trigger a voltage level conversion device to generate a rectangular wave low voltage;

[0014] A high level signal sent by the controller is received, and each of the power stage circuits is determined to be started.

[0015] In this embodiment, by sending the first enable signal to the controller, the controller can control each power stage circuit to output multiple rectangular wave high voltages, which is convenient for subsequent determination of whether the power stage circuit is working normally based on the rectangular wave high voltage.

[0016] In one embodiment, the determining whether each of the plurality of rectangular wave low voltages satisfies a preset output condition based on a preset detection period includes:

[0017] For each of the plurality of rectangular wave low voltages, it is determined whether the rectangular wave low voltage has a signal rising edge according to a preset detection period.

[0018] In this embodiment, according to the preset detection period, it is determined whether the rectangular wave low voltage meets the preset output condition, thereby realizing the automatic determination of the working status of multiple power stage circuits in the multi-phase power supply and improving the efficiency of detecting the multi-phase power supply.

[0019] In one embodiment, after determining whether each of the plurality of rectangular wave low voltages satisfies a preset output condition based on a preset detection period, the method further includes:

[0020] When the rectangular wave low voltage satisfies the output condition, it is confirmed that the power stage circuit corresponding to the rectangular wave low voltage operates normally.

[0021] In this embodiment, if a rising edge of the rectangular wave low voltage signal occurs, it is confirmed that the power stage circuit corresponding to the rectangular wave low voltage operates normally, and the detection of the working state of the power stage circuit is completed.

[0022] In one of the embodiments, when the target rectangular wave low voltage does not meet the output condition, after recording the abnormal circuit detection information of the power stage circuit corresponding to the target rectangular wave low voltage, the method further includes:

[0023] A voltage reduction and frequency reduction signal is sent to the central processing unit to instruct the central processing unit to reduce the voltage or frequency of each power stage circuit.

[0024] In this embodiment, by sending a voltage reduction and frequency reduction signal to the central processor, the central processor is instructed to reduce the voltage or frequency of each power stage circuit, thereby reducing the working pressure of other power stage circuits in normal operation and reducing the probability of device damage.

[0025] In one embodiment, a server is provided, the server comprising: a complex programmable logic device, a plurality of multi-phase power supplies, each of the multi-phase power supplies comprising a plurality of power stage circuits, and a plurality of voltage level conversion devices corresponding to the plurality of power stage circuits;

[0026] The power stage circuit is electrically connected to the corresponding voltage level conversion device and is used to output a rectangular wave high voltage to the voltage level conversion device;

[0027] The voltage level conversion device is electrically connected to the complex programmable logic device and is used to step down the rectangular wave high voltage output by the power stage circuit to obtain a rectangular wave low voltage;

[0028] The complex programmable logic device is used to obtain multiple rectangular wave low voltages output by each voltage level conversion device; the multiple rectangular wave low voltages are obtained by each voltage level conversion device stepping down multiple rectangular wave high voltages output by each power stage circuit in the multi-phase power supply; based on a preset detection period, it is judged whether each of the multiple rectangular wave low voltages meets a preset output condition; in the event that a target rectangular wave low voltage does not meet the output condition, the abnormal circuit detection information of the power stage circuit corresponding to the target rectangular wave low voltage is recorded.

[0029] In this embodiment, the rectangular wave high voltage output by the corresponding power stage circuit is stepped down by each voltage level conversion device to obtain a rectangular wave low voltage, and according to the preset detection period, it is determined whether the rectangular wave low voltage meets the preset output condition, thereby realizing the automatic judgment of the working state of the power stage circuit in the multi-phase power supply and improving the efficiency of detecting the multi-phase power supply.

[0030] In one embodiment, the multi-phase power supply in the server further includes:

[0031] The controller is electrically connected to each of the power stage circuits and is used to send a pulse width modulation signal to the multiple power stage circuits to control the multiple power stage circuits to output multiple rectangular wave high voltages to the voltage level conversion device.

[0032] In this embodiment, the controller is electrically connected to a plurality of power stage circuits and is used to control the operation of each power stage circuit, thereby realizing the start-up and shutdown of each power stage circuit.

[0033] In one embodiment, the server further includes:

[0034] A baseboard controller is used to read the abnormal circuit detection information and action information in the complex programmable logic device; construct fault alarm information based on the abnormal circuit detection information and the action information, and report the fault alarm information.

[0035] In this embodiment, based on the abnormal circuit detection information and the action information, fault alarm information is constructed and reported, so as to facilitate locating the fault location.

[0036] In a second aspect, the present application also provides a power supply detection device. The device comprises:

[0037] An acquisition module, used for acquiring a plurality of rectangular wave low voltages output by each voltage level conversion device; the plurality of rectangular wave low voltages are obtained by each voltage level conversion device performing voltage reduction processing on a plurality of rectangular wave high voltages output by each power stage circuit in a multi-phase power supply;

[0038] A judgment module, used for judging whether each of the plurality of rectangular wave low voltages satisfies a preset output condition based on a preset detection period;

[0039] The recording module is used to record abnormal circuit detection information of the power stage circuit corresponding to the target rectangular wave low voltage when the target rectangular wave low voltage does not meet the output condition.

[0040] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0041] Acquire a plurality of rectangular wave low voltages output by each voltage level conversion device; the plurality of rectangular wave low voltages are obtained by each of the voltage level conversion devices performing voltage reduction processing on a plurality of rectangular wave high voltages output by each power stage circuit in a multi-phase power supply;

[0042] Based on a preset detection period, determining whether each of the plurality of rectangular wave low voltages satisfies a preset output condition;

[0043] In the case where the target rectangular wave low voltage does not satisfy the output condition, abnormal circuit detection information of the power stage circuit corresponding to the target rectangular wave low voltage is recorded.

[0044] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0045] Acquire a plurality of rectangular wave low voltages output by each voltage level conversion device; the plurality of rectangular wave low voltages are obtained by each of the voltage level conversion devices performing voltage reduction processing on a plurality of rectangular wave high voltages output by each power stage circuit in a multi-phase power supply;

[0046] Based on a preset detection period, determining whether each of the plurality of rectangular wave low voltages satisfies a preset output condition;

[0047] In the case where the target rectangular wave low voltage does not satisfy the output condition, abnormal circuit detection information of the power stage circuit corresponding to the target rectangular wave low voltage is recorded.

[0048] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0049] Acquire a plurality of rectangular wave low voltages output by each voltage level conversion device; the plurality of rectangular wave low voltages are obtained by each of the voltage level conversion devices performing voltage reduction processing on a plurality of rectangular wave high voltages output by each power stage circuit in a multi-phase power supply;

[0050] Based on a preset detection period, determining whether each of the plurality of rectangular wave low voltages satisfies a preset output condition;

[0051] In the case where the target rectangular wave low voltage does not satisfy the output condition, abnormal circuit detection information of the power stage circuit corresponding to the target rectangular wave low voltage is recorded.

[0052] The power supply detection method, device, computer equipment, storage medium and computer program product obtain multiple rectangular wave low voltages output by each voltage level conversion device; the multiple rectangular wave low voltages are obtained by each voltage level conversion device stepping down multiple rectangular wave high voltages output by each power stage circuit in the multi-phase power supply; based on a preset detection cycle, it is judged whether each of the multiple rectangular wave low voltages meets the preset output condition; in the case where there is a target rectangular wave low voltage that does not meet the output condition, the abnormal circuit detection information of the power stage circuit corresponding to the target rectangular wave low voltage is recorded. With this method, the rectangular wave high voltage output by the power stage circuit corresponding to the voltage level conversion device is stepped down by each voltage level conversion device to obtain a rectangular wave low voltage, and according to the preset detection cycle, it is judged whether the rectangular wave low voltage meets the preset output condition, thereby realizing the automatic judgment of the working state of the power stage circuit in the multi-phase power supply. In the case where the rectangular wave low voltage does not meet the output condition, the abnormal circuit detection information is recorded, which is convenient for the subsequent determination of the damaged power stage circuit, and improves the efficiency of detecting the multi-phase power supply. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 An application environment diagram of a power supply detection method in an embodiment;

[0054] Figure 2 is a flow chart of a power supply detection method in one embodiment;

[0055] Figure 3 A schematic diagram of a flow chart of steps for starting a power stage circuit in one embodiment;

[0056] Figure 4 A schematic diagram of a flow chart of a step of detecting a rectangular wave low voltage in an embodiment;

[0057] Figure 5 is a structural diagram of a voltage level conversion device in one embodiment;

[0058] Figure 6 is a structural block diagram of a power supply detection device in one embodiment;

[0059] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0061] The power detection method provided in the embodiment of the present application can be applied to Figure 1 The server 100 shown in FIG. 1 includes multiple multi-phase power supplies, a complex programmable logic device (CPLD) 140 and a baseboard management controller (BMC) 150. Each multi-phase power supply includes a controller 110, multiple power stage circuits 120, and multiple voltage level shift devices 130 corresponding to the multiple power stage circuits 120. The controller 110 is electrically connected to the multiple power stage circuits 120. Each power stage circuit 120 in the multiple power stage circuits 120 is electrically connected to a corresponding voltage level shift device 130 in the multiple voltage level shift devices 130. The multiple voltage level shift devices 130 are electrically connected to the complex programmable logic device 140. The controller 110 and the complex programmable logic device 140 are interconnected through Enable & PowerGood signals. The complex programmable logic device 140 and the baseboard controller 150 are connected in communication through I2C_BUS (integrated circuit interconnect bus).

[0062] In one embodiment, Figure 2 As shown, a power supply detection method is provided, and the power supply detection method is applied to Figure 1 Taking the complex programmable logic device 140 (hereinafter referred to as complex programmable logic device) in the example as an example, the method includes the following steps:

[0063] Step 202: Acquire a plurality of rectangular wave low voltages output by each voltage level conversion device.

[0064] The plurality of rectangular wave low voltages are obtained by reducing the voltage of the plurality of rectangular wave high voltages output by the power stage circuits in the multi-phase power supply through the voltage level conversion devices.

[0065] In implementation, before the complex programmable logic device obtains the rectangular wave low voltage, the complex programmable logic device sends a first enable signal to the controller, instructing the controller to control each power stage circuit to output a plurality of rectangular wave high voltages. After passing through each voltage level conversion device, the plurality of rectangular wave voltages are converted into a plurality of rectangular wave low voltages. Then, the complex programmable logic device obtains the plurality of rectangular wave low voltages output by each voltage level conversion device.

[0066] Step 204 , based on a preset detection period, determining whether each of the plurality of rectangular wave low voltages satisfies a preset output condition.

[0067] The output condition is that there is a rising edge of the signal in the rectangular wave low voltage.

[0068] In implementation, a detection cycle and a system clock are pre-set in the complex programmable logic device. The system clock in the complex programmable logic device starts timing. Within the preset detection cycle, the complex programmable logic device determines whether there is a signal rising edge for each of the plurality of rectangular wave low voltages.

[0069] Step 206 : When the target rectangular wave low voltage does not satisfy the output condition, abnormal circuit detection information of the power stage circuit corresponding to the target rectangular wave low voltage is recorded.

[0070] The complex programmable logic device includes a register. The abnormal circuit detection information includes the fault occurrence time, fault occurrence location, and specific fault content in the abnormal circuit detection information. The fault occurrence location includes the number of the power stage circuit corresponding to the target rectangular wave low voltage and the name of the output power supply corresponding to the power stage circuit.

[0071] In implementation, within a preset detection period and when there is no rising edge of the rectangular wave low voltage, the complex programmable logic device confirms that the rectangular wave low voltage is the target rectangular wave low voltage. Then, the complex programmable logic device determines the power level circuit corresponding to the target rectangular wave low voltage. The complex programmable logic device obtains the label corresponding to the power level circuit corresponding to the target rectangular wave low voltage and the name of the output power supply corresponding to the power level circuit, and obtains the location where the fault occurs. At the same time, the complex programmable logic device obtains the time when the fault occurs, and determines the damage to the power level circuit corresponding to the target rectangular wave low voltage as the specific content of the fault. Then, the complex programmable logic device constructs abnormal circuit detection information based on the time when the fault occurs, the location where the fault occurs, and the specific content of the fault. The complex programmable logic device records the abnormal circuit detection information of the power level circuit corresponding to the target rectangular wave low voltage in the register.

[0072] In the above power supply detection method, each voltage level conversion device performs a step-down process on the rectangular wave high voltage output by the power stage circuit corresponding to the voltage level conversion device to obtain a rectangular wave low voltage, and according to a preset detection period, it is judged whether the rectangular wave low voltage meets the preset output condition, thereby realizing the automatic judgment of the working state of the power stage circuit in the multi-phase power supply. In the case where the rectangular wave low voltage does not meet the output condition, the abnormal circuit detection information is recorded to facilitate the subsequent determination of the damaged power stage circuit, thereby improving the efficiency of detecting the multi-phase power supply.

[0073] In one embodiment, before obtaining multiple rectangular wave low voltages, each power stage circuit needs to be started first so that each power stage circuit outputs multiple rectangular wave high voltages. Figure 3As shown, before step 202 is executed, the specific processing process of the power detection method also includes:

[0074] Step 302: Send a first enable signal to the controller to start the controller.

[0075] In implementation, the controller and the complex programmable logic device are connected in communication via an enable signal and a power-good signal. The complex programmable logic device sends a first enable signal (Enable signal) to the controller to start the controller.

[0076] Step 304: Send a pulse width modulation signal to each power stage circuit through the controller to control each power stage circuit to output a plurality of rectangular wave high voltages.

[0077] The rectangular wave high voltage is used to trigger the voltage level conversion device to generate a rectangular wave low voltage.

[0078] In implementation, the controller is electrically connected to each power stage circuit. The complex programmable logic device sends a pulse width modulation (PWM) signal to each power stage circuit in each power stage circuit through the controller to control the power stage circuit to output a rectangular wave high voltage. The rectangular wave high voltage is a 12V (Ford) rectangular wave signal. SWA is used to represent the rectangular wave high voltage.

[0079] Step 306, receiving a high level signal sent by the controller, and determining that each power stage circuit is started.

[0080] In implementation, the controller sends a high level signal, namely, a Power Good signal, to the complex programmable logic device while outputting a pulse width modulation signal. The complex programmable logic device receives the Power Good signal sent by the controller and determines that each power stage circuit is started.

[0081] In this embodiment, by sending the first enable signal to the controller, the controller can control each power stage circuit to output multiple rectangular wave high voltages, which is convenient for subsequent determination of whether the power stage circuit is working normally based on the rectangular wave high voltage.

[0082] In one embodiment, the specific processing of step 204 includes:

[0083] For each of the plurality of rectangular wave low voltages, it is determined whether the rectangular wave low voltage has a signal rising edge according to a preset detection period.

[0084] Among them, the rising edge of the signal is the moment when the digital level changes from a low level (digital "0") to a high level (digital "1").

[0085] In implementation, a detection cycle and a system clock are pre-set in the complex programmable logic device. The system clock preset in the complex programmable logic device starts timing. Within the preset detection cycle, the complex programmable logic device determines whether there is a signal rising edge of the rectangular wave low voltage for each of the plurality of rectangular wave low voltages.

[0086] In an optional embodiment, the detection period preset in the complex programmable logic device is 1 ms (millisecond). Figure 4 As shown, the complex programmable logic device receives N rectangular wave low voltages, and the rectangular wave low voltage is represented as SWiB. After the complex programmable logic device receives a high level signal (PG signal) with a state of 1, the system clock in the complex programmable logic device starts timing. Within 1ms, the complex programmable logic device determines whether the first rectangular wave low voltage among the N received rectangular wave low voltages has a rising edge. Among them, the first rectangular wave low voltage is a rectangular wave low voltage with i being 1. If the first rectangular wave low voltage does not have a signal rising edge, the complex programmable logic device determines whether the next rectangular wave low voltage of the first rectangular wave low voltage has a signal rising edge, until the complex programmable logic device completes the judgment of N rectangular wave low voltages.

[0087] Optionally, the preset detection period is 1 ms, and the detection period is determined according to the detection requirement. The embodiment of the present application does not limit the detection period.

[0088] In this embodiment, according to the preset detection period, it is determined whether the rectangular wave low voltage meets the preset output condition, thereby realizing the automatic determination of the working status of multiple power stage circuits in the multi-phase power supply and improving the efficiency of detecting the multi-phase power supply.

[0089] In one embodiment, when the rectangular wave low voltage meets the preset output condition, it is confirmed that the power stage circuit corresponding to the rectangular wave low voltage works normally. After step 204 is executed, the specific processing process of the power supply detection method also includes:

[0090] When the rectangular wave low voltage meets the output condition, it is confirmed that the power stage circuit corresponding to the rectangular wave low voltage works normally.

[0091] In implementation, if the rectangular wave low voltage has a rising edge within the preset detection time, the complex programmable logic device determines that the rectangular wave low voltage meets the preset output condition. Then, the complex programmable logic device determines that the power stage circuit corresponding to the rectangular wave low voltage is working normally.

[0092] In this embodiment, if a rising edge of the rectangular wave low voltage signal occurs, it is confirmed that the power stage circuit corresponding to the rectangular wave low voltage operates normally, and the detection of the working state of the power stage circuit is completed.

[0093] In one embodiment, after recording the abnormal circuit detection information, it is necessary to send a voltage reduction and frequency reduction signal to the central processing unit. After step 206 is executed, the specific processing process of the power supply detection method also includes:

[0094] Send a voltage reduction or frequency reduction signal to the central processing unit to instruct the central processing unit to reduce the voltage or frequency of each power stage circuit.

[0095] In implementation, after recording the abnormal circuit information, the complex programmable logic device sends a voltage reduction and frequency reduction signal to the central processing unit (CPU). After receiving the voltage reduction and frequency reduction signal, the CPU sends a voltage reduction and frequency reduction instruction to the controller. The controller reduces the voltage or frequency of each power stage circuit through a pulse width modulation signal.

[0096] In an optional embodiment, the complex programmable logic device sends a voltage reduction and frequency reduction signal to a GPU (graphics processing unit). After receiving the voltage reduction and frequency reduction signal, the GPU sends a voltage reduction and frequency reduction instruction to the controller. The controller performs voltage reduction or frequency reduction processing on each power stage circuit through a pulse width modulation signal.

[0097] Optionally, the complex programmable logic device sends a voltage reduction and frequency reduction signal to a GPU, CPU or other power-consuming device. The embodiment of the present application does not limit the recipient of the voltage reduction and frequency reduction signal.

[0098] In this embodiment, by sending a voltage reduction and frequency reduction signal to the central processor, the central processor is instructed to reduce the voltage or frequency of each power stage circuit, thereby reducing the working pressure of other power stage circuits in normal operation and reducing the probability of device damage.

[0099] In one embodiment, Figure 1 As shown, a server 100 is provided. The server 100 includes a complex programmable logic device 140, a plurality of multi-phase power supplies, each of which includes a plurality of power stage circuits 120, and a plurality of voltage level conversion devices 130 corresponding to the plurality of power stage circuits 120.

[0100] The power stage circuit 120 is electrically connected to the corresponding voltage level conversion device 130 , and is configured to output a rectangular wave high voltage to the voltage level conversion device 130 .

[0101] In implementation, there are multiple power stage circuits 120 and a controller 110 in the multi-phase power supply 100. Each power stage circuit 120 in the multiple power stage circuits is electrically connected to a corresponding voltage level conversion device 130 in the multiple voltage level conversion devices 130. After receiving the pulse width modulation signal sent by the controller 110, the power stage circuit 120 outputs a rectangular wave high voltage SWA. The multiple power stage circuits 120 are connected in parallel through inductors, so that the multiple rectangular wave high voltages are combined to obtain an output voltage (Output Voltage, referred to as VOUT). Specifically, the front end of each inductor is connected to the SWA output by each power stage circuit, and the rear end of the inductor is connected in parallel to obtain the output voltage.

[0102] The voltage level conversion device 130 is electrically connected to the complex programmable logic device 140 and is used to step down the rectangular wave high voltage output by the power stage circuit 120 to obtain a rectangular wave low voltage.

[0103] In implementation, a plurality of voltage level conversion devices 130 are electrically connected to the complex programmable logic device 140. Each of the plurality of voltage level conversion devices 130 receives a rectangular wave high voltage output by the corresponding power stage circuit 120, and the rectangular wave high voltage is represented as SWA. Then, the voltage level conversion device 130 performs a voltage reduction process on the rectangular wave high voltage SWA to obtain a rectangular wave low voltage, and the rectangular wave low voltage is represented as SWB. For example, the voltage level conversion device 130 converts a 12V rectangular wave signal SWA outputted from the output end of the power stage circuit into a 3.3V rectangular wave signal SWB.

[0104] In an optional embodiment, the hardware structure diagram of the voltage level conversion device 130 is as follows: Figure 5 As shown, in Figure 5 There are two N-MOS (N-Metal-Oxide-Semiconductor) switches in the circuit. The 12V high level of the SW1A signal input, the 3.3V high level of the SW1B signal output after passing through the two N-MOS switches; the 0V low level of the SW1A signal input, the 0V low level of the SW1B signal output after passing through the two N-MOS switches.

[0105] The complex programmable logic device 140 is used to obtain multiple rectangular wave low voltages output by each voltage level conversion device 130; the multiple rectangular wave low voltages are obtained by each voltage level conversion device 130 stepping down multiple rectangular wave high voltages output by each power stage circuit 120 in a multi-phase power supply; based on a preset detection period, it is determined whether each of the multiple rectangular wave low voltages meets a preset output condition; in the event that the target rectangular wave low voltage does not meet the output condition, the abnormal circuit detection information of the power stage circuit corresponding to the target rectangular wave low voltage is recorded.

[0106] In practice, the specific processing process of the complex programmable logic device 140 has been specifically described in the various embodiments of the above-mentioned power supply detection method, and the embodiments of the present application will not be repeated here.

[0107] In this embodiment, the rectangular wave high voltage output by the corresponding power stage circuit is stepped down by each voltage level conversion device to obtain a rectangular wave low voltage, and according to the preset detection period, it is determined whether the rectangular wave low voltage meets the preset output condition, thereby realizing the automatic judgment of the working state of the power stage circuit in the multi-phase power supply and improving the efficiency of detecting the multi-phase power supply.

[0108] In one embodiment, the multi-phase power supply in the server 100 further includes:

[0109] The controller 110 is electrically connected to each power stage circuit 120 , and is used to send a pulse width modulation signal to the multiple power stage circuits 120 , and control the multiple power stage circuits 120 to output multiple rectangular wave high voltages to the voltage level conversion device 130 .

[0110] In implementation, the controller 110 is electrically connected to the plurality of power stage circuits 120. The controller 110 sends a pulse width modulation signal to the plurality of power stage circuits to control the plurality of power stage circuits 120 to output a plurality of rectangular wave high voltages to the voltage level conversion device 130. At the same time, the controller 110 sends a high level signal to the complex programmable logic device 140.

[0111] In this embodiment, the controller is electrically connected to a plurality of power stage circuits and is used to control the operation of each power stage circuit, thereby realizing the start-up and shutdown of each power stage circuit.

[0112] In one embodiment, the server 100 further includes:

[0113] The baseboard controller 150 is used to read the abnormal circuit detection information and action information in the complex programmable logic device 140; construct fault alarm information based on the abnormal circuit detection information and action information, and report the fault alarm information.

[0114] The action information in the complex programmable logic device 140 is that the complex programmable logic device sends a voltage reduction and frequency reduction signal to the central processing unit.

[0115] In implementation, the baseboard controller 150 reads the abnormal circuit detection information and action information in the complex programmable logic device 140 according to a preset reading cycle. Then, the baseboard controller 150 constructs fault alarm information based on the abnormal circuit detection information and action information. The baseboard controller 150 reports the fault alarm information to the server.

[0116] In this embodiment, based on the abnormal circuit detection information and the action information, fault alarm information is constructed and reported, so as to facilitate locating the fault location.

[0117] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0118] Based on the same inventive concept, the embodiment of the present application also provides a power detection device for implementing the power detection method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more power detection device embodiments provided below can refer to the limitations on the power detection method above, and will not be repeated here.

[0119] In one embodiment, Figure 6 As shown, a power supply detection device 600 is provided, comprising: an acquisition module 601, a judgment module 602 and a recording module 603, wherein:

[0120] The acquisition module 601 is used to acquire multiple rectangular wave low voltages output by each voltage level conversion device; the multiple rectangular wave low voltages are obtained by each voltage level conversion device stepping down multiple rectangular wave high voltages output by each power stage circuit in the multi-phase power supply.

[0121] The determination module 602 is used to determine whether each of the plurality of rectangular wave low voltages meets a preset output condition based on a preset detection period.

[0122] The recording module 603 is used to record abnormal circuit detection information of the power stage circuit corresponding to the target rectangular wave low voltage when the target rectangular wave low voltage does not meet the output condition.

[0123] In an exemplary embodiment, before the acquisition module 601 is executed, the power supply detection device 600 further includes:

[0124] The first sending submodule is used to send a first enabling signal to the controller to start the controller.

[0125] The second sending submodule is used to send a pulse width modulation signal to each power stage circuit through the controller to control each power stage circuit to output a plurality of rectangular wave high voltages; the rectangular wave high voltage is used to trigger the voltage level conversion device to generate a rectangular wave low voltage.

[0126] The first receiving submodule is used to receive the high level signal sent by the controller and determine that each power stage circuit is started.

[0127] In an exemplary embodiment, the determination module 602 includes:

[0128] The judging submodule is used to judge whether there is a signal rising edge of each rectangular wave low voltage among the plurality of rectangular wave low voltages according to a preset detection period.

[0129] In an exemplary embodiment, after the determination module 602 is executed, the power supply detection device 600 further includes:

[0130] The confirmation submodule is used to confirm that the power stage circuit corresponding to the rectangular wave low voltage is working normally when the rectangular wave low voltage meets the output condition.

[0131] In an exemplary embodiment, after the recording module 603 is executed, the power detection device 600 further includes:

[0132] The third sending submodule is used to send a voltage reduction and frequency reduction signal to the central processing unit, instructing the central processing unit to perform voltage reduction or frequency reduction processing on each power stage circuit.

[0133] In an exemplary embodiment, a server is provided. The server includes: a complex programmable logic device, a plurality of multi-phase power supplies, each of the multi-phase power supplies includes a plurality of power stage circuits, and a plurality of voltage level conversion devices corresponding to the plurality of power stage circuits.

[0134] The power stage circuit is electrically connected to the corresponding voltage level conversion device and is used for outputting a rectangular wave high voltage to the voltage level conversion device.

[0135] The voltage level conversion device is electrically connected to the complex programmable logic device and is used to step down the rectangular wave high voltage output by the power stage circuit to obtain a rectangular wave low voltage.

[0136] A complex programmable logic device is used to obtain multiple rectangular wave low voltages output by each voltage level conversion device; the multiple rectangular wave low voltages are obtained by each voltage level conversion device stepping down multiple rectangular wave high voltages output by each power stage circuit in a multi-phase power supply; based on a preset detection cycle, it is judged whether each of the multiple rectangular wave low voltages meets a preset output condition; in the case where a target rectangular wave low voltage does not meet the output condition, abnormal circuit detection information of the power stage circuit corresponding to the target rectangular wave low voltage is recorded.

[0137] In an exemplary embodiment, the multi-phase power supply in the server further includes:

[0138] The controller is electrically connected to each power stage circuit and is used to send a pulse width modulation signal to the multiple power stage circuits to control the multiple power stage circuits to output multiple rectangular wave high voltages to the voltage level conversion device.

[0139] In an exemplary embodiment, the server further includes:

[0140] The baseboard controller is used to read abnormal circuit detection information and action information in the complex programmable logic device; construct fault alarm information based on the abnormal circuit detection information and action information, and report the fault alarm information.

[0141] Each module in the above power detection device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.

[0142] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store abnormal circuit detection data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a power supply detection method is implemented.

[0143] Those skilled in the art will understand that Figure 7The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0144] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0145] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0146] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0147] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0148] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0149] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A power supply detection method, It is characterized in that The power supply detection method is applied to a complex programmable logic device in a server, and the method comprises: Acquire a plurality of rectangular wave low voltages output by each voltage level conversion device; the plurality of rectangular wave low voltages are obtained by each of the voltage level conversion devices performing voltage reduction processing on a plurality of rectangular wave high voltages output by each power stage circuit in a multi-phase power supply; Based on a preset detection period, determining whether each of the plurality of rectangular wave low voltages satisfies a preset output condition; In the case where the target rectangular wave low voltage does not satisfy the output condition, recording abnormal circuit detection information of the power stage circuit corresponding to the target rectangular wave low voltage; The determining, based on a preset detection period, whether each of the plurality of rectangular wave low voltages satisfies a preset output condition comprises: For each of the plurality of rectangular wave low voltages, it is determined whether the rectangular wave low voltage has a signal rising edge according to a preset detection period.

2. The method according to claim 1, It is characterized in that Before obtaining the plurality of rectangular wave low voltages output by each voltage level conversion device, the method further includes: Sending a first enabling signal to a controller to start the controller; The controller sends a pulse width modulation signal to each power stage circuit to control each power stage circuit to output a plurality of rectangular wave high voltages; the rectangular wave high voltages are used to trigger a voltage level conversion device to generate a rectangular wave low voltage; A high level signal sent by the controller is received, and each of the power stage circuits is determined to be started.

3. The method according to claim 1, It is characterized in that After determining whether each of the plurality of rectangular wave low voltages meets a preset output condition based on a preset detection period, the method further includes: When the rectangular wave low voltage satisfies the output condition, it is confirmed that the power stage circuit corresponding to the rectangular wave low voltage operates normally.

4. The method according to claim 1, It is characterized in that In the case where the target rectangular wave low voltage does not meet the output condition, after recording the abnormal circuit detection information of the power stage circuit corresponding to the target rectangular wave low voltage, the method further includes: A voltage reduction and frequency reduction signal is sent to the central processing unit to instruct the central processing unit to reduce the voltage or frequency of each power stage circuit.

5. A server, It is characterized in that The server comprises: a complex programmable logic device, a plurality of multi-phase power supplies, each of the multi-phase power supplies comprising a plurality of power stage circuits, and a plurality of voltage level conversion devices corresponding to the plurality of power stage circuits; The power stage circuit is electrically connected to the corresponding voltage level conversion device and is used to output a rectangular wave high voltage to the voltage level conversion device; The voltage level conversion device is electrically connected to the complex programmable logic device and is used to step down the rectangular wave high voltage output by the power stage circuit to obtain a rectangular wave low voltage; The complex programmable logic device is used to obtain a plurality of rectangular wave low voltages output by each voltage level conversion device; the plurality of rectangular wave low voltages are obtained by each voltage level conversion device performing voltage reduction processing on a plurality of rectangular wave high voltages output by each power stage circuit in the multi-phase power supply; based on a preset detection period, determining whether each of the plurality of rectangular wave low voltages meets a preset output condition; and in the case where there is a target rectangular wave low voltage that does not meet the output condition, recording abnormal circuit detection information of the power stage circuit corresponding to the target rectangular wave low voltage; The determining, based on a preset detection period, whether each of the plurality of rectangular wave low voltages satisfies a preset output condition comprises: For each of the plurality of rectangular wave low voltages, it is determined whether the rectangular wave low voltage has a signal rising edge according to a preset detection period.

6. The server according to claim 5, It is characterized in that The multi-phase power supply also includes: The controller is electrically connected to each of the power stage circuits and is used to send a pulse width modulation signal to the multiple power stage circuits to control the multiple power stage circuits to output multiple rectangular wave high voltages to the voltage level conversion device.

7. The server according to claim 6, It is characterized in that The server also includes: A baseboard controller is used to read the abnormal circuit detection information and action information in the complex programmable logic device; construct fault alarm information based on the abnormal circuit detection information and the action information, and report the fault alarm information.

8. A power supply detection device, It is characterized in that The power supply detection device is applied to a complex programmable logic device in a server, and the device comprises: An acquisition module, used for acquiring a plurality of rectangular wave low voltages output by each voltage level conversion device; the plurality of rectangular wave low voltages are obtained by reducing the voltage level of a plurality of rectangular wave high voltages output by each power stage circuit in a multi-phase power supply by each of the voltage level conversion devices; A judgment module, used for judging whether each of the plurality of rectangular wave low voltages satisfies a preset output condition based on a preset detection period; A recording module, used for recording abnormal circuit detection information of the power stage circuit corresponding to the target rectangular wave low voltage when the target rectangular wave low voltage does not meet the output condition; The determination module is specifically configured to determine, for each of the plurality of rectangular wave low voltages, whether the rectangular wave low voltage has a signal rising edge according to a preset detection period.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.