Power failure detection circuit and energy storage power supply

By combining the detection module, drive module, and level conversion module of the power failure detection circuit, a power failure signal is output in time before the input power supply fails, which solves the problem that the energy storage inverter power supply cannot back up data in time when power fails, and improves the stability and reliability of the power supply.

CN224190208UActive Publication Date: 2026-05-01SHENZHEN POWEROAK NEWENER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
SHENZHEN POWEROAK NEWENER CO LTD
Filing Date
2025-05-30
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

Existing energy storage inverters cannot detect and back up battery charging and discharging status and system operating parameters in a timely manner when the input power suddenly fails, which increases the risk of failure after the power is restarted and makes it difficult to meet the requirements for high reliability and stability.

Method used

A power failure detection circuit is adopted, including a detection module, a drive module, and a level conversion module. Through the combination of a voltage divider unit, a unidirectional conduction unit, and a charge/discharge unit, the power supply status is detected in real time and a control signal is output under preset conditions. The drive module converts the signal into a drive signal, and finally the level conversion module outputs a power failure signal to trigger data saving and backup power switching.

Benefits of technology

Before the input power is completely cut off, a power failure signal is output in a timely manner, which improves the timeliness of power failure detection, ensures circuit stability and data backup reliability, and reduces the risk of failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224190208U_ABST
    Figure CN224190208U_ABST
Patent Text Reader

Abstract

The utility model provides a power failure detection circuit and an energy storage power supply. The power failure detection circuit comprises a detection module, a driving module and a level conversion module. Wherein the input end of the detection module is connected with an input power supply, the driving module is connected with the output end of the detection module, and the level conversion module is connected with the driving module. Specifically, the detection module is used for outputting a detection signal in response to the state that the input end of the detection module is connected to an input power supply, and outputting a control signal when the detection signal reaches a preset condition; the driving module is used for outputting a driving signal based on the control signal; the level conversion module is used for outputting a power-down signal when receiving the driving signal. According to the invention, the power failure signal can be output in time before the input power supply is completely powered off, so that the timeliness of power failure detection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Power failure detection circuit and energy storage power supply Technical Field

[0001] This application relates to the field of electronic circuit technology, and in particular to a power failure detection circuit and an energy storage power supply. Background Technology

[0002] With the development of the energy storage inverter industry, users' demands for product experience are constantly increasing. However, a current problem exists: when the input power suddenly fails, the control circuit can only react passively, waiting until the power supply drops to the low-voltage protection threshold before shutting down the drive. This passive approach means that during the voltage drop to the threshold, it is impossible to back up important information such as battery charging / discharging status and system operating parameters in a timely manner. Once this information is lost, it will not only affect the normal operation after the power supply restarts, increasing the risk of failure, but also fail to meet users' demands for high reliability and stability in energy storage products. Therefore, a more efficient power failure detection solution is urgently needed. Summary of the Invention

[0003] This application provides a power failure detection circuit and an energy storage power supply, which can output a power failure signal in a timely manner before the input power is completely cut off, thereby improving the timeliness of power failure detection.

[0004] In a first aspect, embodiments of this application provide a power-down detection circuit, which includes a detection module, a driving module, and a level conversion module. The input terminal of the detection module is connected to an input power supply, the driving module is connected to the output terminal of the detection module, and the level conversion module is connected to the driving module. The detection module outputs a detection signal in response to the state where its input terminal is connected to the input power supply, and outputs a control signal when the detection signal reaches a preset condition; the driving module outputs a driving signal based on the control signal; and the level conversion module outputs a power-down signal upon receiving the driving signal.

[0005] In some embodiments, the detection module includes a voltage divider unit, a first unidirectional conductive unit, a first charge-discharge unit, a second charge-discharge unit, and a second unidirectional conductive unit. The voltage divider unit is connected in parallel with the first charge-discharge unit. The voltage dividing point of the voltage divider unit is connected to the first end of the first unidirectional conductive unit. The second end of the first unidirectional conductive unit is also connected to the second charge-discharge unit. The second charge-discharge unit is also connected to the driving module. The first end of the second unidirectional conductive unit is connected to the control terminal of the driving module. The second end of the second unidirectional conductive unit, the first charge-discharge unit, and the voltage divider unit are connected to the input power supply at a single point. The voltage divider unit is used to divide the voltage of the input power supply to obtain a divided voltage when the input power supply is powered on; the first unidirectional conductive unit is used to conduct when the voltage at its first terminal is greater than the voltage at its second terminal; the first charge-discharge unit is used to charge when the input power supply is powered on and to discharge through the voltage divider unit when the input power supply is powered off; the second charge-discharge unit is used to charge based on the divided voltage when the first unidirectional conductive unit is turned on; the second unidirectional conductive unit is used to conduct when the voltage of the first charge-discharge unit discharges to a level lower than the voltage of the second charge-discharge unit, so that the second charge-discharge unit discharges through the drive module and the voltage divider unit to generate the control signal.

