Host power supply protection circuit and host

By designing a power protection circuit in the host system, detecting the input voltage and current, determining whether power loss occurs, and switching to a backup battery, the problem of data loss in the host system when the input voltage is abnormal or power loss is realized, and the power supply is achieved. Stable and reliable protection.

CN222464143UActive Publication Date: 2025-02-11DAKEWE SHENZHEN MEDICAL EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420454090.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-03-09
Publication Date
2025-02-11
Estimated Expiration
2034-03-09

AI Technical Summary

Technical Problem

In the host system, when the input voltage is abnormal or powered down, the prior art is difficult to effectively protect the power supply, resulting in data loss or system crash.

Method used

Design a host power protection circuit, including power supply circuit, voltage detection circuit, main control circuit and current detection circuit. By detecting the input voltage and current, determine whether power is lost, and switch to backup battery power when power is lost to ensure that Save the data and execute the shutdown program.

Benefits of technology

It realizes power protection control in the event of power outage, prevents data loss, and extends the time of power supply of backup batteries, improving the stability and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222464143U_ABST
    Figure CN222464143U_ABST
Patent Text Reader

Abstract

The utility model relates to a host power supply protection circuit and a host. The host power supply protection circuit comprises a power supply circuit, a voltage detection circuit, a master control circuit and a current detection circuit. The power supply circuit is used for converting an input voltage into different power supply voltages to supply power to the host and the upper computer respectively; the voltage detection circuit is used for detecting an input voltage and outputting a voltage detection signal; the current detection circuit is used for detecting the power supply current of the upper computer and outputting a current detection signal; the main control circuit is used for outputting a power failure signal to the power supply circuit and the upper computer in response to the voltage detection signal, and switching to the standby battery to supply power to the host and the upper computer; the power supply circuit is used for disconnecting power supply to the host and the upper computer in response to the power-down signal, and the upper computer is used for executing a shutdown program in response to the power-down signal; the main control circuit is used for outputting a low-power-consumption control signal to switch to a low-power-consumption mode in response to the current detection signal. The power supply protection control method has the effect of realizing power supply protection control under the condition of power failure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of power supply control, in particular to a host power supply protection circuit and a host. Background Art

[0002] In modern host systems, a stable and reliable power supply is one of the key factors to ensure its normal operation. Host systems, such as servers, data centers, and critical communication equipment, often need to process and store a large amount of critical data. These systems usually use multiple power supply configurations to ensure that different subsystems can get a stable power supply. Under normal circumstances, these power supplies can effectively provide the required power to the host system. However, when the input voltage is abnormal or power failure occurs, these power supplies may not be able to continue to supply power, causing the host system to suddenly lose power, which in turn leads to serious consequences such as data loss or damage.

[0003] For host systems that process and store large amounts of important data, even a brief power outage can result in huge data loss, which is not only costly in terms of material costs, but can also have an irreversible impact on the company's operations and reputation. To alleviate this problem, some host systems are often equipped with backup battery systems to provide temporary power when the main power fails. However, these backup batteries have limited power and can only maintain system operation for a short period of time. In many cases, the activation and switching of these backup batteries requires manual operation, which not only increases the complexity of the operation, but may also delay the best switching time due to improper human operation.

[0004] Therefore, how to achieve power protection control in the event of a power outage has become an urgent problem to be solved in the current host power management field. Utility Model Content

[0005] In order to realize power protection control in the case of power failure, the utility model provides a host power protection circuit and a host.

[0006] In the first aspect, the utility model provides a host power protection circuit, which is implemented by the following technical solutions:

[0007] A host power protection circuit comprises a power circuit, a voltage detection circuit, a main control circuit and a current detection circuit;

[0008] The power supply circuit is connected to the host and the host computer, and is used to convert the input voltage into different supply voltages to supply power to the host and the host computer respectively;

[0009] The voltage detection circuit is connected to the power supply circuit and is used to detect the input voltage and output a voltage detection signal;

[0010] The current detection circuit is connected to the power supply circuit, and is used to detect the power supply current of the host computer and output a current detection signal;

[0011] The main control circuit is connected to the voltage detection circuit, and is used to respond to the voltage detection signal, output a power-off signal to the power supply circuit and the host computer, and switch to the backup battery to power the host computer and the host computer; wherein the power supply circuit is used to disconnect the power supply to the host computer and the host computer in response to the power-off signal, and the host computer is used to respond to the power-off signal and execute a shutdown procedure;

