CN115576406A - Power failure detection and power supply maintaining function circuit and electronic equipment - Google Patents

Power failure detection and power supply maintaining function circuit and electronic equipment Download PDF

Info

Publication number
CN115576406A
CN115576406A CN202211330884.8A CN202211330884A CN115576406A CN 115576406 A CN115576406 A CN 115576406A CN 202211330884 A CN202211330884 A CN 202211330884A CN 115576406 A CN115576406 A CN 115576406A
Authority
CN
China
Prior art keywords
power supply
circuit
power
output
resistor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211330884.8A
Other languages
Chinese (zh)
Inventor
陈晓君
曹杰
陈小文
符兴东
朱钦炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Inovance Technology Co Ltd
Original Assignee
Shenzhen Inovance Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Inovance Technology Co Ltd filed Critical Shenzhen Inovance Technology Co Ltd
Priority to CN202211330884.8A priority Critical patent/CN115576406A/en
Publication of CN115576406A publication Critical patent/CN115576406A/en
Priority to PCT/CN2023/106993 priority patent/WO2024087737A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • G06F1/305Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations in the event of power-supply fluctuations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stand-By Power Supply Arrangements (AREA)

Abstract

The invention discloses a power failure detection and power supply maintaining function circuit and an electronic device, wherein the power failure detection and power supply maintaining function circuit comprises: the power supply output end is used for connecting an electric load; a tank circuit; the input end of the power supply maintaining control circuit is connected with the output end of the energy storage circuit, and the output end of the power supply maintaining control circuit is connected with the power supply output end and used for controlling the energy storage circuit to be electrically connected with the power supply output end when the power supply maintaining control circuit is switched on; the detection end of the energy storage voltage detection circuit is connected with the output end of the energy storage circuit, the output end of the energy storage voltage detection circuit is connected with the controlled end of the power supply maintaining control circuit and used for detecting the output voltage of the energy storage circuit, and when the output voltage of the energy storage circuit is smaller than a first preset voltage, the power supply maintaining control circuit is controlled to disconnect the electric connection between the energy storage circuit and the power supply output end, so that the energy storage circuit stops supplying power for the power load. The invention can solve the problem of poor stability of the existing power-down storage scheme.

Description

