A method, device, equipment and storage medium for determining remaining battery power

By combining the open circuit voltage curve, initial voltage and ampere-hour integration method, the current SOC of the electric vehicle battery is corrected, which solves the problem of low accuracy in determining the remaining battery power in electric vehicles and improves the battery life and user experience.

CN113484763BActive Publication Date: 2024-10-11JIANGSU XIAONIU ELECTRIC SCOOTER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110835676.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-23
Publication Date
2024-10-11
Estimated Expiration
2041-07-23

AI Technical Summary

Technical Problem

The accuracy of determining the remaining power of lead-acid batteries in existing electric vehicles is low, resulting in frequent instances of empty power and half-battery, which affects the service life of the battery.

Method used

By determining the initial SOC based on the open circuit voltage OCV curve and the initial voltage, combined with the ampere-hour integration method and the discharge SOC curve, the current SOC is corrected. When the discharge current exceeds the threshold, the correction is performed, and the corrected SOC is finally displayed through the vehicle instrument.

Benefits of technology

It improves the accuracy of the remaining battery power, reduces SOC fluctuations during riding, and extends the battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113484763B_ABST
    Figure CN113484763B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, device, and storage medium for determining the remaining battery capacity. The method includes: determining the initial remaining battery capacity (SOC) based on the open-circuit voltage (OCV) curve of the battery in the vehicle and the battery's initial voltage; when the battery is detected to be discharging, determining the current SOC based on the initial SOC and an ampere-hour integration method; when the collected discharge current exceeds a preset current threshold, correcting the current SOC based on the difference between the current SOC and the first SOC corresponding to the current voltage of the battery in the discharge SOC curve, obtaining a corrected SOC; and displaying the corrected SOC on the vehicle's instrument panel. The technical solution provided by this invention, by correcting the current remaining battery capacity, makes the determined remaining battery capacity in the vehicle more accurate, thus improving the precision of the remaining battery capacity determination.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a method, device, equipment and storage medium for determining the remaining power of a battery. Background Art

[0002] Since electric vehicles are in line with today's energy-saving and environmental protection trends, and are convenient for short-distance transportation, can save energy and protect the environment, electric vehicles have been widely used. During the use of electric vehicles, it is very necessary to display the remaining power of the electric vehicle in a timely manner.

[0003] At present, many electric vehicles on the market use lead-acid batteries. At present, the determination of the remaining power (State of Charge, SOC) of lead-acid batteries is usually based on the instrument directly collecting the battery voltage to display the SOC in intervals, resulting in low accuracy of the determined SOC and fluctuations during riding, and often false power, resulting in a situation where the battery is out of power halfway. In addition, if the actual remaining power is unknown, it is easy to cause storage with low power, which affects the service life of the battery.

[0004] There is currently no better way to determine the remaining battery charge. Summary of the invention

[0005] The embodiments of the present invention provide a method, device, equipment and storage medium for determining the remaining power of a battery, which can determine the remaining power of a battery in a vehicle and improve the accuracy of the remaining power.

[0006] In a first aspect, an embodiment of the present invention provides a method for determining the remaining power of a battery, the method comprising:

[0007] Determining the initial remaining 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;

[0008] When it is detected that the battery is in a discharging state, determining a current SOC of the battery based on the initial SOC and an ampere-hour integration method;

[0009] When the collected discharge current exceeds a preset current threshold, the current SOC is corrected 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 to obtain a corrected SOC;

[0010] The corrected SOC is displayed by a meter in the vehicle.

[0011] In a second aspect, an embodiment of the present invention provides a device for determining a remaining battery power, the device comprising:

[0012] An initial power determination module, used to determine the initial remaining power 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;

[0013] a current power determination module, configured to determine the current SOC of the battery based on the initial SOC and an ampere-hour integration method when it is detected that the battery is in a discharging state;

[0014] a correction module, configured to 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, to obtain a corrected SOC when the collected discharge current exceeds a preset current threshold;

[0015] A display module is used to display the corrected SOC through a meter in the vehicle.

[0016] In a third aspect, an embodiment of the present invention provides an electronic device, the electronic device comprising:

[0017] one or more processors;

[0018] A storage device for storing one or more programs;

[0019] 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 power described in any embodiment of the present invention.

[0020] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for determining the remaining battery power described in any embodiment of the present invention.

[0021] The embodiment of the present invention provides a method, device, equipment and storage medium for determining the remaining power of a battery. First, the initial remaining power SOC of the battery is determined based on the open circuit voltage OCV curve corresponding to the battery in the vehicle and the initial voltage of the battery. Then, when it is detected that the battery is in a discharge state, the current SOC of the battery is determined based on the initial SOC and the ampere-hour integration method. Then, when the collected discharge current exceeds the preset current threshold, the current SOC is corrected according to the difference between the current SOC and the first SOC corresponding to the current voltage of the battery in the discharge SOC curve corresponding to the battery to obtain the corrected SOC. Finally, the corrected SOC is displayed through the instrument in the vehicle. The above technical solution makes the determined remaining power of the battery in the vehicle more accurate by correcting the current remaining power, which is conducive to improving the accuracy of the remaining power. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1A flowchart of a method for determining the remaining battery power provided in Embodiment 1 of the present invention;

[0023] Figure 2 A flowchart of a method for determining the remaining battery power provided in Embodiment 2 of the present invention;

[0024] Figure 3 A schematic diagram of the structure of a device for determining the remaining battery power provided by Embodiment 3 of the present invention;

[0025] Figure 4 A schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0026] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0027] Embodiment 1

[0028] Figure 1 A flowchart of a method for determining the remaining battery power provided in Embodiment 1 of the present invention. This embodiment can be applied to the case of determining the remaining battery power of a vehicle (mainly an electric vehicle). The method for determining the remaining battery power provided in this embodiment can be executed by a device for determining the remaining battery power provided in an embodiment of the present invention. The device can be implemented in software and / or hardware and integrated in an electronic device that executes the method, wherein the electronic device can be a motor controller in an electric vehicle or other electronic device. The electric vehicle in the embodiment of the present invention can be a two-wheeled electric vehicle.

[0029] See also Figure 1 The method of this embodiment includes but is not limited to the following steps:

[0030] S110, determining an initial SOC of the battery according to an OCV curve corresponding to the battery in the vehicle and an initial voltage of the battery.

[0031] Among them, the open circuit voltage (OCV) curve can be understood as a curve that can represent the relationship between the open circuit voltage and the remaining power of the battery in the vehicle. The open circuit voltage usually refers to the potential difference between the two poles when the battery is open without discharge. The initial voltage of the battery can be understood as the voltage of the battery read after the vehicle (electric vehicle) is started.

[0032] In order to obtain the actual remaining power of the battery in the vehicle, improve the battery life, and facilitate users to make travel plans based on the actual remaining power, it is necessary to determine the initial SOC of the battery. Specifically, according to the open circuit voltage OCV curve corresponding to the battery in the vehicle and the initial voltage of the battery, the SOC of the battery corresponding to the initial voltage in the OCV curve can be queried, thereby obtaining the initial SOC of the battery, so that when the battery is detected to be in a discharge state, the current SOC of the battery can be determined based on the initial SOC and the ampere-hour integration method.

[0033] It should be noted that all SOCs in the embodiment of the present invention, including the initial SOC, the current SOC, the corrected SOC, and the SOC in the OCV curve, etc., can be expressed as a percentage.

[0034] S120 , when it is detected that the battery is in a discharging state, determining the current SOC of the battery based on the initial SOC and the ampere-hour integration method.

[0035] Among them, the ampere-hour integration method can be understood as a method for estimating the remaining power of the battery.

[0036] When the battery is in a discharging state, the discharge current of the battery can be collected by the corresponding controller in the vehicle. Therefore, when it is detected that the battery is in a discharging state, the current SOC of the battery can be determined based on the initial SOC and the ampere-hour integration method through the formula corresponding to the ampere-hour integration method, where the ampere-hour integration method mainly integrates the discharge current of the battery.

[0037] S130, when the collected discharge current exceeds a preset current threshold, the current SOC is corrected according to the 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 to obtain a corrected SOC.

[0038] The preset current threshold may be pre-designed, for example, 0.7 times the rated current of the battery, or may be determined according to the specific situation, and the embodiment of the present invention does not impose any specific limitation. The discharge SOC curve may be understood as a curve that can represent the relationship between the discharge voltage of the battery and the remaining power of the battery during the discharge process of the battery.

[0039] When the collected discharge current exceeds the preset current threshold, it indicates that the current SOC of the battery may be inaccurate. At this time, according to the current voltage of the battery collected by the controller in the vehicle, the remaining power corresponding to the current voltage in the discharge SOC curve corresponding to the battery is queried to obtain the first SOC. 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, thereby obtaining the corrected SOC.

[0040] S140, the corrected SOC is displayed on a meter in the vehicle.

[0041] After obtaining the corrected SOC, displaying the corrected SOC through the instrument in the vehicle can improve the accuracy of the final SOC, avoid the situation where the value displayed for the remaining power jumps back and forth during riding, and improve the user experience.

[0042] The technical solution provided in this embodiment first determines the initial remaining capacity SOC of the battery according to the 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 discharge state, the current SOC of the battery is determined based on the initial SOC and the ampere-hour integration method, and then when the collected discharge current exceeds the preset current threshold, the current SOC is corrected according to the difference between the current SOC and the first SOC corresponding to the current voltage of the battery in the discharge SOC curve corresponding to the battery, to obtain the corrected SOC, and finally the corrected SOC is displayed through the instrument in the vehicle. The above technical solution makes the determined remaining capacity of the battery in the vehicle more accurate by correcting the current remaining capacity, which is conducive to improving the accuracy of the remaining capacity.

[0043] In some embodiments, when it is detected that the battery is in a discharging state, determining the current SOC of the battery based on the initial SOC and the ampere-hour integration method may specifically include: when it is detected that the battery is in a discharging state, obtaining the rated capacity, discharge time and discharge efficiency of the battery; 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.

[0044] In the embodiment of the present invention, when it is detected that the battery is in a discharging state, the rated capacity, discharge time and discharge efficiency of the battery are first obtained, and then the current SOC of the battery can be determined according to the initial SOC, rated capacity, discharge current, discharge time and discharge efficiency through the formula corresponding to the ampere-hour integration method. The above method is not only simple and reliable, but also can ensure that the accuracy of the determined current SOC is relatively high.

[0045] In some embodiments, 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 integrated value; dividing the first value by the rated capacity to obtain the power consumption of the battery; subtracting the initial SOC from the power consumption to obtain the current SOC of the battery.

[0046] Specifically, the above process of obtaining the current SOC of the battery can be expressed by the following formula:

[0047]

[0048] Among them, SOC represents the current remaining power of the battery, SOC0 represents the initial remaining power of the battery, and C N represents the rated capacity of the battery, η represents the discharge efficiency of the battery, I represents the discharge current of the battery at time t, and t represents the discharge time.

[0049] In the embodiment of the present invention, the current SOC of the battery can be determined simply and quickly through the above method.

[0050] In some embodiments, the correcting the current SOC according to the 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 may specifically include: obtaining the absolute value of the difference between the current SOC and the first SOC; and correcting the current SOC according to the relationship between the absolute value and a preset threshold.

[0051] The preset threshold may be pre-designed, such as 10%, or may be determined according to specific circumstances, and the embodiment of the present invention does not impose any specific limitation thereto.

[0052] In the embodiment of the present invention, when the collected discharge current exceeds the preset current threshold, the absolute value of the difference between the current SOC and the first SOC is first obtained, and then based on the relationship between the absolute value and the preset threshold, if the absolute value is greater than the preset threshold, the current SOC is corrected according to the relationship between the current SOC and the first SOC; if the absolute value is less than or equal to the preset threshold, the current SOC is kept unchanged. The above method can correct the current SOC so that the corrected SOC is more accurate.

[0053] 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.

[0054] In the embodiment of the present invention, since the OCV curves and discharge SOC curves corresponding to different battery types and different battery temperatures may be different, the OCV curve and / or the discharge SOC curve are determined according to the battery type and the current temperature of the battery, which can ensure the accuracy of the initial SOC and the first SOC.

[0055] In some embodiments, if the type of battery in the vehicle is a lead-acid battery, the above-mentioned method for determining the remaining battery power can be integrated into the software corresponding to the motor controller in the vehicle in the form of a library file, and the corrected SOC can be sent to the instrument in the vehicle through the motor controller so that the instrument displays the corrected SOC.

[0056] In the embodiment of the present invention, since the lead-acid battery does not have a battery management system (BMS) protection board, and the motor controller can collect the real-time battery voltage and discharge current required to determine the SOC during riding, the above-mentioned method for determining the remaining battery power is integrated into the software corresponding to the motor controller in the vehicle in the form of a library file, which can save costs without increasing additional hardware costs.

[0057] Embodiment 2

[0058] Figure 2 A flowchart of a method for determining the remaining power of a battery provided in Embodiment 2 of the present invention. The embodiment of the present invention is optimized on the basis of the above embodiment. Optionally, the present embodiment optimizes the process of determining the current SOC of the battery and correcting the current SOC.

[0059] See also Figure 2 The method of this embodiment includes but is not limited to the following steps:

[0060] S2001, 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.

[0061] S2002, determining whether the battery is in a discharging state.

[0062] The relevant controller in the vehicle can detect the state of the battery to determine whether the battery is in a charging state or a discharging state.

[0063] If yes, execute S2005; if no, execute S2003-S2004.

[0064] 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.

[0065] The charging SOC curve can be understood as a curve that can represent the relationship between the charging voltage of the battery and the remaining power of the battery during the battery charging process. The charging SOC curve is determined according to the type of the battery and the current temperature of the battery.

[0066] If the battery is in a charging state, since the controller cannot collect the charging current, the current SOC of the battery can be obtained by querying the remaining power corresponding to the current voltage in the charging SOC curve corresponding to the battery according to the current voltage of the battery.

[0067] S2004, the current SOC is displayed through the instrument in the vehicle.

[0068] After obtaining the current SOC of the battery, the current SOC is displayed through the instrument in the vehicle, so that the user can obtain the current SOC of the battery in the vehicle at any time, thereby improving the user's experience.

[0069] S2005 , determining the current SOC of the battery based on the initial SOC and the ampere-hour integration method.

[0070] 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.

[0071] S2006: When the collected discharge current exceeds a preset current threshold, an absolute value of a difference between the current SOC and the first SOC is obtained.

[0072] S2007, determining whether the absolute value is greater than a preset threshold.

[0073] If yes, execute S2009; if no, execute S2008.

[0074] S2008, the current SOC is displayed through the instrument in the vehicle.

[0075] If the absolute value is less than or equal to the preset threshold, it means that the currently collected discharge current is normal, and the current SOC is displayed through the instrument in the vehicle.

[0076] S2009: If the duration exceeds the preset duration, determine whether the current SOC is greater than the first SOC.

[0077] If so, execute S2010; if not, execute S2011.

[0078] If the absolute value is greater than the preset threshold and the duration exceeds the preset time, it is determined whether the current SOC is greater than the first SOC, so that different corrections can be made later according to the size relationship between the current SOC and the first SOC.

[0079] S2010, determining a first coefficient corresponding to the discharge current, and 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.

[0080] The first coefficient is greater than 1. The preset duration may be pre-designed, such as 5 seconds, or may be determined according to specific circumstances, and the embodiment of the present invention does not impose any specific limitation.

[0081] When the absolute value is greater than the preset threshold and the duration exceeds the preset time, if the current SOC is greater than the first SOC, it means that the current SOC far exceeds the first SOC. At this time, the current SOC should be quickly approached to the first SOC, that is, the power consumption of the battery is increased, thereby reducing the current SOC of the battery. By determining the first coefficient corresponding to the discharge current, and multiplying the discharge current by the first coefficient to obtain the first discharge current, the first discharge current is substituted into the formula (1) corresponding to the ampere-hour integration method to correct the current SOC, and the corrected SOC is obtained.

[0082] Exemplarily, since in the discharge SOC curve corresponding to the battery, as the discharge voltage decreases, the remaining power of the battery will also decrease. 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 is less than the discharge voltage corresponding to the 60% point in the discharge SOC curve corresponding to the battery, that is, the first SOC corresponding to the current voltage of the battery in the discharge SOC curve corresponding to the battery is less than 60%, indicating that the absolute value of the difference between the current SOC and the first SOC is greater than 10% (preset threshold), and the current SOC is greater than the first SOC. After the duration exceeds 5S, the current discharge current can be * 1.5 times (that is, the first coefficient) to correct the current SOC through the ampere-hour integration method, that is: reduce the current SOC so that the current SOC quickly approaches the first SOC until the error between the corrected SOC and the first SOC is within 10%, and then stop the correction.

[0083] S2011, determining a second coefficient corresponding to the discharge current, and multiplying the discharge current by the second coefficient to obtain a second discharge current, and correcting the current SOC based on the second discharge current and the ampere-hour integration method to obtain a corrected SOC.

[0084] The second coefficient is greater than 0 and less than 1.

[0085] When the absolute value is greater than the preset threshold and the duration exceeds the preset time, if the current SOC is less than or equal to the first SOC, it means that the current SOC is much less than the first SOC. At this time, the battery power consumption should be reduced to increase the current SOC of the battery. By determining the second coefficient corresponding to the discharge current, and multiplying the discharge current by the second coefficient to obtain the second discharge current, the second discharge current is substituted into the formula (1) corresponding to the ampere-hour integration method to correct the current SOC, and the corrected SOC is obtained.

[0086] Exemplarily, since in the discharge SOC curve corresponding to the battery, as the discharge voltage decreases, the remaining power of the battery will also decrease. When the collected discharge current exceeds the preset current threshold, assuming that the current SOC of the battery is between 40% and 50%, the current discharge voltage is greater than the discharge voltage corresponding to the 60% point in the discharge SOC curve corresponding to the battery, that is, the first SOC corresponding to the current voltage of the battery in the discharge SOC curve corresponding to the battery is greater than 60%, indicating that the absolute value of the difference between the current SOC and the first SOC is greater than 10% (preset threshold), and the current SOC is less than the first SOC. After the duration exceeds 5S, the current discharge current can be * 0.5 times (that is, the second coefficient) to correct the current SOC through the ampere-hour integration method, that is: increase the current SOC so that the current SOC quickly approaches the first SOC until the error between the corrected first SOC and the current SOC is within 10%, and then stop the correction.

[0087] S2012, the corrected SOC is displayed through an instrument in the vehicle.

[0088] The technical solution provided by this embodiment first determines the initial SOC of the battery according to the open circuit voltage OCV curve corresponding to the battery in the vehicle and the initial voltage of the battery, and then determines whether the battery is in a discharging state. 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 the charging SOC curve corresponding to the battery, and the current SOC is displayed through the instrument in the vehicle; if the battery is in a discharging state, the current SOC of the battery can be determined based on the initial SOC and the ampere-hour integration method. When the collected discharge current exceeds the preset current threshold, the absolute value of the difference between the current SOC and the first SOC is obtained, and then it is determined whether the absolute value is greater than the preset threshold. If the absolute value is less than or equal to the preset threshold, the vehicle The instrument in the vehicle displays the current SOC; if the absolute value is greater than a preset threshold and the duration exceeds a preset time, it is determined whether the current SOC is greater than the first SOC. If the current SOC is greater than the first SOC, a first coefficient corresponding to the discharge current is determined, and the discharge current is multiplied by the first coefficient to obtain the first discharge current. The current SOC is corrected based on the first discharge current and the ampere-hour integration method to obtain a corrected SOC; if the current SOC is less than or equal to the first SOC, a second coefficient corresponding to the discharge current is determined, and the discharge current is multiplied by the second coefficient to obtain the second discharge current. The current SOC is corrected based on the second discharge current and the ampere-hour integration method to obtain a corrected SOC; finally, the corrected SOC is displayed by the instrument in the vehicle. In the above scheme, different methods are first used to determine the current SOC according to the charge and discharge state of the battery. Then, when the battery is in a discharging state, if the absolute value of the difference between the current SOC and the first SOC is greater than a preset threshold, different coefficients corresponding to the discharge current are determined according to the numerical value between the current SOC and the first SOC, thereby making different corrections, so that the corrected SOC finally determined is more accurate. Compared with the prior art, this method can correct the SOC in real time, so that the SOC displayed by the final instrument is closer to the actual value, thereby improving the battery life.

[0089] Embodiment 3

[0090] Figure 3 A schematic diagram of a device for determining the remaining battery power provided by Embodiment 3 of the present invention is shown in FIG. Figure 3 As shown, the device may include:

[0091] An initial power determination module 310 is used to determine the initial remaining power 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;

[0092] a current power determination module 320, configured to determine the current SOC of the battery based on the initial SOC and an ampere-hour integration method when it is detected that the battery is in a discharging state;

[0093] A correction module 330, configured to 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, to obtain a corrected SOC when the collected discharge current exceeds a preset current threshold;

[0094] The display module 340 is configured to display the corrected SOC through a meter in the vehicle.

[0095] The technical solution provided in this embodiment first determines the initial remaining capacity SOC of the battery according to the 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 discharge state, the current SOC of the battery is determined based on the initial SOC and the ampere-hour integration method, and then when the collected discharge current exceeds the preset current threshold, the current SOC is corrected according to the difference between the current SOC and the first SOC corresponding to the current voltage of the battery in the discharge SOC curve corresponding to the battery, to obtain the corrected SOC, and finally the corrected SOC is displayed through the instrument in the vehicle. The above technical solution makes the determined remaining capacity of the battery in the vehicle more accurate by correcting the current remaining capacity, which is conducive to improving the accuracy of the remaining capacity.

[0096] Furthermore, the above-mentioned current power determination module 320 may include: an acquisition unit, used to acquire the rated capacity, discharge time and discharge efficiency of the battery when it is detected that the battery is in a discharging state; a determination unit, used to determine the current SOC of the battery by the ampere-hour integration method based on the initial SOC, the rated capacity, the discharge current, the discharge time and the discharge efficiency.

[0097] Furthermore, the above-mentioned determination unit can be specifically used to: integrate the discharge current, the discharge time and the discharge efficiency to obtain a first integrated value; divide the first value by the rated capacity to obtain the power consumption of the battery; subtract the initial SOC from the power consumption to obtain the current SOC of the battery.

[0098] Furthermore, the correction module 330 may include: an obtaining unit, used to obtain the absolute value of the difference between the current SOC and the first SOC when the collected discharge current exceeds a preset current threshold; a correction unit, used to correct the current SOC according to the relationship between the absolute value and the preset threshold to obtain a corrected SOC.

[0099] Furthermore, the correction unit may be specifically used for: when the absolute value is greater than a preset threshold value and the duration exceeds a preset time length, if the current SOC is greater than the first SOC, determining a first coefficient corresponding to the discharge current, and 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 greater than 1; when the absolute value is greater than a preset threshold value and the duration exceeds a preset time length, if the current SOC is less than or equal to the first SOC, determining a second coefficient corresponding to the discharge current, and multiplying the discharge current by the second coefficient to obtain a second discharge current, and correcting the current SOC based on the second discharge current and the ampere-hour integration method to obtain a corrected SOC, wherein the second coefficient is greater than 0 and less than 1.

[0100] Furthermore, the display module 340 may be specifically configured to: when the absolute value is less than or equal to a preset threshold, display the current SOC through a meter in the vehicle.

[0101] Further, 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.

[0102] The device for determining the remaining battery power provided in this embodiment can be applied to the method for determining the remaining battery power provided in any of the above embodiments, and has corresponding functions and beneficial effects.

[0103] Embodiment 4

[0104] Figure 4 A schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention is shown in FIG. Figure 4 As shown, the electronic device includes a processor 410 and a storage device 420; the number of the processor 410 in the electronic device can be one or more. Figure 4 A processor 410 is taken as an example; the processor 410 and the storage device 420 in the electronic device can be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.

[0105] The storage device 420, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as the modules corresponding to the method for determining the remaining battery power in the embodiment of the present invention (for example, the initial power determination module 310, the current power determination module 320, the correction module 330 and the display module 340 in the device for determining the remaining battery power). The processor 410 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the storage device 420, that is, implements the above-mentioned method for determining the remaining battery power.

[0106] The storage device 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the storage device 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the storage device 420 may further include a memory remotely arranged relative to the processor 410, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0107] An electronic device provided in this embodiment can be used to execute the method for determining the remaining battery power provided in any of the above embodiments, and has corresponding functions and beneficial effects.

[0108] Embodiment 5

[0109] Embodiment 5 of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for determining the remaining battery power in any embodiment of the present invention is implemented. The method specifically includes:

[0110] Determining the initial remaining 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;

[0111] When it is detected that the battery is in a discharging state, determining a current SOC of the battery based on the initial SOC and an ampere-hour integration method;

[0112] When the collected discharge current exceeds a preset current threshold, the current SOC is corrected 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 to obtain a corrected SOC;

[0113] The corrected SOC is displayed by a meter in the vehicle.

[0114] Of course, the computer executable instructions of a storage medium containing computer executable instructions provided in an embodiment of the present invention are not limited to the operations of the method described above, and can also execute related operations in the method for determining the remaining battery power provided in any embodiment of the present invention.