[0012] The main control circuit is also connected to the current detection circuit, and is used to output a low power consumption control signal in response to the current detection signal to switch to a low power consumption mode.

[0013] The utility model is further configured as follows: the power supply circuit includes a plurality of sub-power supply circuits, which are used to convert the input voltage into different power supply voltages through the plurality of sub-power supply circuits to respectively power the host computer and the upper computer;

[0014] The plurality of sub-power supply circuits include: a first sub-power supply circuit for supplying power to the host computer and a second sub-power supply circuit for supplying power to the host computer.

[0015] By adopting the above technical solution, the voltage of each sub-power supply circuit is detected by the voltage detection circuit, and the current detection circuit detects the power supply current of the host computer. When the main control circuit determines whether the input voltage is lower than the set threshold, it is determined that a power failure occurs when the input voltage is lower than the set threshold, and a power failure signal is sent to the host computer. At the same time, the main control circuit turns off each sub-power supply circuit, and the backup battery supplies power to the main control circuit and the host computer. After receiving the power failure signal, the host computer saves the relevant data and prompts the power supply abnormality signal, and executes the shutdown program at the same time; the main control circuit reads the current detection signal of the current detection circuit, and switches to the low power consumption mode when the current detection signal is detected to be zero. In the low power consumption mode, it is detected whether the input voltage reaches the set threshold. If not, if the power button is pressed, the main control circuit detects that the input voltage is lower than the set threshold, and then sends a power supply abnormality signal, and controls the first sub-power supply circuit to turn off, so that the host cannot be turned on.

[0016] The utility model is further configured as follows: the voltage detection circuit comprises: a voltage detection subcircuit for detecting the input voltage, a first voltage detection subcircuit for detecting the power supply voltage of the first sub-power supply circuit, and a second voltage detection subcircuit for detecting the power supply voltage of the second sub-power supply circuit.

[0017] The utility model is further configured as follows: each of the voltage detection subcircuits has the same structure, including a resistor combination of at least three resistors connected in series, one end of the first resistor is connected to the power supply end, and the other end is connected to one end of the second resistor; one end of the third resistor is connected to the other end of the second resistor, and the other end is grounded; the voltage detection sampling point is set between the second resistor and the third resistor. Backup battery

[0018] The utility model is further configured to include a switching circuit, which is respectively connected to the main control circuit and the voltage detection circuit, and is used to switch to one of the voltage detection sub-circuits according to a switching selection signal of the main control circuit.

[0019] The utility model is further configured as follows: the switching circuit comprises a selection circuit and a follower circuit connected in sequence, the selection circuit is used to switch one of the voltage detection sub-circuits to be connected to the follower circuit according to a switching selection signal of the main control circuit;

[0020] The follower circuit is used to transmit the voltage detection result of one of the voltage detection sub-circuits to the main control circuit.

[0021] The utility model is further configured to include a backup battery charging and discharging circuit, which is connected to the main control circuit and is used to charge and discharge the backup battery and send a backup battery status signal of the backup battery to the main control circuit.

[0022] The utility model is further configured as follows: the main control circuit includes a main control chip.

[0023] The utility model is further configured as follows: it also includes an input power supply control circuit, which is respectively connected to the main control circuit and the power supply circuit, including a first switch circuit and a second switch circuit connected in sequence; the first switch circuit is used to receive a power supply control signal from the main control circuit, and control the connection or disconnection of the input voltage of the power supply circuit; the second switch circuit is used to control the closing or disconnection of the first switch circuit.

[0024] In a second aspect, the present invention provides a host, which is realized by the following technical solutions:

[0025] A host comprises a host power protection circuit as described in any one of the above items.

[0026] Compared with the prior art, the beneficial technical effects of this application are:

[0027] 1. This application detects the input voltage of each sub-power circuit. When the input voltage is detected to be power off, the main control circuit controls each sub-power circuit to shut down, and the backup battery supplies power to the main control circuit and the host computer, ensuring that the host computer is shut down after saving data, thereby preventing the loss of data in the host computer;

[0028] 2. Furthermore, after each sub-power supply is turned off, the present application detects the current of the host computer power supply. When the current is zero, the main control circuit enters low power consumption, thereby extending the power supply time of the backup battery;

[0029] 3. Furthermore, the present application adopts an input power control circuit to achieve the connection or disconnection of the input voltage. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 This is a schematic diagram of the structure of a host power protection circuit of a specific embodiment of the present application;

[0031] Figure 2 It is a schematic diagram of the main control circuit structure of a specific embodiment of the present application;

[0032] Figure 3 It is a schematic diagram of the structure of an input power supply control circuit of a specific embodiment of the present application;

[0033] Figure 4 This is a schematic diagram of a 5V power supply circuit structure of a specific embodiment of the present application;

[0034] Figure 5 It is a schematic diagram of the structure of a 5V and 3.3V power supply circuit of a specific embodiment of the present application;

[0035] Figure 6 This is a schematic diagram of the 3.3V power supply circuit structure of a specific embodiment of the present application;

[0036] Figure 7 is a schematic diagram of the voltage detection subcircuit structure of a specific embodiment of the present application;

[0037] Figure 8 is a schematic diagram of the structure of a current detection circuit of a specific embodiment of the present application;

[0038] Fig. 9 is a schematic diagram of the switching circuit structure of a specific embodiment of the present application;

[0039] Fig.10 It is a schematic diagram of the charging and discharging circuit structure of a specific embodiment of the present application. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solutions and advantages of the present invention more clear, the following Figure 1-10It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0041] The utility model embodiment discloses a host power protection circuit.

[0042] Reference Figure 1 , a host power supply protection circuit, including a power supply circuit, a voltage detection circuit, a main control circuit and a current detection circuit;

[0043] A power supply circuit is connected to the host computer and the upper computer, and is used to convert the input voltage into different supply voltages to supply power to the host computer and the upper computer respectively;

[0044] A voltage detection circuit, connected to the power supply circuit, for detecting an input voltage and outputting a voltage detection signal;

[0045] The current detection circuit is connected to the power supply circuit, and is used to detect the power supply current of the host computer and output a current detection signal;

[0046] The main control circuit is connected to the voltage detection circuit, and is used to respond to the voltage detection signal, output a power-off signal to the power supply circuit and the host computer, and switch to the backup battery to power the host and the host computer; wherein the power supply circuit is used to disconnect the power supply to the host and the host computer in response to the power-off signal, and the host computer is used to respond to the power-off signal and execute a shutdown procedure;

[0047] The main control circuit is also connected to the current detection circuit, and is used to respond to the current detection signal and output a low power control signal to switch to a low power mode. As an implementation of the power supply circuit, the power supply circuit includes multiple sub-power supply circuits, which are used to convert the input voltage into different power supply voltages through the multiple sub-power supply circuits to power the host and the host computer respectively.

[0048] Specifically, the multiple sub-power supply circuits include: a first sub-power supply circuit for powering the host, a second sub-power supply circuit for powering the upper computer, a third sub-power supply circuit for powering the host power protection circuit substrate, and a fourth sub-power supply circuit for powering the host power protection circuit.

[0049] Among them, each sub-power supply circuit is connected to the main control circuit respectively, receives a power-off signal sent by the main control circuit to the power supply circuit when power is off, and turns off each sub-power supply circuit to disconnect the power supply to the host and the upper computer.

[0050] It should be noted that, in some embodiments, the number of sub-power circuits in the power circuit can be set and adjusted according to actual conditions. For example, the power circuit in the embodiment of the present application may also include a sub-power circuit for powering other peripheral circuits, and the present application does not limit this.

[0051] In the above implementation, the voltage detection circuit is used to detect the voltage of each sub-power supply circuit, and the current detection circuit detects the power supply current of the host computer. When the main control circuit determines whether the input voltage is lower than the set threshold, it is determined that a power failure occurs when the input voltage is lower than the set threshold, and a power failure signal is sent to the host computer. At the same time, the main control circuit turns off each sub-power supply circuit, and the backup battery supplies power to the main control circuit and the host computer. After receiving the power failure signal, the host computer saves the relevant data and prompts the power supply abnormality signal, and executes the shutdown program at the same time; the main control circuit reads the current detection signal of the current detection circuit, and switches to the low power consumption mode when the current detection signal is detected to be zero. In the low power consumption mode, it is detected whether the input voltage reaches the set threshold. If not, if the power button is pressed, the main control circuit detects that the input voltage is lower than the set threshold, and then sends a power supply abnormality signal, and controls the first sub-power supply circuit to be closed, so that the host cannot be turned on.

[0052] In a specific embodiment of the present application, the plurality of sub-power supply circuits may include a sub-power supply circuit for generating a 5V voltage and a sub-power supply circuit for generating a 3.3V voltage.

[0053] As an embodiment of the voltage detection circuit, the voltage detection circuit includes: a voltage detection sub-circuit for detecting an input voltage, a first voltage detection sub-circuit for detecting a power supply voltage of a first sub-power supply circuit, a second voltage detection sub-circuit for detecting a power supply voltage of a second sub-power supply circuit, a third voltage detection sub-circuit for detecting a power supply voltage of a third sub-power supply circuit, and a fourth voltage detection sub-circuit for detecting a power supply voltage of a fourth sub-power supply circuit.

[0054] It is understandable that the voltage detection sub-circuit in the voltage detection circuit can be configured accordingly according to the specific number of sub-power supply circuits, so that the voltage detection circuit can perform supply voltage detection for each sub-power supply circuit respectively.

[0055] Among them, each voltage detection sub-circuit includes a series resistor voltage divider circuit, which is used to divide the detected power supply voltage and transmit the voltage detection signal to the switching circuit; specifically, each voltage detection sub-circuit has the same structure, including a resistor combination of at least three resistors connected in series, one end of the first resistor is connected to the power supply end, and the other end is connected to one end of the second resistor; one end of the third resistor is connected to the other end of the second resistor, and the other end is grounded; the voltage detection sampling point is set between the second resistor and the third resistor.

[0056] As an implementation method of the current detection circuit, the current detection circuit is used to detect the power supply current of the host computer, and the current detection circuit includes a current detection chip.

[0057] As an implementation method of the main control circuit, the main control circuit includes a main control chip, which is used to determine whether a power outage occurs based on a voltage detection signal. After the power outage occurs, the backup battery continues to provide power to the system. The main control circuit sends a power-off signal to the host computer. After the host computer receives the power-off signal, it executes a shutdown procedure. The current detection circuit detects the power supply current of the host computer. After the power supply current is zero, it is confirmed that the host computer has been shut down, and the input voltage and each sub-power circuit are turned off. The backup battery supplies power to the main control circuit, and the main control circuit enters a low power consumption mode.

[0058] As a further implementation of the host power protection circuit, the host power protection circuit also includes a backup battery charging and discharging circuit, which is connected to the main control circuit for charging and discharging the backup battery and sending a backup battery status signal of the backup battery to the main control circuit.

[0059] Among them, the backup battery charging and discharging circuit can use a backup battery charging and discharging chip. When the input voltage is charged, the charging and discharging circuit charges the backup battery. After detecting that the charging is completed, the charging is stopped. The main control circuit reads the backup battery status signal of the charging and discharging chip, and judges the backup battery status according to the backup battery status signal and sends it to the main control circuit.

[0060] As a further implementation of the host power protection circuit, the host power protection circuit also includes a switching circuit, which is respectively connected to the main control circuit and the voltage detection circuit, and is used to switch the connection to one of the voltage detection sub-circuits according to a switching selection signal of the main control circuit.

[0061] In a specific embodiment of the present application, Figure 2 As shown, the main control circuit includes a main control chip U1 and its peripheral circuits. The main control circuit is used to connect a voltage detection circuit, a current detection circuit, a backup battery charging and discharging circuit and a host computer. The peripheral circuit includes a crystal oscillator circuit and a power indication circuit. The crystal oscillator circuit is used to provide a clock to the main control chip, and the power indication circuit is used to indicate the power supply and working status of the main control chip.

[0062] Among them, when the main control circuit detects that the input voltage of the power supply circuit is powered off, it outputs a power-off signal to the host computer. After receiving the power-off signal, the host computer starts the shutdown program. The main control circuit detects the power supply current of the host computer. When the power supply current is zero, it confirms that the host computer is shut down and controls each sub-power supply circuit to shut down. At this time, the backup battery is used for power supply, and the main control circuit enters low power consumption mode.

[0063] Reference Figure 3As shown, as a further implementation of the host power protection circuit, the host power protection circuit also includes an input power control circuit, which is connected to the main control circuit and the power circuit respectively, and includes a first switch circuit and a second switch circuit connected in sequence, the first switch circuit is used to receive the power supply control signal of the main control circuit, and control the connection or disconnection of the input voltage of the power circuit, and the second switch circuit is used to control the closing or shutting down of the first switch circuit.

[0064] When the second switch circuit is turned on, the first switch circuit is turned on to provide input voltage to the host, and when the first switch circuit is turned off, the second switch circuit is turned off to disconnect the input voltage of the host.

[0065] Specifically, the first switch circuit includes a P-type first power tube Q1, a first input end of the first power tube Q1 is connected to the input voltage end VCC-12V, a second input end is connected to the system power supply voltage end VSYS-12V, a control end is respectively connected to one end of a resistor R55 and one end of a resistor R62, and the other end of the resistor R55 is connected to the input power supply voltage end VCC-12V;

[0066] The second switch circuit includes an N-type second power tube Q2, the input end of the second power tube Q2 is connected to the other end of the resistor R62, the output end thereof is grounded, the control end thereof is connected to one end of the resistor R63, one end of the resistor R64, and one end of the capacitor C49, the other end of the resistor R63 is connected to the VSYS-12V-ON signal output end of the main control circuit and one end of the resistor R60, the other end of the capacitor C49 and the other end of the resistor R64 are grounded, the other end of the resistor R60 is connected to one end of the resistor R53, and the other end of the resistor R53 is connected to the system power supply voltage end VSYS-12V; a voltage stabilizing diode D11 and a filter capacitor C47 are also connected in parallel between the system power supply voltage end VSYS-12V and the ground.

[0067] The working principle of the input power control circuit is as follows:

[0068] After the input voltage VCC-12V is powered on, due to the existence of resistor R55, the first power tube Q1 is cut off, and the system power supply voltage terminal VSYS-12V has no voltage output. The second power tube Q2 is also cut off due to the low potential of the control terminal, ensuring that when the main control circuit has no output, the entire system power supply voltage terminal has no output.

[0069] When the main control circuit outputs a high-level VSYS-12V-ON signal, the second power tube Q2 controls an extremely high level, the second power tube Q2 is turned on, the control electrode potential of the first power tube Q1 is pulled down, the first power tube Q1 is turned on, and the system power supply voltage terminal VSYS-12V has a voltage output. At the same time, the series resistors R53, R60, R63, and R64 divide the voltage of the system power supply voltage terminal VSYS-12V, and clamp the control electrode of the second power tube Q2 at a high level, ensuring that the first power tube Q1 is continuously turned on to provide the entire system voltage.

[0070] like Figure 4 As shown, as an implementation of the sub-power supply circuit, the first sub-power supply circuit includes a power supply circuit for voltage stabilization and filtering of the input voltage. In a specific embodiment of the present application, the input voltage is 12V. The second sub-power supply circuit and the third sub-power supply circuit have the same structure and are used to convert the 12V input voltage into a 5V or / 3.3V voltage, wherein the 5V power supply circuit is included. Specifically, the first sub-power supply circuit includes a first power supply chip U2 and its peripheral circuits. The input voltage of the first power supply chip U2 is connected to the system voltage terminal VSYS-12V, and its enable terminal EN is connected to one end of the resistor R5, one end of the resistor R10, one end of the capacitor C11, and the first power supply enable signal RM-POWE-ON output terminal of the main control circuit. Its output terminal outputs the UA-5V voltage after passing through the inductor L1.

[0071] When the first power enable signal RM-POWE-ON of the main control circuit is at a low level and the control circuit is at a high level, the enable terminal EN is at a high level, the first power chip U2 works and outputs a 5V voltage. When the first power enable signal RM-POWE-ON of the main control circuit is at a low level, the first power chip U2 does not work.

[0072] The sampling circuit includes resistors R6 / R9 connected in series, which are connected in parallel to the output end of the first power circuit, and the series connection point is connected to the sampling end FB of the first power chip U2 for detecting the output of the first power supply.

