CN206920573U - Capacitance detecting device and power-on time detection means - Google Patents

Capacitance detecting device and power-on time detection means Download PDF

Info

Publication number
CN206920573U
CN206920573U CN201720743667.XU CN201720743667U CN206920573U CN 206920573 U CN206920573 U CN 206920573U CN 201720743667 U CN201720743667 U CN 201720743667U CN 206920573 U CN206920573 U CN 206920573U
Authority
CN
China
Prior art keywords
power supply
stand
voltage
resistance
switch
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
Application number
CN201720743667.XU
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.)
Beijing Memblaze Technology Co Ltd
Original Assignee
Beijing Memblaze 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 Beijing Memblaze Technology Co Ltd filed Critical Beijing Memblaze Technology Co Ltd
Priority to CN201720743667.XU priority Critical patent/CN206920573U/en
Application granted granted Critical
Publication of CN206920573U publication Critical patent/CN206920573U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Provide capacitance detecting device, including first switch, first resistor, second resistance and controller, the input of the first switch is coupled to external power source, and the output end of the first switch is coupled to stand-by power supply, during the first switch conducting, the external power source charges to the stand-by power supply;After the first resistor is connected with the second resistance, then it is parallel to the both ends of the stand-by power supply;The controller also controls the stand-by power supply that is turned on or off to the path of the first resistor and the second resistance of series connection;The controller is additionally coupled to the intermediate connection point of the first resistor and the second resistance, to be taken at the first resistor and the voltage of the intermediate connection point of the second resistance;To detect capacitance, at the time of the controller obtains the voltage and obtains the voltage, and the capacitance of stand-by power supply is obtained according to the voltage and at the time of obtaining the voltage.

Description

Capacitance detecting device and power-on time detection means
Technical field
The application is related to storage device, is examined online more particularly, to the electric capacity to the stand-by power supply as storage device Survey.
Background technology
Computer peripheral is connected to computer by various interfaces.In most cases computer interface is not only being counted Data channel is provided between calculation machine and ancillary equipment, the electric power of computer is also supplied to ancillary equipment.Thus, break in computer In the case of electricity, supply of electric power will also be lost by being connected to the ancillary equipment of the computer.
Disclosed in Chinese patent literature CN101710252B when avoiding accident power-off in the buffer storage of storage device Loss of data scheme.Wherein, stand-by power supply is provided in storage device, when accident power-off occurs, from stand-by power supply to Storage device provides interim electric energy, for by the data conversion storage in buffer storage (Cache) into flash memory.In United States Patent (USP) Document US8031551B2 discloses the scheme by the use of electric capacity as the stand-by power supply of storage device, and operationally detects electric capacity Performance, when detecting that capacitance is too low, electric capacity is charged.Disclosed in Chinese patent literature CN102831920B After computer circuit breaking, the electric power stored using the capacitive component in computer is come the scheme powered for storage device.
Referring to Fig. 1, technical scheme of the prior art is shown, including main frame 100 and deposited with what main frame 100 was coupled Store up equipment 110.Main frame 100 includes power supply 102, for each electronic unit into main frame and is connected to the storage of main frame 100 Equipment 110 provides electric power.In the electronic units such as power supply, mainboard in main frame 100, in addition to such as energy-storage travelling wave tube of electric capacity 104. There can be one or more in the energy-storage travelling wave tube of main frame 100, here for clearly purpose, and be shown as electric capacity 104.Electric capacity 104 are coupling between the output end of power supply 102 and ground.
The power supply circuit of storage device 110 receives electric power, and supply load 180 from main frame.In storage device 110, Load 180 can be flash memories and/or memorizer control circuit.The power supply circuit of storage device 110 include electric capacity 112, Diode 114, N-channel MOS FET (mos field effect transistor) 116 and control circuit 118.Diode 114 anode is coupled to the output end of power supply 102, and the negative electrode of diode 114 is coupled to one end of electric capacity 112, and passes through voltage Converter 130 is coupled to load 180.The other end of electric capacity 112 is coupled to ground.Standby electricity of the electric capacity 112 as storage device 110 Source, for providing emergency electric power by load 180 of the electric pressure converter 130 to storage device 110.Diode 114, electric capacity 112 And electric pressure converter 130 forms the supply access 123 to the power supply of load 180.
N-channel MOS FET 116 source electrode is coupled to the output end of power supply 102, N-channel MOS FET 116 drain electrode coupling To load 180, for providing electric power to load 180.Control circuit 118 is coupled to N-channel MOS FET 116 grid, is used for Control N-channel MOS FET 116 closure or disconnection.N-channel MOS FET 116 works as a switch, and forms to negative Carry the supply access 121 of 180 power supplies.For example, input of N-channel MOS FET 116 source electrode as switch, and N-channel Output end of MOSFET 116 drain electrode as switch, and N-channel MOS FET 116 grid is opened as control terminal for control The closure of pass and disconnection.Output voltage of the control circuit 118 based on power supply 102, and the closure or disconnected to N-channel MOS FET 116 Open and be controlled.In 102 normal work of power supply, its output voltage is more than or equal to predetermined voltage.Control circuit 118 detects The output voltage of power supply 102, when the output voltage detected is more than or equal to predetermined voltage, control circuit 118 is to N-channel The output control signals of MOSFET 116, so that N-channel MOS FET 116 is closed.In the case, the power supply from main frame 100 102 electric power is applied to load 180 by N-channel MOS FET 116.
In power down, due to the presence of electric capacity 104, the voltage that power supply 102 exports is gradually reduced.When the output of power supply 102 When voltage is dropped under predetermined voltage, it means that the power down of main frame 100, power supply 102 will be unable to set for storage with remaining valid Standby 110 provide electric power.Control circuit 118 is less than the detection of predetermined voltage based on the output voltage to power supply 102, to N-channel The output control signals of MOSFET 116, to disconnect N-channel MOS FET 116.Although now the output voltage of power supply 102 is less than pre- Determine voltage, but it enables to diode 114 to turn on, so as to which the electric power being stored in electric capacity 104 can be via electric pressure converter 130 Load 180 is provided to by supply access 123.And now, electric capacity 112 also provides electric power to load 180.Electric pressure converter 130 voltages that can be used on stable power-supplying path 123.
Utility model content
To ensure reliability, it is necessary to detect the working condition of stand-by power supply during storage device works.And detecting During stand-by power supply, stand-by power supply can be made to discharge, now the redundancy of power supply is reduced to single supply by 2 remainings during normal work and supplied Electricity, because to ensure that the operation for detecting stand-by power supply is as far as possible safe and reliable, to the influence of being handled in storage device for task It is as far as possible small.And wish in the limited space of storage device, high-precision survey is completed with limited energy expenditure (caloric value) Amount.It also is intended to reduce the cost of standby electricity power sense circuit, and keeps high measurement accuracy.
According to the first aspect of the application, there is provided according to the first power-on time detection means of the application first aspect, Including switch, controller, the input of the switch is coupled to external power source, and the output end of the switch is coupled to load, rings Power supply of the external power source to the load described in the control signal of controller described in Ying Yu and on or off;The switch it is defeated Go out end and be additionally coupled to stand-by power supply, during the switch conduction, the external power source also charges to the stand-by power supply;It is described standby Power supply is coupled to the load;The controller is additionally coupled to the output end of the stand-by power supply, to be taken at the standby electricity The output voltage in source;The controller also includes timer, at the time of the output voltage of the stand-by power supply is obtained for recording; The controller calculates the power-on time of the stand-by power supply according to the output voltage of the moment and the stand-by power supply.
According to the first power-on time detection means of the first aspect of the application, there is provided according to the application first aspect Second power-on time detection means, in addition to voltage detector, the voltage detector are coupled to the output of the stand-by power supply End, the controller is by the voltage detector or takes the output voltage of the stand-by power supply.
According to the first of the first aspect of the application or second power-on time detection means, there is provided according to the application first 3rd power-on time detection means of aspect, the controller is according to formulaCalculate the confession of the stand-by power supply Electric time, wherein U0It is the output voltage when stand-by power supply is fully charged, UTIt is the stand-by power supply for meeting loading demand Minimum output voltage, U1It is the output voltage for the stand-by power supply that the controller is got, and T1It is from the cut-out switch To the time interval for the output voltage for obtaining the stand-by power supply.
According to the first power-on time detection means of the first aspect of the application, there is provided according to the application first aspect 4th power-on time detection means, wherein the controller obtains the output voltage U of the stand-by power supply at the first moment1, and Obtained by timer from the time interval t for cutting off the switch to the first moment1;The controller obtains institute at the second moment State the output voltage U of stand-by power supply2, and the time interval t from the first moment to the second moment is obtained by timer2;The control Device processed is according to formulaCalculate the power-on time of the stand-by power supply, wherein UTMeet loading demand The minimum output voltage of the stand-by power supply.
According to the second aspect of the application, there is provided according to the first power-on time detection means of the application second aspect, Including switch, controller, voltage detector, the input of the switch is coupled to external power source, the output end coupling of the switch Close load, in response to the controller control signal and on or off described in external power source to the load power supply; The output end of the switch is additionally coupled to stand-by power supply, and during the switch conduction, the external power source is also to the stand-by power supply Charging;The stand-by power supply is coupled to the load;The voltage detector is coupled to the output end of the stand-by power supply, if institute The output voltage for stating stand-by power supply is less than threshold value, and the voltage detector is to the controller output indication signal;The control Device also includes timer, for recording from the switch is cut off to the time interval for receiving the indication signal;The controller The power-on time of the stand-by power supply is calculated according to the time interval.
According to the first power-on time detection means of the second aspect of the application, there is provided according to the application second aspect Second power-on time detection means, wherein the threshold value indicate the dump energy of the stand-by power supply with it is fully charged when energy Predetermined relationship, so as to calculate the power-on time of the stand-by power supply according to the time interval and the predetermined relationship.
According to the first of the second aspect of the application or second power-on time detection means, there is provided according to the application second 3rd power-on time detection means of aspect, wherein in response to receiving the indication signal, the controller also turns on described open Close.
According to one of the first aspect of the application or second aspect power-on time detection means, there is provided according to the application First power-on time detection means of three aspects, wherein according to the power-on time of the stand-by power supply calculated, described in estimation The health status of stand-by power supply.
One of foregoing power-on time detection means according to the application, there is provided supplied according to the second of the application third aspect Electric time detection device, wherein the stand-by power supply is electric capacity.
According to the fourth aspect of the application, there is provided according to the first power-on time detection method of the application fourth aspect, Including:External power source is cut off, stand-by power supply is powered to the load;The output voltage of stand-by power supply is obtained, and is obtained from cut-out Time interval of the external power source to the output voltage for obtaining the stand-by power supply;Calculate the power-on time of the stand-by power supply.
According to the first power-on time detection method of the fourth aspect of the application, there is provided according to the application fourth aspect Second power-on time detection method, wherein according to formulaCalculate the power-on time of the stand-by power supply, wherein U0 It is the output voltage when stand-by power supply is fully charged, UTIt is the minimum output electricity for the stand-by power supply for meeting loading demand Pressure, U1It is the output voltage of the stand-by power supply got, and T1It is from cut-out external power source to the acquisition stand-by power supply The time interval of output voltage.
According to the first power-on time detection method of the fourth aspect of the application, there is provided according to the application fourth aspect 3rd power-on time detection method, wherein obtaining the output voltage U of the stand-by power supply at the first moment1, and obtain from cut-out Time interval t of the external power source to the first moment1;The output voltage U of the stand-by power supply is obtained at the second moment2, and obtain from The time interval t at the first moment to the second moment2;According to formulaCalculate the power supply of the stand-by power supply Time, wherein UTIt is the minimum output voltage for the stand-by power supply for meeting loading demand.
According to the 5th of the application aspect, there is provided according to the first power-on time detection method of the aspect of the application the 5th, Including:External power source is cut off, stand-by power supply is powered to the load;It is less than threshold value in response to the output voltage of stand-by power supply, obtains The time at current time is played from cut-out external power source;Calculate the power-on time of the stand-by power supply.
According to the first power-on time detection method of the 5th of the application the aspect, there is provided according to the aspect of the application the 5th Second power-on time detection method, wherein the threshold value indicate the dump energy of the stand-by power supply with it is fully charged when energy Predetermined relationship, so as to calculate the power-on time of the stand-by power supply according to the time interval and the predetermined relationship.
According to the first or second power-on time detection method of the 5th of the application the aspect, there is provided according to the application the 5th 3rd power-on time detection method of aspect, in addition to:It is less than threshold value in response to the output voltage of stand-by power supply, turns on described outer Portion's power supply, make the external power source to the load supplying, and charged to the stand-by power supply.
According to the 6th of the application aspect, there is provided according to the first power-on time detection method of the aspect of the application the 6th, Including:In response to receiving sense command, when performing the power supply according to one of foregoing power-on time detection method of the application Between detection method;And the power-on time according to the stand-by power supply calculated, estimate the health status of the stand-by power supply.
According to the 7th of the application the aspect, there is provided according to the first capacitance detecting device of the aspect of the application the 7th, including First switch, second switch, constant-current source, bypass load and controller, the input of the first switch are coupled to external power source, The output end of the first switch is coupled to stand-by power supply, and during the first switch conducting, the external power source is to described standby Power source charges;The output end of the stand-by power supply is coupled to the input of the second switch;The output end of the second switch It is coupled to external loading;After the constant-current source and the bypass load in series, then it is parallel to the both ends of the stand-by power supply;It is described Controller also controls the stand-by power supply that is turned on or off to the path of the constant-current source;The controller is additionally coupled to described standby With the output end of power supply, to be taken at the output voltage of the stand-by power supply;The controller also includes timer, for recording At the time of obtaining the output voltage of the stand-by power supply;To detect capacitance, the controller disconnects the first switch, conducting The stand-by power supply and obtains the output voltage of the stand-by power supply to the path of the constant-current source, and output voltage obtains The moment is taken, and according to the capacitance for obtaining moment calculating stand-by power supply of output voltage and output voltage.
According to the first power supply capacitor device of the 7th of the application the aspect, there is provided according to the second of the aspect of the application the 7th Capacitance detecting device, wherein the controller according toThe capacitance of stand-by power supply is calculated, wherein Ic is the electric current of constant-current source, and U0 is output voltage when stand-by power supply is fully charged, and C is the capacitance of stand-by power supply, and Resr is standby With the equivalent series resistance of power supply, U is the output voltage of acquired stand-by power supply, and t is at the time of obtaining output voltage U.
According to the first or second capacitance detecting device of the 7th of the application the aspect, there is provided according to the aspect of the application the 7th The 3rd capacitance detecting device, wherein the controller obtains multiple output voltages of stand-by power supply, and obtain each output At the time of voltage, and according toMultiple capacitances of stand-by power supply are calculated, multiple capacitances are taken Average value.
According to the first capacitance detecting device of the 7th of the application the aspect, there is provided according to the 4th of the aspect of the application the 7th the Capacitance detecting device, wherein the controller obtains multiple output voltages of stand-by power supply, and obtain each output voltage Moment, and instruction t and the slope of a curve k of U relations are fitted, and according toCalculate the capacitance of stand-by power supply.
According to the first capacitance detecting device of the 7th of the application the aspect, there is provided according to the 5th of the aspect of the application the 7th the Capacitance detecting device, wherein the controller obtains multiple output voltages of stand-by power supply, and obtain each output voltage Moment, and instruction t and the slope of a curve k and biasing b of U relations are fitted, and according toB=Ic*Resr+U0, calculate The capacitance of stand-by power supply.
According to the first capacitance detecting device of the 7th of the application the aspect, there is provided according to the 6th of the aspect of the application the 7th the Capacitance detecting device, wherein the controller obtains at least two output voltages of stand-by power supply, and obtain each output electricity At the time of pressure, and instruction t and the slope of a curve k of U relations are fitted, and according to Calculate stand-by power supply Capacitance.
One of first to the 6th capacitance detecting device according to the 7th of the application the aspect, there is provided according to the application the 7th 7th capacitance detecting device of aspect, wherein after completing detection capacitance, the controller closes the first switch, disconnects institute Stand-by power supply is stated to the path of the constant-current source.
One of first to the 7th capacitance detecting device according to the 7th of the application the aspect, there is provided according to the application the 7th 8th capacitance detecting device of aspect, wherein to detect capacitance, the controller disconnects the second switch.
One of first to the 8th capacitance detecting device according to the 7th of the application the aspect, there is provided according to the application the 7th 9th capacitance detecting device of aspect, wherein in response to external power source power down, the controller disconnects the stand-by power supply to institute Path, the closure second switch of constant-current source are stated, the stand-by power supply is powered to the external loading.
One of first to the 9th capacitance detecting device according to the 7th of the application the aspect, there is provided according to the application the 7th Tenth capacitance detecting device of aspect, in addition to the 3rd switch, the input of the 3rd switch is coupled to external power source, described The load of output end coupled external and the input of the first switch of 3rd switch, and in response to the control signal of the controller And it is turned on or off.
One of first to the tenth capacitance detecting device according to the 7th of the application the aspect, there is provided according to the application the 7th 11st capacitance detecting device of aspect, in addition to the 4th switch, the input of the 4th switch are coupled to stand-by power supply, institute The output end for stating the 4th switch is coupled to constant-current source, and is turned on or off described standby in response to the control signal of the controller Path with power supply to the constant-current source.
One of first to the 11st capacitance detecting device according to the 7th of the application aspect, there is provided according to the application the 12nd capacitance detecting device of seven aspects, wherein the controller is by the capacitance and the nominal capacitance value phase of stand-by power supply Compare to estimate the health status of the stand-by power supply.
According to the eighth aspect of the application, there is provided according to the first power-on time detection means of the application eighth aspect, Including one of first to the 12nd capacitance detecting device of the 7th aspect according to the application;And the controller is according to Capacitance calculates the power-on time of the stand-by power supply.
According to the 9th of the application the aspect, there is provided according to the first capacitance determining method of the aspect of the application the 9th, including External power source is cut off to the charging path of stand-by power supply, makes stand-by power supply by constant-current source to bypass load supplying, and keep outer Power supply of portion's power supply to external loading;The output voltage of stand-by power supply is obtained, and record obtains the output of the stand-by power supply At the time of voltage;And according to the capacitance for obtaining moment calculating stand-by power supply of output voltage and output voltage.
According to the first capacitance determining method of the 9th of the application the aspect, there is provided according to the second of the aspect of the application the 9th Capacitance determining method, wherein basisThe capacitance of stand-by power supply is calculated, wherein Ic is constant current The electric current in source, U0 are output voltages when stand-by power supply is fully charged, and C is the capacitance of stand-by power supply, and Resr is stand-by power supply Equivalent series resistance, U are the output voltages of acquired stand-by power supply, and t is at the time of obtaining output voltage U.
According to the first or second capacitance determining method of the 9th of the application the aspect, there is provided according to the aspect of the application the 9th The 3rd capacitance determining method, wherein obtain stand-by power supply multiple output voltages, and obtain each output voltage at the time of, And according toMultiple capacitances of stand-by power supply are calculated, multiple capacitances are averaged.
According to the first capacitance determining method of the 9th of the application the aspect, there is provided according to the 4th of the aspect of the application the 9th the Capacitance determining method, wherein multiple output voltages of stand-by power supply are obtained, and at the time of acquisition each output voltage, and be fitted Go out to indicate t and U relations slope of a curve k, and according toCalculate the capacitance of stand-by power supply.
According to the first capacitance determining method of the 9th of the application the aspect, there is provided according to the 5th of the aspect of the application the 9th the Capacitance determining method, wherein multiple output voltages of stand-by power supply are obtained, and at the time of acquisition each output voltage, and be fitted Go out to indicate t and U relations slope of a curve k and bias b, and according toB=Ic*Resr+ U0, calculate stand-by power supply Capacitance.
According to the first capacitance determining method of the 9th of the application the aspect, there is provided according to the 6th of the aspect of the application the 9th the Capacitance determining method, wherein at least two output voltages of stand-by power supply are obtained, and at the time of acquisition each output voltage, and Fit and indicate t and the slope of a curve k of U relations, and according toCalculate the capacitance of stand-by power supply.
One of first to the 6th capacitance determining method according to the 9th of the application the aspect, there is provided according to the application the 9th 7th capacitance determining method of aspect, wherein in response to external power source power down, the stand-by power supply is disconnected to the bypass load Path, the stand-by power supply is powered to the external loading.
One of first to the 7th capacitance determining method according to the 9th of the application the aspect, there is provided according to the application the 9th 8th capacitance determining method of aspect, wherein by the capacitance compared with the nominal capacitance value of stand-by power supply it is described relatively to estimate The health status of stand-by power supply.
According to the tenth of the application aspect, there is provided according to the first power-on time detection method of the aspect of the application the tenth, Including one of first to the 8th capacitance determining method of the 9th aspect according to the application;And institute is calculated according to the capacitance State the power-on time of stand-by power supply.
According to the tenth of the application on the one hand, there is provided a kind of program including program code, when being loaded into storage device simultaneously When performing on a storage device, described program code makes the storage device perform according to the application fourth aspect, the 5th aspect Or one of power-on time detection method in terms of the tenth.
According to the 12nd of the application aspect, there is provided according to the first capacitance detecting device of the aspect of the application the 12nd, Including first switch, second switch, resistance, second resistance and controller, the input of the first switch is coupled to external electrical Source, the output end of the first switch are coupled to stand-by power supply, and during the first switch conducting, the external power source is to described standby Use power source charges;The output end of the stand-by power supply is coupled to the input of the second switch;The output of the second switch It is coupled to external loading in end;The first resistor with connected with the second resistance after, then be parallel to the two of the stand-by power supply End;The controller also controls the first resistor and the second resistance of the stand-by power supply that is turned on or off to series connection Path;The controller is additionally coupled to the intermediate connection point of the first resistor and the second resistance, to be taken at described The voltage of one resistance and the intermediate connection point of the second resistance;The controller also includes timer, and institute is obtained for recording At the time of stating voltage;To detect capacitance, the controller disconnects the first switch, turns on the stand-by power supply to series connection The path of the first resistor and the second resistance, and at the time of obtain the voltage and obtain the voltage, and according to The capacitance of stand-by power supply is obtained at the time of the voltage and the acquisition voltage.
According to the first capacitance detecting device of the aspect of the application the 12nd, there is provided according to the of the aspect of the application the 12nd Two capacitance detecting devices, wherein the controller is according to C=-I0*R2/(km* (R1+R2)) calculate stand-by power supply capacitance, its Middle I0The approximation for being the first resistor with the electric current of the second resistance, kmIt is according to the voltage and the acquisition electricity The voltage obtained at the time of pressure changes with time rate, and C is the capacitance of stand-by power supply, and R1 is the resistance of the first resistor Value, R2 is the resistance of the second resistance.
According to the second capacitance detecting device of the aspect of the application the 12nd, there is provided according to the of the aspect of the application the 12nd Three capacitance detecting devices, wherein the controller is averaged to multiple capacitance C.
According to the first capacitance detecting device of the aspect of the application the 12nd, there is provided according to the of the aspect of the application the 12nd Four capacitance detecting devices, wherein the controller obtains at least two output voltages of stand-by power supply, and obtain each output At the time of voltage, and instruction t and the slope of a curve k of U relations are fitted, and according toCalculate standby electricity The capacitance C in source, wherein in T1It is U that moment, which obtains the magnitude of voltage,m1, in T2It is U that moment, which obtains the magnitude of voltage,m2, U1=(R1 +R2)*Um1/ R2, U2=(R1+R2) * Um2/R2。
One of first to fourth capacitance detecting device according to the aspect of the application the 12nd, there is provided according to the application the tenth 5th capacitance detecting device of two aspects, wherein the resistance of selection first resistor and second resistance causes I0Less than 1 milliampere.
One of first to fourth capacitance detecting device according to the aspect of the application the 12nd, there is provided according to the application the tenth 6th capacitance detecting device of two aspects, wherein the first switch is disconnected in the controller at the time of obtaining the voltage, And the stand-by power supply is turned on within 300 milliseconds after the path of the first resistor and the second resistance of series connection.
One of first to the 6th capacitance detecting device according to the aspect of the application the 12nd, there is provided according to the application the tenth 7th capacitance detecting device of two aspects, wherein in response to external power source power down, the controller disconnects the stand-by power supply and arrived Path, the closure second switch of the first resistor with the second resistance, make the stand-by power supply be born to the outside Carry power supply.
One of first to the 7th capacitance detecting device according to the aspect of the application the 12nd, there is provided according to the application the tenth 8th capacitance detecting device of two aspects, in addition to the 3rd switch, the input of the 3rd switch are coupled to external power source, institute The load of output end coupled external and the input of the first switch of the 3rd switch are stated, and is believed in response to the control of the controller Number and be turned on or off.
One of first to the 8th capacitance detecting device according to the aspect of the application the 12nd, there is provided according to the application the tenth 9th capacitance detecting device of two aspects, in addition to the 4th switch, the input of the 4th switch are coupled to stand-by power supply, institute The output end for stating the 4th switch is coupled to the first resistor, and is turned on or off in response to the control signal of the controller Path of the stand-by power supply to the first resistor and the second resistance.
One of first to the 9th capacitance detecting device according to the aspect of the application the 12nd, there is provided according to the application the tenth Tenth capacitance detecting device of two aspects, wherein the controller estimates the healthy shape of the stand-by power supply according to the capacitance State.
Brief description of the drawings
When being read together with accompanying drawing, by reference to the detailed description of illustrative embodiment, will be best understood below The application and preferable use pattern and its further objects and advantages, wherein accompanying drawing include:
Fig. 1 shows the block diagram of the storage device of prior art;
Fig. 2A illustrates the schematic diagram that circuit is detected according to the power-on time of the embodiment of the present application;
Fig. 2 B shows detect the schematic diagram of circuit according to the power-on time of the another embodiment of the application;
Fig. 3 A are the flow charts according to the power-on time detection method of the embodiment of the present application;
Fig. 3 B are the flow charts according to the power-on time detection method of the another embodiment of the application;
Fig. 4 A are the schematic diagrams according to the standby electricity power sense circuit of the another embodiment of the application;
Fig. 4 B are the schematic diagrams for being used to detect the equivalent circuit of the discharge loop of electric capacity according to the another embodiment of the application;
Fig. 5 is the flow chart according to the stand-by power supply detection method of the another embodiment of the application;And
Fig. 6 is the schematic diagram according to the application still standby electricity power sense circuit of another embodiment.
Embodiment
Referring to Fig. 2A, the schematic diagram that circuit is detected according to the power-on time of the embodiment of the present application is illustrated.Power-on time is examined Slowdown monitoring circuit is implemented in the storage device of such as solid state hard disc, for detecting the power-on time of stand-by power supply (210).As act Example, storage device is coupled to main frame by PCIe interface, and receives external power source by PCIe interface and power, for supporting to store Equipment works.Stand-by power supply is used to provide interim electric energy in outside abnormity of power supply power down for storage device.As an example, it is standby Can be super capacitor or alminium electrolytic condenser with power supply.External power source is coupled to stand-by power supply 210 and load by switch 220, When switching 220 closure, external power source powers to the load, and can be that stand-by power supply charges.Controller 230 is (for example, microcontroller MCU, microprocessor MPU or other control circuits) controlling switch 220 closure and disconnection.When switching 220 disconnection, external electrical The power supply in source is cut off, and is powered to the load by stand-by power supply 210.Power-on time detection circuit also includes voltage detecting circuit 240, It is coupled to the output end of stand-by power supply 210, for obtaining the output voltage of stand-by power supply 210.The output voltage of stand-by power supply 210 Indicate the working condition of stand-by power supply.When stand-by power supply 210 is electric capacity, the energy of electric capacityWherein C is electricity Hold capacitance, and U is electric capacity output voltage.By detecting the output voltage of stand-by power supply 210, and obtain the surplus of stand-by power supply 210 Complementary energy.And overall power during storage device work is substantially invariable, so as to utilize the dump energy of stand-by power supply 210 Estimate under given load can power-on time.
The output voltage values of the stand-by power supply 210 of detection are supplied to controller 230 by voltage detecting circuit 240.Voltage is examined Slowdown monitoring circuit 240 can be such as analog-digital converter (AD).Voltage detecting circuit 240 can also be integrated in controller 230.
The capacitance of stand-by power supply 210 may change, and according in embodiments herein, controller 230 passes through inspection The output voltage for surveying stand-by power supply 210 changes with time to calculate power-on time.
Embodiment 1
When switching 220 closure, the output voltage U of stand-by power supply 2100It is known.To measure power-on time, controller 230 disconnect switch 220, make stand-by power supply 210 to load discharge, and start timer.After a period of time, controller 230 passes through Voltage detecting circuit 240 obtains the output voltage U of stand-by power supply 2101, and obtained by timer and put since stand-by power supply Electricity to its output voltage be U1Time T1.Controller 230 controls power-on time of the stand-by power supply 210 to load, with standby electricity Accepted or rejected between the continued power ability and measurement accuracy in source 210.For example, power to the load lasting tens using stand-by power supply 210 To hundreds of microseconds or several milliseconds, so as to which the amplitude that the voltage of stand-by power supply declines exceedes the precision of voltage detecting circuit 240, to obtain Obtain accurate measurement result.In the case of the overall power P substantially constants of storage device, the power-on time of stand-by power supply with Its energy storage is directly proportional, thus has
Wherein, UTIt is the minimum voltage (known) that stand-by power supply 210 can make load normal work, Tx is stand-by power supply 210 make the time of load normal work.
From (1) formula with being obtained in (2) formulaSo as to which the capacitance of stand-by power supply 210 need not be being known In the case of, output voltage when being powered by measuring idle capacity 210 is from U0Drop to U1Time, standby electricity can be calculated The power-on time that load normal work can be made in source 210.
Detection to the power-on time of stand-by power supply 210 can be performed by controller 230 in the scheduled time, for example, monthly Perform or the storage device portfolio relatively low time performs at dead of night etc..Power-on time detection also can be in main frame or the finger of user Show lower execution.Main frame or user are sent by PCIe interface or jtag interface to controller 230 to be ordered, as response, controller 230 perform the power-on time detection to stand-by power supply 230, and inform testing result to main frame or user.Or tied based on detection Fruit, the health status of stand-by power supply is assessed, when the power-on time of stand-by power supply disclosure satisfy that storage equipment reliability requirement, recognized Be for stand-by power supply it is healthy, in other cases, it is believed that stand-by power supply is unsound, and is responded, such as prompting use Family is changed or maintenance storage device, or changes the working condition (for example, reducing the unfinished IO quantity of caching) of storage device, To adapt to the health status of stand-by power supply.
In further example, output electricity of the controller 230 in each acquisition stand-by power supply 210 at multiple time points Pressure, so as to calculate power-on time T according to each voltage and the measured value of timex, and to multiple power-on time TxResult of calculation ask Average value, to reduce error.
Embodiment 2
Fig. 2 B, illustrate the schematic diagram that circuit is detected according to the power-on time of the another embodiment of the application.In Fig. 2 B, Fig. 2A voltage detecting circuit 240 is replaced by voltage comparator circuit 245.Voltage comparator circuit 245 compares stand-by power supply 210 Output voltage and reference voltage.In the power supply process of stand-by power supply 210, its output voltage constantly declines, and is less than in output voltage During reference voltage, voltage comparator circuit 245 is to the output indication signal of controller 230.When as an example, stand-by power supply is fully charged Output voltage is U0, and reference voltage is arranged to U0/ √ 2, so that when the output voltage of stand-by power supply crosses over reference voltage, Half when its dump energy is fully charged.So as to which controller 230 starts timer when stand-by power supply 210 starts electric discharge, control Device 230 processed makes timer stop the time of timing, then timer record when receiving the indication signal of voltage comparator circuit 245 The half of the power-on time of Duan Yuewei stand-by power supplies 210, so as to estimate that the power-on time of stand-by power supply 210 is 2 times of timer records Period.In other examples, reference voltage may be configured as other values.When known reference voltage and stand-by power supply are fully charged Output voltage in the case of, drop to the period of reference voltage according to the output voltage of stand-by power supply 210, can estimate Power-on time when stand-by power supply 210 powers to the load.It is pointed out that to make loaded work piece, the output of stand-by power supply Voltage should be not less than predetermined value, now some energy of stand-by power supply, and this portion of energy is not used to make the normal work of load Make.The power-on time thus estimated in the present embodiment can be slightly larger than the time that stand-by power supply 210 actually makes load normal work.
Fig. 3 A are the flow charts according to the power-on time detection method of the embodiment of the present application.Also in relation with Fig. 2A, supplied for detection Electric time, controller 230 disconnect switch 220 to cut off power supply of the external power source to load, and supplied with stand-by power supply 210 for load Electricity, while start timer (310).After a period of time, controller 230 obtains stand-by power supply 210 by voltage detecting circuit 230 Output voltage, closure switch 220 are led to recovering charging of the external power source to the power supply of load and to stand-by power supply 210 Cross timer record current time (320).Controller 230 is electric according to the output voltage of the stand-by power supply 210 detected and detection The time of pressure calculates stand-by power supply can power-on time (330).For example, calculateObtaining can power-on time Tx.Its Middle T1To detect the time of voltage, U0For initial (when fully charged) voltage of stand-by power supply, U1For in T1The voltage that moment detects, And UTIt is the minimum voltage that stand-by power supply 210 can make load normal work.As it was previously stated, there are various ways to pass through the standby of detection With the output voltage of power supply 210 power-on time of stand-by power supply 210 is determined with detection time.
Fig. 3 B are the flow charts according to the power-on time detection method of the another embodiment of the application.Also in relation with Fig. 2 B, for inspection Power-on time is surveyed, controller 230 disconnects switch 220 to cut off power supply of the external power source to load, and is negative with stand-by power supply 210 Power supply is carried, while starts timer (340).As the output voltage of stand-by power supply 210 is gradually reduced, when output voltage is less than threshold After value, voltage comparator circuit 245 is to the output indication signal of controller 230.In response to receiving indication signal, controller 230 makes meter When device stop (350), and according to the time of timer record calculate stand-by power supply can power-on time (360).Known standby In the case of the initial output voltage and threshold voltage of power supply, due to electric capacity energy storage and voltage it is square directly proportional, so as to The time for discharging into threshold voltage from initial voltage according to electric capacity calculates electric capacity and discharged into from initial voltage and can maintain load work The discharge time (power invariability or approximately constant of storage device) of the minimum voltage of work.
According to the power-on time detection method of the embodiment of the present application, can be carried out in storage device normal work, without It is perceived by the user.It can also carry out in the prearranged time or according to the instruction of main frame or user, and be accused to user Know testing result.In one example, testing result is informed to main frame by PCIe interface;In another example, storing Indicator lamp is arranged in equipment, testing result is informed to user by indicator lamp.
Embodiment 3
Fig. 4 A are the schematic diagrams according to the standby electricity power sense circuit of the another embodiment of the application.In Fig. 4 A embodiment In, the capacitance of stand-by power supply 210 can be calculated, compares the measured value and nominal value of the electric capacity of stand-by power supply 210, it is standby to assess With the health status of power supply 210, and then it can obtain energy storage and the power-on time of stand-by power supply 210.
In Fig. 4 A embodiment, there is provided bypass load 460, be connected in parallel on the both ends of stand-by power supply 210.In detection standby electricity During the electric capacity in source 210, make stand-by power supply 210 by bypassing the electric discharge of load 460;And keep confession of the external power source to external loading Electricity, so as to avoid when power-on time detects because the failure of stand-by power supply 210 causes storage device to fail.Bypass load 460 can be with It is power resistor, and (for R) known to resistance.By constant-current source (CCR, Constant Current Regulator) 450 with bypass Load 460 series connection so that stand-by power supply 210 to bypass load 460 power supply when, flow through bypass load 460 electric current be it is known and It is constant (for Ic).There is provided switch 440 so that controller 230 can be by the control stand-by power supplies 210 of switch 440 whether to side The power supply of road load 460.Constant-current source 450 can integrate with bypass load 460, such as controllable constant-current source.It is only standby in measurement During with the electric capacity of power supply 210, closure switch 440, in other cases, switch 440 is disconnected, to avoid stand-by power supply 210 to side Road load supplying.
Switch 410 is also included according to the standby electricity power sense circuit of embodiment 3, for coupled external power supply and stand-by power supply 210 input.Controller 230 is by being opened or closed switch 410, to cut off or allow external power source to stand-by power supply 210 Charging.Standby electricity power sense circuit also includes switch 420, for coupling stand-by power supply 210 and external loading, controller 230 Cut off by the way that switch 420 is opened or closed or allow power supply of the stand-by power supply to external loading.Switch 420 can also avoid outer Portion's power supply forms the charge circuit to stand-by power supply 210 when being powered to external loading.
When stand-by power supply is discharged by constant-current source 450 to bypass load 460, equivalent circuit such as Fig. 4 B institutes of discharge loop Show.Discharge loop includes the ideal capacitance C and equivalent series resistance R for forming stand-by power supply 210ESR, constant-current source (CCR) and load resistance (R).Ideal capacitance C, equivalent series resistance RESR, constant-current source (CCR) and load resistance (R) discharge loop in series.Due to constant-current source Presence, the electric current of discharge loop is Ic.And the output voltage of stand-by power supply 210 is equivalent series resistance RESRThe voltage and reason at both ends Think the voltage sum at electric capacity C both ends.The voltage at the both ends of stand-by power supply 210 can be calculatedIts Middle U0It is the initial value of ideal capacitance both end voltage before discharging, t is discharge time.Thus, the voltage U at the both ends of stand-by power supply 210 It is linear relationship with time t.By measuring voltage U in time t, ideal capacitance C and series equivalent resistance R can be calculatedESR。 Preferably, multiple voltage U are measured in different time t, and fits straight line U=kt+b slope k and biasing b, then slopeAnd b=Ic*Resr+U0, so as to calculate ideal capacitance C capacitance and equivalent series resistance RESRResistance.
Referring back to Fig. 4 A, to measure the electric capacity of stand-by power supply 210, controller 230 disconnects switch 410 and 420, closure Switch 440, stand-by power supply 210, constant-current source 450 and bypass load 460 is set to form discharge loop.Voltage detecting circuit 240 couples To the output end of stand-by power supply 410.Controller 230 detects the output voltage U of stand-by power supply 210 by voltage detecting circuit 240 And record detection time t.So as to pass throughCalculate the ideal capacitance value of stand-by power supply 210. Controller 230 in another example, in different time, the output voltage of stand-by power supply 210 is repeatedly measured, and pass through least square Method fits straight line U=kt+b slope k and biasing b, then slopeAnd b=Ic*Resr+U0, so as to calculate standby electricity The ideal capacitance C in source 210 capacitance and equivalent series resistance RESRResistance.In still another example, ignore equivalent series Resistance Resr influence, and only pass throughOr the straight line U=kt+b fitted slopeTo calculate standby electricity The ideal capacitance C in source 210 capacitance.In another example, the value of multiple ideal capacitance C to calculating is averaged.It is logical Cross and compare electric capacity C and/or equivalent series resistance RESRResistance and its nominal value, if measured value allows model with nominal value in error In enclosing, it is believed that electric capacity is healthy.
Alternatively, there is provided external power source is coupled in switch 430, the one end for switching 430, the other end be coupled to switch 410 with External loading, the disconnection of the energy controlling switch 430 of controller 230 and closure.When switching 410 closure, external power source directs out Section load is powered, and can be powered by switch 410 to stand-by power supply 210.When switching 410 disconnection, disconnect external power source and arrive The supply access of external loading and stand-by power supply 210.
When measuring the electric capacity of stand-by power supply 210, remain closed switch 430, so as to be powered to the load by external power source. If external power source power down, controller 230 disconnects supply access of the stand-by power supply 210 to bypass load 460, closure switch 420, makes Stand-by power supply is powered to external loading.Thus, according to embodiments herein, during the electric capacity of measurement stand-by power supply 210, according to The power supply of 2 remainings is so provided, so as to ensure that the reliability of storage device.Alternatively, in the electric capacity of measurement stand-by power supply 210 When, shorten time of measuring and consider time of measuring to the voltage range of decrease of stand-by power supply 210 and the influence of voltage measurement accuracy, short Time in complete capacitance measurement, so as to deuterogenesis's external power source power down even in the capacitance measurement period, stand-by power supply 210 still have enough energy to maintain external loading processing power loss event.
The capacitance C and equivalent series resistance Resr of the stand-by power supply 210 obtained according to measurement, calculate stand-by power supply 210 The power-on time of external loading normal work is able to maintain that, for example, power-on time is calculated according to (3) formula,
Wherein, C is the capacitance of stand-by power supply 210, RESRIt is the equivalent series resistance of stand-by power supply 210, UTIt is stand-by power supply 210 can make the minimum voltage of load normal work, and t is the time that stand-by power supply 210 makes load normal work, and P is load Power, U0It is output voltage when stand-by power supply 210 is fully charged, μ is power-efficient.Alternatively, to reduce computation complexity, neglect The slightly equivalent series resistance of stand-by power supply 210, the power-on time of estimation stand-by power supply 210 are
Fig. 5 is the flow chart according to the stand-by power supply detection method of the another embodiment of the application.Also in relation with Fig. 4 A, for detection Stand-by power supply, controller 230 disconnect switch 420 to cut off power supply of the stand-by power supply to external loading, disconnect switch 410 with cut-out Power supply of the external power source to stand-by power supply 210, closure switch 440 make stand-by power supply 210 be supplied by constant-current source 450 for bypass load Electricity, while start timer (510).After a period of time, controller 230 samples stand-by power supply by voltage detecting circuit 230 210 output voltage, and pass through timer record current time (520).To improve measurement accuracy, step is performed a plurality of times in controller Rapid 520, in the output voltage of multiple time point sampling stand-by power supplies 210.Then, the closure switch 410 of controller 230 are with recovery Charging of the external power source to stand-by power supply 210.Because the output voltage U of stand-by power supply 210 and the power-on time t of stand-by power supply are Linear relationship, the time t by measuring obtained voltage U and measurement voltage U calculate the capacitance C of stand-by power supply 210 (530).Compare electric capacity C and stand-by power supply 210 that measurement obtains nominal capacitance, to estimate the health status of stand-by power supply 210.
Alternatively, the discharge time of stand-by power supply 210 is calculated by capacitance C.The energy that there is provided is when electric capacity dischargesWherein UTIt is the minimum voltage that stand-by power supply 210 can make load normal work, U0It is stand-by power supply 210 Output voltage when fully charged.In the case of the power consumption substantially constant of system or external loading, capacitor discharge time is calculatedAs it was previously stated, there are other by way of capacitance calculates discharge time, there is difference Precision or computation complexity.Alternatively, the power-on time according to the stand-by power supply calculated estimates the healthy shape of stand-by power supply Condition.In a further embodiment, capacitance detecting and/or power-on time detection can also perform under the instruction of main frame or user.
During power-on time is detected, if external power source power down, controller disconnects switch 440, to cut off standby electricity Electric discharge of the source 210 to bypass load 460, and closure switch 420, so that stand-by power supply is powered to external loading.Alternatively, control Device 230 also disconnects switch 410 and switch 430.
Fig. 6 is the schematic diagram according to the application still standby electricity power sense circuit of another embodiment.
Referring to Fig. 6, external power source is to stand-by power supply 210 and load supplying.Stand-by power supply 210 powers to the load.Controller The disconnection of 230 each switches of control and closure.
Compared with the embodiment shown in Fig. 4 A, in the power sense circuit of the embodiment shown in Fig. 6, constant-current source is eliminated, To reduce circuit system complexity and cost.The resistance R1 (480) and resistance R2 (485) that bypass load series connection are substituted.Electricity After resistance R1 (480) connects with resistance R2 (485), then it is connected in parallel on the both ends of stand-by power supply 210 so that stand-by power supply 210 can pass through electricity R1 (480) and resistance R2 (485) is hindered to discharge.There is provided switch 440 so that controller 230 can be standby by the control of switch 440 Whether power supply 210 powers to resistance R1 (480) and resistance R2 (485).Resistance R1 (480) and resistance R2 (485) one of or it is complete Portion has larger resistance so that when stand-by power supply 210 is discharged by the resistance R1 (480) and resistance R2 (485) of series connection, electric discharge Electric current is smaller (being, for example, less than 1mA), and discharge time is shorter (for example, tens to hundreds of milliseconds), so as in detection stand-by power supply During health status, the voltage range of decrease of stand-by power supply is smaller, and then discharge current approximate constant (regards discharge current Make to keep constant and influence capacitance or the measurement accuracy of discharge time smaller).As an example, resistance R1 (480) and resistance Resistance after R2 (485) series connection is several kilohms to tens kilohms so that discharge current is several milliamperes (being, for example, less than 1mA).
Voltage detecting circuit 240 is coupled to the resistance R1 (480) and resistance R2 (485) intermediate connection point of series connection, with detection Resistance R1 (480) and resistance R2 (485) intermediate connection point voltage.So that the voltage adaptation detected is in voltage detecting circuit 240 range.For example, the range of voltage detecting circuit 240 is 0-5V, and the initial value of ideal capacitance both end voltage is before discharging 15-35V, the resistance value ratio for selecting resistance R1 (480) and resistance R2 (485) is 3:1~10:1.Voltage detecting circuit 240 is to control Device 230 provides the magnitude of voltage of detection limit.Alternatively, voltage detecting circuit 240 is substituted by voltage comparator.Voltage comparator identifies Whether the voltage of detection is more than or less than reference voltage.
Only when measuring the electric capacity of stand-by power supply 210, closure switch 440, in other cases, switch 440 is disconnected, to keep away Exempt from stand-by power supply 210 to bypass load supplying.
In detection time t, controller 230 passes through the detection resistance R1 (480) of voltage detecting circuit 240 and resistance R2 (485) The voltage U of intermediate connection pointm, so as to 210 output voltage U=U of stand-by power supplym*(R1+R2)/R2.So as to for example pass through meter CalculateObtaining can power-on time Tx.Wherein T1To detect the time of voltage, U0It is initial for stand-by power supply (when fully charged) voltage, Um1For in T1At the moment, pass through the resistance R1 (480) that voltage detecting circuit 240 obtains and resistance R2 (485) The voltage of intermediate connection point, and UTIt is the minimum voltage that stand-by power supply 210 can make load normal work.Alternatively, standby Power supply 210 to resistance R1 (480) and resistance R2 (485) electric discharge start a period of time after (for example, a few tens of milliseconds or hundreds of milli Second), voltage is detected by voltage detecting circuit 240, to cause resistance R1 (480) and resistance R2 (485) intermediate connection point electricity The amplitude of buckling is adapted with the precision of voltage detecting circuit 240.Before voltage is measured, stand-by power supply 210 is to resistance R1 (480) time with resistance R2 (485) electric discharges can not too long, to avoid the output voltage of stand-by power supply 210 from larger amplitude occur The voltage drop of degree, and then the electric current for causing to flow through resistance R1 (480) and resistance R2 (485) has large change, and it is accurate to influence measurement Property.
As another example, pass throughCalculate the ideal capacitance of stand-by power supply 210 Value, wherein the capacitance of the ideal capacitance of stand-by power supply 210 is C, and equivalent series resistance resistance is RESR, U0It is desired electrical before discharging Hold the initial value of both end voltage, t is discharge time, I0It is discharge current, U is the output of stand-by power supply 210 after the electric discharge t times Voltage.According in embodiments herein, it is believed that in during measurement, discharge current change is smaller, is approximately steady state value.As Citing, makes I0=U0/(R1+R2).As another example, I is made0=U/ (R1+R2).As still another example, I is made0 =(U+U0)/(2*(R1+R2)).In another example, the electric discharge of switch 440 is begun through in fully charged stand-by power supply 210 During tens to hundreds of milliseconds, measure the discharge current of stand-by power supply 210 instantaneous value or average value to obtain I0
Utilize the voltage U and time t at the both ends of stand-by power supply 210 linear relationship.By measuring voltage U, energy in time t Enough calculate ideal capacitance C and series equivalent resistance RESR
Controller 230, in different time, the output voltage of stand-by power supply 210 is repeatedly measured, and intended by least square method Straight line U=kt+b slope k and biasing b is closed out, then slopeAnd b=I0*Resr+U0, so as to calculate stand-by power supply 210 ideal capacitance C capacitance and equivalent series resistance RESRResistance.In still another example, ignore equivalent series electricity Resr influence is hindered, and is only passed throughOr the straight line U=kt+b fitted slopeIt is standby to calculate The ideal capacitance C of power supply 210 capacitance (C=-I0/k).In another example, to the multiple ideal capacitance C calculated value Average.By comparing electric capacity C and/or equivalent series resistance RESRResistance and its nominal value, if measured value exists with nominal value In error allowed band, it is believed that electric capacity is healthy.It is to be appreciated that in Fig. 6, voltage measuring value UmSlope km=k*R2/ (R1+R2), wherein k is slopes of the output voltage U of standby voltage 210 in discharge process.So as to k=km*(R1+R2)/ R2。
In still another example, according to I0The output electricity of=- C* Δs U/ Δ t, wherein Δ U instruction stand-by power supply 210 The variable quantity of pressure, during Δ t indicates the time corresponding with voltage change Δ U, C is the capacitance of stand-by power supply 210.ΔU/Δt It is slope ks of the output voltage U of stand-by power supply 210 in discharge process, so as to C=-I0/ k=-I0*R2/ (km* (R1+R2)), Wherein kmIt is voltage measuring value UmSlope.
With reference to Fig. 6, to detect the capacitance of stand-by power supply 210, controller 230 disconnects switch 420 to cut off stand-by power supply 210 give the power supply of external loading, disconnect switch 410 to cut off power supply of the external power source to stand-by power supply 210, closure switch 440 Stand-by power supply 210 is powered for resistance R1 and resistance R2, while start timer.In stand-by power supply 210 to resistance R1 and resistance In first tens to hundreds of milliseconds of R2 electric discharges, controller is among multiple time point sampling resistor R1 (480) and resistance R2 (485) The voltage Um of tie point.By sampling obtained multiple voltage UmAnd the corresponding sampling time, obtain voltage UmSlope km。 Then, the closure switch 410 of controller 230 disconnect switch 440, and close to recover charging of the external power source to stand-by power supply 210 Combination switch 420.Pass through C=-I0*R2/(km* (R1+R2)) calculate the capacitance C of stand-by power supply 210.Wherein, I0=U0/ (R1+R2), I0=U/ (R1+R2), or I0=(U+U0)/(2*(R1+R2)).In another example, fully charged standby During power supply 210 begins through tens to hundreds of milliseconds of the electric discharge of switch 440, the discharge current of stand-by power supply 210 is measured Instantaneous value or average value are to obtain I0。U0It is output voltage when stand-by power supply 210 starts electric discharge.Compare the electric capacity C that measurement obtains With the nominal capacitance of stand-by power supply 210, to estimate the health status of stand-by power supply 210.
The frame of block diagram and flow chart supports the combination of the device for performing specified function, the behaviour for performing specified function The combination of work and the combination of the program instruction means for performing specified function.It should also be understood that block diagram and flow chart is each The combination of the frame of frame and block diagram and flow chart can by perform specify function or operation, hardware based application specific integrates Circuit, FPGA (field programmable gate array), CPLD (CPLD), microcontroller, microprocessor or its group Close and realize.
Although the example of current utility model reference is described, it is intended merely to the purpose explained rather than to the application's Limitation, the change to embodiment, increase and/or deletion can be made without departing from scope of the present application.
It is involved by these embodiments, from the description above and in the field that benefits of the teaching that is presented in associated accompanying drawing Technical staff will be recognized that many modifications and the other embodiment of the application recorded here.It should therefore be understood that this Shen It please be not limited to disclosed embodiment, it is intended to include modification and other embodiment in the scope of the appended claims It is interior.Although employing specific term herein, them are used only on general significance and describing significance and not is The purpose of limitation and use.

Claims (10)

1. a kind of capacitance detecting device, including first switch, first resistor, second resistance and controller,
The input of the first switch is coupled to external power source, and the output end of the first switch is coupled to stand-by power supply, institute When stating first switch conducting, the external power source charges to the stand-by power supply;
After the first resistor is connected with the second resistance, then it is parallel to the both ends of the stand-by power supply;
The controller also controls the first resistor and the second resistance of the stand-by power supply that is turned on or off to series connection Path;
The controller is additionally coupled to the intermediate connection point of the first resistor and the second resistance, to be taken at described first The voltage of resistance and the intermediate connection point of the second resistance;
To detect capacitance, the controller disconnects the first switch, turns on the stand-by power supply to described the first of series connection The path of resistance and the second resistance, at the time of obtaining the voltage and obtain the voltage, and according to the voltage with And obtain the capacitance of stand-by power supply at the time of obtaining the voltage.
2. capacitance detecting device according to claim 1, wherein
The controller is according to C=-I0*R2/(km* (R1+R2)) calculate stand-by power supply capacitance, wherein I0It is described first The approximation of resistance and the electric current of the second resistance, kmObtained according to the voltage and at the time of obtaining the voltage The voltage changes with time rate, and C is the capacitance of stand-by power supply, and R1 is the resistance of the first resistor, and R2 is described The resistance of two resistance.
3. capacitance detecting device according to claim 2, wherein
The controller is averaged to multiple capacitance C.
4. capacitance detecting device according to claim 1, wherein
The controller obtains at least two output voltages of stand-by power supply, and at the time of acquisition each output voltage, and intend Close out instruction t and U relations slope of a curve k, and according toThe capacitance C of stand-by power supply is calculated, wherein T1It is U that moment, which obtains the magnitude of voltage,m1, in T2It is U that moment, which obtains the magnitude of voltage,m2, U1=(R1+R2) * Um1/ R2, U2=(R1 +R2)*Um2/R2。
5. according to the capacitance detecting device described in one of claim 1-4, wherein
The resistance of selection first resistor and second resistance causes I0Less than 1 milliampere.
6. capacitance detecting device according to claim 5, wherein
The first switch is disconnected in the controller at the time of obtaining the voltage, and turns on the stand-by power supply to series connection After the path of the first resistor and the second resistance within 300 milliseconds.
7. capacitance detecting device according to claim 6, wherein
The capacitance detecting device also includes second switch, and the output end of the stand-by power supply is coupled to the defeated of the second switch Enter end;The output end of the second switch is coupled to external loading;
In response to external power source power down, the controller disconnects the stand-by power supply to the first resistor and the second resistance Path, the closure second switch, the stand-by power supply is powered to the external loading.
8. capacitance detecting device according to claim 7, in addition to the 3rd switch,
The input of 3rd switch is coupled to external power source, the output end coupled external load of the 3rd switch with it is described The input of first switch, and be turned on or off in response to the control signal of the controller.
9. capacitance detecting device according to claim 8, in addition to the 4th switch,
The input of 4th switch is coupled to stand-by power supply, and the output end of the 4th switch is coupled to first electricity Resistance, and the stand-by power supply that is turned on or off in response to the control signal of the controller is to the first resistor and described the The path of two resistance.
10. a kind of power-on time detection means, including the capacitance detecting device as described in one of claim 1-9;And
The controller calculates the power-on time of the stand-by power supply according to the capacitance.
CN201720743667.XU 2017-06-23 2017-06-23 Capacitance detecting device and power-on time detection means Active CN206920573U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720743667.XU CN206920573U (en) 2017-06-23 2017-06-23 Capacitance detecting device and power-on time detection means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720743667.XU CN206920573U (en) 2017-06-23 2017-06-23 Capacitance detecting device and power-on time detection means

Publications (1)

Publication Number Publication Date
CN206920573U true CN206920573U (en) 2018-01-23

Family

ID=61322954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720743667.XU Active CN206920573U (en) 2017-06-23 2017-06-23 Capacitance detecting device and power-on time detection means

Country Status (1)

Country Link
CN (1) CN206920573U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108594626A (en) * 2018-02-10 2018-09-28 深圳和而泰智能控制股份有限公司 A kind of power down clocking method and its circuit, electronic equipment
CN109613969A (en) * 2018-12-10 2019-04-12 浪潮(北京)电子信息产业有限公司 SSD power supply circuit, capacitance management method, system, device and storage medium
CN110571880A (en) * 2019-09-03 2019-12-13 深圳力维智联技术有限公司 Power supply monitoring method and system of monitoring system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108594626A (en) * 2018-02-10 2018-09-28 深圳和而泰智能控制股份有限公司 A kind of power down clocking method and its circuit, electronic equipment
CN109613969A (en) * 2018-12-10 2019-04-12 浪潮(北京)电子信息产业有限公司 SSD power supply circuit, capacitance management method, system, device and storage medium
CN110571880A (en) * 2019-09-03 2019-12-13 深圳力维智联技术有限公司 Power supply monitoring method and system of monitoring system
CN110571880B (en) * 2019-09-03 2023-09-26 深圳力维智联技术有限公司 Power supply monitoring method and system of monitoring system

Similar Documents

Publication Publication Date Title
CN206920573U (en) Capacitance detecting device and power-on time detection means
US9413229B2 (en) Low power conversion and management of energy harvesting applications
US6445162B1 (en) Detecting a remaining battery capacity and a battery remaining capacity circuit
US8542059B2 (en) Ultra-low-power power supply system for an IC chip
CN101359035A (en) Method and apparatus for measuring battery internal resistance
US11125826B2 (en) Battery impedance measurement
CN101071161A (en) Secondary discharge battery internal resistance on-line detecting method
US20080235471A1 (en) Smart batteryless backup device and method therefor
JP2003157912A (en) Method and device for cell capacity detection
CN105324818B (en) Data storage device and method for reducing current transient
US9052368B2 (en) Negative peak voltage detection for enhanced FuelGauge empty voltage prediction
CN107293319A (en) Stand-by power supply detection method and device
JP2010531774A (en) Power outage management method and system in an aircraft
US10014695B2 (en) Control and current measurement function for battery charging, protection and fuel gauge coulomb counting
CN108966670B (en) Electric meter and current acquisition calibration circuit and calibration method thereof
EP1037065B1 (en) Battery charge monitor for an electronic appliance
KR20150140238A (en) Electronic device with supervisor circuit for detecting resistance parameter of an energy storage device
CN205720603U (en) Stand-by power supply power-on time detection device
US9983266B2 (en) Apparatus and methods for battery monitoring using discharge pulse measurements
US9954378B2 (en) Method and program for controlling power storage system and storage battery
CN105425166A (en) Battery power detecting method and battery power detecting device
CN205680443U (en) Capacitance detecting device detects device with power-on time
WO1998008146A1 (en) Rechargeable electronic device
JP2003017139A (en) Cell residual capacity measuring device
CN108594626A (en) A kind of power down clocking method and its circuit, electronic equipment

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 100192 room A302, building B-2, Dongsheng Science Park, Zhongguancun, 66 xixiaokou Road, Haidian District, Beijing

Patentee after: Beijing yihengchuangyuan Technology Co.,Ltd.

Address before: Room A302, building B-2, Zhongguancun Dongsheng Science Park, No. 66, xixiaokou Road, Haidian District, Beijing 100080

Patentee before: BEIJING MEMBLAZE TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address