Hardware circuit for preventing repeated restart of power supply and electronic equipment
By designing a hardware circuit including voltage comparator, voltage regulator, MOS tube, transistor and switching components, the problem of repeated restart of UPS power supply is solved, and high reliability and stability during power use is achieved.
Patent Information
- Application Number
- CN202421776165.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2025-05-09
- Estimated Expiration
- 2034-07-25
AI Technical Summary
When the battery is low or the powered device is overloaded, it may cause repeated restarts, resulting in equipment damage and system instability. The prior art mainly relies on software control, increases system complexity and cost, and is susceptible to external interference.
Design a hardware circuit, including a voltage comparator, voltage regulator, MOS tube, transistor and switching components. By monitoring the voltage of the main power supply and backup power supply, the switching element switching circuit is used to ensure that when the main power supply voltage is below the set threshold, it is automatically switched to the backup power supply to prevent the power supply from restarting repeatedly.
Effectively prevent the UPS power supply from restarting repeatedly, improve the reliability and stability during power use, reduce the risk of equipment damage, and do not increase system complexity and cost.
Smart Images

Figure CN222852174U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of electronic technology, in particular to a hardware circuit and electronic equipment for preventing power from being repeatedly restarted. Background Art
[0002] UPS (Uninterruptible Power Supply) is used to provide temporary power support when power is interrupted or voltage fluctuates to ensure that the equipment connected to the UPS can continue to operate normally. It is usually used to protect equipment that requires high reliability of power supply, such as computers, servers, network equipment and communication equipment. UPS power supplies are generally divided into two types: external power supply circuit and backup battery power supply circuit. When the battery of the UPS power supply is low or the powered device connected to the UPS is overloaded. The UPS will start the built-in battery to provide continuous power supply, and automatically switch back to the external power grid after power is restored, which will cause the UPS power supply to restart and the back-end powered device to restart. When the powered device is turned on, instantaneous current shock and voltage fluctuations will occur. These fluctuations may exceed the carrying capacity of the UPS power supply or cause the UPS power supply to misjudge that the external power grid is out of power, thereby triggering the UPS power supply to switch to battery power supply, causing the UPS power supply to restart repeatedly.
[0003] Frequent repeated restarts can cause damage to the connected powered devices, especially during startup, when additional pressure and current shocks will be generated, making the device more prone to failure or damage, and causing system instability. In the prior art, software control methods are generally used to avoid repeated restarts. That is, the voltage value of the battery is read through the ADC pin of the CPU (Central Processing Unit) central processing unit, and when the voltage value is lower than the preset voltage value, the UPS power supply is actively shut down and no longer outputs. However, using the CPU and ADC for voltage monitoring and control requires additional software programming and hardware design, which increases the complexity and cost of the system. In addition, software control is more susceptible to external interference or software failures, which may lead to misoperation or unpredictable system behavior. Utility Model Content
[0004] The utility model aims to provide a hardware circuit and electronic equipment for preventing a power supply from being repeatedly restarted, so as to solve the above-mentioned technical problems and improve the reliability and stability of the power supply during use.
[0005] In a first aspect, the present application provides a hardware circuit for preventing a power supply from restarting repeatedly, which is applicable to a UPS power supply including a main power supply and a backup power supply, wherein the hardware circuit for preventing a power supply from restarting repeatedly includes: a voltage comparator, a voltage regulator tube, a first MOS tube, a first triode, a switch element, and a first capacitor;
[0006] The output terminal of the main power supply is connected to the positive input terminal of the voltage comparator;
[0007] The output end of the backup power supply is connected to the first end of the switch element;
[0008] The first end of the switch element is connected to the first end of the first capacitor, the first end of the voltage regulator tube, and the drain of the first MOS tube;
[0009] The second end of the first capacitor is connected to the positive input end of the voltage comparator;
[0010] The second end of the voltage regulator tube is connected to the negative input end of the voltage comparator;
[0011] The gate of the first MOS tube is connected to the collector of the first triode;
[0012] The base of the first transistor is connected to the output end of the voltage comparator.
[0013] In the above scheme, the output end of the main power supply is connected to the positive input end of the voltage comparator, and the negative input end of the voltage comparator is connected to the output end of the backup power supply, and the voltage comparator can monitor the voltage conditions of the main power supply and the backup power supply at the same time. The first end of the switch element is connected to the first end of the first capacitor, the first end of the voltage regulator tube and the drain of the first MOS tube. When the voltage comparator detects that the voltage of the main power supply is lower than the set threshold, the output end can output a signal in time to make the switch element switch the circuit connection, so as to connect the backup power supply to the main circuit. The gate of the first MOS tube is connected to the collector of the first triode, which can be used to control the state of the switch element, so as to realize the switching of the circuit and the protection of the power supply. Further, the first capacitor is connected to the positive input end of the voltage comparator and the switch element, which can be used to smooth and stabilize the voltage changes in the circuit and improve the stability of the power supply during use. The present application provides a hardware circuit for preventing the power supply from restarting repeatedly. When the voltage of the main power supply drops below the set threshold, the voltage comparator will trigger the switch element to operate, so that the backup power supply takes over the power supply of the circuit, thereby effectively preventing the power supply from restarting repeatedly. This hardware circuit design not only ensures the reliability and stability of the system, but also responds to changes in power status in real time. It is suitable for UPS power systems that require efficient and reliable power management.
[0014] In one implementation, the output terminal of the main power supply is connected to the positive input terminal of the voltage comparator, specifically including:
[0015] The output end of the main power supply is connected to the positive input end of the voltage comparator through a first resistor module, a first diode and a third resistor; wherein the first resistor module includes a first resistor and a second resistor;
[0016] The output end of the main power supply is connected to the first end of the first resistor;
[0017] The second end of the first resistor is connected to the first end of the second resistor and the anode of the first diode;
[0018] The second end of the second resistor is grounded;
[0019] The cathode of the first diode is connected to the first end of the third resistor;
[0020] The second end of the third resistor is connected to the positive input end of the voltage comparator.
[0021] In one implementation, the second end of the first capacitor is connected to the positive input end of the voltage comparator, specifically including:
[0022] The second end of the first capacitor is connected to the positive input end of the voltage comparator through the first resistor voltage stabilizing module and the second resistor voltage stabilizing module; wherein the first resistor voltage stabilizing module includes a fourth resistor, a fifth resistor, a second diode and a third diode, and the second resistor voltage stabilizing module includes a sixth resistor, a seventh resistor and a fourth diode;
[0023] The second end of the first capacitor is connected to the first end of the fourth resistor and the cathode of the second diode;
[0024] The second end of the fourth resistor is connected to the first end of the fifth resistor and the anode of the third diode;
[0025] The cathode of the third diode is connected to the cathode of the fourth diode and the anode of the first diode;
[0026] The anode of the fourth diode is connected to the second end of the sixth resistor and the first end of the seventh resistor;
[0027] An anode of the second diode, a second end of the fifth resistor, and a second end of the seventh resistor are grounded.
[0028] In one implementation, the second end of the voltage regulator is connected to the negative input end of the voltage comparator, specifically including:
[0029] The voltage regulator is connected to the negative input terminal of the voltage comparator through the second resistor module; wherein the negative input terminal includes an eighth resistor and a ninth resistor;
[0030] The second end of the voltage regulator tube is connected to the first end of the eighth resistor;
[0031] The second end of the eighth resistor is connected to the first end of the ninth resistor and the negative input end of the voltage comparator;
[0032] A second end of the ninth resistor is grounded.
[0033] In one implementation, the base of the first transistor is connected to the output terminal of the voltage comparator, specifically:
[0034] The base of the first transistor is connected to the output end of the voltage comparator through the tenth resistor; wherein the base of the first transistor is connected to the first end of the tenth resistor; and the second end of the tenth resistor is connected to the output end of the voltage comparator.
[0035] In one implementation, the hardware circuit for preventing the power supply from restarting repeatedly further includes a boost chip, specifically:
[0036] The source of the first MOS tube is connected to the input end of the boost chip;
[0037] The output end of the boost chip is connected to a powered device.
[0038] In a second aspect, the present application also provides an electronic device, comprising the hardware circuit for preventing repeated power restart as described above. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 The present invention is a schematic diagram of the connection relationship of a hardware circuit for preventing repeated power restarts provided in one embodiment of the present invention. DETAILED DESCRIPTION
[0040] The following is a further detailed description of the specific implementation of the present invention in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0041] The terms "first" and "second" and the like in the specification, claims and drawings of this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0042] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0043] Example 1
[0044] See also Figure 1 , Figure 1 The figure is a schematic diagram of the connection relationship of a hardware circuit for preventing power from restarting repeatedly provided in an embodiment of the utility model. The embodiment of the utility model provides a hardware circuit for preventing power from restarting repeatedly, which is applicable to a UPS power supply including a main power supply and a backup power supply. The hardware circuit for preventing power from restarting repeatedly includes: a voltage comparator U1, a voltage regulator U2, a first MOS tube Q2, a first triode Q1, a switch element K1 and a first capacitor C1;
[0045] The output end of the main power supply is connected to the positive input end of the voltage comparator U1;
[0046] The output end of the backup power supply is connected to the first end of the switch element K1;
[0047] The second end of the switch element K1 is connected to the first end of the first capacitor C1, the first end of the voltage regulator tube U2, and the drain of the first MOS tube Q2;
[0048] The second end of the first capacitor C1 is connected to the positive input end of the voltage comparator U1;
[0049] The second end of the voltage regulator tube U2 is connected to the negative input end of the voltage comparator U1;
[0050] The gate of the first MOS transistor Q2 is connected to the collector of the first transistor Q1;
[0051] The base of the first transistor Q1 is connected to the output end of the voltage comparator U1.
[0052] In the embodiment of the utility model, the voltage comparator U1 adopts RUNIC's LM331 comparator, and the positive input terminal of the comparator is connected to the main power supply, and the negative input terminal is connected to the backup power supply. The comparator is used to compare the size of the power supply voltage at both ends of the input pin to determine the level of the output. The voltage regulator U2 adopts the voltage regulator chip BX84C5V1 to provide a stable reference power supply for the voltage comparator. It should be noted that different types of voltage regulator chips can be selected accordingly according to the different voltages that need to be stabilized. Then, the first transistor Q1 and the first MOS tube Q2 are connected to the output end of the voltage comparator, and the on and off of the power supply path are controlled by two switch tube devices. Preferably, in the embodiment of the utility model, two batteries connected in series are selected as the backup power supply, and the switching element K1 controls the opening and closing of the backup power supply.
[0053] In one embodiment, the output end of the main power supply is connected to the positive input end of the voltage comparator, specifically including: the output end of the main power supply is connected to the positive input end of the voltage comparator U1 through a first resistor module, a first diode D1 and a third resistor R9; wherein the first resistor module includes a first resistor R3 and a second resistor R4; the output end of the main power supply is connected to the first end of the first resistor R3; the second end of the first resistor R3 is connected to the first end of the second resistor R4 and the positive electrode of the first diode D1; the second end of the second resistor R4 is grounded; the cathode of the first diode D1 is connected to the first end of the third resistor R9; the second end of the third resistor R9 is connected to the positive input end of the voltage comparator U1.
[0054] In the embodiment of the utility model, the reference voltage is generated by the voltage regulator, and the main power supply is connected to the positive input terminal of the voltage comparator through a number of resistors and diodes. When the main power supply has an input VIN, the voltage at the positive input terminal of the comparator can be made greater than the voltage at the negative input terminal by adjusting the first resistor R3 and the second resistor R4, so that the comparator outputs a high level, and the first MOS tube Q2 is turned on through the inverting action of the first transistor Q1, and the power supply path is turned on at this time. Preferably, in the embodiment of the utility model, the first transistor Q1 is an NPN tube, and the first MOS tube is a PMOS tube. Preferably, the reference reference voltage source generated by the voltage regulator is 5.1V, and the main power supply is 12V for example. At this time, the voltage of the voltage regulator U2 after passing through two voltage-dividing resistors is 2.65V at the negative input terminal of the voltage comparator U1, and the voltage-dividing voltage between the first resistor R3 and the second resistor R4 is 6V. The voltage drop on the first diode D1 is about 0.5V, so the voltage at the positive input terminal of the voltage comparator U1 is 5.5V, which is greater than the negative input terminal voltage, and the first MOS tube can be turned on at this time.
[0055] In one embodiment, the second end of the first capacitor C1 is connected to the positive input end of the voltage comparator U1, specifically comprising: the second end of the first capacitor C1 is connected to the positive input end of the voltage comparator U1 through a first resistor voltage stabilizing module and a second resistor voltage stabilizing module; wherein the first resistor voltage stabilizing module comprises a fourth resistor R7, a fifth resistor R8, a second diode D4 and a third diode D3, and the second resistor voltage stabilizing module comprises a sixth resistor R5, a seventh resistor R6 and a fourth diode D2; the second end of the first capacitor C1 is connected to the first end of the fourth resistor R7 and the cathode of the second diode D4; the second end of the fourth resistor R7 is connected to the first end of the fifth resistor R8 and the anode of the third diode D3; the cathode of the third diode D3 is connected to the cathode of the fourth diode D2 and the anode of the first diode D1; the anode of the fourth diode D2 is connected to the second end of the sixth resistor R5 and the first end of the seventh resistor R6; the anode of the second diode D4, the second end of the fifth resistor R8 and the second end of the seventh resistor R6 are grounded.
[0056] In the embodiment of the utility model, when there is no input VIN in the main power supply, the backup power supply can be connected to the power supply path through the fluctuation switch element K1, so that the first MOS tube Q2 is turned on, and then the power supply path is turned on. When the switch element K1 is turned on, the positive electrode of the first capacitor will immediately have a voltage and equal to the voltage value of the backup power supply. Preferably, the first capacitor in the embodiment of the utility model adopts an electrolytic capacitor. Based on the characteristic of the electrolytic capacitor that "the voltage on both sides cannot change suddenly", one end of the first capacitor C1 is connected to the backup battery through the switch element K1. When the switch element is turned on, the negative electrode of the first capacitor C1 will also quickly generate a voltage. Then the voltage is divided by the fourth resistor R7 and the fifth resistor R8, and then connected to the positive input terminal of the voltage comparator U1 through the third diode D3 and the third resistor R9. When the battery power is high, the positive input terminal voltage of the voltage comparator is also greater than the negative input terminal voltage, and the first MOS tube of the rear stage can also be turned on, and the power supply path is opened. Preferably, in the embodiment of the utility model, the voltage of the battery in the backup power supply is set to be greater than 6.8V, and 6.8V is used as an example. When the switch element K1 is turned on, since the voltage of the first capacitor C1 cannot change suddenly, the negative electrode of the first capacitor C1, that is, the second end, will generate a voltage of 6.8V. After the fourth resistor R7 and the fifth resistor R8 divide the voltage, a voltage of 3.15V is obtained. Because there is a voltage drop of 0.5V of the first diode, the voltage connected to the positive input end of the voltage comparator U1 is 2.65V, which is still greater than the negative input end voltage, and the battery path is turned on. When the main power supply has an input VIN, the first MOS tube can always maintain a conducting state, that is, the power supply path remains conducting. When the main power supply does not have an input VIN, the power supply path can be turned on by switching the state of the switch element. Further, in the second voltage stabilizing module, when the sixth resistor R5 and the seventh resistor R6 are turned on, there is also a voltage at both ends. By adjusting the sixth resistor R5 and the seventh resistor R6, the voltage at the positive input end of the voltage comparator can always be higher than the voltage at the negative input end, thereby ensuring that the first MOS tube Q2 always maintains a conducting state.
[0057] In one embodiment, the second end of the voltage regulator U2 is connected to the negative input end of the voltage comparator U1, specifically including: the voltage regulator U2 is connected to the negative input end of the voltage comparator U1 through a second resistor module; wherein the negative input end includes an eighth resistor R1 and a ninth resistor R2; the second end of the voltage regulator U2 is connected to the first end of the eighth resistor R1; the second end of the eighth resistor R1 is connected to the first end of the ninth resistor R2 and the negative input end of the voltage comparator U1; the second end of the ninth resistor R2 is grounded.
[0058] In the embodiment of the utility model, two voltage-dividing resistors are arranged between the voltage-stabilizing tube U2 and the voltage comparator U1, and the input voltage is adapted to the range that the voltage comparator can effectively detect and process through the voltage-dividing resistors. It can ensure that the input of the voltage comparator is within its working range, and improve the stability and accuracy of the system. After the stable voltage output by the voltage-stabilizing tube is divided by two stages, the ripples and noise of the voltage can be reduced, and the voltage comparator can obtain a stable and accurate input signal. It can also effectively reduce the errors and fluctuations in the voltage transmission process and improve the accuracy of detection.
[0059] In one embodiment, the base of the first transistor is connected to the output end of the voltage comparator, specifically: the base of the first transistor Q1 is connected to the output end of the voltage comparator U1 through the tenth resistor R10; wherein the base of the first transistor Q1 is connected to the first end of the tenth resistor R10; the second end of the tenth resistor R10 is connected to the output end of the voltage comparator U1. In the embodiment of the utility model, the output end of the voltage comparator is connected to the first transistor Q1 after passing through the tenth resistor R10, so as to adjust the current characteristics of the output end of the voltage comparator so that it is suitable for connecting to the needs of subsequent circuits or equipment.
[0060] In one embodiment, the hardware circuit for preventing the power supply from restarting repeatedly further includes a boost chip, specifically: the source of the first MOS tube is connected to the input end of the boost chip; the output end of the boost chip is connected to the powered device. In the embodiment of the utility model, the source of the first MOS tube is connected to a boost chip before output, and the output voltage is controlled and adjusted by the boost chip to facilitate the subsequent application of the powered device.
[0061] Furthermore, as another optimization solution of the embodiment of the utility model, an electronic device is also provided, including the constant current discharge circuit as described above.
[0062] The embodiment of the utility model provides a hardware circuit for preventing power supply from restarting repeatedly. The output end of the main power supply is connected to the positive input end of the voltage comparator, and the negative input end of the voltage comparator is connected to the output end of the backup power supply. The voltage comparator can monitor the voltage conditions of the main power supply and the backup power supply at the same time. The first end of the switch element is connected to the first end of the first capacitor, the first end of the voltage regulator tube and the drain of the first MOS tube. When the voltage comparator detects that the voltage of the main power supply is lower than the set threshold, the output end can output a signal in time to make the switch element switch the circuit connection, so as to connect the backup power supply to the main circuit. The gate of the first MOS tube is connected to the collector of the first triode, which can be used to control the state of the switch element, so as to realize the switching of the circuit and the protection of the power supply. Further, the first capacitor is connected to the positive input end of the voltage comparator and the switch element, which can be used to smooth and stabilize the voltage change in the circuit and improve the stability of the power supply during use. The hardware circuit for preventing power supply from restarting repeatedly provided by the present application, when the voltage of the main power supply drops below the set threshold, the voltage comparator will trigger the switch element operation, so that the backup power supply takes over the circuit power supply, thereby effectively preventing the power supply from restarting repeatedly. This hardware circuit design not only ensures the reliability and stability of the system, but also responds to changes in power status in real time. It is suitable for UPS power systems that require efficient and reliable power management.
[0063] The above are only preferred implementations of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and substitutions can be made without departing from the technical principles of the present invention. These improvements and substitutions should also be regarded as the protection scope of the present invention.
Claims
1. A hardware circuit for preventing power from being repeatedly restarted, characterized in that: Applicable to a UPS power supply including a main power supply and a backup power supply, the hardware circuit for preventing the power supply from restarting repeatedly comprises: a voltage comparator, a voltage regulator tube, a first MOS tube, a first triode, a switch element and a first capacitor; The output terminal of the main power supply is connected to the positive input terminal of the voltage comparator; The output end of the backup power supply is connected to the first end of the switch element; The second end of the switch element is connected to the first end of the first capacitor, the first end of the voltage regulator tube, and the drain of the first MOS tube; The second end of the first capacitor is connected to the positive input end of the voltage comparator; The second end of the voltage regulator tube is connected to the negative input end of the voltage comparator; The gate of the first MOS tube is connected to the collector of the first triode; The base of the first transistor is connected to the output end of the voltage comparator.
2. A hardware circuit for preventing power from restarting repeatedly according to claim 1, characterized in that: The output end of the main power supply is connected to the positive input end of the voltage comparator, specifically comprising: The output end of the main power supply is connected to the positive input end of the voltage comparator through a first resistor module, a first diode and a third resistor; wherein the first resistor module includes a first resistor and a second resistor; The output end of the main power supply is connected to the first end of the first resistor; The second end of the first resistor is connected to the first end of the second resistor and the anode of the first diode; The second end of the second resistor is grounded; The cathode of the first diode is connected to the first end of the third resistor; The second end of the third resistor is connected to the positive input end of the voltage comparator.
3. A hardware circuit for preventing power from being repeatedly restarted according to claim 2, characterized in that: The second end of the first capacitor is connected to the positive input end of the voltage comparator, specifically comprising: The second end of the first capacitor is connected to the positive input end of the voltage comparator through the first resistor voltage stabilizing module and the second resistor voltage stabilizing module; wherein the first resistor voltage stabilizing module includes a fourth resistor, a fifth resistor, a second diode and a third diode, and the second resistor voltage stabilizing module includes a sixth resistor, a seventh resistor and a fourth diode; The second end of the first capacitor is connected to the first end of the fourth resistor and the cathode of the second diode; The second end of the fourth resistor is connected to the first end of the fifth resistor and the anode of the third diode; The cathode of the third diode is connected to the cathode of the fourth diode and the anode of the first diode; The anode of the fourth diode is connected to the second end of the sixth resistor and the first end of the seventh resistor; An anode of the second diode, a second end of the fifth resistor, and a second end of the seventh resistor are grounded.
4. A hardware circuit for preventing power from being repeatedly restarted according to claim 1, characterized in that: The second end of the voltage regulator is connected to the negative input end of the voltage comparator, specifically comprising: The voltage regulator is connected to the negative input terminal of the voltage comparator through the second resistor module; wherein the negative input terminal includes an eighth resistor and a ninth resistor; The second end of the voltage regulator tube is connected to the first end of the eighth resistor; The second end of the eighth resistor is connected to the first end of the ninth resistor and the negative input end of the voltage comparator; A second end of the ninth resistor is grounded.
5. A hardware circuit for preventing power from restarting repeatedly according to claim 1, characterized in that: The base of the first transistor is connected to the output end of the voltage comparator, specifically: The base of the first transistor is connected to the output end of the voltage comparator through the tenth resistor; wherein the base of the first transistor is connected to the first end of the tenth resistor; and the second end of the tenth resistor is connected to the output end of the voltage comparator.
6. A hardware circuit for preventing power from being repeatedly restarted according to claim 1, characterized in that: The hardware circuit for preventing the power supply from restarting repeatedly also includes a boost chip, specifically: The source of the first MOS tube is connected to the input end of the boost chip; The output end of the boost chip is connected to a powered device.
7. An electronic device, characterized in that: The invention comprises a hardware circuit for preventing the power supply from being repeatedly restarted as described in any one of claims 1 to 6.
Citation Information
Cited By
Emergency power supply starting circuit
CN117767723A
An emergency power starting circuit
CN117767723B