[0115] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (FLASH), a hard disk or an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0116] It is worth noting that in the embodiment of the above-mentioned device for determining the remaining battery power, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0117] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for determining the remaining power of a battery, characterized in that: include: Determining the initial remaining 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 it is detected that the battery is in a discharging state, determining a current SOC of the battery based on the initial SOC and an ampere-hour integration method; When the collected discharge current exceeds a preset current threshold, the current SOC is corrected 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 to obtain a corrected SOC; displaying the corrected SOC via a meter in the vehicle; The correcting of the current SOC according to the 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 includes: Obtaining an absolute value of a difference between the current SOC and the first SOC; Correcting the current SOC according to the magnitude relationship between the absolute value and a preset threshold; The correcting the current SOC according to the magnitude relationship between the absolute value and the preset threshold value includes: When the absolute value is greater than a preset threshold and the duration exceeds a preset time, if the current SOC is greater than the first SOC, a first coefficient corresponding to the discharge current is determined, and the discharge current is multiplied by the first coefficient to obtain a first discharge current, and the current SOC is corrected based on the first discharge current and the ampere-hour integration method, wherein the first coefficient is greater than 1; When the absolute value is greater than a preset threshold and the duration exceeds a preset time, if the current SOC is less than or equal to the first SOC, a second coefficient corresponding to the discharge current is determined, and the discharge current is multiplied by the second coefficient to obtain a second discharge current, and the current SOC is corrected based on the second discharge current and the ampere-hour integration method, wherein the second coefficient is greater than 0 and less than 1; The method further comprises: When it is detected that the battery is in a charging state, determining the current SOC of the battery according to the current voltage of the battery and a charging SOC curve corresponding to the battery; The current SOC of the battery in a state of charge is displayed by a meter in the vehicle.

2. The method according to claim 1, characterized in that When it is detected that the battery is in a discharging state, determining the current SOC of the battery based on the initial SOC and an ampere-hour integration method comprises: When it is detected that the battery is in a discharging state, obtaining the rated capacity, discharge time and discharge efficiency of the battery; The current SOC of the battery is determined 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 according to claim 2, characterized in that 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 comprises: Integrating the discharge current, the discharge time, and the discharge efficiency to obtain an integrated first value; Dividing the first value by the rated capacity to obtain the power consumption of the battery; The initial SOC is subtracted from the power consumption to obtain the current SOC of the battery.

4. The method according to claim 1, characterized in that Also includes: When the absolute value is less than or equal to a preset threshold, the current SOC is displayed through a meter in the vehicle.

5. The method according to any one of claims 1 to 4, characterized in that: 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.

6. A device for determining the remaining battery power, characterized in that: include: An initial power determination module, used to determine the initial remaining power 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; a current power determination module, configured to determine the current SOC of the battery based on the initial SOC and an ampere-hour integration method when it is detected that the battery is in a discharging state; a correction module, configured to 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, to obtain a corrected SOC when the collected discharge current exceeds a preset current threshold; A display module, configured to display the corrected SOC through a meter in the vehicle; Wherein, the correction module includes: an obtaining unit, configured to obtain an absolute value of a difference between the current SOC and the first SOC when the collected discharge current exceeds a preset current threshold; A correction unit, configured to correct the current SOC according to a magnitude relationship between the absolute value and a preset threshold value to obtain a corrected SOC; The correction unit is specifically used to: when the absolute value is greater than a preset threshold and the duration exceeds a preset time, if the current SOC is greater than the first SOC, determine a first coefficient corresponding to the discharge current, multiply the discharge current by the first coefficient to obtain a first discharge current, and correct 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 greater than 1; when the absolute value is greater than a preset threshold and the duration exceeds a preset time, if the current SOC is less than or equal to the first SOC, determine a second coefficient corresponding to the discharge current, multiply the discharge current by the second coefficient to obtain a second discharge current, and correct the current SOC based on the second discharge current and the ampere-hour integration method to obtain a corrected SOC, wherein the second coefficient is greater than 0 and less than 1; The current power determination module is further used to: when it is detected that the battery is in a charging state, determine the current SOC of the battery according to the current voltage of the battery and the charging SOC curve corresponding to the battery; The display module is also used to display the current SOC of the battery in a charging state through a meter in the vehicle.

7. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device 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 according to any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.