Power failure detection and power supply maintaining function circuit and electronic equipment
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a power failure detection and power supply maintaining functional circuit and electronic equipment.
Background
The integration level of industrial products is more and more complex, processors such as a CPU, an MCU, an FPGA and the like are widely applied to the products, and the complex integrated circuit products need to maintain normal power supply for a certain time when an input power supply is suddenly powered down so as to store power-down state data and avoid the damage of devices such as an SD card or an EMMC memory and the like caused by improper operation of software during power down. In the prior art, some schemes are that a super capacitor discharges continuously after power failure, and control is not performed, so that system starting abnormity is caused when power is re-electrified because the previous voltage does not drop to 0V, usability of a product is influenced, and user experience is poor.
Disclosure of Invention
The invention mainly aims to provide a power failure detection and power supply maintaining functional circuit, and aims to solve the problem of poor stability of the existing power failure storage scheme.
In order to achieve the above object, the power down detection and power supply maintaining function circuit provided by the present invention comprises:
the power supply output end is used for connecting an electric load;
a tank circuit;
the input end of the power supply holding control circuit is connected with the output end of the energy storage circuit, the output end of the power supply holding control circuit is connected with the power supply output end, and the power supply holding control circuit is used for controlling the energy storage circuit to be electrically connected with the power supply output end when the power supply holding control circuit is switched on;
energy storage voltage detection circuitry, energy storage voltage detection circuitry's sense terminal with energy storage circuitry's output is connected, energy storage voltage detection circuitry's output with power supply keeps control circuit's controlled end to be connected, energy storage voltage detection circuitry is used for detecting energy storage circuitry's output voltage, and when energy storage circuitry's output voltage is less than first predetermined voltage, control power supply keeps control circuit disconnection energy storage circuitry with electricity between the power output end is connected, so that energy storage circuitry stops to supply power for the power consumption load.
Optionally, the power down detection and power supply maintaining function circuit further includes:
the power input end is connected with the power output end and used for being connected with an input power supply;
the power supply detection circuit, the sense terminal of power supply detection circuit with the power input end is connected, power supply detection circuit's output with power supply keeps control circuit's controlled end to be connected, power supply detection circuit is used for detecting the output voltage of power input end, and when power input end's output voltage is greater than the second and predetermines voltage, control power supply keeps control circuit disconnection energy storage circuit with electricity between the power output end is connected, so that energy storage circuit stops to supply power for the power consumption load.
Optionally, the power detection circuit is further configured to output a power supply maintaining signal to the power supply maintaining control circuit when the output voltage of the power input end is less than a second preset voltage, so that the power supply maintaining control circuit controls the energy storage circuit to be electrically connected with the power output end, so that the energy storage circuit supplies power to an electrical load.
Optionally, a power supply end of the power supply detection circuit is connected to the power supply output end, and the power supply detection circuit is further configured to output a power-off signal to the power supply maintaining control circuit when the power supply end is powered off, so that the power supply maintaining control circuit controls the energy storage circuit to be electrically disconnected from the power supply output end, so that the energy storage circuit stops supplying power to an electrical load.
Optionally, the power down detection and power supply maintaining function circuit further includes:
the input end of the power supply conversion circuit is connected with the power supply input end, the output end of the power supply conversion circuit is respectively connected with the power supply output end and the input end of the energy storage circuit, and the power supply conversion circuit is used for converting an input power supply which is accessed into a power supply voltage and then outputting the power supply voltage;
the power supply detection circuit is provided with a first detection end and a second detection end, the first detection end of the power supply detection circuit is connected with the power supply input end, and the second detection end of the power supply detection circuit is connected with the output end of the power supply conversion circuit;
the power supply detection circuit is used for detecting the output voltage of the power supply input end and the output voltage of the power supply conversion circuit, outputting a power supply holding signal to the power supply holding control circuit when the output voltage of the power supply input end is smaller than a second preset voltage and/or the output voltage of the power supply conversion circuit is smaller than a third preset voltage, so that the power supply holding control circuit controls the energy storage circuit to be electrically connected with the power supply output end, and the energy storage circuit supplies power for an electric load.
Optionally, the power supply detection circuit is further configured to output a power-off signal to the power supply maintaining control circuit when the output voltage of the power supply input end is greater than a second preset voltage and the output voltage of the power supply conversion circuit is greater than a third preset voltage, so that the power supply maintaining control circuit controls the energy storage circuit to be electrically disconnected from the power supply output end, so that the energy storage circuit stops supplying power to the power-consuming load.
Optionally, the second preset voltage is greater than an undervoltage threshold of the power conversion circuit;
and the undervoltage threshold value of the power supply conversion circuit is the minimum input voltage of the power supply conversion circuit during normal operation.
Optionally, the power supply detection circuit includes:
the output end of the signal output circuit is connected with the controlled end of the power supply maintaining control circuit;
the detection end of the first detection circuit is connected with the power supply input end, the output end of the first detection circuit is connected with the first controlled end of the signal output circuit, the first detection circuit is used for detecting the output voltage of the power supply input end, outputting a first power-down signal to the signal output circuit when the output voltage of the power supply input end is smaller than a second preset voltage, and outputting a first power-up signal to the signal output circuit when the output voltage of the power supply input end is larger than the second preset voltage;
the detection end of the second detection circuit is connected with the output end of the power supply conversion circuit, the output end of the second detection circuit is connected with the second controlled end of the signal output circuit, the second detection circuit is used for detecting the output voltage of the power supply conversion circuit, outputting a second power-down signal to the signal output circuit when the output voltage of the power supply conversion circuit is smaller than a third preset voltage, and outputting a second power-up signal to the signal output circuit when the output voltage of the power supply conversion circuit is larger than the third preset voltage;
the signal output circuit is used for outputting a power supply maintaining signal to the power supply maintaining control circuit when receiving a first power down signal and/or a second power down signal, so that the power supply maintaining control circuit controls the energy storage circuit to be electrically connected with the power supply output end, and the energy storage circuit supplies power to an electric load; and the number of the first and second groups,
the signal output circuit is further used for outputting a power-off signal to the power supply maintaining control circuit when receiving the first power-on signal and the second power-on signal, so that the power supply maintaining control circuit controls the energy storage circuit to be electrically disconnected from the power output end, and the energy storage circuit stops supplying power to an electric load.
Optionally, the first detection circuit includes a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, and a first comparator, the first end of the first resistor is connected to the power input terminal, the second end of the first resistor is connected to the first end of the second resistor, the second end of the second resistor is grounded, the second end of the first resistor is further connected to the forward input terminal of the first comparator, the first end of the third resistor is grounded, the second end of the third resistor is connected to the first end of the fourth resistor, the second end of the fourth resistor is connected to the power output terminal, the common end of the third resistor is connected to the reverse input terminal of the first comparator, the power supply terminal of the first comparator is connected to the second end of the fourth resistor, the output terminal of the first comparator is connected to the first controlled terminal of the signal output circuit, the fifth resistor is connected in parallel to the output terminal of the first comparator and the forward input terminal, and the sixth resistor is connected in parallel to the power supply terminal of the first comparator and the output terminal of the signal output terminal.
Optionally, the second detection circuit includes an eighth resistor, a ninth resistor, a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, and a second comparator, a first end of the eighth resistor is connected to the output terminal of the power conversion circuit, a second end of the eighth resistor is connected to the first end of the ninth resistor, a second end of the ninth resistor is grounded, a second end of the eighth resistor is further connected to the forward input terminal of the second comparator, a first end of the tenth resistor is grounded, a second end of the tenth resistor is connected to the first end of the eleventh resistor, a second end of the eleventh resistor is connected to the power output terminal, a common end of the tenth resistor and the eleventh resistor is connected to the backward input terminal of the second comparator, an output terminal of the second comparator is connected to the second controlled terminal of the signal output circuit, a first end of the twelfth resistor is connected to the power output terminal, a second end of the twelfth resistor is connected to the output terminal of the second comparator, and a thirteenth resistor are connected in parallel between the forward input terminal of the second comparator and the forward input terminal of the second comparator.
Optionally, the energy storage voltage detection circuit includes a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a third comparator and a third switching tube, a first end of the fourteenth resistor is connected to the output end of the energy storage circuit, a second end of the fourteenth resistor is connected to the first end of the fifteenth resistor, a second end of the fifteenth resistor is grounded, an inverting input end of the third comparator is connected to the second end of the fourteenth resistor, an output end of the third comparator is connected to a controlled end of the third switching tube, a first end of the sixteenth resistor is connected to the output end of the energy storage circuit, a second end of the sixteenth resistor is connected to the output end of the third comparator, a first end of the third switching tube is connected to the controlled end of the power supply maintaining control circuit, and a second end of the third switching tube is grounded.
The invention also provides electronic equipment which comprises a processor and the power failure detection and power supply maintaining functional circuit; wherein,
and the power supply end of the processor is connected with the power supply output end of the power failure detection and power supply maintaining functional circuit.
Optionally, a signal receiving end of the processor is further connected to an output end of the power detection circuit, and the processor is configured to store data when receiving a power supply maintaining signal output by the power detection circuit.
According to the technical scheme, the energy storage voltage detection circuit is arranged, so that the energy storage voltage detection circuit can detect the output voltage of the energy storage circuit, and when the output voltage of the energy storage circuit is smaller than a first preset voltage, namely after the power failure data storage of the rear-stage load processor is completed, the power supply maintaining control circuit is controlled to disconnect the energy storage circuit from the power supply output end, so that the power supply voltage value of the rear-stage load processor before power failure is smaller than a required voltage value, the abnormality of the rear-stage load processor during power failure is avoided, the safety and the stability of the power failure detection and power supply maintaining function circuit are improved, and the problem of poor stability of the existing power failure storage scheme is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a functional block diagram of an embodiment of a power down detection and power supply maintenance functional circuit of the present invention;
FIG. 2 is a functional block diagram of another embodiment of the power down detection and power supply maintenance functional circuit of the present invention;
FIG. 3 is a functional block diagram of a further embodiment of the power down detection and power supply maintenance functional circuit of the present invention;
fig. 4 is a schematic circuit structure diagram of an embodiment of the power down detection and power supply holding function circuit of the present invention.
The reference numbers illustrate:
Figure BDA0003910197570000051
Figure BDA0003910197570000061
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative position relationship between the components, the motion situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.
In addition, if there is a description of "first", "second", etc. in an embodiment of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between the embodiments may be combined with each other, but must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory to each other or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
The invention provides a power failure detection and power supply maintaining functional circuit.
At present, in the prior art, some schemes are that a super capacitor discharges continuously after power failure, and control is not performed, so that system starting abnormity is caused when power is re-electrified because the previous voltage does not drop to 0V, usability of a product is influenced, and user experience is poor.
To solve the above problem, referring to fig. 1 to 4, in an embodiment, the power down detection and power supply maintaining function circuit includes:
the power supply output end is used for connecting an electric load;
a tank circuit 10;
a power supply holding control circuit 20, an input end of the power supply holding control circuit 20 is connected with an output end of the energy storage circuit 10, an output end of the power supply holding control circuit 20 is connected with the power supply output end, and the power supply holding control circuit 20 is used for controlling the energy storage circuit 10 to be electrically connected with the power supply output end when being conducted;
energy storage voltage detection circuitry 30, energy storage voltage detection circuitry 30's sense terminal with energy storage circuit 10's output is connected, energy storage voltage detection circuitry 30's output with the controlled end that control circuit 20 was kept in the power supply is connected, energy storage voltage detection circuitry 30 is used for detecting energy storage circuit 10's output voltage, and when energy storage circuit 10's output voltage is less than first predetermined voltage, control power supply keeps the disconnection of control circuit 20 energy storage circuit 10 with electricity between the power output end is connected, so that energy storage circuit 10 stops to supply power for the power consumption load.
In this embodiment, the power output end is used for accessing an electrical load such as a processor, and the power output end can also be connected with the power supply circuit and used for normally supplying power to an accessed rear-stage load, and when the power supply circuit is powered down, the energy storage circuit 10 provides temporary power supply, so that the rear-stage load processor can store data in time, and the data is prevented from being lost due to power failure. The energy storage circuit 10 may be implemented by an energy storage device such as an energy storage capacitor or a rechargeable battery, and the energy storage circuit 10 may also be electrically connected to a power supply circuit for normally supplying power to a subsequent load, so that when the power supply circuit normally supplies power to the subsequent load, a part of electric energy output by the power supply circuit is stored and used as electric energy for temporary power supply, and the electric energy in the energy storage circuit 10 may also be from other circuits. The power supply maintaining control circuit 20 can be implemented by using a switch tube or the like to control the connection or disconnection of a path between the energy storage circuit 10 and the power supply output end, and the power supply maintaining control circuit 20 is used for controlling the energy storage circuit 10 to be electrically connected with the power supply output end when the post-stage load processor is powered off, so that the energy storage circuit 10 provides temporary power supply for the post-stage load processor. The energy storage voltage detection circuit 30 can be implemented by selecting a voltage dividing resistor, a comparator, a switching tube and the like, wherein the forward input end of the comparator is connected to the output voltage of the energy storage circuit 10, and the reverse input end of the comparator is connected to a reference voltage, so that the low level and the high level output by the comparator can be used for controlling the on-off of the switching tube, and the connection or disconnection of a passage between the energy storage circuit 10 and a power output end is controlled.
It should be noted that, if the storage voltage detection circuit 30 is not provided, after the data of the load processor in the subsequent stage is stored, the load processor is gradually in a standby state or a shutdown state, at this time, the load in the subsequent stage is very small, and the time for discharging the electric energy stored in the storage circuit 10 to 0V is very long, that is, the time for the power output end to drop to 0V is very long. However, the subsequent load processor usually has a clear requirement, that is, the power supply voltage value before powering on again must be smaller than a certain value, otherwise, the subsequent load processor is abnormal after powering on, such as the system cannot be started, and the like, therefore, the energy storage voltage detection circuit 30 is provided in this embodiment, and when the output voltage of the energy storage circuit 10 reaches the undervoltage threshold value required by the subsequent load processor, that is, after the first preset voltage value, the path between the energy storage circuit 10 and the power output end is rapidly controlled to be disconnected, so that the energy storage circuit 10 stops supplying power to the subsequent load processor, so as to ensure that the system can be normally started when powering on next time. The first preset voltage value may be set to be less than or equal to the output voltage of the energy storage circuit 10 after the power-down data storage of the subsequent load processor is completed, and when the output voltage of the energy storage circuit 10 drops to the first preset voltage value, it represents that the subsequent load processor completes the power-down data storage. For example, the initial voltage when the energy storage circuit 10 supplies power to the subsequent load processor is 5V, the subsequent load processor reduces the voltage value output by the energy storage circuit 10 to 4V after the data storage is completed, and at this time, the first preset voltage value may be set to 4V or less than 4V, so that the power supply may be cut off after the subsequent load processor completes the data storage, so as to ensure that the system may be normally started when the system is powered on next time.
Referring to fig. 4, fig. 4 is a schematic diagram of a circuit structure implemented by a power failure detection and power supply holding function circuit, in the diagram, an energy storage circuit 10 is composed of an energy storage capacitor C2 and an eighteenth resistor R18, the energy storage capacitor C2 stores electric energy input from a power input end, a power supply holding control circuit 20 is composed of an NMOS transistor Q4, a PMOS transistor Q5 and a pull-down resistor R17, and when the NMOS transistor Q4 receives a power supply holding signal of a high level, the power supply holding signal is turned on, and a voltage at a gate terminal of the PMOS transistor Q5 is pulled down, so that the PMOS transistor Q5 is turned on, and the energy storage capacitor C2 is electrically connected with the power output end, so as to temporarily supply power to a rear-stage load processor. The energy storage voltage detection circuit 30 is composed of a comparator U3, a fourteenth resistor R14, a fifteenth resistor R15, a sixteenth resistor R16 and an NMOS transistor Q3, the comparator U3 is a comparator with a power reference source integrated therein, a voltage value of the power reference source integrated therein is a first preset voltage value, when the output voltage of the energy storage circuit 10 is greater than the first preset voltage value, the comparator U3 outputs a low level to control the NMOS transistor Q3 to be turned off, and at this time, the gate terminal of the NMOS transistor Q4 receives a high level power supply maintaining signal to be turned on. When the output voltage of the energy storage circuit 10 is smaller than the first preset voltage value, the comparator U3 outputs a high level to control the NMOS transistor Q3 to be turned on, so as to pull down the voltage at the gate terminal of the NMOS transistor Q4, i.e., output a power-off signal to the NMOS transistor Q4, so as to turn off the PMOS transistor Q5, so that the energy storage circuit 10 is disconnected from the power output terminal, and stops supplying power to the subsequent stage load processor, so as to ensure that the system can be normally started when the system is powered on next time.
According to the invention, by arranging the energy storage voltage detection circuit 30, the energy storage voltage detection circuit 30 can detect the output voltage of the energy storage circuit 10, and when the output voltage of the energy storage circuit 10 is smaller than the first preset voltage, namely after the power failure data storage of the rear-stage load processor is completed, the power supply maintaining control circuit 20 is controlled to disconnect the energy storage circuit 10 from the power supply output end, so that the power supply voltage value of the rear-stage load processor before power re-on can be smaller than the required voltage value, the abnormity of the rear-stage load processor during power re-on is avoided, and the safety and stability of the power failure detection and power supply maintaining function circuit are improved.
Referring to fig. 1 to 4, in an embodiment, the power down detection and power supply holding function circuit further includes:
the power supply input end is used for accessing an input power supply;
power supply detection circuit 40, power supply detection circuit 40's sense terminal with the power input end is connected, power supply detection circuit 40's output with power supply keeps controlled end connection of control circuit 20, power supply detection circuit 40 is used for detecting power input end's output voltage, and when power input end's output voltage is greater than the second and predetermines voltage, control power supply keeps control circuit 20 disconnection energy storage circuit 10 with electricity between the power output end is connected, so that energy storage circuit 10 stops to supply power for the power consumption load.
In this embodiment, the power input terminal may be connected to the power output terminal, so that the accessed input power supplies power to the subsequent load normally, and when the power input terminal is powered down, the energy storage circuit 10 supplies power to the subsequent load temporarily. The second preset voltage is a minimum voltage when the system can normally work, for example, when the voltage of the power input end is greater than 5V, the post-stage load processor can normally work, and when the voltage of the power input end is less than 5V, the post-stage load processor cannot normally work, so that 5V can be set as the second preset voltage, so that when the output voltage of the power input end is greater than the second preset voltage, the representation is that the power input end is powered on, and when the output voltage of the power input end is less than the second preset voltage, the representation is that the power input end is powered off. The power detection circuit 40 can be implemented by using a voltage dividing resistor, a comparator and a switching tube, so that when the output voltage of the power input end is greater than the second preset voltage, that is, when the power input end is powered on, a power-off signal is output to the power supply maintaining control circuit 20, so that the power supply maintaining control circuit 20 controls the energy storage circuit 10 to be electrically disconnected from the power output end, the accessed input power supplies power for the rear-stage load again, and the normal work of the rear-stage load after being powered on again is ensured.
Optionally, the power supply detecting circuit 40 is further configured to output a power supply maintaining signal to the power supply maintaining control circuit 20 when the output voltage of the power supply input end is less than a second preset voltage, so that the power supply maintaining control circuit 20 controls the energy storage circuit 10 to be electrically connected with the power supply output end, so that the energy storage circuit 10 supplies power to an electrical load.
In this embodiment, the power detection circuit 40 may be implemented by using a voltage dividing resistor, a comparator and a switching tube, so that when the output voltage of the power input terminal is less than the second preset voltage, that is, when the power input terminal is powered down, the power supply holding signal is output to the power supply holding control circuit 20, so that the power supply holding control circuit 20 controls the energy storage circuit 10 to be electrically connected with the power output terminal, so that the energy storage circuit 10 temporarily supplies power for the rear-stage load, and the rear-stage load processor can complete the data storage operation. The power detection circuit 40 may use the comparator to output the power supply holding signal and the power-off signal, and access the second preset voltage as the reference voltage to the comparator, so that the power detection circuit 40 can output the power supply holding signal when the output voltage of the power input terminal is less than the second preset voltage, and output the power-off signal when the output voltage of the power input terminal is greater than the second preset voltage, thereby realizing the control of the power supply holding control circuit 20.
Optionally, a power supply end of the power supply detection circuit 40 is connected to the power supply output end, and the power supply detection circuit 40 is further configured to output a power-off signal to the power supply maintaining control circuit 20 when the power supply end is powered down, so that the power supply maintaining control circuit 20 controls the energy storage circuit 10 to be electrically disconnected from the power supply output end, so that the energy storage circuit 10 stops supplying power to the power consuming load.
In this embodiment, the power supply terminal of the power supply detection circuit 40 is connected to the power supply output terminal, when the power supply terminal is powered off, the power supply detection circuit 40 cannot normally operate, and at this time, the power supply detection circuit 40 may regard as outputting a low-level power-off signal to the power supply maintaining control circuit 20, so as to control the energy storage circuit 10 to stop supplying power to the power consuming load. In this embodiment, the power output end is connected to the power supply end of the power detection circuit 40, and the input power is used as a power supply, so that it is not necessary to additionally provide a power supply for the power detection circuit 40. Meanwhile, when the power supply end is powered off, for example, when the power supply maintaining control circuit 20 controls the energy storage circuit 10 to be electrically connected with the power supply output end, and the electric energy of the energy storage circuit 10 is 0, the power supply detection circuit 40 cannot normally work at this time, and the power supply detection circuit 40 can be regarded as outputting a low-level power-off signal to the power supply maintaining control circuit 20, so that the energy storage circuit 10 is controlled to be disconnected from the electrical connection with the power supply output end, the abnormality is avoided when the system is powered on again, and the safety of the power-off detection and power supply maintaining functional circuit is improved.
Referring to fig. 1 to 4, in an embodiment, the power down detection and power supply holding function circuit further includes:
the input end of the power conversion circuit 50 is connected with the power input end, the output end of the power conversion circuit 50 is respectively connected with the power output end and the input end of the energy storage circuit 10, and the power conversion circuit 50 is used for converting an input power into a power supply voltage and outputting the power supply voltage;
the power detection circuit 40 has a first detection end and a second detection end, the first detection end of the power detection circuit 40 is connected with the power input end, and the second detection end of the power detection circuit 40 is connected with the output end of the power conversion circuit 50;
the power detection circuit 40 is configured to detect the output voltage of the power input end and the output voltage of the power conversion circuit 50, and output a power supply holding signal to the power supply holding control circuit 20 when the output voltage of the power input end is smaller than a second preset voltage and/or the output voltage of the power conversion circuit 50 is smaller than a third preset voltage, so that the power supply holding control circuit 20 controls the energy storage circuit 10 to be electrically connected to the power output end, so that the energy storage circuit 10 supplies power to an electric load.
In this embodiment, the power conversion circuit 50 may be implemented by using a DC-DC voltage conversion circuit, an AC-DC voltage conversion circuit, and the like, and the power conversion circuit 50 selects the corresponding power conversion circuit 50 according to actual use requirements, for example, when the power conversion circuit is applied to industrial communication, an input power accessed by a power input end is usually 24V, when the power conversion circuit is applied to communication equipment, an input power accessed by a power input end is usually 48V, and a processor that needs to perform operations such as data storage when the power is off is basically smaller than 5V, so that the power conversion circuit 50 may select the corresponding power conversion circuit 50 according to actual use requirements to convert the input power into a power supply required by the processor. The power detection circuit 40 may be composed of two voltage detection circuits, each of which may be implemented by a voltage dividing resistor, a comparator and a switching tube, and two detection terminals of the power detection circuit 40 respectively detect the output voltage of the power input terminal and the output voltage of the power conversion circuit 50. Thus, when the power input end is abnormally powered down or the power conversion circuit 50 is out of order to cause the output voltage to be abnormal, that is, the output voltage of the power input end is smaller than the second preset voltage, or the output voltage of the power conversion circuit 50 is smaller than the third preset voltage, the power detection circuit 40 outputs a power supply maintaining signal to the power supply maintaining control circuit 20, so that the power supply maintaining control circuit 20 controls the energy storage circuit 10 to be electrically connected with the power output end, so that the energy storage circuit 10 temporarily supplies power for the rear-stage load, and the rear-stage load processor can complete the data storage work when the power input end is abnormally powered down.
Optionally, the power detection circuit 40 is further configured to output a power-off signal to the power supply maintaining control circuit 20 when the output voltage of the power input terminal is greater than a second preset voltage and the output voltage of the power conversion circuit 50 is greater than a third preset voltage, so that the power supply maintaining control circuit 20 controls the energy storage circuit 10 to be electrically disconnected from the power output terminal, so that the energy storage circuit 10 stops supplying power to the power consuming load.
It can be understood that, when the power input terminal is powered down and then powered up again, since a certain time is required for the power input terminal to be powered up again through the conversion output of the power conversion circuit 50, in order to avoid the problem that the energy storage circuit 10 is controlled to stop supplying power to the subsequent load processor before the stable power supply voltage is established, so as to cause data storage failure and the like, in this embodiment, the power detection circuit 40 is further provided with a second detection terminal connected to the output terminal of the power conversion circuit 50. When the power detection circuit 40 detects that the output voltage of the power input end is greater than the second preset voltage and the output voltage of the power conversion circuit 50 is greater than the third preset voltage, that is, when the power input end and the power conversion circuit 50 both work normally, the power supply maintenance control circuit 20 outputs a power-off signal to the power supply maintenance control circuit 20, so that the power supply maintenance control circuit 20 controls the energy storage circuit 10 to be electrically connected with the power output end, and the power supply is recovered to be supplied by the accessed input power supply. Therefore, the energy storage circuit 10 stops supplying power to the post-stage load processor after the power conversion circuit 50 establishes stable power supply voltage, the problems of data storage failure and the like caused by disconnecting the energy storage circuit 10 due to abnormal establishment of power supply can be avoided, and the stability of the power failure detection and power supply maintaining function circuit is improved.
Referring to fig. 1 to 4, in an embodiment, the second predetermined voltage is greater than an under-voltage threshold of the power conversion circuit 50;
the undervoltage threshold of the power conversion circuit 50 is the minimum input voltage of the power conversion circuit 50 during normal operation.
It can be understood that, in order to ensure that the load is further maintained in a normal operating state before the energy storage circuit 10 supplies power to the load, when the output voltage of the power input end needs to be set to fall to the second preset voltage, the output voltage of the power input end should be greater than the under-voltage threshold of the power conversion circuit 50, that is, greater than the lowest input voltage required by the power conversion circuit 50 during normal operation. With this arrangement, before the output voltage of the power input end drops to the second preset voltage, the power conversion circuit 50 can still convert the output voltage of the power input end into the power supply voltage required by the subsequent load processor, so as to ensure that the energy storage circuit 10 supplies power before supplying power to the subsequent load processor. When the output voltage of the power input terminal is less than the second preset voltage, the power conversion circuit 50 cannot convert the output voltage of the power input terminal into the power supply voltage required by the post-stage load processor, that is, the power conversion circuit 50 cannot work normally. In other words, the power detection circuit 40 can output a power supply maintaining signal to the power supply maintaining control circuit 20 in advance before the power conversion circuit 50 cannot work normally, so as to control the energy storage circuit 10 to be communicated with the power output end, so that the output end of the power conversion circuit 50 can be powered down after the energy storage circuit 10 supplies power, the power supply state of the post-stage load processor is ensured, the post-stage load processor can be timely and normally powered down for storage, and the stability of the power failure detection and power supply maintaining function circuit is improved.
Referring to fig. 1 to 4, in an embodiment, the power detection circuit 40 includes:
a signal output circuit, an output end of which is connected with a controlled end of the power supply holding control circuit 20;
the detection end of the first detection circuit is connected with the power supply input end, the output end of the first detection circuit is connected with the first controlled end of the signal output circuit, the first detection circuit is used for detecting the output voltage of the power supply input end, outputting a first power-down signal to the signal output circuit when the output voltage of the power supply input end is smaller than a second preset voltage, and outputting a first power-up signal to the signal output circuit when the output voltage of the power supply input end is larger than the second preset voltage;
a second detection circuit, a detection end of which is connected to the output end of the power conversion circuit 50, an output end of which is connected to a second controlled end of the signal output circuit, the second detection circuit being configured to detect an output voltage of the power conversion circuit 50, output a second power-down signal to the signal output circuit when the output voltage of the power conversion circuit 50 is smaller than a third preset voltage, and output a second power-up signal to the signal output circuit when the output voltage of the power conversion circuit 50 is larger than the third preset voltage;
the signal output circuit is used for outputting a power supply maintaining signal to the power supply maintaining control circuit 20 when receiving a first power down signal and/or a second power down signal, so that the power supply maintaining control circuit 20 controls the energy storage circuit 10 to be electrically connected with the power supply output end, and the energy storage circuit 10 supplies power to an electric load; and the number of the first and second groups,
the signal output circuit is further configured to output a power-off signal to the power supply maintaining control circuit 20 when receiving the first power-on signal and the second power-on signal, so that the power supply maintaining control circuit 20 controls the energy storage circuit 10 to be electrically disconnected from the power output end, so that the energy storage circuit 10 stops supplying power to the power load.
Referring to fig. 4, fig. 4 is a schematic circuit structure diagram of an embodiment of the power down detection and power supply holding function circuit, in this embodiment, the power supply detection circuit 40 is composed of a signal output circuit, a first detection circuit and a second detection circuit, where the signal output circuit is composed of switching tubes Q1 and Q2 and a seventh resistor R7, one end of the seventh resistor is connected to the power supply output end, and the other end is connected to the controlled end of the power supply holding control circuit 20, and when the switching tubes Q1 and Q2 are both turned on, the controlled end of the power supply holding control circuit 20 is pulled down to a low level, that is, a power down signal is output to the power supply holding control circuit 20. When one of the switching tubes Q1 or Q2 is turned off, the controlled terminal of the power supply holding control circuit 20 is at a high level, that is, outputs a power supply holding signal to the power supply holding control circuit 20.
Optionally, the first detection circuit includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6 and a first comparator U1, the first end of the first resistor R1 is connected to the power input terminal, the second end of the first resistor R1 is connected to the first end of the second resistor R2, the second end of the second resistor R2 is grounded, the second end of the first resistor R1 is further connected to the forward input terminal of the first comparator U1, the first end of the third resistor R3 is grounded, the second end of the third resistor R3 is connected to the first end of the fourth resistor R4, the second end of the fourth resistor R4 is connected to the power output terminal, the common end of the third resistor R3 and the fourth resistor R4 is connected to the reverse input terminal of the first comparator U1, the power supply terminal of the first comparator U1 is connected to the second end of the fourth resistor R4, the first resistor R1 is connected to the forward input terminal of the first comparator U1, and the controlled output terminal of the first comparator U1 is electrically connected in parallel with the first comparator output terminal, and the second comparator U1 are electrically connected in parallel with the controlled output terminal of the first comparator U1.
Referring to fig. 4, the first detection circuit is composed of a first comparator U1, resistors R1 to R6 and a capacitor C1, the first capacitor C1 and the first resistor R1 form an RC filter circuit, stray abnormal waveforms on the input power VIN are filtered, and false triggering of power-down and undervoltage alarm is avoided. A forward input end of the first comparator U1 is connected to a common end of the first resistor R1 and the second resistor R2, that is, a detection end of the power input, a reverse input end of the comparator U1 is connected to a common end of the third resistor R3 and the fourth resistor R4, that is, a second preset voltage reference end, a value of an output voltage VIN of the power input end after being divided by R1 and R2 is Vref1= VIN R2/(R1 + R2), a voltage of the power output end after being divided by the third resistor R3 and the fourth resistor R4 is a second preset voltage Vref2= VCC 2R 3/(R3 + R4), the second preset voltage can be adjusted by adjusting resistance values of the third resistor R3 and the fourth resistor R4, when Vref1 is smaller than Vref2, the first comparator U1 outputs a first power-down signal of a low level, so that the first switching tube Q1 is turned off. When Vref1 is greater than Vref2, the first comparator U1 outputs a first power-on signal of a high level, so that the first switch tube Q1 is turned on.
Optionally, the second detection circuit includes an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, and a second comparator U2, a first end of the eighth resistor R8 is connected to the output terminal of the power conversion circuit 50, a second end of the eighth resistor R8 is connected to the first end of the ninth resistor R9, a second end of the ninth resistor R9 is grounded, a second end of the eighth resistor R8 is further connected to the forward input terminal of the second comparator U2, a first end of the tenth resistor R10 is grounded, a second end of the tenth resistor R10 is connected to the first end of the eleventh resistor R11, a second end of the eleventh resistor R11 is connected to the power output terminal, a common end of the tenth resistor R10 and the eleventh resistor R11 is connected to the reverse input terminal of the second comparator U2, an output terminal of the second comparator U2 is connected to the second controlled terminal of the signal output circuit, a twelfth terminal of the twelfth resistor R12 is connected to the second input terminal of the signal output circuit, and a second terminal of the twelfth resistor R2 is connected to the forward output terminal of the second comparator U2, and the second output terminal of the twelfth resistor R12 is connected to the forward output terminal of the second comparator U2, and the second terminal of the second comparator U2 is connected to the second output terminal of the controlled resistor R12, and the second comparator U2.
The second detection circuit consists of a second comparator U2 and resistors R8-R13, and the second comparator U2 and the first comparator U1 can be two independent comparator chips or can be realized by directly using a single chip of an integrated double comparator. The thirteenth resistor R13 is used to set a hysteresis threshold of the comparator to eliminate jitter and interference, the forward input terminal of the second comparator U2 is connected to a common terminal of the eighth resistor R8 and the ninth resistor R9, that is, an output power detection terminal of the power conversion circuit 50, a value of an output voltage VCC1 of the power conversion circuit 50 after voltage division by the eighth resistor R8 and the ninth resistor R9 is Vref3= VCC1 × R9/(R8 + R9), a reverse input terminal of the second comparator U2 is connected to a common terminal of the tenth resistor R10 and the eleventh resistor R11, that is, a third preset voltage reference terminal, a voltage of the power output terminal after voltage division by the tenth resistor R10 and the eleventh resistor R11 is a third preset voltage Vref4= VCC2 × R10/(R10 + R11), and the third preset voltage can be adjusted by adjusting resistance values of the tenth resistor R10 and the eleventh resistor R11. Similarly to the first detection circuit, when Vref3 is smaller than Vref4, the second comparator U2 outputs a second power-down signal of low level, so that the second switch tube Q2 is turned off. When Vref3 is greater than Vref4, the second comparator U2 outputs a second power-on signal of high level, so that the second switch tube Q2 is turned on. With such a configuration, when the power input terminal and the output voltage of the power conversion circuit 50 are both normal, the signal output circuit outputs the power-off signal, so that the energy storage circuit 10 stops supplying power to the post-stage load processor after the power conversion circuit 50 establishes a stable power supply voltage, and the problem of data storage failure and the like caused by disconnecting the energy storage circuit 10 due to abnormal establishment of power supply can be avoided. Meanwhile, when the output voltage of any one of the power input end and the power conversion circuit 50 is abnormal, the signal output circuit outputs a power supply maintaining signal, so that the energy storage circuit 10 supplies power for the subsequent load processor, the power supply can be switched to the energy storage circuit 10 to supply power under various abnormal conditions, and the stability of the power failure detection and power supply maintaining function circuit is improved. In addition, it can be understood that in the existing power-down storage scheme, some resistors are used for dividing voltage to control the switch of the Mos tube so as to trigger a power-down signal, but because Vgs (th) _ min and Vgs (th) _ max of Mos generally have a 2V error range, and after the Mos is converted into a circuit by the multiples of the two voltage-dividing resistors, the error of a power-down undervoltage trigger point is large, so that the problem of unstable circuit state is easily caused. Therefore, in this embodiment, the comparator and the resistor are selected for use in the first detection circuit and the second detection circuit, the device cost is low, the power-down undervoltage trigger point can be set according to the requirement with higher precision, and the stability of the circuit state is improved.
Referring to fig. 4, in an embodiment, the energy storage voltage detection circuit 30 includes a fourteenth resistor R14, a fifteenth resistor R15, a sixteenth resistor R16, a third comparator U3, and a third switching tube Q3, a first end of the fourteenth resistor R14 is connected to the output end of the energy storage circuit 10, a second end of the fourteenth resistor R14 is connected to the first end of the fifteenth resistor R15, a second end of the fifteenth resistor R15 is grounded, an inverting input end of the third comparator U3 is connected to the second end of the fourteenth resistor R14, an output end of the third comparator U3 is connected to the controlled end of the third switching tube Q3, a first end of the sixteenth resistor R16 is connected to the output end of the energy storage circuit 10, a second end of the sixteenth resistor R16 is connected to the output end of the third comparator U3, a first end of the third switching tube Q3 is connected to the controlled end of the power supply maintenance control circuit 20, and a second end of the third switching tube Q3 is grounded.
Referring to fig. 4, fig. 4 is a schematic diagram of a circuit structure implemented by a power failure detection and power supply holding function circuit, in the diagram, an energy storage circuit 10 is composed of an energy storage capacitor C2 and an eighteenth resistor R18, the energy storage capacitor C2 stores electric energy input from a power input end, a power supply holding control circuit 20 is composed of an NMOS transistor Q4, a PMOS transistor Q5 and a pull-down resistor R17, and when the NMOS transistor Q4 receives a power supply holding signal with a high level, the power supply holding control circuit is turned on, and a voltage at a gate terminal of the PMOS transistor Q5 is pulled down, so that the PMOS transistor Q5 is turned on, and the energy storage capacitor C2 is electrically connected with the power output end, so as to temporarily supply power to a post-stage load processor. The energy storage voltage detection circuit 30 is composed of a third comparator U3, a fourteenth resistor R14, a fifteenth resistor R15, a sixteenth resistor R16 and an NMOS transistor Q3, the third comparator U3 is a comparator with a power reference source integrated therein, a voltage value of the internal reference source is a first preset voltage value, when the output voltage of the energy storage circuit 10 is greater than the first preset voltage value, the third comparator U3 outputs a low level to control the NMOS transistor Q3 to be turned off, and at this time, the gate terminal of the NMOS transistor Q4 receives a high level power supply maintaining signal to be turned on. When the output voltage of the energy storage circuit 10 is smaller than the first preset voltage value, the third comparator U3 outputs a high level to control the NMOS transistor Q3 to be turned on, so as to pull down the voltage at the gate terminal of the NMOS transistor Q4, i.e., output a power-off signal to the NMOS transistor Q4, so as to turn off the PMOS transistor Q5, so that the energy storage circuit 10 is disconnected from the power output terminal, and stops supplying power to the post-stage load processor, so as to ensure that the system can be normally started when the system is powered on next time.
The invention also provides electronic equipment which comprises a processor and the power failure detection and power supply maintaining functional circuit; wherein,
and the power supply end of the processor is connected with the power supply output end of the power failure detection and power supply maintaining functional circuit.
Optionally, a signal receiving end of the processor is further connected to the output end of the power detection circuit 40, and the processor is configured to store data when receiving the power supply maintaining signal output by the power detection circuit 40.
In this embodiment, the power output end of power down detection and power supply keeping function circuit is used for accessing the processor, and the signal receiving end of processor is connected with the output end of power detection circuit 40 in the power down detection and power supply keeping function circuit, so, when the power input end loses the power, power detection circuit 40 outputs the power supply keeping signal, switch over to the power supply of energy storage circuit 10 this moment, the data storage begins to carry out when the treater receives the power supply keeping signal simultaneously, make the processor can in time learn the system and lose power and in time carry out data storage, avoid losing of data, the stability and the security of electronic equipment have been improved. In addition, the electronic device includes the power down detection and power supply maintaining function circuit, and the specific structure of the power down detection and power supply maintaining function circuit refers to the above embodiments.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (13)

1. A power down detection and power supply retention function circuit, comprising:
the power supply output end is used for connecting an electric load;
a tank circuit;
the input end of the power supply holding control circuit is connected with the output end of the energy storage circuit, the output end of the power supply holding control circuit is connected with the power supply output end, and the power supply holding control circuit is used for controlling the energy storage circuit to be electrically connected with the power supply output end when the power supply holding control circuit is conducted;
energy storage voltage detection circuitry, energy storage voltage detection circuitry's sense terminal with energy storage circuitry's output is connected, energy storage voltage detection circuitry's output with power supply keeps control circuit's controlled end to be connected, energy storage voltage detection circuitry is used for detecting energy storage circuitry's output voltage, and when energy storage circuitry's output voltage is less than first predetermined voltage, control power supply keeps control circuit disconnection energy storage circuitry with electricity between the power output end is connected, so that energy storage circuitry stops to supply power for the power consumption load.
2. The power down detection and power supply retention functional circuit of claim 1, further comprising:
the power input end is connected with the power output end and used for being connected with an input power supply;
the power supply detection circuit, the sense terminal of power supply detection circuit with the power input end is connected, power supply detection circuit's output with power supply keeps control circuit's controlled end to be connected, power supply detection circuit is used for detecting the output voltage of power input end, and when power input end's output voltage is greater than the second and predetermines voltage, control power supply keeps control circuit disconnection energy storage circuit with electricity between the power output end is connected, so that energy storage circuit stops to supply power for the power consumption load.
3. The power-down detection and power-supply maintaining functional circuit of claim 2, wherein the power supply detection circuit is further configured to output a power-supply maintaining signal to the power-supply maintaining control circuit when the output voltage at the power supply input terminal is less than a second preset voltage, so that the power-supply maintaining control circuit controls the energy storage circuit to be electrically connected with the power supply output terminal, so that the energy storage circuit supplies power to an electrical load.
4. The power down detection and power supply maintaining function circuit as claimed in claim 2, wherein a power supply terminal of the power supply detection circuit is connected to the power supply output terminal, and the power supply detection circuit is further configured to output a power down signal to the power supply maintaining control circuit when the power supply terminal is powered down, so that the power supply maintaining control circuit controls the energy storage circuit to be electrically disconnected from the power supply output terminal, so that the energy storage circuit stops supplying power to an electrical load.
5. The power down detection and power supply retention functional circuit of claim 2, further comprising:
the input end of the power supply conversion circuit is connected with the power supply input end, the output end of the power supply conversion circuit is respectively connected with the power supply output end and the input end of the energy storage circuit, and the power supply conversion circuit is used for converting an input power supply which is accessed into a power supply voltage and then outputting the power supply voltage;
the power supply detection circuit is provided with a first detection end and a second detection end, the first detection end of the power supply detection circuit is connected with the power supply input end, and the second detection end of the power supply detection circuit is connected with the output end of the power supply conversion circuit;
the power supply detection circuit is used for detecting the output voltage of the power supply input end and the output voltage of the power supply conversion circuit, outputting a power supply holding signal to the power supply holding control circuit when the output voltage of the power supply input end is smaller than a second preset voltage and/or the output voltage of the power supply conversion circuit is smaller than a third preset voltage, so that the power supply holding control circuit controls the energy storage circuit to be electrically connected with the power supply output end, and the energy storage circuit supplies power for an electric load.
6. The power down detection and power supply maintenance functional circuit of claim 5, wherein the power supply detection circuit is further configured to output a power down signal to the power supply maintenance control circuit when the output voltage of the power supply input terminal is greater than a second preset voltage and the output voltage of the power conversion circuit is greater than a third preset voltage, so that the power supply maintenance control circuit controls the energy storage circuit to be electrically disconnected from the power supply output terminal, so that the energy storage circuit stops supplying power to an electrical load.
7. The power down detection and power supply retention function circuit of claim 5, wherein the second predetermined voltage is greater than an under-voltage threshold of the power conversion circuit;
the undervoltage threshold value of the power conversion circuit is the minimum input voltage of the power conversion circuit during normal operation.
8. The power down detection and power supply retention function circuit of claim 5, wherein the power supply detection circuit comprises:
the output end of the signal output circuit is connected with the controlled end of the power supply maintaining control circuit;
the detection end of the first detection circuit is connected with the power supply input end, the output end of the first detection circuit is connected with the first controlled end of the signal output circuit, the first detection circuit is used for detecting the output voltage of the power supply input end, outputting a first power-down signal to the signal output circuit when the output voltage of the power supply input end is smaller than a second preset voltage, and outputting a first power-up signal to the signal output circuit when the output voltage of the power supply input end is larger than the second preset voltage;
the detection end of the second detection circuit is connected with the output end of the power supply conversion circuit, the output end of the second detection circuit is connected with the second controlled end of the signal output circuit, the second detection circuit is used for detecting the output voltage of the power supply conversion circuit, outputting a second power-down signal to the signal output circuit when the output voltage of the power supply conversion circuit is smaller than a third preset voltage, and outputting a second power-up signal to the signal output circuit when the output voltage of the power supply conversion circuit is larger than the third preset voltage;
the signal output circuit is used for outputting a power supply maintaining signal to the power supply maintaining control circuit when receiving a first power down signal and/or a second power down signal, so that the power supply maintaining control circuit controls the energy storage circuit to be electrically connected with the power supply output end, and the energy storage circuit supplies power to an electric load; and the number of the first and second groups,
the signal output circuit is further used for outputting a power-off signal to the power supply maintaining control circuit when receiving the first power-on signal and the second power-on signal, so that the power supply maintaining control circuit controls the energy storage circuit to be electrically disconnected from the power output end, and the energy storage circuit stops supplying power to an electric load.
9. The power failure detection and power supply maintaining function circuit as claimed in claim 8, wherein the first detection circuit comprises a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor and a first comparator, a first end of the first resistor is connected to the power supply input terminal, a second end of the first resistor is connected to the first end of the second resistor, a second end of the second resistor is grounded, a second end of the first resistor is further connected to a forward input terminal of the first comparator, a first end of the third resistor is grounded, a second end of the third resistor is connected to a first end of the fourth resistor, a second end of the fourth resistor is connected to a power supply output terminal, a common end of the third resistor and the fourth resistor is connected to an inverting input terminal of the first comparator, a power supply terminal of the first comparator is connected to a second end of the fourth resistor, an output terminal of the first comparator is connected to a first controlled terminal of the signal output circuit, a common end of the fifth resistor is connected in parallel between the first controlled terminal of the first comparator and the sixth terminal, and the forward output terminal of the first comparator is connected in parallel to the power supply output terminal of the signal output circuit.
10. The power down detection and power supply maintenance functional circuit according to claim 8, wherein the second detection circuit includes an eighth resistor, a ninth resistor, a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor and a second comparator, a first end of the eighth resistor is connected to the output terminal of the power conversion circuit, a second end of the eighth resistor is connected to the first end of the ninth resistor, a second end of the ninth resistor is grounded, a second end of the eighth resistor is further connected to a positive input terminal of the second comparator, a first end of the tenth resistor is grounded, a second end of the tenth resistor is connected to the first end of the eleventh resistor, a second end of the eleventh resistor is connected to a power output terminal, a common end of the tenth resistor and the eleventh resistor is connected to a negative input terminal of the second comparator, an output terminal of the second comparator is connected to the second controlled terminal of the signal output circuit, a first end of the twelfth resistor is connected to the power output terminal, a second end of the twelfth resistor is connected to the thirteenth output terminal of the second comparator, and the positive output terminal of the second comparator is connected in parallel with the positive input terminal of the second comparator.
11. The power failure detection and power supply maintaining function circuit as claimed in claim 1, wherein the energy storage voltage detection circuit includes a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a third comparator and a third switching tube, a first end of the fourteenth resistor is connected to the output terminal of the energy storage circuit, a second end of the fourteenth resistor is connected to the first end of the fifteenth resistor, a second end of the fifteenth resistor is grounded, an inverting input terminal of the third comparator is connected to the second end of the fourteenth resistor, an output terminal of the third comparator is connected to the controlled terminal of the third switching tube, a first end of the sixteenth resistor is connected to the output terminal of the energy storage circuit, a second end of the sixteenth resistor is connected to the output terminal of the third comparator, a first end of the third switching tube is connected to the controlled terminal of the power supply maintaining control circuit, and a second end of the third switching tube is grounded.
12. An electronic device comprising a processor and a power down detection and power supply retention function circuit as claimed in any one of claims 1 to 11; wherein,
and the power supply end of the processor is connected with the power supply output end of the power failure detection and power supply maintaining functional circuit.
13. The electronic device of claim 12, wherein the signal receiving end of the processor is further connected to the output end of the power detection circuit, and the processor is configured to perform data storage when receiving the power supply holding signal output by the power detection circuit.
CN202211330884.8A 2022-10-26 2022-10-26 Power failure detection and power supply maintaining function circuit and electronic equipment Pending CN115576406A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211330884.8A CN115576406A (en) 2022-10-26 2022-10-26 Power failure detection and power supply maintaining function circuit and electronic equipment
PCT/CN2023/106993 WO2024087737A1 (en) 2022-10-26 2023-07-12 Circuit having power failure detection and power supply holding functions, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211330884.8A CN115576406A (en) 2022-10-26 2022-10-26 Power failure detection and power supply maintaining function circuit and electronic equipment

Publications (1)

Publication Number Publication Date
CN115576406A true CN115576406A (en) 2023-01-06

Family

ID=84586671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211330884.8A Pending CN115576406A (en) 2022-10-26 2022-10-26 Power failure detection and power supply maintaining function circuit and electronic equipment

Country Status (2)

Country Link
CN (1) CN115576406A (en)
WO (1) WO2024087737A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117111534A (en) * 2023-10-16 2023-11-24 长沙先度科技有限公司 Automatic power-on control circuit and control method thereof
WO2024087737A1 (en) * 2022-10-26 2024-05-02 深圳市汇川技术股份有限公司 Circuit having power failure detection and power supply holding functions, and electronic device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007259564A (en) * 2006-03-22 2007-10-04 Fuji Electric Systems Co Ltd Distributed power supply system
CN107681885B (en) * 2017-09-12 2019-09-17 深圳市瑞康宏业科技开发有限公司 A kind of power-down retaining circuit and method
CN112003464A (en) * 2020-06-30 2020-11-27 中国航发南方工业有限公司 Power-down holding circuit for switching power supply of airborne electronic equipment
CN216599117U (en) * 2021-12-09 2022-05-24 深圳市汇川技术股份有限公司 Power-down storage circuit, power-down storage device and PLC equipment
CN115576406A (en) * 2022-10-26 2023-01-06 深圳市汇川技术股份有限公司 Power failure detection and power supply maintaining function circuit and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024087737A1 (en) * 2022-10-26 2024-05-02 深圳市汇川技术股份有限公司 Circuit having power failure detection and power supply holding functions, and electronic device
CN117111534A (en) * 2023-10-16 2023-11-24 长沙先度科技有限公司 Automatic power-on control circuit and control method thereof
CN117111534B (en) * 2023-10-16 2024-01-16 长沙先度科技有限公司 Automatic power-on control circuit and control method thereof

