Power supply and computing device

By introducing PFC circuits and controllers into the HVDC system, relay fault detection and load-free action control are realized, which solves the safety problem when the relay is disconnected with load, and improves the safety and power density of the power system.

CN119448751APending Publication Date: 2025-02-14XFUSION DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310953391.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-28
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In HVDC systems, relays are prone to cause arc ignition when the load is disconnected, which has poor safety problems.

Method used

By introducing a power factor correction (PFC) circuit and controller into the power supply system, the controller is used to sample the coil voltage of the relay, judge the fault condition, and first close the PFC circuit when a fault is detected, and then disconnect the contacts of the relay. Implement unloaded action.

Benefits of technology

It effectively avoids arc-pull fire when the relay load is disconnected, improves the safety of the entire power supply system, and reduces the circuit area and improves the power density by reducing peripheral circuit devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119448751A_ABST
    Figure CN119448751A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a power supply and computing equipment. The power supply comprises a relay, a power factor correction (PFC) circuit, a voltage sampling circuit and a controller, the relay comprises a coil and a contact; the first end of the contact is electrically connected with a high-voltage direct-current bus, and the second end of the contact is electrically connected with the input end of the PFC circuit; the first end of the coil is electrically connected with a working voltage input end; the second end of the coil is electrically connected with the first end of the voltage sampling circuit; the second end of the voltage sampling circuit is electrically connected with the sampling voltage input end of the controller; a first control signal output end of the controller is electrically connected with a control end of the PFC circuit; the control circuit outputs a first control signal to the PFC circuit; when a relay fault is determined based on the sampling voltage, stopping outputting the first control signal to the PFC circuit; and when the output of the first control signal to the PFC circuit is stopped, the contact is disconnected. According to the scheme, the safety problem caused by on-load disconnection of the relay can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of servers, and in particular to a power supply and a computing device. Background Art

[0002] At present, with the continuous upgrading of computing power requirements, the number of servers included in data centers is huge. In order to reduce power consumption, high voltage direct current (HVDC) is currently used as a power source to power the servers. The energy of HVDC can come from a battery pack.

[0003] Generally, a relay is electrically connected between the DC bus of HVDC and the power supply of the server. The relay has a good breaking capacity for AC power, but a poor breaking capacity for DC power. When HVDC is input, the relay disconnects under load and arcs and ignites. Therefore, the relay arcing and ignition have the problem of poor safety. Summary of the invention

[0004] Embodiments of the present invention provide a power supply and a computing device, which can avoid safety problems caused by disconnection of a relay under load.

[0005] An embodiment of the present application provides a power supply, including: a relay, a power factor correction (PFC) circuit, a voltage sampling circuit and a controller; wherein the relay includes a coil and a contact; the first end of the contact is used to electrically connect to a high-voltage direct current (HVDC) busbar, and the second end of the contact is electrically connected to an input end of the PFC circuit; the first end of the coil is electrically connected to an operating voltage input end, and the second end of the coil is electrically connected to a first end of a voltage sampling circuit; the second end of the voltage sampling circuit is electrically connected to a sampling voltage input end of the controller; a first control signal output end of the controller is electrically connected to a control end of the PFC circuit; the controller is used to output a first control signal to the PFC circuit; the first control signal is used to control the working state of the PFC circuit; the controller is also used to: when a relay fault is determined based on the sampled voltage, stop outputting the first control signal to the PFC circuit; when the first control signal is stopped from being output to the PFC circuit, disconnect the contact.

[0006] Since the PFC circuit acts as the load of the relay, in order to ensure that the relay is disconnected and realizes no-load operation, the PFC circuit is turned off first, so as not to cause arcing and fire when the relay is operated, thereby ensuring the safety of the power supply of the entire power system and the safety of the equipment using the power supply of the power system. Since the power supply system power supply provided by the embodiment of the present application uses a controller to realize analog-to-digital conversion, no complex peripheral circuit is required, thus reducing circuit components and circuit area, thereby improving the power density of the power supply of the entire power system.

[0007] In a possible implementation, the controller is further used to determine the relay fault based on the sampled voltage, including: the controller is further used to: determine the relay fault when the sampled voltage exceeds a preset voltage range, wherein the preset voltage is less than the working voltage and greater than zero voltage. For example, when the sampled voltage is within the preset voltage range, it indicates that the coil of the relay is good and the power supply path of the coil is good.

[0008] In a possible implementation, the power supply also includes a driving circuit of a relay; the driving circuit includes a current limiting resistor and a controllable switch; wherein the first end of the current limiting resistor is electrically connected to the first end of the coil; the second end of the current limiting resistor is electrically connected to the first end of the controllable switch; the second end of the controllable switch is electrically connected to the ground; the second control signal output end of the controller is electrically connected to the control end of the controllable switch; the controller is used to send a second control signal to the controllable switch through the second control signal output end; the second control signal is used to control the working state of the controllable switch. The controllable switch is used to control the on-off of the power supply path of the coil, that is, whether to connect the two ends of the coil to the working voltage and the ground respectively to form a current path.

[0009] In a possible implementation, the controller is further used to determine a relay fault when the sampled voltage exceeds a preset voltage range, including: the controller is further used to: determine that the relay fault is a first type fault when the sampled voltage is equal to a first preset voltage, wherein the first type fault includes a coil short circuit or a coil drive circuit open circuit. For example, the first preset voltage is the working voltage of the coil, indicating that the coil is short-circuited, and the sampling point is directly connected to the working voltage. In addition, it may be that the coil drive circuit is open circuit, that is, there is no grounding to form a path.

[0010] In a possible implementation, the controller is also used to determine the relay fault when the sampled voltage exceeds the preset voltage range, including: the controller is also used to: when the sampled voltage is equal to the second preset voltage, determine that the relay fault is a second type of fault, wherein the second type of fault includes an open coil circuit or an open coil working voltage input circuit or a short coil drive circuit. For example, when the second preset voltage is 0, when the sampled voltage is 0, it means that the coil is open, and the voltage after the working voltage is divided cannot be collected, or the coil drive circuit is short-circuited and directly grounded, and the voltage of the collection ground is 0.

[0011] In a possible implementation, the voltage sampling circuit includes a first resistor and a second resistor; the first end of the first resistor is electrically connected to the second end of the coil, the second end of the first resistor is electrically connected to the first end of the second resistor, and the second end of the second resistor is electrically connected to the ground; the first end of the second resistor is electrically connected to the sampling voltage input end of the controller. The above is only an example of sampling using two resistors to form a voltage divider circuit. It can be understood that the voltage sampling circuit can also include a larger number of resistors, which is not limited here.

[0012] In a possible implementation, the power supply further includes a freewheeling diode; the anode of the freewheeling diode is electrically connected to the second end of the coil, and the cathode of the freewheeling diode is electrically connected to the first end of the coil. The function of the freewheeling diode is freewheeling. When the controllable switch is disconnected, the coil has stored energy and needs to release energy. At this time, the freewheeling diode is used for freewheeling.

[0013] In a possible implementation, the power supply further includes a slow-start resistor; a first end of the slow-start resistor is electrically connected to a first end of a contact; and a second end of the slow-start resistor is electrically connected to a second end of the contact. In order to reduce the inrush current when the PFC circuit is started, when the PFC circuit is slow-started, the contact is disconnected, and the HVDC supplies power to the PFC circuit through the slow-start resistor. The slow-start circuit functions to limit current.

[0014] In a possible implementation, the controllable switch is an N-type transistor. Using an N-type transistor is less likely to cause problems and can ensure the working stability of the entire power supply.

[0015] The present application also provides a computing device, including a load and the power supply described above; the power supply is used to supply power to the load. Since the power supply has fewer components, the circuit area and volume can be reduced, the weight can be reduced, and the power density can be increased, thereby realizing the miniaturization of the computing device.

[0016] The power supply provided in the embodiment of the present application utilizes a voltage sampling circuit to collect the voltage of the coil of the relay, and directly transmits it to the analog-to-digital converter inside the controller. The analog-to-digital converter directly converts the analog voltage into a digital voltage, and the controller can directly compare the digital voltage with the voltage threshold to determine whether the relay has failed. When the controller determines that the relay has failed, the PFC circuit is first turned off, and then the contacts of the relay are disconnected. This ensures that no-load action is achieved when the relay is disconnected, so that arcing and fire will not be caused, ensuring the safety of the entire power supply, and also ensuring the safety of the equipment using the power supply. Since the power supply provided in the embodiment of the present application utilizes a controller to realize analog-to-digital conversion, no complex peripheral circuits are required, therefore, circuit components are reduced, and the circuit area is reduced, thereby improving the power density of the entire power supply. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic diagram of a computing device provided in an embodiment of the present application;

[0018] Figure 2 A schematic diagram of a power supply provided in an embodiment of the present application;

[0019] Figure 3 A schematic diagram of another power supply provided in an embodiment of the present application;

[0020] Figure 4 A schematic diagram of a computing device provided in an embodiment of the present application;

[0021] Figure 5 A flowchart of a method for controlling a computing device provided in an embodiment of the present application;

[0022] Figure 6 A flowchart of another method for controlling a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] The computing device provided in the embodiment of the present application does not limit the application scenario. For example, the computing device is introduced by taking a server as an example, and the type of server is not limited. For example, the computing device can be a rack server or an edge server. The server can be located in a data center or in other areas, which is not limited in the embodiment of the present application.

[0024] Servers are a type of computing device that runs faster and has a higher load than ordinary computers. Servers provide computing or application services to other clients (such as PCs, smartphones, and other devices) in the network. Servers have high-speed computing capabilities, long-term reliable operation, strong external data throughput capabilities, and better scalability. Servers are divided into rack-mounted, blade-mounted, tower-mounted, and cabinet-mounted types based on their appearance.

[0025] Single board is a common component in servers. Single board is a general term and can be in various forms such as main board, power management board, network data exchange board, etc. Single board is provided with an electrical connector, and single board can be plugged into other electrical components (for example, another single board) through the electrical connector.

[0026] The server includes a mainboard and a power supply, and the power supply is used to supply power to various loads of the mainboard. The embodiment of the present application does not limit the voltage level provided by the power supply to the mainboard, for example, DC 12V is used as an example for introduction.

[0027] Motherboard, a circuit board in a server, may include a central processing unit (CPU), memory, controller, electrical connector and other components. The central processing unit can be electrically connected to peripheral devices through electrical connectors, for example, the CPU is electrically connected to a network card, a graphics card and other devices through an electrical connector. The controller can be one or more of a micro controller unit (MCU), a complex programmable logic device (CPLD), and a field programmable gate array (FPGA).

[0028] The motherboard may include multiple loads, such as a CPU, a fan, and a memory. The embodiment of the present application does not limit the type of memory. For example, the memory includes but is not limited to the following types: dual-inline-memory-modules (DIMM), etc. In addition, the motherboard may include one CPU or multiple CPUs.

[0029] HVDC, in order to reduce the overall power consumption of the data center, it is necessary to reduce the power consumption of each server. Instead of using AC mains power, high-voltage direct current can be used for direct power supply. The higher the voltage, the smaller the current and the corresponding lower the power consumption. For example, the voltage of high-voltage direct current is about 400V.

[0030] In a possible implementation, the HVDC energy may be provided by a battery pack.

[0031] The power factor correction (PFC) circuit is used to improve the power factor of the power supply, reduce the impact of the power grid, and also improve energy efficiency.

[0032] A relay is an electrical control device. It is an electrical appliance that causes a predetermined step change in the controlled quantity in the electrical output circuit when the change in the input quantity (excitation quantity) reaches the specified requirements. It has an interactive relationship between the control system (also known as the input circuit) and the controlled system (also known as the output circuit); it is an "automatic switch" that uses a small current to control the operation of a large current. Therefore, it plays the role of automatic regulation, safety protection, and circuit conversion in the circuit. Relays generally include coils and contacts. When the coil is energized, the contacts move; for example, for a normally open relay, when the coil is energized, the contacts close. For a normally closed relay, when the coil is energized, the contacts open.

[0033] Since HVDC power supply is used, the voltage is relatively high, so relays can be used as switching devices. However, the relay's breaking capacity for DC power is poor, and arcing and fire will occur when disconnecting with load. In order to disconnect the relay without load, when the relay has an abnormality and needs to disconnect the main contact, the load of the relay should be turned off first. In the related art, the relay abnormality is detected by hardware circuits. As the power density requirements of the power supply are getting higher and higher, the use of large peripheral circuits will increase the volume of the circuit board and increase power consumption, which is not conducive to improving the power density.

[0034] In order to enable those skilled in the art to better understand and implement the technical solution provided in the embodiments of the present application, the application scenario is first introduced below with reference to the accompanying drawings.

[0035] See also Figure 1 , which is a schematic diagram of a computing device provided in an embodiment of the present application.

[0036] The computing device 1000 includes a power supply 10 and a load 300. The power supply 10 includes a PFC circuit 100, a direct current / direct current (DC / DC) circuit 200, a load 300, and a relay 400. For example, when the computing device 1000 is a server, the load 300 may be a power-consuming component such as a CPU, a memory, a network card, and a fan.

[0037] The input end of the PFC circuit 100 is electrically connected to the HVDC busbar through a relay 400. The HVDC can come from the battery pack BAT or other DC sources, which are not limited here. For example, the input voltage of the PFC circuit 100 is 400V DC, and the output voltage is about 420V-430V DC. The above is only an example, and the voltage value is not limited.

[0038] The output end of the PFC circuit 100 is electrically connected to the input end of the DC / DC circuit 200. The DC / DC circuit 200 is used to perform DC-DC conversion. The DC / DC circuit 200 can also step down the voltage while stabilizing the voltage. The embodiment of the present application does not limit this, and the internal topology of the DC / DC circuit 200 is not limited either.

[0039] The output end of the DC / DC circuit 200 is electrically connected to the load 300 for supplying power to electrical components on the load 300 .

[0040] When the PFC circuit 100 is still working, the relay 400 is disconnected, which is disconnected with load, which is easy to cause arcing and fire. Therefore, when the relay 400 is detected to be abnormal and needs to be disconnected, the PFC circuit 100 is first controlled to be closed, and then the relay 400 is disconnected. This is disconnected without load, which is not easy to cause arcing and fire, and is safer.

[0041] In order to enable those skilled in the art to better understand the technical solution provided by the embodiments of the present application, a detailed description is given below in conjunction with the accompanying drawings.

[0042] See also Figure 2 , which is a schematic diagram of the structure of a power supply provided in an embodiment of the present application.

[0043] The power supply provided in the embodiment of the present application includes: a power factor correction PFC circuit 100, a relay 400, a voltage sampling circuit 500 and a controller 600;

[0044] The relay 400 includes a coil L1 and a contact S1;

[0045] A first end of the contact S1 is electrically connected to the HVDC bus, and a second end of the contact S1 is electrically connected to an input end of the PFC circuit 100;

[0046] The first end of the coil L1 is electrically connected to the working voltage input terminal (PRI_12V) and the first end of the voltage sampling circuit 500, and the second end of the coil L1 is electrically connected to the first end of the voltage sampling circuit 500; the embodiment of the present application is introduced by taking the working voltage of the relay 400 as 12V as an example, and it can also be other voltages.

[0047] The second terminal of the voltage sampling circuit is electrically connected to the sampling voltage input terminal of the controller 600 .

[0048] When it is determined based on the sampled voltage that the relay 400 fails, the first control signal is stopped from being output to the PFC circuit 100 ; when the first control signal is stopped from being output to the PFC circuit 100 , the contact S1 is opened.

[0049] For example, the sampling voltage input terminal of the controller 600 is an analog-to-digital converter pin of the controller 600. The analog-to-digital converter in the controller 600 performs analog-to-digital conversion on the voltage sampled by the voltage sampling circuit 500. When the controller 600 determines that the relay 400 is abnormal according to the voltage after the analog-to-digital conversion, it turns off the PFC circuit and then disconnects the contact S1.

[0050] from Figure 2 It can be seen that HVDC is used as the power supply end of the PFC circuit 100. The PFC circuit 100 is used to convert electric energy, improve the power factor, and provide it to the subsequent DC / DC circuit (not shown in the figure). After the DC / DC circuit stabilizes and reduces the voltage, it is provided to the load, for example, outputting a 12V voltage to power the load in the server.

[0051] The power supply provided in the embodiment of the present application further includes: a slow-start resistor R2;

[0052] The first end of the slow-start resistor R2 is electrically connected to the first end of the contact S1; the second end of the slow-start resistor R2 is electrically connected to the second end of the contact S1;

[0053] The controller 600 is also used to control the contact S1 of the relay to be opened when the PFC circuit is started, and the HVDC supplies power to the PFC circuit through the slow-start resistor R2. After the PFC is started, the contact S1 of the control relay is closed.

[0054] When the PFC circuit 100 starts working, the contact S1 is disconnected, and the HVDC provides voltage to the PFC circuit 100 through the slow-start resistor R2. Due to the current limiting effect of the slow-start resistor R2, the PFC circuit 100 can avoid a large starting current impact when starting. After the PFC circuit 100 is started, the contact S1 of the relay 400 can be controlled to close, thereby bypassing the slow-start resistor R2 to avoid additional power consumption caused by the slow-start resistor R2.

[0055] Among them, the function of the voltage sampling circuit 500 is to divide the sampled voltage at the second end of the coil L1 and transmit it to the controller 600. Through the voltage sampling circuit 500, the voltage at the second end of the coil L1 is converted into a voltage range signal acceptable to the controller 600 to prevent damage to the controller 600.

[0056] The first control signal output terminal of the controller 600 is electrically connected to the control terminal of the PFC circuit 100 ; the controller 600 is used to output a first control signal to the PFC circuit 100 ; the first control signal is used to control the working state of the PFC circuit 100 .

[0057] For example, the first control signal is a driving signal, and specifically may be a pulse width modulation (PWM) signal. The PWM signal is used to control the state of the switch device of the PFC circuit 100, such as on and off.

[0058] When the relay 400 fails and the PFC circuit 100 needs to be shut down, the controller 600 stops outputting the first control signal to the PFC circuit, i.e., stops outputting the driving signal of the PFC circuit, thereby shutting down the PFC circuit 100, i.e., blocking the PWM signal, and the controller 600 does not output the PWM signal to the PFC circuit 100.

[0059] The embodiment of the present application does not limit the type of the controller 600 , and for example, it may be implemented by a microprocessor or a single-chip microcomputer.

[0060] The embodiment of the present application does not limit the topology of the PFC circuit, which may be a bridge topology or a bridgeless topology.

[0061] The power supply provided in the embodiment of the present application utilizes a voltage sampling circuit to collect the voltage of the coil of the relay, and directly transmits it to the analog-to-digital converter inside the controller. The analog-to-digital converter directly converts the analog voltage into a digital voltage, and the controller can directly compare the digital voltage with the voltage threshold to determine whether the relay has failed. When the controller determines that the relay has failed, the PFC circuit is first turned off, and then the contacts of the relay are disconnected. This ensures that no-load action is achieved when the relay is disconnected, that is, the load is first unloaded, and then the relay is disconnected, so that arcing and fire will not be caused when the relay is disconnected, ensuring the safety of the entire power supply, and also ensuring the safety of the equipment using the power supply. Since the power supply provided in the embodiment of the present application utilizes a controller to realize the fault judgment of the relay, no complex peripheral circuit is required, therefore, the circuit components are reduced, the circuit area is reduced, and thus the power density of the entire power supply can be improved.

[0062] The working principle is described below with reference to the accompanying drawings.

[0063] See also Figure 3, which is a schematic diagram of the structure of another power supply provided in an embodiment of the present application.

[0064] The power supply provided in the embodiment of the present application also includes: a driving circuit of the relay; the driving circuit includes a current limiting resistor R1 and a controllable switch Q1; wherein the first end of the current limiting resistor R1 is electrically connected to the first end of the coil; the second end of the current limiting resistor R1 is electrically connected to the first end of the controllable switch Q1; the second end of the controllable switch Q1 is electrically connected to the ground; the second control signal output end of the controller 600 is electrically connected to the control end of the controllable switch Q1; the controller 600 is used to send a second control signal to the controllable switch Q1 through the second control signal output end; the second control signal is used to control the working state of the controllable switch Q1.

[0065] The embodiment of the present application does not limit the implementation method of the controllable switch Q1, for example, it can be a metal oxide semiconductor field effect transistor, referred to as a metal-oxide-semiconductor field-effect transistor (MOSFET), that is, a MOS tube. In addition, the controllable switch Q1 can also be a transistor, such as a triode. Figure 3 In this example, Q1 is used as an NPN transistor.

[0066] The first end of the controllable switch Q1 is electrically connected to the second end of the coil L1 through the current limiting resistor R1, and the second end of the controllable switch Q1 is electrically connected to the ground GND1; the controllable switch Q1 controls the power supply path of the coil L1, and when the controllable switch Q1 is turned off, the power supply path of the coil L1 is disconnected, the coil L1 is released, and the contact S1 is disconnected. When the controllable switch Q1 is closed, the power supply path of the coil L1 is conducted, so that the contact S1 is attracted.

[0067] The first output control terminal of the controller 600 is electrically connected to the control terminal of the controllable switch Q1; when Q1 is a triode, the control terminal of the controllable switch Q1 is the base.

[0068] The controller 600 is used to send a control signal to the control terminal of the controllable switch Q1 through the first output control terminal to control the controllable switch to be disconnected, the coil L1 to be de-energized, and the contact S1 to be disconnected. For example, when the controllable switch Q1 is a PNP tube, the first output control terminal of the controller 600 outputs a low level, and the controllable switch Q1 is turned off. Electrical connection.

[0069] The power supply provided in the embodiment of the present application, the voltage sampling circuit includes a first resistor R3 and a second resistor R4;

[0070] The first end of the first resistor R3 is electrically connected to the second end of the coil L1, the second end of the first resistor R3 is electrically connected to the first end of the second resistor R4, the second end of the second resistor R4 is electrically connected to the ground; the first end of the second resistor R4 is electrically connected to the voltage sampling input end of the controller.

[0071] The embodiment of the present application does not limit the resistance values ​​of the first resistor R3 and the second resistor R4. For example, the resistance ratio of the first resistor R3 and the second resistor R4 is 5:1. In one implementation, for example, the first resistor R3 is 50kΩ and the second resistor R4 is 10kΩ. For example, the voltage after R3 and R4 are connected in series is 12V, and the divided voltage on R4 is 2V.

[0072] In addition, the power supply provided in the embodiment of the present application further includes: a freewheeling diode D1;