[0006] In some embodiments, the voltage divider unit includes resistors R1 and R2. The first end of resistor R1 is connected to the input power supply, the second end of resistor R1 is connected to both the first end of resistor R2 and the first end of the first unidirectional conductive unit, and the second end of resistor R2 is grounded.

[0007] In some embodiments, the first unidirectional conductive unit includes a diode D2. The anode of the diode D2 is connected to the voltage dividing point of the voltage dividing unit, and the cathode of the diode D2 is connected to the second charging and discharging unit.

[0008] In some embodiments, the first charging / discharging unit includes a capacitor CE1. The positive terminal of the capacitor CE1 is connected to the input power supply, and the negative terminal of the capacitor CE1 is grounded.

[0009] In some embodiments, the second charging / discharging unit includes a capacitor CE2. The positive terminal of the capacitor CE2 is connected to both the first terminal of the first unidirectional conductive unit and the driving module, and the negative terminal of the capacitor CE2 is grounded.

[0010] In some embodiments, the second unidirectional conductive unit includes a diode D1. The anode of the diode D1 is connected to the control terminal of the drive module, and the cathode of the diode D1, the first charging / discharging unit, and the voltage divider unit are connected to the input power supply at a single point.

[0011] In some embodiments, the driving module includes a switch Q1, a resistor R3, and a resistor R4. The first terminal of the switch Q1 is connected to both the first terminal of the resistor R4 and the detection module. The second terminal of the switch Q1 is connected to the level conversion module. The control terminal of the switch Q1 is connected to both the second terminal of the resistor R4 and the first terminal of the resistor R3. The second terminal of the resistor R3 is connected to the detection module.

[0012] In some embodiments, the level conversion module includes a switch Q2, resistors R5, R6, and R7. The first end of resistor R6 is connected to the drive module, and the second end of resistor R6 is connected to both the control terminal of switch Q2 and the first end of resistor R5. The first end of switch Q2 is connected to the second end of resistor R7, the first end of resistor R7 is connected to a power supply, and the second end of switch Q2 is connected to the second end of resistor R5 and grounded. The first end of switch Q2 is the output terminal of the power-down signal.

[0013] Secondly, embodiments of this application provide an energy storage power supply, which includes the power failure detection circuit described above.

[0014] Unlike existing technologies, this application provides a power-down detection circuit and an energy storage power supply. The power-down detection circuit includes a detection module, a drive module, and a level conversion module. The input terminal of the detection module is connected to an input power supply, the drive module is connected to the output terminal of the detection module, and the level conversion module is connected to the drive module. Specifically, the detection module outputs a detection signal in response to the state of its input terminal being connected to an input power supply, and outputs a control signal when the detection signal reaches a preset condition. Based on this control signal, the drive module outputs a drive signal. The level conversion module converts the drive signal into a logic level compatible with the target circuit (such as an MCU), outputting a power-down signal, thereby triggering the target circuit (such as an MCU) to perform protection actions such as data saving and backup power supply switching. Thus, before the input power supply is completely de-energized, a power-down signal is output in a timely manner, providing response time for subsequent stages to promptly trigger backup power supply switching or data backup operations, improving the timeliness of power-down detection and enhancing circuit stability. Attached Figure Description

[0015] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0016] Figure 1 is a structural block diagram of a power failure detection circuit provided in an embodiment of this application;

[0017] Figure 2 is a structural block diagram of the detection module provided in an embodiment of this application;

[0018] Figure 3 is a schematic diagram of the circuit structure of a power failure detection circuit provided in an embodiment of this application. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0020] The technical features involved in the various embodiments of this application described below do not conflict with each other and can be combined with each other.