Also Published As

Publication number Publication date
WO2024087737A1 (en) 2024-05-02

Similar Documents

Publication Publication Date Title
CN115576406A (en) Power failure detection and power supply maintaining function circuit and electronic equipment
CN214380275U (en) Dual-power supply circuit and dual-power supply system of T-Box controller
CN116707118A (en) Power failure detection and power failure holding function circuit and electronic equipment
AU2021294050B2 (en) Battery device control circuit
CN109756021B (en) Power supply control circuit and electrical equipment
CN112860045A (en) Low-voltage input power-down data protection system and protection method
CN111130210B (en) Main and standby power management system
CN215681904U (en) Power supply switching circuit and medical equipment
CN211958856U (en) Power supply switching circuit
CN112701752B (en) UPS battery protection circuit and UPS
CN114336938A (en) Battery power supply system and electronic equipment
CN114285128A (en) Outdoor equipment power supply control circuit, outdoor equipment power supply system and outdoor equipment
CN114221428A (en) BMS power supply system
CN218888388U (en) Power supply circuit with surge current protection function and wireless communication equipment
CN112531876A (en) Power-down alarm control circuit
CN221783868U (en) Protection circuit, battery management system and power utilization device
CN211790718U (en) USB overcurrent protection circuit
CN216121905U (en) Power supply switching circuit and electronic equipment
CN106655465B (en) System clock power supply device, method and electric appliance
CN218549571U (en) Power supply redundancy protection circuit
CN221177544U (en) Discharging circuit, discharging module and mobile terminal
WO2023010462A1 (en) Power source circuit and electronic device
CN214543788U (en) Charging path management circuit
CN209014942U (en) A kind of lower electric sequential control circuit and power circuit
CN220291655U (en) Under-voltage protection circuit and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination