CN111309568A - Method and system for alarming aging of battery on server - Google Patents
Method and system for alarming aging of battery on server Download PDFInfo
- Publication number
- CN111309568A CN111309568A CN202010081302.1A CN202010081302A CN111309568A CN 111309568 A CN111309568 A CN 111309568A CN 202010081302 A CN202010081302 A CN 202010081302A CN 111309568 A CN111309568 A CN 111309568A
- Authority
- CN
- China
- Prior art keywords
- battery
- server
- service life
- limiting resistor
- voltage difference
- 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.)
- Withdrawn
Links
- 230000032683 aging Effects 0.000 title claims abstract description 40
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000001514 detection method Methods 0.000 claims abstract description 9
- 230000015556 catabolic process Effects 0.000 claims description 3
- 238000006731 degradation reaction Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 5
- 108091022873 acetoacetate decarboxylase Proteins 0.000 description 4
- 101710096655 Probable acetoacetate decarboxylase 1 Proteins 0.000 description 1
- 101710096660 Probable acetoacetate decarboxylase 2 Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/327—Alarm or error message display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Secondary Cells (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The application discloses a method and a system for alarming aging of a battery on a server, wherein the method comprises the following steps: determining a current limiting resistor in a power supply circuit of a server battery; acquiring a voltage difference between two ends of a current-limiting resistor; calculating the remaining service life of the server battery according to the voltage difference; judging whether the residual service life is lower than a set life threshold value or not; if yes, an alarm is sent out. The system comprises: the device comprises a current-limiting resistor determining module, a voltage difference obtaining module, a residual service life calculating module, a judging module and an alarming module. Through the method and the device, the accuracy and the reliability of the detection result of the aging state of the service battery can be effectively improved.
Description
Technical Field
The present application relates to the field of server power supply technologies, and in particular, to a method and a system for warning aging of a battery on a server.
Background
A CMOS (Complementary Metal Oxide Semiconductor) battery is usually mounted on the server motherboard, and the CMOS battery plays an important role in stable operation of the server motherboard. Therefore, detecting the state of the CMOS battery and timely obtaining the aging status of the CMOS battery are important issues.
Referring to fig. 1, as can be seen from fig. 1, the method for detecting the aging state of the CMOS battery on the server motherboard generally acquires a power signal of the CMOS battery by using an ADC pin of the BMC, so as to obtain a voltage level of the CMOS battery, and obtains the aging state of the CMOS battery according to the voltage level of the CMOS battery.
However, in the current method for detecting the aging state of the CMOS battery on the server motherboard, since only the current voltage level can be obtained, the user cannot accurately determine the time for replacing the battery, and the detected aging state of the CMOS battery is not accurate enough, which easily causes the problems of the BIOS (Basic Input Output System) setting being restored and the time being reset after the battery is dead, and further affects the normal operation of the server.
Disclosure of Invention
The application provides a method and a system for warning battery aging on a server, which aim to solve the problem that the accuracy of the aging state of a CMOS battery detected in the prior art is not high enough.
In order to solve the technical problem, the embodiment of the application discloses the following technical scheme:
a method of battery aging warning on a server, the method comprising:
determining a current limiting resistor in a power supply circuit of a server battery;
acquiring a voltage difference between two ends of the current-limiting resistor;
calculating the remaining service life of the server battery according to the voltage difference;
judging whether the residual service life is lower than a set life threshold value or not;
if yes, an alarm is sent out.
Optionally, calculating the remaining service life of the server battery according to the voltage difference specifically includes:
using a formula based on said voltage differenceAnd formulaCalculating to obtain the remaining service life of the server battery, wherein L is the remaining service life of the server battery, A is the capacity of the server battery, IL is the current limiting current, and R isLIs a current limiting resistor, VLIs the voltage difference across the current limiting resistor.
Optionally, the method for obtaining a voltage difference across the current-limiting resistor includes:
respectively collecting voltage values at two ends of the current-limiting resistor;
and determining the voltage difference between the two ends of the current-limiting resistor according to the two voltage values.
Optionally, the method further comprises: and displaying the residual service life and the set life threshold.
A system for battery aging warning on a server, the system comprising:
the current limiting resistor determining module is used for determining a current limiting resistor in a server battery power supply line;
the voltage difference acquisition module is used for acquiring the voltage difference between the two ends of the current-limiting resistor;
the residual service life calculating module is used for calculating the residual service life of the server battery according to the voltage difference;
the judging module is used for judging whether the residual service life is lower than a set life threshold value;
and the alarm module is used for giving an alarm when the judging module judges that the residual service life is lower than the set life threshold.
Optionally, the system is disposed on a BMC (Baseboard Management Controller).
Optionally, the voltage difference obtaining module includes:
the voltage acquisition unit is used for respectively acquiring voltage values at two ends of the current-limiting resistor;
and the voltage difference calculation unit is used for determining the voltage difference between the two ends of the current-limiting resistor according to the two voltage values.
Optionally, the voltage acquisition unit is two ADC voltage detection pins.
Optionally, the server battery is a CMOS battery.
Optionally, the system further includes a display module, configured to display the remaining service life and the set life threshold.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
the method comprises the steps of firstly determining a current-limiting resistor in a power supply circuit of a server battery, acquiring a voltage difference between two ends of the current-limiting resistor, and secondly utilizing a formula according to the voltage differenceAnd formulaCalculating to obtain the remaining service life of the server battery; then judging whether the residual service life is lower than a set life threshold value; and when the residual service life is lower than the set life threshold value, giving an alarm. In the embodiment, by establishing a server battery remaining service life model, the remaining service life can be directly calculated according to the collected voltage values at the two ends of the current-limiting resistor, and an alarm is given in time according to the relationship between the remaining service life and the set service life threshold. The server battery aging warning method enables a user to accurately judge whether the battery needs to be replaced without estimating the voltage level, so that the aging state of the server battery is monitored more accurately by the detection method. In addition, the remaining service life and the service life threshold of the service battery are displayed, so that a user can more intuitively know the aging state of the server battery in time, and the accuracy and the reliability of monitoring the aging state of the server battery are further improved.
This embodiment also provides a system for warning battery aging on a server, which mainly includes: the device comprises a current-limiting resistor determining module, a voltage difference obtaining module, a residual service life calculating module, a judging module and an alarming module. Through remaining life calculation module, can establish the model of server battery remaining life, according to the voltage difference at this model and current-limiting resistor both ends, can directly acquire the remaining life of server battery, compare in prior art can only acquire the condition of the voltage quasi-position of server battery, this embodiment can accurately judge the time of changing the server battery, has better guiding meaning to the user, consequently, this system is more accurate and reliable to the result of surveying of server battery aging state. In addition, this embodiment can show the remaining service life of server battery and the life threshold value of setting for through the setting of display module to let the user can more in time and learn the ageing state of server battery directly perceivedly, be favorable to further improving the accuracy and the reliability of server battery old and public state.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a circuit for detecting the aging status of a server battery in the prior art;
fig. 2 is a schematic flowchart of a method for warning of battery aging on a server according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a circuit for detecting the aging status of a server battery according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a system for warning degradation of a battery on a server according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application.
For a better understanding of the present application, embodiments of the present application are explained in detail below with reference to the accompanying drawings.
Example one
Referring to fig. 2, fig. 2 is a schematic flowchart of a method for warning of battery aging on a server according to an embodiment of the present disclosure. As can be seen from fig. 2, the method for warning the battery aging on the server in this embodiment includes the following steps:
s1: a current limiting resistance in a server battery power supply line is determined.
The server battery in this embodiment is a CMOS battery. A power supply line is arranged in the COMS battery, and in order to determine the service life of the battery, a current-limiting resistor in the power supply line is determined first, so that the voltage value of the current-limiting resistor can be conveniently acquired subsequently.
S2: and acquiring the voltage difference between two ends of the current-limiting resistor.
Specifically, step S2 includes the following process:
s21: and respectively collecting voltage values at two ends of the current-limiting resistor.
S22: and determining the voltage difference between the two ends of the current-limiting resistor according to the two voltage values.
Referring to fig. 3, fig. 3 is a schematic diagram of a circuit for detecting the aging state of the server battery in the embodiment. As can be seen from fig. 3, in this embodiment, the collection of the current-limiting resistor is controlled by controlling the on/off of the MOSFET1 and the MOSFET 2. That is, according to the acquired command, the voltage values V1 and V2 across the current limiting resistor are collected by the MOSFET1 and the MOSFET2, respectively. The voltage at two ends of the current limiting resistor is collected by using the BMC in fig. 3, and the voltage at two ends of the current limiting resistor is collected by using an ADC-1 pin and an ADC-2 pin in the BMC in fig. 3. After the voltage values are obtained, the voltage difference between the two ends of the current limiting resistor is calculated according to the difference value of the two voltage values.
With continued reference to fig. 2, after determining the voltage difference across the current limiting resistor, step S3 is executed: and calculating the remaining service life of the server battery according to the voltage difference.
Specifically, step S3 is:
from the voltage difference, using a formulaAnd formulaAnd calculating to obtain the remaining service life of the server battery. Wherein L is the remaining service life of the server battery, A is the server battery capacity, IL is the current limiting current, RLIs a current limiting resistor, VLIs the voltage difference across the current limiting resistor.
Taking CMOS battery life calculations as an example, assume a current limiting resistor RL1Kohm, the capacity of the battery used by the server mainboard is 200mAh, and the BMC acquires the voltage difference V of two ADC pins through a detection circuitLAt 0.01V, then use the formulaCalculating to obtain current limiting current IL of 0.01mA according to formulaThe remaining service life of the server battery was calculated to be 2.28 years.
According to the server battery remaining service life model, the remaining service life of the server battery can be obtained by directly calculating the model according to the voltage values at the two ends of the current-limiting resistor, so that a user can accurately judge whether the battery needs to be replaced, and the problem that the server BIOS setting is restored or the time is reset when the battery is not replaced in time is avoided. Moreover, the mode of directly acquiring the residual service life through the voltage value is more intuitive and convenient, and the popularization and the application of the detection method are facilitated.
After the service life of the remaining battery is calculated, step S4 is executed: and judging whether the residual service life is lower than a set life threshold value.
The service life threshold set by the server battery in this embodiment is determined according to different batteries.
If the remaining service life is lower than the set life threshold, executing step S5: and sending an alarm. Otherwise, no alarm is sent out.
Further, the method for warning degradation of a battery on a server in this embodiment further includes step S6: and displaying the residual service life and the set service life threshold.
Through displaying the remaining service life, the user can more intuitively acquire the remaining service life of the current server battery in time, so that the accuracy and the reliability of battery aging detection are further improved.
Example two
Referring to fig. 4 based on the embodiments shown in fig. 2 and fig. 3, fig. 4 is a schematic structural diagram of a system for warning battery aging on a server according to an embodiment of the present disclosure. As can be seen from fig. 4, the system for warning aging of a battery on a server in this embodiment mainly includes: the device comprises a current-limiting resistor determining module, a voltage difference obtaining module, a residual service life calculating module, a judging module and an alarming module.
The current limiting resistor determining module is used for determining a current limiting resistor in a server battery power supply line. And the voltage difference acquisition module is used for acquiring the voltage difference between two ends of the current-limiting resistor. And the residual service life calculating module is used for calculating the residual service life of the server battery according to the voltage difference. And the judging module is used for judging whether the residual service life is lower than a set life threshold. And the alarm module is used for giving an alarm when the judging module judges that the residual service life is lower than the set life threshold. The server battery in this embodiment is a CMOS battery.
The remaining service life calculating module in the embodiment is used for utilizing a formula according to the voltage differenceAnd formulaCalculating to obtain the remaining service life of the server battery, wherein L is the remaining service life of the server battery, A is the capacity of the server battery, IL is the current limiting current, and R isLIs a current limiting resistor, VLIs the voltage difference across the current limiting resistor.
Further, the voltage difference acquisition module includes: the voltage acquisition unit and the voltage difference calculation unit. The voltage acquisition unit is used for respectively acquiring voltage values at two ends of the current-limiting resistor; and the voltage difference calculating unit is used for determining the voltage difference between the two ends of the current-limiting resistor according to the two voltage values.
In this embodiment, the system for warning the battery aging on the server is arranged on the BMC. The voltage acquisition unit is two ADC voltage detection pins on the BMC.
Furthermore, the system for warning the aging of the battery on the server in the embodiment further comprises a display module for displaying the remaining service life of the server battery and the set service life threshold, so that a user can more intuitively and timely know the aging state of the server battery, the user experience is favorably improved, and the accuracy, timeliness and reliability of battery detection are improved.
The working principle and the working method of the system for warning of battery aging on a server in this embodiment have been explained in detail in the embodiments shown in fig. 2 and fig. 3, and the two embodiments may be referred to each other, and are not described herein again.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method for battery aging warning on a server, the method comprising:
determining a current limiting resistor in a power supply circuit of a server battery;
acquiring a voltage difference between two ends of the current-limiting resistor;
calculating the remaining service life of the server battery according to the voltage difference;
judging whether the residual service life is lower than a set life threshold value or not;
if yes, an alarm is sent out.
2. The method for warning of battery aging on a server according to claim 1, wherein the remaining service life of the server battery is calculated according to the voltage difference, specifically:
using a formula based on said voltage differenceAnd formulaCalculating to obtain the remaining service life of the server battery, wherein L is the remaining service life of the server battery, A is the capacity of the server battery, IL is the current limiting current, and R isLIs a current limiting resistor, VLIs the voltage difference across the current limiting resistor.
3. The method of claim 1, wherein the step of obtaining the voltage difference across the current limiting resistor comprises:
respectively collecting voltage values at two ends of the current-limiting resistor;
and determining the voltage difference between the two ends of the current-limiting resistor according to the two voltage values.
4. A method for on-server battery aging alarm according to any of claims 1-3, characterized in that the method further comprises: and displaying the residual service life and the set life threshold.
5. A system for battery aging warning on a server, the system comprising:
the current limiting resistor determining module is used for determining a current limiting resistor in a server battery power supply line;
the voltage difference acquisition module is used for acquiring the voltage difference between the two ends of the current-limiting resistor;
the residual service life calculating module is used for calculating the residual service life of the server battery according to the voltage difference;
the judging module is used for judging whether the residual service life is lower than a set life threshold value;
and the alarm module is used for giving an alarm when the judging module judges that the residual service life is lower than the set life threshold.
6. The system of claim 5, wherein the system is located at the BMC.
7. The system for warning of battery aging on a server according to claim 6, wherein the voltage difference obtaining module comprises:
the voltage acquisition unit is used for respectively acquiring voltage values at two ends of the current-limiting resistor;
and the voltage difference calculation unit is used for determining the voltage difference between the two ends of the current-limiting resistor according to the two voltage values.
8. The system according to claim 7, wherein the voltage acquisition unit comprises two ADC voltage detection pins.
9. The system for on-server battery degradation alarm of claim 5, wherein the server battery is a CMOS battery.
10. The system for warning of battery aging on a server according to any of claims 5-9, characterized in that the system further comprises a display module for displaying the remaining service life and the set life threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010081302.1A CN111309568A (en) | 2020-02-06 | 2020-02-06 | Method and system for alarming aging of battery on server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010081302.1A CN111309568A (en) | 2020-02-06 | 2020-02-06 | Method and system for alarming aging of battery on server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111309568A true CN111309568A (en) | 2020-06-19 |
Family
ID=71156417
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010081302.1A Withdrawn CN111309568A (en) | 2020-02-06 | 2020-02-06 | Method and system for alarming aging of battery on server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111309568A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111983494A (en) * | 2020-08-19 | 2020-11-24 | 重庆金康动力新能源有限公司 | Method and system for prolonging service life of battery system |
-
2020
- 2020-02-06 CN CN202010081302.1A patent/CN111309568A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111983494A (en) * | 2020-08-19 | 2020-11-24 | 重庆金康动力新能源有限公司 | Method and system for prolonging service life of battery system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI515593B (en) | Detecting status systems and methods of an application program running in a device | |
TWI766584B (en) | Power battery insulation monitoring method, system and device | |
EP2851700B1 (en) | Method and terminal for displaying capacity of battery | |
CN110764014A (en) | Method and device for detecting short circuit in battery, terminal and readable storage medium | |
KR20230129953A (en) | Method, device, apparatus, and storage medium for evaluating consistency of vehicle battery cell | |
CN113711068B (en) | Battery resistance diagnostic device and method | |
CN109733238B (en) | Fault detection method, device, storage medium and processor | |
CN106546921A (en) | The battery capacity update method of accumulator and device | |
CN109001645B (en) | Elevator battery detection method, device, equipment and storage medium | |
CN115494404A (en) | Storage battery pack online monitoring method | |
CN108973732A (en) | A kind of control method of power battery management system | |
CN114966454A (en) | Method, system, equipment and storage medium for detecting virtual connection of battery sampling line | |
CN111309568A (en) | Method and system for alarming aging of battery on server | |
WO2020042710A1 (en) | Method for enhancing accuracy of electric quantity measurement | |
CN111976539B (en) | Method, apparatus, medium, and device for determining voltage change rate of battery | |
CN114643898B (en) | Method, device, system and storage medium for determining battery disconnection | |
CN115436827A (en) | Insulation resistance detection method, device and equipment | |
US20200292596A1 (en) | Monitoring system | |
WO2022082531A1 (en) | Relay working state inspection system, apparatus and method, and reverse connection detection method | |
CN114217125A (en) | Intelligent ammeter capable of preventing electricity theft, electricity theft prevention system and electricity theft prevention detection method thereof | |
CN112213675A (en) | Current sensor fault judgment method and device | |
CN215297603U (en) | Lead-acid storage battery state monitoring system | |
JP6429631B2 (en) | Secondary battery state detection device and secondary battery state detection method | |
CN111751643B (en) | Train electrical diagnosis early warning recording system | |
CN221174898U (en) | Battery electricity quantity detection circuit and unmanned aerial vehicle system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20200619 |
|
WW01 | Invention patent application withdrawn after publication |