CN107681885B - A kind of power-down retaining circuit and method - Google Patents
A kind of power-down retaining circuit and method Download PDFInfo
- Publication number
- CN107681885B CN107681885B CN201710821349.5A CN201710821349A CN107681885B CN 107681885 B CN107681885 B CN 107681885B CN 201710821349 A CN201710821349 A CN 201710821349A CN 107681885 B CN107681885 B CN 107681885B
- Authority
- CN
- China
- Prior art keywords
- unit
- control
- power
- input terminal
- output end
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M3/00—Conversion of dc power input into dc power output
- H02M3/02—Conversion of dc power input into dc power output without intermediate conversion into ac
- H02M3/04—Conversion of dc power input into dc power output without intermediate conversion into ac by static converters
- H02M3/06—Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using resistors or capacitors, e.g. potential divider
- H02M3/07—Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using resistors or capacitors, e.g. potential divider using capacitors charged and discharged alternately by semiconductor devices with control electrode, e.g. charge pumps
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention discloses a kind of power-down retaining circuit and methods.The present invention detects the output signal of power supply unit by detection of power loss unit, the input signal of load unit is to export the work that control signal controls charging control unit and control of discharge unit, when realizing power supply unit power down, charging control unit is disconnected, control of discharge unit is switched on so that charge storage unit is powered to load unit, realize that power down is kept, ensure that load unit has sufficient safety power supply for backing up important information when power down, and be avoided that charge storage unit put when filling caused by state labile, proof load unit can normal table work when power down is kept.
Description
Technical field
The present invention relates to power down protection field, especially a kind of power-down retaining circuit and method.
Background technique
One basic function of electronic equipment is exactly switching on and shutting down.For some important equipment, especially before shutdown
Needing to save the electronic equipment of significant data, simple cutting working power inevitably results in data and has little time to save and lose,
Cause immeasurable loss.Medical treatment electronic equipment higher for security requirement, will even more prevent accident power-off or electricity
Pond electricity exhausts and accident is shut down the case where leading to loss of data, so, for the safety of device data, safe and reliable delay
Shutdown becomes an essential link.
Currently, most of provide the equipment of on/off circuit, especially PC computer, handheld mobile device, industrial instrumentation
Instrument, intelligent switchboard etc. are all to export a delay Sofe Switch machine letter after detecting by program-controlled chip to power switch button
Number realize on/off.It controls complex, responds slower, and once program-controlled chip crashes, then cannot respond to off signal,
And it can not power cutoff.In addition, this method can not handle abnormal power-down or the delaying shutdown in the case that battery exhausts, hold
Easily cause loss of data.
Existing on/off circuit, circuit is excessively complicated, and higher cost, independence is not strong, can not handle abnormal power-down feelings
Condition.
Summary of the invention
In order to solve the above technical problem, the present invention provides a kind of power-down retaining circuit and methods, for defeated during power down
The electric energy stored out is with proof load cell delay power down.
The technical scheme adopted by the invention is that: a kind of power-down retaining circuit, including power supply unit, load supplying unit and
The output end of load unit, the power supply unit is connect with the input terminal of load supplying unit, the load supplying unit it is defeated
The connection of the input terminal of outlet and load unit;
The power-down retaining circuit further includes detection of power loss unit, charging control unit, charge storage unit and control of discharge list
Member;
The input terminal connection of the input terminal, detection of power loss unit of the output end and charging control unit of the power supply unit;
The output end of the charge storage unit is connect with the input terminal of the input terminal of detection of power loss unit, control of discharge unit respectively;It is described
Load unit is connect with detection of power loss unit;The output end of the detection of power loss unit respectively with the input of charging control unit
It holds, the input terminal of control of discharge unit is connected to control the on-off of charging control unit, control of discharge unit;The charge control
The output end of unit and the input terminal of charge storage unit connect;The output end of the control of discharge unit and the input terminal of load unit
Connection.
Further, the power-down retaining circuit further includes output voltage regulation unit, the output end of the control of discharge unit
It is connected by the input terminal of output voltage regulation unit and load unit.
Further, the output voltage regulation unit includes first capacitor and the second capacitor, one end of the first capacitor with
The output end connection of one end, control of discharge unit of the second capacitor, one end of second capacitor and the input terminal of load unit
Connection;The other end ground connection of the other end of the first capacitor, the second capacitor.
Further, the detection of power loss unit includes first voltage detection circuit, second voltage detection circuit, third electricity
Press detection circuit, first comparator and the second comparator;The output end of the power supply unit is defeated with first voltage detection circuit
Enter end connection;The output end of the load unit is connect with the input terminal of second voltage detection circuit;The charge storage unit it is defeated
Outlet is connect with the input terminal of tertiary voltage detection circuit;The output end of the first voltage detection circuit, second voltage detection
The output end of circuit is connect with the input terminal of first comparator respectively;The output end of the first comparator respectively with charge control
The input terminal connection of the input terminal of unit, the input terminal of control of discharge unit, load unit;The second voltage detection circuit
Output end, tertiary voltage detection circuit output end connect respectively with the input terminal of the second comparator, second comparator
The input terminal of output end and the output end of first comparator, charging control circuit connects.
Further, the first voltage detection circuit include the first divider resistance and the second divider resistance, described first
The output end of one end of divider resistance and power supply unit connects, the other end of first divider resistance and the second divider resistance
The non-inverting input terminal connection of one end, first comparator, the other end ground connection of second divider resistance;The second voltage detection
Circuit includes third divider resistance and the 4th divider resistance, and one end of the third divider resistance and the output end of load unit connect
It connects, one end of the other end of the third divider resistance and the 4th divider resistance, the inverting input terminal of first comparator, the second ratio
Non-inverting input terminal compared with device connects, the other end ground connection of the 4th divider resistance;The tertiary voltage detection circuit includes the
The output end of five divider resistances and the 6th divider resistance, one end of the 5th divider resistance and charge storage unit connects, and described the
The other end of five divider resistances is connect with the inverting input terminal of one end of the 6th divider resistance, the second comparator, and described 6th point
The other end of piezoresistance is grounded.
Further, the ratio of first divider resistance and the second divider resistance, third divider resistance and the 4th partial pressure
The ratio of the ratio of resistance, the 5th divider resistance and the 6th divider resistance is identical.
Further, the charging control unit includes first switch tube and second switch, the detection of power loss unit
Output end and the control terminal of first switch tube connect, the negative output terminal of first switch tube ground connection, the first switch tube
Positive output end and the control terminal of second switch connect, the negative output terminal of the second switch and the output end of power supply unit
Connection, the positive output end of the second switch and the input terminal of charge storage unit connect.
Further, the control of discharge unit includes third switching tube, the output end of the detection of power loss unit and
The control terminal of three switching tubes connects, and the output end of the charge storage unit is connect with the negative output terminal of third switching tube, the third
The positive output end of switching tube and the input terminal of load unit connect.
It is of the present invention another solution is that a kind of power-down retaining method, keep electricity applied to the power down
Road,
Detection of power loss unit detects the output signal of power supply unit, the input signal of load unit to export control signal control
The work of charging control unit processed and control of discharge unit;
When detection of power loss unit detects power supply unit power down, output control signal control charging control unit is disconnected,
And the control control of discharge unit conducting of control signal is exported to realize that charge storage unit powers to load unit.
Further, the output voltage of detection of power loss unit detection power supply unit, charge storage unit output voltage with
And the input voltage of load unit;
When the output voltage of the power supply unit is less than the input voltage of load unit, i.e., the described power supply unit power down,
The detection of power loss unit control charging control unit disconnects;The detection of power loss unit control control of discharge unit conducting, institute
Charge storage unit is stated to power to load unit;
When the input voltage that the output voltage of the power supply unit is greater than the input voltage of load unit and load unit is big
When the output voltage of charge storage unit, the detection of power loss unit control control of discharge unit is disconnected;The detection of power loss unit
Charging control unit conducting is controlled, the power supply unit charges to charge storage unit.
The beneficial effects of the present invention are:
The present invention detects the output signal of power supply unit, the input signal of load unit by detection of power loss unit to export
The work for controlling signal control charging control unit and control of discharge unit, when realizing power supply unit power down, charging control unit
It is disconnected, control of discharge unit is switched on so that charge storage unit is powered to load unit, and realization power down is kept, and ensures load unit
Have sufficient safety power supply for backing up important information when power down, and be avoided that charge storage unit put when filling caused by state
Unstable, proof load unit can normal table work when power down is kept.
Detailed description of the invention
Specific embodiments of the present invention will be further explained with reference to the accompanying drawing:
Fig. 1 is an a kind of specific embodiment structural block diagram of power-down retaining circuit of the present invention;
Fig. 2 is an a kind of specific embodiment structural block diagram of the detection of power loss unit of power-down retaining circuit of the present invention;
Fig. 3 is an a kind of specific embodiment circuit diagram of power-down retaining circuit of the present invention;
Fig. 4 is an a kind of specific embodiment voltage oscillogram of the input voltage vin of power-down retaining circuit of the present invention;
Fig. 5 is a kind of specific embodiment voltage of the output voltage of the detection of power loss unit of power-down retaining circuit of the present invention
Waveform diagram;
Fig. 6 is an a kind of specific embodiment of the output voltage Vout and tank voltage Vcap of power-down retaining circuit of the present invention
Voltage oscillogram.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.
A kind of power-down retaining circuit is an a kind of specific embodiment knot of power-down retaining circuit of the present invention with reference to Fig. 1, Fig. 1
Structure block diagram, power-down retaining circuit are used to provide electric energy in the power-off of main power supply circuit for load unit, have with proof load unit
Electric energy backup important information, main power supply circuit include power supply unit and load supplying unit, the output end of power supply unit and load
The input terminal of power supply unit connects, and the output end of load supplying unit and the input terminal of load unit connect;In the present embodiment, electricity
Source unit is DC power supply, provides power supply for circuit;Load supplying unit is used to for the voltage that power supply unit inputs being converted into can
For the voltage of load unit work, load supplying unit is usually to utilize DC-DC power source conversion chip or LDO power supply chip
Carry out voltage conversion;
Power-down retaining circuit further includes detection of power loss unit, charging control unit, charge storage unit and control of discharge unit;Electricity
The input terminal connection of the input terminal, detection of power loss unit of the output end and charging control unit of source unit;The output of charge storage unit
End is connect with the input terminal of the input terminal of detection of power loss unit, control of discharge unit respectively;Load unit and detection of power loss unit
Connection;The output end of detection of power loss unit is connect with the input terminal of the input terminal of charging control unit, control of discharge unit respectively
To control the on-off of charging control unit, control of discharge unit;The output end of charging control unit and the input terminal of charge storage unit
Connection;The output end of control of discharge unit and the input terminal of load unit connect.
The present invention is arranged detection of power loss unit and carries out detection of power loss to control charging control unit and control of discharge unit
Work, and power down occurs for notification payload unit, then load unit has sufficient safety power supply backup important information when power down is kept,
And be avoided that charge storage unit put when filling caused by state labile, proof load unit can be normally steady when power down is kept
Fixed work.Generally, load unit is the programming device such as the CPU with control function or other function circuit.Load unit
It needs lasting power supply to supply and is just able to maintain normal work.When power supply unit powered-off fault, load unit is from detection of power loss list
It after member is notified, and keeps core function to operate using the power supply of charge storage unit, and start shutdown programm, backs up important letter
Breath.
It is a kind of power down inspection of power-down retaining circuit of the present invention with reference to Fig. 2, Fig. 2 as the further improvement of technical solution
A specific embodiment structural block diagram of unit is surveyed, detection of power loss unit includes first voltage detection circuit, second voltage detection electricity
Road, tertiary voltage detection circuit, first comparator and the second comparator;The output end and first voltage detection circuit of power supply unit
Input terminal connection to detect the output voltage of power supply unit;The output end of load unit and the input of second voltage detection circuit
End is connected to detect the input voltage of load unit;The output end of charge storage unit is connect with the input terminal of tertiary voltage detection circuit
To detect the output voltage of charge storage unit;The output end of first voltage detection circuit, the output end of second voltage detection circuit divide
It is not connect with the input terminal of first comparator;The output end of first comparator respectively with the input terminal of charging control unit, electric discharge
The input terminal connection of the input terminal, load unit of control unit;Output end, the tertiary voltage detection electricity of second voltage detection circuit
The output end on road is connect with the input terminal of the second comparator respectively, the output end of the second comparator and the output of first comparator
The input terminal connection at end, charging control circuit.
Specifically, referring to figs. 2 and 3, Fig. 3 is an a kind of specific embodiment circuit theory of power-down retaining circuit of the present invention
Figure, wherein load supplying unit 5 is simulated using diode D1, and load unit 6 is simulated using RL2, and power supply unit is used
Vin indicates power input.The first voltage detection circuit of detection of power loss unit 1 includes the partial pressure electricity of the first divider resistance R4 and second
R12 is hindered, one end of the first divider resistance R4 and the output end of power supply unit connect, the other end and second of the first divider resistance R4
The non-inverting input terminal connection of one end, first comparator U3A of divider resistance R12, the other end ground connection of the second divider resistance R12;
Second voltage detection circuit includes third divider resistance R11 and the 4th divider resistance R13, one end of third divider resistance R11 with
The output end of load unit 6 connects, and the other end of third divider resistance R11 is compared with one end of the 4th divider resistance R13, first
The inverting input terminal of device U3A, the connection of the non-inverting input terminal of the second comparator U3B, the other end ground connection of the 4th divider resistance R13;
Tertiary voltage detection circuit includes the 5th divider resistance R5 and the 6th divider resistance R10, one end of the 5th divider resistance R5 and storage
The output end of electric unit 3 connects, the other end of the 5th divider resistance R5 and one end, the second comparator of the 6th divider resistance R10
The inverting input terminal of U3B connects, the other end ground connection of the 6th divider resistance R10.Further, the first divider resistance R4 and second
The ratio of divider resistance R12, the ratio of third divider resistance R11 and the 4th divider resistance R13, the 5th divider resistance R5 and the 6th
The ratio of divider resistance R10 is identical.
Wherein, the first divider resistance R4 and the second divider resistance R12 forms bleeder circuit to acquire the input of power supply unit
Voltage Vin (i.e. the output voltage of power supply unit), resistance R9 are the input build-out resistors of first comparator U3A.Second partial pressure electricity
Resistance R11 and the 4th divider resistance R13 composition bleeder circuit is to acquire output voltage Vout (i.e. the input voltage of load unit), and two
A voltage input first comparator U3A is compared.5th divider resistance R5 and the 6th divider resistance R10 forms bleeder circuit to adopt
Collect the tank voltage Vcap (i.e. the output voltage of charge storage unit) of charge storage unit, output voltage Vout and tank voltage Vcap two
The second comparator of voltage input U3B is compared.
As the further improvement of technical solution, referring to figs. 2 and 3, charging control unit 2 include first switch tube M1 and
The output end of second switch M2, detection of power loss unit 1 are connect with the control terminal of first switch tube M1, and first switch tube M1's is negative
Output end ground connection, the positive output end of first switch tube M1 are connect with the control terminal of second switch M2, and second switch M2's is negative
The connection of the output end of output end and power supply unit, the positive output end of second switch M2 are connect with the input terminal of charge storage unit 3.This
In embodiment, first switch tube M1 and second switch M2 are PMOS tube, and the grid of PMOS tube is the control terminal of switching tube, PMOS
The source electrode of pipe is the negative output terminal of switching tube, and the drain electrode of PMOS tube is the positive output end of switching tube.In addition, charging control unit 2
It further include first diode D3, the second diode D4, resistance R8 and resistance R2, the control terminal of first switch tube M1 and the one or two pole
The anode connection of pipe D3, the cathode of first diode D3 are connect with the output end of first comparator U3A, and first diode D3 is just
Pole is connect with the anode of one end of resistance R8, the second diode D4, and one end of resistance R8 is connect with supply voltage, and the one of resistance R2
End is connect with the control terminal of second switch M2, and the other end of resistance R2 is connect with the negative output terminal of second switch M2, and second
The cathode of diode D4 is connect with the output end of the second comparator U3B.
As the further improvement of technical solution, referring to figs. 2 and 3, charge storage unit 3 includes storage capacitor C3 and resistance
One end of R1, storage capacitor C3 and the output end of charging control unit 2, the input terminal of control of discharge unit 4, detection of power loss unit
1 input terminal connection, the other end ground connection of storage capacitor C3.Resistance R1 is the charging that current-limiting resistance is used to control storage capacitor C3
The size of electric current, specifically, storage capacitor C3 are super capacitor, and the positive output end of second switch M2 and one end of resistance R1 connect
It connects, the other end of resistance R1 is connect with one end of the anode of storage capacitor C3, third divider resistance R5, the cathode of storage capacitor C3
Ground connection.
In fact, the super capacitor by selecting Reasonable Parameters, when power down is kept, after charge storage unit 3 opens electric discharge, storage
The electric energy that electric unit 3 stores was for the delay of load unit 6 work 10 seconds or so, to guarantee that load unit can be located under power blackout situation
Reason is abnormal or carries out data backup storage.
As the further improvement of technical solution, referring to figs. 2 and 3, control of discharge unit 4 includes third switching tube M3,
The output end of detection of power loss unit 1 is connect with the control terminal of third switching tube M3, the output end and third switching tube of charge storage unit 3
The negative output terminal of M3 connects, and the positive output end of third switching tube M3 is connect with the input terminal of load unit 6.In the present embodiment, the
Three switching tube M3 are PMOS tube, and the grid of PMOS tube is the control terminal of switching tube, and the source electrode of PMOS tube is the negative output of switching tube
End, the drain electrode of PMOS tube are the positive output end of switching tube.In fact, control of discharge unit 4 further includes resistance R3, storage capacitor C3
Anode connect with the negative output terminal of one end of resistance R3, third switching tube M3, the control terminal of third switching tube M3 and first compare
Output end compared with device U3A connects (ctr-discharge in such as Fig. 3), the positive output end and load unit of third switching tube M3
6 input terminal connection, in addition, the output end of first comparator U3A is connect with the input terminal of load unit 6 (passes through ctr-
discharge)。
With reference to Fig. 3, when reality is started to work, after circuit powers on, then input voltage vin is greater than output voltage Vout, output
Voltage Vout rises, tank voltage Vcap no-voltage, and load unit starting works normally.When input voltage vin is more than or equal to defeated
Out when voltage Vout, first comparator U3A exports high level, at this point, being drawn the control terminal of third switching tube M3 by resistance R3
For high level, third switching tube M3 is not turned on, and control of discharge unit 4 is not turned on, and power supply unit 3 does not discharge to load unit 6, and
Voltage by the power supply unit at this time of ctr-discharge notification payload unit 6 is normal, meanwhile, first switch tube M1 and second
Switching tube M2 is switched on, and power supply unit is allowed to charge (power supply unit does not charge to charge storage unit at this time) to charge storage unit.
At this point, the second comparator U3B exports high level, and first switch tube M1 is led if output voltage Vout is greater than tank voltage Vcap
Logical, then second switch M2 is switched on, and power supply unit charges to charge storage unit 3.If output voltage Vout is less than energy storage electricity
Press Vcap, then the second comparator U3B exports low level, and first switch tube M1 and second switch M2 be not turned on, power supply unit without
Method charges to charge storage unit 3.Until input voltage vin is fallen, i.e. power down, then input voltage vin is less than output voltage
Vout, first comparator U3A export low level, so that the control terminal of third switching tube M3 is low level, thus third switching tube
M3 is switched on, and charge storage unit 3, which starts to discharge to load unit, provides delay power supply, and tank voltage Vcap is slowly reduced, output electricity
Pressure Vout is slowly reduced, and load unit works normally.At this point, first switch tube M1 and second switch M2 are not turned on, power supply list
Member can not charge to charge storage unit 3, while the power down of the power supply unit of notification payload unit 6;Until tank voltage
Vcap reduces sufficiently low until being 0, load unit 6 actively shuts down.
With reference to Fig. 3, when first comparator U3A and the second comparator U3B allows to charge to charge storage unit, output is all
Open-drain state is high level by resistance R7, resistance R14 pull-up, since the one-way conduction of diode D3, diode D4 act on,
So not influencing the working condition of first switch tube M1.Output voltage VCC (the i.e. output voltage of load supplying unit at this time
Vout) by resistance R8 to the control terminal high level of first switch tube M1, first switch tube M1 conducting, by second switch M2's
Control terminal is drawn to low level, so that having Negative Pressure Difference on resistance R2, so that second switch M2 is switched on, power supply unit gives storage list
Member charging.This operation can charge in time, guarantee has abundance when tank voltage Vcap is lower than output voltage Vout
Electric energy storage.
With reference to Fig. 3, when first comparator U3A allows to charge to charge storage unit, exports as high level, third can be controlled
The control terminal of switching tube M3 is high level, to forbid discharging.This operation be avoided that charge storage unit put when filling caused by shape
State is unstable.
With reference to Fig. 3, when any one in first comparator U3A and the second comparator U3B forbids charging, all output is low electricity
It is flat, then the control terminal of first switch tube M1 can be drawn to low level, so that first switch by diode D3 or diode D4
Pipe M1 shutdown, so that resistance R2 both end voltage under the action of the input voltage vin of power supply unit is identical, so that second switch
M2 is not turned on, and power supply unit does not charge to charge storage unit.This operation can overcharge to avoid charge storage unit.
It is an a kind of specific implementation of the input voltage vin of power-down retaining circuit of the present invention with reference to Fig. 4, Fig. 5 and Fig. 6, Fig. 4
Example voltage oscillogram;Fig. 5 is an a kind of specific implementation of the output voltage of the detection of power loss unit of power-down retaining circuit of the present invention
Example voltage oscillogram;Fig. 6 is the one specific of the present invention a kind of the output voltage Vout and tank voltage Vcap of power-down retaining circuit
Embodiment voltage oscillogram;It can be seen that after input voltage vin powers on, the output voltage Vctr- of detection of power loss unit
Discharge is that high level is forbidden discharging, and allows to charge, and tank voltage Vcap gradually rises, until close to input voltage vin
When stop charging.After input voltage vin power down, control of discharge voltage Vctr-discharge falls rapidly, this semaphore is logical
Know that the output voltage (i.e. input voltage vin) of power supply unit has to fall, and control the conducting of control of discharge unit, charge storage unit is to negative
Carrier unit discharges, and can see that tank voltage Vcap starts to discharge later, and voltage slowly declines, while output voltage Vout is protected
Basicly stable, slowly decline is held, but still maintenance voltage can keep load unit to work normally, realize in 2.0V or more
Delaying shutdown.
As the further improvement of technical solution, with reference to Fig. 3, power-down retaining circuit further includes output voltage regulation unit 7, electric discharge
The output end of control unit 4 is connect by exporting voltage regulation unit 7 with the input terminal of load unit 6.Further, pressure stabilizing list is exported
Member 7 includes anode, the control of discharge unit of the anode and the second capacitor C2 of first capacitor C1 and the second capacitor C2, first capacitor C1
4 output end connection, one end of the second capacitor C2 is connect with the input terminal of load unit 6;The cathode of first capacitor C1, the second electricity
Hold the cathode ground connection of C2.First capacitor C1 and the second capacitor C2 is for stabilizing the output voltage.In addition, output voltage regulation unit 7 also wraps
Diode D5 is included, diode D5 can prevent load supplying unit 5 (i.e. VCC) to charge back to charge storage unit 3.
The present invention can automatically detect the case where input unit power supply normal power down (such as battery exhausts) or abnormal power-down,
Timely notification payload unit, and the electric energy that while controlling charge storage unit for normal power supply lays in releases, and gives load unit power supply
Guarantee delay work for a period of time, to save important data.Independence is high, can independently detect power-off signal, and switch electricity
Delaying shutdown is realized on road, is participated in without main control unit or additional programming device.Circuit is simple, it is thus only necessary to 1 double comparison
Device (first comparator and the second comparator), 3 mos pipes and a small amount of resistor-capacitor unit can realize that automatically delaying shuts down, and not need
Program-controlled IC chip, does not need programming Control.It is low in cost, it is securely and reliably, autonomous to detect because independence is high, and circuit is simple,
So more safe and reliable.
A kind of power-down retaining method, applied to the power-down retaining circuit, with reference to Fig. 1, specifically:
Detection of power loss unit detects the output signal of power supply unit, the input signal of load unit to export control signal control
The work of charging control unit processed and control of discharge unit;
When detection of power loss unit detects power supply unit power down, output control signal control charging control unit is disconnected,
And the control control of discharge unit conducting of control signal is exported to realize that charge storage unit powers to load unit.
The present invention detects the output signal of power supply unit, the input signal of load unit by detection of power loss unit to export
The work for controlling signal control charging control unit and control of discharge unit, when realizing power supply unit power down, charging control unit
It is disconnected, control of discharge unit is switched on so that charge storage unit is powered to load unit, and realization power down is kept, and ensures load unit
Have sufficient safety power supply for backing up important information when power down, and be avoided that charge storage unit put when filling caused by state
Unstable, proof load unit can normal table work when power down is kept.
As the further improvement of technical solution, with reference to Fig. 1 and Fig. 3, detection of power loss unit detects the output of power supply unit
The input voltage of voltage, the output voltage of charge storage unit and load unit;
When the output voltage of power supply unit is less than the input voltage of load unit, i.e. power supply unit power down, detection of power loss
Unit controls charging control unit and disconnects;Detection of power loss unit controls the conducting of control of discharge unit, and charge storage unit is to load unit
Power supply realizes that power down is kept;
When the input voltage of input voltage and load unit that the output voltage of power supply unit is greater than load unit is greater than storage
When the output voltage of electric unit, detection of power loss unit controls control of discharge unit and disconnects;Detection of power loss unit controls charge control
Unit conducting, power supply unit charge to charge storage unit.
When the input voltage of input voltage or load unit that the output voltage of power supply unit is less than load unit is less than storage
When the output voltage of electric unit, charging control unit is disconnected, and power supply unit does not charge to charge storage unit.
It is to be illustrated to preferable implementation of the invention, but the invention is not limited to the implementation above
Example, those skilled in the art can also make various equivalent variations on the premise of without prejudice to spirit of the invention or replace
It changes, these equivalent deformations or replacement are all included in the scope defined by the claims of the present application.
Claims (9)
1. a kind of power-down retaining circuit, including power supply unit, load supplying unit and load unit, the output of the power supply unit
End is connect with the input terminal of load supplying unit, and the output end of the load supplying unit and the input terminal of load unit connect;
It is characterized in that,
The power-down retaining circuit further includes detection of power loss unit, charging control unit, charge storage unit and control of discharge unit;
The input terminal connection of the input terminal, detection of power loss unit of the output end and charging control unit of the power supply unit;It is described
The output end of charge storage unit is connect with the input terminal of the input terminal of detection of power loss unit, control of discharge unit respectively;The load
Unit is connect with detection of power loss unit;The output end of the detection of power loss unit respectively with the input terminal of charging control unit, put
The input terminal of electric control unit is connected to control the on-off of charging control unit, control of discharge unit;The charging control unit
Output end and charge storage unit input terminal connect;The output end of the control of discharge unit and the input terminal of load unit connect
It connects;
The detection of power loss unit includes first voltage detection circuit, second voltage detection circuit, tertiary voltage detection circuit,
One comparator and the second comparator;The output end of the power supply unit is connect with the input terminal of first voltage detection circuit;It is described
The output end of load unit is connect with the input terminal of second voltage detection circuit;The output end and tertiary voltage of the charge storage unit
The input terminal of detection circuit connects;The output end of the first voltage detection circuit, the output end of second voltage detection circuit divide
It is not connect with the input terminal of first comparator;The output end of the first comparator respectively with the input terminal of charging control unit,
The input terminal connection of the input terminal, load unit of control of discharge unit;Output end, the third electricity of the second voltage detection circuit
The output end of pressure detection circuit is connect with the input terminal of the second comparator respectively, the output end of second comparator and the first ratio
Compared with the input terminal connection of the output end, charging control circuit of device.
2. a kind of power-down retaining circuit according to claim 1, which is characterized in that the power-down retaining circuit further includes defeated
The output end of voltage regulation unit out, the control of discharge unit is connected by the input terminal of output voltage regulation unit and load unit.
3. a kind of power-down retaining circuit according to claim 2, which is characterized in that the output voltage regulation unit includes first
Capacitor and the second capacitor, one end of the first capacitor are connect with the output end of one end of the second capacitor, control of discharge unit, institute
The input terminal of one end and load unit for stating the second capacitor connects;The other end of the other end of the first capacitor, the second capacitor
Ground connection.
4. a kind of power-down retaining circuit according to claim 1, which is characterized in that the first voltage detection circuit includes
First divider resistance and the second divider resistance, one end of first divider resistance and the output end of power supply unit connect, described
The other end of first divider resistance is connect with the non-inverting input terminal of one end of the second divider resistance, first comparator, and described second
The other end of divider resistance is grounded;The second voltage detection circuit includes third divider resistance and the 4th divider resistance, described
One end of third divider resistance and the output end of load unit connect, the other end of the third divider resistance and the 4th partial pressure electricity
One end of resistance, the inverting input terminal of first comparator, the connection of the non-inverting input terminal of the second comparator, the 4th divider resistance
Other end ground connection;The tertiary voltage detection circuit includes the 5th divider resistance and the 6th divider resistance, the 5th partial pressure electricity
The output end of one end of resistance and charge storage unit connects, one end of the other end of the 5th divider resistance and the 6th divider resistance,
The inverting input terminal of second comparator connects, the other end ground connection of the 6th divider resistance.
5. a kind of power-down retaining circuit according to claim 4, which is characterized in that first divider resistance and second point
The ratio of piezoresistance, the ratio of third divider resistance and the 4th divider resistance, the 5th divider resistance and the 6th divider resistance ratio
It is worth identical.
6. a kind of power-down retaining circuit according to any one of claims 1 to 5, which is characterized in that the charge control list
Member includes first switch tube and second switch, and the output end of the detection of power loss unit and the control terminal of first switch tube connect
It connects, the negative output terminal ground connection of the first switch tube, the positive output end of the first switch tube and the control terminal of second switch
Connection, the negative output terminal of the second switch and the output end of power supply unit connect, the positive output end of the second switch
It is connect with the input terminal of charge storage unit.
7. a kind of power-down retaining circuit according to any one of claims 1 to 5, which is characterized in that the control of discharge list
Member includes third switching tube, and the output end of the detection of power loss unit is connect with the control terminal of third switching tube, the storage list
The output end of member is connect with the negative output terminal of third switching tube, the input of the positive output end and load unit of the third switching tube
End connection.
8. a kind of power-down retaining method is applied to the described in any item power-down retaining circuits of claim 1 to 7, which is characterized in that
Output signal, the input signal of load unit of detection of power loss unit detection power supply unit are filled with exporting control signal control
The work of electric control unit and control of discharge unit;
When detection of power loss unit detects power supply unit power down, output control signal control charging control unit is disconnected, and defeated
The conducting of control signal control control of discharge unit is out to realize that charge storage unit powers to load unit.
9. a kind of power-down retaining method according to claim 8, which is characterized in that the detection of power loss unit detects power supply
The input voltage of the output voltage of unit, the output voltage of charge storage unit and load unit;
When the output voltage of the power supply unit is less than the input voltage of load unit, i.e., the described power supply unit power down is described
Detection of power loss unit controls charging control unit and disconnects;The detection of power loss unit control control of discharge unit conducting, the storage
Electric unit powers to load unit;
When the input voltage of input voltage and load unit that the output voltage of the power supply unit is greater than load unit is greater than storage
When the output voltage of electric unit, the detection of power loss unit control control of discharge unit is disconnected;The detection of power loss unit control
Charging control unit conducting, the power supply unit charge to charge storage unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710821349.5A CN107681885B (en) | 2017-09-12 | 2017-09-12 | A kind of power-down retaining circuit and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710821349.5A CN107681885B (en) | 2017-09-12 | 2017-09-12 | A kind of power-down retaining circuit and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107681885A CN107681885A (en) | 2018-02-09 |
CN107681885B true CN107681885B (en) | 2019-09-17 |
Family
ID=61134748
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710821349.5A Active CN107681885B (en) | 2017-09-12 | 2017-09-12 | A kind of power-down retaining circuit and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107681885B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144218B (en) * | 2018-06-19 | 2021-04-13 | 北京海博思创科技股份有限公司 | Power-down protection device and terminal |
KR20200116341A (en) * | 2019-04-01 | 2020-10-12 | 엘에스일렉트릭(주) | Apparatus to Stabilize Output Voltage against Momentary Power Failure in PLC Module |
CN110071566A (en) * | 2019-04-04 | 2019-07-30 | 四川海天仪表电器开发有限公司 | Power down delay circuit |
CN110307142B (en) * | 2019-06-28 | 2020-09-29 | 大唐半导体科技有限公司 | Control method of air compressor and air compressor |
CN110333769B (en) * | 2019-07-25 | 2021-04-30 | 广东浪潮大数据研究有限公司 | Power supply switching circuit and system based on super capacitor on storage card |
CN112531871A (en) * | 2019-09-17 | 2021-03-19 | 上海中兴软件有限责任公司 | Power-off protection circuit and method, data protection method and electronic product |
CN112313601B (en) * | 2020-04-24 | 2023-07-07 | 上海商汤临港智能科技有限公司 | Vehicle, vision domain controller, video data processing method, apparatus and medium |
CN112636572B (en) * | 2020-12-04 | 2023-01-10 | 佛山市顺德区美的电子科技有限公司 | Air conditioner control method, device, equipment, air conditioner and medium |
CN113109738B (en) * | 2021-03-15 | 2023-08-04 | 苏州汇川技术有限公司 | Power-down time detection circuit and power-down time detection system |
CN113708472A (en) * | 2021-07-23 | 2021-11-26 | 西安特锐德智能充电科技有限公司 | Power supply circuit and control method and control system thereof |
CN113899939B (en) * | 2021-12-10 | 2022-03-29 | 广东省新一代通信与网络创新研究院 | Power failure warning circuit and processing method for communication equipment and communication equipment |
CN115576406A (en) * | 2022-10-26 | 2023-01-06 | 深圳市汇川技术股份有限公司 | Power failure detection and power supply maintaining function circuit and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1267116A (en) * | 1999-03-11 | 2000-09-20 | 神达电脑股份有限公司 | Charging-discharging device |
JP2005214925A (en) * | 2004-02-02 | 2005-08-11 | Fuji Electric Fa Components & Systems Co Ltd | Power failure detection circuit |
CN201001039Y (en) * | 2006-12-29 | 2008-01-02 | 深圳市振华微电子有限公司 | Great current DC power supply instant power-off retaining circuit |
CN203457044U (en) * | 2013-09-27 | 2014-02-26 | 南京国睿新能电子有限公司 | Ultra long time power failure holding circuit |
CN105790358A (en) * | 2016-04-08 | 2016-07-20 | 北京奇虎科技有限公司 | Battery charging circuit |
-
2017
- 2017-09-12 CN CN201710821349.5A patent/CN107681885B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1267116A (en) * | 1999-03-11 | 2000-09-20 | 神达电脑股份有限公司 | Charging-discharging device |
JP2005214925A (en) * | 2004-02-02 | 2005-08-11 | Fuji Electric Fa Components & Systems Co Ltd | Power failure detection circuit |
CN201001039Y (en) * | 2006-12-29 | 2008-01-02 | 深圳市振华微电子有限公司 | Great current DC power supply instant power-off retaining circuit |
CN203457044U (en) * | 2013-09-27 | 2014-02-26 | 南京国睿新能电子有限公司 | Ultra long time power failure holding circuit |
CN105790358A (en) * | 2016-04-08 | 2016-07-20 | 北京奇虎科技有限公司 | Battery charging circuit |
Also Published As
Publication number | Publication date |
---|---|
CN107681885A (en) | 2018-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107681885B (en) | A kind of power-down retaining circuit and method | |
WO2018137355A1 (en) | System having black start function, and black start method therefor | |
CN108123509B (en) | Charging control method and related device thereof | |
CN204258411U (en) | A kind of intelligent UPS device | |
CN104260677A (en) | Vehicle power supply control circuit and car | |
CN105281422A (en) | Method and circuit for automatically switching off power supply switch | |
CN103390879A (en) | Alternating current power supply input high voltage protection device | |
CN104044538A (en) | Low-voltage storage battery power shortage prevention device and method thereof | |
CN203434637U (en) | Energy storage system | |
CN111193317A (en) | Power-down protection circuit for terminal equipment | |
CN116707118A (en) | Power failure detection and power failure holding function circuit and electronic equipment | |
CN202309022U (en) | Voltage protection circuit | |
CN204249952U (en) | A kind of vehicle power control circuit and automobile | |
CN202004738U (en) | Electronic safety switch controlled by MOS (metal oxide semiconductor) tube | |
CN204290714U (en) | Power control circuit and electrical equipment | |
CN107634577B (en) | Power-off detection control circuit and gas meter | |
CN203104016U (en) | Power supply circuit of remote controller and air-conditioning system having the same | |
CN214479812U (en) | Automatic switching power supply device | |
CN213024314U (en) | Power failure detection and protection circuit | |
CN214068770U (en) | Automatic activation circuit for battery | |
CN210444186U (en) | High-efficiency power inverter device | |
CN210427768U (en) | Power supply access state detection circuit and electronic device | |
CN203707835U (en) | Non-power-failure apparatus for battery replacement | |
CN208062858U (en) | A kind of electric power management circuit for hand-held equipment | |
CN108808823B (en) | Photovoltaic module self-starting control device and power supply system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A power failure holding circuit and method Effective date of registration: 20210506 Granted publication date: 20190917 Pledgee: Shenzhen hi tech investment small loan Co.,Ltd. Pledgor: RENCARE MEDICAL INSTRUMENTS Co.,Ltd. Registration number: Y2021980003301 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |