Disclosure of Invention
In view of the above, the present invention provides a method and a system for controlling a backup power unit of a capacitor, and related components. The specific scheme is as follows:
a control method of a capacitor backup unit comprises the following steps:
acquiring working parameters of last-time work of the capacitor standby power unit;
judging whether the capacitance standby power unit has capacitance attenuation or not according to the working parameters;
if yes, calculating the capacitance value of the capacitance standby power unit according to the working parameters;
and updating the working voltage of the capacitor backup unit according to the capacitance value and the working parameter so as to enable the working time of the capacitor backup unit not to be less than a time threshold.
Preferably, the operating parameters include an operating time, the operating voltage, an operating current, and a minimum voltage.
Preferably, the process of determining whether the capacitance backup unit has capacitance attenuation according to the working parameter includes:
judging whether the working time is less than a preset time or not;
if yes, judging whether the working voltage is smaller than a preset voltage or not;
and if so, judging that the capacitance standby power unit has capacitance attenuation.
Preferably, the process of calculating the capacitance value of the capacitance backup unit according to the operating parameter includes:
according to the formula
Calculating the capacitance value of the capacitor standby unit, wherein C is the capacitance value and V is
1For said operating voltage, V
2And the minimum voltage is I, the working current is I, and the working time is t.
Preferably, after the calculating the capacitance value of the capacitance backup unit according to the operating parameter, the method further includes:
and if the capacitance value is smaller than the alarm capacitance, an alarm is given.
Preferably, after the updating the operating voltage of the capacitor backup unit according to the capacitance value and the operating parameter so that the operating time of the capacitor backup unit is not less than a time threshold, the method further includes:
and if the working voltage is greater than the alarm voltage, updating the working voltage to the alarm voltage and giving an alarm.
Preferably, after updating the output voltage value of the capacitor backup unit according to the capacitance value and the operating parameter so that the operating time of the capacitor backup unit is not less than a time threshold, the method further includes:
and controlling the capacitor standby power unit to work according to the working voltage through PWM.
Correspondingly, this application still discloses a control system of electric capacity spare power unit, includes:
the acquisition module is used for acquiring the working parameters of the last work of the capacitor standby power unit;
the judging module is used for judging whether the capacitance standby power unit has capacitance attenuation or not according to the working parameters;
the calculation module is used for calculating the capacitance value of the capacitor standby power unit according to the working parameters when the capacitor standby power unit has capacitance attenuation;
and the updating module is used for updating the working voltage of the capacitor standby power unit according to the capacitance value and the working parameter so as to enable the working time of the capacitor standby power unit to be not less than a time threshold.
Correspondingly, this application still discloses a control device of electric capacity spare power unit, includes:
a memory for storing a computer program;
a processor for implementing the steps of the method of controlling a capacitive backup unit according to any of the above when executing the computer program.
Accordingly, the present application also discloses a readable storage medium having stored thereon a computer program which, when being executed by a processor, realizes the steps of the method for controlling a capacitive backup unit according to any of the above.
The application discloses a control method of a capacitor standby power unit, which comprises the following steps: acquiring working parameters of last-time work of the capacitor standby power unit; judging whether the capacitance standby power unit has capacitance attenuation or not according to the working parameters; if yes, calculating the capacitance value of the capacitance standby power unit according to the working parameters; and updating the working voltage of the capacitor backup unit according to the capacitance value and the working parameter so as to enable the working time of the capacitor backup unit not to be less than a time threshold. This application is monitored the electric capacity state according to the working parameter of electric capacity stand-by electricity unit, in case the electric capacity decay, then calculates current capacitance value to working voltage is reset according to current capacitance value, and then guarantees that the operating time of electric capacity stand-by electricity unit is not less than the time threshold, avoids coming the condition of too late power failure backup, data loss to appear, has improved electric capacity stand-by electricity unit's reliability, has prolonged electric capacity stand-by electricity unit's working life.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
With the increase of the use times of the standby power supply, the electrolyte of the aluminum electrolytic capacitor is gradually generated due to higher working temperature, so that the capacity value of the aluminum electrolytic capacitor is reduced. At this time, the output voltage of the standby power supply is always maintained at a fixed value, and the reduction of the capacity value leads to the gradual reduction of the working maintenance time of the standby power supply, even lower than the system requirement, and the standby power supply can not support the system to complete power-down backup in serious cases, thereby causing data loss.
This application is monitored the electric capacity state according to the working parameter of electric capacity stand-by electricity unit, in case the electric capacity decay, then calculates current capacitance value to working voltage is reset according to current capacitance value, and then guarantees that the operating time of electric capacity stand-by electricity unit is not less than the time threshold, avoids coming the condition of too late power failure backup, data loss to appear, has improved electric capacity stand-by electricity unit's reliability, has prolonged electric capacity stand-by electricity unit's working life.
The embodiment of the invention discloses a control method of a capacitor backup unit, which is shown in figure 1 and comprises the following steps:
s1: acquiring working parameters of last-time work of the capacitor standby power unit;
s2: judging whether the capacitance standby power unit has capacitance attenuation or not according to the working parameters;
s3: if yes, calculating the capacitance value of the capacitor standby power unit according to the working parameters;
s4: and updating the working voltage of the capacitor backup unit according to the capacitance value and the working parameter so as to enable the working time of the capacitor backup unit not to be less than a time threshold.
If not, namely the current capacitor standby power unit does not have capacitance attenuation, the working is carried out according to the normal working voltage.
It can be understood that, referring to fig. 2, the internal structure of the capacitor backup unit includes: the system comprises a rectifier bridge which is connected with a mains supply AC and is composed of D1-D4, an inductor L1, a backflow prevention diode D5, an energy storage capacitor C1 which outputs electric energy to a server load, a resistor R1 used for detecting current, and a switch Q1 which controls an inductor L1 to transfer capacitance to an energy storage capacitor C1, wherein the capacitance value of a capacitor standby unit in the embodiment is the capacitance value of an energy storage capacitor C1 actually.
Further, the operation parameters of the last operation acquired in step S1 include an operation time, an operation voltage, an operation current, and a minimum voltage. These operating parameters may be found using sensors and a work log lookup.
Further, the step S2 is a process of determining whether there is capacitance attenuation in the capacitance backup unit according to the operating parameter, including:
judging whether the working time is less than the preset time or not;
if yes, judging whether the working voltage is smaller than a preset voltage or not;
and if so, judging that the capacitance standby power unit has capacitance attenuation.
It can be understood that the main judgment of the capacitor attenuation in step S2 is based on whether the operating time reaches the rated operating time, that is, the preset time, but the reason why the operation of the capacitor backup unit is stopped each time is not necessarily the internal capacitor is exhausted, and may be that the main power of the server is powered up again, or the data backup of the server is completed, and then the power supply stopping instruction is sent to the capacitor backup unit, or the operating time of the capacitor backup unit automatically stops power supply after reaching the rated operating time. Therefore, considering these additional situations, the above additional situations need to be eliminated when determining the capacitance attenuation, and generally, whether the operating voltage is smaller than the preset voltage is determined.
Further, in this embodiment, the control of the whole capacitor backup unit is determined according to a relation among a capacitance value of the capacitor backup unit, a working voltage output by the capacitor backup unit, a working current, and a lowest voltage in a working process, where the relation is:
wherein C is a capacitance value, V1Is an operating voltage, V2The minimum voltage, I the operating current, and t the operating time.
It is understood that, on the basis of the relationship, the step S3 can be implemented to calculate the capacitance value of the capacitor backup unit according to the operating parameter, that is, the step S3 includes:
according to the formula
Calculating the capacitance of the backup capacitor unit, where C is the capacitance and V is the capacitance
1Is an operating voltage, V
2The minimum voltage, I the operating current, and t the operating time.
It can be understood that the current capacitance value is calculated here, so that whether capacitance attenuation exists in the capacitance standby unit can be judged more accurately, if the current capacitance value is within the normal capacitance range, no capacitance attenuation exists, and the working voltage does not need to be updated; if the current capacitance value falls out of the normal capacitance range, the capacitance is determined to be attenuated, and the action of updating the working voltage in step S4 is executed.
Further, the basis for updating the operating voltage in step S4 is also the relation, and the object to be calculated is the operating voltage, that is, the lowest voltage V at the known operating time t is not less than the time threshold2Under the conditions of constant working voltage I and constant capacitance value C, calculating new working voltage V1And updated to follow the updated working voltage V when the capacitor backup unit works next time1The operation is carried out by the following steps,and enabling the working time of the current capacitor standby power unit to be not less than a time threshold.
Specifically, after the working voltage is updated, the next operation process of the capacitor standby power unit includes:
and controlling the capacitor standby power unit to work according to the working voltage through PWM.
Further, if the current capacitance attenuation is severe, after the capacitance value of the capacitance backup unit is calculated according to the working parameter, the method further includes:
and if the capacitance value is smaller than the alarm capacitance, an alarm is given.
Further, as described in the above relation, the lowest voltage V2The voltage output stability of the capacitor backup unit is usually constant, and when the capacitance value is decreased by C, the operating voltage V needs to be increased so as not to shorten the operating time1. In consideration of the withstand voltage limit of the whole system to the voltage, the embodiment designs an overvoltage protection mechanism of the alarm voltage, that is, according to the capacitance value and the working parameter, the working voltage of the capacitor backup unit is updated, so that after the working time of the capacitor backup unit is not less than the time threshold, the method further includes: if the operating voltage V is1And if the working voltage is greater than the alarm voltage, updating the working voltage to the alarm voltage and sending an alarm.
It can be understood that the alarm reminds the staff to replace the capacitor backup unit as soon as possible, but if the capacitor backup unit is not replaced in time when the server is suddenly powered down, the capacitor backup unit outputs the value of the alarm voltage as the working voltage, so that the working time of the capacitor backup unit is prolonged as much as possible.
The embodiment of the application discloses a control method of a capacitor standby power unit, which comprises the following steps: acquiring working parameters of last-time work of the capacitor standby power unit; judging whether the capacitance standby power unit has capacitance attenuation or not according to the working parameters; if yes, calculating the capacitance value of the capacitance standby power unit according to the working parameters; and updating the working voltage of the capacitor backup unit according to the capacitance value and the working parameter so as to enable the working time of the capacitor backup unit not to be less than a time threshold. According to the embodiment of the application, the capacitor state is monitored according to the working parameters of the capacitor standby power unit, once the capacitor is attenuated, the current capacitance value is calculated, the working voltage is reset according to the current capacitance value, the working time of the capacitor standby power unit is not lower than a time threshold value, the situations that power failure backup and data loss are not timely caused are avoided, the reliability of the capacitor standby power unit is improved, and the service life of the capacitor standby power unit is prolonged.
Correspondingly, the embodiment of the present application further discloses a control system of a capacitor backup unit, as shown in fig. 3, including:
the acquisition module 1 is used for acquiring working parameters of the last work of the capacitor backup unit;
the judging module 2 is used for judging whether the capacitance standby power unit has capacitance attenuation according to the working parameters;
the calculating module 3 is used for calculating the capacitance value of the capacitor standby power unit according to the working parameter when the capacitor standby power unit has capacitance attenuation;
and the updating module 4 is configured to update the working voltage of the capacitor backup unit according to the capacitance value and the working parameter, so that the working time of the capacitor backup unit is not less than a time threshold.
According to the embodiment of the application, the capacitor state is monitored according to the working parameters of the capacitor standby power unit, once the capacitor is attenuated, the current capacitance value is calculated, the working voltage is reset according to the current capacitance value, the working time of the capacitor standby power unit is not lower than a time threshold value, the situations that power failure backup and data loss are not timely caused are avoided, the reliability of the capacitor standby power unit is improved, and the service life of the capacitor standby power unit is prolonged.
In some specific embodiments, the operating parameters include an operating time, the operating voltage, an operating current, and a minimum voltage.
In some specific embodiments, the determining module 2 is specifically configured to:
judging whether the working time is less than a preset time or not;
if yes, judging whether the working voltage is smaller than a preset voltage or not;
and if so, judging that the capacitance standby power unit has capacitance attenuation.
In some specific embodiments, the calculation module 3 is specifically configured to:
according to the formula
Calculating the capacitance value of the capacitor standby unit, wherein C is the capacitance value and V is
1For said operating voltage, V
2And the minimum voltage is I, the working current is I, and the working time is t.
In some specific embodiments, the control system further comprises an alarm module 5 configured to:
and if the capacitance value is smaller than the alarm capacitance, an alarm is given.
In some specific embodiments, the alarm module 5 is further configured to:
and if the working voltage is greater than the alarm voltage, updating the working voltage to the alarm voltage and giving an alarm.
In some specific embodiments, the control system further comprises an action module 6 for:
and controlling the capacitor standby power unit to work according to the working voltage through PWM.
Correspondingly, the embodiment of the present application further discloses a control device of a capacitor standby power unit, including:
a memory for storing a computer program;
a processor for implementing the steps of the method for controlling a capacitive backup unit according to any of the above embodiments when executing the computer program.
Correspondingly, the embodiment of the present application further discloses a readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the control method of the capacitor backup unit according to any one of the above embodiments.
For details of the control method of the capacitor backup unit, reference may be made to the description in the above embodiments, and details are not repeated here.
The control device and the readable storage medium of the capacitor backup unit in this embodiment have the same technical effects as the control method of the capacitor backup unit in the foregoing embodiment, and are not described herein again.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The control method, system and related components of the capacitor backup unit provided by the invention are described in detail above, and a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.