[0021] When an element is described as "connected" to another element, it can be directly connected to the other element, or there may be one or more intervening elements between them.

[0022] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and are not limited in number; for example, a first object can be one or more.

[0023] Please refer to Figure 1, which is a structural block diagram of a power failure detection circuit 100 provided in an embodiment of this application.

[0024] This application provides a power failure detection circuit 100, which includes a detection module 10, a driving module 20, and a level conversion module 30. The detection module 10 is connected to the input power supply Vin, the driving module 20 is connected to the detection module 10, and the level conversion module 30 is connected to the driving module 20.

[0025] Specifically, the detection module 10 outputs a detection signal in response to the state of its input terminal being connected to the input power supply Vin, and outputs a control signal when the detection signal reaches a preset condition. The drive module 20 outputs a drive signal based on the control signal. The level conversion module 30 outputs a power-down signal when it receives the drive signal.

[0026] The detection signal is the raw signal collected and output by the detection module 10 from the state of the input power supply Vin (such as voltage amplitude, fluctuation, power failure, etc.), which is used to reflect the real-time state of the input power supply Vin (such as normal power supply, voltage drop, power failure, etc.).

[0027] Specifically, the preset condition could be that the voltage of the detection signal is lower than a preset value; for example, the detection module 10 is equipped with a charging and discharging unit (e.g., an energy storage capacitor), which starts discharging when the input power supply Vin is de-energized, and the preset condition is that the voltage of the charging and discharging unit is lower than a preset value.

[0028] The control signal is the signal output by the detection module 10 when the detection signal meets the preset conditions, and is used to drive the subsequent drive module 20 to perform specific actions (such as outputting drive signals).

[0029] The drive signal is a signal converted by the drive module 20 from the control signal. It is usually a voltage signal (such as high level or low level) and is used to control the level conversion module 30 to output a power-down signal.

[0030] The power-down signal is the final output signal of the level conversion module 30, used to notify downstream circuits (such as MCUs, control systems, etc.) that the input power has been lost. Typically, the power-down signal is a standard logic level (such as 3.3V high or 0V low) for easy identification by digital circuits.

[0031] In practical applications, the detection module 10 responds to the status of the input power supply Vin connected to its input terminal by outputting a detection signal, and the detection module 10 outputs a control signal when the detection signal reaches a preset condition. This control signal is converted into a drive signal (such as a high / low level transition) by the drive module 20. The level conversion module 30 converts the drive signal into a logic level compatible with the target circuit (such as an MCU), outputting a power-down signal, thereby triggering the target circuit (such as an MCU) to perform protection actions such as data saving and backup power switching. Thus, before the input power supply Vin is completely de-energized, a power-down signal is output in time, providing response time for subsequent stages to promptly trigger backup power switching or data backup operations, improving the timeliness of power-down detection and enhancing circuit stability.

[0032] Please refer to Figure 2, which is a structural block diagram of the detection module 10 provided in an embodiment of this application.

[0033] In some embodiments, the detection module 10 includes a voltage divider unit 12, a first unidirectional conductive unit 13, a first charge-discharge unit 11, a second charge-discharge unit 14, and a second unidirectional conductive unit 15. The voltage divider unit 12 is connected in parallel with the first charge-discharge unit 11. The voltage divider point of the voltage divider unit 12 is connected to the first end of the first unidirectional conductive unit 13. The second end of the first unidirectional conductive unit 13 is also connected to the second charge-discharge unit 14. The second charge-discharge unit 14 is also connected to the drive module 20. The first end of the second unidirectional conductive unit 15 is connected to the control terminal of the drive module 20. The second end of the second unidirectional conductive unit 15, the first charge-discharge unit 11, and the voltage divider unit 12 are connected to the input power supply Vin at a single point.

[0034] Specifically, voltage divider unit 12 is used to divide the voltage of input power supply Vin to obtain a divided voltage when input power supply Vin is powered on. First unidirectional conductive unit 13 is used to conduct when the voltage at its first terminal is greater than the voltage at its second terminal. First charge / discharge unit 11 is used to charge when input power supply Vin is powered on and to discharge through voltage divider unit 12 when input power supply Vin is powered off. Second charge / discharge unit 14 is used to charge based on the divided voltage when first unidirectional conductive unit 13 is turned on. Second unidirectional conductive unit 15 is used to conduct when the voltage of first charge / discharge unit 11 discharges to a level lower than the voltage of second charge / discharge unit 14, so that second charge / discharge unit 14 discharges through drive module 20 and voltage divider unit 12 to generate a control signal.

[0035] In this embodiment, when the input power supply Vin is de-energized (at which time the voltage of the input power supply Vin begins to drop), the first charging and discharging unit 11 begins to discharge. The preset condition is that the voltage of the first charging and discharging unit 11 discharges to a level lower than the voltage of the second charging and discharging unit 14.

[0036] In practical applications, when the input power supply Vin is powered on, the first charging and discharging unit 11 charges to a level close to the input power supply Vin. At the same time, the voltage divider unit 12 divides the voltage of the input power supply Vin to obtain a divided voltage, which is then charged to the second charging and discharging unit 14 through the first unidirectional conductive unit 13 until the voltage of the second charging and discharging unit 14 approaches the divided voltage.

[0037] When the input power supply Vin is stably output, the voltage of the first charging and discharging unit 11 is approximately equal to the voltage of the input power supply Vin, and the voltage of the second charging and discharging unit 12 is approximately equal to the voltage divider voltage.

[0038] When the input power supply Vin begins to lose power (the voltage of the input power supply Vin begins to drop), the first charging and discharging unit 11 discharges through the voltage divider unit 12, while the second charging and discharging unit 14 temporarily stops discharging. When the voltage of the first charging and discharging unit 11 discharges to a level lower than that of the second charging and discharging unit 14, the second charging and discharging unit 14, the drive module 20, the second unidirectional conductive unit 14, and the voltage divider unit 12 form a discharge path, thereby generating a control signal.

[0039] Please refer to Figure 3, which is a schematic diagram of the circuit structure of a power failure detection circuit 100 provided in an embodiment of this application.

[0040] In some embodiments, the voltage divider unit 12 includes resistors R1 and R2.

[0041] Among them, the first end of resistor R1 is connected to the input power supply Vin, the second end of resistor R1 is connected to both the first end of resistor R2 and the first end of the first unidirectional conductive unit 13, and the second end of resistor R2 is grounded.

[0042] In some embodiments, the first unidirectional conductive unit 13 includes a diode D2.

[0043] The positive terminal of diode D2 is connected to the voltage dividing point of voltage dividing unit 12 (i.e., the connection point of resistor R1 and resistor R2), and the negative terminal of diode D2 is connected to the second charging and discharging unit 14.

[0044] In some embodiments, the first charging / discharging unit 11 includes a capacitor CE1.

[0045] The positive terminal of capacitor CE1 is connected to the input power supply Vin, and the negative terminal of capacitor CE1 is grounded.

[0046] In some embodiments, the second charging / discharging unit 14 includes a capacitor CE2.

[0047] The positive terminal of capacitor CE2 is connected to both the first end of the first unidirectional conductive unit 13 and the driving module 20, while the negative terminal of capacitor CE2 is grounded.

[0048] In some embodiments, the second unidirectional conductive unit 15 includes a diode D1.

[0049] The positive terminal of diode D1 is connected to the control terminal of the drive module 20, and the negative terminal of diode D1, the first charging and discharging unit 11, and the voltage divider unit 12 are connected to the input power supply Vin at one point.

[0050] In some embodiments, the drive module 20 includes a switch Q1, a resistor R3, and a resistor R4.

[0051] In this configuration, the first terminal of the switching transistor Q1 is connected to both the first terminal of the resistor R4 and the detection module 10, the second terminal of the switching transistor Q1 is connected to the level conversion module 30, the control terminal of the switching transistor Q1 is connected to both the second terminal of the resistor R4 and the first terminal of the resistor R3, and the second terminal of the resistor R3 is connected to the detection module 10.

[0052] In this embodiment, taking a PNP transistor as an example, the base of the PNP transistor is the control terminal of the switch Q1, the emitter of the PNP transistor is the first terminal of the switch Q1, and the collector of the PNP transistor is the second terminal of the switch Q1. Alternatively, the switch Q1 can be any controllable switch, such as an insulated-gate bipolar transistor (IGBT), an integrated gate commutated thyristor (IGCT), a gate turn-off thyristor (GTO), a silicon controlled rectifier (SCR), a junction-gate field-effect transistor (JFET), or a MOS-controlled thyristor (MCT), etc.

[0053] In some embodiments, the level conversion module 30 includes a switch Q2, a resistor R5, a resistor R6, and a resistor R7.

[0054] The first end of resistor R6 is connected to the drive module 20, and the second end of resistor R6 is connected to both the control terminal of switch Q2 and the first end of resistor R5. The first end of switch Q2 is connected to the second end of resistor R7, and the first end of resistor R7 is connected to the power supply VCC (e.g., a 3.3V or 5V DC power supply). The second end of switch Q2 is connected to the second end of resistor R5 and grounded. The first end of switch Q2 is the output terminal of the power-down signal.

[0055] In this embodiment, taking an NPN transistor as an example, the base of the NPN transistor is the control terminal of the switch Q2, the collector of the NPN transistor is the first terminal of the switch Q2, and the emitter of the NPN transistor is the second terminal of the switch Q2. Alternatively, the switch Q2 can be any controllable switch, such as an Insulated Gate Bipolar Transistor (IGBT) device, an Integrated Gate Commutated Thyristor (IGCT) device, a Gate Turn-Off Thyristor (GTO) device, a Silicon Controlled Rectifier (SCR) device, a Junction Gate Field Effect Transistor (JFET) device, or a MOS-controlled Thyristor (MCT) device, etc.

[0056] The working principle of the power failure detection circuit 100 shown in Figure 3 is briefly explained below.

[0057] When the input power supply Vin is powered on, it charges capacitor CE1, causing the voltage across CE1 to quickly rise to the voltage of the input power supply Vin. Simultaneously, the voltage of the input power supply Vin is divided by resistors R1 and R2 to obtain a voltage divider (i.e., the voltage across resistor R2), which in turn charges capacitor CE2 through diode D2, causing the voltage across CE2 to quickly rise to the voltage divider. At this time, because the voltage across the positive terminal of diode D1 is less than its negative terminal, diode D1 does not conduct, thus switching transistors Q1 and Q2 are turned off. The voltage of the power supply VCC flows through resistor R7 to point Vo (Vo is connected to subsequent circuitry, such as an MCU), and the output of point Vo is a high-level signal.

[0058] When the input power supply Vin begins to lose power (the voltage of the input power supply Vin begins to drop), since the initial voltage of capacitor CE1 (equal to the voltage of the input power supply Vin) is greater than the voltage of capacitor CE2 (equal to the voltage divider voltage), capacitor CE1 first discharges through resistors R1 and R2 (the voltage of capacitor CE1 is the detection signal). When the voltage of capacitor CE1 drops to less than the voltage of capacitor CE2 (which can be subtracted from the VF of diode D1), diode D1 conducts. At this time, capacitor CE2 discharges through resistors R4, R3, R1, and R2, thus forming a control signal (i.e., a low-level signal) at the control terminal (base) of switch Q1. Therefore, switch Q1 turns on. When switch Q1 is on, the second terminal (collector) of switch Q1 outputs a high level (i.e., a drive signal), causing switch Q2 to turn on. When switch Q2 is on, the first terminal (collector, i.e., Vo) of switch Q2 is grounded and pulled low, and Vo outputs a low level (i.e., a power-down signal). When capacitor CE2 is discharged, switch Q1 is turned off, and switch Q2 is turned off accordingly. At this time, Vo returns to a high level.

[0059] The power failure detection circuit 100 provided in this application embodiment can output a power failure signal when the input power supply fails, triggering the target circuit (such as an MCU) to perform protection actions such as data saving and backup power switching. By outputting the power failure signal in a timely manner before the input power supply Vin is completely de-energized, it provides response time for subsequent stages, enabling timely triggering of backup power switching or data backup operations, thus improving the timeliness of power failure detection and enhancing circuit stability.

[0060] This application embodiment also provides an energy storage power supply, which includes the power failure detection circuit 100 as described above.

[0061] The specific structure and working principle of the power failure detection circuit 100 can be referred to in the above embodiments, and will not be repeated here.

[0062] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this utility model, and not to limit it; under the concept of this utility model, the technical features of the above embodiments or different embodiments can also be combined, and there are many other variations of different aspects of this utility model as described above. For the sake of brevity, they are not provided in detail; although this utility model has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this utility model.

Claims

1. A power-down detection circuit, characterized in that, The power failure detection circuit includes a detection module, a driving module, and a level conversion module; the input terminal of the detection module is connected to an input power supply, the driving module is connected to the output terminal of the detection module, and the level conversion module is connected to the driving module; the detection module is used to output a detection signal in response to the state of its input terminal being connected to the input power supply, and to output a control signal when the detection signal reaches a preset condition; the driving module is used to output a driving signal based on the control signal; The level conversion module is used to output a power-down signal when the drive signal is received.

2. The power failure detection circuit according to claim 1, characterized in that, The detection module includes a voltage divider unit, a first unidirectional conductive unit, a first charge / discharge unit, a second charge / discharge unit, and a second unidirectional conductive unit. The voltage divider unit is connected in parallel with the first charge / discharge unit. The voltage dividing point of the voltage divider unit is connected to the first end of the first unidirectional conductive unit. The second end of the first unidirectional conductive unit is also connected to the second charge / discharge unit. The second charge / discharge unit is also connected to the drive module. The first end of the second unidirectional conductive unit is connected to the control terminal of the drive module. The second end of the second unidirectional conductive unit, the first charge / discharge unit, and the voltage divider unit are connected to the input power supply at a single point. The voltage divider unit is used to power on the input power supply. When the input power supply voltage is divided to obtain a divided voltage, the first unidirectional conductive unit is turned on when the voltage at its first terminal is greater than the voltage at its second terminal; the first charging and discharging unit is used to charge when the input power supply is powered on and to discharge through the divided voltage unit when the input power supply is powered off; the second charging and discharging unit is used to charge based on the divided voltage when the first unidirectional conductive unit is turned on; the second unidirectional conductive unit is used to turn on when the voltage of the first charging and discharging unit discharges to a level less than the voltage of the second charging and discharging unit, so that the second charging and discharging unit discharges through the driving module and the divided voltage unit to generate the control signal.

3. The power failure detection circuit according to claim 2, characterized in that, The voltage divider unit includes resistor R1 and resistor R2; the first end of resistor R1 is connected to the input power supply, the second end of resistor R1 is connected to both the first end of resistor R2 and the first end of the first unidirectional conductive unit, and the second end of resistor R2 is grounded.

4. The power failure detection circuit according to claim 2, characterized in that, The first unidirectional conductive unit includes a diode D2; the positive terminal of the diode D2 is connected to the voltage dividing point of the voltage dividing unit, and the negative terminal of the diode D2 is connected to the second charging and discharging unit.

5. The power failure detection circuit according to claim 2, characterized in that, The first charging and discharging unit includes a capacitor CE1; the positive terminal of the capacitor CE1 is connected to the input power supply, and the negative terminal of the capacitor CE1 is grounded.

6. The power failure detection circuit according to claim 2, characterized in that, The second charging and discharging unit includes a capacitor CE2; the positive terminal of the capacitor CE2 is connected to both the first terminal of the first unidirectional conductive unit and the driving module, and the negative terminal of the capacitor CE2 is grounded.

7. The power failure detection circuit according to claim 2, characterized in that, The second unidirectional conductive unit includes a diode D1; the positive terminal of the diode D1 is connected to the control terminal of the drive module, and the negative terminal of the diode D1, the first charging and discharging unit, and the voltage divider unit are connected to the input power supply at one point.

8. The power failure detection circuit according to claim 1, characterized in that, The driving module includes a switch Q1, a resistor R3, and a resistor R4; the first end of the switch Q1 is connected to the first end of the resistor R4 and the detection module, the second end of the switch Q1 is connected to the level conversion module, the control end of the switch Q1 is connected to the second end of the resistor R4 and the first end of the resistor R3, and the second end of the resistor R3 is connected to the detection module.

9. The power failure detection circuit according to claim 1, characterized in that, The level conversion module includes a switch Q2, resistors R5, R6, and R7. The first end of resistor R6 is connected to the drive module, and the second end of resistor R6 is connected to both the control terminal of switch Q2 and the first end of resistor R5. The first end of switch Q2 is connected to the second end of resistor R7. The first end of resistor R7 is connected to the power supply, and the second end of switch Q2 is connected to the second end of resistor R5 and grounded. The first end of switch Q2 is the output terminal of the power-down signal.

10. An energy storage power source, characterized in that, The energy storage power supply includes a power failure detection circuit as described in any one of claims 1 to 9.