CN114530911B - Power supply protection method, device, power supply protection circuit, equipment and medium - Google Patents
Power supply protection method, device, power supply protection circuit, equipment and medium Download PDFInfo
- Publication number
- CN114530911B CN114530911B CN202210179707.8A CN202210179707A CN114530911B CN 114530911 B CN114530911 B CN 114530911B CN 202210179707 A CN202210179707 A CN 202210179707A CN 114530911 B CN114530911 B CN 114530911B
- Authority
- CN
- China
- Prior art keywords
- power supply
- control switch
- voltage
- power
- state
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000001514 detection method Methods 0.000 claims abstract description 27
- 230000001276 controlling effect Effects 0.000 claims description 41
- 230000015654 memory Effects 0.000 claims description 26
- 230000001105 regulatory effect Effects 0.000 claims description 21
- 230000011664 signaling Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 16
- 230000005669 field effect Effects 0.000 description 7
- 238000002955 isolation Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002085 persistent effect Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0047—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0029—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
- H02J7/00712—Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
- H02J7/007182—Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
- H02J7/007188—Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Protection Of Static Devices (AREA)
- Emergency Protection Circuit Devices (AREA)
Abstract
The invention provides a power supply protection method, a device, a power supply protection circuit, equipment and a medium. The power supply protection method comprises the following steps: and the voltage difference of the voltages at two ends of the power supply control switch is obtained through the voltage detection circuit. The method comprises the steps of detecting a signal state of a first control signal, wherein the first control signal is a signal sent by a voltage regulation chip and used for starting a power supply control switch. The circuit state of the power control switch is determined based on the voltage difference and the signal state. If the circuit state of the power control switch is short-circuited, the input of the power supply voltage to the power control switch is stopped. According to the invention, whether the power supply control switch can effectively control the input of the power supply voltage or not can be determined according to the voltage difference between the voltages at two ends of the power supply control switch and the switch state of the power supply control switch, and further, when the power supply control switch is in a short circuit state, the continuous input of the power supply voltage can be stopped in time, so that the purpose of protecting a power supply circuit is achieved.
Description
Technical Field
The invention relates to the field of server power supply protection, in particular to a power supply protection method, a device, a power supply protection circuit, equipment and a medium.
Background
Along with the development of scientific progress, the application range of big data and cloud computing in various large Internet, banks and government departments is wider, the performance and the requirements of a server are more and more severely required, and the performance parameters of the server such as input voltage, current and the like are higher and higher so as to adapt to continuous development.
In the application scene of the server power supply, part of the power supply modules adopt a hot plug circuit design so as not to influence the normal operation of the server system in the process of inserting or extracting the power supply modules.
However, if a power supply module designed by a hot plug circuit is short-circuited during power supply, electrical elements in a back-end circuit of the power supply module are easily destroyed due to strong current, thereby affecting the stability of a server system.
Disclosure of Invention
Therefore, the technical problem to be solved by the invention is to overcome the defect that a power supply module in a server in the prior art is not provided with safety protection, so as to provide a power supply protection method, a device, a power supply protection circuit, equipment and a medium.
According to a first aspect, the present invention provides a power supply protection method, the method comprising:
the voltage difference of the voltages at two ends of the power supply control switch is obtained through the voltage detection circuit;
Detecting a signal state of a first control signal, wherein the first control signal is a signal sent by a voltage regulation chip and used for starting a power supply control switch;
determining a circuit state of the power control switch according to the voltage difference and the signal state;
and if the circuit state of the power supply control switch is short circuit, stopping inputting the power supply voltage to the power supply control switch.
In this way, whether the power control switch can effectively control the input of the power voltage or not can be determined according to the voltage difference between the voltages at two ends of the power control switch and the switch state of the power control switch, and further when the power control switch is in a short circuit state, the continuous input of the power voltage can be stopped in time, so that the purpose of protecting the power supply circuit is achieved.
With reference to the first aspect, in a first embodiment of the first aspect, the stopping of inputting the power supply voltage to the power supply control switch includes:
and the power supply driving circuit is controlled to send a second control signal to the power supply control switch, so that the power supply driving circuit is controlled to stop inputting the power supply voltage to the power supply control switch.
With reference to the first embodiment of the first aspect, in a second embodiment of the first aspect, the controlling the power driving circuit to stop inputting the power supply voltage to the power control switch by controlling the power driving circuit to send a second control signal to the power control switch includes:
And controlling the power supply driving circuit to set a second control signal sent by the power supply control switch low so as to control the power supply driving circuit to stop inputting the power supply voltage to the power supply control switch.
With reference to the first aspect, in a third embodiment of the first aspect, the determining a circuit state of the power control switch according to the voltage difference and the signal state includes:
if the voltage difference is 0 and the signal state is the off state, determining that the circuit state of the power control switch is a short circuit state;
the stopping of the input of the power supply voltage to the power supply control switch includes:
and controlling the voltage regulating chip to continuously close the first control signal, and simultaneously controlling the power supply driving circuit to stop inputting the power supply voltage to the power supply control switch.
With reference to the first aspect, in a fourth embodiment of the first aspect, the determining a circuit state of the power control switch according to the voltage difference and the signal state includes:
if the voltage difference is 0 and the signal state is an on state, determining that the circuit state of the power control switch is a channel state;
the method further comprises the steps of:
when the circuit state of the power control switch is a pass state, a power supply voltage is continuously input to the power control switch.
In this way, whether the power control switch can effectively control the input of the power supply voltage can be determined according to the circuit state of the power control switch, and then the power supply circuit is subjected to targeted protection, so that the safety and stability of the circuit are improved, and the purpose of effectively protecting the power supply circuit is achieved.
According to a second aspect, the present invention provides a power supply protection device, the device comprising:
the acquisition unit is used for obtaining the voltage difference of the voltages at two ends of the power supply control switch through the voltage detection circuit;
the detection unit is used for detecting the signal state of a first control signal, wherein the first control signal is a signal sent by the voltage regulation chip and used for starting the power supply control switch;
a determining unit configured to determine a circuit state of the power control switch according to the voltage difference and the signal state;
and the control unit is used for stopping inputting the power supply voltage to the power supply control switch if the circuit state of the power supply control switch is short circuit.
With reference to the second aspect, in a first embodiment of the second aspect, the control unit includes:
the first control unit is used for controlling the power supply driving circuit to send a second control signal to the power supply control switch and controlling the power supply driving circuit to stop inputting the power supply voltage to the power supply control switch.
With reference to the first embodiment of the second aspect, in a second embodiment of the second aspect, the first control unit includes:
and the first control subunit is used for controlling the power supply driving circuit to set the second control signal sent by the power supply control switch low so as to control the power supply driving circuit to stop inputting the power supply voltage to the power supply control switch.
With reference to the second aspect, in a third embodiment of the second aspect, the determining unit includes:
a first determining subunit, configured to determine that a circuit state of the power control switch is a short-circuit state if the voltage difference is 0 and the signal state is an off state;
the control unit includes:
and the first input control unit is used for controlling the voltage regulating chip to continuously close the first control signal and controlling the power supply driving circuit to stop inputting the power supply voltage to the power supply control switch.
With reference to the second aspect, in a fourth embodiment of the second aspect, the determining unit includes:
a second determining subunit, configured to determine that the circuit state of the power control switch is a path state if the voltage difference is 0 and the signal state is an on state;
The apparatus further comprises:
and the second input control unit is used for continuously inputting the power supply voltage to the power supply control switch when the circuit state of the power supply control switch is a channel state.
According to a third aspect, the present invention also provides a power supply protection circuit comprising:
the power control switch is used for switching on or switching off the input of the power voltage;
the power control switch is used for switching on or switching off the input of the power voltage;
the voltage regulating chip is electrically connected with the power supply control switch and is used for sending a first control signal to the power supply control switch and starting the power supply control switch;
the voltage detection circuit is connected with the power control switch in parallel and is used for detecting the voltages at two ends of the power control switch;
the power supply control chip is used for receiving the voltage at two ends of the power supply control switch, detecting and/or controlling the voltage regulating chip to close the first control signal and controlling the input of the power supply voltage.
In the mode, the power control chip can determine whether the power control switch can effectively control the input of the power voltage or not through the voltage at two ends of the power control switch detected by the received voltage detection circuit and the first control signal sent to the power control switch by the detected voltage regulation chip, and further when the power control switch is determined to be in a short circuit state, the power voltage can be timely controlled to stop being input to the power control switch, so that the purpose of protecting a power supply circuit is achieved, and the power supply safety and stability of a server are improved
With reference to the third aspect, in a first embodiment of the third aspect, the power supply protection power supply circuit further includes a power supply driving circuit;
the power supply driving circuit is used for sending a second control signal to the power supply control switch and inputting the power supply voltage to the power supply control switch;
the power supply control chip is also used for controlling the power supply driving circuit to set the second control signal low and controlling the power supply driving circuit to stop inputting the power supply voltage to the power supply control switch.
According to a fourth aspect, embodiments of the present invention further provide a computer device, comprising a memory and a processor, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the power protection method of any one of the first aspect and its alternative embodiments.
According to a fifth aspect, embodiments of the present invention further provide a computer-readable storage medium storing computer instructions for causing the computer to perform the power supply protection method of any one of the first aspect and its alternative embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a power supply circuit according to an exemplary embodiment.
Fig. 2 is a schematic diagram of a power supply protection circuit according to an exemplary embodiment.
Fig. 3 is a circuit schematic diagram of an optocoupler isolation chip circuit according to an exemplary embodiment.
Fig. 4 is a circuit schematic of an operational amplifier according to an exemplary embodiment.
Fig. 5 is a schematic diagram of another power supply protection circuit according to an exemplary embodiment.
Fig. 6 is a schematic diagram of a structure of yet another power supply protection circuit according to an exemplary embodiment.
Fig. 7 is a flowchart of a power protection method according to an exemplary embodiment.
Fig. 8 is a flow chart of another power protection method proposed according to an exemplary embodiment.
Fig. 9 is a block diagram of a power supply protection device according to an exemplary embodiment.
Fig. 10 is a schematic diagram of a hardware structure of a computer device according to an exemplary embodiment.
Detailed Description
The following description of the embodiments of the present invention will be made apparent and fully in view of the accompanying drawings, in which some, but not all embodiments of the invention are shown. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the related art, a hot plug circuit of a power supply module is designed to control a power supply current flowing into the rear end of the power supply module through a field effect transistor (Metal Oxide Semiconductor Field Effect Transistor, MOSFET or MOS tube) so as to avoid influencing the overall stability of the server in the process of inserting or extracting the power supply module into or from the server. The power supply circuit structure inside the power supply module designed by adopting the hot plug circuit can be shown in fig. 1. Fig. 1 is a schematic diagram of a power supply circuit according to an exemplary embodiment. The switching state of the field effect transistor is controlled by a control signal sent to the field effect transistor by a voltage regulation (Voltage Regulated, VR) chip. If the transmitted control signal is used for controlling the field effect transistor to be in an on state, the field effect transistor is in an on state according to the received control signal, and the power supply voltage is input into the back-end circuit to supply power for the back-end circuit. The back-end circuit structure in fig. 1 and the following drawings is only used for example, and the specific structure depends on the actual application scenario and is not limited herein.
However, when the field effect tube is broken down due to strong current to cause short circuit, if the continuous input power voltage supplies power for the back-end circuit, the damage to the electrical elements in the back-end circuit due to the strong current is easily caused, and then the server is restarted due to downtime, so that the overall stability of the server is affected, and the use experience of a user is affected.
In order to solve the above-mentioned problems, an embodiment of the present invention provides a power supply protection circuit, which is suitable for providing a usage scenario of the protection circuit for a back-end circuit of a power supply module when a power supply control switch for controlling a power supply voltage input fails. According to the power supply protection circuit provided by the invention, the power supply control chip can determine whether the power supply control switch can effectively control the input of the power supply voltage or not through the voltage at the two ends of the power supply control switch detected by the received voltage detection circuit and the first control signal sent to the power supply control switch by the detected voltage regulation chip, and further can timely control the power supply voltage to stop inputting to the power supply control switch when the power supply control switch is determined to be in a short circuit state, so that the purpose of protecting the power supply circuit is achieved, and the power supply protection circuit is beneficial to improving the power supply safety and stability of a server.
Fig. 2 is a schematic diagram of a power supply protection circuit according to an exemplary embodiment. As shown in fig. 2, the power supply protection circuit 200 includes a power supply control switch 201, a voltage adjustment chip 202, a voltage detection circuit 203, and a power supply control chip 204.
A power control switch 201 for turning on or off the input of the power supply voltage.
In the embodiment of the present invention, the power control switch 201 is a switch for controlling the input of the power supply voltage into the back-end circuit. When the power control switch 201 is turned on, a power supply voltage can be input into the back-end circuit through the power control switch 201. When the power control switch 201 is turned off, the power voltage cannot be input into the back-end circuit through the power control switch 201. In one implementation, the power control switch 201 may be a MOSFET switch tube.
The voltage regulating chip 202 is electrically connected to the power control switch 201, and is configured to send a first control signal to the power control switch 201, and turn on the power control switch 201.
In the embodiment of the present invention, the voltage adjusting chip 202 is a control chip for controlling whether the power control switch 201 is turned on or not. If the power control switch 201 needs to be turned on, the voltage adjustment chip 202 sends a first control signal to the power control switch 201, so as to turn on the power control switch 201. The first control signal is a signal sent by the voltage regulating chip 202 to turn on the power control switch 201. In an example, if the power control switch 201 needs to be turned off, the voltage adjustment chip 202 does not need to send the first control signal to the power control switch 201, and thus the power control switch 201 cannot be turned on.
The voltage detection circuit 203 is connected in parallel with the power control switch 201 and is used for acquiring voltages at two ends of the power control switch.
In the embodiment of the present invention, the voltage detection circuit 203 is a circuit for detecting the voltage across the power control switch 201, so as to determine whether the input power supply voltage passes through the power control switch 201 according to the detected voltage across the power control switch 201. Wherein both ends comprise an input and an output of the power control switch 201. For example: if the power supply voltage passes through the power supply control switch 201, the voltages at the input and output terminals of the power supply control switch 201 have voltage values. If the power supply voltage does not pass through the power supply control switch 201, the voltage at the input end of the power supply control switch 201 has a voltage value, and the voltage at the output end has no voltage value.
The power control chip 204 is configured to receive the voltage across the power control switch 201, detect and/or control the voltage adjustment chip to turn off the first control signal, and control the input of the power supply voltage.
In the embodiment of the present invention, the power control chip 204 is a control chip for controlling whether or not a power voltage is input. The power control chip 204 can determine the circuit state of the power control switch 201 by detecting the voltage across the power control switch 201 from the received voltage detection circuit 203. That is, if the voltage difference between the two terminals is 0, it indicates that the power control switch 201 is in the on state. Wherein the on state includes a via state or a short circuit state. If the voltage difference between the two terminals is greater than 0, it indicates that the power control switch 201 is in an off state. Therefore, to further determine the specific on state of the power control switch 201, it is determined whether the power control switch 201 is turned on in combination with the detected first control signal. If the first control signal is detected, it may be determined that the power control switch 201 is turned on, and further it may be determined that the power control switch 201 is in a path state, and the power control switch 201 may effectively control the input of the power voltage, so that the continuous input of the power voltage may be controlled. If the first control signal is not detected, it may be determined that the power control switch 201 is turned off, and thus it may be determined that the power control switch 201 is in a short-circuit state, and the power control switch 201 cannot control the input of the power supply voltage. Therefore, to protect the electrical components in the back-end circuit, the power control chip 204 stops the continuous input of the power voltage and controls the voltage regulating chip 202 to continuously turn off the first control signal, so as to avoid the sudden start of the power control switch 201, thereby achieving the purpose of protecting the power supply circuit.
In one implementation scenario, the power control chip 204 may be a complex programmable logic device (Complex Programmable logic device, CPLD) chip, and may further control the input of the control power voltage according to the requirements.
Through the embodiment, the power control chip can determine whether the power control switch can effectively control the input of the power voltage or not through the voltage at the two ends of the power control switch detected by the received voltage detection circuit and the first control signal sent to the power control switch by the detected voltage regulation chip, and further when the power control switch is determined to be in a short circuit state, the power voltage can be timely controlled to stop being input to the power control switch, so that the purpose of protecting a power supply circuit is achieved, and the power supply safety and stability of a server are improved.
In an implementation scenario, the voltage detection circuit 203 may include an optocoupler isolation chip circuit and a first operational amplifier circuit and a second operational amplifier circuit. A schematic circuit diagram of the optocoupler isolation chip may be shown in fig. 3. Fig. 3 is a circuit schematic diagram of an optocoupler isolation chip circuit according to an exemplary embodiment. A schematic circuit diagram of the first operational amplifier circuit and the second operational amplifier circuit may be as shown in fig. 4. Fig. 4 is a circuit schematic of an operational amplifier according to an exemplary embodiment. The output end of the optocoupler isolation chip circuit 31 is connected to the input end of the first operational amplifier circuit 32, the output end of the first operational amplifier circuit 32 is connected to the input end of the second operational amplifier circuit 33, and the output end of the second operational amplifier circuit 33 is connected to the input end of the power supply control chip 204.
As shown in fig. 3, the connection manner of each electrical element in the optocoupler isolation chip circuit 31 is as follows: the input end of the optocoupler isolation chip circuit 31 is connected with 4 360K resistors for voltage reduction in series, and then connected with R77, R79 and C321 in parallel and then connected with pins No. 2 and No. 3 of a HCPL7840 (a linear optocoupler device model) chip to serve as input end voltage signals. Pin 3 and pin 4 are short-circuited, pin 1 of HCPL7840 chip is connected with +5VDD, and series-connected with a 0.47UF capacitor to be grounded, pin 8 of HCPL7840 chip is connected with +5V, and series-connected with a 0.47UF capacitor to be grounded, pin 5 is grounded, and pins 6 and 7 are connected with the input end of the first operational amplifier circuit 32 to perform differential amplification treatment.
As shown in fig. 4, the connection of the respective electric elements in the first operational amplifier circuit 32 and the second operational amplifier circuit 33 is as follows: the input end of the first operational amplifier circuit 32 is connected to the No. 2 pin of the LM358 (a dual operational amplifier) through R57 and R80, and R124 and C62 are connected in parallel and then respectively connected to the No. 2 pin and the No. 1 pin of the LM358, and connected to the No. 3 pin of the LM358 through R58 and R82. The ground is connected in parallel through R123 and C341, and then the ground is connected in parallel through R123 and C341. The pin 1 of the LM358 is connected to the pin 5 of the chip through the R125 resistor at the input of the second operational amplifier circuit 33 and grounded through C64, the pin 6 is directly connected to the pin 7, the series connection C63 is grounded, and then a signal is sent from the output of the first operational amplifier circuit 32 to the power control chip 204 through R81.
Fig. 5 is a schematic diagram of another power supply protection circuit according to an exemplary embodiment. As shown in fig. 5. The power supply protection circuit 500 includes a power supply control switch 501, a voltage adjustment chip 502, a voltage detection circuit 503, a power supply control chip 504, and a power supply drive circuit 505. The functions performed by the power control switch 501, the voltage adjustment chip 502, the voltage detection circuit 503, and the power control chip 504 are the same as the functions performed by the power control switch 201, the voltage adjustment chip 202, the voltage detection circuit 203, and the power control chip 204 in the power protection circuit 200, and will not be described herein.
The power supply driving circuit 505 is configured to send a second control signal to the power supply control switch 501 and input a power supply voltage to the power supply control switch 501.
In the embodiment of the present invention, the power supply driving circuit 505 may be understood as a circuit for supplying an input power supply voltage. For example: a power supply device (Power Supply Unit, PSU) for supplying power. The second control signal is a control signal for informing the power control switch 501 that there is a power supply voltage input.
The power control chip 504 is further configured to control the power driving circuit 505 to set the second control signal low, and control the power driving circuit 505 to stop inputting the power voltage to the power control switch.
In the embodiment of the present invention, when it is determined that the power control switch 501 is in the short-circuit state, the power driving circuit 505 is controlled to set the second control signal low, so as to control the power driving circuit 505 to stop inputting the power voltage to the power control switch 501, so that the power voltage provided by the power driving circuit 505 flows into the back-end circuit through the power control switch 501.
In an implementation scenario, if the power control switch is a MOSFET switch tube, the connection relationship between the components in the power supply protection circuit may be as shown in fig. 6. Fig. 6 is a schematic diagram of a structure of yet another power supply protection circuit according to an exemplary embodiment. The source electrode of the switching tube is electrically connected with a PSU (power supply driving circuit) MOSFET, the drain electrode of the switching tube is electrically connected with a back-end circuit, and the grid electrode of the switching tube is electrically connected with a voltage regulating chip. One end of the power control chip is connected with a connecting line between the grid electrode of the MOSFET and the voltage regulating chip, and the other end of the power control chip is electrically connected with the voltage detection circuit. The voltage detection circuit is connected with the power control switch in parallel.
Based on the same inventive concept, the invention also provides a power supply protection method, which is used in a computer device, and it is to be noted that an execution subject of the power supply protection method can be a power supply protection device, and the power supply protection device can be implemented in a mode of software, hardware or a combination of software and hardware to form part or all of the computer device, wherein the computer device can be a terminal, a client, a server cluster formed by a plurality of servers, and the terminal in the embodiment of the invention can be other intelligent hardware devices such as a smart phone, a personal computer, a tablet personal computer, a wearable device, an intelligent robot and the like. In the following method embodiments, the execution subject is a server as an example.
In the server in the embodiment, any power supply protection circuit provided by the invention is deployed, so that when a power supply control switch is short-circuited, electric elements in a back-end circuit can be timely protected, the overall stability of the server is further improved, and the use experience of a user is improved. According to the power supply protection method provided by the invention, the circuit state of the power supply control switch can be determined according to the voltage difference between the voltages at two ends of the power supply control switch and the detected signal state of the signal sent by the voltage regulating chip and used for starting the power supply control switch, and further, when the power supply control switch is determined to be in a short circuit state, the input of the power supply voltage to the power supply control switch is stopped in time, so that the purpose of protecting a power supply circuit is achieved.
Fig. 7 is a flowchart of a power protection method according to an exemplary embodiment. As shown in fig. 7, the power supply protection method includes the following steps S701 to S704.
In step S701, a voltage difference between voltages across the power control switch is obtained by the voltage detection circuit.
In the embodiment of the invention, the voltage detection circuit is a circuit connected with the power control switch in parallel and is used for detecting the voltage at two ends of the power control switch so as to determine whether the power voltage flows into the power control switch. The voltage at two ends of the power control switch comprises the voltage at the input end of the power control switch and the voltage at the output end of the power control switch. According to the obtained voltages at the two ends of the power control switch, the voltage difference of the voltages at the two ends of the power control switch can be obtained, so that whether the circuit state of the power control switch is in a conducting state or not can be determined through the voltage difference. Wherein the on state includes a via state or a short circuit state. The circuit states also include open circuit states. For example: if the voltage at the two ends of the power control switch is detected to have the voltage value, the voltage difference at the two ends is 0, the power control switch can be determined to be in a conducting state, and then the power control switch can be in a passage state or a short circuit state. If the detected voltage of the input end of the power control switch has a voltage value, and the voltage of the output end of the power control switch has no voltage value, and the voltage difference of the two ends is larger than 0, the power control switch can be determined to be in an off state, and then the power control switch can be determined to be turned off.
In step S702, the signal state of the first control signal is detected.
In the embodiment of the invention, the first control signal is a signal sent by the voltage regulating chip and used for starting the power supply control switch. By detecting the signal state of the first control signal, it is helpful to determine whether the power control switch is turned on. For example: if the signal state is in the on state, the power control switch is turned on, the power control switch is in the on state, and the power voltage can be input into the back-end circuit through the power control switch. If the signal state is in the off state, the power control switch is turned off, the power control switch is in the off state, and the power voltage cannot be input into the back-end circuit through the power control switch.
In step S703, the circuit state of the power control switch is determined according to the voltage difference and the signal state.
In the embodiment of the invention, if the voltage difference is larger and has a certain value, the power control switch can be determined to be turned off, and then the circuit state of the power control switch can be determined to be an off state. However, when the power control switch is in the on state or the short circuit state, the voltages at both ends of the power control switch are the same, and the voltage difference is 0, so that the specific circuit state of the power control switch cannot be clarified. Therefore, in order to improve the accuracy of determining the circuit state of the power supply control switch, the signal state of the first control signal is combined to further determine on the basis of obtaining the voltage difference, so that the accuracy of protecting the power supply circuit is improved. For example: in the case that the voltage difference is 0, if the signal state of the first control signal is an on state, the power control switch is turned on, and thus, it can be determined that the power control switch is in a pass state. If the signal state of the first control signal is the off state, the power control switch is turned off, and therefore, the power control switch can be determined to be in a short circuit state.
In step S704, if the circuit state of the power control switch is a short circuit, the input of the power supply voltage to the power control switch is stopped.
In the embodiment of the invention, if the circuit state of the power control switch is short circuit, the power control power supply is in a failure state, and the input of the power supply voltage cannot be effectively controlled. Therefore, in order to avoid the electric elements in the back-end circuit from being broken down by strong current and affecting the safety and stability of power supply, the power supply voltage is stopped from being input to the power supply control switch, and then the power supply voltage is prevented from being input to the back-end circuit through the power supply control switch, and the safety of the electric elements in the back-end circuit is affected, so that the purpose of protecting the power supply circuit is achieved.
In an embodiment, the power supply driving circuit may be controlled to stop inputting the power supply voltage to the power supply control switch by controlling the power supply driving circuit to send the second control signal to the power supply control switch. The power supply driving circuit may be understood as a circuit for providing an input power supply voltage, and the second control signal is a control signal for informing the power supply control switch 501 that the power supply voltage is input.
Specifically, the control power supply driving circuit sets the second control signal of the transmission power supply control switch low so as to control the power supply driving circuit to stop inputting the power supply voltage to the power supply control switch, and further, the continuous input of the power supply voltage is blocked, and therefore the purpose of protecting the power supply circuit is achieved.
Through the embodiment, whether the power control switch can effectively control the input of the power voltage or not can be determined according to the voltage difference between the voltages at two ends of the power control switch and the switch state of the power control switch, and further when the power control switch is in a short circuit state, the continuous input of the power voltage can be stopped in time, so that the purpose of protecting a power supply circuit is achieved.
In an embodiment, if it is determined that the circuit state of the power control switch is a short-circuit state according to the obtained voltage difference and the signal state of the first control signal, it is indicated that the power control switch cannot effectively control the input of the power supply voltage. Therefore, in order to avoid that the voltage regulating chip suddenly sends the first control signal to the power control switch in the process of controlling the power driving circuit to stop inputting the power voltage to the power control switch, and the power driving circuit does not completely stop inputting the power voltage to the power control switch, the voltage regulating chip continuously closes the first control signal and simultaneously controls the power driving circuit to stop inputting the power voltage to the power control switch, so that the power voltage is effectively controlled to be input to the power control switch, and the safety stability of the circuit is effectively improved.
Fig. 8 is a flow chart of another power protection method proposed according to an exemplary embodiment. As shown in fig. 8, the power supply protection method includes the following steps.
In step S801, a voltage difference between voltages across the power control switch is obtained by the voltage detection circuit.
In step S802, a signal state of the first control signal is detected.
In step S803, if the voltage difference is 0 and the signal state is the off state, it is determined that the circuit state of the power control switch is the short-circuit state.
In step S804, the control voltage adjusting chip continuously turns off the first control signal, and simultaneously controls the power driving circuit to stop inputting the power voltage to the power control switch.
In step S805, if the voltage difference is 0 and the signal state is the on state, it is determined that the circuit state of the power control switch is the on state.
In step S806, when the circuit state of the power control switch is the on state, the power supply voltage is continuously input to the power control switch.
In the embodiment of the invention, under the condition that the circuit state of the power control switch is the on state, the power control switch is characterized to be capable of effectively controlling the input of the power voltage, and then the power voltage is continuously input to the power control switch.
Through the embodiment, whether the power control switch can effectively control the input of the power supply voltage or not can be determined according to the circuit state of the power control switch, and then the power supply circuit is subjected to targeted protection, so that the safety and the stability of the circuit are improved, and the purpose of effectively protecting the power supply circuit is achieved.
In an implementation scenario, the power supply protection method can be executed through a power supply control chip in the power supply protection circuit to detect the circuit safety of the power supply circuit in real time. The circuit state of the power control switch is monitored by the power control chip, and if the circuit state of the power control switch is in a channel state, the power driving circuit is controlled to continuously input power voltage to the power control switch. If the circuit state of the power supply control switch is a short circuit state, the continuous voltage regulating chip is controlled to continuously close the continuous first control signal, and meanwhile, the power supply driving circuit is controlled to set the second control signal of the continuous power supply control switch low so as to control the continuous power supply driving circuit to stop inputting the power supply voltage to the continuous power supply control switch, so that the safety and stability of the power supply circuit are ensured.
The power supply protection method and the power supply protection circuit provided by the invention can be applied to any power supply module with a hot plug circuit design, have strong practicability, and can effectively protect the power supply circuit in actual use, thereby improving the safety and stability of the circuit.
Based on the same inventive concept, the invention also provides a power supply protection device.
Fig. 9 is a block diagram of a power supply protection device according to an exemplary embodiment. As shown in fig. 9, the power supply protection device includes an acquisition unit 901, a detection unit 902, a determination unit 903, and a control unit 904.
An obtaining unit 901, configured to obtain a voltage difference between voltages at two ends of the power control switch through a voltage detection circuit;
the detecting unit 902 is configured to detect a signal state of a first control signal, where the first control signal is a signal sent by the voltage regulation chip and used to turn on the power control switch;
a determining unit 903 for determining a circuit state of the power control switch according to the voltage difference and the signal state;
the control unit 904 is configured to stop inputting the power supply voltage to the power supply control switch if the circuit state of the power supply control switch is a short circuit.
In one embodiment, the control unit 904 includes: the first control unit is used for controlling the power supply driving circuit to send a second control signal to the power supply control switch and controlling the power supply driving circuit to stop inputting the power supply voltage to the power supply control switch.
In another embodiment, the first control unit includes: the first control subunit is used for controlling the power supply driving circuit to set the second control signal of the transmission power supply control switch low so as to control the power supply driving circuit to stop inputting the power supply voltage to the power supply control switch.
In yet another embodiment, the determining unit 903 includes: and the first determining subunit is used for determining that the circuit state of the power supply control switch is a short circuit state if the voltage difference is 0 and the signal state is an off state. The control unit 904 includes: the first input control unit is used for controlling the voltage regulating chip to continuously close the first control signal and controlling the power supply driving circuit to stop inputting the power supply voltage to the power supply control switch.
In yet another embodiment, the determining unit 903 includes: and the second determining subunit is used for determining that the circuit state of the power supply control switch is a channel state if the voltage difference is 0 and the signal state is an on state. The apparatus further comprises: and a second input control unit for continuously inputting the power supply voltage to the power supply control switch when the circuit state of the power supply control switch is the on state.
The specific limitation of the power supply protection device and the beneficial effects can be referred to the limitation of the power supply protection method, and are not repeated herein. The various modules described above may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
Fig. 10 is a schematic diagram of a hardware structure of a computer device according to an exemplary embodiment. As shown in fig. 10, the device includes one or more processors 1010 and a memory 1020, the memory 1020 including persistent memory, volatile memory and a hard disk, one processor 1010 being illustrated in fig. 10. The apparatus may further include: an input device 1030 and an output device 1040.
The processor 1010, memory 1020, input device 1030, and output device 1040 may be connected by a bus or other means, for example in fig. 10.
The processor 1010 may be a central processing unit (Central Processing Unit, CPU). The processor 1010 may also be a chip such as another general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or a combination thereof. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 1020 is used as a non-transitory computer readable storage medium, including persistent memory, volatile memory and hard disk, and may be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions/modules corresponding to the service management method in the embodiments of the present application. The processor 1010 executes various functional applications of the server and data processing, i.e., implements any of the power protection methods described above, by running non-transitory software programs, instructions, and modules stored in the memory 1020.
Memory 1020 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for a function; the storage data area may store data, etc., as needed, used as desired. In addition, memory 1020 may include high-speed random access memory and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 1020 may optionally include memory located remotely from processor 1010, which may be connected to the data processing apparatus via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 1030 may receive input numeric or character information and generate key signal inputs related to user settings and function control. The output 1040 may include a display device such as a display screen.
One or more modules are stored in the memory 1020 that, when executed by the one or more processors 1010, perform the methods illustrated in fig. 7-8.
The product can execute the method provided by the embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. Technical details which are not described in detail in the present embodiment can be found in the embodiments shown in fig. 7 to 8.
The embodiment of the invention also provides a non-transitory computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the authentication method in any of the method embodiments. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a Flash Memory (Flash Memory), a Hard Disk (HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
It is apparent that the above examples are given by way of illustration only and are not limiting of the embodiments. Other variations or modifications of the above teachings will be apparent to those of ordinary skill in the art. It is not necessary here nor is it exhaustive of all embodiments. While still being apparent from variations or modifications that may be made by those skilled in the art are within the scope of the invention.
Claims (8)
1. A method of power protection, the method comprising:
the voltage difference of the voltages at two ends of the power supply control switch is obtained through the voltage detection circuit;
detecting a signal state of a first control signal, wherein the first control signal is a signal sent by a voltage regulation chip and used for starting a power supply control switch;
determining a circuit state of the power control switch based on the voltage difference and the signal state, comprising: if the voltage difference is 0 and the signal state is the off state, determining that the circuit state of the power control switch is a short circuit state; if the voltage difference is 0 and the signal state is an on state, determining that the circuit state of the power control switch is a channel state;
And stopping inputting the power supply voltage to the power supply control switch if the circuit state of the power supply control switch is short circuit, comprising: and in the process of stopping inputting the power supply voltage to the power supply control switch, controlling the voltage regulating chip to continuously close the first control signal, and controlling the power supply driving circuit to send a second control signal to the power supply control switch to control the power supply driving circuit to stop inputting the power supply voltage to the power supply control switch.
2. The method of claim 1, wherein the controlling the power driving circuit to stop inputting the power supply voltage to the power control switch by controlling the power driving circuit to send a second control signal to the power control switch comprises:
and controlling the power supply driving circuit to set a second control signal sent by the power supply control switch low so as to control the power supply driving circuit to stop inputting the power supply voltage to the power supply control switch.
3. The method according to claim 1, wherein the method further comprises:
when the circuit state of the power control switch is a pass state, a power supply voltage is continuously input to the power control switch.
4. A power protection device, the device comprising:
the acquisition unit is used for obtaining the voltage difference of the voltages at two ends of the power supply control switch through the voltage detection circuit;
the detection unit is used for detecting the signal state of a first control signal, wherein the first control signal is a signal sent by the voltage regulation chip and used for starting the power supply control switch;
a determining unit for determining a circuit state of the power control switch according to the voltage difference and the signal state, comprising: if the voltage difference is 0 and the signal state is the off state, determining that the circuit state of the power control switch is a short circuit state; if the voltage difference is 0 and the signal state is an on state, determining that the circuit state of the power control switch is a channel state;
and a control unit for stopping inputting the power supply voltage to the power supply control switch if the circuit state of the power supply control switch is short circuit, comprising: and in the process of stopping inputting the power supply voltage to the power supply control switch, controlling the voltage regulating chip to continuously close the first control signal, and controlling the power supply driving circuit to send a second control signal to the power supply control switch to control the power supply driving circuit to stop inputting the power supply voltage to the power supply control switch.
5. A power supply protection circuit, characterized in that the power supply protection circuit comprises:
the power control switch is used for switching on or switching off the input of the power voltage;
the voltage regulating chip is electrically connected with the power supply control switch and is used for sending a first control signal to the power supply control switch and starting the power supply control switch;
the voltage detection circuit is connected with the power control switch in parallel and is used for detecting the voltages at two ends of the power control switch;
a power supply driving circuit for transmitting a second control signal to the power supply control switch and inputting the power supply voltage to the power supply control switch;
the power supply control chip is used for receiving the voltages at two ends of the power supply control switch, detecting and/or controlling the voltage regulating chip to close the first control signal, and determining the circuit state of the power supply control switch according to the voltage difference between the voltages at two ends of the power supply control switch and the signal state of the first control signal, wherein when the voltage difference is 0 and the signal state is in a closed state, the circuit state of the power supply control switch is in a short circuit state, and when the voltage difference is 0 and the signal state is in an open state, the circuit state of the power supply control switch is in a channel state;
The power supply control chip is also used for controlling the input of the power supply voltage, and comprises: and in the process of stopping inputting the power supply voltage to the power supply control switch, controlling the voltage regulating chip to continuously close the first control signal, and controlling the power supply driving circuit to send the second control signal to the power supply control switch by controlling the power supply driving circuit to stop inputting the power supply voltage to the power supply control switch.
6. The power protection circuit of claim 5, wherein,
the power supply control chip is used for controlling the power supply driving circuit to set the second control signal low and controlling the power supply driving circuit to stop inputting the power supply voltage to the power supply control switch.
7. A computer device comprising a memory and a processor, said memory and said processor being communicatively coupled to each other, said memory having stored therein computer instructions, said processor executing said computer instructions to perform the power protection method of any of claims 1-3.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions for causing the computer to execute the power supply protection method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210179707.8A CN114530911B (en) | 2022-02-25 | 2022-02-25 | Power supply protection method, device, power supply protection circuit, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210179707.8A CN114530911B (en) | 2022-02-25 | 2022-02-25 | Power supply protection method, device, power supply protection circuit, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114530911A CN114530911A (en) | 2022-05-24 |
CN114530911B true CN114530911B (en) | 2024-01-09 |
Family
ID=81625224
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210179707.8A Active CN114530911B (en) | 2022-02-25 | 2022-02-25 | Power supply protection method, device, power supply protection circuit, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114530911B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104917153A (en) * | 2015-05-26 | 2015-09-16 | 谈宁 | Short circuit protection circuit used for parallel-connected power supply |
CN105790222A (en) * | 2015-12-25 | 2016-07-20 | 华为技术有限公司 | Protection device and method of switching power supply and switching power supply |
CN109314508A (en) * | 2016-06-16 | 2019-02-05 | 株式会社自动网络技术研究所 | Power supply control apparatus |
CN209217691U (en) * | 2019-01-18 | 2019-08-06 | 福建易洁科技有限公司 | A kind of load driving abnormity protection circuit and washing machine |
CN113258538A (en) * | 2021-06-30 | 2021-08-13 | 深圳英集芯科技股份有限公司 | Power output protection method and circuit |
-
2022
- 2022-02-25 CN CN202210179707.8A patent/CN114530911B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104917153A (en) * | 2015-05-26 | 2015-09-16 | 谈宁 | Short circuit protection circuit used for parallel-connected power supply |
CN105790222A (en) * | 2015-12-25 | 2016-07-20 | 华为技术有限公司 | Protection device and method of switching power supply and switching power supply |
CN109314508A (en) * | 2016-06-16 | 2019-02-05 | 株式会社自动网络技术研究所 | Power supply control apparatus |
CN209217691U (en) * | 2019-01-18 | 2019-08-06 | 福建易洁科技有限公司 | A kind of load driving abnormity protection circuit and washing machine |
CN113258538A (en) * | 2021-06-30 | 2021-08-13 | 深圳英集芯科技股份有限公司 | Power output protection method and circuit |
Also Published As
Publication number | Publication date |
---|---|
CN114530911A (en) | 2022-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2817498C (en) | In-rush current limiter and method for stowable and carry-on devices | |
US9853444B2 (en) | Hot plug device providing turn on FETs with a softstart capability | |
CN104954145A (en) | Method for power over Ethernet, power sourcing equipment and system for power over Ethernet | |
CN104143818B (en) | Prevent the device that current-limiting circuit is excessively adjusted | |
US20170346314A1 (en) | Battery protection board, battery and mobile terminal | |
US8547146B1 (en) | Overcurrent based power control and circuit reset | |
CN109062392B (en) | Equipment, method and system for automatically switching power supply of server board card | |
CN114530911B (en) | Power supply protection method, device, power supply protection circuit, equipment and medium | |
CN103792458A (en) | Disconnection detecting apparatus and method | |
US20190103864A1 (en) | Hot swap controller with multiple current limits | |
US11368032B2 (en) | Test system and test method for charging device | |
US10003213B2 (en) | Power adapter | |
KR20200061200A (en) | Operation apparatus for substation and the control method thereof | |
CN114825594A (en) | Control method and control device of uninterruptible power supply | |
CN102799557A (en) | Hot plugging single board and method for measuring power of hot plugging single board | |
KR102085340B1 (en) | Watchdog monitoring system that utilizes a disable application to monitor operation of an enable application | |
CN203241994U (en) | Hot-plug control device | |
CN110654330B (en) | Circuit for reducing current of car machine | |
CN116780723B (en) | Power supply control method and system and electronic equipment | |
CN104077259A (en) | Hot plug control device | |
US10447074B2 (en) | Behavior modification of a power supply in response to a detected condition | |
CN105739663B (en) | USB power source control circuit | |
CN116540089B (en) | Self-checking system, method, computer equipment and storage medium of circuit breaker | |
CN116755536A (en) | Power supply monitoring circuit, method, device and medium | |
CN117118026A (en) | USB port configuration management system and USB port configuration management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |