Battery soc value correction method, device, equipment and readable storage medium
By using ampere-hour integration and SOC-OCV curves in the BMS to obtain accurate battery terminal voltage values through a restart voltage acquisition module, the problem of inaccurate battery SOC values is solved, and accurate correction of SOC values is achieved, thereby improving user trust and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-20
- Publication Date
- 2026-03-03
AI Technical Summary
Inaccurate battery SOC values provided by the BMS lead to decreased user trust and negatively impact the user experience.
The first SOC value of the battery is obtained by ampere-hour integration. The difference is calculated by combining the battery terminal voltage value and the SOC-OCV curve. The voltage acquisition module is restarted to obtain an accurate second terminal voltage value. The SOC value is then corrected based on the accurate terminal voltage value.
Ensuring the accuracy of battery SOC values enhances user trust in the BMS and improves the user experience.
Smart Images

Figure CN114460480B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of battery technology, and in particular to a method, apparatus, device, and readable storage medium for correcting the SOC value of a battery. Background Technology
[0002] The state of charge (SOC) of a battery is the percentage of its remaining capacity to its rated capacity, used to measure the current currently available in the battery pack. To fully utilize the battery's power performance and extend its lifespan, the battery management system (BMS) needs to accurately estimate the SOC value to obtain a precise SOC reading.
[0003] In related technologies, BMS commonly uses the ampere-hour integration method to estimate the SOC value. However, the ampere-hour integration method will cause the SOC value to accumulate errors due to the error of the battery sensor. Therefore, it is necessary to detect and correct the SOC value.
[0004] Currently, most BMS systems correct the SOC value based on the battery's terminal voltage. However, since it is impossible to determine whether the battery's terminal voltage is accurate, it is also impossible to determine whether the corrected SOC value is accurate. If the corrected SOC value is inaccurate, users will lose trust in the SOC value provided by the BMS, thus affecting the user experience. Summary of the Invention
[0005] The main objective of this invention is to provide a method, apparatus, device, and readable storage medium for correcting the SOC value of a battery, aiming to solve the problem that the SOC value of the battery provided by the BMS may be inaccurate.
[0006] In a first aspect, the present invention provides a method for correcting the SOC value of a battery, the method comprising:
[0007] The first SOC value of the battery is obtained by integrating ampere-hours.
[0008] The second SOC value of the battery is obtained based on the first terminal voltage value and the SOC-OCV curve, and the first absolute value of the difference between the first SOC value and the second SOC value is calculated.
[0009] If the first absolute value is not less than the first threshold, then restart the battery voltage acquisition module;
[0010] Obtain the second terminal voltage value of the battery from the battery voltage acquisition module after restarting;
[0011] The third SOC value of the battery is obtained based on the second terminal voltage value and the SOC-OCV curve, and the second absolute value of the difference between the first SOC value and the third SOC value is calculated.
[0012] If the second absolute value is not less than the second threshold, then the first SOC value is corrected based on the third SOC value, wherein the first threshold is greater than the second threshold.
[0013] Optionally, the step of obtaining the second SOC value of the battery based on the first terminal voltage value and the SOC-OCV curve, and calculating the first absolute value of the difference between the first SOC value and the second SOC value, includes:
[0014] Determine whether the voltage value at the first terminal of the battery is in the plateau region of the SOC-OCV curve;
[0015] If the first terminal voltage value is not in the plateau region of the SOC-OCV curve, then find the second SOC value of the battery corresponding to the first terminal voltage value on the SOC-OCV curve, and use the absolute value of the difference between the first SOC value and the second SOC value as the first absolute value.
[0016] Optionally, after determining whether the first terminal voltage value of the battery is in the plateau region of the SOC-OCV curve, the method further includes:
[0017] If the first terminal voltage value is in the plateau region of the SOC-OCV curve, then the minimum value a and the maximum value b are taken in the plateau region of the SOC-OCV curve, respectively.
[0018] If the first SOC value is not greater than the minimum value a, then the minimum value a is taken as the second SOC value, and the absolute value of the difference between the first SOC value and the second SOC value is taken as the first absolute value.
[0019] If the first SOC value is greater than the minimum value a and less than the maximum value b, then any value between the minimum value a and the maximum value b is taken as the second SOC value, and the minimum absolute value of the difference between the first SOC value and the second SOC value is taken as the first absolute value.
[0020] If the first SOC value is not less than the maximum value b, then the maximum value b is used as the second SOC value, and the absolute value of the difference between the first SOC value and the second SOC value is used as the first absolute value.
[0021] Optionally, the method for correcting the SOC value of the battery further includes:
[0022] If the second absolute value is less than the second threshold, then it is determined that the second SOC value of the battery obtained based on the first terminal voltage value and the SOC-OCV curve is incorrect.
[0023] The number of times the second SOC value is incorrect is recorded. When the cumulative number exceeds a preset number, the battery voltage acquisition module is determined to be faulty and an alarm is generated.
[0024] Optionally, after obtaining the second SOC value of the battery based on the first terminal voltage value and the SOC-OCV curve, and calculating the first absolute value of the difference between the first SOC value and the second SOC value, the method further includes:
[0025] If the first absolute value is less than the first threshold, then the first SOC value does not need to be corrected.
[0026] Secondly, the present invention also provides a battery SOC value correction device, the battery SOC value correction device comprising:
[0027] The first calculation module is used to calculate the first SOC value of the battery through ampere-hour integration;
[0028] The second calculation module is used to obtain the second SOC value of the battery based on the first terminal voltage value and the SOC-OCV curve, and to calculate the first absolute value of the difference between the first SOC value and the second SOC value.
[0029] The restart module is used to restart the battery voltage acquisition module if the first absolute value is not less than the first threshold.
[0030] The acquisition module is used to acquire the second terminal voltage value of the battery from the battery voltage acquisition module after restarting;
[0031] The third calculation module is used to obtain the third SOC value of the battery based on the second terminal voltage value and the SOC-OCV curve, and to calculate the second absolute value of the difference between the first SOC value and the third SOC value.
[0032] The correction module is used to correct the first SOC value based on the third SOC value if the second absolute value is not less than the second threshold, wherein the first threshold is greater than the second threshold.
[0033] Optionally, the second computing module is used for:
[0034] Determine whether the voltage value at the first terminal of the battery is in the plateau region of the SOC-OCV curve;
[0035] If the first terminal voltage value is not in the plateau region of the SOC-OCV curve, then find the second SOC value of the battery corresponding to the first terminal voltage value on the SOC-OCV curve, and use the absolute value of the difference between the first SOC value and the second SOC value as the first absolute value.
[0036] Optionally, the battery SOC value correction device further includes a determination module for:
[0037] If the second absolute value is less than the second threshold, then it is determined that the second SOC value of the battery obtained based on the first terminal voltage value and the SOC-OCV curve is incorrect.
[0038] The number of times the second SOC value is incorrect is recorded. When the cumulative number exceeds a preset number, the battery voltage acquisition module is determined to be faulty and an alarm is generated.
[0039] Thirdly, the present invention also provides a battery SOC value correction device, the battery SOC value correction device including a processor, a memory, and a battery SOC value correction program stored in the memory and executable by the processor, wherein when the battery SOC value correction program is executed by the processor, the steps of the battery SOC value correction method as described above are implemented.
[0040] Fourthly, the present invention also provides a readable storage medium storing a battery SOC value correction program, wherein when the battery SOC value correction program is executed by a processor, the steps of the battery SOC value correction method as described above are implemented.
[0041] In this invention, the first SOC value of the battery is calculated by ampere-hour integration; the second SOC value of the battery is obtained based on the first terminal voltage value and the SOC-OCV curve; the first absolute value of the difference between the first SOC value and the second SOC value is calculated; if the first absolute value is not less than a first threshold, the battery voltage acquisition module is restarted; the second terminal voltage value of the battery is obtained from the restarted battery voltage acquisition module; the third SOC value of the battery is obtained based on the second terminal voltage value and the SOC-OCV curve; the second absolute value of the difference between the first SOC value and the third SOC value is calculated; if the second absolute value is not less than a second threshold, the first SOC value is corrected based on the third SOC value, wherein the first threshold is greater than the second threshold. This invention first determines whether the absolute value of the difference between the first SOC value and the second SOC value obtained from the battery's first terminal voltage value and the SOC-OCV curve is not less than a first threshold. If the absolute value is not less than the first threshold, it is determined that the first SOC value or the battery's first terminal voltage value is incorrect. The battery voltage acquisition module is then restarted, and the battery's second terminal voltage value is obtained from the restarted module to ensure the accuracy of the battery's second terminal voltage value. Next, it calculates whether the absolute value of the difference between the first SOC value and the third SOC value obtained from the battery's second terminal voltage value and the SOC-OCV curve is not less than a second threshold. If the absolute value is not less than the second threshold, it is determined that the first SOC value is incorrect. The first SOC value is then corrected based on the third SOC value. Since the accuracy of the battery's second terminal voltage value is ensured, the accuracy of the corrected first SOC value is also ensured, thereby solving the problem of inaccurate battery SOC values provided by the BMS. Attached Figure Description
[0042] Figure 1 This is a schematic diagram of the hardware structure of the battery SOC value correction device involved in the embodiment of the present invention;
[0043] Figure 2 This is a flowchart illustrating the first embodiment of the SOC value correction method for the battery of the present invention.
[0044] Figure 3 This is a flowchart illustrating the second embodiment of the SOC value correction method for the battery of the present invention.
[0045] Figure 4 This is a schematic diagram of the functional modules of an embodiment of the SOC value correction device for the battery of the present invention.
[0046] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0047] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0048] In a first aspect, embodiments of the present invention provide a battery SOC value correction device.
[0049] Reference Figure 1 , Figure 1 This is a schematic diagram of the hardware structure of the battery SOC correction device involved in the embodiment of the present invention. In this embodiment, the battery SOC correction device may include a processor 1001 (e.g., a Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to realize communication between these components; the user interface 1003 may include a display screen or an input unit such as a keyboard; the network interface 1004 may optionally include a standard wired interface or a wireless interface (e.g., Wireless Fidelity, Wi-Fi interface); the memory 1005 may be high-speed random access memory (RAM) or stable memory (non-volatile memory), such as a disk storage device. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001. Those skilled in the art will understand that… Figure 1 The hardware structure shown does not constitute a limitation of the invention and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0050] Continue to refer to Figure 1 , Figure 1 The memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a battery SOC value correction program. The processor 1001 can call the battery SOC value correction program stored in the memory 1005 and execute the battery SOC value correction method provided in this embodiment of the invention.
[0051] Secondly, embodiments of the present invention provide a method for correcting the SOC value of a battery.
[0052] In one embodiment, reference is made to Figure 2 , Figure 2 This is a schematic flowchart of an embodiment of the SOC value correction method for batteries according to the present invention. Figure 2 As shown, the method for correcting the SOC value of a battery includes:
[0053] Step S10: Calculate the first SOC value of the battery by integrating ampere-hours;
[0054] In this embodiment, the execution entity can be a battery management system (BMS). The BMS calculates the battery's SOC value (State of Charge, or SOC for short, refers to the battery's state of charge) through ampere-hour integration. The SOC value calculated by the BMS through ampere-hour integration is used as the first SOC value. The ampere-hour integration method estimates the battery's state of charge by integrating the initial battery charge, the battery's rated capacitance, the battery's charge / discharge efficiency coefficient, and the battery's charge / discharge current at time t. The calculation formula for the ampere-hour integration method is as follows:
[0055]
[0056] Where SOC0 is the initial charge value of the battery, C N Let η be the rated capacitance of the battery, η be the battery charge / discharge efficiency coefficient, I(t) be the charge / discharge current of the battery at time t, and t be the charge / discharge time of the battery.
[0057] Step S20: Obtain the second SOC value of the battery based on the first terminal voltage value and the SOC-OCV curve, and calculate the first absolute value of the difference between the first SOC value and the second SOC value;
[0058] In this embodiment, the executing entity can be a battery management system (BMS). The BMS obtains the first terminal voltage value of the battery through the battery voltage acquisition module, finds the SOC-OCV curve based on the first terminal voltage value of the battery, and obtains the second SOC value of the battery. The first absolute value of the difference between the first SOC value and the second SOC value is calculated.
[0059] Further, in one embodiment, step S20 includes:
[0060] Step S201: Determine whether the voltage value at the first terminal of the battery is in the plateau region of the SOC-OCV curve;
[0061] Step S202: If the first terminal voltage value is not in the plateau region of the SOC-OCV curve, then find the second SOC value of the battery corresponding to the first terminal voltage value on the SOC-OCV curve, and use the absolute value of the difference between the first SOC value and the second SOC value as the first absolute value.
[0062] In this embodiment, refer to Figure 3 , Figure 3 This is a flowchart illustrating a second embodiment of the SOC value correction method for a battery according to the present invention. Figure 3As shown, the SOC-OCV curve represents the relationship between open circuit voltage (OCV) and SOC. The SOC value corresponding to OCV can be determined from the SOC-OCV curve. Since the battery has a charge and discharge plateau region, the SOC-OCV curve also has a plateau region. Therefore, after the BMS obtains the first terminal voltage value of the battery, it determines whether the obtained first terminal voltage value of the battery is in the plateau region of the SOC-OCV curve.
[0063] If the obtained first terminal voltage value of the battery is not in the plateau region of the SOC-OCV curve, then find the second SOC value of the battery corresponding to the first terminal voltage value on the SOC-OCV curve. The absolute value of the difference between the first SOC value and the second SOC value is the first absolute value.
[0064] Furthermore, in one embodiment, such as Figure 3 As shown, after determining whether the first terminal voltage value of the battery is in the plateau region of the SOC-OCV curve, the method further includes:
[0065] Step S203: If the first terminal voltage value is in the plateau region of the SOC-OCV curve, then take the minimum value a and the maximum value b in the plateau region of the SOC-OCV curve respectively.
[0066] Step S204: If the first SOC value is not greater than the minimum value a, then the minimum value a is used as the second SOC value, and the absolute value of the difference between the first SOC value and the second SOC value is used as the first absolute value.
[0067] Step S205: If the first SOC value is greater than the minimum value a and less than the maximum value b, then any value between the minimum value a and the maximum value b is taken as the second SOC value, and the minimum absolute value of the difference between the first SOC value and the second SOC value is taken as the first absolute value.
[0068] Step S206: If the first SOC value is not less than the maximum value b, then the maximum value b is used as the second SOC value, and the absolute value of the difference between the first SOC value and the second SOC value is used as the first absolute value.
[0069] In this embodiment, we continue to refer to... Figure 3 If the obtained first terminal voltage value of the battery is in the plateau region of the SOC-OCV curve, then the SOC value closest to the first terminal voltage value of the battery is taken as the second SOC value. That is, the minimum value 'a' and the maximum value 'b' are taken respectively in the plateau region of the SOC-OCV curve.
[0070] If the first SOC value is less than or equal to the minimum value a, then the minimum value a is closest to the first terminal voltage value of the battery. Therefore, the minimum value a is taken as the second SOC value, and the absolute value of the difference between the first SOC value and the second SOC value is taken as the first absolute value.
[0071] If the first SOC value is greater than the minimum value a and less than the maximum value b, then any value between the minimum value a and the maximum value b is taken as the second SOC value, and the minimum absolute value of the difference between the first SOC value and the second SOC value is taken as the first absolute value, wherein the minimum absolute value of the difference between the first SOC value and the second SOC value is zero.
[0072] If the first SOC value is greater than or equal to the maximum value b, then the maximum value b is closest to the first terminal voltage value of the battery. Therefore, the maximum value b is taken as the second SOC value, and the absolute value of the difference between the first SOC value and the second SOC value is taken as the first absolute value.
[0073] Step S30: If the first absolute value is not less than the first threshold, then restart the battery voltage acquisition module;
[0074] In this embodiment, if the first absolute value obtained in step S20 is greater than or equal to the first threshold, it is determined that the first terminal voltage value of the battery obtained by the battery voltage acquisition module has a large error, or the first SOC value of the battery calculated by the BMS through ampere-hour integration in step S10 has a large error, and then the battery voltage acquisition module is restarted.
[0075] Step S40: Obtain the second terminal voltage value of the battery from the restarted battery voltage acquisition module;
[0076] In this embodiment, since the BMS obtains the first terminal voltage value of the battery from the battery voltage acquisition module in step S20, it may be obtained immediately upon startup of the battery voltage acquisition module, or it may be obtained after the battery voltage acquisition module has been running for a period of time. Therefore, it is impossible to determine whether the accuracy of the first terminal voltage value of the battery obtained from the battery voltage acquisition module in step S20 is guaranteed. However, in this embodiment, after restarting the battery voltage acquisition module, the BMS obtains the second terminal voltage value of the battery from the restarted battery voltage acquisition module, ensuring the accuracy of the second terminal voltage value of the battery.
[0077] Step S50: Obtain the third SOC value of the battery based on the second terminal voltage value and the SOC-OCV curve, and calculate the second absolute value of the difference between the first SOC value and the third SOC value;
[0078] In this embodiment, it is determined whether the second terminal voltage value of the battery is in the plateau region of the SOC-OCV curve. If the second terminal voltage value of the battery is not in the plateau region of the SOC-OCV curve, the third SOC value of the battery corresponding to the second terminal voltage value is found on the SOC-OCV curve. The absolute value of the difference between the first SOC value and the third SOC value is the second absolute value.
[0079] If the voltage at the second terminal of the battery falls within the plateau region of the SOC-OCV curve, then the SOC value closest to the second terminal voltage value on the SOC-OCV curve is taken as the third SOC value. That is, the minimum value 'a' and the maximum value 'b' are taken respectively within the plateau region of the SOC-OCV curve.
[0080] If the first SOC value is less than or equal to the minimum value a, then the minimum value a is closest to the second terminal voltage value of the battery. Therefore, the minimum value a is taken as the third SOC value, and the absolute value of the difference between the first SOC value and the third SOC value is taken as the second absolute value.
[0081] If the first SOC value is greater than the minimum value a and less than the maximum value b, then any value between the minimum value a and the maximum value b is taken as the third SOC value, and the minimum absolute value of the difference between the first SOC value and the third SOC value is taken as the second absolute value, wherein the minimum absolute value of the difference between the first SOC value and the third SOC value is zero.
[0082] If the first SOC value is greater than or equal to the maximum value b, then the maximum value b is closest to the second terminal voltage value of the battery. Therefore, the maximum value b is taken as the third SOC value, and the absolute value of the difference between the first SOC value and the third SOC value is taken as the second absolute value.
[0083] Step S60: If the second absolute value is not less than the second threshold, then the first SOC value is corrected based on the third SOC value, wherein the first threshold is greater than the second threshold.
[0084] In this embodiment, by ensuring the accuracy of the battery's second terminal voltage value, the accuracy of the battery's third SOC value obtained from the battery's second terminal voltage value and the SOC-OCV curve is also ensured. If the second absolute value of the difference between the first SOC value and the third SOC value is greater than or equal to the second threshold, it is determined that the first SOC value has a large error. Therefore, the first SOC value is corrected based on the third SOC value. Since the accuracy of the third SOC value is ensured, the accuracy of the corrected first SOC value is further guaranteed. The first threshold is greater than the second threshold.
[0085] In this embodiment, the first SOC value of the battery is calculated by ampere-hour integration; the second SOC value of the battery is obtained based on the first terminal voltage value and the SOC-OCV curve; the first absolute value of the difference between the first SOC value and the second SOC value is calculated; if the first absolute value is not less than a first threshold, the battery voltage acquisition module is restarted; the second terminal voltage value of the battery is obtained from the restarted battery voltage acquisition module; the third SOC value of the battery is obtained based on the second terminal voltage value and the SOC-OCV curve; the second absolute value of the difference between the first SOC value and the third SOC value is calculated; if the second absolute value is not less than a second threshold, the first SOC value is corrected based on the third SOC value, wherein the first threshold is greater than the second threshold. In this embodiment, it is first determined whether the first absolute value of the difference between the first SOC value and the second SOC value of the battery obtained from the first terminal voltage value and the SOC-OCV curve is not less than a first threshold. If the first absolute value is not less than the first threshold, it is determined that the first SOC value or the first terminal voltage value of the battery is incorrect. Then, the battery voltage acquisition module is restarted, and the second terminal voltage value of the battery is obtained from the restarted battery voltage acquisition module to ensure the accuracy of the second terminal voltage value of the battery. Then, it is calculated whether the second absolute value of the difference between the first SOC value and the third SOC value of the battery obtained from the second terminal voltage value and the SOC-OCV curve is not less than a second threshold. If the second absolute value is not less than the second threshold, it is determined that the first SOC value is incorrect. Then, the first SOC value is corrected based on the third SOC value. Since the accuracy of the second terminal voltage value of the battery is ensured, the accuracy of the corrected first SOC value is also ensured, thereby solving the problem that the SOC value of the battery provided by the BMS may be inaccurate.
[0086] Furthermore, in one embodiment, the method for correcting the SOC value of the battery further includes:
[0087] If the second absolute value is less than the second threshold, then it is determined that the second SOC value of the battery obtained based on the first terminal voltage value and the SOC-OCV curve is incorrect.
[0088] The number of times the second SOC value is incorrect is recorded. When the cumulative number exceeds a preset number, the battery voltage acquisition module is determined to be faulty and an alarm is generated.
[0089] In this embodiment, if the second absolute value is less than the second threshold, it is determined that the second SOC value of the battery obtained in step S20 based on the first terminal voltage value of the battery and the SOC-OCV curve is incorrect. Furthermore, it can be determined that the first terminal voltage value of the battery obtained by the BMS through the battery voltage acquisition module in step S20 is incorrect, while the first SOC value of the battery obtained by the BMS through ampere-hour integration in step S10 is correct.
[0090] The system records the number of times the second SOC value is incorrect. When the cumulative number exceeds the preset number, it indicates that the BMS has repeatedly obtained incorrect first-terminal voltage values of the battery through the battery voltage acquisition module. This further confirms that the battery voltage acquisition module has failed and generates an alarm.
[0091] Further, in one embodiment, after obtaining the second SOC value of the battery based on the first terminal voltage value and the SOC-OCV curve, and calculating the first absolute value of the difference between the first SOC value and the second SOC value, the method further includes:
[0092] If the first absolute value is less than the first threshold, then the first SOC value does not need to be corrected.
[0093] In this embodiment, if the first absolute value obtained in step S20 is less than the first threshold, it is determined that the first SOC value has not had a large error, so it is determined that the first SOC value does not need to be corrected.
[0094] Thirdly, embodiments of the present invention also provide a battery SOC value correction device. This device can be used to execute the method embodiments of the present invention. For details not disclosed in the device embodiments of the present invention, please refer to the method embodiments of the present invention.
[0095] In one embodiment, reference is made to Figure 4 , Figure 4 This is a functional module diagram of an embodiment of the SOC value correction device for the battery of the present invention. Figure 4 As shown, the battery SOC correction device includes:
[0096] The first calculation module 10 is used to calculate the first SOC value of the battery through ampere-hour integration;
[0097] The second calculation module 20 is used to obtain the second SOC value of the battery based on the first terminal voltage value and the SOC-OCV curve of the battery, and to calculate the first absolute value of the difference between the first SOC value and the second SOC value.
[0098] Restart module 30 is used to restart the battery voltage acquisition module if the first absolute value is not less than the first threshold.
[0099] The acquisition module 40 is used to acquire the second terminal voltage value of the battery from the battery voltage acquisition module after restarting;
[0100] The third calculation module 50 is used to obtain the third SOC value of the battery based on the second terminal voltage value and the SOC-OCV curve, and to calculate the second absolute value of the difference between the first SOC value and the third SOC value.
[0101] The correction module 60 is used to correct the first SOC value based on the third SOC value if the second absolute value is not less than the second threshold, wherein the first threshold is greater than the second threshold.
[0102] The apparatus in this embodiment can perform the above-described... Figure 2 The method embodiments shown are similar in technical principle and effect to the embodiments described above, and will not be repeated here.
[0103] Furthermore, in one embodiment, the second computing module 20 is used for:
[0104] Determine whether the voltage value at the first terminal of the battery is in the plateau region of the SOC-OCV curve;
[0105] If the first terminal voltage value is not in the plateau region of the SOC-OCV curve, then find the second SOC value of the battery corresponding to the first terminal voltage value on the SOC-OCV curve, and use the absolute value of the difference between the first SOC value and the second SOC value as the first absolute value.
[0106] Furthermore, in one embodiment, the second calculation module 20 is also used for:
[0107] If the first terminal voltage value is in the plateau region of the SOC-OCV curve, then the minimum value a and the maximum value b are taken in the plateau region of the SOC-OCV curve, respectively.
[0108] If the first SOC value is not greater than the minimum value a, then the minimum value a is taken as the second SOC value, and the absolute value of the difference between the first SOC value and the second SOC value is taken as the first absolute value.
[0109] If the first SOC value is greater than the minimum value a and less than the maximum value b, then any value between the minimum value a and the maximum value b is taken as the second SOC value, and the minimum absolute value of the difference between the first SOC value and the second SOC value is taken as the first absolute value.
[0110] If the first SOC value is not less than the maximum value b, then the maximum value b is used as the second SOC value, and the absolute value of the difference between the first SOC value and the second SOC value is used as the first absolute value.
[0111] The apparatus in this embodiment can perform the above-described... Figure 3 The method embodiments shown are similar in technical principle and effect to the embodiments described above, and will not be repeated here.
[0112] Furthermore, in one embodiment, the battery SOC value correction device further includes a determining module, used for:
[0113] If the second absolute value is less than the second threshold, then it is determined that the second SOC value of the battery obtained based on the first terminal voltage value and the SOC-OCV curve is incorrect.
[0114] The number of times the second SOC value is incorrect is recorded. When the cumulative number exceeds a preset number, the battery voltage acquisition module is determined to be faulty and an alarm is generated.
[0115] Furthermore, in one embodiment, the determining module is also used to:
[0116] If the first absolute value is less than the first threshold, then the first SOC value does not need to be corrected.
[0117] The functions of each module in the battery SOC value correction device correspond to the steps in the battery SOC value correction method embodiment, and their functions and implementation processes will not be described in detail here.
[0118] The device embodiments provided in this invention are merely illustrative. Figure 4 The module division described herein is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated into another system. The coupling between modules can be achieved through interfaces, which are typically electrical communication interfaces, but mechanical interfaces or other forms of interfaces are also possible. Therefore, modules described as separate components may or may not be physically separate; they may be located in one place or distributed across different locations on the same or different devices.
[0119] Fourthly, embodiments of the present invention also provide a readable storage medium.
[0120] The present invention provides a battery SOC value correction program stored on a readable storage medium, wherein when the battery SOC value correction program is executed by a processor, the steps of the battery SOC value correction method described above are implemented.
[0121] The method implemented when the battery SOC value correction procedure is executed can be referred to in various embodiments of the battery SOC value correction method of the present invention, and will not be repeated here.
[0122] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0123] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0124] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device to execute the methods described in the various embodiments of the present invention.
[0125] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A method for correcting the SOC value of a battery, characterized in that, The method for correcting the SOC value of the battery includes: The first SOC value of the battery is obtained by integrating ampere-hours. The second SOC value of the battery is obtained based on the first terminal voltage value and the SOC-OCV curve, and the first absolute value of the difference between the first SOC value and the second SOC value is calculated. If the first absolute value is not less than the first threshold, then restart the battery voltage acquisition module; Obtain the second terminal voltage value of the battery from the battery voltage acquisition module after restarting; The third SOC value of the battery is obtained based on the second terminal voltage value and the SOC-OCV curve, and the second absolute value of the difference between the first SOC value and the third SOC value is calculated. If the second absolute value is not less than the second threshold, then the first SOC value is corrected based on the third SOC value, wherein the first threshold is greater than the second threshold; The step of obtaining the second SOC value of the battery based on the first terminal voltage value and the SOC-OCV curve, and calculating the first absolute value of the difference between the first SOC value and the second SOC value, includes: Determine whether the voltage value at the first terminal of the battery is in the plateau region of the SOC-OCV curve; If the first terminal voltage value is in the plateau region of the SOC-OCV curve, then the minimum value a and the maximum value b are taken in the plateau region of the SOC-OCV curve, respectively. If the first SOC value is not greater than the minimum value a, then the minimum value a is taken as the second SOC value, and the absolute value of the difference between the first SOC value and the second SOC value is taken as the first absolute value. If the first SOC value is greater than the minimum value a and less than the maximum value b, then any value between the minimum value a and the maximum value b is taken as the second SOC value, and the minimum absolute value of the difference between the first SOC value and the second SOC value is taken as the first absolute value. If the first SOC value is not less than the maximum value b, then the maximum value b is used as the second SOC value, and the absolute value of the difference between the first SOC value and the second SOC value is used as the first absolute value.
2. The battery SOC value correction method as described in claim 1, characterized in that, The step of obtaining the second SOC value of the battery based on the first terminal voltage value and the SOC-OCV curve, and calculating the first absolute value of the difference between the first SOC value and the second SOC value, further includes: If the first terminal voltage value is not in the plateau region of the SOC-OCV curve, then find the second SOC value of the battery corresponding to the first terminal voltage value on the SOC-OCV curve, and use the absolute value of the difference between the first SOC value and the second SOC value as the first absolute value.
3. The SOC value correction method for a battery as described in claim 1 or 2, characterized in that, The method for correcting the SOC value of the battery further includes: If the second absolute value is less than the second threshold, then it is determined that the second SOC value of the battery obtained based on the first terminal voltage value and the SOC-OCV curve is incorrect. The number of times the second SOC value is incorrect is recorded. When the cumulative number exceeds a preset number, the battery voltage acquisition module is determined to be faulty and an alarm is generated.
4. The battery SOC value correction method as described in claim 1, characterized in that, After obtaining the second SOC value of the battery based on the first terminal voltage value and the SOC-OCV curve, and calculating the first absolute value of the difference between the first SOC value and the second SOC value, the method further includes: If the first absolute value is less than the first threshold, then the first SOC value is determined to be unnecessary to correct.
5. A battery SOC value correction device, characterized in that, The SOC correction device for the battery includes: The first calculation module is used to calculate the first SOC value of the battery through ampere-hour integration; The second calculation module is used to obtain the second SOC value of the battery based on the first terminal voltage value and the SOC-OCV curve, and to calculate the first absolute value of the difference between the first SOC value and the second SOC value. The restart module is used to restart the battery voltage acquisition module if the first absolute value is not less than the first threshold. The acquisition module is used to acquire the new second-terminal voltage value of the battery from the battery voltage acquisition module after restarting; The third calculation module is used to obtain the third SOC value of the battery based on the second terminal voltage value and the SOC-OCV curve, and to calculate the second absolute value of the difference between the first SOC value and the third SOC value. The correction module is used to correct the first SOC value based on the third SOC value if the second absolute value is not less than the second threshold, wherein the first threshold is greater than the second threshold. The second calculation module is specifically used to: determine whether the voltage value of the first terminal of the battery is in the plateau region of the SOC-OCV curve; If the first terminal voltage value is in the plateau region of the SOC-OCV curve, then the minimum value a and the maximum value b are taken in the plateau region of the SOC-OCV curve, respectively. If the first SOC value is not greater than the minimum value a, then the minimum value a is taken as the second SOC value, and the absolute value of the difference between the first SOC value and the second SOC value is taken as the first absolute value. If the first SOC value is greater than the minimum value a and less than the maximum value b, then any value between the minimum value a and the maximum value b is taken as the second SOC value, and the minimum absolute value of the difference between the first SOC value and the second SOC value is taken as the first absolute value. If the first SOC value is not less than the maximum value b, then the maximum value b is used as the second SOC value, and the absolute value of the difference between the first SOC value and the second SOC value is used as the first absolute value.
6. The battery SOC value correction device as described in claim 5, characterized in that, The second calculation module is also used for: If the first terminal voltage value is not in the plateau region of the SOC-OCV curve, then find the second SOC value of the battery corresponding to the first terminal voltage value on the SOC-OCV curve, and use the absolute value of the difference between the first SOC value and the second SOC value as the first absolute value.
7. The SOC value correction device for a battery as described in claim 5 or 6, characterized in that, The battery SOC value correction device further includes a determination module, used for: If the second absolute value is less than the second threshold, then it is determined that the second SOC value of the battery obtained based on the first terminal voltage value and the SOC-OCV curve is incorrect. Record the number of times the second SOC value is incorrect. When the cumulative number exceeds the preset number, the battery voltage acquisition module is determined to be faulty and an alarm is generated.
8. A battery SOC value correction device, characterized in that, The battery SOC correction device includes a processor, a memory, and a battery SOC correction program stored in the memory and executable by the processor, wherein when the battery SOC correction program is executed by the processor, it implements the steps of the battery SOC correction method as described in any one of claims 1 to 4.
9. A readable storage medium, characterized in that, The readable storage medium stores a battery SOC value correction program, wherein when the battery SOC value correction program is executed by a processor, it implements the steps of the battery SOC value correction method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Multi-data voltage frequency signal collection system and method of dynamic voltage restorer
CN110702979A
Method of correcting SOC display of battery, device and electronic equipment
CN110879364A