Battery SOC calculation method, device, battery management equipment and storage medium
By combining the Kulun method and the table lookup method, SOC calculations and current corrections are performed based on the battery charge and discharge signals and temperature, the error accumulation problem of battery SOC calculation under temperature changes is solved, and the accuracy and stability of the battery management system are improved. sex.
Patent Information
- Application Number
- CN202410336558.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-22
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-03-22
AI Technical Summary
The existing battery SOC calculation method has error accumulation problems when the temperature of the battery operating environment changes greatly, which affects the accuracy of SOC calculation.
The method of combining Kulun method and table lookup method is used to monitor the battery charge and discharge signal, calculate the SOC based on the current current, and check the table based on the current temperature to obtain the SOC, determine whether the preset correction conditions are met, and use the preset current correction model. Correct the current current of the battery to reduce the SOC calculation error.
It improves the accuracy and stability of battery SOC calculation, reduces errors, and optimizes the accuracy and reliability of the battery management system.
Smart Images

Figure CN118191627B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery management technology, and in particular to a battery SOC calculation method and related equipment. Background Art
[0002] With the popularity of electric vehicles, mobile devices and other electric drive devices, the accuracy and reliability of battery management systems have become particularly important. The state of charge (SOC) of the battery is a key parameter in the battery management system, which reflects the current remaining energy level of the battery. Accurate SOC calculation is important for predicting battery range, preventing battery overcharge or over discharge, and optimizing battery efficiency.
[0003] The existing SOC calculation method mainly relies on the Coulomb counting method, which is to calculate the battery SOC by integrating the battery charge and discharge current over time. However, this method has the problem of error accumulation, especially when the battery working environment temperature changes greatly, the error will be more obvious.
[0004] Therefore, correction of battery SOC calculation becomes crucial. Summary of the invention
[0005] In view of this, the present application provides a battery SOC calculation method, device, battery management equipment and storage medium to solve the technical problem in the prior art of poor accuracy in estimating the battery SOC when the battery is in a charging and discharging state.
[0006] A first aspect of the present application provides a battery SOC calculation method, the method comprising:
[0007] When a charge and discharge signal of a battery is monitored, a first battery SOC is calculated based on the current current of the battery using a coulomb method, and a second battery SOC is obtained by looking up a table based on the current temperature of the battery using a table lookup method;
[0008] Determining whether a preset calibration condition is met according to the first battery SOC and the second battery SOC;
[0009] When it is determined that the preset correction condition is met, using a preset current correction model to correct the current of the battery based on the first battery SOC and the second battery SOC to obtain a correction current of the battery;
[0010] The corrected battery SOC is calculated based on the corrected current of the battery using the coulometric method.
[0011] Optionally, the using a preset current correction model to correct the current of the battery based on the first battery SOC and the second battery SOC to obtain the corrected current of the battery includes:
[0012] Calculate the difference between the second battery SOC and the first battery SOC to obtain a battery SOC difference;
[0013] Calculating based on the current current of the battery, the battery SOC difference and a preset control capacity rate to obtain a current adjustment value;
[0014] A correction current of the battery is obtained based on the present current of the battery and the current adjustment value.
[0015] Optionally, the current adjustment value is obtained by calculating based on the current current of the battery, the battery SOC difference and a preset control capacity rate, including:
[0016] Obtaining a current adjustment coefficient based on the product of the current current of the battery and the battery SOC difference;
[0017] The current adjustment value is obtained based on the ratio of the current adjustment coefficient and the preset control capacity rate.
[0018] Optionally, the using a table lookup method to obtain the second battery SOC based on the current temperature of the battery includes:
[0019] Determine a target open circuit voltage-SOC data table according to the current temperature of the battery and a preset temperature threshold segmentation interval, and perform interpolation calculation according to the target open circuit voltage-SOC data table and the current voltage of the battery to obtain the second battery SOC;
[0020] The preset temperature threshold segmentation interval includes multiple temperature threshold intervals, and each temperature threshold interval corresponds to an open circuit voltage-SOC data table.
[0021] Optionally, judging whether a preset correction condition is met according to the first battery SOC and the second battery SOC includes:
[0022] When the battery is in a discharging state, determining whether the first battery SOC or the second battery SOC is lower than a preset first SOC threshold, and when the first battery SOC or the second battery SOC is lower than the preset first SOC threshold, determining that the preset correction condition is met;
[0023] When the battery is in a charging state, determining whether the first battery SOC or the second battery SOC is higher than a preset second SOC threshold, and when the first battery SOC or the second battery SOC is higher than the preset second SOC threshold, determining that the preset correction condition is met;
[0024] Wherein, the preset first SOC threshold is smaller than the preset second SOC threshold.
[0025] Optionally, the method of calculating the corrected battery SOC based on the corrected current of the battery using the Coulomb method includes:
[0026] The corrected battery SOC is obtained by performing an integral calculation based on the corrected current of the battery and the charge and discharge time of the battery.
[0027] Optionally, the method further includes:
[0028] The corrected battery SOC is displayed in real time.
[0029] A second aspect of the present application provides a battery SOC calculation device, the device comprising:
[0030] A monitoring module, configured to, when a charge and discharge signal of a battery is monitored, calculate a first battery SOC based on a current current of the battery using a Coulomb method, and obtain a second battery SOC based on a current temperature of the battery using a table lookup method;
[0031] A judging module, used for judging whether a preset correction condition is satisfied according to the SOC of the first battery and the SOC of the second battery;
[0032] a correction module, configured to correct the current of the battery based on the first battery SOC and the second battery SOC using a preset current correction model to obtain a correction current of the battery when it is determined that the preset correction condition is met;
[0033] The calculation module is used to calculate a corrected battery SOC based on a corrected current of the battery using a Coulomb method.
[0034] A third aspect of the present application provides a battery management device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the battery SOC calculation method when executing the computer program.
[0035] A fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the battery SOC calculation method when executed by a processor.
[0036] The battery SOC calculation method, device, battery management device and storage medium provided in the embodiments of the present application, when monitoring the charge and discharge signal of the battery, use the Coulomb method to calculate the first battery SOC based on the current current of the battery, and use the table lookup method to look up the table based on the current temperature of the battery to obtain the second battery SOC; when it is determined that the preset correction conditions are met according to the first battery SOC and the second battery SOC, use the preset current correction model to correct the current current of the battery based on the first battery SOC and the second battery SOC to obtain the correction current of the battery; use the Coulomb method to calculate the corrected battery SOC based on the correction current of the battery. The present application comprehensively considers the influence of the charge and discharge current and temperature of the battery, reduces the calculation error of the battery SOC, and improves the accuracy and stability of the battery SOC. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 is a flow chart of a battery SOC calculation method shown in an embodiment of the present application;
[0038] Figure 2 is a functional module diagram of a battery SOC calculation device shown in an embodiment of the present application;
[0039] Figure 3 It is a structural diagram of a battery management device shown in an embodiment of the present application. DETAILED DESCRIPTION
[0040] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to any or all possible combinations comprising one or more of the listed items.
[0041] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0042] At present, most battery management systems on the market lack an effective SOC correction mechanism, which seriously affects the accuracy of SOC calculation. In order to solve this technical problem, the embodiments of the present application provide a battery SOC calculation method, device, battery management device and storage medium, which improve the accuracy and reliability of SOC calculation by correcting SOC without increasing hardware costs.
[0043] The battery SOC calculation method provided in the embodiment of the present invention is executed by a battery management device, and accordingly, the battery SOC calculation device runs in the battery management device.
[0044] Figure 1 The figure is a flow chart of a battery SOC calculation method provided by an embodiment of the present invention. The battery SOC calculation method specifically includes the following steps.
[0045] S11, when a charge and discharge signal of a battery is monitored, a first battery SOC is calculated based on the current current of the battery using a coulomb method, and a second battery SOC is obtained by looking up a table based on the current temperature of the battery using a table lookup method.
[0046] The state of charge (SOC) of a battery is used to reflect the remaining capacity of the battery. Its numerical value is defined as the ratio of the remaining capacity to the battery capacity, and is usually expressed as a percentage. When SOC=0, it means that the battery is fully discharged and has no power. In this state, the battery cannot provide power to support the normal operation of the device. When SOC=1, it means that the battery is fully charged and has reached its maximum power capacity. The battery can provide the maximum power reserve. At this time, the battery voltage reaches the maximum value of its open circuit voltage. Endpoints 1 and 0 provide extreme information about the battery state, while other values in the SOC range indicate the relative power level of the battery between these two extreme states. Accurate estimation of SOC is crucial to the battery management system (BMS), which can help the battery management system monitor battery usage, optimize charging and discharging strategies to extend battery life, and ensure stable operation of the system.
[0047] The charge and discharge signal refers to the electrical signal generated by the battery during the charging or discharging process, which can be detected by the battery management system (BMS).
[0048] The Coulomb method is a method for estimating the battery SOC by integrating the charge and discharge current of the battery. It calculates the used capacity of the battery based on the battery capacity (in coulombs) and the charge and discharge current, thereby estimating the remaining capacity of the battery. When the charge and discharge signal of the battery is monitored, the current charge and discharge current of the battery can be obtained through the current sensor, so as to calculate the first battery SOC based on the current charge and discharge current of the battery. Specifically, when the charging signal of the battery is monitored, the current charging current of the battery is obtained, and the current charging current of the battery and the charging time are integrated (i.e., accumulated) to obtain the total charge capacity of the battery, and the total charge capacity is compared with the rated capacity of the battery to calculate the SOC of the battery as the first battery SOC. When the discharge signal of the battery is monitored, the current discharge current of the battery is obtained, and the current discharge current of the battery and the discharge time are integrated (i.e., accumulated) to obtain the total discharge capacity of the battery, and the total discharge capacity is compared with the rated capacity of the battery to calculate the SOC of the battery as the first battery SOC.
[0049] The table lookup method is a method for estimating the battery SOC based on a pre-stored data table. When the battery charge and discharge signals are monitored, the current temperature of the battery can be obtained through the temperature sensor, and the current voltage of the battery can be obtained through the voltage sensor, so as to estimate the battery SOC based on the current temperature and current voltage of the battery as the second battery SOC.
[0050] In an optional implementation, the using a table lookup method to obtain the second battery SOC based on the current temperature of the battery includes:
[0051] According to the current temperature of the battery and the preset temperature threshold segmentation interval, a target open circuit voltage-SOC data table is determined, and interpolation calculation is performed according to the target open circuit voltage-SOC data table and the current voltage of the battery to obtain the second battery SOC.
[0052] The preset temperature threshold segmentation interval includes multiple temperature threshold intervals, and each temperature threshold interval corresponds to an open circuit voltage-SOC data table.
[0053] In some embodiments of the present application, the multiple temperature threshold intervals include a first temperature threshold interval, a second temperature threshold interval, a third temperature threshold interval, and a fourth temperature threshold interval. In some other embodiments, the multiple temperature threshold intervals may also include more intervals, and each temperature threshold interval corresponds to an open circuit voltage-SOC data table, which is not limited in the present application.
[0054] For example, in some examples, the first temperature threshold interval is that the battery temperature is greater than or equal to -20°C and less than -10°C, corresponding to the first open circuit voltage-SOC data table, the second temperature threshold interval is that the battery temperature is greater than or equal to -10°C and less than 0°C, corresponding to the second open circuit voltage-SOC data table, the third temperature threshold interval is that the battery temperature is greater than or equal to 0°C and less than 10°C, corresponding to the third open circuit voltage-SOC data table, and the fourth temperature threshold interval is that the battery temperature is greater than or equal to 10°C, corresponding to the fourth open circuit voltage-SOC data table.
[0055] When the current temperature of the battery falls within the first temperature threshold interval, the target open circuit voltage-SOC data table is determined to be the first open circuit voltage-SOC data table, and an interpolation calculation is performed based on the first open circuit voltage-SOC data table to obtain the second battery SOC; when the current temperature of the battery falls within the second temperature threshold interval, the target open circuit voltage-SOC data table is determined to be the second open circuit voltage-SOC data table, and an interpolation calculation is performed based on the second open circuit voltage-SOC data table to obtain the second battery SOC; when the current temperature of the battery falls within the third temperature threshold interval, the target open circuit voltage-SOC data table is determined to be the third open circuit voltage-SOC data table, and an interpolation calculation is performed based on the third open circuit voltage-SOC data table to obtain the second battery SOC; when the current temperature of the battery falls within the fourth temperature threshold interval, the target open circuit voltage-SOC data table is determined to be the fourth open circuit voltage-SOC data table, and an interpolation calculation is performed based on the fourth open circuit voltage-SOC data table to obtain the second battery SOC. In this way, by corresponding an open circuit voltage-SOC data table to each temperature threshold interval in the multiple temperature threshold intervals, the battery SOC can be estimated more precisely, thereby improving the accuracy and reliability of the battery SOC estimation.
[0056] Each temperature threshold interval represents a specific temperature range. In different temperature threshold intervals, the chemical properties, internal resistance, capacity, etc. of the battery will be different. Therefore, the correspondence between the battery open circuit voltage and the battery SOC recorded in the open circuit voltage-SOC data table will also change. In each open circuit voltage-SOC data table, different battery open circuit voltages correspond to different battery SOCs. The open circuit voltage-SOC data table can be obtained in advance through experience, experimental measurement or battery modeling, and stored in the battery management system for real-time query.
[0057] When the battery's charge and discharge signals are monitored and the battery's current temperature is obtained, the battery management system will first determine the temperature threshold interval of the battery's current temperature, and then look up the open circuit voltage-SOC data table corresponding to the temperature threshold interval. Finally, by looking up or interpolating the open circuit voltage-SOC data table, the battery SOC based on the current open circuit voltage can be obtained. The table lookup method can better reflect the actual performance of the battery at different temperatures, thereby improving the accuracy of the battery SOC estimation. Especially in an environment with large temperature changes, it can significantly reduce the battery SOC estimation error caused by temperature changes.
[0058] In an optional implementation, after acquiring the current temperature of the battery, the battery management system may first determine whether the current temperature of the battery is within a preset temperature threshold segmentation interval, for example, whether the current temperature of the battery is within [-20°C, 100°C). Only when the current temperature of the battery is within the preset temperature threshold segmentation interval and the battery is in a charge and discharge state, is it determined which open circuit voltage-SOC data table to check based on the current temperature of the battery, so as to use the determined open circuit voltage-SOC data table to look up or interpolate to obtain the second battery SOC.
[0059] S12: determining whether a preset calibration condition is satisfied according to the first battery SOC and the second battery SOC.
[0060] The preset correction condition is used to determine whether the battery SOC needs to be corrected.
[0061] Whenever the battery is charged or discharged, the battery management system will determine the first battery SOC and the second battery SOC. When either the first battery SOC or the second battery SOC meets the preset correction condition, the correction mechanism will be triggered to correct the current current or SOC of the battery using the preset current correction model. Such a correction mechanism helps to improve the accuracy and reliability of SOC estimation, thereby optimizing the use and management of the battery.
[0062] In an optional implementation, the determining whether a preset correction condition is satisfied according to the first battery SOC and the second battery SOC includes:
[0063] When the battery is in a discharging state, determining whether the first battery SOC or the second battery SOC is lower than a preset first SOC threshold, and when the first battery SOC or the second battery SOC is lower than the preset first SOC threshold, determining that the preset correction condition is met;
[0064] When the battery is in a charging state, determining whether the first battery SOC or the second battery SOC is higher than a preset second SOC threshold, and when the first battery SOC or the second battery SOC is higher than the preset second SOC threshold, determining that the preset correction condition is met;
[0065] Wherein, the preset first SOC threshold is smaller than the preset second SOC threshold.
[0066] The preset first SOC threshold is a critical value used to determine whether the battery SOC needs to be corrected during the discharge process. The preset second SOC threshold is a critical value used to determine whether the battery SOC needs to be corrected during the charging process.
[0067] When the battery is monitored to be in a discharging state, as the battery voltage gradually decreases as the power is consumed during the discharge process, the chemical reaction inside the battery may become more unstable when the battery power is low, resulting in a decrease in the accuracy of the SOC estimation. At this point, if the uncorrected battery SOC is continued to be used, the battery may be over-discharged, which will have a negative impact on the health and life of the battery. Setting a lower first SOC threshold (for example, 20%) means that the correction mechanism can be triggered when the battery power is relatively low, which helps to correct the deviation of the battery SOC estimation in time and prevent the battery from being over-discharged, thereby protecting the battery and improving its safety.
[0068] When the battery is monitored to be in a charging state, the voltage of the battery will gradually increase during the charging process. When the battery is close to a fully charged state, the chemical properties inside the battery may change, which may lead to inaccurate SOC estimation. If you continue to use the uncorrected battery SOC, it may cause the battery to be overcharged. Overcharging will not only affect the performance and life of the battery, but may also cause safety problems. Setting a higher second SOC threshold (for example, 80%) means that the correction mechanism can be triggered when the battery power is relatively high, which helps to ensure that the accuracy of the SOC estimation can be improved when the battery is close to a fully charged state, thereby avoiding overcharging, protecting the battery and ensuring the safety of the charging process.
[0069] When the battery is in a discharging state, when the battery management system determines that any one of the first battery SOC and the second battery SOC is lower than a preset first SOC threshold, it is determined that the preset correction condition is met. When the battery is in a charging state, when the battery management system determines that any one of the first battery SOC and the second battery SOC is higher than a preset second SOC threshold, it is determined that the preset correction condition is met.
[0070] When the battery is in a discharging state, when the battery management system determines that each of the first battery SOC and the second battery SOC is higher than a preset first SOC threshold, it is determined that the preset correction condition is not met. When the battery is in a charging state, when the battery management system determines that each of the first battery SOC and the second battery SOC is lower than a preset second SOC threshold, it is determined that the preset correction condition is not met.
[0071] The above optional implementation scheme realizes refined charge and discharge control by setting different SOC thresholds and making timely corrections for over-discharge that may occur during discharge and over-charging that may occur during charging, thereby accurately reflecting the actual SOC of the battery in different states, reducing errors, optimizing the use efficiency of the battery, extending the battery life, and improving the performance of the entire system.
[0072] S13, when it is determined that the preset correction condition is met, using a preset current correction model to correct the current of the battery based on the first battery SOC and the second battery SOC to obtain a correction current of the battery.
[0073] The preset current correction model is a predefined mathematical model or algorithm, which is used to correct the current of the battery according to the first battery SOC and the second battery SOC, so as to more accurately reflect the actual working state of the battery.
[0074] When the battery management system determines that the preset correction condition is met according to the first battery SOC and the second battery SOC, the preset current correction model is called, and the first battery SOC and the second battery SOC are used as input parameters. The preset current correction model performs correction processing on the current current of the battery according to the first battery SOC and the second battery SOC. After the correction processing by the preset current correction model, the correction current of the battery is obtained.
[0075] In an optional embodiment, the using a preset current correction model to correct the current of the battery based on the first battery SOC and the second battery SOC to obtain the corrected current of the battery includes:
[0076] Calculate the difference between the second battery SOC and the first battery SOC to obtain a battery SOC difference;
[0077] Calculating based on the current current of the battery, the battery SOC difference and a preset control capacity rate to obtain a current adjustment value;
[0078] A correction current of the battery is obtained based on the present current of the battery and the current adjustment value.
[0079] The capacity control rate is used to control the rate or degree of current correction, and is usually set according to battery characteristics and system requirements to avoid over-correction or under-correction.
[0080] In the above optional implementation, by calculating the difference between the first battery SOC and the second battery SOC, the difference between the first battery SOC calculated by the Coulomb method and the second battery SOC estimated by the practical table lookup method can be quantified, providing an accurate basis for subsequent current correction. When the difference between the first battery SOC and the second battery SOC is large, it indicates that there is a significant difference between the two battery SOC estimation methods. When the difference between the first battery SOC and the second battery SOC is small, it indicates that the two battery SOC estimation methods are relatively close and the battery state is stable.
[0081] In an optional implementation, the calculation based on the current current of the battery, the battery SOC difference and a preset control capacity rate to obtain the current adjustment value includes:
[0082] Obtaining a current adjustment coefficient based on the product of the current current of the battery and the battery SOC difference;
[0083] The current adjustment value is obtained based on the ratio of the current adjustment coefficient and the preset control capacity rate.
[0084] The preset current correction model can be expressed by the following mathematical formula:
[0085] Ix=I+((I*X) / SOC_Speed).
[0086] Where Ix is the current to be accumulated, I is the current of the battery, X is the battery SOC difference, the maximum is SOC_Speed, and SOC_Speed is the control capacity rate.
[0087] I is the current operating current of the battery, which represents the current charging and discharging rate of the battery, that is, the amount of electricity charged or discharged by the battery per unit time.
[0088] X is the difference between the second battery SOC obtained by the table lookup method and the first battery SOC obtained by the coulomb method (battery SOC difference). X reflects the difference between the theoretical calculated state and the actual state of the battery. The battery SOC difference may be positive, negative, or equal to 0. When the battery SOC difference is positive, it means that the second battery SOC (voltage capacity) obtained by the table lookup method is higher than the first battery SOC (coulomb calculated capacity) obtained by the coulomb method, that is, the battery capacity is larger than the cell voltage, and the capacity will be accelerated. This means that Ix will be larger than the current current I of the battery, resulting in a faster increase in the accumulated coulomb, and the maximum increase in coulomb is one times the current current. When the battery SOC difference is negative, it means that the second battery SOC (voltage capacity) obtained by the table lookup method is lower than the first battery SOC (coulomb calculated capacity) obtained by the coulomb method, that is, the battery capacity is smaller than the cell voltage, and the capacity will be decelerated, which means that Ix will be smaller than the current current I of the battery, resulting in a slower increase in the accumulated coulomb, and the maximum decrease in coulomb is one times the current current. When the battery SOC difference is equal to 0, it indicates that the battery capacity is the same as the cell voltage, no operation will be performed, and Ix is equal to the current current I of the battery.
[0089] The current adjustment coefficient I*X represents the product of the current current I and the battery SOC difference X, which is used to reflect the impact of battery state differences on current correction, and then determine the direction and amplitude of current adjustment. When the battery SOC difference is large, the product result will also be large, indicating that the current current needs to be adjusted more significantly to better match the actual state of the battery. On the contrary, when the battery SOC difference is small, the product result will also be small, which means that the current adjustment amplitude may be small. By calculating I*X, the impact of battery SOC differences on current can be quantified, making current correction more accurate and targeted.
[0090] SOC_Speed is a control parameter used to limit the maximum rate of acceleration and deceleration to avoid system instability or error accumulation caused by too fast adjustment.
[0091] (I*X) / SOC_Speed represents the adjustment made to the current I by the battery SOC difference X, reflecting the current adjustment requirement due to the capacity calculation difference at a specific charge and discharge rate. If X is a positive number and I is also a positive number (i.e. the battery is charging), then the result of I*X will be a positive number, indicating that the accumulated current value needs to be increased to reflect the higher voltage capacity. Conversely, if X is a negative number or I is a negative number (i.e. the battery is discharging), then I*X will be a negative number, indicating that the accumulated current value needs to be reduced. This adjustment is used to correct the original current value to obtain a more accurate accumulated current Ix, thereby more accurately estimating the battery SOC.
[0092] The above optional implementation manner can dynamically adjust the cumulative calculation speed of the charge and discharge current according to the difference between the first battery SOC and the second battery SOC, so as to estimate the battery SOC more accurately.
[0093] It should be understood that when the battery switches from a charging state to a discharging state, or from a discharging state to a charging state, the control process needs to be adjusted accordingly to switch the operation of increasing or decreasing the battery SOC.
[0094] S14, using the Coulomb method to calculate the corrected battery SOC based on the corrected current of the battery.
[0095] After the current current of the battery is corrected, the coulomb method can be used to calculate the corrected battery SOC based on the corrected current of the battery. When it is determined that the preset correction condition is not met, the first battery SOC is determined as the corrected battery SOC.
[0096] In an optional embodiment, the method of calculating the corrected battery SOC based on the corrected current of the battery using the Coulomb method includes:
[0097] The corrected battery SOC is obtained by performing an integral calculation based on the corrected current of the battery and the charge and discharge time of the battery.
[0098] The battery management system may also display the corrected battery SOC in real time. Displaying the corrected battery SOC in real time may provide accurate information about the current state of the battery, helping the user understand the remaining battery power, allowing the user to charge in time to avoid sudden interruptions or inconveniences caused by low power, or to schedule charging to maximize battery life or when it is safe to continue using the device.
[0099] In the battery SOC calculation process, when the battery charging and discharging signals are monitored, the Coulomb method is used to calculate the first battery SOC based on the current current of the battery, and the table lookup method is used to look up the table based on the current temperature of the battery to obtain the second battery SOC. This is because these two battery SOC calculation methods each have different characteristics and applicable scenarios, and combined together they can provide a more comprehensive and accurate battery SOC estimation.
[0100] The Coulomb method estimates the battery SOC based on the current accumulation during the battery charging and discharging process. It is a method that directly reflects the battery charging and discharging status. The Coulomb method can provide real-time and continuous SOC estimation, especially during the battery charging and discharging process, and can track the changes in SOC more accurately. However, the Coulomb method has high requirements for the setting of the initial SOC and the accuracy of current measurement, and after long-term use, it may be affected by factors such as battery aging and self-discharge, resulting in deviations in SOC estimation.
[0101] The table lookup method estimates the battery SOC based on multiple pre-stored open circuit voltage-SOC data tables, which contain the battery SOC under different temperature, voltage and other conditions. The table lookup method can take into account the impact of temperature on battery performance, especially in an environment with large temperature changes. By looking up the table, a battery SOC that is more in line with the actual situation can be obtained. However, the accuracy of the table lookup method is limited by the completeness and accuracy of the open circuit voltage-SOC data table, and it cannot reflect the SOC changes during the battery charging and discharging process in real time.
[0102] Therefore, the combination of the Coulomb method and the table lookup method can fully utilize the advantages of the two methods to improve the accuracy and reliability of SOC estimation. First, the first battery SOC is obtained by the Coulomb method, and the charge and discharge status of the battery can be tracked in real time; then, the second battery SOC is obtained by the table lookup method, and the effect of temperature on battery performance can be taken into account. Finally, when it is determined that the preset correction conditions are met according to the first battery SOC and the second battery SOC, the current current of the battery is corrected using a preset current correction model to obtain a more accurate corrected battery SOC. The present application comprehensively considers the effects of the battery's charge and discharge current and temperature, realizes SOC error correction and SOC temperature capacity correction, reduces the calculation error of the battery SOC, and improves the accuracy and stability of the battery SOC.
[0103] Figure 2 It is a structural diagram of a battery SOC calculation device provided in Embodiment 2 of the present invention.
[0104] In some embodiments, the battery SOC calculation device 20 may include a plurality of functional modules composed of computer program segments. The computer programs of the various program segments in the battery SOC calculation device 20 may be stored in the memory of the battery management device and executed by at least one processor to perform (see Figure 2 Description) Function for battery SOC calculation.
[0105] In this embodiment, the battery SOC calculation device 20 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: a monitoring module 201, a judgment module 202, a correction module 203 and a calculation module 204. The module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.
[0106] The monitoring module 201 is used to calculate the first battery SOC based on the current current of the battery using the Coulomb method when monitoring the charge and discharge signal of the battery, and to obtain the second battery SOC based on the current temperature of the battery using the table lookup method;
[0107] The judging module 202 is used to judge whether a preset calibration condition is met according to the first battery SOC and the second battery SOC;
[0108] The correction module 203 is used to correct the current of the battery based on the first battery SOC and the second battery SOC using a preset current correction model to obtain a correction current of the battery when it is determined that the preset correction condition is met;
[0109] The calculation module 204 is configured to calculate a corrected battery SOC based on a corrected current of the battery using a Coulomb method.
[0110] It should be understood that the various variations and specific embodiments of the battery SOC calculation method provided in the above embodiments are also applicable to the battery SOC calculation device in this embodiment. Through the detailed description of the aforementioned battery SOC calculation method, those skilled in the art can clearly understand the implementation process of the battery SOC calculation device in this embodiment. For the sake of brevity of the specification, it will not be described in detail here.
[0111] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, all or part of the steps of the battery SOC calculation method are implemented.
[0112] See also Figure 3 FIG. 2 is a schematic diagram of the structure of a battery management device provided in an embodiment of the present application. In a preferred embodiment of the present application, the battery management device 3 includes a memory 31 , at least one processor 32 and at least one communication bus 33 .
[0113] Those skilled in the art should understand that Figure 3 The structure of the battery management device shown does not constitute a limitation of the embodiments of the present application, and can be either a bus structure or a star structure. The battery management device 3 can also include more or less other hardware or software than shown in the figure, or a different component arrangement.
[0114] In some embodiments, the battery management device 3 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application-specific integrated circuits, programmable gate arrays, digital processors, and embedded devices. The battery management device 3 may also include client devices, which include but are not limited to any electronic product that can interact with a client through a keyboard, mouse, remote control, touchpad, or voice control device, such as a personal computer, tablet computer, smart phone, digital camera, etc.
[0115] It should be noted that the battery management device 3 is only an example, and other existing or future electronic products that are suitable for the present application should also be included in the protection scope of the present application and included here by reference.
[0116] In some embodiments, the memory 31 stores a computer program, and when the computer program is executed by the at least one processor 32, all or part of the steps in the battery SOC calculation method as described above are implemented. The memory 31 includes a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data. Further, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, and the like.
[0117] In some embodiments, the at least one processor 32 is the control core (Control Unit) of the battery management device 3, and uses various interfaces and lines to connect various components of the entire battery management device 3, and executes various functions and processes data of the battery management device 3 by running or executing programs or modules stored in the memory 31, and calling data stored in the memory 31. For example, when the at least one processor 32 executes the computer program stored in the memory, it implements all or part of the steps of the battery SOC calculation method described in the embodiment of the present application; or implements all or part of the functions of the battery SOC calculation device. The at least one processor 32 can be composed of an integrated circuit, for example, it can be composed of a single packaged integrated circuit, or it can be composed of multiple integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips.
[0118] In some embodiments, the at least one communication bus 33 is configured to realize the connection and communication between the memory 31 and the at least one processor 32, etc. Although not shown, the battery management device 3 may also include a power supply (such as a battery) for powering each component. Preferably, the power supply may be logically connected to the at least one processor 32 through a power management device, so as to realize the functions of managing charging, discharging, and power consumption management through the power management device. The power supply may also include any components such as one or more DC or AC power supplies, recharging devices, power fault detection circuits, power converters or inverters, power status indicators, etc. The battery management device 3 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0119] The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a battery management device (which can be a personal computer, a battery management device, or a network device, etc.) or a processor to execute part of the method described in each embodiment of the present application.
[0120] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0121] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Claims
1. A battery SOC calculation method, characterized in that: The method comprises: When a charge and discharge signal of a battery is monitored, a first battery SOC is calculated based on the current current of the battery using a coulomb method, and a second battery SOC is obtained by looking up a table based on the current temperature of the battery using a table lookup method; Determining whether a preset calibration condition is met according to the first battery SOC and the second battery SOC; When it is determined that the preset correction condition is met, using a preset current correction model to correct the current of the battery based on the first battery SOC and the second battery SOC to obtain a correction current of the battery; Calculating a corrected battery SOC based on a corrected current of the battery using a coulomb method; The method of using a preset current correction model to correct the current of the battery based on the first battery SOC and the second battery SOC to obtain the corrected current of the battery includes: Calculate the difference between the second battery SOC and the first battery SOC to obtain a battery SOC difference; Calculating based on the current current of the battery, the battery SOC difference and a preset control capacity rate to obtain a current adjustment value; A correction current of the battery is obtained based on the present current of the battery and the current adjustment value.
2. The battery SOC calculation method according to claim 1, characterized in that: The current adjustment value is obtained by calculating based on the current current of the battery, the battery SOC difference and a preset control capacity rate, including: Obtaining a current adjustment coefficient based on the product of the current current of the battery and the battery SOC difference; The current adjustment value is obtained based on the ratio of the current adjustment coefficient and the preset control capacity rate.
3. The battery SOC calculation method according to any one of claims 1 to 2, characterized in that: The using a table lookup method to obtain the second battery SOC based on the current temperature of the battery comprises: Determine a target open circuit voltage-SOC data table according to the current temperature of the battery and a preset temperature threshold segmentation interval, and perform interpolation calculation according to the target open circuit voltage-SOC data table and the current voltage of the battery to obtain the second battery SOC; The preset temperature threshold segmentation interval includes multiple temperature threshold intervals, and each temperature threshold interval corresponds to an open circuit voltage-SOC data table.
4. The battery SOC calculation method according to claim 3, characterized in that: The determining whether a preset correction condition is satisfied according to the first battery SOC and the second battery SOC includes: When the battery is in a discharging state, determining whether the first battery SOC or the second battery SOC is lower than a preset first SOC threshold, and when the first battery SOC or the second battery SOC is lower than the preset first SOC threshold, determining that the preset correction condition is met; When the battery is in a charging state, determining whether the first battery SOC or the second battery SOC is higher than a preset second SOC threshold, and when the first battery SOC or the second battery SOC is higher than the preset second SOC threshold, determining that the preset correction condition is met; Wherein, the preset first SOC threshold is smaller than the preset second SOC threshold.
5. The battery SOC calculation method according to claim 4, characterized in that: The method of using the Coulomb method to calculate the corrected battery SOC based on the corrected current of the battery includes: The corrected battery SOC is obtained by performing an integral calculation based on the corrected current of the battery and the charge and discharge time of the battery.
6. The battery SOC calculation method according to claim 5, characterized in that: The method further comprises: The corrected battery SOC is displayed in real time.
7. A battery SOC calculation device, characterized in that: The device comprises: A monitoring module, configured to, when a charge and discharge signal of a battery is monitored, calculate a first battery SOC based on a current current of the battery using a Coulomb method, and obtain a second battery SOC based on a current temperature of the battery using a table lookup method; A judging module, used for judging whether a preset correction condition is satisfied according to the SOC of the first battery and the SOC of the second battery; a correction module, configured to correct the current of the battery based on the first battery SOC and the second battery SOC using a preset current correction model to obtain a correction current of the battery when it is determined that the preset correction condition is met; A calculation module, configured to calculate a corrected battery SOC based on a corrected current of the battery using a Coulomb method; Wherein, the correction module is also used for: Calculate the difference between the second battery SOC and the first battery SOC to obtain a battery SOC difference; Calculating based on the current current of the battery, the battery SOC difference and a preset control capacity rate to obtain a current adjustment value; A correction current of the battery is obtained based on the present current of the battery and the current adjustment value.
8. A battery management device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the battery SOC calculation method as claimed in any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the battery SOC calculation method according to any one of claims 1 to 6 are implemented.
