Disclosure of Invention
In view of the drawbacks of the prior art, a first aspect of the present invention is to provide a method for detecting the lifetime of a battery, which can simply and effectively detect the lifetime of a battery.
In order to achieve the above purpose, the invention adopts the following technical scheme:
a battery life detection method, the method comprising the steps of:
setting a mapping relation between the resistance change rate of the storage battery and the ambient temperature, and setting an early warning threshold corresponding to the resistance change rate at the ambient temperature;
setting a learning frequency threshold of a learning process, and performing floating charge and discharge learning on the storage battery to obtain an actual resistance change rate in the learning process;
and judging the service life of the storage battery based on the actual resistance change rate and the corresponding early warning threshold in the learning process.
In some embodiments, determining the lifetime of the battery based on the actual rate of change of resistance and the corresponding pre-warning threshold during the learning process includes:
initializing the number of learning times and the number of times that the actual resistance change rate exceeds an early warning threshold;
judging whether the actual resistance change rate exceeds a corresponding early warning threshold, if not, accumulating the learning times, and if so, accumulating the learning times and the times exceeding the early warning threshold at the same time;
judging whether the times exceeding the early warning threshold reach the preset threshold times or not, if so, reporting the early warning interruption of the service life of the storage battery;
if the number of times does not reach the preset threshold, continuously judging whether the learning number of times exceeds the learning number of times threshold, if not, continuously performing the floating charge and discharge learning, and if so, ending the floating charge and discharge learning.
In some embodiments, determining the lifetime of the battery based on the actual rate of change of resistance and the corresponding pre-warning threshold during the learning process includes:
initializing the number of learning times and the number of times that the actual resistance change rate exceeds an early warning threshold;
judging whether the average value of the actual resistance change rate exceeds a corresponding early warning threshold or not under the preset learning times, if not, accumulating the learning times, and if so, accumulating the learning times and the times exceeding the early warning threshold at the same time;
judging whether the times exceeding the early warning threshold reach the preset threshold times or not, if so, reporting the early warning interruption of the service life of the storage battery;
if the number of times does not reach the preset threshold, continuously judging whether the learning number of times exceeds the learning number of times threshold, if not, continuously performing the floating charge and discharge learning, and if so, ending the floating charge and discharge learning.
In some embodiments, the preset number of learning times is 10.
In some embodiments, the performing floating charge and discharge learning on the storage battery to obtain an actual resistance change rate includes:
determining the minimum voltage of normal operation of the equipment and the basic voltage of floating charge and discharge learning, and stabilizing the voltage of the storage battery to the basic voltage of the floating charge and discharge learning;
charging the storage battery until the charging amount reaches a preset percentage of the capacity of the storage battery;
the storage battery is gradually discharged to a basic voltage, the voltage and the current in the discharging process are collected to obtain the resistance value in the discharging process, and the actual resistance change rate in the learning process is obtained based on the time parameter of the discharging process.
In some embodiments, the battery is charged until the charge reaches 1-2% of the battery capacity.
In some embodiments, the setting the mapping relationship between the resistance change rate of the storage battery and the ambient temperature includes:
setting the ambient temperature to three to five gear;
and determining the temperature range of each grade of environment temperature according to the property condition of the resistance change rate of the storage battery.
In view of the drawbacks of the prior art, a second aspect of the present invention is to provide a battery life detection device that can simply and effectively detect the life of a battery.
In order to achieve the above purpose, the invention adopts the following technical scheme:
a battery life detection device comprising:
a CPU for starting and sending a battery life detection instruction;
a battery charge and discharge management unit for receiving the battery life detection instruction and for,
setting a mapping relation between the resistance change rate of the storage battery and the ambient temperature, and setting an early warning threshold corresponding to the resistance change rate at the ambient temperature;
setting a learning frequency threshold of a learning process, and performing floating charge and discharge learning on the storage battery to obtain an actual resistance change rate in the learning process;
judging the service life of the storage battery based on the actual resistance change rate and the corresponding early warning threshold in the learning process;
the storage battery charge and discharge management unit is also used for sending the service life detection information to the CPU.
In some embodiments, the battery charge and discharge management unit is configured to:
initializing the number of learning times and the number of times that the actual resistance change rate exceeds an early warning threshold;
judging whether the actual resistance change rate exceeds a corresponding early warning threshold, if not, accumulating the learning times, and if so, accumulating the learning times and the times exceeding the early warning threshold at the same time;
judging whether the times exceeding the early warning threshold reach the preset threshold times or not, if so, reporting the early warning interruption of the service life of the storage battery;
if the number of times does not reach the preset threshold, continuously judging whether the learning number of times exceeds the learning number of times threshold, if not, continuously performing the floating charge and discharge learning, and if so, ending the floating charge and discharge learning.
In some embodiments, the battery charge and discharge management unit is further configured to:
initializing the number of learning times and the number of times that the actual resistance change rate exceeds an early warning threshold;
judging whether the average value of the actual resistance change rate exceeds a corresponding early warning threshold or not under the preset learning times, if not, accumulating the learning times, and if so, accumulating the learning times and the times exceeding the early warning threshold at the same time;
judging whether the times exceeding the early warning threshold reach the preset threshold times or not, if so, reporting the early warning interruption of the service life of the storage battery;
if the number of times does not reach the preset threshold, continuously judging whether the learning number of times exceeds the learning number of times threshold, if not, continuously performing the floating charge and discharge learning, and if so, ending the floating charge and discharge learning.
Compared with the prior art, the invention has the advantages that:
according to the method for detecting the service life of the storage battery, the mapping relation between the resistance change rate of the storage battery and the ambient temperature is set, and an early warning threshold corresponding to the resistance change rate at the ambient temperature is set; setting a learning frequency threshold of a learning process, and performing floating charge and discharge learning on the storage battery to obtain an actual resistance change rate in the learning process; and judging the service life of the storage battery based on the actual resistance change rate and the corresponding early warning threshold in the learning process. The service life of the storage battery can be simply and effectively detected, the actual resistance change rate of the storage battery only needs to be obtained in the whole process, a storage battery detection instrument is not needed, and the problems that the traditional lead-acid storage battery detection scheme and the storage battery detection instrument are not suitable for communication equipment such as a switch and the like to detect use are overcome.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The solution of the embodiment of the invention mainly comprises the following steps: setting a mapping relation between the resistance change rate of the storage battery and the ambient temperature, and setting an early warning threshold corresponding to the resistance change rate at the ambient temperature; setting a learning frequency threshold of a learning process, and performing floating charge and discharge learning on the storage battery to obtain an actual resistance change rate in the learning process; and judging the service life of the storage battery based on the actual resistance change rate and the corresponding early warning threshold in the learning process. The service life of the storage battery can be simply and effectively detected, the actual resistance change rate of the storage battery only needs to be obtained in the whole process, a storage battery detection instrument is not needed, and the problems that the traditional lead-acid storage battery detection scheme and the storage battery detection instrument are not suitable for communication equipment such as a switch and the like to detect use are overcome.
Referring to fig. 1, fig. 1 is a flowchart illustrating a first embodiment of a battery life detection method according to the present invention.
In a first embodiment, the battery life detection method includes the steps of:
s10, setting a mapping relation between the resistance change rate of the storage battery and the ambient temperature, and setting an early warning threshold corresponding to the resistance change rate at the ambient temperature.
It should be noted that, the resistance change rate of the storage battery will be different along with the change of the ambient temperature, in order to better reflect the actual use situation, in this embodiment, a mapping relationship between the resistance change rate of the storage battery and different ambient temperatures is set, and the mapping relationship is closely related to the actual operating area, specifically, in the geographic position of a certain operating area, the device learns a set of values (the ambient temperature changes along with the month) corresponding to the average value of the resistance change rates recorded multiple times and the month. The early warning threshold of the resistance change rate can be set according to the average value of the resistance change rate, namely, whether the early warning threshold is exceeded or not is determined by judging whether the average value of the resistance change rate is exceeded or not.
In a specific implementation, the ambient temperature may be set to three to five gears, and the specific temperature range of each gear is determined according to the attribute condition of the resistance change rate of the storage battery.
Taking the setting of the environment temperature as an example, for example, a first gear of-20 to 0 ℃ (including 0 ℃) can be set, a second gear of 0 to 25 ℃ (including 25 ℃), a third gear of 25 to 45 ℃ (including 45 ℃), a fourth gear of 45 to 65 ℃ (including 65 ℃) and a fifth gear of 65 to 75 ℃ (including 75 ℃). Of course, other ranges and numbers of gears may be set according to the actual situation, and this embodiment is not limited thereto.
S20, setting a learning frequency threshold in the learning process, and performing floating charge and discharge learning on the storage battery to obtain the actual resistance change rate in the learning process.
It should be understood that, the learning process in this embodiment refers to a complete learning, and the learning frequency threshold of the learning process is that is the total number of times required for a complete learning, and the battery is subjected to a floating charge and discharge learning, so that a complete learning is completed, and when the learning frequency reaches the learning frequency threshold, a complete learning is completed.
S30, judging the service life of the storage battery based on the actual resistance change rate and the corresponding early warning threshold in the learning process.
It can be understood that after the actual resistance change rate is obtained, the actual resistance change rate can be compared with a corresponding early warning threshold, the actual resistance change rate obtained in each floating charge and discharge learning can be used for comparison with the early warning threshold, the average value of the actual resistance change rates obtained in multiple floating charge and discharge learning can be used for comparison with the early warning threshold, and then the service life of the storage battery can be judged according to the comparison result.
According to the embodiment, through the scheme, the mapping relation between the resistance change rate of the storage battery and the ambient temperature is set, and an early warning threshold corresponding to the resistance change rate at the ambient temperature is set; setting a learning frequency threshold of a learning process, and performing floating charge and discharge learning on the storage battery to obtain an actual resistance change rate in the learning process; and judging the service life of the storage battery based on the actual resistance change rate and the corresponding early warning threshold in the learning process. The service life of the storage battery can be simply and effectively detected, the actual resistance change rate of the storage battery only needs to be obtained in the whole process, a storage battery detection instrument is not needed, and the problems that the traditional lead-acid storage battery detection scheme and the storage battery detection instrument are not suitable for communication equipment such as a switch and the like to detect use are overcome.
Further, fig. 2 is a schematic flow chart of a second embodiment of the battery life detection method of the present invention, as shown in fig. 2, and the second embodiment of the battery life detection method of the present invention is proposed based on the first embodiment, in this embodiment, the step S30 specifically includes the following steps:
s31, initializing learning times and times that the actual resistance change rate exceeds an early warning threshold.
It can be appreciated that, since statistics are required for the number of learning and the number of times exceeding the warning threshold, the relevant statistics need to be cleared before a round of learning starts.
S32, judging whether the current acquired actual resistance change rate exceeds a corresponding early warning threshold.
S33, accumulating the learning times when the corresponding early warning threshold is not exceeded.
S34, when the corresponding early warning threshold is exceeded, the learning times and the times exceeding the early warning threshold are accumulated at the same time.
S35, judging whether the current times exceeding the early warning threshold reach the preset threshold times or not.
S36, if the preset threshold times are reached, informing the early warning interruption of the service life of the storage battery.
It can be understood that the number of times the actual resistance change rate exceeds the corresponding pre-warning threshold reaches the preset threshold number of times, so that the service life of the storage battery is insufficient. In this case, a round of learning is usually not finished yet, but the actual resistance change rate exceeds the corresponding early warning threshold many times, so that the early warning interruption of the service life of the storage battery is directly reported.
S37, if the number of times of the preset threshold is not reached, continuing to judge whether the number of times of learning exceeds the number of times of learning threshold, if the number of times of learning is not exceeded, continuing to perform floating charge and discharge learning, and judging whether the obtained actual resistance change rate exceeds the corresponding early warning threshold.
S38, if the learning frequency threshold is exceeded, ending the floating charge and discharge learning.
Referring to fig. 5, an early warning statistical graph of a complete round of float battery life detection is shown when the ambient temperature is 25 ℃. It is mainly divided into three phases: normal Use, usable but Degraded and EOS (Electrical Over Stress ), when the number of times that the pre-warning threshold is exceeded reaches a preset threshold number of times, it can be considered to be in EOS phase at this time.
According to the embodiment, through the scheme, whether the currently acquired actual resistance change rate exceeds the corresponding early warning threshold is judged; and judging whether the current times exceeding the early warning threshold reach the preset threshold times or not. Therefore, the service life of the storage battery can be simply and effectively detected, the actual resistance change rate of the storage battery only needs to be obtained in the whole process, a storage battery detection instrument is not needed, and the problems that the traditional lead-acid storage battery detection scheme and the storage battery detection instrument are not suitable for communication equipment such as a switch and the like to detect and use are overcome.
Further, fig. 3 is a flow chart of a third embodiment of the battery life detection method of the present invention, and as shown in fig. 3, a third embodiment of the battery life detection method of the present invention is proposed based on the first embodiment, which differs from the second embodiment in that the criterion evaluated in the present embodiment is an average value of the actual resistance change rate. In this embodiment, the step S30 specifically includes the following steps:
s31', initializing the number of learning times and the number of times that the actual resistance change rate exceeds the early warning threshold.
S32', judging whether the average value of the actual resistance change rate exceeds a corresponding early warning threshold under the preset learning times.
As a preferred embodiment, the preset number of learning times may be 10, that is, after 10 times of floating charge/discharge learning, an average value of the obtained 10 actual resistance change rates is calculated. It can be understood that the preset learning times can be set reasonably according to the learning times threshold, which is not limited in this embodiment.
S33', when the corresponding early warning threshold is not exceeded, accumulating the learning times.
S34', when the corresponding early warning threshold is exceeded, the learning times and the times exceeding the early warning threshold are accumulated at the same time.
S35', judging whether the number of times of current exceeding the early warning threshold reaches the preset threshold number of times.
S36', if the preset threshold times are reached, informing the early warning interruption of the service life of the storage battery.
S37', if the preset threshold number is not reached, continuing to judge whether the learning number exceeds the learning number threshold, if the learning number does not exceed the learning number threshold, continuing to perform floating charge and discharge learning, and judging whether the average value of the obtained actual resistance change rate exceeds the corresponding early warning threshold.
S38, if the learning frequency threshold is exceeded, ending the floating charge and discharge learning.
Further, fig. 4 is a schematic flow chart of a fourth embodiment of the battery life detection method according to the present invention, as shown in fig. 4, and the fourth embodiment of the battery life detection method according to the present invention is proposed based on the first embodiment, in which the step S20 specifically includes the following steps:
s21, determining the minimum voltage of normal operation of the equipment and the basic voltage of floating charge and discharge learning, and stabilizing the voltage of the storage battery to the basic voltage of the floating charge and discharge learning;
it is understood that the device herein refers to a communication device such as a switch, and the minimum voltage at which the device operates normally and the base voltage for floating charge and discharge learning may be determined in advance.
S22, charging the storage battery until the charging amount reaches the preset percentage of the capacity of the storage battery.
It is worth noting that this step is mainly performed by a short battery charging process, and usually at least the charge amount reaches 1-2% of the capacity of the battery.
S23, gradually discharging the storage battery to a basic voltage, collecting the voltage and the current in the discharging process to obtain the resistance value in the discharging process, and acquiring the actual resistance change rate in the learning process based on the time parameter of the discharging process.
Taking the switch as an example, each stage of the primary floating charge/discharge learning can be shown in fig. 6.
According to the scheme, the minimum voltage for normal operation of the equipment and the basic voltage for floating charge and discharge learning are determined, and the voltage of the storage battery is stabilized to the basic voltage for floating charge and discharge learning; charging the storage battery until the charging amount reaches a preset percentage of the capacity of the storage battery; the storage battery is gradually discharged to a basic voltage, the voltage and the current in the discharging process are collected to obtain the resistance value in the discharging process, and the actual resistance change rate d (dR/dt) in the learning process is obtained based on the time parameter of the discharging process (meanwhile, the ambient temperature is considered). Therefore, the actual resistance change rate can be simply and conveniently obtained, and the service life of the storage battery is further detected.
Correspondingly, the invention further provides a storage battery service life detection device.
Referring to fig. 7, fig. 7 is a functional block diagram of a first embodiment of the battery life detection device of the present invention, and the corresponding communication equipment is a switch.
In a first embodiment of the battery life detection device of the present invention, the battery life detection device includes a CPU and a battery charge-discharge management unit.
The CPU is used for starting and sending out a storage battery life detection instruction.
It will be appreciated that the CPU is primarily used to initiate battery life detection requirements, which are then passed to the battery charge and discharge management module.
The storage battery charge and discharge management unit is used for receiving the storage battery service life detection instruction and is used for:
and setting a mapping relation between the resistance change rate of the storage battery and the ambient temperature, and setting an early warning threshold corresponding to the resistance change rate at the ambient temperature.
Setting a learning frequency threshold in the learning process, and performing floating charge and discharge learning on the storage battery to obtain the actual resistance change rate in the learning process.
And judging the service life of the storage battery based on the actual resistance change rate and the corresponding early warning threshold in the learning process.
The storage battery charge and discharge management unit is also used for sending the service life detection information to the CPU.
Further, the battery charge-discharge management unit is configured to:
initializing the number of learning times and the number of times that the actual resistance change rate exceeds the early warning threshold.
Judging whether the actual resistance change rate exceeds the corresponding early warning threshold, if not, accumulating the learning times, and if so, accumulating the learning times and the times exceeding the early warning threshold.
Judging whether the times exceeding the early warning threshold reach the preset threshold times, if so, reporting the early warning interruption of the service life of the storage battery.
If the number of times does not reach the preset threshold, continuously judging whether the learning number of times exceeds the learning number of times threshold, if not, continuously performing the floating charge and discharge learning, and if so, ending the floating charge and discharge learning.
As another alternative embodiment, the battery charge and discharge management unit is further configured to:
initializing the number of learning times and the number of times that the actual resistance change rate exceeds the early warning threshold.
Judging whether the average value of the actual resistance change rate exceeds a corresponding early warning threshold or not under the preset learning times, if not, accumulating the learning times, and if so, accumulating the learning times and the times exceeding the early warning threshold. Preferably, the preset learning times may be 10 times, and it is understood that the preset learning times may also be reasonably set according to the learning times threshold, which is not limited in this embodiment.
Judging whether the times exceeding the early warning threshold reach the preset threshold times or not, if so, reporting the early warning interruption of the service life of the storage battery;
if the number of times does not reach the preset threshold, continuously judging whether the learning number of times exceeds the learning number of times threshold, if not, continuously performing the floating charge and discharge learning, and if so, ending the floating charge and discharge learning.
Further, the battery charge-discharge management unit is further configured to:
and determining the minimum voltage for normal operation of the equipment and the basic voltage for floating charge and discharge learning, and stabilizing the voltage of the storage battery to the basic voltage for floating charge and discharge learning.
And charging the storage battery until the charging quantity reaches a preset percentage of the capacity of the storage battery. Preferably, the battery is charged in this embodiment until the charged amount reaches 1 to 2% of the capacity of the battery.
The storage battery is gradually discharged to a basic voltage, the voltage and the current in the discharging process are collected to obtain the resistance value in the discharging process, and the actual resistance change rate in the learning process is obtained based on the time parameter of the discharging process.
Further, the battery charge-discharge management unit is further configured to:
the ambient temperature is set to 3 to 5 gear. And determining the temperature range of each grade of environment temperature according to the property condition of the resistance change rate of the storage battery.
Taking the setting of the environment temperature as an example, for example, a first gear of-20 to 0 ℃ (including 0 ℃) can be set, a second gear of 0 to 25 ℃ (including 25 ℃), a third gear of 25 to 45 ℃ (including 45 ℃), a fourth gear of 45 to 65 ℃ (including 65 ℃) and a fifth gear of 65 to 75 ℃ (including 75 ℃). Of course, other ranges and numbers of gears may be set according to the actual situation, and this embodiment is not limited thereto.
According to the scheme, the storage battery charge-discharge management unit sets a mapping relation between the resistance change rate of the storage battery and the ambient temperature, and sets an early warning threshold corresponding to the resistance change rate at the ambient temperature; setting a learning frequency threshold of a learning process, and performing floating charge and discharge learning on the storage battery to obtain an actual resistance change rate in the learning process; and judging the service life of the storage battery based on the actual resistance change rate and the corresponding early warning threshold in the learning process. The service life of the storage battery can be simply and effectively detected, the actual resistance change rate of the storage battery only needs to be obtained in the whole process, a storage battery detection instrument is not needed, and the problems that the traditional lead-acid storage battery detection scheme and the storage battery detection instrument are not suitable for communication equipment such as a switch and the like to detect use are overcome.
The invention is not limited to the embodiments described above, but a number of modifications and adaptations can be made by a person skilled in the art without departing from the principle of the invention, which modifications and adaptations are also considered to be within the scope of the invention. What is not described in detail in this specification is prior art known to those skilled in the art.