[0073] An anode of the freewheeling diode D1 is electrically connected to the second end of the coil L1 , and a cathode of the freewheeling diode D1 is electrically connected to the first end of the coil L1 .

[0074] When the coil L1 is powered off after storing energy, the energy stored in the coil L1 will be released. At this time, the second end of the coil L1 is positive, and the coil L1 continues to flow through D1. After the energy of the coil L1 is released, the contact S1 is disconnected.

[0075] The controller is also used to determine a relay fault based on the sampled voltage, including: when the sampled voltage exceeds a preset voltage range, the controller determines a relay fault, wherein the preset voltage is less than the working voltage and greater than zero voltage.

[0076] Several types of relay failures are described below.

[0077]

[0078] The power supply and controller 600 provided in the embodiment of the present application are used to determine if any of the following abnormalities occur in the relay: coil open circuit, coil short circuit, coil power supply path failure or coil power supply open circuit.

[0079] The controller is also used to determine relay failure when the sampled voltage exceeds a preset voltage range, including:

[0080] When the sampled voltage matches the first preset voltage, the controller determines that the relay fault is a first type fault, wherein the first type fault includes a coil short circuit or a coil drive circuit open circuit.

[0081] Exemplarily, the first preset voltage is 12V, which is the working voltage. When the sampled voltage is processed by the controller internally, such as sampling and restoring, the controller compares the restored sampled voltage with the first preset voltage to determine whether the two are equal. If the two are equal, the controller determines that the relay fault is a first type fault.

[0082] When the sampled voltage is equal to the second preset voltage, the relay fault is determined to be a second type fault, wherein the second type fault includes a coil open circuit or a coil working voltage input line open circuit or a coil drive circuit short circuit. For example, the second preset voltage is 0V.

[0083] Exemplarily, the second preset voltage is 0 V. When the sampled voltage is processed by the controller internally, such as sample restoration, the controller compares the restored sampled voltage with the second preset voltage to determine whether the two are equal. If the two are equal, the controller determines that the relay fault is a second type fault.

[0084] The controller is used to determine that the obtained detection voltage is the working voltage, and judge that the coil is short-circuited or the coil drive circuit is open-circuited; when the voltage after analog-to-digital conversion is judged to be 0V, it is judged that the coil is open-circuited or the coil power supply is open-circuited or the coil drive circuit is short-circuited.

[0085] For example, when the sampled voltage is within the preset range, for example, when the working voltage is 12V, the detection voltage is about 1.5V, indicating that the relay is normal. 1.5V is only an example, and the preset range needs to be set according to the parameters of the circuit.

[0086] When the sampled equivalent coil voltage is 12V, it should be understood that the voltage after the voltage sampling circuit is not 12V, 12V is the voltage before sampling, indicating that the coil is short-circuited, that is, the second end of the coil is directly connected to the first end, and the direct electrical connection working voltage of the coil L1 is 12V. In another case, the current limiting resistor R1 and the controllable switch Q1 are disconnected, the coil power supply path fails, and no power supply loop is formed. At this time, the working voltage 12V is directly detected.

[0087] When the sampling voltage is 0V, in one case, the second end of the coil is not electrically connected to the working voltage input end, and the coil is in an open circuit state. In another case, the current limiting resistor R1 and the controllable switch Q1 are short-circuited and electrically connected to the ground, and the input end of the sampling circuit is electrically connected to the ground through the current limiting resistor R1 and the controllable switch Q1, and the detection voltage is 0V. In another case, the coil power supply is open, that is, the working voltage 12V is not electrically connected to the first end of the coil.

[0088] The power supply provided in the embodiment of the present application utilizes a controller to realize voltage magnitude judgment, thereby judging various types of abnormalities, shutting down the PFC circuit, and realizing unloading before the relay is disconnected. In addition, compared with the use of hardware circuits to realize voltage comparison and judgment, in addition to reducing circuit components, it can also realize the judgment of various types of faults, which is conducive to targeted maintenance in the later stage. Traditionally, only a high and low level signal is transmitted to the controller. For example, a high level indicates a relay failure, but the controller does not know the fault type of the relay and cannot effectively guide the next maintenance. However, the power supply provided in the embodiment of the present application can effectively limit the range of fault types, which is conducive to maintenance personnel to perform repairs.

[0089] The present application embodiment does not limit the application scenario of the power supply, and the following description takes the application of the power supply in a computing device as an example. The present application embodiment does not limit the type of computing device, for example, it can be a server.

[0090] Based on a power supply provided in the above embodiment, an embodiment of the present application further provides a computing device, which is described in detail below in conjunction with the accompanying drawings.

[0091] See also Figure 4 , which is a schematic diagram of a computing device provided in an embodiment of the present application.

[0092] The computing device 1000 provided in the embodiment of the present application includes a load 300 and a power supply provided in the above embodiment, and the power supply is used to supply power to the load 300. For a detailed introduction of the power supply, please refer to Figure 3 The corresponding description will not be repeated here.

[0093] It should be understood that the load 300 may be one or more of a mainboard and a backplane inside the computing device.

[0094] Since the computing device provided by the embodiment of the present application can use HVDC power supply, the power consumption of the whole machine can be reduced. In addition, the unloading disconnection of the relay can be realized, thereby avoiding the arcing and ignition phenomenon when the relay is disconnected with load, and the voltage judgment is realized by the controller, thereby reducing the peripheral circuit components, which helps to improve the power density of the computing device.

[0095] Based on a power supply and a computing device provided in the above embodiments, an embodiment of the present application further provides a method for controlling a computing device, which is described in detail below in conjunction with the accompanying drawings.

[0096] See also Figure 5 , which is a flow chart of a control method for a computing device provided in an embodiment of the present application.

[0097] The control method of a computing device provided in an embodiment of the present application includes:

[0098] S501: using a voltage sampling circuit to sample the voltage of the coil of the relay, for example, a controller performs analog-to-digital conversion on the voltage of the coil of the relay sampled by the voltage sampling circuit; the relay comprises a coil and a contact; a first end of the coil is electrically connected to an input end of the working voltage, and a second end of the coil is electrically connected to the voltage sampling circuit; a first end of the contact is electrically connected to the HVDC bus, and a second end of the contact is electrically connected to an input end of the PFC circuit;

[0099] The analog-to-digital converter ADC in the controller performs analog-to-digital conversion on the voltage sampled by the voltage sampling circuit.

[0100] The function of the voltage sampling circuit is to divide the voltage of the sampled coil L1 and transmit it to the controller, that is, to convert it into a voltage signal acceptable to the controller. If the voltage is too large, it may exceed the tolerance range of the controller and damage the controller.

[0101] S502: When the controller determines that the relay is abnormal according to the sampled voltage, for example, when the controller determines that the relay is abnormal according to the voltage after analog-to-digital conversion, the PFC circuit is turned off and then the contacts of the relay are disconnected.

[0102] The control method of the computing device provided in the embodiment of the present application uses a voltage sampling circuit to collect the voltage of the coil of the relay, and directly transmits it to the analog-to-digital converter inside the controller. The analog-to-digital converter directly converts the analog voltage into a digital voltage. The controller can directly compare the digital voltage with the voltage threshold to determine whether the relay has failed. When the controller determines that the relay has failed, the PFC circuit is first turned off, and then the contacts of the relay are disconnected. Thereby ensuring that no-load action is achieved when the relay is disconnected, that is, unloading is first performed, and then the relay is disconnected, so that arcing and fire will not be caused when the relay is disconnected, ensuring the safety of the entire power supply, and also ensuring the safety of the equipment using the power supply. Since the control method provided in the embodiment of the present application uses a controller to realize analog-to-digital conversion, no complex peripheral circuits are required, therefore, circuit components are reduced, and the circuit area is reduced, thereby improving the power density of the entire power supply.

[0103] The control method implementation process is described in detail below with reference to the accompanying drawings.

[0104] See also Figure 6 , which is a flow chart of another method for controlling a computing device provided in an embodiment of the present application.

[0105] S601: The controller determines whether the power supply of the PFC circuit is HVDC power supply, and if so, executes S602, otherwise executes S606.

[0106] S602: The controller determines whether the relay energizing command is valid. If so, it executes S603; otherwise, it executes S606.

[0107] S603: The controller collects the voltage of the coil of the relay and determines whether the sampled voltage is within a preset range. If so, S604 is executed, otherwise S605 is executed.

[0108] S604: The controller maintains the current relay state.

[0109] S605: When the controller determines that the sampling voltage is outside the preset range, it indicates that the relay is abnormal, and the PFC circuit is turned off. Relay abnormalities include coil short circuit, open circuit, and coil power supply path short circuit, open circuit.

[0110] S606: The controller disconnects the relay. At this point, the PFC circuit has been disconnected, so the controller disconnects the relay at this point to achieve no-load disconnection, and the relay disconnection will not cause arcing or fire.

[0111] The control method of the computing device provided in the embodiment of the present application uses a controller to judge the size of the voltage, thereby judging various types of abnormalities, closing the PFC circuit, and realizing unloading before the relay is disconnected. In addition, compared with the use of hardware simulation circuits to compare and judge the voltage, in addition to reducing circuit components, it can also realize the judgment of various types of faults, which is conducive to targeted maintenance in the later stage. Compared with only transmitting a high and low level signal to the controller, for example, a high level indicates a relay failure, but the controller cannot know whether the relay has a coil short circuit failure or a coil power supply path failure, and cannot effectively guide the next maintenance. However, the control of the computing device provided in the embodiment of the present application obtains a specific sampling voltage, so several fault categories can be roughly distinguished according to the sampling voltage, and then the specific fault type can be checked according to the fault category, and different fault categories can be warned differently, which is conducive to maintenance personnel to perform maintenance.

[0112] The above is only a preferred embodiment of the present application and does not constitute any formal limitation to the present application. Although the present application has been disclosed as above with a preferred embodiment, it is not intended to limit the present application. Any technician familiar with the art can make many possible changes and modifications to the technical solution of the present application using the methods and technical contents disclosed above without departing from the scope of the technical solution of the present application, or modify it into an equivalent embodiment of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application still fall within the scope of protection of the technical solution of the present application.

Claims

1. A power supply, characterized in that: include: Relay, power factor correction PFC circuit, voltage sampling circuit and controller; Wherein, the relay comprises a coil and contacts; The first end of the contact is used to electrically connect to a high voltage direct current HVDC busbar, and the second end of the contact is electrically connected to an input end of the PFC circuit; The first end of the coil is electrically connected to the working voltage input end, and the second end of the coil is electrically connected to the first end of the voltage sampling circuit; The second end of the voltage sampling circuit is electrically connected to the sampling voltage input end of the controller; The first control signal output terminal of the controller is electrically connected to the control terminal of the PFC circuit; the controller is used to output a first control signal to the PFC circuit; the first control signal is used to control the working state of the PFC circuit; The controller is also used for: When it is determined that the relay fails based on the sampled voltage, stopping outputting the first control signal to the PFC circuit; When the output of the first control signal to the PFC circuit stops, the contact is opened.

2. The power supply according to claim 1, characterized in that: The controller is also used to determine the relay fault based on the sampled voltage, including: The controller is also used for: When the sampled voltage exceeds a preset voltage range, it is determined that the relay is faulty, wherein the preset voltage is less than an operating voltage and greater than zero voltage.

3. The power supply according to claim 1 or 2, characterized in that: The power supply also includes a driving circuit for the relay; the driving circuit includes a current limiting resistor and a controllable switch; Wherein, the first end of the current limiting resistor is electrically connected to the first end of the coil; the second end of the current limiting resistor is electrically connected to the first end of the controllable switch; The second end of the controllable switch is electrically connected to the ground; The second control signal output terminal of the controller is electrically connected to the control terminal of the controllable switch; The controller is used to send a second control signal to the controllable switch through the second control signal output terminal; the second control signal is used to control the working state of the controllable switch.

4. The power supply according to claim 3, characterized in that: The controller is also used to determine that the relay is faulty when the sampled voltage exceeds a preset voltage range, including: The controller is also used for: In the case that the sampled voltage matches the first preset voltage, the relay fault is determined to be a first type fault, wherein the first type fault includes a coil short circuit or a coil drive circuit open circuit.

5. The power supply according to claim 3, characterized in that: The controller is also used to determine that the relay is faulty when the sampled voltage exceeds a preset voltage range, including: The controller is also used for: When the sampled voltage matches the second preset voltage, the relay fault is determined to be a second type fault, wherein the second type fault includes a coil open circuit, an open circuit of a coil working voltage input circuit, or a short circuit of a coil drive circuit.

6. The power supply according to any one of claims 1 to 5, characterized in that: The voltage sampling circuit includes a first resistor and a second resistor; The first end of the first resistor is electrically connected to the second end of the coil, the second end of the first resistor is electrically connected to the first end of the second resistor, and the second end of the second resistor is electrically connected to the ground; The first end of the second resistor is electrically connected to the sampling voltage input end of the controller.

7. The power supply according to any one of claims 1 to 3, characterized in that: The power supply also includes a freewheeling diode; The anode of the freewheeling diode is electrically connected to the second end of the coil, and the cathode of the freewheeling diode is electrically connected to the first end of the coil.

8. The power supply according to any one of claims 1 to 7, characterized in that: The power supply also includes a slow-start resistor; The first end of the slow-start resistor is electrically connected to the first end of the contact; the second end of the slow-start resistor is electrically connected to the second end of the contact.

9. The power supply according to any one of claims 3 to 8, characterized in that: The controllable switch is an N-type transistor.

10. A computing device, characterized in that It comprises a load and the power supply according to any one of claims 1 to 9; the power supply is used to supply power to the load.