Method for correcting state of charge of battery, electronic device, and storage medium

By establishing a target mapping relationship and voltage compensation filtering, the problem of inaccurate battery state of charge estimation was solved, and more accurate state of charge correction was achieved.

CN119335415BActive Publication Date: 2025-11-11XINJIEAN AUTOMOTIVE ELECTRONICS (MAOMING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411783172.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-11-11
Estimated Expiration
2044-12-05

AI Technical Summary

Technical Problem

Existing battery state of charge estimation methods are inaccurate due to polarization when the discharge current is too large, and cannot accurately correct the battery state of charge.

Method used

By determining the fitting coefficients based on the test charge and discharge data of the sample battery under different operating conditions, establishing the target mapping relationship, obtaining the actual terminal voltage and performing compensation and filtering, and using the preset correction voltage to correct the actual state of charge.

Benefits of technology

It improves the accuracy of battery state of charge correction, resulting in smoother voltage and more accurate correction of the actual state of charge, keeping it within a certain range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119335415B_ABST
    Figure CN119335415B_ABST
Patent Text Reader

Abstract

This application provides a method, electronic device, and storage medium for correcting the state of charge (SOC) of a battery. The method includes: determining the fitting coefficients of the terminal voltage of the sample battery in different current ranges based on test charge-discharge data of the sample battery under different operating conditions, and determining a target mapping relationship based on the fitting coefficients and the test charge-discharge data; acquiring the actual terminal voltage and actual current of the target battery during the charge-discharge process; performing compensation and filtering processing on the actual terminal voltage based on the fitting coefficients of the terminal voltage of the sample battery in different current ranges and the actual current to obtain the filtered actual terminal voltage; and correcting the actual SOC based on the target SOC to obtain the corrected SOC corresponding to the actual SOC. This makes the correction of the actual SOC more accurate, thereby keeping the corrected actual SOC of the target battery within a certain range.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of battery technology, and more specifically, to a method for correcting the state of charge of a battery, an electronic device, and a storage medium. Background Technology

[0002] Lithium-ion batteries are being used more and more widely in electric vehicles, large, medium and small energy storage systems and other applications. The state of charge (SOC) of a battery is the ratio of its current remaining capacity to its rated capacity when fully charged, and it is one of the most important parameters of a lithium-ion battery.

[0003] Currently, the commonly used method for estimating the state of charge (SOC) of a battery involves establishing an equivalent current model, calculating the current open circuit voltage (OCV) using the model, and then correcting the SOC accordingly. However, when the discharge current is too large, the battery will exhibit different polarization phenomena, causing the equivalent circuit model estimation to fail and resulting in inaccurate SOC estimation. Summary of the Invention

[0004] The purpose of this application is to address the shortcomings of the prior art by providing a method, electronic device, and storage medium for correcting the state of charge of a battery, thereby improving the accuracy of the correction.

[0005] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:

[0006] In a first aspect, embodiments of this application provide a method for correcting the state of charge of a battery, the method comprising:

[0007] The fitting coefficients of the terminal voltage of the sample battery in different current ranges are determined based on the test charge and discharge data of the sample battery under different operating conditions, and the target mapping relationship is determined based on the fitting coefficients and the test charge and discharge data. The target mapping relationship is used to indicate the mapping relationship between the target terminal voltage and the state of charge.

[0008] Obtain the actual terminal voltage and actual current of the target battery during the charging and discharging process;

[0009] Based on the fitting coefficients of the sample battery's terminal voltage in different current ranges and the actual current, the actual terminal voltage is compensated and filtered to obtain the filtered actual terminal voltage.

[0010] When the filtered actual terminal voltage equals the preset correction voltage, the actual state of charge of the target battery and the target state of charge corresponding to the preset correction voltage in the target mapping relationship are obtained, and the actual state of charge is corrected according to the target state of charge.

[0011] Optionally, the test charge-discharge data includes: test state of charge, terminal voltage corresponding to the test state of charge, current corresponding to the test state of charge, and open-circuit voltage corresponding to the test state of charge. The test state of charge is the state of charge of the sample battery during the charge-discharge test under different operating conditions.

[0012] Optionally, determining the fitting coefficient of the terminal voltage of the sample battery in different current ranges based on the test charge-discharge data of the sample battery under different operating conditions includes:

[0013] Subtract the terminal voltage corresponding to each test state of charge under different operating conditions from the open circuit voltage corresponding to each test state of charge under each test state of charge to obtain the first parameter value corresponding to each test state of charge under different operating conditions.

[0014] Substitute the current corresponding to each of the test states of charge under different operating conditions into the fitting relationship with the current to obtain the second parameter value corresponding to each of the test states of charge under different operating conditions.

[0015] The fitting process is performed based on the first parameter value corresponding to each test state of charge under different operating conditions and the second parameter value corresponding to each test state of charge under different operating conditions to obtain the fitting coefficient of the terminal voltage of the sample battery in different current ranges.

[0016] Optionally, determining the target mapping relationship based on the fitting coefficients and the test charge-discharge data includes:

[0017] Based on the fitting coefficient of the terminal voltage of the sample battery in different current ranges, the terminal voltage corresponding to each of the test states of charge under different operating conditions, the current corresponding to each of the test states of charge under different operating conditions, and the preset gain coefficient, the terminal voltage corresponding to each of the test states of charge under different operating conditions is compensated and filtered to obtain the mapping relationship between the compensated back-end voltage and the state of charge under different operating conditions.

[0018] The target mapping relationship is determined based on the mapping relationship between the compensation back-end voltage and the state of charge under different operating conditions.

[0019] Optionally, determining the target mapping relationship based on the mapping relationship between the compensation back-end voltage and the state of charge under different operating conditions includes:

[0020] The mapping relationship between the compensation back-end voltage and the state of charge under different operating conditions is filtered to obtain the mapping relationship between the filtered back-end voltage and the state of charge under different operating conditions.

[0021] The average value of the filter back-end voltage corresponding to each charge state in the mapping relationship between the filter back-end voltage and the charge state under different operating conditions is taken as the target terminal voltage corresponding to each charge state in the target mapping relationship.

[0022] Optionally, the preset correction voltage is a voltage from any set of correction voltages, and the set of correction voltages includes multiple preset correction voltages;

[0023] The step of correcting the actual state of charge based on the target state of charge includes:

[0024] Based on the target state of charge and the actual state of charge corresponding to each preset correction voltage in the correction voltage set, the deviation result corresponding to the correction voltage set is determined;

[0025] The actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set is corrected based on the deviation results corresponding to the correction voltage set.

[0026] Optionally, the set of corrected voltages includes: a first voltage, a second voltage, and a third voltage;

[0027] The step of determining the deviation result corresponding to the set of correction voltages based on the target state of charge and the actual state of charge corresponding to each preset correction voltage in the set of correction voltages includes:

[0028] If the actual state of charge corresponding to the first voltage is greater than the target state of charge corresponding to the first voltage, and the actual state of charge corresponding to the second voltage is greater than the target state of charge corresponding to the second voltage, and the actual state of charge corresponding to the third voltage is greater than the target state of charge corresponding to the third voltage, the deviation result is determined to be too high.

[0029] If the actual state of charge corresponding to the first voltage is less than the target state of charge corresponding to the first voltage and the difference is greater than a preset threshold, and the actual state of charge corresponding to the second voltage is less than the target state of charge corresponding to the second voltage and the difference is greater than a preset threshold, and the actual state of charge corresponding to the third voltage is less than the target state of charge corresponding to the third voltage and the difference is greater than a preset threshold, the deviation result is determined to be too low.

[0030] If the actual state of charge corresponding to the first voltage is less than the target state of charge corresponding to the first voltage and the difference is less than a preset threshold, and the actual state of charge corresponding to the second voltage is less than the target state of charge corresponding to the second voltage and the difference is less than a preset threshold, and the actual state of charge corresponding to the third voltage is less than the target state of charge corresponding to the third voltage and the difference is less than a preset threshold, then the deviation result is determined to be no deviation.

[0031] If the direction of the difference between the actual state of charge corresponding to the first voltage and the target state of charge corresponding to the first voltage is different from the direction of the difference between the actual state of charge corresponding to the second voltage and the target state of charge corresponding to the second voltage, then the deviation result is determined based on the first difference between the actual state of charge corresponding to the third voltage and the actual state of charge corresponding to the first voltage, the second difference between the actual state of charge corresponding to the third voltage and the actual state of charge corresponding to the second voltage, the third difference between the target state of charge corresponding to the third voltage and the target state of charge corresponding to the first voltage, and the fourth difference between the target state of charge corresponding to the third voltage and the target state of charge corresponding to the second voltage.

[0032] Optionally, determining the deviation result based on a first difference between the actual state of charge corresponding to the third voltage and the actual state of charge corresponding to the first voltage, a second difference between the actual state of charge corresponding to the third voltage and the actual state of charge corresponding to the second voltage, a third difference between the target state of charge corresponding to the third voltage and the target state of charge corresponding to the first voltage, and a fourth difference between the target state of charge corresponding to the third voltage and the target state of charge corresponding to the second voltage includes:

[0033] The difference between the first difference and the third difference is taken as the fifth difference, and the difference between the second difference and the fourth difference is taken as the sixth difference;

[0034] The voltage corresponding to the smaller difference between the fifth difference and the sixth difference is taken as the target voltage;

[0035] The difference between the actual state of charge corresponding to the target voltage and the target state of charge corresponding to the target voltage is taken as the deviation result.

[0036] Optionally, the step of correcting the actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set based on the deviation result corresponding to the correction voltage set includes:

[0037] If the deviation result is too high, then the actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set will be lowered according to a preset ratio.

[0038] If the deviation result is too low, then the actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set is increased according to a preset ratio.

[0039] If the deviation result is no deviation, then the actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set will not be corrected.

[0040] Secondly, embodiments of this application also provide a battery state of charge correction device, the device comprising:

[0041] The determination module is used to determine the fitting coefficient of the terminal voltage of the sample battery in different current ranges based on the test charge and discharge data of the sample battery under different operating conditions, and to determine the target mapping relationship based on the fitting coefficient and the test charge and discharge data. The target mapping relationship is used to indicate the mapping relationship between the target terminal voltage and the state of charge.

[0042] The acquisition module is used to acquire the actual terminal voltage and actual current of the target battery during the charging and discharging process;

[0043] The processing module is used to perform compensation processing and filtering processing on the actual terminal voltage based on the fitting coefficient of the terminal voltage of the sample battery in different current ranges and the actual current, so as to obtain the filtered actual terminal voltage.

[0044] The correction module is used to obtain the actual state of charge of the target battery and the target state of charge corresponding to the preset correction voltage in the target mapping relationship when the filtered actual terminal voltage is equal to the preset correction voltage, and to correct the actual state of charge according to the target state of charge.

[0045] Optionally, the test charge-discharge data includes: test state of charge, terminal voltage corresponding to the test state of charge, current corresponding to the test state of charge, and open-circuit voltage corresponding to the test state of charge. The test state of charge is the state of charge of the sample battery during the charge-discharge test under different operating conditions.

[0046] Optionally, the determining module is specifically used for:

[0047] Subtract the terminal voltage corresponding to each test state of charge under different operating conditions from the open circuit voltage corresponding to each test state of charge under each test state of charge to obtain the first parameter value corresponding to each test state of charge under different operating conditions.

[0048] Substitute the current corresponding to each of the test states of charge under different operating conditions into the fitting relationship with the current to obtain the second parameter value corresponding to each of the test states of charge under different operating conditions.

[0049] The fitting process is performed based on the first parameter value corresponding to each test state of charge under different operating conditions and the second parameter value corresponding to each test state of charge under different operating conditions to obtain the fitting coefficient of the terminal voltage of the sample battery in different current ranges.

[0050] Optionally, the determining module is specifically used for:

[0051] Based on the fitting coefficient of the terminal voltage of the sample battery in different current ranges, the terminal voltage corresponding to each of the test states of charge under different operating conditions, the current corresponding to each of the test states of charge under different operating conditions, and the preset gain coefficient, the terminal voltage corresponding to each of the test states of charge under different operating conditions is compensated and filtered to obtain the mapping relationship between the compensated back-end voltage and the state of charge under different operating conditions.

[0052] The target mapping relationship is determined based on the mapping relationship between the compensation back-end voltage and the state of charge under different operating conditions.

[0053] Optionally, the determining module is specifically used for:

[0054] The mapping relationship between the compensation back-end voltage and the state of charge under different operating conditions is filtered to obtain the mapping relationship between the filtered back-end voltage and the state of charge under different operating conditions.

[0055] The average value of the filter back-end voltage corresponding to each charge state in the mapping relationship between the filter back-end voltage and the charge state under different operating conditions is taken as the target terminal voltage corresponding to each charge state in the target mapping relationship.

[0056] Optionally, the preset correction voltage is a voltage from any set of correction voltages, and the set of correction voltages includes multiple preset correction voltages;

[0057] The determining module is specifically used for:

[0058] Based on the target state of charge and the actual state of charge corresponding to each preset correction voltage in the correction voltage set, the deviation result corresponding to the correction voltage set is determined;

[0059] The actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set is corrected based on the deviation results corresponding to the correction voltage set.

[0060] Optionally, the set of corrected voltages includes: a first voltage, a second voltage, and a third voltage;

[0061] The determining module is specifically used for:

[0062] If the actual state of charge corresponding to the first voltage is greater than the target state of charge corresponding to the first voltage, and the actual state of charge corresponding to the second voltage is greater than the target state of charge corresponding to the second voltage, and the actual state of charge corresponding to the third voltage is greater than the target state of charge corresponding to the third voltage, the deviation result is determined to be too high.

[0063] If the actual state of charge corresponding to the first voltage is less than the target state of charge corresponding to the first voltage and the difference is greater than a preset threshold, and the actual state of charge corresponding to the second voltage is less than the target state of charge corresponding to the second voltage and the difference is greater than a preset threshold, and the actual state of charge corresponding to the third voltage is less than the target state of charge corresponding to the third voltage and the difference is greater than a preset threshold, the deviation result is determined to be too low.

[0064] If the actual state of charge corresponding to the first voltage is less than the target state of charge corresponding to the first voltage and the difference is less than a preset threshold, and the actual state of charge corresponding to the second voltage is less than the target state of charge corresponding to the second voltage and the difference is less than a preset threshold, and the actual state of charge corresponding to the third voltage is less than the target state of charge corresponding to the third voltage and the difference is less than a preset threshold, then the deviation result is determined to be no deviation.

[0065] If the direction of the difference between the actual state of charge corresponding to the first voltage and the target state of charge corresponding to the first voltage is different from the direction of the difference between the actual state of charge corresponding to the second voltage and the target state of charge corresponding to the second voltage, then the deviation result is determined based on the first difference between the actual state of charge corresponding to the third voltage and the actual state of charge corresponding to the first voltage, the second difference between the actual state of charge corresponding to the third voltage and the actual state of charge corresponding to the second voltage, the third difference between the target state of charge corresponding to the third voltage and the target state of charge corresponding to the first voltage, and the fourth difference between the target state of charge corresponding to the third voltage and the target state of charge corresponding to the second voltage.

[0066] Optionally, the determining module is specifically used for:

[0067] The difference between the first difference and the third difference is taken as the fifth difference, and the difference between the second difference and the fourth difference is taken as the sixth difference;

[0068] The voltage corresponding to the smaller difference between the fifth difference and the sixth difference is taken as the target voltage;

[0069] The difference between the actual state of charge corresponding to the target voltage and the target state of charge corresponding to the target voltage is taken as the deviation result.

[0070] Optionally, the correction module is specifically used for:

[0071] If the deviation result is too high, then the actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set will be lowered according to a preset ratio.

[0072] If the deviation result is too low, then the actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set is increased according to a preset ratio.

[0073] If the deviation result is no deviation, then the actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set will not be corrected.

[0074] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a storage medium, and a bus. The storage medium stores program instructions executable by the processor. When the application runs, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of the battery state of charge correction method described in the first aspect.

[0075] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which is read and executes the steps of the battery state-of-charge correction method described in the first aspect.

[0076] The beneficial effects of this application are:

[0077] This application provides a method, electronic device, and storage medium for correcting the state of charge (SOC) of a battery. By pre-determining the fitting coefficients of the sample battery's terminal voltage in different current ranges based on test charge-discharge data under different operating conditions, different fitting coefficients can be obtained for different currents. Based on the fitting coefficients and test charge-discharge data under different operating conditions, a target mapping relationship for the sample battery is determined. When a target battery of the same model as the sample battery is charged and discharged, the actual terminal voltage of the target battery is compensated and filtered based on the fitting coefficients of the sample battery's terminal voltage in different current ranges and the actual current of the target battery. This results in a filtered actual terminal voltage, which improves the linearity between the current-compensated terminal voltage and the SOC. Furthermore, the voltage filtering makes the voltage smoother. Then, the actual SOC is corrected based on the target SOC corresponding to the preset correction voltage in the target mapping relationship, making the correction of the actual SOC more accurate and ensuring that the corrected actual SOC of the target battery remains within a certain range. Attached Figure Description

[0078] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0079] Figure 1 A flowchart illustrating a method for correcting the state of charge of a battery provided in an embodiment of this application;

[0080] Figure 2 This is a schematic diagram of test charge-discharge data provided in an embodiment of this application;

[0081] Figure 3 A flowchart illustrating a method for determining fitting coefficients provided in an embodiment of this application;

[0082] Figure 4 A flowchart illustrating a method for determining a target mapping relationship provided in an embodiment of this application;

[0083] Figure 5 A flowchart illustrating another method for determining a target mapping relationship provided in an embodiment of this application;

[0084] Figure 6 A flowchart illustrating a method for determining deviation results provided in an embodiment of this application;

[0085] Figure 7 A schematic diagram of an apparatus for a method of correcting the state of charge of a battery provided in an embodiment of this application;

[0086] Figure 8 This is a structural block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0087] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.

[0088] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0089] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.

[0090] Optionally, the battery state of charge correction method provided in this application embodiment can be applied to an electronic device, such as a mobile phone, tablet computer, laptop computer, PDA, desktop computer, or other terminal device with computing power and display function, or it can be a server. Specifically, it can be applied to applications in terminal devices, such as mobile phone apps (APPs) and computer application systems.

[0091] The following section will explain in detail the specific implementation process of the battery state of charge correction provided in the embodiments of this application.

[0092] Figure 1 This is a flowchart illustrating a method for correcting the state of charge of a battery, as provided in an embodiment of this application. The subject executing this method is the aforementioned electronic device. Figure 1 As shown, the method includes:

[0093] S101. Determine the fitting coefficient of the terminal voltage of the sample battery in different current ranges based on the test charge and discharge data of the sample battery under different operating conditions, and determine the target mapping relationship based on the fitting coefficient and the test charge and discharge data.

[0094] The target mapping relationship refers to the mapping relationship between the target terminal voltage and the state of charge. The target terminal voltage refers to the terminal voltage after current compensation and filtering. Charge-discharge tests can be performed on the sample battery under the China Light-duty Vehicle Test Cycle (CLTC), the New European Driving Cycle (NEDC), the Federal Urban Driving Schedule (FUDS), and the Hybrid Pulse Power Characteristic (HPPC) to obtain test charge-discharge data for the sample battery under different operating conditions.

[0095] Optionally, the sample battery can refer to a new battery of a specific model. That is, for each battery model, a newly manufactured battery of that model can be used as the sample battery. The sample battery is tested under different operating conditions to obtain test charge-discharge data under different conditions. Based on this test charge-discharge data, the fitting coefficient of the sample battery's terminal voltage in different current ranges is determined. Then, based on the fitting coefficient and the test charge-discharge data under different operating conditions, a preset method is used to determine the target mapping relationship of the sample battery, thus obtaining the target mapping relationship for that specific battery model. Therefore, a target mapping relationship can be obtained for each specific battery model.

[0096] Optionally, the current range can be divided into a small current range, a medium current range, and a large current range. Then, the sample battery has a set of fitting coefficients for the terminal voltage in the small current range, a set of fitting coefficients for the terminal voltage in the medium current range, and a set of fitting coefficients for the terminal voltage in the large current range.

[0097] S102. Obtain the actual terminal voltage and actual current of the target battery during the charging and discharging process.

[0098] The target battery is the same model as the sample battery.

[0099] Optionally, the actual terminal voltage and actual current of the target battery can be acquired during the charging and discharging process. Specifically, they can be acquired in real time or at preset intervals.

[0100] S103. Based on the fitting coefficient of the sample battery's terminal voltage in different current ranges and the actual current, the actual terminal voltage is compensated and filtered to obtain the filtered actual terminal voltage.

[0101] Optionally, due to the complex and varied operating conditions during battery discharge, the battery's terminal voltage can fluctuate significantly. When the discharge current is too large, significant polarization occurs inside the battery, causing the terminal voltage to drop sharply in a short period. However, the actual state of charge (SCC) of the battery changes very little, making it difficult to determine the SCC using voltage. Therefore, in this embodiment, the actual terminal voltage is compensated and filtered based on the fitting coefficients of the sample battery's terminal voltage in different current ranges and the actual current. This makes the relationship between the filtered actual terminal voltage and the SCC more intuitive.

[0102] S104. When the filtered actual terminal voltage is equal to the preset correction voltage, obtain the actual state of charge of the target battery and the target state of charge corresponding to the preset correction voltage in the target mapping relationship, and correct the actual state of charge according to the target state of charge.

[0103] Optionally, since the target mapping relationship refers to the mapping relationship between multiple target terminal voltages and states of charge, and the preset correction voltage is a portion of the multiple target terminal voltages in the target mapping relationship, the target mapping relationship also includes the target state of charge corresponding to the preset correction voltage in the target mapping relationship.

[0104] For example, when the filtered actual terminal voltage is equal to the preset correction voltage 1, the actual state of charge 1 of the target battery and the target state of charge 1 corresponding to the preset correction voltage 1 in the target mapping relationship are obtained; when the filtered actual terminal voltage is equal to the preset correction voltage 2, the actual state of charge 2 of the target battery and the target state of charge 2 corresponding to the preset correction voltage 2 in the target mapping relationship are obtained; when the filtered actual terminal voltage is equal to the preset correction voltage 3, the actual state of charge 3 of the target battery and the target state of charge 3 corresponding to the preset correction voltage 3 in the target mapping relationship are obtained; then, based on the actual state of charge 1, the target state of charge 1, the actual state of charge 2, the target state of charge 2, the actual state of charge 3, and the target state of charge 3, the actual state of charge 1, the actual state of charge 2, and the actual state of charge 3 are respectively corrected to obtain the corrected state of charge corresponding to the actual state of charge 1, the corrected state of charge corresponding to the actual state of charge 2, and the corrected state of charge corresponding to the actual state of charge 3.

[0105] In this embodiment, the fitting coefficients of the sample battery's terminal voltage in different current ranges are determined in advance based on the test charge-discharge data of the sample battery under different operating conditions. Different fitting coefficients can be obtained for different currents. The target mapping relationship of the sample battery is determined based on the fitting coefficients and the test charge-discharge data under different operating conditions. When a target battery of the same model as the sample battery is charged and discharged, the actual terminal voltage of the target battery can be compensated and filtered based on the fitting coefficients of the sample battery's terminal voltage in different current ranges and the actual current of the target battery. The filtered actual terminal voltage can improve the linearity between the current-compensated terminal voltage and the state of charge. Filtering the voltage can also make the voltage smoother. Then, the actual state of charge is corrected based on the target state of charge corresponding to the preset correction voltage in the target mapping relationship, making the correction of the actual state of charge more accurate. This ensures that the corrected actual state of charge of the target battery is kept within a certain range.

[0106] Optionally, the above-mentioned test charge and discharge data may include: test state of charge, terminal voltage corresponding to test state of charge, current corresponding to test state of charge, and open circuit voltage corresponding to test state of charge. The test state of charge is the state of charge of the sample battery during the charge and discharge test under different operating conditions.

[0107] The open-circuit voltage corresponding to the test state of charge is obtained under HPPC conditions. Under HPPC conditions, the sample battery starts from full charge, and after discharging a preset percentage of the state of charge and resting for 1.5 hours, the voltage of the sample battery is measured as the open-circuit voltage corresponding to the test state of charge. That is, under HPPC conditions, multiple test states of charge of the sample battery and the open-circuit voltage (OCV) corresponding to each state of charge can be obtained. Specifically, as shown in Table 1 below, Table 1 is a table showing the relationship between the test state of charge and the open-circuit voltage of a sample battery provided in the embodiments of this application. It should be noted that Table 1 below is only an illustration of the relationship between the test state of charge and the open-circuit voltage.

[0108] Table 1

[0109]

[0110]

[0111] Optionally, the sample batteries are charged and discharged under CLTC, NEDC, and FUDS conditions to obtain the test states of charge (SOCs) and the corresponding terminal voltages and currents under different SOCs conditions, for example, as follows: Figure 2 As shown, it is worth noting that the following... Figure 2The image only shows the terminal voltage data during the discharge process of the sample battery. The test state of charge (SOC) of the sample battery under various operating conditions and the corresponding current for each SOC can be measured during the test. Figure 2 This is a schematic diagram of test charge-discharge data provided in an embodiment of this application.

[0112] Figure 3 A flowchart illustrating a method for determining fitting coefficients provided in this application embodiment is shown below. Figure 3 As shown, in step S101 above, determining the fitting coefficient of the sample battery's terminal voltage in different current ranges based on the test charge-discharge data of the sample battery under different operating conditions may include:

[0113] S201. Subtract the terminal voltage corresponding to each test state of charge under different operating conditions from the open circuit voltage corresponding to each test state of charge to obtain the first parameter value corresponding to each test state of charge under different operating conditions.

[0114] The different operating conditions include three conditions: CLTC, NEDC, and FUDS. The terminal voltage and current of the sample battery can be measured under these three conditions, while the open-circuit voltage of the sample battery is measured under the HPPC condition.

[0115] Specifically, the first parameter value y = OCV(i) - Voltage(i), where i is the identifier of each test state of charge, y is the first parameter value, OCV(i) is the open-circuit voltage corresponding to each test state of charge, and Voltage(i) is the terminal voltage corresponding to each test state of charge.

[0116] For example, by subtracting the terminal voltage corresponding to 100% test state of charge from the OCV value in Table 1 for each of the different operating conditions, we can obtain the first parameter value 1 corresponding to 100% test state of charge under CLTC condition, the first parameter value 2 corresponding to 100% test state of charge under NEDC condition, and the first parameter value 3 corresponding to 100% test state of charge under FUDS condition. And so on, we can obtain the first parameter value corresponding to each test state of charge under different operating conditions.

[0117] S202. Substitute the current corresponding to each test state of charge under different operating conditions into the fitting relationship of the current to obtain the second parameter value corresponding to each test state of charge under different operating conditions.

[0118] The different operating conditions refer to CLTC, NEDC, and FUDS operating conditions.

[0119] The fitting relationship is shown in Formula (I) below.

[0120]

[0121] Where current is the current corresponding to the test state of charge, f(x) is the second parameter value, a1, b1 and c1 are the fitting coefficients of the terminal voltage within the current range of 0A to 50A; a2, b2 and c2 are the fitting coefficients of the terminal voltage within the current range of 50A to 100A; and a3 and c3 are the fitting coefficients of the terminal voltage when the current is greater than 100A.

[0122] Optionally, for different currents, a fitting relationship corresponding to the current can be selected from the above formula (I). For example, when the current is 10A at 100% charge, the fitting relationship corresponding to the range of 0A to 50A can be selected to obtain the second parameter value corresponding to 100% charge.

[0123] For example, the current corresponding to 100% state of charge under CLTC, NEDC, and FUDS conditions can be substituted into formula (i) above to obtain the second parameter value 1, the second parameter value 2, and the second parameter value 3 corresponding to 100% state of charge under CLTC, NEDC, and FUDS conditions, respectively. This process can be repeated to obtain the second parameter values ​​corresponding to each state of charge under different conditions.

[0124] S203. Based on the first parameter value corresponding to each test state of charge under different operating conditions and the second parameter value corresponding to each test state of charge under different operating conditions, the fitting process is performed to obtain the fitting coefficient of the sample battery terminal voltage in different current ranges.

[0125] Specifically, when performing fitting processing based on the first parameter value corresponding to each test state of charge under different operating conditions and the second parameter value corresponding to each test state of charge under different operating conditions, the difference between each second parameter value and each first parameter value is minimized, thereby obtaining the fitting coefficient of the sample battery's terminal voltage in different current ranges.

[0126] For example, the minimum fit is achieved by subtracting the first parameter value from the second parameter value 1, the minimum fit is achieved by subtracting the first parameter value from the second parameter value 2, and the minimum fit is achieved by subtracting the first parameter value from the second parameter value corresponding to each test state of charge under the three operating conditions of CLTC, NEDC, and FUDS, thus obtaining the fitting coefficient of the sample battery's terminal voltage in different current ranges.

[0127] In this embodiment, since the battery polarization effect is different under different currents, different analyses are performed on different currents, thereby performing piecewise fitting of voltage and current. This makes the fitting coefficient of the terminal voltage of the sample battery in different current ranges more consistent with the battery polarization effect under different currents, and thus makes the subsequent voltage compensation based on the fitting coefficient of the terminal voltage of the sample battery in different current ranges more accurate.

[0128] Figure 4 A flowchart illustrating a method for determining a target mapping relationship provided in this application embodiment is shown below. Figure 4 As shown, determining the target mapping relationship based on the fitting coefficients and test charge / discharge data in S101 above may include:

[0129] S301. Based on the fitting coefficient of the terminal voltage of the sample battery in different current ranges, the terminal voltage corresponding to each test state of charge under different operating conditions, the current corresponding to each test state of charge under different operating conditions, and the preset gain coefficient, the terminal voltage corresponding to each test state of charge under different operating conditions is compensated to obtain the mapping relationship between the compensated terminal voltage and the state of charge under different operating conditions.

[0130] Specifically, the process for determining the mapping relationship between the compensated terminal voltage and the state of charge under a certain operating condition is as follows:

[0131] The terminal voltage and current corresponding to a test state of charge under this operating condition can be substituted into the following formula (II). Based on the current corresponding to the test state of charge, the fitting coefficient and fitting relationship under the current range corresponding to the current are determined. Then, the terminal voltage, current, and fitting coefficient under the current range corresponding to the test state of charge are substituted into the following formula (II) to compensate for the terminal voltage under the test state of charge, and the compensated terminal voltage is obtained. The correspondence between the compensated terminal voltage and the test state of charge is then used as a mapping relationship between the compensated terminal voltage and the test state of charge under this operating condition.

[0132] V1=Voltage-g*sign(current)*f(x) formula (2)

[0133] Where current is the current corresponding to the test state of charge, Voltage is the terminal voltage corresponding to the test state of charge, V1 is the compensated terminal voltage, and f(x) is the fitting relationship with the current corresponding to the test state of charge.

[0134] For example, if Table 1 shows that the current corresponding to a 100% state of charge is 10A and the terminal voltage corresponding to a 100% state of charge is 3.472, then the fitting relationship corresponding to the current range of 0A to 50A is selected from Formula (I) and substituted into Formula (II). The terminal voltage of 3.475 and the current of 10A are then substituted into Formula (II) to obtain the compensated terminal voltage A. The correspondence between the compensated terminal voltage A and the 100% state of charge is then used as a mapping relationship between the compensated voltage and the state of charge under this operating condition.

[0135] S302. Determine the target mapping relationship based on the mapping relationship between the compensation back-end voltage and the state of charge under different operating conditions.

[0136] Optionally, the determined target mapping relationship applies to subsequent target batteries under any operating conditions.

[0137] Figure 5 A flowchart of another method for determining a target mapping relationship provided in an embodiment of this application is shown below. Figure 5 As shown, S302 above, determining the target mapping relationship based on the mapping relationship between the compensation back-end voltage and the state of charge under different operating conditions, may include:

[0138] S401. Filter the mapping relationship between the compensation back-end voltage and the state of charge under different operating conditions to obtain the mapping relationship between the filtered back-end voltage and the state of charge under different operating conditions.

[0139] Specifically, Kalman filtering can be used to filter the mapping relationship between the compensation back-end voltage and the state of charge under different operating conditions, making the mapping relationship between the filtered back-end voltage and the state of charge under different operating conditions smoother.

[0140] Table 2 below is a schematic diagram of the mapping relationship between the filter back-end voltage and the state of charge under NEDC conditions.

[0141] Table 2

[0142] SOC (%) 0 5 10 15 20 25 30 35 45 50 Uoc(mv) 2880 3116 3196 3219 3240 3255 3269 3278 3286 3288 SOC (%) 55 60 65 70 75 90 95 100 Uoc(mv) 3292 3303 3320 3326 3329 3335 3336 3472

[0143] Table 3 below is a schematic diagram of the mapping relationship between the filter back-end voltage and the state of charge under FUDS operating conditions.

[0144] Table 3

[0145] SOC (%) 0 5 10 15 20 25 30 35 45 50 Uoc(mv) 2880 3116 3197 3220 3241 3256 3270 3278 3286 3285 SOC (%) 55 60 65 70 75 90 95 100 Uoc(mv) 3290 3302 3320 3324 3328 3332 3336 3472

[0146] Table 4 below is a schematic diagram of the mapping relationship between the filter back-end voltage and the state of charge under CLTC operating conditions.

[0147] Table 4

[0148] SOC (%) 0 5 10 15 20 25 30 35 45 50 Uoc(mv) 2880 3117 3198 3222 3243 3258 3273 3283 3289 3291 SOC (%) 55 60 65 70 75 90 95 100 Uoc(mv) 3298 3310 3321 3324 3330 3340 3340 3472

[0149] S402. The average value of the filter back-end voltage corresponding to each state of charge in the mapping relationship between the filter back-end voltage and the state of charge under different operating conditions is taken as the target terminal voltage corresponding to each state of charge in the target mapping relationship.

[0150] For example, the average of the filter back-end voltage corresponding to 100% charge state in Table 1, the filter back-end voltage corresponding to 100% charge state in Table 2, and the filter back-end voltage corresponding to 100% charge state in Table 3 can be used as the target terminal voltage corresponding to 100% charge state in Table 4 below.

[0151] Table 5 below is a schematic diagram of the target mapping relationship table.

[0152] Table 5

[0153] SOC (%) 0 5 10 15 20 25 30 35 45 50 Uoc(mv) 2880 3116 3197 3220 3241 3256 3270 3278 3287 3285 SOC (%) 55 60 65 70 75 90 95 100 Uoc(mv) 3292 3303 3320 3324 3329 3335 3337 3472

[0154] Figure 5 A flowchart of another method for determining a target mapping relationship provided in an embodiment of this application is shown below. Figure 5 As shown, the correction of the actual state of charge based on the target state of charge in S104 above may include:

[0155] S401. Determine the deviation result corresponding to the set of correction voltages based on the target state of charge and the actual state of charge corresponding to each preset correction voltage in the set of correction voltages.

[0156] Optionally, the set of correction voltages can be multiple sets of correction voltages, for example, it can include correction voltage set 1 and correction voltage set 2. The preset correction voltage is the voltage in any set of correction voltages, the set of correction voltages includes multiple preset correction voltages, and the voltage range formed by each preset correction voltage in the set of correction voltages is the voltage range for which state of charge correction needs to be performed.

[0157] For example, for the correction voltage set 1, the deviation result corresponding to the correction voltage set 1 can be determined by using a preset method based on the target state of charge and the actual state of charge corresponding to each preset correction voltage in the correction voltage set 1.

[0158] S402. Correct the actual state of charge of the target battery corresponding to each corrected voltage in the corrected voltage set according to the deviation results corresponding to the corrected voltage set.

[0159] The deviation result can be too high, too low, or no deviation, and the correction methods for different deviation results are different.

[0160] For example, the actual state of charge of the target battery corresponding to each corrected voltage in the corrected voltage set 1 can be corrected according to the deviation results corresponding to the corrected voltage set 1; the actual state of charge of the target battery corresponding to each corrected voltage in the corrected voltage set 2 can be corrected according to the deviation results corresponding to the corrected voltage set 2.

[0161] Optionally, the step S401 above, which determines the deviation result corresponding to the correction voltage set based on the target state of charge and the actual state of charge corresponding to each preset correction voltage in the correction voltage set, may include:

[0162] Optionally, the set of corrected voltages may include a first voltage, a second voltage, and a third voltage.

[0163] For example, Table 6 below is a schematic diagram of the target state of charge corresponding to each preset correction voltage in the correction voltage set 1. The first voltage 3320, the second voltage 3303, and the third voltage 3292 are the target terminal voltages corresponding to each state of charge of the target battery in the middle of the state of charge in Table 5 above. The target state of charge corresponding to the first voltage 3320 is the state of charge 65 corresponding to the first voltage 3320 in Table 5 above, the target state of charge corresponding to the second voltage 3303 is the state of charge 60 corresponding to the second voltage 3303 in Table 5 above, and the target state of charge corresponding to the third voltage 3292 is the state of charge 55 corresponding to the third voltage 3292 in Table 5 above.

[0164] Table 6

[0165]

[0166] For example, Table 7 below illustrates a target state of charge corresponding to each preset correction voltage in the correction voltage set 2. The first voltage 3278, the second voltage 3270, and the third voltage 3256 are the target terminal voltages corresponding to each state of charge of the target battery at the end of its state of charge, as shown in Table 5 above. Therefore, the target state of charge corresponding to the first voltage 3278 is state of charge 35 as shown in Table 5, the target state of charge corresponding to the second voltage 3270 is state of charge 30 as shown in Table 5, and the target state of charge corresponding to the third voltage 3256 is state of charge 55 as shown in Table 5.

[0167] Table 7

[0168]

[0169] Optionally, if the actual state of charge corresponding to the first voltage is greater than the target state of charge corresponding to the first voltage, and the actual state of charge corresponding to the second voltage is greater than the target state of charge corresponding to the second voltage, and the actual state of charge corresponding to the third voltage is greater than the target state of charge corresponding to the third voltage, then the deviation result corresponding to the corrected voltage set is determined to be too high.

[0170] For example, taking the corrected voltage set 1 in Table 6 above as an example, the deviation results in Table 8 below are too high.

[0171] Table 8

[0172]

[0173] Optionally, if the actual state of charge corresponding to the first voltage is less than the target state of charge corresponding to the first voltage, and the difference between the actual state of charge corresponding to the first voltage and the target state of charge corresponding to the first voltage is greater than a preset threshold, and the actual state of charge corresponding to the second voltage is less than the target state of charge corresponding to the second voltage, and the difference between the actual state of charge corresponding to the second voltage and the target state of charge corresponding to the second voltage is greater than a preset threshold, and the actual state of charge corresponding to the third voltage is less than the target state of charge corresponding to the third voltage, and the difference between the actual state of charge corresponding to the third voltage and the target state of charge corresponding to the third voltage is greater than a preset threshold, then the deviation result corresponding to the corrected voltage set is determined to be too low. The preset threshold can be, for example, 1%.

[0174] Optionally, if the actual state of charge corresponding to the first voltage is less than the target state of charge corresponding to the first voltage, and the difference between the actual state of charge corresponding to the first voltage and the target state of charge corresponding to the first voltage is less than a preset threshold, and the actual state of charge corresponding to the second voltage is less than the target state of charge corresponding to the second voltage, and the difference between the actual state of charge corresponding to the second voltage and the target state of charge corresponding to the second voltage is less than a preset threshold, and the actual state of charge corresponding to the third voltage is less than the target state of charge corresponding to the third voltage, and the difference between the actual state of charge corresponding to the third voltage and the target state of charge corresponding to the third voltage is less than a preset threshold, then the deviation result corresponding to the corrected voltage set is determined to be without deviation.

[0175] For example, taking the corrected voltage set 1 in Table 6 above as an example, the deviation results in Table 9 below are considered to be without deviation. For example, in Table 9 below, the deviation between the actual state of charge corresponding to the first voltage 3320 and the target state of charge is less than 1%, the deviation between the actual state of charge corresponding to the second voltage 3303 and the target state of charge is less than 1%, and the deviation between the actual state of charge corresponding to the third voltage 3292 and the target state of charge is less than 1%. In this case, the deviation results are considered to be without deviation.

[0176] Table 9

[0177]

[0178] Optionally, if the direction of the difference between the actual state of charge corresponding to the first voltage and the target state of charge corresponding to the first voltage is different from the direction of the difference between the actual state of charge corresponding to the second voltage and the target state of charge corresponding to the second voltage, then the deviation result corresponding to the corrected voltage set is determined based on the first difference between the actual state of charge corresponding to the third voltage and the actual state of charge corresponding to the first voltage, the second difference between the actual state of charge corresponding to the third voltage and the actual state of charge corresponding to the second voltage, the third difference between the target state of charge corresponding to the third voltage and the target state of charge corresponding to the first voltage, and the fourth difference between the target state of charge corresponding to the third voltage and the target state of charge corresponding to the second voltage.

[0179] The direction of the difference refers to the direction of the difference between the actual state of charge and the target state of charge, which can include either a smaller or larger difference. Specifically, the direction of the difference between the actual state of charge corresponding to the first voltage and the target state of charge corresponding to the first voltage differs from the direction of the difference between the actual state of charge corresponding to the second voltage and the target state of charge corresponding to the second voltage. This means that the actual state of charge corresponding to the first voltage is greater than the target state of charge corresponding to the first voltage, and the actual state of charge corresponding to the second voltage is less than the target state of charge corresponding to the second voltage, as shown in Table 10 below. Alternatively, the actual state of charge corresponding to the first voltage is less than the target state of charge corresponding to the first voltage, and the actual state of charge corresponding to the second voltage is greater than the target state of charge corresponding to the second voltage.

[0180] Table 10

[0181]

[0182] Figure 6 A flowchart of a method for determining deviation results provided in an embodiment of this application is shown below. Figure 6 As shown, the above-mentioned determination of the deviation result based on the first difference between the actual state of charge corresponding to the third voltage and the actual state of charge corresponding to the first voltage, the second difference between the actual state of charge corresponding to the third voltage and the actual state of charge corresponding to the second voltage, the third difference between the target state of charge corresponding to the third voltage and the target state of charge corresponding to the first voltage, and the fourth difference between the target state of charge corresponding to the third voltage and the target state of charge corresponding to the second voltage can include:

[0183] S501. The difference between the first difference and the third difference is taken as the fifth difference, and the difference between the second difference and the fourth difference is taken as the sixth difference.

[0184] For example, taking Table 10 above as an example, the first difference is 11, the second difference is 1, the third difference is 10, the fourth difference is 5, the difference between the first difference 11 and the third difference 10 is 1, then the fifth difference is 1, the difference between the second difference and the fourth difference is 4, then the sixth difference is 4.

[0185] S502, take the voltage corresponding to the smaller difference between the fifth and sixth differences as the target voltage.

[0186] For example, if the fifth difference is 1 and the sixth difference is 4, then the voltage corresponding to the fifth difference is taken as the target voltage. As mentioned above, the fifth difference is the difference between the first difference and the third difference, and the first difference is the difference between the actual state of charge corresponding to the third voltage and the actual state of charge corresponding to the first voltage. The third difference is the difference between the target state of charge corresponding to the third voltage and the target state of charge corresponding to the first voltage. Therefore, the voltage corresponding to the fifth difference is the first voltage, and the target voltage is the first voltage.

[0187] S503. The difference between the actual state of charge corresponding to the target voltage and the target state of charge corresponding to the target voltage is taken as the deviation result.

[0188] For example, as shown in Table 10 above, if the actual state of charge corresponding to the first voltage is greater than the target state of charge corresponding to the first voltage, then the deviation result of the corrected voltage set 1 is too high.

[0189] It is worth noting that the process for determining the deviation result of the corrected voltage set 2 is the same as the process for determining the deviation result of the corrected voltage set 1 mentioned above, and will not be repeated here.

[0190] Optionally, S402 above, correcting the actual state of charge of the target battery corresponding to each corrected voltage in the corrected voltage set based on the deviation result corresponding to the corrected voltage set, may include:

[0191] If the deviation result is too high, the actual state of charge (SOC) of the target battery corresponding to each preset correction voltage in the correction voltage set will be reduced by a preset ratio. For example, this preset ratio could be 0.5%, meaning the actual SOC of the target battery corresponding to each correction voltage in the preset correction voltage set will be reduced by 0.5%.

