Power failure detection device

By setting up an AC power-down state detection module and a power-down detection signal output module, the problem of high transformer cost and large footprint is solved, and the AC power-down detection with low cost and small footprint is realized.

CN223272591UActive Publication Date: 2025-08-26CHONGQING ZHIZHU DAXUN COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421270037.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2025-08-26
Estimated Expiration
2034-06-04

AI Technical Summary

Technical Problem

In the prior art, the method of using a transformer to perform power-down detection is relatively expensive and occupies a large amount of equipment space.

Method used

The AC power-down state detection module and the power-down detection signal output module are used to generate corresponding AC power-down detection to realize power-down detection, reducing costs and reducing footprint.

Benefits of technology

It realizes low-cost and small-floor power failure detection of AC power supply, improving detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223272591U_ABST
    Figure CN223272591U_ABST
Patent Text Reader

Abstract

The utility model relates to a power failure detection device. The power failure detection device comprises an alternating current power failure state detection module and a power failure detection signal output module, wherein the input end of the alternating current power failure state detection module is used for being connected with an alternating current power supply, the output end of the alternating current power failure state detection module is connected with the control end of the power failure detection signal output module, and the input end of the power failure detection signal output module is used for being connected with a power supply; the alternating current power failure state detection module is used for generating an alternating current state signal corresponding to an output signal based on the received output signal of the alternating current power supply, and transmitting the alternating current state signal to the power failure detection signal output module, so that the power failure detection signal output module outputs the power failure state signal based on the alternating current state signal. By using the technical scheme provided by the invention, the power failure detection of the alternating current power supply can be realized, the power failure accurate measurement accuracy is improved, the power failure cost is relatively low, and the occupied area is relatively small.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of detection devices, and in particular to a power-off detection device. Background Art

[0002] In a backup power supply system, the backup power supply system usually includes power supply or mains power supply, wherein the mains power supply is 220V AC. In order to determine whether it is a power supply failure or a mains power failure, it is necessary to perform a mains power failure detection. In the current existing technology, a transformer is often used to convert the mains power from high voltage to low voltage, and then small signal sampling is performed. However, the transformer used in the above method is relatively expensive and the transformer is large in size, which will take up a relatively large equipment space. Utility Model Content

[0003] In order to solve the technical problems of high cost and large size in the process of using a transformer for power failure detection in the existing technology, the present application provides a power failure detection device. Specifically, the present application sets an AC power failure status detection module and a power failure detection signal output module, so that the AC power failure status detection module generates a corresponding AC power status signal based on the output signal of the received AC power supply, so that the power failure detection signal output module outputs a power failure detection signal corresponding to the AC power status signal based on the AC power status signal, thereby realizing power failure detection of the AC power supply based on the power failure detection signal, and the power failure cost is low and the area occupied is small.

[0004] The present application provides a power failure detection device, which includes an AC power failure state detection module and a power failure detection signal output module;

[0005] The input end of the AC power failure state detection module is used to connect to the AC power supply, the output end of the AC power failure state detection module is connected to the control end of the power failure detection signal output module, and the input end of the power failure detection signal output module is used to connect to the power supply;

[0006] The AC power-off status detection module is used to generate an AC power status signal corresponding to the output signal of the received AC power supply based on the output signal of the AC power supply, and transmit the AC power status signal to the power-off detection signal output module, so that the power-off detection signal output module outputs a power-off detection signal corresponding to the AC power status signal based on the AC power status signal.

[0007] Furthermore, it also includes a charging and discharging module;

[0008] The input end of the charging and discharging module is used to be connected to the power supply, and the output end of the charging and discharging module is connected to the control end of the power failure detection signal output module;

[0009] The power supply is used to charge the charging and discharging module when the AC power off state detection module outputs an AC power off signal. When the charging and discharging module is in a fully charged state, the charging and discharging module discharges the power off detection signal output module so that the power off detection signal output module outputs a low-level detection signal. The low-level detection signal indicates that the AC power supply is in a power off state.

[0010] Furthermore, the AC power failure state detection module includes a current limiting resistor and an optocoupler;

[0011] One end of the current limiting resistor is used to connect to the AC power supply, the other end of the current limiting resistor is connected to the signal input end of the optocoupler, and the output end of the optocoupler is connected to the control end of the power-off detection signal output module.

[0012] Furthermore, the power-off detection signal output module includes a transistor and a first resistor;

[0013] One end of the first resistor is connected to the output end of the optocoupler and the discharge end of the charge and discharge module respectively, and the other end of the first resistor is connected to the base of the transistor;

[0014] The collector of the transistor is connected to the output end of the power supply and the power-off detection signal receiving module respectively, and the emitter of the transistor is grounded.

[0015] Furthermore, the charging and discharging module includes a first energy storage capacitor and a second energy storage capacitor;

[0016] One end of the first energy storage capacitor is connected to the output end of the power supply and one end of the first resistor respectively, and one end of the second energy storage capacitor is connected to the output end of the power supply and one end of the first resistor respectively;

[0017] The other end of the first energy storage capacitor and the other end of the second energy storage capacitor are both grounded, and the first energy storage capacitor and the second energy storage capacitor are connected in parallel.

[0018] Furthermore, it also includes a second resistor;

[0019] One end of the second resistor is used to be connected to the power supply, and the other end of the second resistor is respectively connected to one end of the first energy storage capacitor and one end of the second energy storage capacitor.

[0020] Furthermore, a third resistor is included;

[0021] One end of the third resistor is used to be connected to the power supply, and the other end of the third resistor is respectively connected to the collector of the transistor and the power-off detection signal receiving module.

[0022] Further, the output signal includes an AC signal, the AC status signal includes an AC connection signal, and the power-off detection signal includes a high-level detection signal;

[0023] The AC power-off status detection module is used to generate an AC connection signal corresponding to the AC signal based on the received AC signal output by the AC power supply, and transmit the AC connection signal to the power-off detection signal output module, so that the power-off detection signal output module outputs a high-level detection signal corresponding to the AC connection signal based on the AC connection signal.

[0024] Furthermore, the output signal further includes a power-off output signal, the AC power status signal further includes an AC power-off signal, and the power-off detection signal further includes a low-level detection signal;

[0025] The AC power-off status detection module is used to generate an AC power-off signal corresponding to the power-off output signal based on the received power-off output signal output by the AC power supply, and transmit the AC power-off signal to the power-off detection signal output module, so that the power-off detection signal output module outputs a low-level detection signal corresponding to the AC power-off signal based on the AC power-off signal.

[0026] Furthermore, the capacity of the first energy storage capacitor is equal to the capacity of the second energy storage capacitor.

[0027] The implementation of this application has the following beneficial effects:

[0028] The present application sets an AC power-off status detection module and a power-off detection signal output module so that the AC power-off status detection module generates a corresponding AC power status signal based on the received output signal of the AC power supply, so that the power-off detection signal output module outputs a power-off detection signal corresponding to the AC power status signal based on the AC power status signal. In this way, power-off detection of the AC power supply can be achieved based on the power-off detection signal, and the power-off cost is low and the area occupied is small. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] To more clearly illustrate the technical solution of this application, the following briefly introduces the drawings required for use in the embodiments or prior art descriptions. Obviously, the drawings described below are merely some embodiments of this application, and those skilled in the art can derive other drawings based on these drawings without inventive effort.

[0030] Figure 1 A schematic structural diagram of a power failure detection device provided in an embodiment of the present application;

[0031] Figure 2 A circuit diagram corresponding to the power-off detection device provided in an embodiment of the present application;

[0032] Among them, the reference numerals in the figure correspond to: 1-AC power-off state detection module; 11-current limiting resistor; 12-optocoupler; 2-power-off detection signal output module; 21-transistor; 22-first resistor; 3-charge and discharge module; 31-first energy storage capacitor; 32-second energy storage capacitor; 4-second resistor; 5-third resistor; 6-AC power supply; 7-power supply. DETAILED DESCRIPTION

[0033] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0034] It should be noted that, in this application, unless otherwise expressly specified or limited, the terms "installed," "connected," "connect," "fixed," etc. should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integration; mechanical connections, electrical connections, or mutual communication; direct connections, indirect connections through an intermediate medium, and internal communication between two components or interaction between two components. Those skilled in the art will understand the specific meanings of the above terms in this application based on specific circumstances.

[0035] Hereinafter, embodiments will be described with reference to the accompanying drawings, which do not limit the disclosure described in the claims.

[0036] See also Figure 1 and Figure 2 , combined with Figure 1 and Figure 2 A power failure detection device provided in an embodiment of the present application is described in detail.

[0037] The present application embodiment provides a power failure detection device, such as Figure 1 and Figure 2 As shown, the power failure detection device specifically includes an AC power failure state detection module 1 and a power failure detection signal output module 2.

[0038] Among them, the input end of the AC power-off status detection module 1 is used to connect to the AC power supply 6, the output end of the AC power-off status detection module 1 is connected to the control end of the power-off detection signal output module 2, and the input end of the power-off detection signal output module 2 is used to connect to the power supply 7; the AC power-off status detection module 1 is used to generate an AC power status signal corresponding to the output signal based on the received output signal of the AC power supply 6, and transmit the AC power status signal to the power-off detection signal output module 2, so that the power-off detection signal output module 2 outputs a power-off detection signal corresponding to the AC power status signal based on the AC power status signal.

[0039] In the embodiment of the present application, the AC power supply 6 is a power supply that can output 220V AC power. In a specific embodiment, the AC power supply 6 can be a mains power supply, and the power supply 7 is a power supply that can output DC power. In a specific embodiment, the power supply 7 can be a battery. Then, by setting an AC power failure state detection module 1 and a power failure detection signal output module 2, the AC power failure state detection module 1 can generate a corresponding AC power state signal based on the received output signal of the AC power supply 6, so that the power failure detection signal output module 2 can output a power failure detection signal corresponding to the AC power state signal based on the AC power state signal, and then power failure detection of the AC power supply 6 can be realized based on the power failure detection signal, and the power failure cost is low and the area occupied is small.

[0040] In a specific embodiment, the output signal includes an AC signal, the AC status signal includes an AC connection signal, and the power-off detection signal includes a high-level detection signal. Then, the AC power-off status detection module 1 can generate an AC connection signal corresponding to the AC signal based on the received AC signal output by the AC power supply 6, and transmit the AC connection signal to the power-off detection signal output module 2, so that the power-off detection signal output module 2 outputs a high-level detection signal corresponding to the AC connection signal based on the AC connection signal, wherein the high-level detection signal indicates that the AC power supply 6 is in a non-power-off state, and then when the high-level detection signal is output, it indicates that the AC power supply 6 is in a non-power-off state, thereby realizing power-off detection of the AC power supply 6.

[0041] In actual applications, the AC power signal indicates that the AC power source 6 is in a normal connection state, and the AC power connection signal may be a pulse signal.

[0042] In a specific embodiment, the output signal also includes a power-off output signal, the AC power status signal also includes an AC power-off signal, and the power-off detection signal also includes a low-level detection signal; thus, the AC power-off state detection module 1 can generate an AC power-off signal corresponding to the power-off output signal based on the received power-off output signal output by the AC power supply 6, and transmit the AC power-off signal to the power-off detection signal output module 2, so that the power-off detection signal output module 2 outputs a low-level detection signal corresponding to the AC power-off signal based on the AC power-off signal, wherein the low-level detection signal indicates that the AC power supply 6 is in a power-off state, and thus when the low-level detection signal is output, it indicates that the AC power supply 6 is in a power-off state, thereby enabling power-off detection of the AC power supply 6 to be realized.

[0043] In actual applications, the power-off output signal indicates that the AC power source 6 is in a power-off state, and the AC power-off signal may be a low-level signal.

[0044] In an optional embodiment, if Figure 2 As shown, the AC power-off state detection module 1 includes a current limiting resistor 11 and an optocoupler 12; wherein, one end of the current limiting resistor 11 is used to connect to the AC power supply 6, the other end of the current limiting resistor 11 is connected to the signal input end of the optocoupler 12, and the output end of the optocoupler 12 is connected to the control end of the power-off detection signal output module 2.

[0045] In an embodiment of the present application, the connection state of the AC power can be detected by the on-off state of the optocoupler 12. In a specific embodiment, when the AC power supply 6 is in a connected state, the optocoupler 12 can be in an alternating on-off state, thereby generating an AC connection signal, that is, generating a high-low alternating pulse signal. When the AC power supply 6 is in a power-off state, the optocoupler 12 can be in a constantly disconnected state, thereby generating an AC power-off signal, that is, a low-level power-off signal.

[0046] In a specific embodiment, the optocoupler 12 includes four pins, such as Figure 2 a1, a2, a3 and a4, wherein the signal input end of the optocoupler 12 is end a4, and the output end of the optocoupler 12 is end a1.

[0047] In practical applications, the current-limiting resistor 11 is used to limit the current flowing into the optocoupler 12 to prevent the optocoupler 12 from being burned due to excessive current.

[0048] In an optional embodiment, if Figure 2As shown, the power-off detection signal output module 2 includes a transistor 21 and a first resistor 22; wherein, one end of the first resistor 22 is respectively connected to the output end of the optocoupler 12 and the discharge end of the charge and discharge module 3, and the other end of the first resistor 22 is connected to the base of the transistor 21; the collector of the transistor 21 is respectively connected to the output end of the power supply 7 and the power-off detection signal receiving module, and the emitter of the transistor 21 is grounded.

[0049] In the embodiment of the present application, whether the transistor 21 is in the on state is controlled so that the collector of the transistor 21 can output a power-off detection signal corresponding to the on-off state of the transistor 21, thereby realizing power-off detection of the AC power supply 6. In a specific embodiment, when the transistor 21 is in the on state, the collector of the transistor 21 outputs a low-level detection signal, and when the transistor 21 is in the off state, the collector of the transistor 21 outputs a high-level detection signal.

[0050] In some embodiments, the power-off detection signal receiving module may be an external signal receiving module, which may be connected to the collector of the transistor 21, for example, Figure 2 As shown, the line extending from AC220V can be connected to the power-off detection signal receiving module.

[0051] In practical applications, the first resistor 22 plays a protective role in the circuit.

[0052] In a specific embodiment, Figure 1 and Figure 2 As shown, the power-off detection device also includes a charge-discharge module 3; wherein, the input end of the charge-discharge module 3 is used to connect to the power supply 7, and the output end of the charge-discharge module 3 is connected to the control end of the power-off detection signal output module 2; the power supply 7 is used to charge the charge-discharge module 3 when the AC power-off state detection module 1 outputs an AC power-off signal. When the charge-discharge module 3 is in a fully charged state, the charge-discharge module 3 discharges the power-off detection signal output module 2, so that the power-off detection signal output module 2 outputs a low-level detection signal, and the low-level detection signal indicates that the AC power supply 6 is in a power-off state.

[0053] In an embodiment of the present application, a charging and discharging module 3 is provided so that the charging and discharging module 3 can discharge the power-off detection signal output module 2 when it is in a fully charged state, so that the power-off detection signal output module 2 outputs a low-level detection signal indicating that the AC power supply 6 is in a power-off state, thereby realizing power-off detection of the AC power supply 6.

