CN112345944B - Battery abnormality detection method, apparatus, electronic device, and computer-readable storage medium - Google Patents

Battery abnormality detection method, apparatus, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
CN112345944B
CN112345944B CN202011147436.5A CN202011147436A CN112345944B CN 112345944 B CN112345944 B CN 112345944B CN 202011147436 A CN202011147436 A CN 202011147436A CN 112345944 B CN112345944 B CN 112345944B
Authority
CN
China
Prior art keywords
charging
battery
preset
current
frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011147436.5A
Other languages
Chinese (zh)
Other versions
CN112345944A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011147436.5A priority Critical patent/CN112345944B/en
Publication of CN112345944A publication Critical patent/CN112345944A/en
Application granted granted Critical
Publication of CN112345944B publication Critical patent/CN112345944B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/382Arrangements for monitoring battery or accumulator variables, e.g. SoC
    • G01R31/3842Arrangements for monitoring battery or accumulator variables, e.g. SoC combining voltage and current measurements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The application relates to a battery abnormality detection method, a device, an electronic device and a computer readable storage medium, wherein the battery abnormality detection method comprises the steps of obtaining a charging parameter of a battery of the electronic device under a preset charging condition; acquiring charging frequency of a battery in a current charging process; and detecting whether the battery is abnormal or not according to the charging parameters and the charging frequency. The method can detect the charging parameters based on the charging frequency, further judge whether the battery is abnormal, avoid battery aging after frequent and repeated charging of the battery, increase the internal resistance of the battery, reduce the reversible capacity and cause abnormal detection misjudgment, and further improve the accuracy of abnormal detection of the battery.

Description

Battery abnormality detection method, apparatus, electronic device, and computer-readable storage medium
Technical Field
The present disclosure relates to the field of charging technologies, and in particular, to a method and apparatus for detecting battery abnormality, an electronic device, and a computer readable storage medium.
Background
Batteries are an essential part of electronic devices as a means for supplying operating power to the electronic devices. In general, a protection board is added to the battery in the electronic device to control over-charge and over-discharge, over-voltage and over-current, temperature and the like of the battery, so as to improve the use safety of the battery, thereby ensuring the use safety of the electronic device. However, the protection plate cannot detect abnormality due to structural change inside the battery, for example, degradation of the battery, and the detection accuracy is low.
Disclosure of Invention
The embodiment of the application provides a battery abnormality detection method, a device, electronic equipment and a computer readable storage medium, which can improve the accuracy of battery abnormality detection.
A battery abnormality detection method applied to an electronic device, the method comprising:
acquiring charging parameters of a battery of the electronic equipment under a preset charging condition;
acquiring charging frequency of the battery in a current charging process;
and detecting whether the battery is abnormal or not according to the charging parameters and the charging frequency.
A battery abnormality detection apparatus, applied to an electronic device, the apparatus comprising:
the parameter acquisition module is used for acquiring the charging parameters of the battery of the electronic equipment under the preset charging condition;
the frequency acquisition module is used for acquiring the charging frequency of the battery in the current charging process;
and the abnormality detection module is used for detecting whether the battery is abnormal or not according to the charging parameters and the charging frequency.
An electronic device comprising a battery, a memory and a processor, wherein the memory stores a computer program which, when executed by the processor, causes the processor to perform the steps of the battery abnormality detection method as described above.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the battery abnormality detection method as described above.
The battery abnormality detection method, the device, the electronic equipment and the computer readable storage medium can correspondingly acquire the charging parameters of the battery of the electronic equipment under the preset charging condition, acquire the charging frequency of the battery in the current charging process and detect whether the battery is abnormal according to the charging parameters and the charging frequency, detect the charging parameters based on the charging frequency, further judge whether the battery is abnormal, avoid the battery aging after frequent and repeated charging of the battery, increase the internal resistance of the battery, reduce the reversible capacity and cause the occurrence of abnormal detection misjudgment, and further improve the accuracy of battery abnormality detection.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is an application environment diagram of a battery anomaly detection method in one embodiment;
FIG. 2 is a flow chart of a method of battery anomaly detection in one embodiment;
FIG. 3 is a flowchart of a method of detecting battery anomalies in another embodiment;
FIG. 4 is a flow chart of a method prior to performing step 204 in one embodiment;
FIG. 5 is a flowchart of a method of battery anomaly detection in yet another embodiment;
FIG. 6 is a flowchart of a battery abnormality detection method in yet another embodiment;
fig. 7 is a block diagram showing the structure of a battery abnormality detection device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
It will be understood that the terms "first," "second," and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, the first preset feature point may be referred to as a second preset feature point, and similarly, the second preset feature point may be referred to as a first preset feature point, without departing from the scope of the present application. Both the first preset feature point and the second preset feature point are preset feature points, but they are not the same preset feature point.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "plurality" is at least two, such as two, three, etc., unless explicitly defined otherwise. In the description of the present application, the meaning of "several" means at least one, such as one, two, etc., unless explicitly defined otherwise.
Fig. 1 is a schematic view of an application environment of a battery abnormality detection method in an embodiment. As shown in fig. 1, the application environment includes an electronic device. As shown in fig. 1, the electronic device includes a processor 120, a memory 130, and a battery flow detection circuit 140 connected via a system bus 110. Wherein the processor 120 is configured to provide computing and control capabilities to support the operation of the overall electronic device. The memory 130 may include a non-volatile storage medium and an internal memory 130. The non-volatile storage medium stores an operating system and a computer program. The computer program may be executed by the processor 120 for implementing a battery abnormality detection method provided in the following embodiments. Internal memory 130 provides a cached operating environment for operating system computer programs in non-volatile storage media.
The battery flow detection circuit 140 includes a power management module 141, a battery 142, an electricity meter 143, a temperature sensor 144, and the like. The electricity meter 143 is electrically connected to the battery 142 and the power management module 141, and the electricity meter 143 is configured to obtain information of voltage, current and electricity of the battery 142, and send the obtained information of voltage, current and electricity of the battery 142 to the power management module 141. The temperature sensor 144 is connected to the battery 142 and the adapter through a charging interface, and the power management module 141 receives a charging signal from the adapter and converts the charging signal into a charging signal suitable for charging the battery 142 to charge the battery 142; the battery 142 may also be controlled to provide power to other modules in the electronic device.
The electronic device may be any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant ), a POS (Point of Sales), a car-mounted computer, and a wearable device.
Fig. 2 is a flowchart of a battery abnormality detection method in one embodiment. The battery abnormality detection method in the present embodiment will be described taking as an example the operation on the electronic device in fig. 1. As shown in fig. 2, the battery abnormality detection method includes steps 202 to 206.
Step 202, obtaining a charging parameter of a battery of the electronic device under a preset charging condition.
When the electronic device is externally connected with a charging device (such as an adapter, a charger, a wireless charging device and the like) to charge a battery of the electronic device, the electronic device can be charged at any charging stage. The charging phase may include a constant current charging phase, a constant voltage charging phase, a constant current constant voltage charging phase, and the like. When the battery is charged in any charging stage, the charging parameters of the battery can be correspondingly acquired in the charging process when a certain charging stage accords with a preset charging condition. The charging phase may be a charging phase in which charging is continued for a preset period of time from a certain characteristic point (for example, a certain current voltage value), or a charging phase in which charging is performed from a first characteristic point (for example, a current or a voltage) to a second characteristic point during charging. The charging parameter may be a charging parameter at a specific time, or may be understood as a charging parameter at a charging stage (a charging duration). Wherein the charging parameter may include at least one of current information, voltage information, temperature information, and a charging duration.
Step 204, obtaining the charging frequency of the battery in the current charging process.
When the battery receives the charge of the external charging device, the electronic device may count the charging frequency (or referred to as the charging frequency) of the battery, and may accumulate the charging frequency and store the charging frequency.
In one embodiment, the electronic device also determines whether the current charging process meets the requirement of the cumulative count during the process of performing the cumulative count on the charging frequency of the battery, if the current charging process meets the requirement of the cumulative count, performs the cumulative count, and if the current charging process does not meet the requirement of the cumulative count, does not perform the charging frequency. By way of example, the cumulative count requirement may be understood as a complete charging process.
It is to be understood that the charging process involving in the cumulative count is not limited to constant-current charging, constant-voltage charging, constant-current constant-voltage charging, and may be any one ordinary charging process.
It should be noted that, the execution sequence of the step 202 and the step 204 is not limited in particular, and in the embodiment of the present application, the step 202 may be executed first, and then the step 204 may be executed; step 204 may be performed before step 202 is performed.
And step 206, detecting whether the battery is abnormal or not according to the charging parameters and the charging frequency.
The electronic equipment can acquire the charging frequency of the current charging process and the charging parameters acquired when the preset charging conditions are met in the current charging process, and detect whether the battery is abnormal or not according to the charging frequency and the charging parameters. The charging frequencies are different, and the detection standards for detecting the charging parameters are different. For example, when the charging frequency is 100 times and 200 times, respectively, the result of detecting whether the battery is abnormal correspondingly may be different for the same charging parameter because the charging frequency is different.
In this embodiment of the present application, a charging parameter that meets a preset charging condition in a current charging process may be detected according to a detection standard corresponding to a charging frequency of the current charging process, if the charging parameter meets the detection standard, the battery may be determined to be normal, and if the charging parameter does not meet the detection standard, the battery may be determined to be abnormal.
In one embodiment, the detection criteria may be based on big data statistics from a charging test performed in a laboratory, or may be constructed by collecting charging parameters for a large number of electronic devices.
According to the battery abnormality detection method, the charging parameters of the battery of the electronic equipment under the preset charging conditions can be correspondingly obtained, the charging frequency of the battery in the current charging process is obtained, whether the battery is abnormal or not is detected according to the charging parameters and the charging frequency, the charging parameters can be detected based on the charging frequency, whether the battery is abnormal or not is further judged, the situation that the battery is aged after the battery is charged frequently and repeatedly, the internal resistance of the battery is increased, the reversible capacity is reduced, and abnormal detection misjudgment is caused can be avoided, and the accuracy of battery abnormality detection can be further improved.
In one embodiment, before acquiring the charging parameters of the battery of the electronic device under the preset charging condition, the battery abnormality detection method further includes: setting at least one preset charging condition for a battery of the electronic equipment, and configuring corresponding charging parameters for each preset charging condition. The preset charging conditions are constructed in association with the charging type of the battery, and the charging types are different, and the preset charging conditions are set to be different. Wherein the charging type includes constant current charging and constant voltage charging;
in one embodiment, the charging parameters include at least one of temperature information, voltage information, current information, and a charging duration. The temperature information may include a temperature value at a certain moment, and may also include a temperature difference within a preset duration; the voltage information can comprise a voltage value at a certain moment, and can also comprise a voltage difference within a preset time period; the current information may include a current value at a certain time, or may include a current difference within a preset time period.
In one embodiment, when the battery is in constant current charging, the preset charging condition may be: constant current continuous charging is carried out for a preset time period from a first preset characteristic point. The first preset feature point may be a certain initial charging voltage in the charging process. For the preset charging condition, a charging parameter may be configured correspondingly, and the charging reference may be temperature information or voltage information. Illustratively, when the battery is in the constant current charging phase, a corresponding temperature value or temperature difference is maintained after a 4A charging current (constant current) is continuously charged for a preset period T from a charging voltage of 3.6V. The temperature value may be understood as a temperature value corresponding to an end time when the continuous charging is just completed for a preset time period T, and the temperature difference may be understood as a temperature difference between temperature values corresponding to two times, namely, an initial time and an end time of the preset time period when the continuous charging is completed for the preset time period. Correspondingly, when the battery is in the constant current charging stage, starting from the charging voltage of 3.6V, the corresponding voltage value or voltage difference value after the charging current (constant current) of 4A is continuously charged for a preset period of time T is maintained.
In one embodiment, when the battery is in constant current charging, the preset charging condition may be: constant current charging is continued from the first preset voltage to the second preset voltage. Wherein the second preset voltage is greater than the first preset voltage. The second preset voltage may be a charging cutoff voltage. For the preset charging condition, a charging parameter may be configured correspondingly, and the charging reference may be temperature information or charging duration. Illustratively, when the battery is in a constant current charging phase, charging is continued from 3.6V to 4.4V, the corresponding temperature value or temperature difference. The temperature value may be understood as a temperature value when the charging voltage reaches 4.4V, and the temperature difference may be understood as a temperature difference between two voltages, i.e., the charging voltage is 3.6V and the charging voltage is 4.4V, corresponding to the temperature value. Illustratively, when the battery is in a constant current charging phase, the duration used is the charging duration when charging from 3.6V to 4.4V continuously.
In one embodiment, when the battery is in constant voltage charging, the preset charging conditions may be: and continuing constant voltage charging from the second preset characteristic point for a preset period of time. The second preset feature point may be a certain initial charging current in the charging process. For the preset charging condition, a charging parameter may be configured correspondingly, and the charging reference may be temperature information or current information. Illustratively, when the battery is in the constant voltage charging phase, starting from the 1A charging current, a 5V charging voltage (constant voltage) is maintained for a corresponding temperature value or temperature difference after a preset period T of charging. Or when the battery is in the constant voltage charging stage, starting from 1A charging current, maintaining a charging voltage (constant voltage) of 5V for a preset charging period of time T, and then corresponding current value or current difference. The current value may be understood as a current value corresponding to an end time when the continuous charging is just completed for a preset duration T, and the current value may be understood as a current difference between current values corresponding to two times, that is, an initial time and an end time of the preset duration.
In one embodiment, when the battery is in constant voltage charging, the preset charging conditions may be: constant voltage charging is continued from the first preset current to the second preset current. Wherein the second preset current is smaller than the first preset current. The second preset voltage may be a charging cutoff voltage. For the preset charging condition, a charging parameter may be configured correspondingly, and the charging reference may be temperature information or charging duration. Illustratively, when the battery is in the constant voltage charging phase, it continues constant voltage charging from 1A to 0.5A. The temperature value may be understood as a temperature value when the charging current reaches 0.5A, and the temperature difference may be understood as a temperature difference between two corresponding temperature values of the charging voltage of 1A and 0.5A, respectively. Illustratively, when the battery is in the constant current charging phase, the duration used is the charging duration when charging from 1A to 0.5A continuously.
As shown in fig. 3, in one embodiment, the battery abnormality detection method includes steps 302 to 310.
Step 302, setting at least one preset charging condition for a battery of the electronic device, and configuring a corresponding charging parameter for each preset charging condition.
Step 304, obtaining a charging type of the battery in the charging process.
In one embodiment, the electronic device may communicate with an external charging device that charges the electronic device to obtain a charging phase of the current charge of the battery. Alternatively, the electronic device may acquire the current charging current or charging voltage of the battery based on a power management unit in the built-in battery detection circuit to determine the charging stage in which the battery is in the current charging process. Wherein the charging phase includes a constant current charging phase and a constant voltage charging phase.
When it is noted that the charging stage is understood as a charging mode adopted in a certain period of time during the charging process, for example, constant-current charging, constant-voltage charging, and the like.
Step 306, determining the preset charging condition according to the charging type, and collecting the charging parameters according to the corresponding relation when the preset charging condition is met.
In one embodiment, the predetermined charging condition corresponding to the charging stage may be determined according to the charging stage. When the preset charging conditions are multiple, one of the preset charging conditions can be selected for execution. The preset charging condition can be set by an operating system of the electronic equipment, and can also be set by self-definition of a user. When the user self-defined setting is performed, the electronic equipment can display a determination interface of the preset charging condition, receive the selection operation of the user, and further determine the preset charging condition of the battery in the electronic equipment.
When the battery is in the constant current charging stage, the corresponding preset charging conditions may be: and continuously charging from the first preset characteristic point for a preset time period, or continuously charging from the first preset voltage to the second preset voltage. When the battery is in the constant voltage charging stage, the corresponding preset charging conditions are as follows: and continuously charging from the second preset characteristic point for a preset time period, or continuously charging from the first preset current to the second preset current.
For example, if the current charging stage of the battery is constant current charging, and the first preset voltage is 3.6V and the second preset voltage is 4.0V, and if the charging voltage reaches the characteristic point of 3.6V, the electronic device may start timing and continuously charge with a constant current (e.g. 4A) and 4.0V, then the preset charging condition is considered to be satisfied, and then corresponding charging parameters, such as temperature information or charging duration, may be obtained correspondingly. If the current charging stage of the battery is constant voltage charging and the second preset characteristic point is 4A and 3.6V, if the charging current and the charging voltage reach (4A and 3.6V), the electronic device may start timing, and if the constant voltage is 5V for a preset charging period (for example, 20 minutes), the preset charging condition is considered to be satisfied, and then corresponding charging parameters, for example, temperature information or voltage information, may be correspondingly obtained.
Step 308, obtaining the charging frequency of the battery in the current charging process.
Step 310, detecting whether the battery is abnormal according to the charging parameters and the charging frequency.
Step 308 and step 310 are set in one-to-one correspondence with step 204 and step 206 in the foregoing embodiments, and are not described herein.
In this embodiment, the electronic device may set at least one preset charging condition for the battery in advance, and configure a corresponding charging parameter for each preset charging condition, where the electronic device may obtain a charging type of the battery in a charging process of the battery, and determine the preset charging condition according to the charging type, and when the serving condition of the battery satisfies the preset condition in the charging process, the electronic device may correspondingly obtain the charging parameter of the battery, so as to improve the collection accuracy of the charging parameter, so as to improve the accuracy of battery detection.
As shown in fig. 4, in one embodiment, the method for detecting battery abnormality includes steps 402 to 406 before the battery is charged at the current charging frequency.
Step 402, acquiring temperature information of the battery at the charging end in the charging process of the battery.
The charging end can be understood as a charging stage when the electric quantity of the battery reaches the preset electric quantity, and can also indicate that the electric quantity of the current battery is about to be full. For example, the preset amount of electricity may be greater than or equal to 90%. When the electric quantity of the battery reaches a preset electric quantity value, the temperature information of the battery can be correspondingly acquired.
Step 404, determining whether the charging process is effective according to the temperature information.
The electronic device can judge whether the current battery charging process is effective according to the acquired temperature information. Specifically, an effective correspondence relationship between the voltage value, the current value, and the temperature information may be preset, or an effective correspondence relationship between the electric quantity information and the temperature information may be preset. And if the effective corresponding relation is met, the current charging is determined to be effective, and if the effective corresponding relation is not met, the current charging is determined to be ineffective. For example, when the cut-off voltage is 4.4V and the charging current is 1A, the current charging process is determined to be effective when the temperature is 28 ℃, and when the cut-off voltage is 4.4V and the charging current is 1A, the current charging process is determined to be ineffective when the temperature is 0 ℃.
In one embodiment, in order to determine that the current charging process of the battery is a complete charging process, the charging information further includes charge amount information of a charging start point. The charging start point may be understood as an initial time when the battery receives power from the external charging device. For example, when the electronic device is connected to the external charging device and charges the battery, the electronic device may correspondingly obtain the electrical quantity information of the battery, and determine the discharging condition of the battery according to the electrical quantity information and the preset discharging electrical quantity. If the electric quantity information is 20% or less, the battery can be judged to be discharged thoroughly, and if the electric quantity information is more than 20%, the battery can be judged to be discharged incompletely. If the electric quantity information of the battery in the initial stage of charging is larger than or equal to the preset discharging electric quantity, and the charging information of the battery in the terminal stage of charging meets the effective corresponding relation, the charging process of the battery can be determined to be effective, otherwise, the charging process of the battery is determined to be ineffective.
Step 406, if the charging process is effective, performing accumulated count on the charging frequency and storing the counted charging frequency.
When the current charging process of the battery is effective, the electronic device can perform accumulated counting on the current charging process and save the current charging frequency. For example, if the electric quantity of the initial charging stage of the battery is 10%, when the battery is charged to the end charging stage, the cut-off voltage is 4.4V, the charging current is 1A, and the temperature is 28 ℃, the current charging process can be counted on the basis of the charging frequency M of the previous charging, and the count 1 is accumulated to produce the charging frequency N of the current charging.
Based on the recorded charging frequency N, the electronic device may store the charging frequency so as to later call the charging frequency N of the electronic device, that is, the charging frequency stored in the record is that of step 204, and the charging frequency in the charging frequency of the current charging process of the battery is obtained.
It will be appreciated that if the battery is charged each time by the same adapter, the current charging process may be cumulatively counted each time its charging voltage, charging current, and temperature reach (4.4V, 1A, 25-35 c) to form the charging frequency of the current charging process.
In this embodiment, in the charging process of the battery, the electronic device may collect charging information of the battery according to a charging end stage in the charging process, determine whether the current charging process is effective according to the charging information, and count the charging frequency of the charging process of the battery under the effective condition, so as to improve the effectiveness and accuracy of the charging frequency, and further improve the accuracy of abnormal detection of the battery.
As shown in FIG. 5, in one embodiment, the battery anomaly detection method includes steps 502-512.
Step 502, obtaining a charging parameter of a battery of an electronic device under a preset charging condition.
Step 504, obtaining the charging frequency of the current charging process of the battery.
Step 506, constructing mapping relations among charging frequency, preset charging conditions, charging parameters and standard parameter ranges.
The standard parameter ranges correspond to the charging parameters, i.e. each charging parameter is correspondingly configured with a standard parameter range. When the preset charging conditions are different, the standard parameter ranges of the charging parameters for the same charging frequency may be the same or different. That is, the mapping relationship between the charging frequency, the preset charging condition, the charging parameter, and the standard parameter range may be correspondingly constructed.
The preset charging conditions include: preset charging condition 1, preset charging conditions 2, … …, preset charging condition n;
the charging frequency includes: charging frequency 1, charging frequencies 2, … …, and charging frequency n;
the charging parameters include: charging parameter 1, charging parameter 2;
the standard parameter ranges include: standard parameter range 1, standard parameter ranges 2, … …, standard parameter range n.
The preset charging conditions and the charging frequency jointly correspond to the standard parameter range. When the relationship between the four is established, the standard parameter range=f (preset charging condition, charging frequency, charging parameter). The relationship may be fixed by means of a mapping table. The relationship may be provided by the system, recommended, or customized by the user.
It should be noted that, each charging frequency i in the charging frequencies 1, 2, … …, and n corresponds to a charging frequency segment in a certain range, for example, the charging frequency 1 may correspond to the 1 st to 50 th charging frequencies; the charging frequency 1 may correspond to the charging frequency of the 1 st to 100 th times, and so on. In the embodiment of the present application, the charging frequency range corresponding to the charging frequency i is not further limited.
The standard parameter range is understood to be the normal range of the charging parameters, and the general standard parameter range can be characterized by the expression a=average value±b. A is a standard parameter range, and an average value is an average value of the charging parameters obtained by big laboratory data; b is a coefficient which can be selected based on empirical values. For example, the empirical value may be a fixed value, or may be a change amount associated with the charging frequency or charging time.
In one embodiment, if the battery is in a constant current charging stage, the preset charging condition is that the battery is charged from a first preset voltage (for example, 3.6V) to a second preset voltage (for example, 4.0V) with a constant current (for example, a constant current of 4A), and the corresponding charging parameter is a charging duration. When the mapping relation among the charging frequency, the preset charging condition, the charging parameters and the standard parameter range is constructed, 100 electronic devices can be counted, a constant current charging mode is adopted, the electronic devices are circularly charged for 200 times, the constant current value is 4A, the electronic devices are charged from 3.6V to 4.0V in a constant current manner, the corresponding charging duration range is 20 minutes to 20.6 minutes, and the standard parameter range of the charging duration can be set to 20.3+/-0.3 minutes.
And 508, determining a standard parameter range of the charging parameters mapped by the charging frequency according to the mapping relation.
In step 510, if the value of the charging parameter is within the standard parameter range, the battery is normal.
In step 512, if the value of the charging parameter is not within the standard parameter range, the battery is abnormal.
In one embodiment, the electronic device may determine, based on the mapping relationship, a standard parameter range of the charging parameters mapped with the charging frequency and the charging parameters according to the preset charging condition, the obtained charging frequency and the obtained charging parameters.
In one embodiment, if the battery is charged with a constant current, the preset charging condition is that the battery is charged from the first preset voltage to the second preset voltage, and the corresponding charging parameter is the charging duration. The electronic device may determine a standard parameter range of the charging parameters corresponding to the preset charging condition and the charging frequency based on the mapping relationship. For example, based on the mapping relationship, the standard parameter range of the charging duration corresponding to the charging frequency of 200 can be obtained to be 20 minutes to 20.6 minutes. If the collected charging time under the preset charging condition is within 20 minutes to 20.6 minutes, the battery is judged to be normal, and if the collected charging time is not within 20 minutes to 20.6 minutes, for example, 21 minutes, the battery is judged to be abnormal.
In one embodiment, if the battery is charged with a constant voltage, the preset charging condition is a preset charging duration from the second preset feature point, and the corresponding charging parameter is temperature information. The electronic device may determine a standard parameter range of the charging parameters corresponding to the preset charging condition and the charging frequency based on the mapping relationship. For example, a temperature value corresponding to a charging voltage (constant voltage) of 5V for a preset period of 15 minutes from the start of 1A charging current may be used as the charging parameter. Based on the mapping relation, the standard parameter range of the temperature information corresponding to the charging frequency of 100 times is 27.5-28.3 ℃. If the temperature information collected under the preset charging condition is within 27.5-28.3 ℃, the battery is judged to be normal, and if the temperature information collected is not within 27.5-28.3 ℃, for example, 29 ℃, the battery is judged to be abnormal.
In one embodiment, if the battery is charged with a constant current, the preset charging condition is a charging duration that is continuously set from the first preset feature point, the corresponding charging parameter is temperature information, and the electronic device may determine the standard parameter range of the charging parameter corresponding to the preset charging condition and the charging frequency based on the mapping relationship. For example, a corresponding temperature value after a charging current (constant current) of 2A is maintained for a preset period of time of 20 minutes from a charging voltage of 3.6V may be used as the charging parameter. Based on the mapping relation, the standard parameter range of the temperature information corresponding to the charging frequency of 200 times is 28.2-29.0 ℃. If the temperature information collected under the preset charging condition is within 28.2-29.0 ℃, the battery is judged to be normal, and if the temperature information collected is not within 28.2-29.0 ℃, for example, 29.5 ℃, the battery is judged to be abnormal.
In this example, the mapping relationship between the charging frequency, the preset charging condition, the charging parameter and the standard parameter range may be constructed, the standard parameter range corresponding to the charging parameter may be correspondingly obtained according to the charging parameter and the charging frequency obtained by the battery under the preset charging condition, if the value of the collected charging parameter is within the standard parameter range, the battery may be considered normal, if the value of the collected charging parameter is not within the standard parameter range, the battery may be considered abnormal, and whether the battery is abnormal may be detected according to the charging frequency and the charging parameter collected under different preset charging conditions, thereby improving the accuracy of battery detection.
As shown in fig. 6, in one embodiment, the battery abnormality detection method includes step 602 and step 608.
Step 602, obtaining a charging parameter of a battery of the electronic device under a preset charging condition.
Step 604, obtaining the charging frequency of the current charging process of the battery.
Step 606, detecting whether the battery is abnormal or not according to the charging parameters and the charging frequency.
Step 602 to step 606 correspond to step 202 to step 206 in the foregoing embodiment one by one, and will not be described herein.
In step 608, if the battery abnormality is indicated by at least one of sound information, text information, image information, vibration information, and light information.
When the battery is abnormal, the electronic equipment can output prompt information to prompt through controlling the corresponding device so as to prompt a user that the battery is possibly faulty in time, so as to prompt for maintenance and prevention. The prompt information may include at least one of sound information, text information, image information, vibration information, and light information. For example, text information and/or image information such as "battery failure, discreet use" may be displayed on a display screen of the electronic device. Further, the electronic device can also output sound information, vibration information and light information to emphasize the emergency degree of battery abnormality, so as to prompt a user to deal with the battery abnormality as soon as possible, and prevent the battery from being on fire and other faults and threatening the use safety.
It should be understood that, although the steps in the flowcharts of fig. 2-6 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 2-6 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the sub-steps or stages are performed necessarily occur in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
Fig. 7 is a block diagram showing the structure of a battery abnormality detection device according to an embodiment. As shown in fig. 7, the battery abnormality detection device includes:
a parameter obtaining module 710, configured to obtain a charging parameter of a battery of the electronic device under a preset charging condition;
a frequency acquisition module 720, configured to acquire a charging frequency of the battery in a current charging process;
and an abnormality detection module 730 for detecting whether the battery is abnormal according to the charging parameter and the charging frequency.
The battery abnormality detection device can correspondingly acquire the charging parameters of the battery of the electronic equipment under the preset charging condition, acquire the charging frequency of the current charging process of the battery and detect whether the battery is abnormal according to the charging parameters and the charging frequency, can detect the charging parameters based on the charging frequency, further judge whether the battery is abnormal, can avoid the situation that the battery is aged after the battery is charged frequently and repeatedly, the internal resistance of the battery is increased, and the reversible capacity is reduced to cause abnormal detection misjudgment, so that the accuracy of the abnormal detection of the battery can be improved.
In one embodiment, the parameter obtaining module 710 is further configured to set at least one preset charging condition for the battery of the electronic device, and configure a corresponding charging parameter for each preset charging condition.
In one embodiment, the charging parameter includes temperature information, voltage information, current information, or a charging duration; wherein, the correspondence between the preset charging condition and the charging parameter includes one of the following:
charging parameters corresponding to the constant-current continuous charging preset time length from the first preset characteristic point are the temperature information or the voltage information;
charging parameters corresponding to constant-voltage continuous charging preset time periods from a second preset characteristic point are the temperature information or the current information;
The charging parameters corresponding to the constant current charging from the first preset voltage to the second preset voltage are temperature information or charging duration;
and the charging parameters corresponding to the constant voltage charging from the first preset current to the second preset current are temperature information or charging duration.
In one embodiment, the parameter obtaining module 710 is further configured to obtain a charging type of the charging process of the battery, where the charging type includes constant-current charging and constant-voltage charging; and determining the preset charging condition according to the charging type, and acquiring the charging parameters according to the corresponding relation when the preset charging condition is met.
In one embodiment, the battery detection device further includes:
the counting module is used for acquiring temperature information of the battery at the charging end in the charging process of the battery; determining whether the charging process is effective according to the temperature information; and if the charging process is effective, accumulating and counting the charging frequency and storing the counted charging frequency.
In one embodiment, the parameter obtaining module 710 is further configured to obtain, during a charging process of the battery, electric quantity information of a charging start point; and the counting module is also used for determining whether the charging process is effective according to the temperature information and the electric quantity information.
In one embodiment, the battery detection device further includes: and the mapping module is used for constructing a mapping relation among the charging frequency, the preset charging condition, the charging parameter and the standard parameter range. The anomaly detection module 730 is configured to determine a standard parameter range of the charging parameter mapped by the charging frequency according to the mapping relationship; if the value of the charging parameter is within the standard parameter range, the battery is normal; if the value of the charging parameter is not in the standard parameter range, the battery is abnormal.
In one embodiment, the battery detection device further includes: and the prompting module is used for prompting through at least one mode of sound information, text information, image information, vibration information and light information when the battery is abnormal.
The above-mentioned division of each module in the battery abnormality detection device is only for illustration, and in other embodiments, the battery abnormality detection device may be divided into different modules as needed to complete all or part of the functions of the above-mentioned battery abnormality detection device.
The specific limitation regarding the battery abnormality detection device may be referred to the limitation regarding the battery abnormality detection method hereinabove, and will not be described in detail herein. Each of the modules in the above battery abnormality detection device may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of the processor 120 in the computer device, or may be stored in software in the memory 130 in the computer device, so that the processor 120 may call to perform the operations corresponding to the above modules.
The implementation of each module in the battery abnormality detection apparatus provided in the embodiment of the present application may be in the form of a computer program. The computer program may run on an electronic device or a server. Program modules of the computer program may be stored on the memory 130 of the electronic device. Which when executed by the processor 120, performs the steps of the methods described in the embodiments of the present application.
Embodiments of the present application also provide a computer-readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors 120, cause the processors 120 to perform the steps of a battery anomaly detection method.
A computer program product containing instructions that, when run on a computer, cause the computer to perform a battery anomaly detection method.
Any reference to memory 130, storage, database, or other medium used herein may include non-volatile and/or volatile memory 130. The nonvolatile memory 130 may include read only memory 130 (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory 130 may include random access memory 130 (RAM), which acts as external cache memory 130. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory 130 bus direct RAM (RDRAM), direct memory 130 bus dynamic RAM (DRDRAM), and memory 130 bus dynamic RAM (RDRAM).
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. A battery abnormality detection method applied to an electronic device, the method comprising:
obtaining a charging type of the battery in a charging process, wherein the charging type comprises constant-current charging and constant-voltage charging;
determining preset charging conditions according to the charging types, and collecting charging parameters according to corresponding relations when a certain charging stage accords with the preset charging conditions in the charging process of the battery, wherein each preset charging condition is configured with corresponding charging parameters;
acquiring charging frequency of the battery in a current charging process;
constructing a mapping relation among the charging frequency, the preset charging condition, the charging parameter and the standard parameter range;
Determining a standard parameter range of the charging parameters mapped by the charging frequency according to the mapping relation;
if the value of the charging parameter is within the standard parameter range, the battery is normal;
if the value of the charging parameter is not in the standard parameter range, the battery is abnormal.
2. The method of claim 1, wherein prior to obtaining the charging parameters of the battery of the electronic device under the preset charging conditions, the method further comprises:
setting at least one preset charging condition for a battery of the electronic equipment, and configuring corresponding charging parameters for each preset charging condition.
3. The method of claim 2, wherein the charging parameter comprises temperature information, voltage information, current information, or a charging duration; wherein, the correspondence between the preset charging condition and the charging parameter includes one of the following:
charging parameters corresponding to the constant-current continuous charging preset time length from the first preset characteristic point are the temperature information or the voltage information;
charging parameters corresponding to constant-voltage continuous charging preset time periods from a second preset characteristic point are the temperature information or the current information;
The charging parameters corresponding to the constant current charging from the first preset voltage to the second preset voltage are temperature information or charging duration;
and the charging parameters corresponding to the constant voltage charging from the first preset current to the second preset current are temperature information or charging duration.
4. The method of claim 1, wherein the acquiring the battery is prior to a charging frequency of a current charging process, the method further comprising:
acquiring temperature information of the battery at the charging end in the charging process of the battery;
determining whether the charging process is effective according to the temperature information;
and if the charging process is effective, accumulating and counting the charging frequency and storing the counted charging frequency.
5. The method of claim 4, wherein before determining whether the charging process is effective based on the temperature information, further comprising:
acquiring electric quantity information of a charging starting point in the charging process of the battery;
the determining whether the charging process is effective according to the temperature information comprises:
and determining whether the charging process is effective according to the temperature information and the electric quantity information.
6. The method of claim 1, wherein said determining said preset charging condition according to said charging type comprises:
And if the charging type of the battery is constant current charging, determining that the preset charging condition is that the battery is charged from a first preset voltage to a second preset voltage, wherein the charging parameter corresponding to the preset charging condition is charging duration.
7. The method of any one of claims 1 to 6, wherein if the battery is abnormal, the method further comprises:
the prompting is performed by at least one mode of sound information, text information, image information, vibration information and light information.
8. A battery abnormality detection apparatus applied to an electronic device, the apparatus comprising:
the parameter acquisition module is used for acquiring a charging type of the battery in a charging process, determining a preset charging condition according to the charging type, and acquiring charging parameters according to a corresponding relation when the charging type accords with the preset charging condition, wherein the charging type comprises constant-current charging and constant-voltage charging, and each preset charging condition is configured with the corresponding charging parameter;
the frequency acquisition module is used for acquiring the charging frequency of the battery in the current charging process;
the abnormality detection module is used for constructing a mapping relation among the charging frequency, the preset charging condition, the charging parameter and the standard parameter range; determining a standard parameter range of the charging parameters mapped by the charging frequency according to the mapping relation; when the value of the charging parameter is within the standard parameter range, judging that the battery is normal; and when the value of the charging parameter is not in the standard parameter range, judging that the battery is abnormal.
9. An electronic device comprising a battery, a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of the battery anomaly detection method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the steps of the battery abnormality detection method according to any one of claims 1 to 7.
CN202011147436.5A 2020-10-23 2020-10-23 Battery abnormality detection method, apparatus, electronic device, and computer-readable storage medium Active CN112345944B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011147436.5A CN112345944B (en) 2020-10-23 2020-10-23 Battery abnormality detection method, apparatus, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011147436.5A CN112345944B (en) 2020-10-23 2020-10-23 Battery abnormality detection method, apparatus, electronic device, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN112345944A CN112345944A (en) 2021-02-09
CN112345944B true CN112345944B (en) 2023-06-16

Family

ID=74360010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011147436.5A Active CN112345944B (en) 2020-10-23 2020-10-23 Battery abnormality detection method, apparatus, electronic device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN112345944B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022205378A1 (en) * 2021-04-01 2022-10-06 宁德时代新能源科技股份有限公司 Detection method and apparatus for charging abnormalities, and storage medium
CN113612295B (en) * 2021-10-11 2022-02-22 深圳市驰普科达科技有限公司 Emergency energy storage battery electric energy management method, device and medium
CN114520822A (en) * 2022-02-16 2022-05-20 东集技术股份有限公司 Monitoring system, method, equipment and storage medium for equipment battery
CN115219930B (en) * 2022-03-29 2024-04-19 广州汽车集团股份有限公司 Vehicle storage battery aging early warning method and device, electronic equipment and storage medium
CN115149122A (en) * 2022-07-25 2022-10-04 合众新能源汽车有限公司 Early warning method and device for battery safety
CN116125298A (en) * 2022-11-28 2023-05-16 伏瓦科技(苏州)有限公司 Battery fault detection method and device
CN116047312A (en) * 2023-03-27 2023-05-02 广州锐速智能科技股份有限公司 Household energy storage system safety monitoring method, system, equipment and medium
CN117200401B (en) * 2023-11-07 2024-03-29 宁德时代新能源科技股份有限公司 Battery charging control method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108539804A (en) * 2017-03-03 2018-09-14 北京小米移动软件有限公司 Battery charging control method, battery charging control device and electronic equipment
WO2019037108A1 (en) * 2017-08-25 2019-02-28 深圳市云中飞网络科技有限公司 Terminal device, adapter, battery safety monitoring method and monitoring system
CN110085934A (en) * 2019-05-30 2019-08-02 维沃移动通信有限公司 A kind of charging method and mobile terminal of end cell
CN110568361A (en) * 2019-09-12 2019-12-13 华中科技大学 Method for predicting health state of power battery
CN110649675A (en) * 2019-09-26 2020-01-03 Oppo(重庆)智能科技有限公司 Charging control method and device, electronic equipment and computer readable storage medium
CN111722134A (en) * 2019-03-18 2020-09-29 Oppo广东移动通信有限公司 Method and device for measuring direct current impedance of battery, charging system and terminal equipment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3679348B2 (en) * 2001-05-15 2005-08-03 東洋システム株式会社 Battery charge amount and deterioration state confirmation method, battery charge amount and deterioration state confirmation device, storage medium, information processing device, and electronic device.
JP5289083B2 (en) * 2009-02-05 2013-09-11 三洋電機株式会社 Secondary battery abnormality detection device and secondary battery device
CN102012487B (en) * 2010-11-29 2014-01-01 中兴通讯股份有限公司 Charging detection method and detector of battery
JP5879557B2 (en) * 2011-09-12 2016-03-08 パナソニックIpマネジメント株式会社 Charger
JP2013126325A (en) * 2011-12-15 2013-06-24 Panasonic Eco Solutions Power Tools Co Ltd Charging circuit
JP6517092B2 (en) * 2015-06-26 2019-05-22 有限会社オーエイチケー研究所 Battery charger, battery diagnostic device using the same, and battery regenerator
CN106324525B (en) * 2016-10-12 2019-01-22 宁德新能源科技有限公司 The detection method and device of battery
CN107167737A (en) * 2017-03-31 2017-09-15 惠州市蓝微新源技术有限公司 A kind of battery system method for safety monitoring
CN110546848B (en) * 2017-04-14 2023-07-28 株式会社村田制作所 Charging control device and charging unit
CN110412480A (en) * 2019-07-10 2019-11-05 Oppo广东移动通信有限公司 Battery screening technique, device and computer storage medium and test macro

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108539804A (en) * 2017-03-03 2018-09-14 北京小米移动软件有限公司 Battery charging control method, battery charging control device and electronic equipment
WO2019037108A1 (en) * 2017-08-25 2019-02-28 深圳市云中飞网络科技有限公司 Terminal device, adapter, battery safety monitoring method and monitoring system
CN111722134A (en) * 2019-03-18 2020-09-29 Oppo广东移动通信有限公司 Method and device for measuring direct current impedance of battery, charging system and terminal equipment
CN110085934A (en) * 2019-05-30 2019-08-02 维沃移动通信有限公司 A kind of charging method and mobile terminal of end cell
CN110568361A (en) * 2019-09-12 2019-12-13 华中科技大学 Method for predicting health state of power battery
CN110649675A (en) * 2019-09-26 2020-01-03 Oppo(重庆)智能科技有限公司 Charging control method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN112345944A (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN112345944B (en) Battery abnormality detection method, apparatus, electronic device, and computer-readable storage medium
US11215679B2 (en) Method and apparatus for detecting micro short circuit of battery
JP6734784B2 (en) How to estimate battery health
US20120206107A1 (en) Protection module and method for managing status data of the protection module
CN110133536A (en) Determine system, the method and apparatus of the index of battery group object internal leakage electric current
CN112098864B (en) Leakage current detection method and device, electronic equipment and storage medium
CN111679206B (en) Electric quantity detection method and device, and storage medium
US9806383B2 (en) Electric energy storage device and method for operating an electric energy storage device
CN112644336B (en) Power battery thermal runaway prediction method and device
CN110244233A (en) A kind of detection method of battery, electronic equipment and computer storage medium
EP3648236A1 (en) Electronic apparatus and control method thereof
CN113567862A (en) SOH estimation method and device for lithium battery standby system
US8965716B2 (en) Method and apparatus for testing at least one temperature sensor in a vehicle
CN116323288A (en) Method and device for determining display state of charge and battery management chip
CN112714368B (en) Method and device for prompting abnormal electricity consumption, computer equipment and storage medium
CN112448444A (en) Charging control method and device, electronic equipment and readable storage medium
CN110646742A (en) Power battery SOH acquisition method, system and related assembly
CN115219930B (en) Vehicle storage battery aging early warning method and device, electronic equipment and storage medium
CN111976539B (en) Method, apparatus, medium, and device for determining voltage change rate of battery
CN112130078B (en) Charging and discharging data processing method, charging and discharging data processing device and terminal equipment
CN115201700A (en) Method and system for measuring battery entropy thermal coefficient
CN116648630A (en) Method and device for determining and displaying state of charge and battery management chip
CN111220919B (en) Battery electric quantity detection method and device and vehicle
KR20210148803A (en) Smart battery device
CN108232342B (en) Storage battery management method and system and storage battery management equipment

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
GR01 Patent grant
GR01 Patent grant