[0192] If the deviation result is too low, the actual state of charge (SOC) of the target battery corresponding to each preset correction voltage in the correction voltage set will be increased by a preset ratio. For example, the actual SOC of the target battery corresponding to each correction voltage in each preset correction voltage set can be increased by 0.5%.

[0193] If the deviation result is no deviation, then the actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set will not be corrected.

[0194] Figure 7 A schematic diagram of an apparatus for correcting a battery state of charge according to an embodiment of this application is shown below. Figure 7 As shown, the device includes:

[0195] The determination module 601 is used to determine the fitting coefficient of the terminal voltage of the sample battery in different current ranges based on the test charge and discharge data of the sample battery under different operating conditions, and to determine the target mapping relationship based on the fitting coefficient and the test charge and discharge data. The target mapping relationship is used to indicate the mapping relationship between the target terminal voltage and the state of charge.

[0196] The acquisition module 602 is used to acquire the actual terminal voltage and actual current of the target battery during the charging and discharging process;

[0197] The processing module 603 is used to perform compensation processing and filtering processing on the actual terminal voltage based on the fitting coefficient of the terminal voltage of the sample battery in different current ranges and the actual current, so as to obtain the filtered actual terminal voltage.

[0198] The correction module 604 is used to obtain the actual state of charge of the target battery and the target state of charge corresponding to the preset correction voltage in the target mapping relationship when the filtered actual terminal voltage is equal to the preset correction voltage, and to correct the actual state of charge according to the target state of charge.

[0199] Optionally, the test charge-discharge data includes: test state of charge, terminal voltage corresponding to the test state of charge, current corresponding to the test state of charge, and open-circuit voltage corresponding to the test state of charge. The test state of charge is the state of charge of the sample battery during the charge-discharge test under different operating conditions.

[0200] Optionally, the determining module 601 is specifically used for:

[0201] Subtract the terminal voltage corresponding to each test state of charge under different operating conditions from the open circuit voltage corresponding to each test state of charge under each test state of charge to obtain the first parameter value corresponding to each test state of charge under different operating conditions.

[0202] Substitute the current corresponding to each of the test states of charge under different operating conditions into the fitting relationship with the current to obtain the second parameter value corresponding to each of the test states of charge under different operating conditions.

[0203] The fitting process is performed based on the first parameter value corresponding to each test state of charge under different operating conditions and the second parameter value corresponding to each test state of charge under different operating conditions to obtain the fitting coefficient of the terminal voltage of the sample battery in different current ranges.

[0204] Optionally, the determining module 601 is specifically used for:

[0205] Based on the fitting coefficient of the terminal voltage of the sample battery in different current ranges, the terminal voltage corresponding to each of the test states of charge under different operating conditions, the current corresponding to each of the test states of charge under different operating conditions, and the preset gain coefficient, the terminal voltage corresponding to each of the test states of charge under different operating conditions is compensated and filtered to obtain the mapping relationship between the compensated back-end voltage and the state of charge under different operating conditions.

[0206] The target mapping relationship is determined based on the mapping relationship between the compensation back-end voltage and the state of charge under different operating conditions.

[0207] Optionally, the determining module 601 is specifically used for:

[0208] The mapping relationship between the compensation back-end voltage and the state of charge under different operating conditions is filtered to obtain the mapping relationship between the filtered back-end voltage and the state of charge under different operating conditions.

[0209] The average value of the filter back-end voltage corresponding to each charge state in the mapping relationship between the filter back-end voltage and the charge state under different operating conditions is taken as the target terminal voltage corresponding to each charge state in the target mapping relationship.

[0210] Optionally, the preset correction voltage is a voltage from any set of correction voltages, and the set of correction voltages includes multiple preset correction voltages;

[0211] The determining module 601 is specifically used for:

[0212] Based on the target state of charge and the actual state of charge corresponding to each preset correction voltage in the correction voltage set, the deviation result corresponding to the correction voltage set is determined;

[0213] The actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set is corrected based on the deviation results corresponding to the correction voltage set.

[0214] Optionally, the set of corrected voltages includes: a first voltage, a second voltage, and a third voltage;

[0215] The determining module 601 is specifically used for:

[0216] If the actual state of charge corresponding to the first voltage is greater than the target state of charge corresponding to the first voltage, and the actual state of charge corresponding to the second voltage is greater than the target state of charge corresponding to the second voltage, and the actual state of charge corresponding to the third voltage is greater than the target state of charge corresponding to the third voltage, the deviation result is determined to be too high.

[0217] If the actual state of charge corresponding to the first voltage is less than the target state of charge corresponding to the first voltage and the difference is greater than a preset threshold, and the actual state of charge corresponding to the second voltage is less than the target state of charge corresponding to the second voltage and the difference is greater than a preset threshold, and the actual state of charge corresponding to the third voltage is less than the target state of charge corresponding to the third voltage and the difference is greater than a preset threshold, the deviation result is determined to be too low.

[0218] If the actual state of charge corresponding to the first voltage is less than the target state of charge corresponding to the first voltage and the difference is less than a preset threshold, and the actual state of charge corresponding to the second voltage is less than the target state of charge corresponding to the second voltage and the difference is less than a preset threshold, and the actual state of charge corresponding to the third voltage is less than the target state of charge corresponding to the third voltage and the difference is less than a preset threshold, then the deviation result is determined to be no deviation.

[0219] If the direction of the difference between the actual state of charge corresponding to the first voltage and the target state of charge corresponding to the first voltage is different from the direction of the difference between the actual state of charge corresponding to the second voltage and the target state of charge corresponding to the second voltage, then the deviation result is determined based on the first difference between the actual state of charge corresponding to the third voltage and the actual state of charge corresponding to the first voltage, the second difference between the actual state of charge corresponding to the third voltage and the actual state of charge corresponding to the second voltage, the third difference between the target state of charge corresponding to the third voltage and the target state of charge corresponding to the first voltage, and the fourth difference between the target state of charge corresponding to the third voltage and the target state of charge corresponding to the second voltage.

[0220] Optionally, the determination module 601 is specifically used for:

[0221] The difference between the first difference and the third difference is taken as the fifth difference, and the difference between the second difference and the fourth difference is taken as the sixth difference;

[0222] The voltage corresponding to the smaller difference between the fifth difference and the sixth difference is taken as the target voltage;

[0223] The difference between the actual state of charge corresponding to the target voltage and the target state of charge corresponding to the target voltage is taken as the deviation result.

[0224] Optionally, the correction module 604 is specifically used for:

[0225] If the deviation result is too high, then the actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set will be lowered according to a preset ratio.

[0226] If the deviation result is too low, then the actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set is increased according to a preset ratio.

[0227] If the deviation result is no deviation, then the actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set will not be corrected.

[0228] Figure 8 This is a structural block diagram of an electronic device 700 provided in an embodiment of this application. (See diagram below.) Figure 8 As shown, the electronic device may include: a processor 701 and a memory 702.

[0229] Optionally, a bus 703 may also be included, wherein the memory 702 is used to store machine-readable instructions executable by the processor 701. When the electronic device 700 is running, the processor 701 and the memory 702 communicate via the bus 703. When the machine-readable instructions are executed by the processor 701, the method steps in the above method embodiments are performed.

[0230] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the method steps described in the above-described battery state of charge correction method embodiment.

[0231] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the method embodiments, and will not be repeated here. 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 illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some communication interfaces; the indirect coupling or communication connection of devices or modules can be electrical, mechanical, or other forms.

[0232] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media capable of storing program code.

[0233] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. A method for correcting the state of charge of a battery, characterized in that, The method includes: The fitting coefficients of the terminal voltage of the sample battery in different current ranges are determined based on the test charge and discharge data of the sample battery under different operating conditions, and the target mapping relationship is determined based on the fitting coefficients and the test charge and discharge data. The target mapping relationship is used to indicate the mapping relationship between the target terminal voltage and the state of charge. Obtain the actual terminal voltage and actual current of the target battery during the charging and discharging process; Based on the fitting coefficients of the sample battery's terminal voltage in different current ranges and the actual current, the actual terminal voltage is compensated and filtered to obtain the filtered actual terminal voltage. When the filtered actual terminal voltage is equal to the preset correction voltage, the actual state of charge of the target battery and the target state of charge corresponding to the preset correction voltage in the target mapping relationship are obtained, and the actual state of charge is corrected according to the target state of charge. The step of determining the fitting coefficient of the terminal voltage of the sample battery in different current ranges based on the test charge-discharge data of the sample battery under different operating conditions includes: Subtract the terminal voltage corresponding to each test state of charge under different operating conditions from the open circuit voltage corresponding to each test state of charge under each test state of charge to obtain the first parameter value corresponding to each test state of charge under different operating conditions. Substitute the current corresponding to each of the test states of charge under different operating conditions into the fitting relationship corresponding to the current to obtain the second parameter value corresponding to each of the test states of charge under different operating conditions. The fitting relationship is used to indicate the fitting relationship between the current and the terminal voltage. The fitting process is performed based on the first parameter value corresponding to each test state of charge under different operating conditions and the second parameter value corresponding to each test state of charge under different operating conditions, so that the difference between each second parameter value and each first parameter value is minimized, and the fitting coefficient of the terminal voltage of the sample battery in different current ranges is obtained. Determining the target mapping relationship based on the fitting coefficients and the test charge-discharge data includes: Based on the fitting coefficient of the terminal voltage of the sample battery in different current ranges, the terminal voltage corresponding to each of the test states of charge under different operating conditions, the current corresponding to each of the test states of charge under different operating conditions, and the preset gain coefficient, the terminal voltage corresponding to each of the test states of charge under different operating conditions is compensated and filtered to obtain the mapping relationship between the compensated back-end voltage and the state of charge under different operating conditions. The target mapping relationship is determined based on the mapping relationship between the compensation back-end voltage and the state of charge under different operating conditions.

2. The method for correcting the state of charge of a battery according to claim 1, characterized in that, The test charge-discharge data includes: test state of charge, terminal voltage corresponding to the test state of charge, current corresponding to the test state of charge, and open-circuit voltage corresponding to the test state of charge. The test state of charge is the state of charge of the sample battery during the charge-discharge test under different operating conditions.

3. The method for correcting the state of charge of a battery according to claim 1, characterized in that, Determining the target mapping relationship based on the mapping relationship between the compensation back-end voltage and the state of charge under different operating conditions includes: The mapping relationship between the compensation back-end voltage and the state of charge under different operating conditions is filtered to obtain the mapping relationship between the filtered back-end voltage and the state of charge under different operating conditions. The average value of the filter back-end voltage corresponding to each charge state in the mapping relationship between the filter back-end voltage and the charge state under different operating conditions is taken as the target terminal voltage corresponding to each charge state in the target mapping relationship.

4. The method for correcting the state of charge of a battery according to claim 1, characterized in that, The preset correction voltage is a voltage in any set of correction voltages, and the set of correction voltages includes multiple preset correction voltages; The step of correcting the actual state of charge based on the target state of charge includes: Based on the target state of charge and the actual state of charge corresponding to each preset correction voltage in the correction voltage set, the deviation result corresponding to the correction voltage set is determined; The actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set is corrected based on the deviation results corresponding to the correction voltage set.

5. The method for correcting the state of charge of a battery according to claim 4, characterized in that, The set of corrected voltages includes: a first voltage, a second voltage, and a third voltage; The step of determining the deviation result corresponding to the set of correction voltages based on the target state of charge and the actual state of charge corresponding to each preset correction voltage in the set of correction voltages includes: If the actual state of charge corresponding to the first voltage is greater than the target state of charge corresponding to the first voltage, and the actual state of charge corresponding to the second voltage is greater than the target state of charge corresponding to the second voltage, and the actual state of charge corresponding to the third voltage is greater than the target state of charge corresponding to the third voltage, the deviation result is determined to be too high. If the actual state of charge corresponding to the first voltage is less than the target state of charge corresponding to the first voltage and the difference is greater than a preset threshold, and the actual state of charge corresponding to the second voltage is less than the target state of charge corresponding to the second voltage and the difference is greater than a preset threshold, and the actual state of charge corresponding to the third voltage is less than the target state of charge corresponding to the third voltage and the difference is greater than a preset threshold, the deviation result is determined to be too low. If the actual state of charge corresponding to the first voltage is less than the target state of charge corresponding to the first voltage and the difference is less than a preset threshold, and the actual state of charge corresponding to the second voltage is less than the target state of charge corresponding to the second voltage and the difference is less than a preset threshold, and the actual state of charge corresponding to the third voltage is less than the target state of charge corresponding to the third voltage and the difference is less than a preset threshold, then the deviation result is determined to be no deviation. If the direction of the difference between the actual state of charge corresponding to the first voltage and the target state of charge corresponding to the first voltage is different from the direction of the difference between the actual state of charge corresponding to the second voltage and the target state of charge corresponding to the second voltage, then the deviation result is determined based on the first difference between the actual state of charge corresponding to the third voltage and the actual state of charge corresponding to the first voltage, the second difference between the actual state of charge corresponding to the third voltage and the actual state of charge corresponding to the second voltage, the third difference between the target state of charge corresponding to the third voltage and the target state of charge corresponding to the first voltage, and the fourth difference between the target state of charge corresponding to the third voltage and the target state of charge corresponding to the second voltage.

6. The method for correcting the state of charge of a battery according to claim 5, characterized in that, The step of determining the deviation result based on a first difference between the actual state of charge corresponding to the third voltage and the actual state of charge corresponding to the first voltage, a second difference between the actual state of charge corresponding to the third voltage and the actual state of charge corresponding to the second voltage, a third difference between the target state of charge corresponding to the third voltage and the target state of charge corresponding to the first voltage, and a fourth difference between the target state of charge corresponding to the third voltage and the target state of charge corresponding to the second voltage, includes: The difference between the first difference and the third difference is taken as the fifth difference, and the difference between the second difference and the fourth difference is taken as the sixth difference; The voltage corresponding to the smaller difference between the fifth difference and the sixth difference is taken as the target voltage; The difference between the actual state of charge corresponding to the target voltage and the target state of charge corresponding to the target voltage is taken as the deviation result.

7. The method for correcting the state of charge of a battery according to claim 4, characterized in that, The step of correcting the actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set based on the deviation result corresponding to the correction voltage set includes: If the deviation result is too high, then the actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set will be lowered according to a preset ratio. If the deviation result is too low, then the actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set is increased according to a preset ratio. If the deviation result is no deviation, then the actual state of charge of the target battery corresponding to each preset correction voltage in the correction voltage set will not be corrected.

8. An electronic device, characterized in that, The device includes a memory and a processor, the memory storing a computer program executable by the processor, the processor executing the computer program to implement the steps of the battery state-of-charge correction method according to any one of claims 1-7.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the battery state-of-charge correction method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Method and system for estimating SOH of battery

    CN103576097A

  • Method of identifying open-circuit voltage and direct-current internal resistance of battery based on constant current experiment

    CN106772098A