[0073] Reference Figure 5As shown, in a specific embodiment of the present application, the fourth sub-power supply circuit includes a 5V power supply circuit and a 3.3V power supply circuit, the 5V power supply circuit also includes a restart button, the 5V power supply circuit includes a second power supply chip U3 and its peripheral circuits, the input end of the second power supply chip U3 is connected to one end of the resistor R51, one end of the resistor R57, one end of the capacitor C42, and one end of the capacitor C43, the other end of the resistor R51 is connected to the input voltage terminal VCC-12V, the other end of the resistor R57 is connected to one end of the resistor R56 and the SHDN end of the second power supply chip U3, and the other end of the resistor R56 is grounded. Its output end is connected to one end of the inductor L4, and the other end of the inductor L4 is used as a power output end for outputting a VCC-5V voltage.

[0074] A restart switch is connected between the SHDN terminal of the second power chip U3 and the ground for restarting the power supply.

[0075] A sampling circuit is connected in parallel between the output end of the 5V power supply circuit and the ground. The sampling circuit includes a series resistor combination. The series resistor combination includes resistors R61, R59, and R58 connected in series. The series point of resistors R59 and R58 is connected to the sampling end FB of the second power supply chip U3.

[0076] The VCC-5V voltage is converted into a VCC-3.3V voltage through the fourth power chip U4.

[0077] like Figure 6 As shown, in another specific embodiment of the present application, the 3.3V power supply circuit includes a fourth power supply chip U5 for converting a 5V voltage into a 3.3V voltage.

[0078] like Figure 7 As shown, the voltage detection subcircuit includes a resistor combination of three resistors R12 / R21 / R28 connected in series, and voltage sampling is performed at the series connection point of resistors R21 / R28. The combination of resistors R12 / R21 is to prevent the voltage from directly entering the main control chip pin when one resistor is damaged, causing damage to the main control chip.

[0079] The voltage detection subcircuit is used to detect the input voltage VIN-12V, the system 12V voltage SYS-12V, the system 5V voltage VSYS-5V, the control 5V voltage VB-5V, the battery voltage VBAT, and the power supply 5V voltage VCC-5V. Correspondingly, the corresponding sampling values ​​are respectively used to transmit to the main control circuit to determine whether the power is off.

[0080] like Figure 8As shown, the current detection circuit includes a current detection chip U6, and a resistor R4 is connected between the two current detection terminals I+ and I- of the current detection chip U6 to detect the current flowing through the VSYS-5V power supply and transmit the current detection signal ARM-POWER-CURRENT to the main control chip U1. When the main control chip U1 detects that the current detection signal is zero, it determines that the host computer has been shut down, and the main control chip U1 enters a low power consumption mode.

[0081] like Fig. 9 As shown, as an implementation of the switching circuit, the switching circuit is used to switch between the voltage detection sub-circuits, select one of them to transmit to the main control chip U1, and save the external pins of the main control chip U1.

[0082] Specifically, the switching circuit includes a selection circuit and a follower circuit connected in sequence. The selection circuit includes a selection circuit chip U7, which is an eight-select-one circuit. The output MCU-PC0 / MCU-PC1 / MCU-PC2 combination of the main control chip U1 selects one of the eight channels CH0-CH7 to be connected to the output terminal COM, and transmits the corresponding voltage detection signal to the MCU-PA4 terminal of the main control chip U1 through the follower circuit;

[0083] The follower circuit includes an amplifier U8, whose positive input terminal is connected to the output terminal COM of the switching circuit through a resistor R600, whose negative input terminal is connected to its output terminal through a resistor R598, and whose output terminal is connected to the MCU-PA4 terminal of the main control chip U1 through a resistor R599.

[0084] like Fig.10 As shown, the backup battery charging and discharging circuit includes a charging and discharging chip U9, the positive electrode of the diode D15 is connected to the input voltage VIN-12V, and the negative electrode thereof is connected to the negative electrode of the diode D16 and one end of the resistor R97, the other end of the resistor R97 is connected to one end of the capacitor C83 and the VACC end of the charging and discharging chip U9, the positive electrode of the diode D16 is connected to the backup battery voltage end, the other end of the capacitor C83 is grounded, the input voltage VIN-12V and the backup battery simultaneously power the charging and discharging chip U9, when the backup battery voltage is greater than the input voltage, the backup battery is powered, and when the input voltage is greater than the backup battery voltage, the input voltage is powered.

[0085] Two power tubes Q4 / Q5 are arranged between the input voltage VIN-12V and the power supply voltage VCC-12V. The output end of the power tube Q4 is connected to the output end of the power tube Q5, and is connected to the CMSRC end of the charge and discharge chip U9 through a resistor R88. It is connected to the control end of the power tube Q4 and the control end of the power tube Q5 through a resistor R81. A capacitor C69 is connected in parallel at both ends of the resistor R81. The input end of the power tube Q4 is connected to the input voltage VIN-12V end, and the input end of the power tube Q5 is connected to the power supply voltage VCC-12V end through a resistor R79.

[0086] The control end of the power tube Q4 and the control end of the power tube Q5 are connected to the ACDRV end of the charge and discharge chip U9 through the resistor R87. According to the ACDRV signal, the conduction or cutoff of the two power tubes Q4 / Q5 is controlled.

[0087] The series combination of series resistors R86 / R92 / R102 is connected in parallel between the input voltage VIN-12V and the ground. The series point of resistors R92 / R102 is connected to the OVPSET terminal of the charge and discharge chip U9 as a voltage setting point. When the voltage at the voltage setting point is greater than the first setting value or less than the second setting value, the input voltage is judged to be overvoltage, the power tube Q4 / Q5 is turned off, and an alarm signal is output at the STAT terminal of the charge and discharge chip U9. The VREF terminal of the charge and discharge chip U9 is grounded through the capacitor C87, which outputs a 3.3V reference voltage for programming the ISET / ACSET / TS terminal.

[0088] The ISET terminal is connected to the VREF terminal through a resistor R94 and is grounded through a resistor R95. The fast charging current is set by resistors R94 and R95.

[0089] The ACSET terminal is connected to the VREF terminal through a resistor R98 and is grounded through a resistor R99. The input current is set by resistors R98 and R99.

[0090] The TS terminal is used for temperature confirmation voltage input, connected to one end of the resistor R107, connected to one end of the capacitor C85, the other end of the resistor R107, connected to one end of the thermistor RT, one end of the resistor R102, one end of the resistor R106, the other end of the resistor R102 is connected to the VREF terminal, the other end of the resistor R106 and the other end of the capacitor C85 are grounded. The thermistor RT has a negative temperature coefficient.

[0091] The STATA terminal is open drain and is used to drive the LED or communicate with the main control circuit. It outputs a low level when charging is in progress, a high level when charging is complete or in sleep mode, and flashes when a fault occurs.

[0092] The SW terminal is connected to one end of the inductor L6 and one end of the voltage zener diode D17, the other end of the voltage zener diode D17 is grounded, the other end of the inductor L6 is connected to the SRP terminal and one end of the resistor R90, the other end of the resistor R90 is connected to one end of the resistor R91, the output end of the power tube Q6, one end of the resistor R96, the other end of the resistor R96 is connected to the SRN terminal. The other end of the resistor R91 is connected to the positive end of the backup battery.

[0093] A series combination of resistors R100 / R109 is connected between the positive terminal of the backup battery and the ground, and the series connection point is used as the backup battery voltage sampling value VREF.

[0094] The input end of the power tube Q6 is connected to the power supply voltage VCC-12V end, and its control end is connected to the BATDRV end through the resistor R89. The control end of the power tube Q6 is also connected to the power supply voltage VCC-12V end through the resistor R82 and is grounded through the resistor R83.

[0095] When the charge and discharge chip U9 detects that the input voltage is powered off, the power tube Q4 / Q5 is turned off, the power tube Q6 is turned on, and the backup battery provides the power supply voltage VCC-12V.

[0096] The charge and discharge chip charges the backup battery when the input voltage is normal.

[0097] In this application, the power supply circuit provides power supplies of different voltages to the host and the host's host computer. By detecting the input voltage of the power supply circuit, it is determined that a power failure occurs when the input voltage is detected to be lower than a set threshold. When the power fails, the main control circuit turns off each voltage output in the power supply circuit, turns off the host, and the backup battery continues to supply power to the main control circuit and the host computer. The main control circuit turns off all DC-DC power supplies except the host computer power supply. At the same time, the main control circuit sends a power failure signal to the host computer. After receiving the power failure signal, the host computer saves relevant data and prompts a power supply abnormality, and starts the shutdown procedure. The main control circuit performs current detection on the host computer power supply, and enters a low power consumption mode when it detects that there is no current in the host computer power supply.

[0098] In low power consumption mode, the voltage detection circuit detects whether the input voltage reaches the set threshold. When the input voltage does not reach the set threshold, if the power button is pressed, the main control circuit detects that the input voltage is lower than the set threshold, sends a power supply abnormality signal, and controls the first sub-power supply circuit to shut down, so that the host cannot be turned on.

[0099] The embodiment of the utility model also discloses a host.

[0100] A host comprises the above-mentioned host power protection circuit; the host power protection circuit protects the host power supply to ensure that no data is lost when the host computer loses power, and prevents the host from restarting when powered by a backup battery.

[0101] The above are all preferred embodiments of the present utility model, and are not intended to limit the protection scope of the present utility model. Therefore, any equivalent changes made based on the structure, shape, and principle of the present utility model should be included in the protection scope of the present utility model.

Claims

1. A host power protection circuit, characterized in that: It includes a power supply circuit, a voltage detection circuit, a main control circuit and a current detection circuit; The power supply circuit is connected to the host and the host computer, and is used to convert the input voltage into different supply voltages to supply power to the host and the host computer respectively; The voltage detection circuit is connected to the power supply circuit and is used to detect the input voltage and output a voltage detection signal; The current detection circuit is connected to the power supply circuit, and is used to detect the power supply current of the host computer and output a current detection signal; The main control circuit is connected to the voltage detection circuit, and is used to respond to the voltage detection signal, output a power-off signal to the power supply circuit and the host computer, and switch to the backup battery to power the host computer and the host computer; wherein the power supply circuit is used to disconnect the power supply to the host computer and the host computer in response to the power-off signal, and the host computer is used to respond to the power-off signal and execute a shutdown procedure; The main control circuit is also connected to the current detection circuit, and is used to output a low power consumption control signal in response to the current detection signal to switch to a low power consumption mode.

2. A host power protection circuit according to claim 1, characterized in that: The power supply circuit includes a plurality of sub-power supply circuits, which are used to convert the input voltage into different power supply voltages through the plurality of sub-power supply circuits to respectively power the host computer and the host computer; The plurality of sub-power supply circuits include: a first sub-power supply circuit for supplying power to the host computer and a second sub-power supply circuit for supplying power to the host computer.

3. A host power protection circuit according to claim 2, characterized in that: The voltage detection circuit includes: a voltage detection subcircuit for detecting the input voltage, a first voltage detection subcircuit for detecting the supply voltage of the first sub-power supply circuit, and a second voltage detection subcircuit for detecting the supply voltage of the second sub-power supply circuit.

4. A host power protection circuit according to claim 3, characterized in that: Each of the voltage detection sub-circuits has the same structure, including a resistor combination of at least three resistors connected in series, one end of the first resistor is connected to the power supply end, and the other end is connected to one end of the second resistor; one end of the third resistor is connected to the other end of the second resistor, and the other end is grounded; the voltage detection sampling point is set between the second resistor and the third resistor.

5. A host power protection circuit according to claim 4, characterized in that: It also includes a switching circuit, which is connected to the main control circuit and the voltage detection circuit respectively, and is used to switch to one of the voltage detection sub-circuits according to a switching selection signal of the main control circuit.

6. A host power protection circuit according to claim 5, characterized in that: The switching circuit comprises a selection circuit and a follower circuit connected in sequence, wherein the selection circuit is used to switch one of the voltage detection sub-circuits to be connected to the follower circuit according to a switching selection signal of the main control circuit; The follower circuit is used to transmit the voltage detection result of one of the voltage detection sub-circuits to the main control circuit.

7. The host power protection circuit according to claim 1, characterized in that: It also includes a backup battery charging and discharging circuit, which is connected to the main control circuit and is used to charge and discharge the backup battery and send a backup battery status signal of the backup battery to the main control circuit.

8. The host power protection circuit according to claim 1, characterized in that: The main control circuit includes a main control chip.

9. The host power protection circuit according to claim 1, characterized in that: It also includes an input power supply control circuit, which is connected to the main control circuit and the power supply circuit respectively, including a first switch circuit and a second switch circuit connected in sequence, the first switch circuit is used to receive the power supply control signal of the main control circuit and control the connection or disconnection of the input voltage of the power supply circuit, and the second switch circuit is used to control the closing or disconnection of the first switch circuit.

10. A host, characterized in that: It includes a host power protection circuit as described in any one of claims 1-9.