Battery charge state correction method and device, electronic equipment and storage medium
By obtaining battery data to identify the high SOC and correcting it, the problem of low SOC estimation accuracy is solved, the battery state of charge estimation accuracy is improved, and the charging demand is ensured while reducing charging time and discharge risks, which is improved user experience.
Patent Information
- Application Number
- CN202510833657.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-20
- Publication Date
- 2025-08-15
AI Technical Summary
In the prior art, the battery state of charge (SOC) estimation accuracy is low, resulting in an extended charging time, excessive discharge power, and risks such as battery over-discharge and vehicle power interruption, affecting the user experience.
By acquiring battery data, identifying the situation of high SOC, and based on the battery state of charge correction mark, charging mode and accumulated charging and discharge capacity, the upper limit of charging demand current is determined, and the battery voltage, current and temperature data are used to compare, identifying the degree of high SOC and correcting it.
Improve the accuracy of SOC estimation, ensure charging demand, while reducing charging time and discharge risks, and improving user experience.
Smart Images

Figure CN120481787A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of battery state of charge correction, and in particular to a battery state of charge correction method, device, electronic device and storage medium. Background Art
[0002] With the increasing popularity of new energy vehicles, ensuring optimal battery performance is a key industry concern. Battery state of charge (SOC) is a key component of battery state management. The accuracy of SOC estimation impacts battery charge and discharge control, health assessment, and safety control functions. The industry's primary SOC estimation method relies on current integration, combined with various correction methods to eliminate accumulated current integration errors, such as open-circuit voltage correction, full-charge correction, and dynamic model correction. However, varying user habits and battery cell characteristics affect SOC estimation, reducing the frequency of triggering correction methods, increasing current integration errors, and reducing SOC estimation accuracy. An overestimated SOC value can result in lower current at the end of charging, longer charging times, and excessive discharge power during discharge. This poses risks such as over-discharge and vehicle power outages, negatively impacting the user experience. Summary of the Invention
[0003] In view of this, the purpose of this application is to provide a battery state of charge correction method, device, electronic device and storage medium, to identify the high SOC situation in different charging modes, to correct the battery SOC while ensuring the user's charging needs, and to improve the battery SOC estimation accuracy.
[0004] An embodiment of the present application provides a method for correcting a battery state of charge, the method comprising: Obtain battery data of the battery during the charging process; wherein the battery data includes battery current, battery voltage, temperature data, charging gun type and charging device message data; determining a cumulative charge and discharge capacity of the battery based on a battery state of charge correction indicator of the battery; Determining an upper limit value of a charging current requirement of the battery based on a charging mode of the battery; If the cumulative charge and discharge capacity of the battery is greater than a preset threshold, identifying whether the current battery state of charge of the battery is high and the degree to which the battery state of charge is high based on comparing the battery voltage, the battery current, and the temperature data with standard data; The current battery state of charge is corrected based on the degree to which the battery state of charge is high, the cumulative charge and discharge capacity of the battery, and the charging demand current interval in which the current battery state of charge is located.
[0005] In a possible implementation manner, determining the cumulative charge and discharge capacity of the battery based on the battery state of charge correction indicator of the battery includes: If the battery state of charge correction flag of the battery is an uncorrected flag, continuing to determine the cumulative charge and discharge capacity of the battery based on the cumulative charge capacity and the cumulative discharge capacity after the battery is powered on next time; If the battery state of charge correction flag of the battery is a correction flag, the cumulative charge and discharge capacity of the battery is determined based on the cumulative charge capacity and the cumulative discharge capacity after the battery cumulative throughput value is cleared.
[0006] In one possible implementation, determining the upper limit of the required charging current of the battery based on the charging mode of the battery includes: If the battery charging mode is an AC charging mode, the charging power is identified based on the type of the charging gun, and the maximum charging current value is used as the upper limit of the charging current requirement of the battery in the AC charging mode; If the charging mode of the battery is a DC charging mode, the upper limit value of the battery's charging current requirement is determined based on the maximum charging current capability output by the DC charging pile, the charging current requirement, the actual charging current, and the load current.
[0007] In one possible implementation, if the battery charging mode is a DC charging mode, determining the upper limit of the battery charging current requirement based on the maximum charging current capability output by the DC charging pile, the charging requirement current, the actual charging current, and the load current includes: If the absolute value of the current difference between the required charging current and the maximum charging current is less than the preset current threshold, and the absolute value of the current difference between the actual charging current and the maximum charging current is less than the preset current threshold, the maximum charging current is used as the upper limit of the required charging current; If the current difference between the required charging current and the load current is greater than the sum of the actual charging current and the preset current threshold, the sum of the load current and the actual charging current is used as the upper limit of the required charging current.
[0008] In one possible implementation, the correcting the current battery state of charge based on the degree of high battery state of charge, the cumulative charge and discharge capacity of the battery, and the charging demand current range in which the current battery state of charge is located includes: Determining a current battery state of charge adjustment threshold and an adjustment rate based on the degree to which the battery state of charge is high and the cumulative charge and discharge capacity of the battery; A charging compensation current value is determined based on the charging demand current interval of the current battery state of charge, so that the current battery state of charge is corrected based on the current battery state of charge adjustment threshold, the adjustment rate, and the charging compensation current value.
[0009] In one possible implementation, determining a current battery state of charge adjustment threshold and an adjustment rate based on the high battery state of charge degree and the cumulative charge and discharge capacity of the battery includes: Performing a linear table lookup based on the cumulative charge and discharge capacity of the battery to determine the current battery state of charge adjustment threshold; The adjustment rate is determined based on the current battery state of charge adjustment threshold and a standard battery state of charge in standard data.
[0010] In a possible implementation manner, determining the charging compensation current value based on the charging demand current interval of the current battery state of charge includes: Check whether the current battery voltage is greater than or equal to the voltage corresponding to the same battery state of charge value in the standard data; If not, determining a charging compensation current value based on the charging demand current value of the current battery state of charge in the charging demand current interval and the increase request current value; wherein the charging compensation current value is less than the charging compensation current value; If so, stop increasing the requested current value and determine the charging compensation current value.
[0011] The present application also provides a battery state of charge correction device, the correction device comprising: A battery data acquisition module is used to obtain battery data of the battery during the charging process; wherein the battery data includes battery current, battery voltage, temperature data, charging gun type and charging device message data; a charge and discharge capacity calculation module, configured to determine the cumulative charge and discharge capacity of the battery based on a battery state of charge correction indicator of the battery; a charging upper limit calculation module, configured to determine an upper limit value of a charging current requirement of the battery based on a charging mode of the battery; a high SOC identification module, configured to identify whether the current state of charge of the battery is high and the degree to which the state of charge is high based on the comparison of the battery voltage, the battery current, and the temperature data with standard data if the cumulative charge and discharge capacity of the battery is greater than a preset threshold; The SOC correction module is configured to correct the current battery state of charge based on the degree to which the battery state of charge is too high, the cumulative charge and discharge capacity of the battery, and the charging demand current interval in which the current battery state of charge is located.
[0012] An embodiment of the present application also provides an electronic device, comprising: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the battery state of charge correction method as described above are performed.
[0013] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the battery state of charge correction method as described above are executed.
[0014] Embodiments of the present application provide a battery state of charge correction method, device, electronic device, and storage medium. The correction method includes: obtaining battery data of a battery during charging; wherein the battery data includes battery current, battery voltage, temperature data, charging gun type, and charging device message data; determining the battery's cumulative charge and discharge capacity based on the battery's battery state of charge correction identifier; determining the battery's charging current upper limit based on the battery's charging mode; if the battery's cumulative charge and discharge capacity is greater than a preset threshold, comparing the battery voltage, battery current, and temperature data with standard data to identify whether the battery's current state of charge is high and the degree to which the battery state of charge is high; and correcting the current battery state of charge based on the degree to which the battery state of charge is high, the battery's cumulative charge and discharge capacity, and the charging current range in which the current battery state of charge is located. Identifying high SOC conditions under different charging modes, correcting the battery's SOC while ensuring the user's charging needs, and improving the accuracy of battery SOC estimation.
[0015] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 This is a flow chart of a method for correcting the state of charge of a battery provided in an embodiment of the present application; Figure 2This is a second flow chart of a method for correcting the battery state of charge provided in an embodiment of the present application; Figure 3 A schematic structural diagram of a battery state of charge correction device provided in an embodiment of the present application; Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application for which protection is claimed, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work falls within the scope of protection of the present application.
[0019] First, the application scenarios to which this application is applicable are introduced. This application can be applied in the field of battery state of charge correction technology.
[0020] Research has found that with the increasing prevalence of new energy vehicles, ensuring optimal battery performance is a key industry concern. Battery state of charge (SOC) is a key component of battery state management. The accuracy of SOC estimation impacts battery charge and discharge control, health assessment, and safety control functions. The industry's primary SOC estimation method relies on current integration, combined with various correction methods to eliminate accumulated current integration errors, such as open-circuit voltage correction, full-charge correction, and dynamic model correction. However, varying user habits and battery cell characteristics affect SOC estimation, reducing the frequency of triggering correction methods, increasing current integration errors, and reducing SOC estimation accuracy. Overestimating SOC values can result in lower current at the end of charging, longer charging times, and excessive discharge power during discharge. This poses risks such as over-discharge and vehicle power outages, negatively impacting the user experience.
[0021] Based on this, an embodiment of the present application provides a method for correcting the battery state of charge, which identifies high SOC conditions in different charging modes, corrects the battery SOC while ensuring the user's charging needs, and improves the battery SOC estimation accuracy.
[0022] See also Figure 1 , Figure 1 This is one of the flow charts of a method for correcting the battery state of charge provided in an embodiment of the present application. Figure 1 As shown in , the correction method provided in the embodiment of the present application includes: S101: Acquire battery data of the battery during the charging process; wherein the battery data includes battery current, battery voltage, temperature data, charging gun type, and charging device message data.
[0023] In this step, the battery current, battery voltage, temperature data, charging gun type and charging device message data are collected. S102: Determine the cumulative charge and discharge capacity of the battery based on the battery state of charge correction indicator of the battery.
[0024] In this step, the cumulative charge and discharge capacity of the battery is determined according to the battery state of charge correction indicator.
[0025] In a possible implementation manner, determining the cumulative charge and discharge capacity of the battery based on the battery state of charge correction indicator of the battery includes: A: If the battery state of charge correction flag of the battery is an uncorrected flag, the cumulative charge and discharge capacity of the battery is determined based on the cumulative charge capacity and the cumulative discharge capacity after the battery is powered on next time.
[0026] Here, if the battery state of charge correction mark of the battery is an uncorrected mark, the calculated value is stored in the non-volatile memory before the controller is powered off, and the cumulative charge and discharge capacity of the battery is determined based on the cumulative charge capacity and the cumulative discharge capacity after the controller is powered on next time.
[0027] The calculation formula for the cumulative charge and discharge capacity is:
[0028]
[0029]
[0030] in, is the cumulative charge and discharge capacity (unit: Ah), is the cumulative charging capacity (unit: Ah), is the cumulative discharge capacity (unit: Ah), It is i Charging current (unit: A), It is j Discharge current (unit: A), It is iDuration of the first charge (unit: h), is the duration of the jth discharge (unit: h), i is the number of charging times, j is the number of discharges.
[0031] B: If the battery state of charge correction flag of the battery is a correction flag, the cumulative charge and discharge capacity of the battery is determined based on the cumulative charge capacity and the cumulative discharge capacity after the battery cumulative throughput value is reset to zero.
[0032] Here, if the battery state of charge correction flag of the battery is a correction flag, the cumulative charge and discharge capacity of the battery is determined according to the calculation formula of the cumulative charge and discharge capacity after the battery cumulative throughput value is reset to zero.
[0033] S103: Determine an upper limit value of a charging current requirement of the battery based on the charging mode of the battery.
[0034] In this step, the battery charging mode is identified, the output capacity of the charging device is calculated according to the battery charging mode, and the upper limit value of the battery charging current requirement is determined.
[0035] In one possible implementation, determining the upper limit of the required charging current of the battery based on the charging mode of the battery includes: a: If the battery charging mode is AC charging mode, the charging power is identified based on the type of the charging gun, and the maximum charging current value is used as the upper limit of the charging current requirement of the battery in the AC charging mode.
[0036] Here, the current charging mode is identified as DC or AC based on the charging gun connection signal. If the identified charging mode is AC, the charging power Pc is determined based on the charging gun type, and the maximum charging current is used as the upper limit of the charging current requirement.
[0037] b: If the battery charging mode is a DC charging mode, the upper limit of the battery charging demand current is determined based on the maximum charging current capability output by the DC charging pile, the charging demand current, the actual charging current and the load current.
[0038] Here, if the charging mode is identified as a DC charging mode, the upper limit of the battery's charging demand current is calculated based on the maximum charging current capability output by the DC charging pile, the charging demand current, the actual charging current, and the load current.
[0039] In one possible implementation, if the battery charging mode is a DC charging mode, determining the upper limit of the battery charging current requirement based on the maximum charging current capability output by the DC charging pile, the charging requirement current, the actual charging current, and the load current includes: (1): If the absolute value of the current difference between the required charging current and the maximum charging current is less than the preset current threshold, and the absolute value of the current difference between the actual charging current and the maximum charging current is less than the preset current threshold, the maximum charging current is used as the upper limit of the required charging current.
[0040] Here, if |I q - I0|<ΔI1, and |I- I0|<ΔI1, then I DC = I0. Where, I q is the charging demand current, I0 is the maximum charging current, ΔI1 is the preset current threshold, I is the actual charging current, I DC It is the upper limit of charging demand current.
[0041] (2): If the current difference between the charging demand current and the load current is greater than the sum of the actual charging current and the preset current threshold, the sum of the load current and the actual charging current is used as the upper limit of the charging demand current.
[0042] Here, if I q - I load >I+ΔI1, at this time I DC = I load + I, where, I load is the load current.
[0043] S104: If the cumulative charge and discharge capacity of the battery is greater than a preset threshold, the battery voltage, the battery current, the temperature data are compared with standard data to identify whether the current battery state of charge of the battery is high and the degree to which the battery state of charge is high.
[0044] In this step, if the cumulative charge and discharge capacity of the battery is greater than a preset threshold, the battery voltage, battery current, and temperature data are compared with standard data to identify whether the current battery state of charge is too high and the degree to which the battery state of charge is too high.
[0045] In the specific implementation method, the standard AC and DC charging data under different temperatures and aging conditions after the initial SOC calibration are used as the basic data, and the standard test uses the ampere-hour integration method to calculate the battery SOC during the charging process. Compare the above basic data with the data collected by the actual vehicle-side charging to identify whether the SOC is too high. Select the corresponding basic data according to the temperature and charging capacity during charging. After the charging gun is connected, the SOC at the start of charging is recorded as SOC1. According to the actual charging current collected during the charging process, the change in capacity ΔQ is calculated, and the voltage V1 at that moment is recorded. Among them, ΔQ is 1 / m times the rated capacity of the battery, and the value of m can be determined according to the actual rated capacity of the battery. Generally, the value of m is not less than 10. Take SOC= SOC1 in the basic data as the starting point, and record the voltage V2 at the moment when the capacity changes ΔQ. The voltage of the battery when it is working can be simplified and calculated using the following formula: V=OCV+I R Where OCV is the open circuit voltage of the battery, I is the current, and R is the internal resistance of the battery. ΔV = V2- V1 = ΔOCV + I ΔR is compared with the basic data and actual charging data under the same temperature and aging conditions, and the part of ΔV affected by aging and temperature can be ignored. When ΔV>Vh, the SOC estimate is too high. Among them, the setting of Vh value excludes factors such as sampling error. In different current ranges and SOC stages corresponding to V1, the threshold is set: Vh=I R / k, the value is determined by the slope of the voltage change during charging in different basic data. The larger the slope (the larger the voltage change), the smaller the value.
[0046] S105: Correcting the current battery state of charge based on the degree to which the battery state of charge is too high, the cumulative charge and discharge capacity of the battery, and the charging demand current range in which the current battery state of charge is located.
[0047] In this step, the current battery state of charge is corrected according to the degree to which the battery state of charge is high, the cumulative charge and discharge capacity of the battery, and the charging demand current range in which the current battery state of charge is located.
[0048] For further information, see Figure 2 , Figure 2 This is a second flow chart of a method for correcting the battery state of charge provided in an embodiment of the present application. Figure 2 As shown: S201: Determine a current battery state of charge adjustment threshold and adjustment rate based on the high battery state of charge and the cumulative charge and discharge capacity of the battery.
[0049] Here, the current battery state of charge adjustment threshold and adjustment rate are determined according to the degree to which the battery state of charge is high and the cumulative charge and discharge capacity of the battery.
[0050] In one possible implementation, determining a current battery state of charge adjustment threshold and an adjustment rate based on the high battery state of charge degree and the cumulative charge and discharge capacity of the battery includes: The current battery state of charge adjustment threshold is determined by performing a linear table lookup based on the cumulative charge and discharge capacity of the battery; and the adjustment rate is determined based on the current battery state of charge adjustment threshold and the standard battery charge state in the standard data.
[0051] Here, the SOC adjustment threshold is calculated using a linear table lookup based on the current cumulative charge and discharge capacity QT. The SOC adjustment threshold increases as QT increases, and the upper limit of the adjustment threshold is the maximum SOC estimation error. After identifying that the SOC is too high, the SOC value is calculated using the following formula:
[0052]
[0053] Among them, Cap is the rated capacity of the battery, G is the adjustment factor, is the standard battery charge state in the standard data, Adjust the threshold for SOC.
[0054] S202: Determine a charging compensation current value based on the charging demand current interval of the current battery state of charge, so as to correct the current battery state of charge based on the current battery state of charge adjustment threshold, the adjustment rate, and the charging compensation current value.
[0055] Here, the charging compensation current value is determined according to the charging demand current interval of the current battery state of charge, so that the current battery state of charge is corrected according to the current battery state of charge adjustment threshold, adjustment rate and charging compensation current value.
[0056] In a possible implementation manner, determining the charging compensation current value based on the charging demand current interval of the current battery state of charge includes: i: Check whether the current battery voltage is greater than or equal to the voltage corresponding to the same battery state of charge value in the standard data.
[0057] ii: If not, then determine the charging compensation current value based on the charging demand current value of the current battery state of charge in the charging demand current interval and the increase request current value; wherein, the charging compensation current value is less than the charging compensation current value; if so, stop increasing the request current value and determine the charging compensation current value.
[0058] Here, the charging demand current value I0 of the current SOC is recorded, and the requested current is gradually increased by ΔI2 to output the charging request current I q :I q =I0+ΔI2. The maximum value of ΔI2 does not exceed 1 / 10 of I0. Each time ΔI2 is increased, if the current voltage is greater than or equal to the voltage corresponding to the same SOC value in the basic data, the increase of ΔI2 is stopped. If it is not satisfied, the increase of ΔI2 is continued. During the compensation process, I q The maximum value is less than the upper limit of charging capacity.
[0059] An embodiment of the present application provides a method for correcting a battery state of charge (SOC), comprising: obtaining battery data of a battery during charging; wherein the battery data includes battery current, battery voltage, temperature data, charging gun type, and charging device message data; determining the cumulative charge and discharge capacity of the battery based on the battery SOC correction identifier; determining the upper limit of the charging current requirement of the battery based on the battery charging mode; if the cumulative charge and discharge capacity of the battery is greater than a preset threshold, comparing the battery voltage, battery current, and temperature data with standard data to identify whether the current SOC of the battery is too high and the degree to which the SOC is too high; and correcting the current SOC of the battery based on the degree to which the SOC is too high, the cumulative charge and discharge capacity of the battery, and the charging current requirement range in which the current SOC of the battery is located. The method identifies high SOC conditions under different charging modes, corrects the battery SOC while ensuring the user's charging needs, and improves the accuracy of battery SOC estimation.
[0060] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of a battery state of charge correction device provided in an embodiment of the present application. Figure 3 As shown in , the correction device 300 includes: The battery data acquisition module 310 is used to obtain battery data of the battery during the charging process; wherein the battery data includes battery current, battery voltage, temperature data, charging gun type and charging device message data; a charge and discharge capacity calculation module 320, configured to determine the cumulative charge and discharge capacity of the battery based on the battery state of charge correction indicator of the battery; A charging upper limit calculation module 330 is configured to determine an upper limit value of a charging current requirement of the battery based on a charging mode of the battery; a high SOC identification module 340 for identifying whether the current state of charge of the battery is high and the degree to which the state of charge is high based on the comparison of the battery voltage, the battery current, and the temperature data with standard data if the cumulative charge and discharge capacity of the battery is greater than a preset threshold; The SOC correction module 350 is configured to correct the current battery state of charge based on the degree to which the battery state of charge is too high, the cumulative charge and discharge capacity of the battery, and the charging demand current range in which the current battery state of charge is located.
[0061] Furthermore, when the charge and discharge capacity calculation module 320 is used to determine the cumulative charge and discharge capacity of the battery based on the battery state of charge correction indicator of the battery, the charge and discharge capacity calculation module 320 is specifically used to: If the battery state of charge correction flag of the battery is an uncorrected flag, continuing to determine the cumulative charge and discharge capacity of the battery based on the cumulative charge capacity and the cumulative discharge capacity after the battery is powered on next time; If the battery state of charge correction flag of the battery is a correction flag, the cumulative charge and discharge capacity of the battery is determined based on the cumulative charge capacity and the cumulative discharge capacity after the battery cumulative throughput value is cleared.
[0062] Furthermore, when the charging upper limit calculation module 330 is used to determine the upper limit value of the charging demand current of the battery based on the charging mode of the battery, the charging upper limit calculation module 330 is specifically used to: If the battery charging mode is an AC charging mode, the charging power is identified based on the type of the charging gun, and the maximum charging current value is used as the upper limit of the charging current requirement of the battery in the AC charging mode; If the charging mode of the battery is a DC charging mode, the upper limit value of the battery's charging current requirement is determined based on the maximum charging current capability output by the DC charging pile, the charging current requirement, the actual charging current, and the load current.
[0063] Furthermore, when the charging upper limit calculation module 330 is used to determine the upper limit of the charging demand current of the battery based on the maximum charging current capability, charging demand current, actual charging current and load current output by the DC charging pile if the charging mode of the battery is the DC charging mode, the charging upper limit calculation module 330 is specifically used to: If the absolute value of the current difference between the required charging current and the maximum charging current is less than the preset current threshold, and the absolute value of the current difference between the actual charging current and the maximum charging current is less than the preset current threshold, the maximum charging current is used as the upper limit of the required charging current; If the current difference between the required charging current and the load current is greater than the sum of the actual charging current and the preset current threshold, the sum of the load current and the actual charging current is used as the upper limit of the required charging current.
[0064] Furthermore, when the SOC correction module 350 is used to correct the current battery state of charge based on the high battery state of charge, the cumulative charge and discharge capacity of the battery, and the charging demand current range of the current battery state of charge, the SOC correction module 350 is specifically used to: Determining a current battery state of charge adjustment threshold and an adjustment rate based on the degree to which the battery state of charge is high and the cumulative charge and discharge capacity of the battery; A charging compensation current value is determined based on the charging demand current interval of the current battery state of charge, so that the current battery state of charge is corrected based on the current battery state of charge adjustment threshold, the adjustment rate, and the charging compensation current value.
[0065] Furthermore, when the SOC correction module 350 is used to determine the current battery state of charge adjustment threshold and adjustment rate based on the high state of charge degree of the battery and the cumulative charge and discharge capacity of the battery, the SOC correction module 350 is specifically used to: Performing a linear table lookup based on the cumulative charge and discharge capacity of the battery to determine the current battery state of charge adjustment threshold; The adjustment rate is determined based on the current battery state of charge adjustment threshold and a standard battery state of charge in standard data.
[0066] Furthermore, when the SOC correction module 350 is used to determine the charging compensation current value based on the charging demand current interval of the current battery state of charge, the SOC correction module 350 is specifically used to: Check whether the current battery voltage is greater than or equal to the voltage corresponding to the same battery state of charge value in the standard data; If not, determining a charging compensation current value based on the charging demand current value of the current battery state of charge in the charging demand current interval and the increase request current value; wherein the charging compensation current value is less than the charging compensation current value; If so, stop increasing the requested current value and determine the charging compensation current value.
[0067] An embodiment of the present application provides a battery state of charge correction device, the correction device comprising: a battery data acquisition module, configured to obtain battery data of a battery during a charging process; wherein the battery data comprises battery current, battery voltage, temperature data, charging gun type, and charging device message data; a charge and discharge capacity calculation module, configured to determine the cumulative charge and discharge capacity of the battery based on a battery state of charge correction identifier of the battery; a charge upper limit calculation module, configured to determine the upper limit value of the charging demand current of the battery based on a charging mode of the battery; a high SOC identification module, configured to identify whether the current battery state of charge of the battery is high and the degree to which the battery state of charge is high based on comparison of the battery voltage, the battery current, and the temperature data with standard data if the cumulative charge and discharge capacity of the battery is greater than a preset threshold; and an SOC correction module, configured to correct the current battery state of charge based on the degree to which the battery state of charge is high, the cumulative charge and discharge capacity of the battery, and the charging demand current interval in which the current battery state of charge is located. Identify high SOC situations in different charging modes, correct the battery SOC while ensuring the user's charging needs, and improve the battery SOC estimation accuracy.
[0068] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 4 As shown in FIG, the electronic device 400 includes a processor 410 , a memory 420 and a bus 430 .
[0069] The memory 420 stores machine-readable instructions executable by the processor 410. When the electronic device 400 is running, the processor 410 communicates with the memory 420 via the bus 430. When the machine-readable instructions are executed by the processor 410, the above-mentioned Figure 1 as well as Figure 2 The specific implementation of the steps of the method for correcting the battery state of charge in the method embodiment shown can be found in the method embodiment, and will not be repeated here.
[0070] The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 as well as Figure 2 The specific implementation of the steps of the method for correcting the battery state of charge in the method embodiment shown can be found in the method embodiment, and will not be repeated here.
[0071] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0072] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. There may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interface, indirect coupling or communication connection of devices or units, which may be electrical, mechanical or other forms.
[0073] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0074] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0075] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0076] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The scope of protection of the present application is not limited thereto. Although the present application has been described in detail with reference to the above-mentioned embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-mentioned embodiments within the technical scope disclosed in the present application, or perform equivalent replacements for some of the technical features thereof. These modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A method for correcting the state of charge of a battery, characterized in that: The correction method includes: Obtain battery data of the battery during the charging process; wherein the battery data includes battery current, battery voltage, temperature data, charging gun type and charging device message data; determining a cumulative charge and discharge capacity of the battery based on a battery state of charge correction indicator of the battery; Determining an upper limit value of a charging current requirement of the battery based on a charging mode of the battery; If the cumulative charge and discharge capacity of the battery is greater than a preset threshold, identifying whether the current battery state of charge of the battery is high and the degree to which the battery state of charge is high based on comparing the battery voltage, the battery current, and the temperature data with standard data; The current battery state of charge is corrected based on the degree to which the battery state of charge is high, the cumulative charge and discharge capacity of the battery, and the charging demand current interval in which the current battery state of charge is located.
2. The correction method according to claim 1, wherein: The determining of the cumulative charge and discharge capacity of the battery based on the battery state of charge correction indicator of the battery includes: If the battery state of charge correction flag of the battery is an uncorrected flag, continuing to determine the cumulative charge and discharge capacity of the battery based on the cumulative charge capacity and the cumulative discharge capacity after the battery is powered on next time; If the battery state of charge correction flag of the battery is a correction flag, the cumulative charge and discharge capacity of the battery is determined based on the cumulative charge capacity and the cumulative discharge capacity after the battery cumulative throughput value is cleared.
3. The correction method according to claim 1, wherein: The determining, based on the charging mode of the battery, an upper limit value of the charging current requirement of the battery includes: If the battery charging mode is an AC charging mode, the charging power is identified based on the type of the charging gun, and the maximum charging current value is used as the upper limit of the charging current requirement of the battery in the AC charging mode; If the charging mode of the battery is a DC charging mode, the upper limit value of the battery's charging current requirement is determined based on the maximum charging current capability output by the DC charging pile, the charging current requirement, the actual charging current, and the load current.
4. The correction method according to claim 3, characterized in that: If the battery charging mode is a DC charging mode, determining the upper limit of the battery charging current requirement based on the maximum charging current capability output by the DC charging pile, the charging current requirement, the actual charging current, and the load current includes: If the absolute value of the current difference between the required charging current and the maximum charging current is less than the preset current threshold, and the absolute value of the current difference between the actual charging current and the maximum charging current is less than the preset current threshold, the maximum charging current is used as the upper limit of the required charging current; If the current difference between the required charging current and the load current is greater than the sum of the actual charging current and the preset current threshold, the sum of the load current and the actual charging current is used as the upper limit of the required charging current.
5. The correction method according to claim 1, wherein: The correcting the current battery state of charge based on the degree of the battery state of charge being too high, the cumulative charge and discharge capacity of the battery, and the charging demand current range in which the current battery state of charge is located includes: Determining a current battery state of charge adjustment threshold and an adjustment rate based on the degree to which the battery state of charge is high and the cumulative charge and discharge capacity of the battery; A charging compensation current value is determined based on the charging demand current interval of the current battery state of charge, so that the current battery state of charge is corrected based on the current battery state of charge adjustment threshold, the adjustment rate, and the charging compensation current value.
6. The correction method according to claim 5, characterized in that: The determining, based on the high state of charge of the battery and the accumulated charge and discharge capacity of the battery, a current battery state of charge adjustment threshold and an adjustment rate, includes: Performing a linear table lookup based on the cumulative charge and discharge capacity of the battery to determine the current battery state of charge adjustment threshold; The adjustment rate is determined based on the current battery state of charge adjustment threshold and a standard battery state of charge in standard data.
7. The correction method according to claim 5, characterized in that: The determining of the charging compensation current value based on the charging demand current interval of the current battery state of charge includes: Check whether the current battery voltage is greater than or equal to the voltage corresponding to the same battery state of charge value in the standard data; If not, determining a charging compensation current value based on the charging demand current value of the current battery state of charge in the charging demand current interval and the increase request current value; wherein the charging compensation current value is less than the charging compensation current value; If so, stop increasing the requested current value and determine the charging compensation current value.
8. A battery state of charge correction device, characterized in that: The correction device comprises: A battery data acquisition module is used to obtain battery data of the battery during the charging process; wherein the battery data includes battery current, battery voltage, temperature data, charging gun type and charging device message data; a charge and discharge capacity calculation module, configured to determine the cumulative charge and discharge capacity of the battery based on a battery state of charge correction indicator of the battery; a charging upper limit calculation module, configured to determine an upper limit value of a charging current requirement of the battery based on a charging mode of the battery; a high SOC identification module, configured to identify whether the current state of charge of the battery is high and the degree to which the state of charge is high based on the comparison of the battery voltage, the battery current, and the temperature data with standard data if the cumulative charge and discharge capacity of the battery is greater than a preset threshold; The SOC correction module is configured to correct the current battery state of charge based on the degree to which the battery state of charge is too high, the cumulative charge and discharge capacity of the battery, and the charging demand current interval in which the current battery state of charge is located.
9. An electronic device, characterized in that: include: A processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the memory communicate via the bus. When the processor runs the machine-readable instructions, the steps of the battery state of charge correction method as described in any one of claims 1 to 7 are executed.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for correcting the battery state of charge according to any one of claims 1 to 7 are executed.