CN113484763A - Method, device, equipment and storage medium for determining residual electric quantity of battery - Google Patents
Method, device, equipment and storage medium for determining residual electric quantity of battery Download PDFInfo
- Publication number
- CN113484763A CN113484763A CN202110835676.2A CN202110835676A CN113484763A CN 113484763 A CN113484763 A CN 113484763A CN 202110835676 A CN202110835676 A CN 202110835676A CN 113484763 A CN113484763 A CN 113484763A
- Authority
- CN
- China
- Prior art keywords
- soc
- battery
- current
- determining
- discharging
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 90
- 238000007599 discharging Methods 0.000 claims abstract description 90
- 230000010354 integration Effects 0.000 claims abstract description 42
- 238000012937 correction Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 5
- 239000002253 acid Substances 0.000 description 4
- 230000007423 decrease Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000013459 approach Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004134 energy conservation Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 239000007787 solid Substances 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]
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Secondary Cells (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The embodiment of the invention discloses a method, a device, equipment and a storage medium for determining the residual electric quantity of a battery. Wherein, the method comprises the following steps: determining the initial residual capacity SOC of the battery according to an open-circuit voltage OCV curve corresponding to the battery in the vehicle and the initial voltage of the battery; when the battery is detected to be in a discharging state, determining the current SOC of the battery based on the initial SOC and an ampere-hour integration method; when the collected discharging current exceeds a preset current threshold, correcting the current SOC according to a difference value between the current SOC and a first SOC corresponding to the current voltage of the battery in a discharging SOC curve corresponding to the battery, and obtaining a corrected SOC; the corrected SOC is displayed by a meter in the vehicle. According to the technical scheme provided by the embodiment of the invention, the determined residual capacity of the battery in the vehicle is more accurate by correcting the current residual capacity, and the improvement of the precision of the residual capacity is facilitated.
Description
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a method, a device, equipment and a storage medium for determining the residual electric quantity of a battery.
Background
The electric vehicle conforms to the current trend of energy conservation and environmental protection, is convenient for short-distance traffic, and can save energy and protect the environment, so the electric vehicle is widely used. In the using process of the electric vehicle, it is very necessary to display the residual electric quantity of the electric vehicle in time.
Many electric vehicles in the market use lead-acid batteries at present, and the determination of the residual capacity (State of Charge, short for SOC) of the lead-acid batteries at the present stage is usually based on that a meter directly collects the battery voltage to display the SOC in a compartment, so that the determined SOC has low precision and fluctuates back and forth in the riding process, and the situation of half-circuit no-power can occur due to frequent virtual power. In addition, under the condition that the actual residual capacity cannot be known, insufficient storage is easy to occur, and the service life of the battery is influenced.
At present, no better method for determining the residual capacity of the battery exists.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for determining the residual capacity of a battery, which can determine the residual capacity of the battery in a vehicle and improve the precision of the residual capacity.
In a first aspect, an embodiment of the present invention provides a method for determining a remaining battery capacity, where the method includes:
determining the initial residual capacity SOC of a battery according to an open-circuit voltage OCV curve corresponding to the battery in a vehicle and the initial voltage of the battery;
when the battery is detected to be in a discharging state, determining the current SOC of the battery based on the initial SOC and an ampere-hour integration method;
when the collected discharging current exceeds a preset current threshold, correcting the current SOC according to a difference value between the current SOC and a first SOC corresponding to the current voltage of the battery in a discharging SOC curve corresponding to the battery, and obtaining a corrected SOC;
displaying the corrected SOC via a meter in the vehicle.
In a second aspect, an embodiment of the present invention provides an apparatus for determining a remaining battery capacity, where the apparatus includes:
the initial electric quantity determining module is used for determining the initial residual electric quantity SOC of a battery according to an open-circuit voltage OCV curve corresponding to the battery in a vehicle and the initial voltage of the battery;
the current electric quantity determining module is used for determining the current SOC of the battery based on the initial SOC and an ampere-hour integration method when the battery is detected to be in a discharging state;
the correction module is used for correcting the current SOC according to a difference value between the current SOC and a first SOC corresponding to the current voltage of the battery in a discharging SOC curve corresponding to the battery when the collected discharging current exceeds a preset current threshold value, so that a corrected SOC is obtained;
and the display module is used for displaying the corrected SOC through an instrument in the vehicle.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for determining the remaining battery capacity according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for determining the remaining battery capacity according to any embodiment of the present invention.
The embodiment of the invention provides a method, a device, equipment and a storage medium for determining the remaining capacity of a battery, which comprises the steps of firstly determining the initial remaining capacity SOC of the battery according to an open-circuit voltage OCV curve corresponding to the battery in a vehicle and the initial voltage of the battery, then determining the current SOC of the battery based on the initial SOC and an ampere-hour integration method when the battery is detected to be in a discharging state, then correcting the current SOC according to the difference value between the current SOC and a first SOC corresponding to the current voltage of the battery in a discharging SOC curve corresponding to the battery when the collected discharging current exceeds a preset current threshold value to obtain the corrected SOC, and finally displaying the corrected SOC through an instrument in the vehicle. According to the technical scheme, the determined residual capacity of the battery in the vehicle is more accurate through correcting the current residual capacity, and the improvement of the precision of the residual capacity is facilitated.
Drawings
Fig. 1 is a flowchart of a method for determining remaining battery power according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for determining remaining battery power according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a device for determining remaining battery power according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for determining a remaining battery capacity according to an embodiment of the present invention, which is applicable to determining a remaining battery capacity of a vehicle (mainly an electric vehicle). The method for determining the remaining battery power provided by this embodiment may be implemented by the apparatus for determining the remaining battery power provided by the embodiment of the present invention, which may be implemented in a software and/or hardware manner, and integrated into an electronic device for implementing the method, where the electronic device may be a motor controller in an electric vehicle, or may be another electronic device. The electric vehicle in the embodiment of the invention may be a two-wheeled electric vehicle.
Referring to fig. 1, the method of the present embodiment includes, but is not limited to, the following steps:
and S110, determining the initial SOC of the battery according to the OCV curve corresponding to the battery in the vehicle and the initial voltage of the battery.
Here, the Open Circuit Voltage (OCV) curve may be understood as a curve that represents a relationship between an Open Circuit Voltage and a remaining capacity of a battery in a vehicle. The open circuit voltage may generally refer to the potential difference between the two poles when the battery is not discharged and open circuit. The initial voltage of the battery may be understood as a voltage of the battery read after the vehicle (electric vehicle) is started.
In order to obtain the actual remaining capacity of the battery in the vehicle, improve the service life of the battery, and facilitate a user to make a trip plan according to the actual remaining capacity, the initial SOC of the battery needs to be determined. Specifically, according to an open-circuit voltage OCV curve corresponding to a battery in a vehicle and an initial voltage of the battery, the SOC of the battery corresponding to the initial voltage in the OCV curve can be inquired, so that the initial SOC of the battery is obtained, and the current SOC of the battery can be determined based on the initial SOC and an ampere-hour integration method when the battery is detected to be in a discharging state.
It should be noted that: all SOCs in the embodiments of the present invention include: the initial SOC, the current SOC, the corrected SOC, the SOC in the OCV curve, and the like may be expressed in percentage.
And S120, when the battery is detected to be in a discharging state, determining the current SOC of the battery based on the initial SOC and an ampere-hour integration method.
The ampere-hour integration method is understood as a method of estimating the remaining capacity of the battery.
When the battery is in a discharging state, the discharging current of the battery can be collected through a corresponding controller in the vehicle, so that when the battery is detected to be in the discharging state, the current SOC of the battery can be determined through a formula corresponding to an ampere-hour integration method based on the initial SOC and the ampere-hour integration method, wherein the ampere-hour integration method mainly integrates the discharging current of the battery.
And S130, when the collected discharging current exceeds a preset current threshold, correcting the current SOC according to the difference value between the current SOC and the first SOC corresponding to the current voltage of the battery in the discharging SOC curve corresponding to the battery, and obtaining the corrected SOC.
The preset current threshold may be pre-designed, for example, 0.7 times of the rated current of the battery, and the embodiment of the present invention is not limited specifically as the case may be. The discharge SOC curve can be understood as: a curve representing the relationship between the discharge voltage of the battery and the remaining capacity of the battery during the discharge of the battery can be obtained.
When the collected discharging current exceeds a preset current threshold, it is indicated that the current SOC of the battery may be inaccurate, and at this time, according to the current voltage of the battery collected by the controller in the vehicle, the remaining capacity corresponding to the current voltage in a discharging SOC curve corresponding to the battery is queried, so that the first SOC can be obtained. According to the difference between the current SOC and the first SOC, the current SOC can be corrected, so that the difference between the current SOC and the first SOC is continuously reduced, and the corrected SOC is obtained.
And S140, displaying the corrected SOC through a meter in the vehicle.
After the corrected SOC is obtained, the corrected SOC is displayed through an instrument in the vehicle, the accuracy of the finally determined SOC can be improved, the situation that the displayed numerical value of the residual electric quantity jumps back and forth in the riding process is avoided, and the use experience of a user is improved.
According to the technical scheme provided by the embodiment, the initial residual capacity SOC of the battery is determined according to an open-circuit voltage OCV curve corresponding to the battery in the vehicle and the initial voltage of the battery, then when the battery is detected to be in a discharging state, the current SOC of the battery is determined based on the initial SOC and an ampere-hour integration method, then when the collected discharging current exceeds a preset current threshold value, the current SOC is corrected according to the difference value between the current SOC and a first SOC corresponding to the current voltage of the battery in a discharging SOC curve corresponding to the battery to obtain a corrected SOC, and finally the corrected SOC is displayed through an instrument in the vehicle. According to the technical scheme, the determined residual capacity of the battery in the vehicle is more accurate through correcting the current residual capacity, and the improvement of the precision of the residual capacity is facilitated.
In some embodiments, the determining the current SOC of the battery based on the initial SOC and the ampere-hour integration method when the battery is detected to be in the discharge state may specifically include: when the battery is detected to be in a discharging state, acquiring the rated capacity, the discharging time and the discharging efficiency of the battery; and determining the current SOC of the battery by the ampere-hour integration method according to the initial SOC, the rated capacity, the discharge current, the discharge time and the discharge efficiency.
In the embodiment of the invention, when the battery is detected to be in the discharging state, the rated capacity, the discharging time and the discharging efficiency of the battery are firstly obtained, and then the current SOC of the battery can be determined through a formula corresponding to an ampere-hour integration method according to the initial SOC, the rated capacity, the discharging current, the discharging time and the discharging efficiency.
In some embodiments, the determining the current SOC of the battery by the ampere-hour integration method according to the initial SOC, the rated capacity, the discharge current, the discharge time, and the discharge efficiency may specifically include: integrating according to the discharge current, the discharge time and the discharge efficiency to obtain a first numerical value after integration; dividing the first value by the rated capacity to obtain the power consumption of the battery; and subtracting the power consumption from the initial SOC to obtain the current SOC of the battery.
Specifically, the above process of obtaining the current SOC of the battery can be represented by the following formula:
wherein SOC represents the current remaining capacity of the battery, SOC0Indicates the initial remaining capacity of the battery, CNThe discharge efficiency of the battery is represented by eta, the discharge current of the battery at time t is represented by I, and the discharge time is represented by t.
In the embodiment of the invention, the current SOC of the battery can be simply and quickly determined by the method.
In some embodiments, the modifying the current SOC according to a difference between the current SOC and a first SOC corresponding to the current voltage of the battery in a discharging SOC curve corresponding to the battery may specifically include: calculating an absolute value of a difference between the current SOC and the first SOC; and correcting the current SOC according to the magnitude relation between the absolute value and a preset threshold value.
The preset threshold may be pre-designed, for example, 10%, or may be determined according to specific situations, and the embodiment of the present invention is not limited specifically.
In the embodiment of the invention, when the collected discharging current exceeds a preset current threshold, the absolute value of the difference value between the current SOC and the first SOC is firstly obtained, and then the current SOC is corrected according to the relation between the absolute value and the preset threshold if the absolute value is larger than the preset threshold; if the absolute value is smaller than or equal to the preset threshold value, the current SOC is kept unchanged, and the current SOC can be corrected by the method, so that the corrected SOC is more accurate.
In some embodiments, the OCV curve and/or the discharge SOC curve is determined according to the type of the battery and the current temperature of the battery.
In the embodiment of the invention, the OCV curve and the discharging SOC curve corresponding to different battery types and different battery temperatures may be different, so that the initial SOC and the first SOC can be ensured by determining the OCV curve and/or the discharging SOC curve according to the types of the batteries and the current temperature of the batteries.
In some embodiments, if the type of the battery in the vehicle is a lead-acid battery, the method for determining the remaining battery capacity may be integrated into software corresponding to a motor controller in the vehicle in a form of a library file, and the corrected SOC may be sent to a meter in the vehicle through the motor controller, so that the meter displays the corrected SOC.
In the embodiment of the invention, because the lead-acid Battery is not provided with a Battery Management System (BMS) protection board, and the motor controller can acquire the real-time Battery voltage and discharge current required by determining the SOC in the riding process, the method for determining the residual electric quantity of the Battery is integrated into the software corresponding to the motor controller in the vehicle in the form of library files, the cost can be saved, and the extra hardware cost is not required to be increased.
Example two
Fig. 2 is a flowchart of a method for determining remaining battery power according to a second embodiment of the present invention. The embodiment of the invention is optimized on the basis of the embodiment. Optionally, the present embodiment optimizes the process of determining the current SOC of the battery and correcting the current SOC.
Referring to fig. 2, the method of the present embodiment includes, but is not limited to, the following steps:
s2001, an initial SOC of the battery is determined based on an OCV curve corresponding to the battery in the vehicle and an initial voltage of the battery.
S2002, it is determined whether the battery is in a discharged state.
The state of the battery can be detected by an associated controller in the vehicle to determine whether the battery is in a charged or discharged state.
If yes, executing S2005; if not, S2003-S2004 are executed.
And S2003, determining the current SOC of the battery according to the current voltage of the battery and the charging SOC curve corresponding to the battery.
Wherein, the charging SOC curve can be understood as: a curve representing the relationship between the charging voltage of the battery and the remaining capacity of the battery during the charging of the battery can be obtained. The charging SOC curve is determined according to the type of the battery and the current temperature of the battery.
If the battery is in a charging state, the controller cannot acquire the charging current, so that the remaining capacity corresponding to the current voltage in the charging SOC curve corresponding to the battery is inquired according to the current voltage of the battery, and the current SOC of the battery can be obtained.
S2004, the current SOC is displayed by a meter in the vehicle.
After the current SOC of the battery is obtained, the current SOC is displayed through an instrument in the vehicle, so that a user can conveniently obtain the current SOC of the battery in the vehicle at any time, and the use experience of the user is improved.
And S2005, determining the current SOC of the battery based on the initial SOC and an ampere-hour integration method.
If the battery is in a discharged state, the current SOC of the battery can be determined based on the initial SOC and the ampere-hour integration method.
And S2006, when the collected discharging current exceeds a preset current threshold, calculating an absolute value of a difference value between the current SOC and the first SOC.
And S2007, judging whether the absolute value is larger than a preset threshold value.
If yes, go to S2009; if not, go to S2008.
S2008, the current SOC is displayed by a meter in the vehicle.
And if the absolute value is smaller than or equal to the preset threshold value, the currently collected discharging current is normal, and displaying the current SOC through an instrument in the vehicle.
And S2009, if the duration time exceeds the preset time length, determining whether the current SOC is greater than the first SOC.
If yes, executing S2010; if not, go to S2011.
And if the absolute value is greater than the preset threshold and the duration time exceeds the preset duration, determining whether the current SOC is greater than the first SOC, so that different corrections can be performed subsequently according to the size relationship between the current SOC and the first SOC.
And S2010, determining a first coefficient corresponding to the discharging current, multiplying the discharging current by the first coefficient to obtain a first discharging current, and correcting the current SOC based on the first discharging current and an ampere-hour integration method to obtain a corrected SOC.
Wherein the first coefficient is greater than 1. The preset time period may be preset, for example, 5s, and may also be determined according to specific situations, and the embodiment of the present invention is not limited specifically.
When the absolute value is greater than the preset threshold and the duration exceeds the preset duration, if the current SOC is greater than the first SOC, it indicates that the current SOC is far beyond the first SOC, and at this time, the current SOC should be made to approach the first SOC quickly, that is: the power consumption of the battery is increased, thereby reducing the current SOC of the battery. The corrected SOC is obtained by determining a first coefficient corresponding to the discharge current, multiplying the discharge current by the first coefficient to obtain a first discharge current, and substituting the first discharge current into a formula (1) corresponding to an ampere-hour integration method to correct the current SOC.
For example, since the remaining capacity of the battery decreases with the decrease of the discharge voltage in the discharge SOC curve corresponding to the battery, when the collected discharge current exceeds the preset current threshold, assuming that the current SOC of the battery is greater than 70%, the current discharge voltage < the discharge voltage corresponding to the point of 60% in the discharge SOC curve corresponding to the battery, that is, the first SOC < 60% corresponding to the current voltage of the battery in the discharge SOC curve corresponding to the battery, which indicates that the absolute value of the difference between the current SOC and the first SOC is greater than 10% (the preset threshold), and the current SOC is greater than the first SOC, after the duration exceeds 5S, the current discharge current may be multiplied by 1.5 times (that is, the first coefficient), and the current SOC is corrected by an ampere-hour integration method, that is: and reducing the current SOC to enable the current SOC to approach the first SOC quickly until the error between the corrected SOC and the first SOC is within 10%, and stopping correction.
And S2011, determining a second coefficient corresponding to the discharging current, multiplying the discharging current by the second coefficient to obtain a second discharging current, and correcting the current SOC based on the second discharging current and an ampere-hour integration method to obtain a corrected SOC.
Wherein the second coefficient is greater than 0 and less than 1.
When the absolute value is greater than the preset threshold and the duration exceeds the preset duration, if the current SOC is less than or equal to the first SOC, which indicates that the current SOC is much less than the first SOC, the power consumption of the battery should be reduced, so as to increase the current SOC of the battery. And (3) determining a second coefficient corresponding to the discharge current, multiplying the discharge current by the second coefficient to obtain a second discharge current, and substituting the second discharge current into a formula (1) corresponding to the ampere-hour integration method to correct the current SOC so as to obtain the corrected SOC.
For example, as the discharging voltage decreases in the discharging SOC curve corresponding to the battery, the remaining capacity of the battery also decreases, when the collected discharging current exceeds the preset current threshold, assuming that the current SOC of the battery is between 40% and 50%, and the current discharging voltage > the discharging voltage corresponding to the point of 60% in the discharging SOC curve corresponding to the battery, that is, the first SOC > 60% corresponding to the current voltage of the battery in the discharging SOC curve corresponding to the battery, which means that the absolute value of the difference between the current SOC and the first SOC is greater than 10% (the preset threshold), and the current SOC is less than the first SOC, after the duration exceeds 5S, the current discharging current may be multiplied by 0.5 (i.e., the second coefficient), and the current SOC is corrected by an ampere-hour integration method, that is: and increasing the current SOC to enable the current SOC to approach the first SOC quickly, and stopping correction until the error between the corrected first SOC and the current SOC is within 10%.
S2012, the corrected SOC is displayed by a meter in the vehicle.
According to the technical scheme provided by the embodiment, the initial SOC of the battery is determined according to an open-circuit voltage OCV curve corresponding to the battery in the vehicle and the initial voltage of the battery, then whether the battery is in a discharging state is determined, if the battery is in a charging state, the current SOC of the battery is determined according to the current voltage of the battery and a charging SOC curve corresponding to the battery, and the current SOC is displayed through an instrument in the vehicle; if the battery is in a discharging state, determining the current SOC of the battery based on an initial SOC and an ampere-hour integration method, when the collected discharging current exceeds a preset current threshold, calculating the absolute value of the difference value between the current SOC and the first SOC, then judging whether the absolute value is greater than the preset threshold, and if the absolute value is less than or equal to the preset threshold, displaying the current SOC through an instrument in the vehicle; if the absolute value is greater than a preset threshold value and the duration time exceeds a preset duration, determining whether the current SOC is greater than a first SOC, if the current SOC is greater than the first SOC, determining a first coefficient corresponding to the discharge current, multiplying the discharge current by the first coefficient to obtain a first discharge current, and correcting the current SOC based on the first discharge current and an ampere-hour integration method to obtain a corrected SOC; if the current SOC is smaller than or equal to the first SOC, determining a second coefficient corresponding to the discharging current, multiplying the discharging current by the second coefficient to obtain a second discharging current, and correcting the current SOC based on the second discharging current and an ampere-hour integration method to obtain a corrected SOC; and finally, displaying the corrected SOC through an instrument in the vehicle. According to the scheme, different methods are adopted to determine the current SOC according to the charging and discharging state of the battery, then when the battery is in the discharging state, if the absolute value of the difference value between the current SOC and the first SOC is larger than the preset threshold value, different coefficients corresponding to the discharging current are determined according to the value between the current SOC and the first SOC, so that different corrections are performed, the finally determined corrected SOC is more accurate, compared with the prior art, the method can correct the SOC in real time, the SOC displayed by a final instrument is closer to an actual value, and the service life of the battery is prolonged.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a device for determining remaining battery power according to a third embodiment of the present invention, as shown in fig. 3, the device may include:
an initial electric quantity determining module 310, configured to determine an initial remaining electric quantity SOC of a battery in a vehicle according to an open-circuit voltage OCV curve corresponding to the battery and an initial voltage of the battery;
a current electric quantity determination module 320, configured to determine, when it is detected that the battery is in a discharge state, a current SOC of the battery based on the initial SOC and an ampere-hour integration method;
the correction module 330 is configured to, when the acquired discharge current exceeds a preset current threshold, correct the current SOC according to a difference between the current SOC and a first SOC corresponding to the current voltage of the battery in a discharge SOC curve corresponding to the battery, so as to obtain a corrected SOC;
a display module 340, configured to display the corrected SOC through a meter in the vehicle.
According to the technical scheme provided by the embodiment, the initial residual capacity SOC of the battery is determined according to an open-circuit voltage OCV curve corresponding to the battery in the vehicle and the initial voltage of the battery, then when the battery is detected to be in a discharging state, the current SOC of the battery is determined based on the initial SOC and an ampere-hour integration method, then when the collected discharging current exceeds a preset current threshold value, the current SOC is corrected according to the difference value between the current SOC and a first SOC corresponding to the current voltage of the battery in a discharging SOC curve corresponding to the battery to obtain a corrected SOC, and finally the corrected SOC is displayed through an instrument in the vehicle. According to the technical scheme, the determined residual capacity of the battery in the vehicle is more accurate through correcting the current residual capacity, and the improvement of the precision of the residual capacity is facilitated.
Further, the current power determining module 320 may include: the battery management system comprises an acquisition unit, a storage unit and a control unit, wherein the acquisition unit is used for acquiring rated capacity, discharge time and discharge efficiency of the battery when the battery is detected to be in a discharge state; and the determining unit is used for determining the current SOC of the battery through the ampere-hour integration method according to the initial SOC, the rated capacity, the discharge current, the discharge time and the discharge efficiency.
Further, the determining unit may be specifically configured to: integrating according to the discharge current, the discharge time and the discharge efficiency to obtain a first numerical value after integration; dividing the first value by the rated capacity to obtain the power consumption of the battery; and subtracting the power consumption from the initial SOC to obtain the current SOC of the battery.
Further, the modification module 330 may include: the calculating unit is used for calculating the absolute value of the difference value between the current SOC and the first SOC when the collected discharging current exceeds a preset current threshold; and the correction unit is used for correcting the current SOC according to the magnitude relation between the absolute value and a preset threshold value to obtain the corrected SOC.
Further, the correction unit may be specifically configured to: when the absolute value is larger than a preset threshold value and the duration time exceeds a preset time length, if the current SOC is larger than the first SOC, determining a first coefficient corresponding to the discharge current, multiplying the discharge current by the first coefficient to obtain a first discharge current, and correcting the current SOC based on the first discharge current and the ampere-hour integration method to obtain a corrected SOC, wherein the first coefficient is larger than 1; when the absolute value is larger than a preset threshold value and the duration time exceeds a preset time length, if the current SOC is smaller than or equal to the first SOC, determining a second coefficient corresponding to the discharging current, multiplying the discharging current by the second coefficient to obtain a second discharging current, and correcting the current SOC based on the second discharging current and the ampere-hour integration method to obtain a corrected SOC, wherein the second coefficient is larger than 0 and smaller than 1.
Further, the display module 340 may be specifically configured to: and when the absolute value is smaller than or equal to a preset threshold value, displaying the current SOC through a meter in the vehicle.
Further, the OCV curve and/or the discharge SOC curve are determined according to the type of the battery and the current temperature of the battery.
The device for determining the remaining battery power provided by the embodiment can be applied to the method for determining the remaining battery power provided by any embodiment, and has corresponding functions and beneficial effects.
Example four
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention, as shown in fig. 4, the electronic device includes a processor 410 and a storage device 420; the number of the processors 410 in the electronic device may be one or more, and one processor 410 is taken as an example in fig. 4; the processor 410 and the storage 420 in the electronic device may be connected by a bus or other means, and fig. 4 illustrates the connection by a bus as an example.
The storage device 420, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as modules corresponding to the determination method of the remaining battery capacity in the embodiment of the present invention (for example, the initial capacity determination module 310, the current capacity determination module 320, the modification module 330, and the display module 340 in the determination device of the remaining battery capacity). The processor 410 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the storage device 420, that is, the method for determining the remaining battery capacity is implemented.
The storage device 420 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage 420 may further include memory located remotely from the processor 410, which may be connected to the electronic device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device provided by the embodiment can be used for executing the method for determining the remaining battery capacity provided by any embodiment, and has corresponding functions and beneficial effects.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for determining remaining battery power in any embodiment of the present invention is implemented, where the method specifically includes:
determining the initial residual capacity SOC of a battery according to an open-circuit voltage OCV curve corresponding to the battery in a vehicle and the initial voltage of the battery;
when the battery is detected to be in a discharging state, determining the current SOC of the battery based on the initial SOC and an ampere-hour integration method;
when the collected discharging current exceeds a preset current threshold, correcting the current SOC according to a difference value between the current SOC and a first SOC corresponding to the current voltage of the battery in a discharging SOC curve corresponding to the battery, and obtaining a corrected SOC;
displaying the corrected SOC via a meter in the vehicle.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the method for determining the remaining battery capacity provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the device for determining the remaining battery power, the units and modules included in the device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A method for determining the remaining capacity of a battery, comprising:
determining the initial residual capacity SOC of a battery according to an open-circuit voltage OCV curve corresponding to the battery in a vehicle and the initial voltage of the battery;
when the battery is detected to be in a discharging state, determining the current SOC of the battery based on the initial SOC and an ampere-hour integration method;
when the collected discharging current exceeds a preset current threshold, correcting the current SOC according to a difference value between the current SOC and a first SOC corresponding to the current voltage of the battery in a discharging SOC curve corresponding to the battery, and obtaining a corrected SOC;
displaying the corrected SOC via a meter in the vehicle.
2. The method of claim 1, wherein determining the current SOC of the battery based on the initial SOC and an ampere-hour integration method when the battery is detected to be in a discharged state comprises:
when the battery is detected to be in a discharging state, acquiring the rated capacity, the discharging time and the discharging efficiency of the battery;
and determining the current SOC of the battery by the ampere-hour integration method according to the initial SOC, the rated capacity, the discharge current, the discharge time and the discharge efficiency.
3. The method of claim 2, wherein said determining a present SOC of said battery by said ampere-hour integration method based on said initial SOC, said rated capacity, said discharge current, said discharge time, and said discharge efficiency comprises:
integrating according to the discharge current, the discharge time and the discharge efficiency to obtain a first numerical value after integration;
dividing the first value by the rated capacity to obtain the power consumption of the battery;
and subtracting the power consumption from the initial SOC to obtain the current SOC of the battery.
4. The method of claim 2, wherein the modifying the current SOC based on a difference between the current SOC and a first SOC in a discharge SOC curve corresponding to the battery corresponding to the current voltage of the battery comprises:
calculating an absolute value of a difference between the current SOC and the first SOC;
and correcting the current SOC according to the magnitude relation between the absolute value and a preset threshold value.
5. The method of claim 4, wherein the modifying the current SOC according to the magnitude relationship between the absolute value and a preset threshold comprises:
when the absolute value is larger than a preset threshold value and the duration time exceeds a preset time length, if the current SOC is larger than the first SOC, determining a first coefficient corresponding to the discharge current, multiplying the discharge current by the first coefficient to obtain a first discharge current, and correcting the current SOC based on the first discharge current and the ampere-hour integration method, wherein the first coefficient is larger than 1;
when the absolute value is larger than a preset threshold value and the duration time exceeds a preset time length, if the current SOC is smaller than or equal to the first SOC, determining a second coefficient corresponding to the discharging current, multiplying the discharging current by the second coefficient to obtain a second discharging current, and correcting the current SOC based on the second discharging current and the ampere-hour integration method, wherein the second coefficient is larger than 0 and smaller than 1.
6. The method of claim 5, further comprising:
and when the absolute value is smaller than or equal to a preset threshold value, displaying the current SOC through a meter in the vehicle.
7. Method according to any of claims 1-6, characterized in that the OCV curve and/or the discharge SOC curve are determined as a function of the type of battery and the current temperature of the battery.
8. A device for determining a remaining amount of a battery, comprising:
the initial electric quantity determining module is used for determining the initial residual electric quantity SOC of a battery according to an open-circuit voltage OCV curve corresponding to the battery in a vehicle and the initial voltage of the battery;
the current electric quantity determining module is used for determining the current SOC of the battery based on the initial SOC and an ampere-hour integration method when the battery is detected to be in a discharging state;
the correction module is used for correcting the current SOC according to a difference value between the current SOC and a first SOC corresponding to the current voltage of the battery in a discharging SOC curve corresponding to the battery when the collected discharging current exceeds a preset current threshold value, so that a corrected SOC is obtained;
and the display module is used for displaying the corrected SOC through an instrument in the vehicle.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110835676.2A CN113484763A (en) | 2021-07-23 | 2021-07-23 | Method, device, equipment and storage medium for determining residual electric quantity of battery |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110835676.2A CN113484763A (en) | 2021-07-23 | 2021-07-23 | Method, device, equipment and storage medium for determining residual electric quantity of battery |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113484763A true CN113484763A (en) | 2021-10-08 |
Family
ID=77943198
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110835676.2A Pending CN113484763A (en) | 2021-07-23 | 2021-07-23 | Method, device, equipment and storage medium for determining residual electric quantity of battery |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113484763A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114660483A (en) * | 2022-03-14 | 2022-06-24 | 北京波谱华光科技有限公司 | Infrared sighting device battery power monitoring method and device, electronic equipment and medium |
CN116930780A (en) * | 2023-09-19 | 2023-10-24 | 惠州锐鉴兴科技有限公司 | Intelligent electric quantity detection method, detection device and computer readable storage medium |
CN117517979A (en) * | 2023-12-19 | 2024-02-06 | 浙江地芯引力科技有限公司 | Battery parameter updating method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104777427A (en) * | 2014-06-26 | 2015-07-15 | 许继电气股份有限公司 | SOC online detection method suitable for lead acid batteries |
CN106597307A (en) * | 2016-12-16 | 2017-04-26 | 东莞新能德科技有限公司 | Method and apparatus for correcting estimated value of remaining capacity of battery |
CN107482269A (en) * | 2017-07-31 | 2017-12-15 | 北京新能源汽车股份有限公司 | A kind of discharge control method of electrokinetic cell, device, controller and automobile |
CN107632268A (en) * | 2017-09-20 | 2018-01-26 | 广东电网有限责任公司电力科学研究院 | A kind of lithium ion battery energy storage system state-of-charge online calibration method and device |
CN110596604A (en) * | 2019-09-26 | 2019-12-20 | 海南鼎立信科技有限责任公司 | Lithium battery SOC estimation method based on ampere-hour integration method |
CN112415410A (en) * | 2019-08-23 | 2021-02-26 | 比亚迪股份有限公司 | Method and apparatus for estimating SOC of battery, storage medium, and vehicle |
-
2021
- 2021-07-23 CN CN202110835676.2A patent/CN113484763A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104777427A (en) * | 2014-06-26 | 2015-07-15 | 许继电气股份有限公司 | SOC online detection method suitable for lead acid batteries |
CN106597307A (en) * | 2016-12-16 | 2017-04-26 | 东莞新能德科技有限公司 | Method and apparatus for correcting estimated value of remaining capacity of battery |
CN107482269A (en) * | 2017-07-31 | 2017-12-15 | 北京新能源汽车股份有限公司 | A kind of discharge control method of electrokinetic cell, device, controller and automobile |
CN107632268A (en) * | 2017-09-20 | 2018-01-26 | 广东电网有限责任公司电力科学研究院 | A kind of lithium ion battery energy storage system state-of-charge online calibration method and device |
CN112415410A (en) * | 2019-08-23 | 2021-02-26 | 比亚迪股份有限公司 | Method and apparatus for estimating SOC of battery, storage medium, and vehicle |
CN110596604A (en) * | 2019-09-26 | 2019-12-20 | 海南鼎立信科技有限责任公司 | Lithium battery SOC estimation method based on ampere-hour integration method |
Non-Patent Citations (1)
Title |
---|
鲍慧;于洋;: "基于安时积分法的电池SOC估算误差校正", 计算机仿真, vol. 30, no. 11, 15 November 2013 (2013-11-15), pages 148 - 151 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114660483A (en) * | 2022-03-14 | 2022-06-24 | 北京波谱华光科技有限公司 | Infrared sighting device battery power monitoring method and device, electronic equipment and medium |
CN116930780A (en) * | 2023-09-19 | 2023-10-24 | 惠州锐鉴兴科技有限公司 | Intelligent electric quantity detection method, detection device and computer readable storage medium |
CN116930780B (en) * | 2023-09-19 | 2024-02-23 | 惠州锐鉴兴科技有限公司 | Intelligent electric quantity detection method, detection device and computer readable storage medium |
CN117517979A (en) * | 2023-12-19 | 2024-02-06 | 浙江地芯引力科技有限公司 | Battery parameter updating method and device, electronic equipment and storage medium |
CN117517979B (en) * | 2023-12-19 | 2024-04-05 | 浙江地芯引力科技有限公司 | Battery parameter updating method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102452548B1 (en) | Apparatus for determination battery degradation, system having the same and method thereof | |
CN108375739B (en) | State of charge estimation method and state of charge estimation system for lithium battery of electric vehicle | |
CN113484763A (en) | Method, device, equipment and storage medium for determining residual electric quantity of battery | |
WO2014156869A1 (en) | Battery life estimation method and battery life estimation device | |
US20190033391A1 (en) | Secondary battery deterioration estimation device and secondary battery deterioration estimation method | |
CN112172592B (en) | Charging time determination method, charging time determination equipment, storage medium and device | |
CN110456273A (en) | A kind of battery SOC evaluation method, estimating system, electrokinetic cell system | |
CN113093027B (en) | Battery SOC calibration method, device, system, medium and program product | |
CN111123137B (en) | Estimation method of SOC and SOH of battery pack | |
EP4152022B1 (en) | Method for determining full-charge capacity of battery pack, method for determining state of health of battery pack, system, and apparatus | |
CN112698218A (en) | Battery health state acquisition method and device and storage medium | |
CN114609530A (en) | Method, device, equipment and medium for correcting battery state of charge | |
CN115303128A (en) | Method, device, equipment and medium for calculating battery equalization time | |
CN116520162A (en) | Correction method, system and storage medium for SOC of lithium iron phosphate battery | |
CN111123138A (en) | SOH estimation method of battery pack | |
CN115113049A (en) | Method for determining initial value of battery SOC and related device | |
CN112946478B (en) | Method for determining real-time available power of battery and related equipment | |
CN104808151A (en) | Residual capacity calculating device for energy storing device | |
JP6469485B2 (en) | Battery deterioration determination device, battery pack, battery deterioration determination method, and battery deterioration determination program | |
JPH1138107A (en) | Method for estimating residual capacity of secondary battery | |
CN115097325A (en) | Battery detection method, device, equipment and storage medium | |
CN114572056A (en) | Method, device and system for calculating driving range of electric automobile and storage medium | |
CN115113071A (en) | Battery SOC value correction method and related device | |
CN113933722A (en) | Correction method, device, equipment and storage medium for battery electric quantity SOC misjudgment | |
CN116754980B (en) | Method, device, power consumption device and storage medium for determining SOH value of battery |
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 |