CN115656859A - Battery detection method, terminal device and storage medium - Google Patents

Battery detection method, terminal device and storage medium Download PDF

Info

Publication number
CN115656859A
CN115656859A CN202211424509.XA CN202211424509A CN115656859A CN 115656859 A CN115656859 A CN 115656859A CN 202211424509 A CN202211424509 A CN 202211424509A CN 115656859 A CN115656859 A CN 115656859A
Authority
CN
China
Prior art keywords
battery
health
circuit voltage
open
state
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.)
Pending
Application number
CN202211424509.XA
Other languages
Chinese (zh)
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.)
Great Wall Motor Co Ltd
Original Assignee
Great Wall Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Great Wall Motor Co Ltd filed Critical Great Wall Motor Co Ltd
Priority to CN202211424509.XA priority Critical patent/CN115656859A/en
Publication of CN115656859A publication Critical patent/CN115656859A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application is applicable to the technical field of batteries, and provides a battery detection method, terminal equipment and a computer readable storage medium, wherein the method comprises the following steps: when the battery is detected to meet the set conditions, acquiring the open-circuit voltage of the battery before discharging and the closed-circuit voltage of the battery after discharging; carrying out health detection on the battery according to the open-circuit voltage and the closed-circuit voltage to obtain a health detection result of the battery; and executing a preset processing action corresponding to the health detection result. Compared with the prior art that the battery health state of the battery is determined directly according to the open-circuit voltage of the battery, the health detection of the battery is performed by combining the open-circuit voltage before the battery is discharged and the closed-circuit voltage after the battery is discharged after the battery is detected to meet the set condition, so that the accuracy of the health detection of the battery is improved; meanwhile, after the health detection, a processing action corresponding to the health detection result is required to be executed, so that the processing efficiency of the battery is improved, and the safety of the battery is improved.

Description

Battery detection method, terminal device and storage medium
Technical Field
The present application belongs to the field of battery technologies, and in particular, to a battery detection method, apparatus, terminal device, and computer-readable storage medium.
Background
At present, after the power failure of the whole vehicle caused by the collision or the abnormity of the vehicle, an emergency call telephone can be triggered and dialed through the emergency call function of the vehicle-mounted terminal, so that the rescue is obtained. However, when the battery for backup is fed or an abnormality occurs, the emergency call function cannot be used, and thus, the battery needs to be detected in real time to ensure that the battery is in a healthy state.
However, the prior art generally simply determines the actual state of health (SOH) of the battery based on the open circuit voltage of the battery and compares the actual state of health with a standard state of health of the battery to determine whether the battery is healthy. Due to the adoption of the method, the consideration is not comprehensive enough, so that the accuracy rate of health detection of the battery is low.
Disclosure of Invention
The embodiment of the application provides a battery detection method, a battery detection device, terminal equipment and a computer readable storage medium, and improves the accuracy of health detection of a battery.
In a first aspect, an embodiment of the present application provides a battery detection method, including:
when the battery is detected to meet a set condition, acquiring the open-circuit voltage of the battery before discharging and the closed-circuit voltage of the battery after discharging;
carrying out health detection on the battery according to the open-circuit voltage and the closed-circuit voltage to obtain a health detection result of the battery;
and executing a preset processing action corresponding to the health detection result.
Optionally, when it is detected that the battery meets the set condition, acquiring an open-circuit voltage of the battery before discharging and a closed-circuit voltage of the battery after discharging includes:
when detecting that the power supply of the electronic equipment where the battery is located is in an on state, acquiring battery parameters of the battery;
and if the battery parameters meet the set threshold, acquiring the open-circuit voltage of the battery before discharging and the closed-circuit voltage of the battery after discharging.
Optionally, the battery parameters include a total charging time and a sleep time of the battery; after the health detection of the battery is performed according to the open-circuit voltage and the closed-circuit voltage to obtain a health detection result of the battery, the method further comprises the following steps:
setting the total charging time and the sleep time to zero.
Optionally, the obtaining an open-circuit voltage of the battery before discharging and a closed-circuit voltage of the battery after discharging includes:
when the battery is in a discharging stage, if it is detected that a power supply of electronic equipment where the battery is located is in a closed state, or the battery is in an open-circuit state, or the battery is in a power supply state, or the electronic equipment is in a self-checking state, health detection of the battery is stopped.
Optionally, the performing health detection on the battery according to the open-circuit voltage and the closed-circuit voltage to obtain a health detection result of the battery includes:
calculating to obtain a state of health parameter of the battery according to the open-circuit voltage and the closed-circuit voltage, wherein the state of health parameter is an electrical parameter used for representing the health degree of the battery;
determining a health detection result of the battery according to the health state parameter and a preset battery health degree table; and the battery health degree table records the corresponding relation between the health state parameter and the battery health degree.
Optionally, the calculating the state of health parameter of the battery according to the open-circuit voltage and the closed-circuit voltage includes:
obtaining the internal resistance of the battery;
calculating to obtain the open-circuit current of the battery according to the internal resistance and the open-circuit voltage;
and calculating the health state parameter according to the open circuit current, the open circuit voltage and the closed circuit voltage.
Optionally, the calculating the state of health parameter of the battery according to the open-circuit voltage and the closed-circuit voltage includes:
determining a detection deviation value of the battery, wherein the detection deviation value is an error generated when the state of health parameter of the battery is calculated;
and calculating to obtain the health state parameters according to the open circuit voltage, the closed circuit voltage and the detection deviation value.
Optionally, the health detection result includes a pass and a fail, and the executing a preset processing action corresponding to the health detection result includes:
if the health detection result is passed, clearing the health detection times of the battery;
if the health detection result is failed, accumulating the health detection times of the battery; and if the health detection times are greater than the set times, outputting prompt information for prompting that the battery is in a dangerous state.
In a second aspect, an embodiment of the present application provides a battery detection apparatus, including:
the battery charging device comprises a first acquisition unit, a second acquisition unit and a charging unit, wherein the first acquisition unit is used for acquiring an open-circuit voltage of a battery before discharging and a closed-circuit voltage of the battery after discharging when the battery is detected to meet a set condition;
the detection unit is used for carrying out health detection on the battery according to the open-circuit voltage and the closed-circuit voltage to obtain a health detection result of the battery;
and the execution unit is used for executing a preset processing action corresponding to the health detection result.
In a third aspect, an embodiment of the present application provides a terminal device, including: a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the battery detection method according to any one of the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the battery detection method according to any one of the first aspect.
In a fifth aspect, the present application provides a computer program product, which when run on a terminal device, enables the terminal device to execute the battery detection method according to any one of the above first aspects.
Compared with the prior art, the embodiment of the application has the advantages that:
according to the battery detection method provided by the embodiment of the application, when the battery is detected to meet the set condition, the open-circuit voltage of the battery before discharging and the closed-circuit voltage of the battery after discharging are obtained; carrying out health detection on the battery according to the open-circuit voltage and the closed-circuit voltage to obtain a health detection result of the battery; and executing a preset processing action corresponding to the health detection result. Compared with the prior art that the battery health state of the battery is determined directly according to the open-circuit voltage of the battery, the health detection of the battery is performed by combining the open-circuit voltage before the battery is discharged and the closed-circuit voltage after the battery is discharged after the battery is detected to meet the set condition, so that the accuracy of the health detection of the battery is improved; meanwhile, after the health detection, a processing action corresponding to the health detection result is required to be executed, so that the processing efficiency of the battery is improved, and the safety of the battery is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart illustrating an implementation of a battery detection method according to an embodiment of the present disclosure;
FIG. 2 is a flowchart illustrating an implementation of a battery detection method according to another embodiment of the present application;
FIG. 3 is a flow chart of an implementation of a battery detection method according to another embodiment of the present application;
FIG. 4 is a flowchart illustrating an implementation of a battery detection method according to another embodiment of the present disclosure;
FIG. 5 is a flowchart illustrating an implementation of a battery detection method according to another embodiment of the present disclosure;
FIG. 6 is a flow chart of an implementation of a battery detection method according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of a battery detection apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing a relative importance or importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather mean "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a battery detection method according to an embodiment of the present disclosure. In the embodiment of the application, the main execution body of the battery detection method is terminal equipment.
As shown in fig. 1, a battery detection method provided in an embodiment of the present application may include steps S101 to S103, which are detailed as follows:
in S101, when it is detected that a battery satisfies a set condition, an open-circuit voltage of the battery before discharge and a closed-circuit voltage of the battery after discharge are acquired.
In practical applications, for example, in the field of automobiles, an on-board terminal of a vehicle is generally provided with an emergency call function, which is used for triggering and making an emergency call after the vehicle is in collision or abnormal conditions, so as to obtain rescue. However, when a backup battery for ensuring that the emergency call function can be used in the vehicle is fed or an abnormality occurs, the emergency call function cannot be used, and thus, the battery needs to be detected in real time to ensure that the battery is in a healthy state.
Therefore, when a person using the vehicle needs to detect the battery, a detection instruction may be sent to the terminal device.
In this embodiment, the detection instruction detected by the terminal device may be: and detecting that a user triggers a preset operation aiming at the terminal equipment. The preset operation may be determined according to actual needs, and is not limited herein. Illustratively, the preset operation may be clicking a preset control of the terminal device, that is, if the terminal device detects that the user clicks the preset control, it is determined that the preset operation for the terminal device is detected; certainly, the preset operation may also be a time-triggered operation, and the terminal device may be configured with a corresponding workflow during running, where the workflow includes trigger nodes of a plurality of key events, where the key events include a battery detection event, and in this case, if the terminal device detects that the trigger node associated with the battery detection event is reached, the operations of S101 to S103 are executed to execute the detection operation on the battery.
Based on this, the terminal device may detect whether the battery satisfies the set condition in response to the detection instruction to determine whether the open-circuit voltage of the battery before discharge and the closed-circuit voltage of the battery after discharge can be acquired.
In an embodiment of the present application, the terminal device may specifically implement step S101 through S201 to S202 shown in fig. 2, which are detailed as follows:
in S201, when it is detected that a power supply of an electronic device in which the battery is located is in an on state, a battery parameter of the battery is acquired.
In this embodiment, the terminal device obtains the battery parameter of the battery when detecting that the power supply of the electronic device where the battery is located is in the on state.
It should be noted that, in order to ensure that stable open-circuit voltage and stable closed-circuit voltage of the battery are obtained subsequently, so as to improve the detection accuracy of the battery, the battery parameters of the battery include, but are not limited to: battery temperature, initial open circuit voltage, total time to charge the battery, and sleep time of the battery. Wherein, the total charging time of the battery refers to the accumulated charging time of the battery before the health detection is carried out.
In this embodiment, after obtaining the battery parameter of the battery, the terminal device may compare the battery parameter with the setting condition. The setting conditions may be set according to actual needs, and are not limited herein.
In some possible embodiments, since the battery parameters include, but are not limited to, a battery temperature, an initial open circuit voltage, a total charging time of the battery, and a sleep time of the battery, the setting conditions may include, but are not limited to, a first setting condition, a second setting condition, a third setting condition, and a fourth setting condition.
In this embodiment, the terminal device may set the setting condition corresponding to the battery temperature as a first setting condition, set the setting condition corresponding to the initial open-circuit voltage as a second setting condition, set the setting condition corresponding to the total charging time of the battery as a third setting condition, and set the setting condition corresponding to the sleep time of the battery as a fourth setting condition.
Wherein, the first setting condition may be: the battery temperature is within a set range. Wherein the set range may be [0 ℃,60 ℃ ].
The second setting condition may be: the initial open circuit voltage is greater than a first threshold. Wherein the first threshold may be 1.34v/cell.
The third setting condition may be: the total time of charging of the battery is greater than a second threshold. Wherein the second threshold may be 10 hours.
The fourth setting condition may be: the sleep time of the battery is greater than a third threshold. Wherein the third threshold may be 4 hours.
In an embodiment of the present application, the terminal device may execute step S202 when detecting that the battery parameters of the battery meet the set thresholds (e.g., the set range, the first threshold, the second threshold, and the third threshold), that is, each battery parameter meets the set condition corresponding to the battery parameter.
In another embodiment of the present application, when detecting that the battery parameters of the battery do not meet the set thresholds (e.g., the set range, the first threshold, the second threshold, and the third threshold), that is, at least one battery parameter does not meet the set condition corresponding to the battery parameter, the terminal device indicates that the battery does not meet the health detection condition, and therefore, the terminal device stops performing health detection on the battery.
In S202, if the battery parameter meets a set threshold, an open-circuit voltage of the battery before discharging and a closed-circuit voltage of the battery after discharging are obtained.
In this embodiment, when the terminal device detects that the battery parameter of the battery meets the set threshold, that is, each battery parameter meets the set condition corresponding to the battery parameter, it indicates that the battery meets the health detection condition, and therefore, the terminal device may obtain an open-circuit voltage of the battery before discharge and a closed-circuit voltage of the battery after discharge.
In another embodiment of the application, in a discharging process of the battery, if a power supply of the electronic device where the battery is located is in a shutdown state, or the battery is in an open-circuit state, or the battery is in a power supply state, or the electronic device is in a self-checking state, the terminal device cannot perform health detection on the battery, and therefore, when the battery is in a discharging stage, the terminal device stops performing health detection on the battery when detecting that the power supply of the electronic device where the battery is located is in the shutdown state, or the battery is in the open-circuit state, or the battery is in the power supply state, or the electronic device is in the self-checking state, and useless work and resource waste of the terminal device are avoided.
The terminal voltage of the battery in the Open circuit state is an Open Circuit Voltage (OCV). The open circuit voltage of a battery is equal to the difference between the positive electrode potential and the negative electrode potential of the battery when the battery is open-circuited (i.e., when no current is passing through the two electrodes).
The Closed Circuit Voltage (CCV) of the battery refers to a terminal Voltage of the battery after the battery is turned on. The terminal voltage is the voltage between the positive and negative poles of the battery, also called circuit terminal voltage or terminal voltage, and is equal to the work of electric field force moving unit positive charge from the positive pole of the battery to the negative pole of the battery along an external circuit.
In order to improve the detection accuracy, the terminal device may control the battery to discharge at a current of 750 milliamperes, and detect the closed circuit voltage of the battery after a discharge set time. Wherein the set time may be set to 500 milliseconds.
In S102, health detection is performed on the battery according to the open-circuit voltage and the closed-circuit voltage, so as to obtain a health detection result of the battery.
In the embodiment of the application, the health detection result of the battery comprises pass and fail. Wherein, pass means that the battery passes the health detection of the battery, and fail means that the battery fails the health detection of the battery.
In an embodiment of the present application, the terminal device may specifically obtain the health detection result of the battery through S301 to S302 shown in fig. 3, which is detailed as follows:
in S301, a state of health parameter of the battery is calculated according to the open-circuit voltage and the closed-circuit voltage, where the state of health parameter is an electrical parameter used for indicating a battery health degree.
In this embodiment, the state of health parameter is an electrical parameter for indicating the degree of health of the battery. The health status parameter and the resistance are isometrical parameters, i.e. the unit of the health status parameter is also ohm.
Note that the health state parameter refers to a DC-IR value.
In an embodiment of the present application, the terminal device may specifically obtain the state of health parameter of the battery through calculation in S401 to S403 shown in fig. 4, which is detailed as follows:
in S401, the internal resistance of the battery is acquired.
In this embodiment, the terminal device may determine the internal resistance of the battery according to a preset detection algorithm. The preset detection algorithm includes, but is not limited to: alternating current measurement and direct current measurement.
In the ac measurement method, also called as ac injection method, when measuring the internal resistance of the battery, a small ac current of 1Khz is applied to the positive and negative polarities of the battery, and the internal resistance value is obtained by measuring the response of the voltage.
The direct current measurement method, also known as direct current discharge method, is calculated according to the formula R = U/I. Specifically, the terminal device controls the battery to force a constant direct current (generally 40A-80A current is used) in a short time (generally 2-3 s), measures the voltage at two ends of the battery at the moment, and calculates the internal resistance of the battery according to the formula.
In S402, an open-circuit current of the battery is calculated according to the internal resistance and the open-circuit voltage.
In this embodiment, the terminal device may specifically calculate the open-circuit current of the battery according to the following formula:
Figure BDA0003943741020000101
where I represents the open current of the battery, OCV represents the open voltage of the battery, and R represents the internal resistance of the battery.
In S403, the health status parameter is calculated according to the open circuit current, the open circuit voltage, and the closed circuit voltage.
In this embodiment, the terminal device may specifically calculate the health state parameter of the battery according to the following formula:
DC-IR=(OCV-CCV)/I;
wherein DC-IR represents a state of health parameter of the battery, OCV represents an open circuit voltage of the battery, CCV represents a closed circuit voltage of the battery, and I represents an open circuit current of the battery.
In another embodiment of the present application, due to the difference between the components and the accuracy of the AD sampling, an error exists in the calculation process of the state of health parameter of the battery, so that the terminal device may further calculate the state of health parameter of the battery through S501 to S502 shown in fig. 5, which is detailed as follows:
in S501, a detected deviation value of the battery is determined, where the detected deviation value is an error generated in the calculation of the state of health parameter of the battery.
In this embodiment, the terminal device may determine that the detection deviation value of the battery is 10%.
In S502, the health status parameter is calculated according to the open circuit voltage, the closed circuit voltage, and the detection deviation value.
Specifically, in this embodiment, the terminal device may calculate an initial state of health parameter of the battery according to the open-circuit voltage and the closed-circuit voltage of the battery, and then calculate a final state of health parameter of the battery according to the initial state of health parameter and the detected deviation value.
Wherein the battery final state of health parameter = initial state of health parameter (1-10%).
In some possible embodiments, the terminal device may specifically obtain the initial state of health parameter of the battery according to the calculation in steps S301 to S303.
In S302, determining a health detection result of the battery according to the health state parameter and a preset battery health degree table; and the battery health degree table records the corresponding relation between the health state parameter and the battery health degree.
In the embodiment of the application, the terminal equipment stores a preset battery health degree table in advance. The battery health degree table is used for recording the corresponding relation between the health state parameters and the battery health degree.
It should be noted that, because different batteries have different battery specifications, in order to improve the detection accuracy of the batteries, the terminal device may set different batteries corresponding to different battery health degree tables.
In the embodiment of the application, the terminal device may determine the battery health degree table corresponding to the battery health detection according to the battery for health detection, and then search the battery health degree corresponding to the battery health degree table according to the calculated battery health state parameter to determine the health detection result of the battery.
In S103, a preset processing action corresponding to the health detection result is executed.
In the embodiment of the application, the terminal device stores the corresponding relationship between the different health detection results and the processing actions in advance, so that after the terminal device obtains the health detection results of the battery, the terminal device can determine the processing action corresponding to the health detection results of the battery from the pre-stored corresponding relationship between the different health detection results and the processing actions, and execute the processing action.
In an embodiment of the present application, since the health detection result of the battery includes pass and fail, the terminal device may specifically implement step S103 through S601 to S602 shown in fig. 6, which are detailed as follows:
in S601, if the health detection result is positive, the health detection frequency of the battery is cleared.
In this embodiment, when the terminal device detects that the health detection result of the battery passes, it indicates that the battery is in a healthy state, and therefore, the terminal device may zero the health detection times of the battery, so as to newly count the health detection times of the battery in the subsequent health detection of the battery.
In S602, if the health detection result is failed, accumulating the health detection times of the battery; and if the health detection times are greater than the set times, outputting prompt information for prompting that the battery is in a dangerous state.
In this embodiment, when the terminal device detects that the health detection result of the battery is failed, it indicates that the battery may be in a dangerous state, and therefore, in order to further determine whether the battery is in a dangerous state, the terminal device may accumulate the health detection times of the battery.
After obtaining the health detection times of the battery, the terminal device may compare the health detection times with a set number. The set number may be determined according to actual needs, and is not limited herein, and for example, the set number may be 8.
In an embodiment of the present application, when the terminal device detects that the number of times of health detection of the battery is greater than the set number of times, it indicates that the battery is actually in a dangerous state, and therefore, the terminal device may input prompt information for prompting that the battery is in a dangerous state.
In another embodiment of the present application, when the terminal device detects that the number of health detection times of the battery is less than or equal to the set number of times, it indicates that the terminal device still cannot determine whether the battery is in a dangerous state, and therefore, the terminal device may retain the number of health detection times of the battery and continue to perform health detection on the battery until the number of health detection times of the battery is greater than the set number of times or the health detection result of the battery passes.
Through the mode, the terminal equipment can output the prompt information for prompting that the battery is in the dangerous state only when the health detection times of the battery are detected to be greater than the set times, so that the condition that the battery is failed due to the fact that the health detection result appears in accidental power failure is avoided, then the terminal equipment still frequently outputs the prompt information, and the accuracy of health detection of the battery is improved.
As can be seen from the above, according to the battery detection method provided in the embodiment of the present application, when it is detected that the battery meets the set condition, the open-circuit voltage of the battery before discharging and the closed-circuit voltage of the battery after discharging are obtained; carrying out health detection on the battery according to the open-circuit voltage and the closed-circuit voltage to obtain a health detection result of the battery; and executing a preset processing action corresponding to the health detection result. Compared with the prior art that the battery health state of the battery is determined directly according to the open-circuit voltage of the battery, the health detection is carried out on the battery by combining the open-circuit voltage before the battery discharges and the closed-circuit voltage after the battery discharges after the battery is detected to meet the set condition, so that the accuracy of the health detection on the battery is improved; meanwhile, after the health detection, a processing action corresponding to the health detection result is required to be executed, so that the processing efficiency of the battery is improved, and the safety of the battery is improved.
In another embodiment of the present application, in order to ensure that the total charging time and the sleep time of the battery respectively satisfy the respective corresponding setting conditions from the end time of the current health detection of the battery to the start time of the next health detection of the battery, so as to improve the detection accuracy of the battery, the terminal device may set the total charging time and the sleep time of the battery to zero after determining the health detection result of the battery according to the health state parameter of the battery and the preset battery health degree table.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 7 shows a block diagram of a battery detection apparatus provided in an embodiment of the present application, corresponding to a battery detection method described in the above embodiment, and only shows a part related to the embodiment of the present application for convenience of description. Referring to fig. 7, the battery test apparatus 700 includes: a first acquisition unit 71, a detection unit 72 and an execution unit 73. Wherein:
the first acquisition unit 71 is configured to acquire an open-circuit voltage of the battery before discharging and a closed-circuit voltage of the battery after discharging when it is detected that the battery satisfies a set condition.
The detection unit 72 is configured to perform health detection on the battery according to the open-circuit voltage and the closed-circuit voltage to obtain a health detection result of the battery.
The execution unit 73 is configured to execute a preset processing action corresponding to the health detection result.
In an embodiment of the present application, the first obtaining unit 71 specifically includes: a second acquisition unit and a third acquisition unit. Wherein:
the second acquisition unit is used for acquiring the battery parameters of the battery when detecting that the power supply of the electronic equipment where the battery is located is in an on state.
The third obtaining unit is used for obtaining the open-circuit voltage of the battery before discharging and the closed-circuit voltage of the battery after discharging if the battery parameter meets the set threshold.
In one embodiment of the present application, the battery parameters include a total charging time and a sleep time of the battery; the battery test apparatus 700 further includes: and a zero setting unit.
The zero setting unit is used for setting the total charging time and the sleep time to zero.
In an embodiment of the present application, the first obtaining unit 71 specifically includes: and a stopping unit.
The stopping unit is used for stopping health detection of the battery if the power supply of the electronic equipment where the battery is located is detected to be in a closed state, or the battery is in an open-circuit state, or the battery is in a power supply state, or the electronic equipment is in a self-checking state when the battery is in a discharging stage.
In an embodiment of the present application, the detecting unit 72 specifically includes: a first calculation unit and a first determination unit. Wherein:
the first calculating unit is used for calculating and obtaining a state of health parameter of the battery according to the open-circuit voltage and the closed-circuit voltage, wherein the state of health parameter is an electrical parameter used for representing the health degree of the battery.
The first determination unit is used for determining the health detection result of the battery according to the health state parameter and a preset battery health degree table; and the battery health degree table records the corresponding relation between the health state parameter and the battery health degree.
In an embodiment of the present application, the first calculating unit specifically includes: the device comprises a fourth acquisition unit, a second calculation unit and a third calculation unit. Wherein:
the fourth acquisition unit is used for acquiring the internal resistance of the battery.
And the second calculating unit is used for calculating the open-circuit current of the battery according to the internal resistance and the open-circuit voltage.
And the third calculating unit is used for calculating the health state parameter according to the open circuit current, the open circuit voltage and the closed circuit voltage.
In an embodiment of the present application, the first computing unit specifically includes: a second determination unit and a fourth calculation unit. Wherein:
the second determining unit is used for determining a detection deviation value of the battery, wherein the detection deviation value is an error generated when the state of health parameter of the battery is calculated.
And the fourth calculating unit is used for calculating the health state parameters according to the open circuit voltage, the closed circuit voltage and the detection deviation value.
In an embodiment of the present application, the health detection result includes a pass and a fail, and the executing unit 73 specifically includes: zero clearing unit and output unit. Wherein:
and the zero clearing unit is used for clearing the health detection times of the battery if the health detection result is passed.
The output unit is used for accumulating the health detection times of the battery if the health detection result is failed; and if the health detection times are greater than the set times, outputting prompt information for prompting that the battery is in a dangerous state.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 8, the terminal device 8 of this embodiment includes: at least one processor 80 (only one shown in fig. 8), a memory 81, and a computer program 82 stored in the memory 81 and operable on the at least one processor 80, the processor 80 implementing the steps in any of the various battery detection method embodiments described above when executing the computer program 82.
The terminal device may include, but is not limited to, a processor 80, a memory 81. Those skilled in the art will appreciate that fig. 8 is merely an example of the terminal device 8, and does not constitute a limitation to the terminal device 8, and may include more or less components than those shown, or may combine some components, or different components, and may further include, for example, an input/output device, a network access device, and the like.
The Processor 80 may be a Central Processing Unit (CPU), and the Processor 80 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 81 may in some embodiments be an internal storage unit of the terminal device 8, such as a memory of the terminal device 8. In other embodiments, the memory 81 may also be an external storage device of the terminal device 8, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the terminal device 1. Further, the memory 81 may also include both an internal storage unit and an external storage device of the terminal device 8. The memory 81 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer program. The memory 81 may also be used to temporarily store data that has been output or is to be output.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the foregoing method embodiments.
The embodiments of the present application provide a computer program product, which when running on a terminal device, enables the terminal device to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be implemented by a computer program, which can be stored in a computer readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include at least: any entity or apparatus capable of carrying computer program code to a terminal device, recording medium, computer Memory, read-Only Memory (ROM), random-Access Memory (RAM), electrical carrier wave signals, telecommunications signals, and software distribution medium. Such as a usb-drive, a removable hard drive, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present application, and they should be construed as being included in the present application.

Claims (10)

1. A battery test method, comprising:
when the battery is detected to meet a set condition, acquiring the open-circuit voltage of the battery before discharging and the closed-circuit voltage of the battery after discharging;
carrying out health detection on the battery according to the open-circuit voltage and the closed-circuit voltage to obtain a health detection result of the battery;
and executing a preset processing action corresponding to the health detection result.
2. The battery test method according to claim 1, wherein the obtaining an open circuit voltage of the battery before discharging and a closed circuit voltage of the battery after discharging when it is detected that the battery satisfies a set condition includes:
when detecting that the power supply of the electronic equipment where the battery is located is in an on state, acquiring battery parameters of the battery;
and if the battery parameters meet the set threshold, acquiring the open-circuit voltage of the battery before discharging and the closed-circuit voltage of the battery after discharging.
3. The battery test method of claim 2, wherein the battery parameters include a total charging time and a sleep time of the battery; after the health detection of the battery is performed according to the open-circuit voltage and the closed-circuit voltage to obtain a health detection result of the battery, the method further comprises the following steps:
setting the total charging time and the sleep time to zero.
4. The battery test method of claim 1, wherein said obtaining an open circuit voltage of the battery before discharging and a closed circuit voltage of the battery after discharging comprises:
when the battery is in a discharging stage, if it is detected that a power supply of electronic equipment where the battery is located is in a closed state, or the battery is in an open-circuit state, or the battery is in a power supply state, or the electronic equipment is in a self-checking state, health detection of the battery is stopped.
5. The battery test method of claim 1, wherein the performing the health test on the battery according to the open-circuit voltage and the closed-circuit voltage to obtain the health test result of the battery comprises:
calculating to obtain a state of health parameter of the battery according to the open-circuit voltage and the closed-circuit voltage, wherein the state of health parameter is an electrical parameter used for representing the health degree of the battery;
determining a health detection result of the battery according to the health state parameter and a preset battery health degree table; and the battery health degree table records the corresponding relation between the health state parameter and the battery health degree.
6. The battery test method of claim 5, wherein said calculating the state of health parameter of the battery from the open circuit voltage and the closed circuit voltage comprises:
acquiring the internal resistance of the battery;
calculating to obtain the open-circuit current of the battery according to the internal resistance and the open-circuit voltage;
and calculating the health state parameters according to the open circuit current, the open circuit voltage and the closed circuit voltage.
7. The battery detection method of claim 5, wherein said calculating a state of health parameter of said battery from said open circuit voltage and said closed circuit voltage comprises:
determining a detection deviation value of the battery, wherein the detection deviation value is an error generated when the state of health parameter of the battery is calculated;
and calculating the health state parameters according to the open circuit voltage, the closed circuit voltage and the detection deviation value.
8. The battery test method according to any one of claims 1 to 7, wherein the health test result comprises a pass and a fail, and the performing of the preset processing action corresponding to the health test result comprises:
if the health detection result is passed, clearing the health detection times of the battery;
if the health detection result is failed, accumulating the health detection times of the battery; and if the health detection times are more than the set times, outputting prompt information for prompting that the battery is in a dangerous state.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the battery detection method according to any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, implements the battery detection method according to any one of claims 1 to 8.
CN202211424509.XA 2022-11-15 2022-11-15 Battery detection method, terminal device and storage medium Pending CN115656859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211424509.XA CN115656859A (en) 2022-11-15 2022-11-15 Battery detection method, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211424509.XA CN115656859A (en) 2022-11-15 2022-11-15 Battery detection method, terminal device and storage medium

Publications (1)

Publication Number Publication Date
CN115656859A true CN115656859A (en) 2023-01-31

Family

ID=85020484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211424509.XA Pending CN115656859A (en) 2022-11-15 2022-11-15 Battery detection method, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN115656859A (en)

Similar Documents

Publication Publication Date Title
CN110703109B (en) Battery string multi-fault diagnosis method and system based on correction sample entropy
CN111060791B (en) Insulation fault detection method and device, electric vehicle, terminal equipment and medium
JP5983784B2 (en) Power storage device and deterioration determination method
EP2544013A1 (en) Abnormality diagnostic device and method of cell balancing circuits
EP2518522A1 (en) Abnormality detection device for assembled battery
CN110579716B (en) Battery detection method and device
TWI710780B (en) Battery control apparatus and method for detecting internal short of battery
WO2017110578A1 (en) Current monitoring circuit and coulomb counter circuit, and battery management system and motor vehicle using same
CN113625181B (en) Battery system performance detection method in battery replacement station, electronic equipment and storage medium
CN110764014A (en) Method and device for detecting short circuit in battery, terminal and readable storage medium
CN108414944B (en) Attenuation detection method and device
EP2508905A2 (en) Battery voltage detector
US11177683B2 (en) Overvoltage protection system using balancing resistor
CN112526366B (en) Early warning method and device for electrical connectivity of battery, storage medium and electronic equipment
CN115656859A (en) Battery detection method, terminal device and storage medium
US20130088236A1 (en) Battery-monitoring device
CN114994558A (en) Battery life detection method, terminal device and computer-readable storage medium
CN112666477B (en) Method for determining short circuit in battery, electronic device, and storage medium
US11041914B2 (en) Battery control apparatus and method for detection internal short of battery
JP2013253857A (en) Cell state estimation device of battery pack
CN114019396A (en) Battery pack impedance detection method and device
KR102619315B1 (en) Battery electrical breakdown diagnosis apparatus
EP4089427B1 (en) Detection method and apparatus for charging abnormalities, and storage medium
CN117214726B (en) State detection method and device, electronic equipment and computer readable storage medium
JP2015068821A (en) Method and device for detecting abnormality of electricity storage module

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