[0054] In an optional embodiment, the charging and discharging module 3 includes a first energy storage capacitor 31 and a second energy storage capacitor 32; wherein, one end of the first energy storage capacitor 31 is respectively connected to the output end of the power supply 7 and one end of the first resistor 22, and one end of the second energy storage capacitor 32 is respectively connected to the output end of the power supply 7 and one end of the first resistor 22; the other end of the first energy storage capacitor 31 and the other end of the second energy storage capacitor 32 are both grounded, and the first energy storage capacitor 31 and the second energy storage capacitor 32 are connected in parallel.

[0055] In the embodiment of the present application, a charge and discharge module 3 including a first energy storage capacitor 31 and a second energy storage capacitor 32 is used to implement the charge and discharge process.

[0056] In actual applications, the capacity of the first energy storage capacitor 31 is equal to the capacity of the second energy storage capacitor 32. By setting the capacity of the first energy storage capacitor 31 to be equal to the capacity of the second energy storage capacitor 32, a stable charging and discharging process of the power-off detection device is ensured, thereby achieving accurate power-off detection of the AC power supply 6.

[0057] In an optional embodiment, the power-off detection device further includes a second resistor 4; wherein, one end of the second resistor 4 is used to connect to the power supply 7, and the other end of the second resistor 4 is respectively connected to one end of the first energy storage capacitor 31 and one end of the second energy storage capacitor 32. In the embodiment of the present application, the second resistor 4 is provided to ensure the stable operation of the power-off detection device.

[0058] In another optional embodiment, the power-off detection device further includes a third resistor 5; wherein one end of the third resistor 5 is used to be connected to the power supply 7, and the other end of the third resistor 5 is respectively connected to the collector of the transistor 21 and the power-off detection signal receiving module. In the embodiment of the present application, the third resistor 5 is provided to ensure the stable operation of the power-off detection device.

[0059] The following combination Figure 1 and Figure 2 , introduces a specific implementation scheme of a power-off detection device provided in an embodiment of the present application.

[0060] The power-off detection device includes an AC power-off state detection module 1, a power-off detection signal output module 2, a charging and discharging module 3, a second resistor 4, and a third resistor 5, wherein the AC power-off state detection module 1 includes a current limiting resistor 11 and an optocoupler 12, the power-off detection signal output module 2 includes a transistor 21 and a first resistor 22, and the charging and discharging module 3 includes a first energy storage capacitor 31 and a second energy storage capacitor 32.

[0061] In a specific embodiment, the circuit structure of the above device is as follows: one end of the current limiting resistor 11 is used to connect to the live wire L of the AC power supply 6, the other end of the current limiting resistor 11 is connected to the signal input end of the optocoupler 12, the output end of the optocoupler 12 is connected to one end of the first resistor 22, the first end of the optocoupler 12 is also connected to the neutral wire N of the AC power supply 6, the second end of the optocoupler 12 is grounded, the other end of the first resistor 22 is connected to the base of the transistor 21, the collector of the transistor 21 is connected to the power supply 7 through the third resistor 5, and the transistor The collector of the transistor 21 is also used to connect to the power-off detection signal receiving module, the emitter of the transistor 21 is grounded, one end of the first energy storage capacitor 31 is respectively connected to the other end of the second resistor 4 and one end of the first resistor 22, one end of the second energy storage capacitor 32 is respectively connected to the other end of the second resistor 4 and one end of the first resistor 22, one end of the second resistor 4 is used to connect to the power supply 7, the other end of the first energy storage capacitor 31 and the other end of the second energy storage capacitor 32 are both grounded, and the first energy storage capacitor 31 and the second energy storage capacitor 32 are connected in parallel.

[0062] Based on the above circuit structure, the power failure detection of the AC power supply can be realized, and the power failure cost is low and the floor space is small. Specifically, when the AC power supply 6 is in the non-power-off state, that is, when the AC power supply 6 is in the connected state, the AC power can drive the optocoupler 12 to start working after the current is limited by the current limiting resistor 11. When the AC power is in the positive half cycle, the optocoupler 12 is in the on state, that is, the a1 end and the a2 end of the optocoupler 12 are in the on state. Since the a2 end of the optocoupler 12 is grounded, the optocoupler 12 outputs a low-level signal. At the same time, the base of the transistor 21 is connected to the output end of the optocoupler 12 through the first resistor 22. The base of the transistor 21 is at a low level, and the transistor 21 is in the off state. Since the transistor 21 is The collector is connected to the power supply 7 through the third resistor 5, and the collector of the transistor 21 outputs a high-level detection signal. When the alternating current is in the negative half cycle, the a1 terminal and the a2 terminal of the optocoupler 12 are in a cut-off state. At the same time, due to the presence of the first energy storage capacitor 31 and the second energy storage capacitor 32, the power supply 7 charges the first energy storage capacitor 31 and the second energy storage capacitor 32. It takes a period of time until they are fully charged, that is, it takes a period of time for the first energy storage capacitor 31 and the second energy storage capacitor 32 to discharge. Although the a1 terminal and the a2 terminal of the optocoupler 12 are in a cut-off state, the base of the transistor 21 is still at a low level, that is, the transistor 21 is in a disconnected state, and the collector of the transistor 21 also outputs a high-level detection signal.

[0063] Furthermore, when the AC power supply 6 is in a power-off state, the optocoupler 12 is always in a disconnected state due to the absence of a driving current. At this time, the power supply 7 can charge the first energy storage capacitor 31 and the second energy storage capacitor 32. When the first energy storage capacitor 31 and the second energy storage capacitor 32 are in a full state, the first energy storage capacitor 31 and the second energy storage capacitor 32 discharge the transistor 21 so that the base of the transistor 21 is at a high level, and the transistor 21 is in a conducting state. At the same time, since the emitter of the transistor 21 is grounded, the collector of the transistor 21 is at a low level, and the collector of the transistor 21 can output a low-level detection signal.

[0064] To sum up, when the AC power supply 6 is in a connected state, the collector output of the transistor 21 represents a high-level detection signal indicating that the AC power supply 6 is in a connected state; when the AC power supply 6 is in a power-off state, the collector output of the transistor 21 represents a low-level detection signal indicating that the AC power supply 6 is in a power-off state. The power-off detection of the AC power supply 6 can be realized based on the high-level detection signal or the low-level detection signal output by the power-off detection signal output module 2.

[0065] The above embodiments of the present application have the following beneficial effects:

[0066] The present application sets an AC power-off status detection module and a power-off detection signal output module so that the AC power-off status detection module generates a corresponding AC power status signal based on the received output signal of the AC power supply, so that the power-off detection signal output module outputs a power-off detection signal corresponding to the AC power status signal based on the AC power status signal. In this way, power-off detection of the AC power supply can be achieved based on the power-off detection signal, and the power-off cost is low and the area occupied is small.

[0067] The structures shown in this embodiment are merely partial structures related to the present invention and do not limit the devices to which the present invention is applied. Specific devices may include more or fewer components than shown, or combine certain components, or have different component arrangements. It should be understood that the methods, devices, etc. disclosed in this embodiment may be implemented in other ways.

[0068] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A power failure detection device, characterized in that: It comprises an AC power failure state detection module (1) and a power failure detection signal output module (2); The input end of the AC power failure state detection module (1) is used to connect to the AC power source (6), the output end of the AC power failure state detection module (1) is connected to the control end of the power failure detection signal output module (2), and the input end of the power failure detection signal output module (2) is used to connect to the power supply (7); The AC power failure state detection module (1) is used to generate an AC power state signal corresponding to the output signal of the received AC power source (6), and transmit the AC power state signal to the power failure detection signal output module (2), so that the power failure detection signal output module (2) outputs a power failure detection signal corresponding to the AC power state signal based on the AC power state signal.

2. The power failure detection device according to claim 1, characterized in that: Also includes a charge and discharge module (3); The input end of the charging and discharging module (3) is used to be connected to the power supply (7), and the output end of the charging and discharging module (3) is connected to the control end of the power failure detection signal output module (2); The power supply (7) is used to charge the charging and discharging module (3) when the AC power failure state detection module (1) outputs an AC power failure signal. When the charging and discharging module (3) is in a fully charged state, the charging and discharging module (3) discharges the power failure detection signal output module (2) so that the power failure detection signal output module (2) outputs a low-level detection signal. The low-level detection signal indicates that the AC power supply (6) is in a power failure state.

3. The power failure detection device according to claim 1 or 2, characterized in that: The AC power failure state detection module (1) comprises a current limiting resistor (11) and an optical coupler (12); One end of the current-limiting resistor (11) is used to be connected to the AC power supply (6), the other end of the current-limiting resistor (11) is connected to the signal input end of the optocoupler (12), and the output end of the optocoupler (12) is connected to the control end of the power-off detection signal output module (2).

4. The power failure detection device according to claim 3, characterized in that: The power-off detection signal output module (2) comprises a transistor (21) and a first resistor (22); One end of the first resistor (22) is connected to the output end of the optical coupler (12) and the discharge end of the charge and discharge module (3), respectively, and the other end of the first resistor (22) is connected to the base of the transistor (21); The collector of the transistor (21) is respectively connected to the output end of the power supply (7) and the power-off detection signal receiving module, and the emitter of the transistor (21) is grounded.

5. The power failure detection device according to claim 4, characterized in that: The charging and discharging module (3) comprises a first energy storage capacitor (31) and a second energy storage capacitor (32); One end of the first energy storage capacitor (31) is connected to the output end of the power supply (7) and one end of the first resistor (22), respectively; one end of the second energy storage capacitor (32) is connected to the output end of the power supply (7) and one end of the first resistor (22), respectively; The other end of the first energy storage capacitor (31) and the other end of the second energy storage capacitor (32) are both grounded, and the first energy storage capacitor (31) and the second energy storage capacitor (32) are connected in parallel.

6. The power failure detection device according to claim 5, characterized in that: Also includes a second resistor (4); One end of the second resistor (4) is used to be connected to the power supply (7), and the other end of the second resistor (4) is respectively connected to one end of the first energy storage capacitor (31) and one end of the second energy storage capacitor (32).

7. The power failure detection device according to claim 4, characterized in that: Also includes a third resistor (5); One end of the third resistor (5) is used to be connected to the power supply (7), and the other end of the third resistor (5) is respectively connected to the collector of the transistor (21) and the power-off detection signal receiving module.

8. The power failure detection device according to claim 1, wherein: The output signal includes an AC signal, the AC status signal includes an AC connection signal, and the power-off detection signal includes a high-level detection signal; The AC power failure state detection module (1) is used to generate an AC connection signal corresponding to the AC signal based on the received AC signal output by the AC power source (6), and transmit the AC connection signal to the power failure detection signal output module (2), so that the power failure detection signal output module (2) outputs a high-level detection signal corresponding to the AC connection signal based on the AC connection signal.

9. The power failure detection device according to claim 8, characterized in that: The output signal further includes a power-off output signal, the AC power status signal further includes an AC power-off signal, and the power-off detection signal further includes a low-level detection signal; The AC power-off state detection module (1) is used to generate an AC power-off signal corresponding to the power-off output signal based on the received power-off output signal output by the AC power source (6), and transmit the AC power-off signal to the power-off detection signal output module (2), so that the power-off detection signal output module (2) outputs a low-level detection signal corresponding to the AC power-off signal based on the AC power-off signal.

10. The power failure detection device according to claim 5, characterized in that: The capacity of the first energy storage capacitor (31) is equal to the capacity of the second energy storage capacitor (32).