Movatterモバイル変換


[0]ホーム

URL:


CN107293319A - Stand-by power supply detection method and device - Google Patents

Stand-by power supply detection method and device
Download PDF

Info

Publication number
CN107293319A
CN107293319ACN201610203912.8ACN201610203912ACN107293319ACN 107293319 ACN107293319 ACN 107293319ACN 201610203912 ACN201610203912 ACN 201610203912ACN 107293319 ACN107293319 ACN 107293319A
Authority
CN
China
Prior art keywords
power supply
stand
power
time
output voltage
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.)
Granted
Application number
CN201610203912.8A
Other languages
Chinese (zh)
Other versions
CN107293319B (en
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 LtdfiledCriticalBeijing Memblaze Technology Co Ltd
Priority to CN201610203912.8ApriorityCriticalpatent/CN107293319B/en
Publication of CN107293319ApublicationCriticalpatent/CN107293319A/en
Application grantedgrantedCritical
Publication of CN107293319BpublicationCriticalpatent/CN107293319B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

There is provided stand-by power supply detection method and device.The stand-by power supply detection means includes first switch, second switch, constant-current source, bypass load and controller, the input of the first switch is coupled to external power source, 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;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 is coupled to external loading;The constant-current source is bypassed after load in series with described, then is parallel to the two ends of the stand-by power supply;The controller also controls to be turned on or off the stand-by power supply to the path of the constant-current source;The controller is additionally coupled to the output end of the stand-by power supply, to be taken at the output voltage of the stand-by power supply.

Description

Stand-by power supply detection method and device
Technical field
The present invention relates to storage device, more particularly, to the on-line checking of the state of the stand-by power supply to storage device.
Background technology
Computer peripheral is connected to computer by various interfaces.In most cases computer interface is not only in meterData channel is provided between calculation machine and ancillary equipment, the electric power of computer is also supplied to ancillary equipment.Thus, it is disconnected in computerIn 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 deviceLoss of data scheme.Wherein, stand-by power supply is provided in storage device, when occur accident power-off when, from stand-by power supply toStorage 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 as the stand-by power supply of storage device with electric capacity, and operationally detects electric capacityPerformance, detect capacitance it is too low when, electric capacity is charged.Disclosed in Chinese patent literature CN102831920BAfter computer circuit breaking, the scheme powered using the electric power of the capacitive component storage in computer for storage device.
Referring to Fig. 1, technical scheme of the prior art is shown, including main frame 100 and with depositing that main frame 100 is coupledStore 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 100Equipment 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.Can have 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 capacity104 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.Diode114 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 voltageConverter 130 is coupled to load 180.The other end of electric capacity 112 is coupled to ground.Electric capacity 112 as storage device 110 standby electricitySource, for providing emergency electric power to the load 180 of storage device 110 by electric pressure converter 130.Diode 114, electric capacity 112And 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 couplingTo load 180, for providing electric power to load 180.Control circuit 118 is coupled to N-channel MOS FET 116 grid, for controllingN-channel MOS FET 116 processed closure or disconnection.N-channel MOS FET 116 works as a switch, and forms to loadThe supply access 121 of 180 power supplies.For example, input of N-channel MOS FET 116 source electrode as switch, and N-channel MOS FET116 drain electrode is as the output end switched, and N-channel MOS FET 116 grid is used for the closure of controlling switch as control endWith disconnection.Output voltage of the circuit 118 based on power supply 102 is controlled, and the closure or disconnection to N-channel MOS FET 116 are controlledSystem.In 102 normal work of power supply, its output voltage is more than or equal to predetermined voltage.Control the detection power supply 102 of circuit 118Output voltage, when the output voltage detected is more than or equal to predetermined voltage, controls circuit 118 to N-channel MOS FET 116Output control signal, so that N-channel MOS FET 116 is closed.In the case, the electric power of the power supply 102 from main frame 100 leads toCross N-channel MOS FET 116 and be applied to load 180.
In power down, due to the presence of electric capacity 104, the voltage that power supply 102 is exported is gradually reduced.When the output of power supply 102When 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 validStandby 110 provide electric power.Circuit 118 is controlled to be less than the detection of predetermined voltage based on the output voltage to power supply 102, to N-channelThe 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 that the electric power being stored in electric capacity 104 can be via electric pressure converter 130Load 180 is provided to by supply access 123.And now, electric capacity 112 also provides electric power to load 180.Electric pressure converter130 voltages that can be used on stable power-supplying path 123.
The content of the invention
To ensure reliability, it is necessary to detect the working condition of stand-by power supply during storage device works.And in detectionDuring stand-by power supply, stand-by power supply can be made to discharge, now the redundancy of power supply by normal work when 2 remainings be reduced to single supply supplyElectricity, because to ensure to detect that the operation of stand-by power supply is as far as possible safe and reliable, to the influence of handling in storage device for taskIt 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.
According to the first aspect of the invention there is provided the first power-on time detection means according to a first aspect of the present invention,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, ringsPower 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 defeatedGo 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 standbyPower 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 electricityThe 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.
There is provided according to a first aspect of the present invention for the first power-on time detection means according to the first aspect of the inventionSecond power-on time detection means, in addition to voltage detector, the voltage detector are coupled to the output of the stand-by power supplyEnd, the controller is by the voltage detector or takes the output voltage of the stand-by power supply.
There is provided according to the present invention first for the first or second power-on time detection means according to the first aspect of the invention3rd power-on time detection means of aspect, the controller is according to formulaCalculate the confession of the stand-by power supplyElectric 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 demandMinimum 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 switchTo the time interval for the output voltage for obtaining the stand-by power supply.
There is provided according to a first aspect of the present invention for the first power-on time detection means according to the first aspect of the invention4th power-on time detection means, wherein the controller obtains the output voltage U of the stand-by power supply at the first moment1, andObtained by timer from the time interval t for cutting off the switch to the first moment1;The controller obtains institute at the second momentState 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 controlDevice processed is according to formulaCalculate the power-on time of the stand-by power supply, wherein UTMeet loading demandThe minimum output voltage of the stand-by power supply.
According to the second aspect of the invention there is provided the first power-on time detection means according to a second aspect of the present invention,Including switch, controller, voltage detector, the input of the switch is coupled to external power source, the output end coupling of the switchClose 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, during the switch conduction, and the external power source is also to the stand-by power supplyCharging;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 instituteThe 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 controlDevice also includes timer, for recording from the switch is cut off to the time interval for receiving the indication signal;The controllerThe power-on time of the stand-by power supply is calculated according to the time interval.
There is provided according to a second aspect of the present invention for the first power-on time detection means according to the second aspect of the inventionSecond 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 energyPredetermined relationship, so as to calculate the power-on time of the stand-by power supply according to the time interval and the predetermined relationship.
There is provided according to the present invention second for the first or second power-on time detection means according to the second aspect of the invention3rd power-on time detection means of aspect, wherein in response to receiving the indication signal, the controller also turns on described openClose.
According to the first aspect of the invention or one of second aspect power-on time detection means there is provided according to the present invention theFirst power-on time detection means of three aspects, wherein according to the power-on time of the stand-by power supply calculated, estimation is describedThe health status of stand-by power supply.
There is provided the confession of second according to a third aspect of the present invention for one of foregoing power-on time detection means according to the present inventionElectric time detection device, wherein the stand-by power supply is electric capacity.
According to the fourth aspect of the invention there is provided the first power-on time detection method according to a fourth aspect of the present invention,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-outTime 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.
There is provided according to a fourth aspect of the present invention for the first power-on time detection method according to the fourth aspect of the inventionSecond power-on time detection method, wherein according to formulaCalculate the power-on time of the stand-by power supply, wherein U0It 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 demandPressure, 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 supplyThe time interval of output voltage.
There is provided according to a fourth aspect of the present invention for the first power-on time detection method according to the fourth aspect of the invention3rd 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-outTime 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 fromThe time interval t at the first moment to the second moment2;According to formulaCalculate the power supply of the stand-by power supplyTime, wherein UTIt is the minimum output voltage for the stand-by power supply for meeting loading demand.
According to the fifth aspect of the invention there is provided the first power-on time detection method according to a fifth aspect of the present invention,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, obtainsThe time at current time is played from cut-out external power source;Calculate the power-on time of the stand-by power supply.
There is provided according to a fifth aspect of the present invention for the first power-on time detection method according to the fifth aspect of the inventionSecond 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 energyPredetermined relationship, so as to calculate the power-on time of the stand-by power supply according to the time interval and the predetermined relationship.
There is provided according to the present invention the 5th for the first or second power-on time detection method according to the fifth aspect of the invention3rd 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 outerPortion's power supply, makes the external power source to the load supplying, and is charged to the stand-by power supply.
According to the sixth aspect of the invention there is provided the first power-on time detection method according to a sixth aspect of the present invention,Including:In response to receiving sense command, when performing the power supply according to one of foregoing power-on time detection method of the present inventionBetween detection method;And according to the power-on time of the stand-by power supply calculated, estimate the health status of the stand-by power supply.
According to the seventh aspect of the invention there is provided the first capacitance detecting device according to a seventh aspect of the present invention, includingFirst 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, during the first switch conducting, and the external power source is to described standbyPower 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 switchIt is coupled to external loading;The constant-current source is bypassed after load in series with described, then is parallel to the two ends of the stand-by power supply;It is describedController also controls to be turned on or off the stand-by power supply to the path of the constant-current source;The controller is additionally coupled to described standbyWith 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 recordingAt the time of obtaining the output voltage of the stand-by power supply;For detection capacitance, the controller disconnects the first switch, conductingThe 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 is obtainedThe moment is taken, and according to the capacitance for obtaining moment calculating stand-by power supply of output voltage and output voltage.
There is provided second according to a seventh aspect of the present invention for the first power supply capacitor device according to the seventh aspect of the inventionCapacitance detecting device, wherein the controller according toThe capacitance of stand-by power supply is calculated, whereinIc 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 standbyWith 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.
There is provided according to a seventh aspect of the present invention for the first or second capacitance detecting device according to the seventh aspect of the inventionThe 3rd capacitance detecting device, wherein the controller obtains multiple output voltages of stand-by power supply, and obtain each outputAt the time of voltage, and according toMultiple capacitances of stand-by power supply are calculated, multiple capacitances are takenAverage value.
There is provided the 4th according to a seventh aspect of the present invention for the first capacitance detecting device according to the seventh aspect of the inventionCapacitance detecting device, wherein the controller obtains multiple output voltages of stand-by power supply, and obtains each output voltageMoment, and fit the slope of a curve k for indicating t and U relations, and according toCalculate the capacitance of stand-by power supply.
There is provided the 5th according to a seventh aspect of the present invention for the first capacitance detecting device according to the seventh aspect of the inventionCapacitance detecting device, wherein the controller obtains multiple output voltages of stand-by power supply, and obtains each output voltageMoment, and fit the slope of a curve k for indicating t and U relations and bias b, and according toB=Ic*Resr+U0, calculateThe capacitance of stand-by power supply.
There is provided the 6th according to a seventh aspect of the present invention for the first capacitance detecting device according to the seventh aspect of the inventionCapacitance detecting device, wherein the controller obtains at least two output voltages of stand-by power supply, and obtains each output electricityAt the time of pressure, and fit the slope of a curve k for indicating t and U relations, and according toCalculate stand-by power supplyCapacitance.
There is provided according to the present invention the 7th to one of the 6th capacitance detecting device for first according to the seventh aspect of the invention7th capacitance detecting device of aspect, wherein completing after detection capacitance, the controller closes the first switch, disconnects instituteStand-by power supply is stated to the path of the constant-current source.
There is provided according to the present invention the 7th to one of the 7th capacitance detecting device for first according to the seventh aspect of the invention8th capacitance detecting device of aspect, wherein for detection capacitance, the controller disconnects the second switch.
There is provided according to the present invention the 7th to one of the 8th capacitance detecting device for first according to the seventh aspect of the invention9th capacitance detecting device of aspect, wherein in response to external power source power down, the controller disconnects the stand-by power supply to instituteState the path of constant-current source, close the second switch, the stand-by power supply is powered to the external loading.
There is provided according to the present invention the 7th to one of the 9th capacitance detecting device for first according to the seventh aspect of the inventionTenth capacitance detecting device of aspect, in addition to the 3rd switch, the input of the 3rd switch are coupled to external power source, describedThe 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 controllerAnd be turned on or off.
There is provided according to the present invention the 7th to one of the tenth capacitance detecting device for first according to the seventh aspect of the invention11st capacitance detecting device of aspect, in addition to the 4th switch, the input of the 4th switch are coupled to stand-by power supply, instituteThe 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 controllerWith the path of power supply to the constant-current source.
There is provided according to the present invention the to one of the 11st capacitance detecting device for first according to the seventh aspect of the invention12nd capacitance detecting device of seven aspects, wherein the controller is by the capacitance and the nominal capacitance value phase of stand-by power supplyCompare to estimate the health status of the stand-by power supply.
According to the eighth aspect of the invention there is provided the first power-on time detection means according to a eighth aspect of the present invention,Including one of first according to the seventh aspect of the invention to the 12nd capacitance detecting device;And the controller is according to describedCapacitance calculates the power-on time of the stand-by power supply.
According to the ninth aspect of the invention there is provided the first capacitance determining method according to a ninth aspect of the present invention, includingExternal 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 outerPower supply from 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 supplyAt the time of voltage;And according to the capacitance for obtaining moment calculating stand-by power supply of output voltage and output voltage.
There is provided second according to a ninth aspect of the present invention for the first capacitance determining method according to the ninth aspect of the inventionCapacitance determining method, wherein basisThe capacitance of stand-by power supply is calculated, wherein Ic is constant-current sourceElectric current, U0 is output voltage when stand-by power supply is fully charged, and C is the capacitance of stand-by power supply, Resr be stand-by power supply etc.Series resistance is imitated, U is the output voltage of acquired stand-by power supply, and t is at the time of obtaining output voltage U.
There is provided according to a ninth aspect of the present invention for the first or second capacitance determining method according to the ninth aspect of the inventionThe 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.
There is provided the 4th according to a ninth aspect of the present invention for the first capacitance determining method according to the ninth aspect of the inventionCapacitance determining method, wherein multiple output voltages of stand-by power supply are obtained, and at the time of obtaining each output voltage, and be fittedGo out to indicate t and U relations slope of a curve k, and according toCalculate the capacitance of stand-by power supply.
There is provided the 5th according to a ninth aspect of the present invention for the first capacitance determining method according to the ninth aspect of the inventionCapacitance determining method, wherein multiple output voltages of stand-by power supply are obtained, and at the time of obtaining each output voltage, and be fittedGo 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 supplyCapacitance.
There is provided the 6th according to a ninth aspect of the present invention for the first capacitance determining method according to the ninth aspect of the inventionCapacitance determining method, wherein at least two output voltages of stand-by power supply are obtained, and at the time of obtaining each output voltage, andFit and indicate t and the slope of a curve k of U relations, and according toCalculate the capacitance of stand-by power supply.
There is provided according to the present invention the 9th to one of the 6th capacitance determining method for first according to the ninth aspect of the invention7th capacitance determining method of aspect, wherein in response to external power source power down, disconnecting the stand-by power supply to the bypass loadPath, the stand-by power supply is powered to the external loading.
There is provided according to the present invention the 9th to one of the 7th capacitance determining method for first according to the ninth aspect of the invention8th 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 estimateThe health status of stand-by power supply.
According to the tenth aspect of the invention there is provided the first power-on time detection method according to a tenth aspect of the present invention,Including one of first according to the ninth aspect of the invention to the 8th capacitance determining method;And institute is calculated according to the capacitanceState the power-on time of stand-by power supply.
According to the eleventh aspect of the invention there is provided a kind of program including program code, when being loaded into storage device simultaneouslyWhen performing on a storage device, described program code make the storage device perform according to a fourth aspect of the present invention, the 5th aspectOne of or the power-on time detection method in terms of the tenth.
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 by belowUse pattern and its further objects and advantages of the invention and preferred, wherein accompanying drawing includes:
Fig. 1 shows the block diagram of the storage device of prior art;
Fig. 2A illustrates the schematic diagram that power-on time according to embodiments of the present invention detects circuit;
Fig. 2 B shows detect the schematic diagram of circuit according to the power-on time of further embodiment of this invention;
Fig. 3 A are the flow charts of power-on time detection method according to embodiments of the present invention;
Fig. 3 B are the flow charts of the power-on time detection method according to further embodiment of this invention;
Fig. 4 A are the schematic diagrams of the standby electricity power sense circuit according to further embodiment of this invention;
Fig. 4 B are the schematic diagrams for being used to detect the equivalent circuit of the discharge loop of electric capacity according to further embodiment of this invention;And
Fig. 5 is the flow chart of the stand-by power supply detection method according to further embodiment of this invention.
Embodiment
Referring to Fig. 2A, the schematic diagram that power-on time according to embodiments of the present invention detects circuit is illustrated.Power-on time is examinedSlowdown monitoring circuit is implemented in the storage device of such as solid state hard disc, the power-on time for detecting stand-by power supply (210).It is used as actExample, storage device is coupled to main frame by PCIe interface, and is powered by PCIe interface reception external power source, for supporting storageEquipment 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 standbyCan 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 stand-by power supply charging.Controller 230 is (for example, microcontrollerMCU, microprocessor MPU or other control circuits) controlling switch 220 closure and disconnection.When switching 220 disconnection, external electricalThe 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,The output end of stand-by power supply 210 is coupled to, the output voltage for obtaining stand-by power supply 210.The output voltage of stand-by power supply 210Indicate the working condition of stand-by power supply.When stand-by power supply 210 is electric capacity, the energy of electric capacityWherein C is electricityHold 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 210Complementary energy.And overall power during storage device work is substantially invariable, so as to utilize the dump energy of stand-by power supply 210Estimate 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 examinedSlowdown 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, in an embodiment according to the present invention, and controller 230 passes through inspectionThe 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.For measurement power-on time, controller230 closing switchs 220, make stand-by power supply 210 to load discharge, and start timer.After a period of time, controller 230 passes throughVoltage detecting circuit 240 obtains the output voltage U of stand-by power supply 2101, and put by timer acquisition since stand-by power supplyIt is U that electricity, which arrives its output voltage,1Time T1.The power-on time of the control 210 pairs of loads of stand-by power supply of controller 230, with standby electricityAccepted or rejected between the continued power ability and measurement accuracy in source 210.For example, powering to the load tens to hundreds of in stand-by power supply 210Microsecond or several milliseconds, so that the amplitude that the voltage of stand-by power supply declines exceedes the precision of voltage detecting circuit 240.In storage deviceOverall power P substantially constants in the case of, the power-on time of stand-by power supply is directly proportional to its energy storage, thus has
Wherein, UT is that stand-by power supply 210 can make the minimum voltage (known) of load normal work, and Tx is stand-by power supply210 make the time of load normal work.
From (1) formula with being obtained in (2) formulaSo as in the situation for the electric capacity that need not know stand-by power supply 210Under, by measuring the output voltage during power supply of idle capacity 210 from U0Drop to U1Time, stand-by power supply 210 can be calculatedCan make the power-on time of load normal work.
Detection to the power-on time of stand-by power supply 210 can be performed by controller 230 in the scheduled time, for example, monthlyPerform 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 userShow lower execution.Main frame or user are sent by PCIe interface or jtag interface to controller 230 to be ordered, and is used as response, controller230 perform the power-on time detection to stand-by power supply 230, and inform testing result to main frame or user.Or based on detection knotReally, 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, is recognizedIt is healthy for stand-by power supply, in other cases, it is believed that stand-by power supply is unsound, and is responded, such as prompting is usedFamily is changed or maintenance storage device, or changes the working condition unfinished IO quantity of caching (for example, reduction) 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 pointsPressure, 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 askAverage value, to reduce error.
Embodiment 2
Fig. 2 B, illustrate the schematic diagram that circuit is detected according to the power-on time of further embodiment of this invention.In fig. 2b, scheme2A voltage detecting circuit 240 is replaced by voltage comparator circuit 245.Voltage comparator circuit 245 compares the defeated of stand-by power supply 210Go out voltage and reference voltage.In the power supply process of stand-by power supply 210, its output voltage constantly declines, in output voltage less than ginsengWhen examining voltage, voltage comparator circuit 245 is to the output indication signal of controller 230.As an example, it is defeated when stand-by power supply is fully chargedIt is U to go out voltage0, and reference voltage is set toSo that when the output voltage of stand-by power supply crosses over reference voltage, itsHalf when dump energy is fully charged.So as to which controller 230 starts timer when stand-by power supply 210 starts electric discharge, controlDevice 230 makes timer stop the period of timing, then timer record when receiving the indication signal of voltage comparator circuit 245The about half of the power-on time of stand-by power supply 210, so as to estimate that the power-on time of stand-by power supply 210 is 2 times of timer recordsPeriod.In other examples, reference voltage may be configured as other values.When known reference voltage and stand-by power supply are fully chargedIn the case of output voltage, drop to the period of reference voltage according to the output voltage of stand-by power supply 210, can estimate standbyPower-on time when being powered to the load with power supply 210.It is pointed out that to make loaded work piece, the output of stand-by power supply is electricPressure 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 load normal work.The power-on time thus estimated in the present embodiment can actually make the time of load normal work slightly larger than stand-by power supply 210.
Fig. 3 A are the flow charts of power-on time detection method according to embodiments of the present invention.Also in relation with Fig. 2A, supplied for detectionElectric time, controller 230 disconnects switch 220 to cut off power supply of the external power source to load, and supplied with stand-by power supply 210 for loadElectricity, while starting timer (310).After a period of time, controller 230 obtains stand-by power supply 210 by voltage detecting circuit 230Output voltage, closure switch 220 are led to recovering external power source to the power supply of load and the charging to stand-by power supply 210Cross timer record current time (320).Controller 230 is electric according to the output voltage of the stand-by power supply 210 detected and detectionThe Time Calculation stand-by power supply of pressure can power-on time (330).For example, calculatingObtaining can power-on time Tx.WhereinT1To detect the time of voltage, U0For initial (when fully charged) voltage of stand-by power supply, U1For in T1Voltage that moment detects and UTIt is that stand-by power supply 210 can make the minimum voltage of load normal work.As it was previously stated, there is standby electricity of the various ways by detectionThe output voltage in source 210 determines the power-on time of stand-by power supply 210 with detection time.
Fig. 3 B are the flow charts of the power-on time detection method according to further embodiment of this invention.Also in relation with Fig. 2 B, for inspectionPower-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 210Power supply is carried, while starting timer (340).As the output voltage of stand-by power supply 210 is gradually reduced, when output voltage is less than thresholdAfter value, voltage comparator circuit 245 is to the output indication signal of controller 230.In response to receiving indication signal, controller 230 makes meterWhen device stop (350), and according to the Time Calculation stand-by power supply of timer record can power-on time (360).Known standbyIn the case of the initial output voltage and threshold voltage of power supply, because energy storage and the voltage of electric capacity square are directly proportional, so as toThe Time Calculation for discharging into threshold voltage from initial voltage according to electric capacity goes out electric capacity and put a little from initial voltage to can maintain load workThe discharge time (power invariability or approximately constant of storage device) of the minimum voltage of work.
Power-on time detection method according to embodiments of the present invention, can be carried out in storage device normal work, withoutIt is perceived by the user.It can also carry out, and be accused to user in the prearranged time or according to the instruction of main frame or userKnow testing result.In one example, testing result is informed to main frame by PCIe interface;In another example, in storageIndicator lamp is arranged in equipment, testing result is informed to user by indicator lamp.
Embodiment 3
Fig. 4 A are the schematic diagrams of the standby electricity power sense circuit according to further embodiment of this invention.In Fig. 4 A embodimentIn, 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 assessWith 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.
There is provided bypass load 460 in Fig. 4 A embodiment, the two ends of stand-by power supply 210 are connected in parallel on.In detection standby electricityDuring the electric capacity in source 210, stand-by power supply 210 is set to be discharged by bypassing load 460;And keep confession of the external power source to external loadingElectricity, so as to avoid when power-on time is detected because the failure of stand-by power supply 210 causes storage device to fail.Bypass load 460 can be withIt is power resistor, and (being R) known to resistance.By constant-current source (CCR, Constant Current Regulator) 450 with bypassLoad 460 is connected so that when 210 pairs of stand-by power supply bypass load 460 is powered, the electric current for flowing through bypass load 460 be it is known andConstant (is Ic).There is provided switch 440 so that whether controller 230 can control stand-by power supplies 210 to side by switch 440Road load 460 is powered.Constant-current source 450 can be integrated with bypass load 460, such as controllable constant-current source.Only measuring standbyDuring with the electric capacity of power supply 210, closure switch 440 in other cases, disconnect switch 440, to avoid stand-by power supply 210 to sideRoad 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 supply210 input.Controller 230 is by being opened or closed switch 410, to cut off or allow external power source to stand-by power supply 210Charging.Standby electricity power sense circuit also includes switch 420, for coupling stand-by power supply 210 and external loading, controller 230Cut 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 outerPortion'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 loopShow.Discharge loop includes the ideal capacitance C and equivalent series resistance R for constituting stand-by power supply 210ESR, constant-current source (CCR) is with loadingResistance (R).Ideal capacitance C, equivalent series resistance RESR, constant-current source (CCR) and load resistance (R) discharge loop in series.ByIn the presence of constant-current source, the electric current of discharge loop is Ic.And the output voltage of stand-by power supply 210 is equivalent series resistance RESRTwoThe voltage at end and the voltage sum at ideal capacitance C two ends.The voltage at the two ends of stand-by power supply 210 can be calculatedWherein U0 is the initial value of ideal capacitance both end voltage before electric discharge, and t is discharge time.CauseAnd, the voltage U and time t at the two ends of stand-by power supply 210 are linear relationships.By measuring voltage U in time t, reason can be calculatedThink electric capacity C and series equivalent resistance RESR.Preferably, multiple voltage U are measured in different time t, and fits straight line U=kt+bSlope k and biasing b, then slopeAnd b=Ic*Resr+U0, so that computer ideal capacitance C capacitance and equivalent seriesResistance 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, and closure is opened440 are closed, stand-by power supply 210, constant-current source 450 is formed discharge loop with bypass load 460.Voltage detecting circuit 240 is coupled toThe output end of stand-by power supply 410.Controller 230 detects the output voltage U of stand-by power supply 210 simultaneously by voltage detecting circuit 240Record detection time t.So as to pass throughCalculate stand-by power supply 210 thinks capacitance again.HavingController 230 in one example, in the output voltage of different time, repeatedly measurement stand-by power supply 210, and passes through least square methodStraight line U=kt+b slope k and biasing b is fitted, then slopeAnd b=Ic*Resr+U0, so as to calculate stand-by power supply210 ideal capacitance C capacitance and equivalent series resistance RESRResistance.In still another example, ignore equivalent series electricityResr influence is hindered, and is only passed throughOr the straight line U=kt+b fitted slopeTo calculate stand-by power supply210 ideal capacitance C capacitance.In another example, the value of multiple ideal capacitance C to calculating is averaged.Pass throughCompare electric capacity C and/or equivalent series resistance RESRResistance and its nominal value, if measured value with nominal value in error allowed bandIt is interior, it is believed that condenser type health.
Alternatively there is provided switch 430, external power source is coupled in one end of switch 430, the other end be coupled to switch 410 withExternal loading, the disconnection of the energy controlling switch 430 of controller 230 and closure.When switching 410 closure, external power source is directed outSection load is powered, it is possible to powered by switch 410 to stand-by power supply 210.When switching 410 disconnection, switch external power supply is arrivedThe 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 the supply access of 210 pairs of bypass loads 460 of stand-by power supply, and closure switch 420 makeStand-by power supply is powered to external loading.Thus, embodiments in accordance with the present invention, during the electric capacity of measurement stand-by power supply 210, according toThe 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 210When, shorten time of measuring and consider the voltage range of decrease and the influence of voltage measurement accuracy of the time of measuring to stand-by power supply 210, shortTime in complete capacitance measurement so that even in deuterogenesis's external power source power down of capacitance measurement period, stand-by power supply210 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 210The 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, and RESR is the equivalent series resistance of stand-by power supply 210, and UT is standby electricitySource 210 can make the minimum voltage of load normal work, and t is that stand-by power supply 210 makes the time of load normal work, and P is loadPower P, U0It is output voltage when stand-by power supply 210 is fully charged, μ is power-efficient.Alternatively, it is reduction computation complexity,Ignore the equivalent series resistance of stand-by power supply 210, the power-on time of estimation stand-by power supply 210 is
Fig. 5 is the flow chart of the stand-by power supply detection method according to further embodiment of this invention.Also in relation with Fig. 4 A, for detectionStand-by power supply, controller 230 disconnects switch 420 to cut off power supply of the stand-by power supply to external loading, disconnects switch 410 to cut offPower 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 loadElectricity, while starting timer (510).After a period of time, controller 230 passes through the sampling stand-by power supply 210 of voltage detecting circuit 230Output voltage, and pass through timer record current time (520).To improve measurement accuracy, step is performed a plurality of times in controller520, in the output voltage of multiple time point sampling stand-by power supplies 210.Then, the closure switch 410 of controller 230 are to recover outsideCharging of the power supply 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 linearRelation, the capacitance C (530) of stand-by power supply 210 is calculated by measuring obtained voltage U and measurement voltage U time t.ThanThe electric capacity C and stand-by power supply 210 that are obtained compared with measurement 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 that stand-by power supply 210 can make the minimum voltage of load normal work, U0It is stand-by power supply 210Output 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, having other by way of capacitance calculates discharge time, with differencePrecision or computation complexity.Alternatively, the power-on time according to the stand-by power supply calculated estimates the healthy shape of stand-by power supplyCondition.In a further embodiment, capacitance detecting and/or power-on time detection can also be performed 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 electricityThe electric discharge of the 210 pairs of bypass loads 460 in source, and closure switch 420, so that stand-by power supply is powered to external loading.Alternatively, controlDevice 230 also disconnects switch 410 and switch 430.
The frame of block diagram and flow chart supports the combination of the device for performing specified function, the behaviour for performing specified functionThe combination of work and for the combination for the program instruction means for performing specified function.It should also be understood that block diagram and flow chart is eachThe combination of the frame of frame and block diagram and flow chart can by perform specify function or operation, hardware based application specific it is integratedCircuit, FPGA (field programmable gate array), CPLD (CPLD), microcontroller, microprocessor or its groupClose and realize.
Although the example of present invention reference is described, it is intended merely to the purpose explained rather than the limit to the present inventionSystem, the change to embodiment, increase and/or deletion can be made without departing from the scope of the present invention.
In the field that teaching involved by these embodiments, presenting from the description above and in associated accompanying drawing benefitsTechnical staff will be recognized that many modifications of the invention recorded here and other embodiment.It should therefore be understood that this hairIt is bright to be not limited to disclosed embodiment, it is intended to include modification and other embodiment in the scope of the appended claimsIt is interior.Although employing specific term herein, them are used only on general significance and describing significance and not isThe purpose of limitation and use.

Claims (12)

CN201610203912.8A2016-04-012016-04-01Standby power supply detection method and deviceActiveCN107293319B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610203912.8ACN107293319B (en)2016-04-012016-04-01Standby power supply detection method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610203912.8ACN107293319B (en)2016-04-012016-04-01Standby power supply detection method and device

Publications (2)

Publication NumberPublication Date
CN107293319Atrue CN107293319A (en)2017-10-24
CN107293319B CN107293319B (en)2023-10-27

Family

ID=60087806

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610203912.8AActiveCN107293319B (en)2016-04-012016-04-01Standby power supply detection method and device

Country Status (1)

CountryLink
CN (1)CN107293319B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108226747A (en)*2017-11-302018-06-29北京康拓科技有限公司A kind of dynamic circuit failure on-line detecting method
CN108802627A (en)*2018-06-262018-11-13郑州云海信息技术有限公司Test method, device, system and readable storage medium storing program for executing independently-powered BBU
CN109065086A (en)*2018-09-072018-12-21郑州云海信息技术有限公司A kind of test macro storing power failure protection of equipment circuit

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20020008543A1 (en)*2000-07-172002-01-24Koji NasuLoad capacitance measuring circuit and output buffer adaptive to wide range of load capacitance
CN101943716A (en)*2009-07-092011-01-12联咏科技股份有限公司 Capacitance measuring circuit and method
CN201788241U (en)*2010-08-052011-04-06易丰兴业有限公司 Capacitance attenuation detection circuit of capacitor for rectification and filtering
CN102375093A (en)*2010-08-052012-03-14易丰兴业有限公司 Capacitance attenuation detection circuit and method of capacitor for rectification and filtering
CN104062504A (en)*2014-06-132014-09-24华为技术有限公司Super-capacitor detecting circuit
CN104252219A (en)*2012-07-222014-12-31北京忆恒创源科技有限公司Power supply circuit and power supply method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20020008543A1 (en)*2000-07-172002-01-24Koji NasuLoad capacitance measuring circuit and output buffer adaptive to wide range of load capacitance
CN101943716A (en)*2009-07-092011-01-12联咏科技股份有限公司 Capacitance measuring circuit and method
CN201788241U (en)*2010-08-052011-04-06易丰兴业有限公司 Capacitance attenuation detection circuit of capacitor for rectification and filtering
CN102375093A (en)*2010-08-052012-03-14易丰兴业有限公司 Capacitance attenuation detection circuit and method of capacitor for rectification and filtering
CN104252219A (en)*2012-07-222014-12-31北京忆恒创源科技有限公司Power supply circuit and power supply method
CN104062504A (en)*2014-06-132014-09-24华为技术有限公司Super-capacitor detecting circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108226747A (en)*2017-11-302018-06-29北京康拓科技有限公司A kind of dynamic circuit failure on-line detecting method
CN108802627A (en)*2018-06-262018-11-13郑州云海信息技术有限公司Test method, device, system and readable storage medium storing program for executing independently-powered BBU
CN109065086A (en)*2018-09-072018-12-21郑州云海信息技术有限公司A kind of test macro storing power failure protection of equipment circuit

Also Published As

Publication numberPublication date
CN107293319B (en)2023-10-27

Similar Documents

PublicationPublication DateTitle
CN206920573U (en)Capacitance detecting device and power-on time detection means
US8542059B2 (en)Ultra-low-power power supply system for an IC chip
US11125826B2 (en)Battery impedance measurement
CN104062504B (en)Super-capacitor detecting circuit
US20090128163A1 (en)Simulated battery logic testing device
CN105277791B (en) On-line detection method of internal resistance of DC small current secondary discharge battery
JP2001054242A (en) Battery condition monitoring circuit and battery device
US9470725B2 (en)Measuring power consumption of circuit component operating in ultra-low power mode
CN205157652U (en)Direct current undercurrent secondary discharge holds internal resistance of cell on -line measuring device
CN101796469B (en) Method and system for managing power outages on an aircraft
CN107293319A (en)Stand-by power supply detection method and device
KR20120136119A (en)Battery evaluation apparatus having charging and discharging function
US20230417837A1 (en)Battery Replacement Device, Battery State Diagnosis Server Device and Method, and Battery Replacement System Comprising Same
CN203339787U (en)Electric energy meter power supply system
CN205720603U (en)Stand-by power supply power-on time detection device
CN205608163U (en)Power failure detection circuit of electric energy meter
CN107430172B (en)Battery monitoring apparatus and method using discharge pulse measurements
CN205680443U (en)Capacitance detecting device detects device with power-on time
CN208888339U (en) A fault detection system for solar energy application circuit
US11114705B2 (en)Current measurement and voltage control approach
CN211979044U (en)Zero line-falling electricity-stealing-prevention metering device based on reset-prevention device
CN103185868B (en)Capacitor power interference protection and reliability test circuit and system and operational approach thereof
CN207301295U (en)A kind of automobile start and stop power detector
CN201429680Y (en)Coulometer separated from battery pack and containing charge-discharge management function
CN118198996B (en)BOOST protection and detection circuit and equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information

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

Applicant after:Beijing yihengchuangyuan Technology Co.,Ltd.

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

Applicant before:BEIJING MEMBLAZE TECHNOLOGY Co.,Ltd.

CB02Change of applicant information
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp