Power failure detection device
By adding the first forward diode behind the resistor voltage divider circuit, the impact of the energy storage circuit is isolated, the problem of detection lag of the power-down detection device is solved, rapid detection and long-distance signal transmission are realized, and additional batteries are eliminated.
Patent Information
- Application Number
- CN202411993600.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-03-25
AI Technical Summary
In the prior art, the power-down detection device is slow to discharge the energy storage capacitor during power-down, resulting in relatively lagging detection of the power-down signal, and the signal transmission distance is small, and an additional battery is required.
A power-down detection device is designed, by adding a first forward diode to the resistance voltage-dividing circuit behind the resistance voltage-dividing circuit, the resistance voltage-dividing circuit and the energy storage circuit are isolated, so that the power-down signal can be detected in time during power-down, the detection rate can be improved, and the added battery is saved.
It realizes the timely detection of power-down signals during power-down, improves the detection rate, and reduces energy consumption and cost due to no additional battery, while expanding the signal transmission distance.
Smart Images

Figure CN119689073A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electronic application technology, and in particular to a power failure detection device. Background Art
[0002] In modern life applications, a sudden drop in voltage or a complete power failure may cause data loss, system crash, or even hardware damage in electronic devices. It is necessary to detect power failure events in a timely and accurate manner so that corresponding protective measures can be taken. In the related art, batteries are used as control power supplies, but batteries need to be replaced frequently. The power failure alarm circuit uses a WiFi circuit, but the WiFi circuit has a short transmission distance. A storage capacitor is connected to the rectifier bridge, and a sampling circuit of a resistor-connected voltage-stabilizing diode is connected to the rectifier bridge. The breakdown characteristics of the voltage-stabilizing diode are used to stabilize a level, and then used as the input of the positive end of the comparator. The input of the negative end of the comparator uses control electricity to separate a threshold level, and the threshold level is set to be lower than the level of the positive end of the comparator. By comparing the input end signal of the comparator, it is determined whether the power is turned on and off. However, when the power is off, the voltage of the energy storage capacitor must drop to a certain value before the voltage of the positive end of the comparator is less than the voltage of its negative end, and the discharge speed of the energy storage capacitor is slow, resulting in a relatively delayed detection of the power failure signal. Summary of the invention
[0003] The following is a summary of the subject matter of the detailed description of the present disclosure. This summary is not intended to limit the scope of the claims.
[0004] The disclosed embodiment provides a power failure detection device, which can detect the power failure signal in time when the power fails without the influence of the energy storage circuit on the resistor voltage divider circuit, thereby improving the power failure detection rate, and the signal transmission distance is long, and an external battery is omitted.
[0005] An embodiment of the first aspect of the present disclosure, a power failure detection device includes a rectifier bridge, a resistor voltage divider circuit, a first forward diode, an energy storage circuit, a comparator module, an NB-IoT module, a threshold voltage circuit, and an additional circuit;
[0006] The input end of the rectifier bridge is connected to the power supply, the output end of the rectifier bridge is connected to the input end of the resistance voltage divider circuit, the output end of the rectifier bridge is also connected to the input end of the first forward diode, one end of the energy storage circuit is connected to the output end of the first forward diode, the other end of the energy storage circuit is connected to the NB-IoT module, the output end of the resistance voltage divider circuit is connected to the input end of the additional circuit, the output end of the additional circuit is connected to the input end of the comparator module, one end of the threshold voltage circuit is connected to the input end of the comparator module, the other end of the threshold voltage circuit is grounded, and the NB-IoT module is connected to the output end of the comparator module.
[0007] According to certain embodiments of the first aspect of the present disclosure, the resistance voltage divider circuit includes a first resistor and a second resistor, and the first resistor is connected to the second resistor.
[0008] According to certain embodiments of the first aspect of the present disclosure, the output end of the rectifier bridge includes a positive output end of the rectifier bridge and a negative output end of the rectifier bridge, the positive output end of the rectifier bridge is connected to the first resistor, the negative output end of the rectifier bridge is connected to the second resistor, and the connection point between the negative output end of the rectifier bridge and the second resistor is grounded.
[0009] According to certain embodiments of the first aspect of the present disclosure, the energy storage circuit includes a sixth resistor and a fourth capacitor, and the sixth resistor is connected in parallel with the fourth capacitor.
[0010] According to certain embodiments of the first aspect of the present disclosure, the input end of the first forward diode is connected to the connection point of the first resistor and the positive output end of the rectifier bridge, and the output end of the first forward diode is connected to the connection point of the sixth resistor and the fourth capacitor.
[0011] According to certain embodiments of the first aspect of the present disclosure, the additional circuit includes a first capacitor, a second capacitor, a second forward diode, a third capacitor, a third resistor, and a third forward diode. The first capacitor and the second capacitor are connected in parallel, and the second resistor is connected to a parallel circuit composed of the first capacitor and the second capacitor; the third capacitor is connected in parallel with the second capacitor, the second forward diode is connected between the second capacitor and the third capacitor, the input end of the second forward diode is connected to the second capacitor, and the output end of the second forward diode is connected to the third capacitor; the third resistor is connected in parallel with the third capacitor, the third forward diode is connected in parallel with the second forward diode, the input end of the third forward diode is connected to the third resistor, and the output end of the third forward diode is connected to the second capacitor; the third capacitor is connected at another connection point between the sixth resistor and the fourth capacitor.
[0012] According to certain embodiments of the first aspect of the present disclosure, the threshold voltage circuit includes a first VDC, a seventh resistor, and an eighth resistor, the first VDC is connected in parallel with the seventh resistor, the eighth resistor is connected between the first VDC and the seventh resistor, and the other connection point between the first VDC and the seventh resistor is grounded.
[0013] According to certain embodiments of the first aspect of the present disclosure, the comparator module includes a comparator, a fourth resistor, a fifth resistor, and a second VDC. The positive end of the comparator is connected to the third capacitor, the negative end of the comparator is connected to the connection point of the seventh resistor and the eighth resistor, the fourth resistor is connected between the positive end of the comparator and the output end of the comparator, the output end of the comparator is also connected to the fifth resistor and the second VDC in sequence, the second VDC is grounded, and the NB-IoT module is connected at the connection point between the output end of the comparator and the fifth resistor.
[0014] The disclosed embodiment includes at least the following beneficial effects: the input end of the rectifier bridge is connected to the power supply, the output end of the rectifier bridge is connected to the input end of the resistor voltage divider circuit, the output end of the rectifier bridge is also connected to the input end of the first forward diode, one end of the energy storage circuit is connected to the output end of the first forward diode, the other end of the energy storage circuit is connected to the NB-IoT module, the output end of the resistor voltage divider circuit is connected to the input end of the additional circuit, the output end of the additional circuit is connected to the input end of the comparator module, one end of the threshold voltage circuit is connected to the input end of the comparator module, the other end of the threshold voltage circuit is grounded, the NB-IoT module is connected to the output end of the comparator module, the signal transmission distance of the NB-IoT module is long, the power-off detection device is connected to the power supply, the energy storage circuit is used as the power supply of the NB-IoT module after power-off, the NB-IoT module is in a low-power sleep state when there is no power-off, the NB-IoT module consumes less energy, and the NB-IoT module is guaranteed to be able to detect the power-off state and send a short alarm signal, eliminating the need for an external battery. A first forward diode is added after the resistor voltage divider circuit to achieve isolation between the resistor voltage divider circuit and the energy storage circuit. When the power is off, the resistor voltage divider circuit can detect the power-off signal in time without being affected by the energy storage circuit, thereby improving the power-off detection rate.
[0015] Other features and advantages of the present disclosure will be set forth in the following description, and in part will be apparent from the description, or may be learned by practicing the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings are used to provide further understanding of the technical solution of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the technical solution of the present disclosure and do not constitute a limitation on the technical solution of the present disclosure.
[0017] Figure 1 A schematic diagram of the structure of a power failure detection device provided in an embodiment of the present disclosure;
[0018] Figure 2 A schematic diagram of the structure of a power failure detection circuit of a power failure detection device provided in an embodiment of the present disclosure;
[0019] Figure 3 A schematic diagram of the structure of the NB-IoT module provided in the embodiment of the present disclosure;
[0020] Reference numerals:
[0021] Rectifier bridge 101, resistor voltage divider circuit 108, first forward diode 102, energy storage circuit 103, comparator module 104, NB-IoT module 105, threshold voltage circuit 106, additional circuit 107, first resistor R1, second resistor R2, sixth resistor R6, fourth capacitor C4, first capacitor C1, second capacitor C2, second forward diode D2, third capacitor C3, third resistor R3, third forward diode D3, seventh resistor R7, eighth resistor R8, comparator COMP1, fourth resistor R4, fifth resistor R5. DETAILED DESCRIPTION
[0022] This section will describe in detail the specific embodiments of the present disclosure, and the preferred embodiments of the present disclosure are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present disclosure, and cannot be understood as limiting the present disclosure.
[0023] In the description of the present disclosure, it should be understood that descriptions involving orientation, such as up, down, front, back, left, right, etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present disclosure.
[0024] In the description of the present disclosure, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0025] In the description of the present disclosure, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present disclosure based on the specific content of the technical solution.
[0026] The embodiments of the present disclosure are further described below in conjunction with the accompanying drawings.
[0027] Reference Figure 1 As shown, Figure 1A schematic diagram of a power failure detection device provided in an embodiment of the present disclosure, wherein the power failure detection device includes a rectifier bridge 101, a resistor voltage divider circuit 108, a first forward diode 102, a storage circuit 103, a comparator module 104, an NB-IoT module 105, a threshold voltage circuit 106, and an additional circuit 107; the input end of the rectifier bridge 101 is connected to the power supply 100, the output end of the rectifier bridge 101 is connected to the input end of the resistor voltage divider circuit 108, and the output end of the rectifier bridge 101 is also connected to the input end of the first forward diode 102. The energy storage circuit 103 is connected to the output end of the first forward diode 102, the other end of the energy storage circuit 103 is connected to the NB-IoT module 105, the output end of the resistance voltage divider circuit 108 is connected to the input end of the additional circuit 107, the output end of the additional circuit 107 is connected to the input end of the comparator module 104, one end of the threshold voltage circuit 106 is connected to the input end of the comparator module 104, the other end of the threshold voltage circuit 106 is grounded, and the NB-IoT module 105 is connected to the output end of the comparator module 104.
[0028] Specifically, the power supply 100 is a mains AC power supply, and the AC power supply is input to the rectifier bridge 101 from the input end of the rectifier bridge 101, and the rectifier bridge 101 converts the input AC power supply into a DC power supply. The comparator module 104 is used to determine whether the power is off. The current passes through the resistor voltage divider circuit 108, outputs a power-on signal, and the power-on signal is given to the comparator module 104 through the input end of the comparator module 104. The threshold voltage circuit 106 provides a threshold voltage, which is given to the comparator module 104 through the input end of the comparator module 104. The comparator module 104 compares the input end signal of the comparator module 104 to determine whether the power is off. The comparator module 104 gives the detected state to the NB-IoT module 105 through the output end of the comparator module 104. The NB-IoT module 105 determines whether it is in a power-off state according to the state given by the comparator module 104. If the power-off state is detected, an alarm signal is sent to the background monitoring to prompt maintenance. The energy storage circuit 103 is used as the power supply of the NB-IoT module 105 after power failure. When there is no power failure, the NB-IoT module 105 is in a low-power sleep state. The NB-IoT module 105 consumes less energy, ensuring that the NB-IoT module 105 can detect the power failure state and send a short alarm signal, eliminating the need for an external battery. A first forward diode 102 is added after the resistor divider circuit 108 to isolate the resistor divider circuit 108 from the energy storage circuit 103. When the power is off, the resistor divider circuit 108 can detect the power failure signal in time without being affected by the energy storage circuit 103, thereby improving the power failure detection rate.
[0029] It can be understood that the input end of the rectifier bridge 101 is connected to the power supply 100, the output end of the rectifier bridge 101 is connected to the input end of the resistance divider circuit 108, the output end of the rectifier bridge 101 is also connected to the input end of the first forward diode 102, one end of the energy storage circuit 103 is connected to the output end of the first forward diode 102, the other end of the energy storage circuit 103 is connected to the NB-IoT module 105, the output end of the resistance divider circuit 108 is connected to the input end of the additional circuit 107, the output end of the additional circuit 107 is connected to the input end of the comparator module 104, one end of the threshold voltage circuit 106 is connected to the input end of the comparator module 104, the other end of the threshold voltage circuit 106 is grounded, and the NB-IoT module 105 is connected to the output end of the comparator module 104. Among them, the signal transmission distance of the NB-IoT module 105 is long, the power-off detection device is connected to the power supply 100, and the energy storage circuit 103 is used as the power supply of the NB-IoT module 105 after power failure. When there is no power failure, the NB-IoT module 105 is in a low-power sleep state. The NB-IoT module 105 consumes less energy, ensuring that the NB-IoT module 105 can detect the power failure state and send a short alarm signal, eliminating the need for an external battery. A first forward diode 102 is added after the resistor divider circuit 108 to isolate the resistor divider circuit 108 from the energy storage circuit 103. When the power is off, the resistor divider circuit 108 can detect the power failure signal in time without being affected by the energy storage circuit 103, thereby improving the power failure detection rate.
[0030] Reference Figure 2 As shown, Figure 2 A schematic diagram of the structure of a power-off detection circuit of a power-off detection device provided in an embodiment of the present disclosure. Figure 2 In the figure, V1 is the aforementioned power supply, BD1 is the aforementioned rectifier bridge, D1 is the aforementioned first forward diode, VDC2 is the aforementioned second VDC, and VDC1 is the aforementioned first VDC.
[0031] In some embodiments, the resistor divider circuit 108 includes a first resistor R1 and a second resistor R2 , and the first resistor R1 is connected to the second resistor R2 .
[0032] Specifically, the first resistor R1 and the second resistor R2 form a resistor voltage divider circuit 108, and the resistance value of the first resistor R1 is much greater than the resistance value of the second resistor R2, so as to obtain a smaller voltage divider at the second resistor R2. After the AC power source of the mains flows through the rectifier bridge 101, there is a voltage of more than 300 volts. This voltage value is relatively large, higher than the withstand voltage of the electronic components of the subsequent circuit, and the working voltage of the electronic components is relatively low. The resistor voltage divider circuit 108 is adopted, and the resistance value of the first resistor R1 is much greater than the resistance value of the second resistor R2, so as to obtain a smaller voltage divider at the second resistor R2, which is connected to the input end of the comparator module 104 as a monitoring signal for power on and off. It can be understood that the resistor voltage divider circuit 108 is connected to the rectifier bridge 101, and the resistance value of the first resistor R1 of the resistor voltage divider circuit 108 is much greater than the resistance value of the second resistor R2, which can divide the voltage, protect the electronic components of the subsequent circuit, and enable the comparator module 104 to be used normally, and realize power-off detection.
[0033] In some embodiments, the output end of the rectifier bridge 101 includes a positive output end of the rectifier bridge 101 and a negative output end of the rectifier bridge 101. The positive output end of the rectifier bridge 101 is connected to the first resistor R1, and the negative output end of the rectifier bridge 101 is connected to the second resistor R2. The negative output end of the rectifier bridge 101 and the second resistor R2 are grounded at the connection point.
[0034] It can be understood that the positive output end of the rectifier bridge 101 is connected to the first resistor R1, and the negative output end of the rectifier bridge 101 is connected to the second resistor R2. The resistance value of the first resistor R1 of the resistor voltage divider circuit 108 is much larger than the resistance value of the second resistor R2, and voltage division can be performed to protect the electronic components of the subsequent circuit, so that the comparator module 104 can be used normally and power-off detection can be realized.
[0035] In some embodiments, the energy storage circuit 103 includes a sixth resistor R6 and a fourth capacitor C4 , and the sixth resistor R6 and the fourth capacitor C4 are connected in parallel.
[0036] Specifically, the sixth resistor R6 is an equivalent control loop resistor, and is powered by the fourth capacitor C4 in the energy storage circuit 103, as the power supply of the NB-IoT module 105 after power failure. The size of the energy storage circuit 103 should take into account the power consumption of the subsequent circuit. When there is no power failure, the NB-IoT module 105 is in a low-power sleep state, and the NB-IoT module 105 consumes less energy. The energy storage circuit 103 ensures that the NB-IoT module 105 can detect the power failure state and send a short alarm signal, eliminating the need for an external battery.
[0037] In some embodiments, the input end of the first forward diode 102 is connected to the connection point of the first resistor R1 and the positive output end of the rectifier bridge 101, and the output end of the first forward diode 102 is connected to the connection point of the sixth resistor R6 and the fourth capacitor C4.
[0038] Specifically, the first forward diode 102 is a common diode, which specifies the current direction. The first forward diode 102 is used to isolate the energy storage circuit 103 from the resistor voltage divider circuit 108. When the AC voltage drops, the resistor voltage divider circuit 108 will not be affected by the discharge of the energy storage circuit 103 and will detect the power-off signal in time, thereby improving the power-off detection rate.
[0039] In some embodiments, the additional circuit 107 includes a first capacitor C1, a second capacitor C2, a second forward diode D2, a third capacitor C3, a third resistor R3, and a third forward diode D3. The first capacitor C1 and the second capacitor C2 are connected in parallel, and the second resistor R2 is connected to the parallel circuit composed of the first capacitor C1 and the second capacitor C2; the third capacitor C3 is connected in parallel with the second capacitor C2, the second forward diode D2 is connected between the second capacitor C2 and the third capacitor C3, the input end of the second forward diode D2 is connected to the second capacitor C2, and the output end of the second forward diode D2 is connected to the third capacitor C3; the third resistor R3 is connected in parallel with the third capacitor C3, the third forward diode D3 is connected in parallel with the second forward diode D2, the input end of the third forward diode D3 is connected to the third resistor R3, and the output end of the third forward diode D3 is connected to the second capacitor C2; the third capacitor C3 is connected at another connection point between the sixth resistor R6 and the fourth capacitor C4.
[0040] It is understandable that the second forward diode D2 refers to an ordinary diode, which specifies the direction of current. The third forward diode D3 refers to an ordinary diode, which specifies the direction of current. For the voltage division at the second resistor R2, the first capacitor C1 and the second capacitor C2 are used to filter out the clutter signals caused by the AC voltage, and can also play a certain DC voltage stabilization effect. After filtering by the second forward diode D2 and the third capacitor C3, a DC superimposed pulsating voltage can be formed at the positive end of the comparator. The third resistor R3 is used to discharge the positive end of the comparator, and the third forward diode D3 is used to allow the voltage at the positive end of the comparator to be discharged through the second resistor R2 when the power is off, thereby accelerating the discharge rate of the positive end of the comparator.
[0041] In some embodiments, the threshold voltage circuit 106 includes a first VDC, a seventh resistor R7, and an eighth resistor R8. The first VDC is connected in parallel with the seventh resistor R7. The eighth resistor R8 is connected between the first VDC and the seventh resistor R7. Another connection point between the first VDC and the seventh resistor R7 is grounded.
[0042] It can be understood that the first VDC, the seventh resistor R7, and the eighth resistor R8 form a threshold voltage circuit 106, which provides a threshold voltage and is input to the negative terminal of the comparator. The threshold voltage is generally set to 0.5V. Setting the threshold voltage facilitates the comparator module 104 to compare the threshold voltage with the signal output by the resistor voltage divider circuit 108 to obtain a high level or a low level. The comparator module 104 gives the detected high level or low level to the NB-IoT module 105 through the output terminal of the comparator module 104. The NB-IoT module 105 determines whether it is in a power-off state according to the state given by the comparator module 104. The threshold voltage circuit 106 ensures that the comparator module 104 can determine the power-off.
[0043] Reference Figure 3 As shown, Figure 3 A schematic diagram of the structure of the NB-IoT module provided in an embodiment of the present disclosure. Figure 3 In the figure, ANT1 is the antenna element and VOUT is the voltage output terminal.
[0044] In some embodiments, the comparator module 104 includes a comparator COMP1, a fourth resistor R4, a fifth resistor R5, and a second VDC. The positive end of the comparator is connected to the third capacitor C3, the negative end of the comparator is connected to the connection point of the seventh resistor R7 and the eighth resistor R8, the fourth resistor R4 is connected between the positive end of the comparator and the output end of the comparator, the output end of the comparator is also connected to the fifth resistor R5 and the second VDC in sequence, the second VDC is grounded, and the NB-IoT module 105 is connected at the connection point between the output end of the comparator and the fifth resistor R5.
[0045] It is understandable that the comparator is susceptible to some noise interference and causes oscillation. The fourth resistor R4 is a positive feedback circuit, which plays the role of eliminating the comparator's chatter and improves the anti-interference ability. The second VDC is used to give the comparator output a pull-up effect. The voltage divided by the resistor divider circuit 108 is connected to the positive end of the comparator through the second forward diode D2, and the first capacitor C1, the second capacitor C2, and the third capacitor C3 are connected in parallel between the positive end of the comparator and the ground, so that a DC superimposed pulsating voltage is formed between the positive end of the comparator; at the negative end of the comparator, a threshold voltage is divided through the seventh resistor R7 and the eighth resistor R8 using the working voltage of the first VDC. A third forward diode D3 is connected between the positive end of the comparator and the resistor divider circuit 108, so that when the power is off, the positive end of the comparator can be discharged through the second resistor R2 at the resistor divider circuit 108, so that the discharge rate is accelerated.
[0046] Among them, when the AC voltage is powered on, the voltage at the positive end of the comparator will be higher than the voltage at the negative end of the comparator, and the comparator output is a high level at this time; when the AC voltage is powered off, the voltage at the positive end of the comparator will quickly drop to a voltage lower than the voltage at the negative end of the comparator, and the comparator output is a low level at this time. The comparator output is connected to the IO pin of the NB-IoT module 105, and the NB-IoT module 105 determines whether it is in a power-off state by reading the state sent by the comparator. When there is no power failure, the NB-IoT module 105 is in a low-power sleep state, and the NB-IoT module 105 consumes less energy. When the power is off, the energy storage circuit 103 still has residual power, which can support the normal operation of the circuit for at least tens of mS. The NB-IoT module 105 can quickly detect the power-off state and immediately send a short alarm signal to report to the background monitoring to prompt maintenance. When the NB-IoT module 105 is used to send an alarm signal when the power is off, the signal transmission distance of the NB-IoT module 105 is long, which improves the signal transmission distance, and the background host computer APP can monitor the status of multiple channels.
[0047] Specifically, Figure 2 In the figure, the 50 next to the power supply V1 means that the input AC voltage frequency is 50HZ, and 311 means that the peak voltage of the power supply is 311V, and the corresponding effective value voltage is 220V.
[0048] It should be understood that the various implementations provided in the embodiments of the present disclosure can be combined arbitrarily to achieve different technical effects.
[0049] The above is a specific description of the preferred implementation of the present disclosure, but the present disclosure is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions under the shared conditions without violating the spirit of the present disclosure. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present disclosure.
Claims
1. A power failure detection device, characterized in that: It includes a rectifier bridge, a resistor voltage divider circuit, a first forward diode, an energy storage circuit, a comparator module, an NB-IoT module, a threshold voltage circuit, and an additional circuit; The input end of the rectifier bridge is connected to the power supply, the output end of the rectifier bridge is connected to the input end of the resistance voltage divider circuit, the output end of the rectifier bridge is also connected to the input end of the first forward diode, one end of the energy storage circuit is connected to the output end of the first forward diode, the other end of the energy storage circuit is connected to the NB-IoT module, the output end of the resistance voltage divider circuit is connected to the input end of the additional circuit, the output end of the additional circuit is connected to the input end of the comparator module, one end of the threshold voltage circuit is connected to the input end of the comparator module, the other end of the threshold voltage circuit is grounded, and the NB-IoT module is connected to the output end of the comparator module.
2. A power failure detection device according to claim 1, characterized in that: The resistor voltage divider circuit includes a first resistor and a second resistor, and the first resistor is connected to the second resistor.
3. A power failure detection device according to claim 2, characterized in that: The output end of the rectifier bridge includes a positive output end of the rectifier bridge and a negative output end of the rectifier bridge. The positive output end of the rectifier bridge is connected to the first resistor, and the negative output end of the rectifier bridge is connected to the second resistor. The connection point between the negative output end of the rectifier bridge and the second resistor is grounded.
4. A power failure detection device according to claim 3, characterized in that: The energy storage circuit includes a sixth resistor and a fourth capacitor, and the sixth resistor is connected in parallel with the fourth capacitor.
5. A power failure detection device according to claim 4, characterized in that: The input end of the first forward diode is connected to the connection point of the first resistor and the positive output end of the rectifier bridge, and the output end of the first forward diode is connected to the connection point of the sixth resistor and the fourth capacitor.
6. A power failure detection device according to claim 4, characterized in that: The additional circuit includes a first capacitor, a second capacitor, a second forward diode, a third capacitor, a third resistor, and a third forward diode. The first capacitor and the second capacitor are connected in parallel, and the second resistor is connected to a parallel circuit formed by the first capacitor and the second capacitor; the third capacitor is connected in parallel with the second capacitor, the second forward diode is connected between the second capacitor and the third capacitor, the input end of the second forward diode is connected to the second capacitor, and the output end of the second forward diode is connected to the third capacitor; the third resistor is connected in parallel with the third capacitor, the third forward diode is connected in parallel with the second forward diode, the input end of the third forward diode is connected to the third resistor, and the output end of the third forward diode is connected to the second capacitor; the third capacitor is connected at another connection point between the sixth resistor and the fourth capacitor.
7. A power failure detection device according to claim 6, characterized in that: The threshold voltage circuit includes a first VDC, a seventh resistor, and an eighth resistor. The first VDC is connected in parallel with the seventh resistor. The eighth resistor is connected between the first VDC and the seventh resistor. Another connection point between the first VDC and the seventh resistor is grounded.
8. A power failure detection device according to claim 7, characterized in that: The comparator module includes a comparator, a fourth resistor, a fifth resistor, and a second VDC. The positive end of the comparator is connected to the third capacitor, the negative end of the comparator is connected to the connection point of the seventh resistor and the eighth resistor, the fourth resistor is connected between the positive end of the comparator and the output end of the comparator, the output end of the comparator is also connected to the fifth resistor and the second VDC in sequence, the second VDC is grounded, and the NB-IoT module is connected at the connection point between the output end of the comparator and the fifth resistor.