CN113791357B - Method and related device for intelligently correcting battery display electric quantity - Google Patents
Method and related device for intelligently correcting battery display electric quantity Download PDFInfo
- Publication number
- CN113791357B CN113791357B CN202111352263.5A CN202111352263A CN113791357B CN 113791357 B CN113791357 B CN 113791357B CN 202111352263 A CN202111352263 A CN 202111352263A CN 113791357 B CN113791357 B CN 113791357B
- Authority
- CN
- China
- Prior art keywords
- time
- real
- curve
- current
- battery capacity
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 230000032683 aging Effects 0.000 claims abstract description 116
- 238000007599 discharging Methods 0.000 claims description 66
- 238000004364 calculation method Methods 0.000 claims description 44
- 238000012937 correction Methods 0.000 claims description 14
- 238000005070 sampling Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000007423 decrease Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/382—Arrangements for monitoring battery or accumulator variables, e.g. SoC
- G01R31/3842—Arrangements for monitoring battery or accumulator variables, e.g. SoC combining voltage and current measurements
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/48—Accumulators combined with arrangements for measuring, testing or indicating the condition of cells, e.g. the level or density of the electrolyte
- H01M10/488—Cells or batteries combined with indicating means for external visualization of the condition, e.g. by change of colour or of light density
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- General Chemical & Material Sciences (AREA)
- Secondary Cells (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The embodiment of the application discloses a method and a related device for intelligently correcting battery display electric quantity, which are used for increasing the accuracy of the battery display electric quantity. The method in the embodiment of the application comprises the following steps: acquiring a real-time current curve and a real-time voltage curve of a target battery in one charge-discharge cycle; acquiring a full-current value and a zero-current voltage value of a target battery; calculating a real-time battery capacity and a real-time fitting curve according to the real-time current curve, the real-time voltage curve, the full current value and the zero voltage value, wherein the real-time fitting curve is a curve representing the aging degree of the target battery; acquiring initial battery capacity and a reference fitting curve of a target battery from a database, wherein the reference fitting curve is a standard fitting curve representing that the aging degree of the target battery is zero; calculating the target battery capacity of the target battery according to the initial battery capacity, the reference fitting curve, the real-time battery capacity and the real-time fitting curve; and correcting the display electric quantity of the battery according to the target battery capacity and the initial battery capacity.
Description
Technical Field
The embodiment of the application relates to the field of batteries, in particular to a method and a related device for intelligently correcting battery display electric quantity.
Background
With the continuous development of battery technology, the cruising ability of various electronic devices is gradually improved, but with the continuous increase of entertainment ways of electronic devices of people, the loss of batteries is gradually increased along with the time.
When a battery starts to be charged or discharged, the actual electric quantity of the battery cannot be directly known, but the actual electric quantity is indirectly measured through a certain measuring means, for example, the current capacity of the battery is determined from the charging current or the discharging voltage. For battery aging, the battery display charge needs to be corrected, for example, the battery capacity of one battery has aged 95 percent of the initial battery capacity, but the battery display charge cannot be marked as 95 percent when the charging is completed, and needs to be corrected to a one-hundred percent form.
However, since the battery may have a problem of aging, when the battery capacity is calculated by directly measuring the real-time voltage and the real-time current of the charge-discharge cycle, the accuracy of the battery capacity is reduced because the parameters of the initial battery are not compared, and the accuracy of the battery displaying the electric quantity is further reduced.
Disclosure of Invention
The first aspect of the present application provides a method for intelligently correcting battery display electric quantity to increase the accuracy of battery display electric quantity, the method includes:
acquiring a real-time current curve and a real-time voltage curve of a target battery in one charge-discharge cycle, wherein the real-time current curve is a curve generated by current and time in the charge-discharge cycle, and the real-time voltage curve is a curve generated by voltage and time in the charge-discharge cycle;
acquiring a full-electricity current value and a zero-electricity voltage value of a target battery, wherein the full-electricity current value is an input current value preset by the target battery when charging is completed, and the zero-electricity voltage value is an output voltage value preset by the target battery when discharging is completed;
calculating a real-time battery capacity and a real-time fitting curve according to the real-time current curve, the real-time voltage curve, the full current value and the zero voltage value, wherein the real-time fitting curve is a curve representing the aging degree of the target battery;
acquiring initial battery capacity and a reference fitting curve of a target battery from a database, wherein the reference fitting curve is a standard fitting curve representing that the aging degree of the target battery is zero;
calculating the target battery capacity of the target battery according to the initial battery capacity, the reference fitting curve, the real-time battery capacity and the real-time fitting curve;
and correcting the display electric quantity of the battery according to the target battery capacity and the initial battery capacity.
Optionally, calculating a real-time battery capacity and a real-time fitting curve according to the real-time current curve, the real-time voltage curve, the full-current value and the zero-current voltage value, including:
determining the discharge completion time according to the zero-voltage value and the real-time voltage curve;
determining the charging completion time according to the full-current value and the real-time current curve;
and calculating the real-time battery capacity and a real-time fitting curve according to the charging completion time, the discharging completion time, the real-time current curve and the real-time voltage curve.
Optionally, calculating a real-time battery capacity and a real-time fitting curve according to the charging completion time, the discharging completion time, the real-time current curve and the real-time voltage curve, including:
determining a charging time period and a discharging time period according to the charging completion time and the discharging completion time;
calculating the real-time battery capacity and the average current value according to the real-time current curve, the charging time period and the discharging time period;
calculating an average voltage value according to the real-time voltage curve, the charging time period and the discharging time period;
and calculating a real-time fitting curve according to the average current value and the average voltage value.
Optionally, before acquiring a real-time current curve and a real-time voltage curve of the target battery in one charge-discharge cycle, the method further includes:
acquiring an initial current curve and an initial voltage curve of a target battery in an initial charge-discharge cycle;
calculating an initial battery capacity and a reference fitting curve of the target battery according to the initial current curve and the initial voltage curve, wherein the reference fitting curve is a standard fitting curve representing that the aging degree of the target battery is zero;
the initial battery capacity and the reference fitted curve are saved to a database.
Optionally, calculating the target battery capacity of the target battery according to the initial battery capacity, the reference fitting curve, the real-time battery capacity and the real-time fitting curve, includes:
calculating the real-time aging slope of the target battery according to the real-time fitting curve;
acquiring a historical aging slope set calculated in previous N charge-discharge cycles from a database, wherein N is an integer greater than 0;
judging whether the maximum difference value of the historical aging slope set and the real-time aging slope is larger than a preset correction threshold value or not;
if yes, calculating the zero aging slope of the target battery according to the reference fitting curve;
and calculating the target battery capacity of the target battery according to the initial battery capacity, the zero aging slope, the real-time battery capacity and the zero aging slope.
Optionally, after the battery display power is corrected according to the target battery capacity and the initial battery capacity, the method further includes:
correcting the battery capacity parameter according to the target battery capacity;
and locally storing the calculation data in the current charging cycle.
Optionally, obtaining a real-time current curve and a real-time voltage curve of the target battery in one charge-discharge cycle includes:
sampling a current value and a voltage value of a target battery in one charge-discharge cycle to generate a current value set and a voltage value set;
and generating a real-time current curve and a real-time voltage curve according to the current value set and the voltage value set.
This application second aspect provides a device that intelligent correction of battery display electric quantity to increase the accuracy degree that the battery shows the electric quantity, the device includes:
the first acquisition unit is used for acquiring a real-time current curve and a real-time voltage curve of the target battery in one charge-discharge cycle, wherein the real-time current curve is a curve generated by current and time in the charge-discharge cycle, and the real-time voltage curve is a curve generated by voltage and time in the charge-discharge cycle;
the second acquisition unit is used for acquiring a full-current value and a zero-current voltage value of the target battery, wherein the full-current value is an input current value preset by the target battery when charging is completed, and the zero-current voltage value is an output voltage value preset by the target battery when discharging is completed;
the first calculation unit is used for calculating real-time battery capacity and a real-time fitting curve according to the real-time current curve, the real-time voltage curve, the full-current value and the zero-current voltage value, wherein the real-time fitting curve is a curve representing the aging degree of the target battery;
the third obtaining unit is used for obtaining the initial battery capacity and a reference fitting curve of the target battery from the database, wherein the reference fitting curve is a standard fitting curve representing that the aging degree of the target battery is zero;
the second calculation unit is used for calculating the target battery capacity of the target battery according to the initial battery capacity, the reference fitting curve, the real-time battery capacity and the real-time fitting curve;
and the first correcting unit is used for correcting the display electric quantity of the battery according to the target battery capacity and the initial battery capacity.
Optionally, the first computing unit includes:
the first determining module is used for determining the discharging completion time according to the zero-voltage value and the real-time voltage curve;
the second determining module is used for determining the charging completion time according to the full-current value and the real-time current curve;
and the calculation module is used for calculating the real-time battery capacity and the real-time fitting curve according to the charging completion time, the discharging completion time, the real-time current curve and the real-time voltage curve.
Optionally, the calculation module specifically includes:
determining a charging time period and a discharging time period according to the charging completion time and the discharging completion time;
calculating the real-time battery capacity and the average current value according to the real-time current curve, the charging time period and the discharging time period;
calculating an average voltage value according to the real-time voltage curve, the charging time period and the discharging time period;
and calculating a real-time fitting curve according to the average current value and the average voltage value.
Optionally, the apparatus further comprises:
the fourth acquisition unit is used for acquiring an initial current curve and an initial voltage curve of the target battery in an initial charge-discharge cycle;
the third calculating unit is used for calculating the initial battery capacity and a reference fitting curve of the target battery according to the initial current curve and the initial voltage curve, and the reference fitting curve is a standard fitting curve representing that the aging degree of the target battery is zero;
and a first saving unit for saving the initial battery capacity and the reference fitting curve into the database.
Optionally, the second calculating unit specifically includes:
calculating the real-time aging slope of the target battery according to the real-time fitting curve;
acquiring a historical aging slope set calculated in previous N charge-discharge cycles from a database, wherein N is an integer greater than 0;
judging whether the maximum difference value of the historical aging slope set and the real-time aging slope is larger than a preset correction threshold value or not;
if yes, calculating the zero aging slope of the target battery according to the reference fitting curve;
and calculating the target battery capacity of the target battery according to the initial battery capacity, the zero aging slope, the real-time battery capacity and the zero aging slope.
Optionally, the apparatus further comprises:
a second correction unit for correcting the battery capacity parameter according to the target battery capacity;
and the second storage unit is used for locally storing the calculation data in the current charging cycle.
Optionally, the first obtaining unit specifically includes:
sampling a current value and a voltage value of a target battery in one charge-discharge cycle to generate a current value set and a voltage value set;
and generating a real-time current curve and a real-time voltage curve according to the current value set and the voltage value set.
A third aspect of the present application provides an electronic device, comprising:
the device comprises a processor, a memory, an input and output unit and a bus;
the processor is connected with the memory, the input and output unit and the bus;
the memory stores a program that is invoked by the processor to perform the method of the first aspect and any optional battery display charge intelligent modification of the first aspect.
A fourth aspect of the present application provides a computer-readable storage medium, on which a program is stored, where the program, when executed on a computer, performs the method for intelligently correcting the battery display power according to the first aspect and any optional method according to the first aspect.
According to the technical scheme, the embodiment of the application has the following advantages:
firstly, a real-time current curve and a real-time voltage curve of a target battery to be detected in one charge-discharge cycle are obtained, wherein the real-time current curve is a curve generated by current and time in the charge-discharge cycle, and the real-time voltage curve is a curve generated by voltage and time in the charge-discharge cycle. And then, acquiring a full current value and a zero voltage value of the target battery, wherein the full current value is an input current value preset by the target battery when charging is completed, and the zero voltage value is an output voltage value preset by the target battery when discharging is completed. And calculating a real-time battery capacity and a real-time fitting curve according to the real-time current curve, the real-time voltage curve, the full-current value and the zero-current voltage value, wherein the real-time fitting curve is a curve representing the aging degree of the target battery. And then acquiring the initial battery capacity of the target battery and a reference fitting curve from the database, wherein the reference fitting curve is a standard fitting curve representing that the aging degree of the target battery is zero. And calculating the target battery capacity of the target battery according to the initial battery capacity, the reference fitting curve, the real-time battery capacity and the real-time fitting curve, and finally correcting the battery display electric quantity according to the target battery capacity and the initial battery capacity. In the method, a real-time voltage curve and a real-time current curve are obtained, a real-time fitting curve of a current target battery and the real-time battery capacity with low accuracy are generated, initial battery capacity and a reference fitting curve are compared, the aging degree of the target battery is determined through the reference fitting curve and the real-time fitting curve, and the target battery capacity with high accuracy is calculated jointly according to the real-time battery capacity, the initial battery capacity, the reference fitting curve and the real-time fitting curve. Due to the data reference of the initial battery capacity and the reference fitting curve, the accuracy of the target battery capacity is improved, and the accuracy of the battery display electric quantity is further 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 based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of an embodiment of a method for intelligently correcting a battery display capacity according to an embodiment of the present application;
FIG. 2 is a graph of charging current energy versus battery energy according to an embodiment of the present disclosure;
3-1, 3-2 and 3-3 are schematic diagrams of another embodiment of the method for intelligently correcting the display capacity of the battery according to the embodiment of the application;
FIG. 4 is a schematic diagram of an embodiment of an apparatus for intelligently correcting battery display power according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of another embodiment of an apparatus for intelligently correcting battery display power according to an embodiment of the present disclosure;
fig. 6 is a schematic view of an embodiment of an electronic 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 or implying relative 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 "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.
In the prior art, when a battery starts to be charged or discharged, the actual electric quantity of the battery cannot be directly known, but the actual electric quantity is indirectly measured through a certain measuring means, for example, the current capacity of the battery is determined from the charging current or the discharging voltage. For battery aging, the battery display charge needs to be corrected, for example, the battery capacity of one battery has aged 95 percent of the initial battery capacity, but the battery display charge cannot be marked as 95 percent when the charging is completed, and needs to be corrected to a one-hundred percent form.
However, since the battery may have a problem of aging, when the battery capacity is calculated by directly measuring the real-time voltage and the real-time current of the charge-discharge cycle, the accuracy of the battery capacity is reduced because the parameters of the initial battery are not compared, and the accuracy of the battery displaying the electric quantity is further reduced.
Based on the method, the method and the related device for intelligently correcting the battery display electric quantity are used for increasing the accuracy of the target battery capacity and further improving the accuracy of the battery display electric quantity.
The technical solutions in the present application will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The method of the present application may be applied to a server, a device, a terminal, or other devices with logic processing capability, and the present application is not limited thereto. For convenience of description, the following description will be given taking the execution body as an example.
Referring to fig. 1, the present application provides an embodiment of a method for intelligently correcting battery display power, including:
101. acquiring a real-time current curve and a real-time voltage curve of a target battery in one charge-discharge cycle, wherein the real-time current curve is a curve generated by current and time in the charge-discharge cycle, and the real-time voltage curve is a curve generated by voltage and time in the charge-discharge cycle;
the target battery in the embodiment of the application is a rechargeable battery capable of supplementing electric quantity through charging in the electronic device, when the target battery is charged, the charging current is reduced along with the increase of the electric quantity, and when the target battery is discharged, the discharging voltage is reduced along with the increase of the electric quantity. The electronic device in the embodiment of the present application may be a mobile phone, a tablet computer, or a notebook computer, and the electronic device is not limited herein, and any electronic device that needs to display the battery level belongs to the protection scope of the embodiment of the present application.
The real-time current curve is a curve generated by current and time of a target battery in charge and discharge cycles and comprises a real-time current curve of a charge time period and a real-time current curve of a discharge time period.
The real-time voltage curve is a curve generated by voltage and time of a target battery in charge and discharge cycles and comprises a real-time voltage curve of a charge time period and a real-time voltage curve of a discharge time period.
In this embodiment, the terminal records a real-time current curve and a real-time voltage curve of a charge-discharge cycle, instead of only acquiring the real-time current curve and the real-time voltage curve in the charge stage, so as to refer to the aging condition of the target battery in the charge state and the discharge state at the same time, thereby improving the subsequent calculation accuracy.
102. Acquiring a full-electricity current value and a zero-electricity voltage value of a target battery, wherein the full-electricity current value is an input current value preset by the target battery when charging is completed, and the zero-electricity voltage value is an output voltage value preset by the target battery when discharging is completed;
the full-charge current value is an input current value preset by the target battery when charging is completed, that is, when the target battery is in a charging state, as long as the input current reaches the preset full-charge current value, we can consider that the target battery is charged at this moment. Referring to fig. 2, fig. 2 is a diagram illustrating a percentage of battery charge during a charging process. The charging current will continuously decrease along with the increase of the battery capacity, and when the charging current decreases to 10% of the maximum charging current, that is, the full current value is reached, we consider that the real-time capacity of the target battery is close to 100%, that is, the target battery completes charging.
Fig. 2 is a schematic diagram for facilitating the relationship between the full-electricity current value and the real-time electricity quantity of the target battery in the embodiment of the present application, and in practical applications, it is necessary to discuss the relationship between the full-electricity current value and the real-time electricity quantity of the target battery according to different types of batteries, that is, the full-electricity current values of all the batteries are not 10% of the maximum charging current.
The zero-voltage value is an output voltage value preset by the target battery when the discharge of the target battery is completed, namely when the target battery is in a discharge state, as long as the output voltage reaches the preset zero-voltage value, the target battery can be considered to be completely discharged at the moment. For example: when the target battery is in a discharged state, when the discharge voltage decreases from the maximum discharge voltage to 3.2V, the target battery at that time may be considered to be completely discharged. In practical applications, it is necessary to discuss the different types of batteries, that is, the zero voltage value can be considered as a setting, rather than being identical.
The terminal obtains the full current value and the zero voltage value of the target battery, and aims to determine the charging time and the discharging time for subsequent calculation.
103. Calculating a real-time battery capacity and a real-time fitting curve according to the real-time current curve, the real-time voltage curve, the full current value and the zero voltage value, wherein the real-time fitting curve is a curve representing the aging degree of the target battery;
the real-time battery capacity is an estimated value of the current electric quantity of the target battery and is mainly calculated through a real-time current curve, the full-electric current value is used for determining a charging time period, the zero-electric voltage value is used for determining a discharging time period, and the real-time battery capacity is calculated through integration. However, the real-time battery capacity is obtained by integrating the current curve, but the accuracy of the real-time battery capacity is not high due to the aging of the target battery, and the real-time battery capacity is mainly used for subsequent calculation.
The real-time fitting curve is obtained by calculating a real-time current curve and a real-time voltage curve, the relation between the current and the voltage of the target battery in one charge-discharge cycle is represented, the slope of the real-time fitting curve is inversely proportional to the real capacity of the battery, namely the slope is larger, and the aging degree is larger.
And the terminal calculates the real-time battery capacity and a real-time fitting curve according to the real-time current curve, the real-time voltage curve, the full current value and the zero voltage value, wherein the real-time fitting curve is a curve representing the aging degree of the target battery.
104. Acquiring initial battery capacity and a reference fitting curve of a target battery from a database, wherein the reference fitting curve is a standard fitting curve representing that the aging degree of the target battery is zero;
the initial battery capacity is calculated when the target battery is subjected to a charge-discharge cycle for the first time before leaving the factory, and the calculation method is similar to step 103, and is not described herein again.
The reference fitting curve is also calculated data when the target battery is subjected to charge-discharge cycle for the first time before leaving the factory, and the calculation method is similar to step 103, and is not described herein again.
In the embodiment of the application, the initial battery capacity and the reference fitting curve are obtained to serve as reference standards for the real-time battery capacity and the real-time fitting curve.
105. Calculating the target battery capacity of the target battery according to the initial battery capacity, the reference fitting curve, the real-time battery capacity and the real-time fitting curve;
and the terminal calculates the target battery capacity of the target battery according to the initial battery capacity, the reference fitting curve, the real-time battery capacity and the real-time fitting curve. Specifically, in this embodiment, the aging degree of the target battery is estimated by comparing the initial battery capacity and the real-time battery capacity. And comparing the numerical relationship between the reference fitting curve and the real-time fitting curve, and calculating the initial battery capacity and the real-time battery capacity to obtain the target battery capacity.
106. And correcting the display electric quantity of the battery according to the target battery capacity and the initial battery capacity.
The terminal corrects the battery display electric quantity according to the target battery capacity and the initial battery capacity, the battery display electric quantity is in a percentage form, and after the terminal calculates the current target battery capacity, the battery parameters needing to be displayed can be corrected according to the real-time electric quantity. For example: the initial capacity of the target battery is 100 units, but as the aging degree is increased, the capacity of the target battery is reduced to 90 units, and the display capacity of the modified battery is divided by 90, wherein A is the unit of real-time capacity, and when A is 45, the display capacity of the battery is modified to 50 percent.
Firstly, a terminal acquires a real-time current curve and a real-time voltage curve of a target battery to be detected in one charge-discharge cycle, wherein the real-time current curve is a curve generated by current and time in the charge-discharge cycle, and the real-time voltage curve is a curve generated by voltage and time in the charge-discharge cycle. And then, the terminal acquires a full current value and a zero voltage value of the target battery, wherein the full current value is an input current value preset by the target battery when charging is completed, and the zero voltage value is an output voltage value preset by the target battery when discharging is completed. And the terminal calculates the real-time battery capacity and a real-time fitting curve according to the real-time current curve, the real-time voltage curve, the full-current value and the zero-current voltage value, wherein the real-time fitting curve is a curve representing the aging degree of the target battery. And then the terminal acquires the initial battery capacity of the target battery and a reference fitting curve from the database, wherein the reference fitting curve is a standard fitting curve representing that the aging degree of the target battery is zero. And the terminal calculates the target battery capacity of the target battery according to the initial battery capacity, the reference fitting curve, the real-time battery capacity and the real-time fitting curve, and finally corrects the battery display electric quantity according to the target battery capacity and the initial battery capacity. In the method, a real-time voltage curve and a real-time current curve are obtained, a real-time fitting curve of a current target battery and the real-time battery capacity with low accuracy are generated, initial battery capacity and a reference fitting curve are compared, the aging degree of the target battery is determined through the reference fitting curve and the real-time fitting curve, and the target battery capacity with high accuracy is calculated jointly according to the real-time battery capacity, the initial battery capacity, the reference fitting curve and the real-time fitting curve. Due to the data reference of the initial battery capacity and the reference fitting curve, the accuracy of the target battery capacity is improved, and the accuracy of the battery display electric quantity is further improved.
Referring to fig. 3-1, 3-2 and 3-3, the present application provides an embodiment of a method for intelligently correcting a battery display capacity, including:
301. acquiring an initial current curve and an initial voltage curve of a target battery in an initial charge-discharge cycle;
the terminal obtains an initial current curve and an initial voltage curve of the target battery in an initial charging and discharging cycle, wherein the initial current curve is a curve generated by current and time of the target battery in the initial charging and discharging cycle and comprises a real-time current curve of a charging time period and a real-time current curve of a discharging time period. The initial voltage curve is a curve generated by the voltage and time of the target battery in the initial charge-discharge cycle, and comprises a real-time voltage curve of a charge time period and a real-time voltage curve of a discharge time period.
The initial charge-discharge cycle is a test of current and voltage of the target battery before delivery, and parameters of the target battery when the target battery is aged the lowest are obtained.
302. Calculating an initial battery capacity and a reference fitting curve of the target battery according to the initial current curve and the initial voltage curve, wherein the reference fitting curve is a standard fitting curve representing that the aging degree of the target battery is zero;
and the terminal calculates the initial battery capacity and the reference fitting curve of the target battery according to the initial current curve and the initial voltage curve, and the calculation method of the initial battery capacity and the reference fitting curve is similar to that in step 103 and is not repeated here.
303. Storing the initial battery capacity and the reference fitted curve into a database;
after the terminal generates the initial battery capacity and the reference fitting curve, the initial battery capacity and the reference fitting curve are saved in a database, so that the initial battery capacity and the reference fitting curve can be used as a reference standard to calculate the target battery capacity of the target battery every charge and discharge cycle.
304. Sampling a current value and a voltage value of a target battery in one charge-discharge cycle to generate a current value set and a voltage value set;
the terminal samples the current value and the voltage value of the target battery in one charge-discharge cycle, and the continuous recorded data can be used for sampling the memory of the electronic equipment, so that firstly, the current value and the voltage value in one charge-discharge cycle are only required to be sampled at intervals, and the current value set and the voltage value set are generated according to the collected current value and voltage value and the corresponding time point.
305. Generating a real-time current curve and a real-time voltage curve according to the current value set and the voltage value set;
the terminal obtains the conversion of a current value set and a voltage value set which are sampled at intervals, curve generation is carried out, a real-time current curve is generated through the current value set and time, and a real-time voltage curve is generated through the voltage value set and time.
306. Acquiring a full-electricity current value and a zero-electricity voltage value of a target battery, wherein the full-electricity current value is an input current value preset by the target battery when charging is completed, and the zero-electricity voltage value is an output voltage value preset by the target battery when discharging is completed;
step 305 in this embodiment is similar to step 102 in the previous embodiment, and is not described herein again.
307. Determining the discharge completion time according to the zero-voltage value and the real-time voltage curve;
and the terminal determines the discharge completion time according to the zero voltage value and the real-time voltage curve, namely the discharge completion time of the target battery is determined in the real-time voltage curve through the zero voltage value.
308. Determining the charging completion time according to the full-current value and the real-time current curve;
and the terminal determines the charging completion time according to the full-current value and the real-time current curve, namely the charging completion time of the target battery is determined in the real-time current curve according to the full-current value.
309. Determining a charging time period and a discharging time period according to the charging completion time and the discharging completion time;
the terminal determines a charging time period and a discharging time period according to the charging completion time and the discharging completion time, specifically, firstly, determining a charging starting time, then, calculating the charging time period according to the charging completion time, then, determining a charging ending time point, and then, determining the discharging time period according to the discharging completion time.
310. Calculating the real-time battery capacity and the average current value according to the real-time current curve, the charging time period and the discharging time period;
and the terminal calculates the capacity of the real-time battery in an integral mode according to the real-time current curve, the charging time period and the discharging time period, and calculates the average current value according to the charging time period and the discharging time period.
Specifically, the formula for calculating the real-time battery capacity may be:
wherein S isReal timeFor real-time battery capacity, t0 is the charge start point, t1 is the charge completion time, t2 is the end charge time, t3 is the discharge completion time, and i (x) is a function of the real-time current curve.
The average current value may be calculated by:
wherein, IFlat plateIs the average current value. The above formula of the real-time battery capacity and the average current value calculation formula are only one of the calculation methods, and in the embodiment of the present application, other calculation forms may also be used, which is not limited herein.
311. Calculating an average voltage value according to the real-time voltage curve, the charging time period and the discharging time period;
the terminal calculates an average voltage value according to the real-time voltage curve, the charging time period and the discharging time period, and the calculation mode of the average voltage value can be as follows:
wherein, UFlat plateAs the average current value, DReal timeFor the voltage integration parameter, U (x) is a function of the real-time voltage curve. The above average voltage value calculation formula is only one of the calculation methods, and in the embodiment of the present application, other calculation forms may also be used, which is not limited herein.
312. Calculating a real-time fitting curve according to the average current value and the average voltage value;
and the terminal calculates a real-time fitting curve according to the average current value and the average voltage value, wherein the calculation of the real-time fitting curve needs to involve a high-order fitting curve and needs to use a matrix to calculate each coefficient of the function.
For example: and (3) a quadratic fitting curve, namely dividing the average voltage value by the average current value to obtain a coefficient b of a primary term, determining a coefficient c of a 0-time term, and finally calculating a quadratic term coefficient a by dividing the matrix and the average voltage value by the average current value to obtain a fitting curve ax ^2+ bx + c.
313. Acquiring initial battery capacity and a reference fitting curve of a target battery from a database, wherein the reference fitting curve is a standard fitting curve representing that the aging degree of the target battery is zero;
step 313 in this embodiment is similar to step 104 in the previous embodiment, and is not described herein again.
314. Calculating the real-time aging slope of the target battery according to the real-time fitting curve;
the terminal calculates the real-time aging slope of the target battery according to the real-time fitting curve, specifically, performs slope calculation on a certain reference segment of the fitting curve, or performs slope calculation on a certain point as a reference point, which is not limited herein. The larger the slope, the greater the degree of aging of the target battery.
315. Acquiring a historical aging slope set calculated in previous N charge-discharge cycles from a database, wherein N is an integer greater than 0;
and the terminal acquires a historical aging slope set calculated in the previous N times of charge-discharge cycles from the database, and compares the slope of a fitted curve of the current charge-discharge cycle with that of the previous N times of charge-discharge cycles.
316. Judging whether the maximum difference value of the historical aging slope set and the real-time aging slope is larger than a preset correction threshold value or not;
the terminal judges whether the maximum difference value of the historical aging slope set and the real-time aging slope is larger than a preset correction threshold value, and the larger the slope is, the larger the aging degree of the target battery is. When the user uses the electronic equipment more regularly, the wear of the target battery is smaller, the change of the historical aging slope set is smaller, and the maximum difference value relative to the real-time aging slope is smaller.
317. If yes, calculating the zero aging slope of the target battery according to the reference fitting curve;
when the target battery is worn more, the change of the historical aging slope set is larger, and the maximum difference value relative to the real-time aging slope is larger, the terminal calculates the zero aging slope of the target battery according to the reference fitting curve, and the calculation method is similar to the step 310, and is not limited herein.
318. Calculating the target battery capacity of the target battery according to the initial battery capacity, the zero aging slope, the real-time battery capacity and the zero aging slope;
the terminal calculates the target battery capacity of the target battery according to the initial battery capacity, the zero-aging slope, the real-time battery capacity and the zero-aging slope, the slope used for fitting the curve is in direct proportion to the aging degree of the battery and in inverse proportion to the battery capacity, and the target battery capacity of the target battery can be calculated by using the initial battery capacity, the zero-aging slope, the real-time battery capacity and the zero-aging slope.
319. And correcting the display electric quantity of the battery according to the target battery capacity and the initial battery capacity.
Step 319 in this embodiment is similar to step 106 in the previous embodiment, and is not described here again.
320. Correcting the battery capacity parameter according to the target battery capacity;
the terminal corrects the battery capacity parameter according to the target battery capacity, and besides correcting the display electric quantity of the battery, the terminal also needs to correct the calculated target battery capacity to the battery capacity parameter of the target battery, so that the electronic equipment can accurately determine the state of the target battery.
321. And locally storing the calculation data in the current charging cycle.
The terminal stores the calculation data in the charging cycle locally, so that the charging and discharging cycle can be conveniently used next time.
The method comprises the steps that firstly, a terminal obtains an initial current curve and an initial voltage curve of a target battery in an initial charging and discharging cycle, the terminal calculates the initial battery capacity and a reference fitting curve of the target battery according to the initial current curve and the initial voltage curve, then the terminal stores the initial battery capacity and the reference fitting curve into a database, and reference data are provided for each starting point cycle calculation. The terminal obtains and samples a current value and a voltage value of the target battery in one charge-discharge cycle, and generates a current value set and a voltage value set. And the terminal generates a real-time current curve and a real-time voltage curve according to the current value set and the voltage value set, and then acquires a full-current value and a zero-voltage value of the target battery, wherein the full-current value is an input current value preset by the target battery when charging is completed, and the zero-voltage value is an output voltage value preset by the target battery when discharging is completed.
And the terminal determines the discharge completion time according to the zero-electricity voltage value and the real-time voltage curve, and determines the charge completion time according to the full-electricity current value and the real-time current curve. And after the terminal determines a charging time period and a discharging time period according to the charging completion time and the discharging completion time, the terminal calculates the real-time battery capacity and the average current value according to the real-time current curve, the charging time period and the discharging time period. And the terminal calculates an average voltage value according to the real-time voltage curve, the charging time period and the discharging time period, and then calculates a real-time fitting curve according to the average current value and the average voltage value. And the terminal acquires the initial battery capacity and the reference fitting curve of the target battery from the database and calculates the real-time aging slope of the target battery according to the real-time fitting curve. And the terminal acquires a historical aging slope set calculated in the previous N times of charge and discharge cycles from the database, wherein N is an integer greater than 0. And then, the terminal judges whether the maximum difference value between the historical aging slope set and the real-time aging slope is larger than a preset correction threshold value, and if so, the zero aging slope of the target battery is calculated according to the reference fitting curve. And the terminal calculates the target battery capacity of the target battery according to the initial battery capacity, the zero aging slope, the real-time battery capacity and the zero aging slope, corrects the battery display electric quantity according to the target battery capacity and the initial battery capacity, corrects the battery capacity parameter according to the target battery capacity, and finally, the terminal locally stores the calculation data in the current charging cycle.
In the method, a real-time voltage curve and a real-time current curve are obtained, a real-time fitting curve of a current target battery and the real-time battery capacity with low accuracy are generated, initial battery capacity and a reference fitting curve are compared, the aging degree of the target battery is determined through the reference fitting curve and the real-time fitting curve, and the target battery capacity with high accuracy is calculated jointly according to the real-time battery capacity, the initial battery capacity, the reference fitting curve and the real-time fitting curve. Due to the data reference of the initial battery capacity and the reference fitting curve, the accuracy of the target battery capacity is improved, and the accuracy of the battery display electric quantity is further improved.
And secondly, sampling the current value and the voltage value of the target battery in one charge-discharge cycle to generate a current value set and a voltage value set, so that the memory pressure of the electronic equipment is greatly reduced.
Secondly, comparing the historical aging slope set of the previous N times with the real-time aging slope, and when the change value is small, the current adjustment can be abandoned, so that the workload is reduced.
Referring to fig. 4, the present application provides an embodiment of an apparatus for intelligently correcting battery display power, including:
the first obtaining unit 401 is configured to obtain a real-time current curve and a real-time voltage curve of the target battery in one charge and discharge cycle, where the real-time current curve is a curve generated by current and time in the charge and discharge cycle, and the real-time voltage curve is a curve generated by voltage and time in the charge and discharge cycle;
a second obtaining unit 402, configured to obtain a full current value and a zero voltage value of the target battery, where the full current value is an input current value preset by the target battery when charging is completed, and the zero voltage value is an output voltage value preset by the target battery when discharging is completed;
a first calculating unit 403, configured to calculate a real-time battery capacity and a real-time fitted curve according to the real-time current curve, the real-time voltage curve, the full-current value, and the zero-current voltage value, where the real-time fitted curve is a curve representing an aging degree of the target battery;
a third obtaining unit 404, configured to obtain an initial battery capacity of the target battery and a reference fitted curve from the database, where the reference fitted curve is a standard fitted curve representing that the aging degree of the target battery is zero;
a second calculating unit 405 for calculating a target battery capacity of the target battery according to the initial battery capacity, the reference fitting curve, the real-time battery capacity, and the real-time fitting curve;
and a first correcting unit 406, configured to correct the battery display power according to the target battery capacity and the initial battery capacity.
First, the first obtaining unit 401 obtains a real-time current curve and a real-time voltage curve of a target battery to be detected in one charge-discharge cycle, where the real-time current curve is a curve generated by current and time in the charge-discharge cycle, and the real-time voltage curve is a curve generated by voltage and time in the charge-discharge cycle. Next, the second obtaining unit 402 obtains a full current value and a zero voltage value of the target battery, where the full current value is an input current value preset by the target battery when charging is completed, and the zero voltage value is an output voltage value preset by the target battery when discharging is completed. And the first calculation unit 403 calculates a real-time battery capacity and a real-time fitted curve, which is a curve representing the degree of aging of the target battery, from the real-time current curve, the real-time voltage curve, the full-current value, and the zero-current value. The third obtaining unit 404 then obtains the initial battery capacity of the target battery and a reference fitted curve from the database, the reference fitted curve being a standard fitted curve representing that the degree of aging of the target battery is zero. The second calculation unit 405 calculates a target battery capacity of the target battery according to the initial battery capacity, the reference fitting curve, the real-time battery capacity, and the real-time fitting curve, and finally the first correction unit 406 corrects the battery display capacity according to the target battery capacity and the initial battery capacity. In the method, a real-time voltage curve and a real-time current curve are obtained, a real-time fitting curve of a current target battery and the real-time battery capacity with low accuracy are generated, initial battery capacity and a reference fitting curve are compared, the aging degree of the target battery is determined through the reference fitting curve and the real-time fitting curve, and the target battery capacity with high accuracy is calculated jointly according to the real-time battery capacity, the initial battery capacity, the reference fitting curve and the real-time fitting curve. Due to the data reference of the initial battery capacity and the reference fitting curve, the accuracy of the target battery capacity is improved, and the accuracy of the battery display electric quantity is further improved.
Referring to fig. 5, the present application provides an embodiment of an apparatus for intelligently correcting battery display power, including:
a fourth obtaining unit 501, configured to obtain an initial current curve and an initial voltage curve of the target battery in an initial charge-discharge cycle;
and a third calculating unit 502, configured to calculate an initial battery capacity of the target battery and a reference fitting curve according to the initial current curve and the initial voltage curve, where the reference fitting curve is a standard fitting curve representing that the aging degree of the target battery is zero.
A first saving unit 503 for saving the initial battery capacity and the reference fitting curve into a database;
a first obtaining unit 504, configured to obtain a real-time current curve and a real-time voltage curve of the target battery in one charge and discharge cycle, where the real-time current curve is a curve generated by current and time in the charge and discharge cycle, and the real-time voltage curve is a curve generated by voltage and time in the charge and discharge cycle;
optionally, the first obtaining unit 504 specifically includes:
sampling a current value and a voltage value of a target battery in one charge-discharge cycle to generate a current value set and a voltage value set;
and generating a real-time current curve and a real-time voltage curve according to the current value set and the voltage value set.
A second obtaining unit 505, configured to obtain a full current value and a zero voltage value of the target battery, where the full current value is an input current value preset by the target battery when charging is completed, and the zero voltage value is an output voltage value preset by the target battery when discharging is completed;
a first calculating unit 506, configured to calculate a real-time battery capacity and a real-time fitted curve according to the real-time current curve, the real-time voltage curve, the full-current value, and the zero-current voltage value, where the real-time fitted curve is a curve representing an aging degree of the target battery;
optionally, the first calculating unit 506 includes:
a first determination module 5061, configured to determine a discharge completion time according to the zero electrical voltage value and the real-time voltage curve;
a second determination module 5062, configured to determine a charging completion time according to the full-current value and the real-time current curve;
and the calculating module 5063 is used for calculating the real-time battery capacity and a real-time fitting curve according to the charging completion time, the discharging completion time, the real-time current curve and the real-time voltage curve.
Optionally, the calculating module 5063 specifically includes:
determining a charging time period and a discharging time period according to the charging completion time and the discharging completion time;
calculating the real-time battery capacity and the average current value according to the real-time current curve, the charging time period and the discharging time period;
calculating an average voltage value according to the real-time voltage curve, the charging time period and the discharging time period;
and calculating a real-time fitting curve according to the average current value and the average voltage value.
A third obtaining unit 507, configured to obtain an initial battery capacity of the target battery and a reference fitting curve from the database, where the reference fitting curve is a standard fitting curve representing that the aging degree of the target battery is zero;
a second calculating unit 508 for calculating a target battery capacity of the target battery according to the initial battery capacity, the reference fitting curve, the real-time battery capacity, and the real-time fitting curve;
optionally, the second calculating unit 508 specifically includes:
calculating the real-time aging slope of the target battery according to the real-time fitting curve;
acquiring a historical aging slope set calculated in previous N charge-discharge cycles from a database, wherein N is an integer greater than 0;
judging whether the maximum difference value of the historical aging slope set and the real-time aging slope is larger than a preset correction threshold value or not;
if yes, calculating the zero aging slope of the target battery according to the reference fitting curve;
and calculating the target battery capacity of the target battery according to the initial battery capacity, the zero aging slope, the real-time battery capacity and the zero aging slope.
A first correction unit 509 for correcting the battery display power amount according to the target battery capacity and the initial battery capacity;
a second correcting unit 510 for correcting the battery capacity parameter according to the target battery capacity;
the second saving unit 511 is configured to locally save the calculation data in the current charging cycle.
First, the fourth obtaining unit 501 obtains an initial current curve and an initial voltage curve of the target battery in an initial charge-discharge cycle, the third calculating unit 502 calculates an initial battery capacity and a reference fitting curve of the target battery according to the initial current curve and the initial voltage curve, and the first saving unit 503 saves the initial battery capacity and the reference fitting curve into the database, and provides reference data for each calculation of a starting point cycle. The first obtaining unit 504 obtains and samples a current value and a voltage value of the target battery in one charge and discharge cycle, and generates a current value set and a voltage value set. The first obtaining unit 504 then generates a real-time current curve and a real-time voltage curve according to the current value set and the voltage value set, and then the second obtaining unit 505 obtains a full-current value and a zero-voltage value of the target battery, where the full-current value is an input current value preset by the target battery when charging is completed, and the zero-voltage value is an output voltage value preset by the target battery when discharging is completed.
The first determination module 5061 of the first calculation unit 506 determines the discharge completion time according to the zero electric voltage value and the real-time voltage curve, and the second determination module 5062 of the first calculation unit 506 determines the charge completion time according to the full electric current value and the real-time current curve. After the calculation module 5063 of the first calculation unit 506 determines the charging period and the discharging period according to the charging completion time and the discharging completion time, the calculation module 5063 calculates the real-time battery capacity and the average current value according to the real-time current curve, the charging period, and the discharging period. The calculation module 5063 calculates an average voltage value according to the real-time voltage curve, the charging time period and the discharging time period, and the calculation module 5063 calculates a real-time fitting curve according to the average current value and the average voltage value. The third obtaining unit 507 obtains the initial battery capacity of the target battery and the reference fitted curve from the database, and the second calculating unit 508 calculates the real-time aging slope of the target battery according to the real-time fitted curve. The second calculation unit 508 acquires a historical aging slope set calculated in the previous N charge-discharge cycles from the database, where N is an integer greater than 0. Next, the second calculating unit 508 determines whether the maximum difference between the historical aging slope set and the real-time aging slope is greater than a preset correction threshold, and if so, the second calculating unit 508 calculates the zero aging slope of the target battery according to the reference fitting curve. And the second calculating unit 508 calculates the target battery capacity of the target battery according to the initial battery capacity, the zero aging slope, the real-time battery capacity and the zero aging slope, the first correcting unit 509 corrects the battery display capacity according to the target battery capacity and the initial battery capacity, the second correcting unit 510 corrects the battery capacity parameter according to the target battery capacity, and finally the second saving unit 511 locally saves the calculation data in the current charging cycle.
In the method, a real-time voltage curve and a real-time current curve are obtained, a real-time fitting curve of a current target battery and the real-time battery capacity with low accuracy are generated, initial battery capacity and a reference fitting curve are compared, the aging degree of the target battery is determined through the reference fitting curve and the real-time fitting curve, and the target battery capacity with high accuracy is calculated jointly according to the real-time battery capacity, the initial battery capacity, the reference fitting curve and the real-time fitting curve. Due to the data reference of the initial battery capacity and the reference fitting curve, the accuracy of the target battery capacity is improved, and the accuracy of the battery display electric quantity is further improved.
And secondly, sampling the current value and the voltage value of the target battery in one charge-discharge cycle to generate a current value set and a voltage value set, so that the memory pressure of the electronic equipment is greatly reduced.
Secondly, comparing the historical aging slope set of the previous N times with the real-time aging slope, and when the change value is small, the current adjustment can be abandoned, so that the workload is reduced.
Referring to fig. 6, an embodiment of the present application provides an electronic device, including:
a processor 601, a memory 602, an input-output unit 603, and a bus 604;
the processor 601 is connected with the memory 602, the input/output unit 603 and the bus 604;
the memory 602 stores a program, and the processor 601 calls the program to execute the method for intelligently correcting the battery display capacity according to any one of fig. 1, 3-2 and 3-3.
The processor performs the following steps:
acquiring a real-time current curve and a real-time voltage curve of a target battery in one charge-discharge cycle, wherein the real-time current curve is a curve generated by current and time in the charge-discharge cycle, and the real-time voltage curve is a curve generated by voltage and time in the charge-discharge cycle;
acquiring a full-electricity current value and a zero-electricity voltage value of a target battery, wherein the full-electricity current value is an input current value preset by the target battery when charging is completed, and the zero-electricity voltage value is an output voltage value preset by the target battery when discharging is completed;
calculating a real-time battery capacity and a real-time fitting curve according to the real-time current curve, the real-time voltage curve, the full current value and the zero voltage value, wherein the real-time fitting curve is a curve representing the aging degree of the target battery;
acquiring initial battery capacity and a reference fitting curve of a target battery from a database, wherein the reference fitting curve is a standard fitting curve representing that the aging degree of the target battery is zero;
calculating the target battery capacity of the target battery according to the initial battery capacity, the reference fitting curve, the real-time battery capacity and the real-time fitting curve;
and correcting the display electric quantity of the battery according to the target battery capacity and the initial battery capacity.
Optionally, calculating a real-time battery capacity and a real-time fitting curve according to the real-time current curve, the real-time voltage curve, the full-current value and the zero-current voltage value, including:
determining the discharge completion time according to the zero-voltage value and the real-time voltage curve;
determining the charging completion time according to the full-current value and the real-time current curve;
and calculating the real-time battery capacity and a real-time fitting curve according to the charging completion time, the discharging completion time and the real-time current curve.
Optionally, calculating a real-time battery capacity and a real-time fitting curve according to the discharge completion time, the charge completion time, and the real-time current curve, including:
acquiring a charging keeping time period, wherein the charging keeping time period is the time when the target battery is charged but the charging is not disconnected;
and calculating the real-time battery capacity and a real-time fitting curve according to the discharge completion time, the charge keeping time period and the real-time current curve.
Optionally, before acquiring a real-time current curve and a real-time voltage curve of the target battery in one charge-discharge cycle, the method further includes:
acquiring an initial current curve and an initial voltage curve of a target battery in an initial charge-discharge cycle;
and calculating the initial battery capacity and a reference fitting curve of the target battery according to the initial current curve and the initial voltage curve, wherein the reference fitting curve is a standard fitting curve representing that the aging degree of the target battery is zero.
Optionally, calculating the target battery capacity of the target battery according to the initial battery capacity, the reference fitting curve, the real-time battery capacity and the real-time fitting curve, includes:
calculating the real-time aging slope of the target battery according to the real-time fitting curve;
acquiring a historical aging slope set calculated in the previous N charge-discharge cycles from a database;
judging whether the maximum difference value of the historical aging slope set and the real-time aging slope is larger than a preset correction threshold value or not;
if yes, calculating the zero aging slope of the target battery according to the reference fitting curve;
and calculating the target battery capacity of the target battery according to the initial battery capacity, the zero aging slope, the real-time battery capacity and the zero aging slope.
Optionally, after the battery display power is corrected according to the target battery capacity and the initial battery capacity, the method further includes:
correcting the battery capacity parameter according to the target battery capacity;
and locally storing the calculation data in the current charging cycle.
Optionally, obtaining a real-time current curve and a real-time voltage curve of the target battery in one charge-discharge cycle includes:
sampling a current value and a voltage value of a target battery in one charge-discharge cycle to generate a current value set and a voltage value set;
and generating a real-time current curve and a real-time voltage curve according to the current value set and the voltage value set.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
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, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
Claims (10)
1. A method for intelligently correcting battery display electric quantity is characterized by comprising the following steps:
acquiring a real-time current curve and a real-time voltage curve of a target battery in one charge-discharge cycle, wherein the real-time current curve is a curve generated by current and time in the charge-discharge cycle, and the real-time voltage curve is a curve generated by voltage and time in the charge-discharge cycle;
acquiring a full-current value and a zero-current voltage value of the target battery, wherein the full-current value is an input current value preset by the target battery when charging is completed, and the zero-current voltage value is an output voltage value preset by the target battery when discharging is completed;
calculating a real-time battery capacity and a real-time fitting curve according to the real-time current curve, the real-time voltage curve, the full-current value and the zero-current voltage value, wherein the real-time fitting curve is a curve representing the aging degree of the target battery;
acquiring initial battery capacity and a reference fitting curve of the target battery from a database, wherein the reference fitting curve is a standard fitting curve representing that the aging degree of the target battery is zero;
calculating a target battery capacity of the target battery according to the initial battery capacity, the reference fitting curve, the real-time battery capacity and the real-time fitting curve;
and correcting the battery display electric quantity according to the target battery capacity and the initial battery capacity.
2. The method of claim 1, wherein said calculating a real-time battery capacity and a real-time fit curve from said real-time current curve, said real-time voltage curve, said full-current value, and said zero-current voltage value comprises:
determining the discharge completion time according to the zero voltage value and the real-time voltage curve;
determining the charging completion time according to the full-current value and the real-time current curve;
and calculating real-time battery capacity and a real-time fitting curve according to the charging completion time, the discharging completion time, the real-time current curve and the real-time voltage curve.
3. The method of claim 2, wherein said calculating a real-time battery capacity and a real-time fit curve from said charge completion time, said discharge completion time, said real-time current curve and said real-time voltage curve comprises:
determining a charging time period and a discharging time period according to the charging completion time and the discharging completion time;
calculating the real-time battery capacity and the average current value according to the real-time current curve, the charging time period and the discharging time period;
calculating an average voltage value according to the real-time voltage curve, the charging time period and the discharging time period;
and calculating a real-time fitting curve according to the average current value and the average voltage value.
4. The method of claim 1, wherein prior to said obtaining a real-time current profile and a real-time voltage profile of the target battery over a charge-discharge cycle, the method further comprises:
acquiring an initial current curve and an initial voltage curve of a target battery in an initial charge-discharge cycle;
calculating an initial battery capacity and a reference fitting curve of the target battery according to the initial current curve and the initial voltage curve, wherein the reference fitting curve is a standard fitting curve representing that the aging degree of the target battery is zero;
saving the initial battery capacity and the reference fit curve to a database.
5. The method of any of claims 1-4, wherein said calculating a target battery capacity for the target battery from the initial battery capacity, the reference fit curve, the real-time battery capacity, and the real-time fit curve comprises:
calculating the real-time aging slope of the target battery according to the real-time fitting curve;
acquiring a historical aging slope set calculated in previous N charge-discharge cycles from a database, wherein N is an integer greater than 0;
judging whether the maximum difference value of the historical aging slope set and the real-time aging slope is larger than a preset correction threshold value or not;
if yes, calculating the zero-aging slope of the target battery according to the reference fitting curve;
and calculating the target battery capacity of the target battery according to the initial battery capacity, the real-time battery capacity and the zero aging slope.
6. The method of any of claims 1-4, wherein after said modifying battery display charge based on said target battery capacity and said initial battery capacity, said method further comprises:
correcting a battery capacity parameter according to the target battery capacity;
and locally storing the calculation data in the current charging cycle.
7. The method of any one of claims 1 to 4, wherein the obtaining a real-time current profile and a real-time voltage profile of the target battery in one charge-discharge cycle comprises:
sampling a current value and a voltage value of a target battery in one charge-discharge cycle to generate a current value set and a voltage value set;
and generating a real-time current curve and a real-time voltage curve according to the current value set and the voltage value set.
8. The utility model provides a device that intelligent correction of battery display electric quantity which characterized in that includes:
the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a real-time current curve and a real-time voltage curve of a target battery in one charge and discharge cycle, the real-time current curve is a curve generated by current and time in the charge and discharge cycle, and the real-time voltage curve is a curve generated by voltage and time in the charge and discharge cycle;
the second acquisition unit is used for acquiring a full-electric current value and a zero-electric voltage value of the target battery, wherein the full-electric current value is an input current value preset by the target battery when charging is completed, and the zero-electric voltage value is an output voltage value preset by the target battery when discharging is completed;
the first calculation unit is used for calculating a real-time battery capacity and a real-time fitting curve according to the real-time current curve, the real-time voltage curve, the full-current value and the zero-current voltage value, wherein the real-time fitting curve is a curve representing the aging degree of the target battery;
a third obtaining unit, configured to obtain an initial battery capacity of the target battery and a reference fitted curve from a database, where the reference fitted curve is a standard fitted curve representing that the aging degree of the target battery is zero;
a second calculation unit, configured to calculate a target battery capacity of the target battery according to the initial battery capacity, the reference fitted curve, the real-time battery capacity, and the real-time fitted curve;
and the first correcting unit is used for correcting the display electric quantity of the battery according to the target battery capacity and the initial battery capacity.
9. An electronic device, comprising:
the device comprises a processor, a memory, an input and output unit and a bus;
the processor is connected with the memory, the input and output unit and the bus;
the memory stores a program called by the processor to execute the method for intelligently correcting the display electric quantity of the battery according to any one of claims 1 to 7.
10. A computer-readable storage medium having a program stored thereon, the program, when executed on a computer, performing the method of intelligently correcting the amount of display power of a battery according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111352263.5A CN113791357B (en) | 2021-11-16 | 2021-11-16 | Method and related device for intelligently correcting battery display electric quantity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111352263.5A CN113791357B (en) | 2021-11-16 | 2021-11-16 | Method and related device for intelligently correcting battery display electric quantity |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113791357A CN113791357A (en) | 2021-12-14 |
CN113791357B true CN113791357B (en) | 2022-03-29 |
Family
ID=78955437
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111352263.5A Active CN113791357B (en) | 2021-11-16 | 2021-11-16 | Method and related device for intelligently correcting battery display electric quantity |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113791357B (en) |
Citations (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200407552A (en) * | 2002-11-12 | 2004-05-16 | Leadtek Informations Co Ltd | Apparatus for automatically calibrating the charge amount of battery displayed on an electronic equipment and method for displaying the charge amount of battery |
CN103605093A (en) * | 2013-11-05 | 2014-02-26 | 广东欧珀移动通信有限公司 | Calibration method of display electricity value and system thereof |
CN103901347A (en) * | 2012-12-28 | 2014-07-02 | 华为终端有限公司 | Method for display of battery level and terminal |
CN103941194A (en) * | 2014-04-28 | 2014-07-23 | 广西卓能新能源科技有限公司 | Electric quantity displaying method and device for intelligent lithium ion battery |
CN104865533A (en) * | 2015-04-30 | 2015-08-26 | 江苏中辆科技有限公司 | High-precision display method for state of charge (SOC) of on-vehicle power supply |
CN105388422A (en) * | 2014-09-01 | 2016-03-09 | 横河电机株式会社 | secondary battery capacity measurement system and secondary battery capacity measurement method |
CN106249168A (en) * | 2016-08-31 | 2016-12-21 | 福州瑞芯微电子股份有限公司 | A kind of battery curve modification method and device |
CN106597307A (en) * | 2016-12-16 | 2017-04-26 | 东莞新能德科技有限公司 | Method and device for correcting estimated value of remaining battery power |
CN106842042A (en) * | 2016-12-28 | 2017-06-13 | 深圳天珑无线科技有限公司 | It is a kind of that method, system and the electronic equipment calibrated are shown to electricity |
CN107064805A (en) * | 2016-01-21 | 2017-08-18 | 横河电机株式会社 | Battery capacity measuring system and battery capacity measuring method |
CN107290674A (en) * | 2017-05-19 | 2017-10-24 | 深圳市金立通信设备有限公司 | A kind of calibration method and terminal for showing charge value |
CN107608863A (en) * | 2017-07-31 | 2018-01-19 | 维沃移动通信有限公司 | The calibration method and mobile terminal that a kind of electricity is shown |
CN109239611A (en) * | 2018-11-26 | 2019-01-18 | 努比亚技术有限公司 | Terminal battery electricity quantity calibration method, terminal and computer readable storage medium |
CN110249233A (en) * | 2017-02-09 | 2019-09-17 | Abb瑞士股份有限公司 | Health status for battery is estimated |
CN110297192A (en) * | 2019-07-04 | 2019-10-01 | 广东乐心医疗电子股份有限公司 | Method for estimating electric quantity during charging and discharging of battery and electric quantity correction method during starting |
CN111239624A (en) * | 2020-02-21 | 2020-06-05 | 中航锂电(洛阳)有限公司 | Battery capacity calibration method and device, electronic equipment and storage medium |
CN111257760A (en) * | 2020-05-06 | 2020-06-09 | 长沙德壹科技有限公司 | Storage battery capacity verification method and device |
CN111521945A (en) * | 2020-05-06 | 2020-08-11 | 江苏美的清洁电器股份有限公司 | Battery health state detection method and device, electronic equipment and storage medium |
CN111562501A (en) * | 2020-06-04 | 2020-08-21 | 奇瑞商用车(安徽)有限公司 | Lithium ion battery SOC-OCV relation curve calibration method |
CN112172604A (en) * | 2019-07-01 | 2021-01-05 | 福特全球技术公司 | SOC (System on chip) resetting method based on self-adaptive open-circuit voltage at end of charging |
CN112782599A (en) * | 2020-12-28 | 2021-05-11 | 清华大学 | Nondestructive lithium analysis detection method and device for lithium ion battery and computer equipment |
CN113030821A (en) * | 2019-12-24 | 2021-06-25 | 中移物联网有限公司 | Electric quantity calibration method and device |
CN113189500A (en) * | 2021-04-28 | 2021-07-30 | 深圳市杉川机器人有限公司 | Battery electric quantity calculation method and device, computer equipment and storage medium |
WO2021191993A1 (en) * | 2020-03-24 | 2021-09-30 | Tdk株式会社 | Control device for secondary battery, control system for secondary battery, and control method for secondary battery pack and secondary battery |
-
2021
- 2021-11-16 CN CN202111352263.5A patent/CN113791357B/en active Active
Patent Citations (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200407552A (en) * | 2002-11-12 | 2004-05-16 | Leadtek Informations Co Ltd | Apparatus for automatically calibrating the charge amount of battery displayed on an electronic equipment and method for displaying the charge amount of battery |
CN103901347A (en) * | 2012-12-28 | 2014-07-02 | 华为终端有限公司 | Method for display of battery level and terminal |
CN103605093A (en) * | 2013-11-05 | 2014-02-26 | 广东欧珀移动通信有限公司 | Calibration method of display electricity value and system thereof |
CN103941194A (en) * | 2014-04-28 | 2014-07-23 | 广西卓能新能源科技有限公司 | Electric quantity displaying method and device for intelligent lithium ion battery |
CN105388422A (en) * | 2014-09-01 | 2016-03-09 | 横河电机株式会社 | secondary battery capacity measurement system and secondary battery capacity measurement method |
CN104865533A (en) * | 2015-04-30 | 2015-08-26 | 江苏中辆科技有限公司 | High-precision display method for state of charge (SOC) of on-vehicle power supply |
CN107064805A (en) * | 2016-01-21 | 2017-08-18 | 横河电机株式会社 | Battery capacity measuring system and battery capacity measuring method |
CN106249168A (en) * | 2016-08-31 | 2016-12-21 | 福州瑞芯微电子股份有限公司 | A kind of battery curve modification method and device |
CN106597307A (en) * | 2016-12-16 | 2017-04-26 | 东莞新能德科技有限公司 | Method and device for correcting estimated value of remaining battery power |
CN106842042A (en) * | 2016-12-28 | 2017-06-13 | 深圳天珑无线科技有限公司 | It is a kind of that method, system and the electronic equipment calibrated are shown to electricity |
CN110249233A (en) * | 2017-02-09 | 2019-09-17 | Abb瑞士股份有限公司 | Health status for battery is estimated |
CN107290674A (en) * | 2017-05-19 | 2017-10-24 | 深圳市金立通信设备有限公司 | A kind of calibration method and terminal for showing charge value |
CN107608863A (en) * | 2017-07-31 | 2018-01-19 | 维沃移动通信有限公司 | The calibration method and mobile terminal that a kind of electricity is shown |
CN109239611A (en) * | 2018-11-26 | 2019-01-18 | 努比亚技术有限公司 | Terminal battery electricity quantity calibration method, terminal and computer readable storage medium |
CN112172604A (en) * | 2019-07-01 | 2021-01-05 | 福特全球技术公司 | SOC (System on chip) resetting method based on self-adaptive open-circuit voltage at end of charging |
CN110297192A (en) * | 2019-07-04 | 2019-10-01 | 广东乐心医疗电子股份有限公司 | Method for estimating electric quantity during charging and discharging of battery and electric quantity correction method during starting |
CN113030821A (en) * | 2019-12-24 | 2021-06-25 | 中移物联网有限公司 | Electric quantity calibration method and device |
CN111239624A (en) * | 2020-02-21 | 2020-06-05 | 中航锂电(洛阳)有限公司 | Battery capacity calibration method and device, electronic equipment and storage medium |
WO2021191993A1 (en) * | 2020-03-24 | 2021-09-30 | Tdk株式会社 | Control device for secondary battery, control system for secondary battery, and control method for secondary battery pack and secondary battery |
CN111257760A (en) * | 2020-05-06 | 2020-06-09 | 长沙德壹科技有限公司 | Storage battery capacity verification method and device |
CN111521945A (en) * | 2020-05-06 | 2020-08-11 | 江苏美的清洁电器股份有限公司 | Battery health state detection method and device, electronic equipment and storage medium |
CN111562501A (en) * | 2020-06-04 | 2020-08-21 | 奇瑞商用车(安徽)有限公司 | Lithium ion battery SOC-OCV relation curve calibration method |
CN112782599A (en) * | 2020-12-28 | 2021-05-11 | 清华大学 | Nondestructive lithium analysis detection method and device for lithium ion battery and computer equipment |
CN113189500A (en) * | 2021-04-28 | 2021-07-30 | 深圳市杉川机器人有限公司 | Battery electric quantity calculation method and device, computer equipment and storage medium |
Non-Patent Citations (2)
Title |
---|
Battery model for Hybrid Electric Vehicle corrected for self-discharge and internal resistance;Prasanth Pathiyil 等;《2016 2nd International Conference on Advances in Electrical, Electronics, Information, Communication and Bio-Informatics (AEEICB)》;20161231;全文 * |
基于容量修正的安时积分SOC估算方法研究;罗勇 等;《汽车工程》;20200525;第42卷(第5期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113791357A (en) | 2021-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107576918B (en) | Method and system for estimating residual electric quantity of lithium battery | |
CN107368619B (en) | An Extended Kalman Filter SOC Estimation Method | |
CN104849672B (en) | Lithium battery motional impedance parameter identification method based on equivalent-circuit model | |
CN111239629B (en) | A state interval division method for echelon utilization of retired lithium batteries | |
CN109904542B (en) | Capacity update method, device and terminal equipment for lithium ion battery pack | |
CN111781507B (en) | SOC value display method and device and energy storage system | |
CN115932605A (en) | Method and device for correcting residual electric quantity of energy storage battery and battery management system | |
CN103792489B (en) | Improved method for measuring and calculating system battery capacity | |
CN112858938B (en) | Electricity calculation method, device, storage medium and electronic device | |
EP2956784A1 (en) | Method for determining a state of charge and remaining operation life of a battery | |
CN116520162A (en) | Method, system and storage medium for correcting SOC of lithium iron phosphate battery | |
CN107817448B (en) | Method for online real-time monitoring of battery electric quantity suitable for complex working conditions | |
CN107436412B (en) | Method for estimating power of power battery based on self-learning | |
CN108802625A (en) | A kind of SOC adaptive correction methods of secondary use battery | |
CN114636936B (en) | Correction method and device for SOC prediction curve in charging stage of lead-acid battery | |
CN111426965A (en) | Method for calculating electric quantity of battery | |
CN115542174A (en) | Lithium battery SOC correction method and device, energy storage system and storage medium | |
CN115902653A (en) | Method, device, storage medium and electronic equipment for determining battery aging degree | |
CN111781529B (en) | Battery cell capacity estimation method and device based on electric vehicle cloud data | |
CN113791357B (en) | Method and related device for intelligently correcting battery display electric quantity | |
CN108802628B (en) | Method, device and equipment for measuring battery electric quantity | |
CN109521370A (en) | A kind of battery SOC acquisition methods, system, device and readable storage medium storing program for executing | |
CN109061509A (en) | A kind of battery capacity remaining value evaluation method | |
CN117471340B (en) | Method and system for estimating capacity retention rate of battery system | |
CN113507154A (en) | Charging method, device, charger and electronic device |
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 |