SOC calibration method, device and equipment of low-voltage BMS and storage medium
By judging the battery application scenario in a low-voltage BMS and calibrating the SOC value in real time, the problem of low SOC accuracy in different scenarios is solved, and higher SOC accuracy and stronger compatibility are achieved.
Patent Information
- Application Number
- CN202411300579.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2025-05-16
AI Technical Summary
The prior art is difficult to accurately calibrate the SOC value of lithium batteries in different scenarios, resulting in low SOC calculation accuracy and a large resource occupancy.
By judging the current application scenario of the battery, and combining the calibration strategies set by different scenarios, the SOC value is calibrated in real time. The specific method includes judging the charge and discharge scenario based on the current and SOC values, and adjusting the growth or decline rate of the displayed SOC values to follow the change of the real SOC values.
It improves the accuracy of lithium battery SOC, has strong compatibility, and saves development time and resources.
Smart Images

Figure CN120009727A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile control technology, and in particular to a SOC calibration method, device, equipment and storage medium for a low-voltage BMS. Background Art
[0002] With the pace of automobile intelligence and the vigorous development of lithium batteries, it has become a trend to replace 12V on-board power from lead-acid to lithium batteries. The main function of 12V lithium batteries is to provide power for the 12V low-voltage electrical appliances of the vehicle when the vehicle is not on high voltage. Low-voltage BMS can monitor and manage 12V lithium batteries, collect and calculate parameters such as voltage, temperature, current and SOC, and then control the battery charging and discharging process to protect the battery and improve the overall performance of the battery.
[0003] Currently, the ampere-hour integration method is used to calculate the battery's SOC value, but it relies heavily on the initial SOC value. If the initial SOC value is inaccurate, the subsequent SOC calculation deviation will be large. In addition, there is a supplementary algorithm for the insufficient calculation accuracy of the ampere-hour integration method, the closed-loop feedback algorithm. Feedback verification is added on the basis of ampere-hour integration, but its disadvantage is that only one method is used to calculate SOC in all scenarios, which is not applicable to different scenarios, and requires accurate battery cell data model support. The software has a large amount of calculation, occupies a lot of resources, and has low short-term accuracy.
[0004] Therefore, how to calibrate the battery SOC value in different scenarios to improve the battery SOC accuracy is a technical problem that needs to be solved urgently. Summary of the invention
[0005] The main purpose of the present invention is to provide a SOC calibration method, device, equipment and storage medium for a low-voltage BMS, which can improve the accuracy of the battery SOC and have strong compatibility, while also saving development time and resources.
[0006] In a first aspect, the present application provides a SOC calibration method for a low-voltage BMS, wherein the method comprises the steps of:
[0007] Based on the battery's charge and discharge status and SOC value, determine the battery's current application scenario;
[0008] According to the current application scenario of the battery, and in combination with the calibration strategies set for different application scenarios, the SOC value of the battery is calibrated in real time.
[0009] In combination with the first aspect above, as an optional implementation, if the current battery current is greater than a first set threshold value and the calculated current SOC value is in a first interval, it is determined that the battery is currently in a charging scenario;
[0010] If the current battery current is less than the second set threshold value and the calculated current SOC value is in the second interval, it is determined that the battery is currently in a discharge scenario;
[0011] If the current battery voltage reaches the set threshold and the calculated current SOC value is in the third interval, it is determined that the battery is currently in the charging terminal scenario;
[0012] If the current battery full charge flag is not set, and the calculated current SOC value is in the fourth interval, it is determined that the battery is currently in the charging terminal waiting scene;
[0013] If the current battery full discharge flag is not set and the calculated current SOC value is in the fifth interval, it is determined that the battery is currently in the end-of-discharge waiting scenario.
[0014] In combination with the first aspect above, as an optional implementation, if the battery is currently in a charging scenario, the calculated actual SOC value is compared with the displayed SOC value;
[0015] When the displayed SOC value is greater than or equal to the actual SOC value, adjusting the growth rate of the displayed SOC value to a first set value;
[0016] When the sum of the displayed SOC value and the second set value is greater than the actual SOC value and greater than the displayed SOC value, the displayed SOC value is set equal to the actual SOC value;
[0017] When the actual SOC value is greater than or equal to the sum of the displayed SOC value and the second set value, the growth rate of the displayed SOC value is adjusted to the second set value.
[0018] In combination with the first aspect above, as an optional implementation, if the battery is currently in a discharge scenario, the calculated actual SOC value is compared with the displayed SOC value;
[0019] When the actual SOC value is greater than or equal to the displayed SOC value, adjusting the decreasing rate of the displayed SOC value to a first set value;
[0020] When the displayed SOC value is greater than the actual SOC value and greater than the difference between the displayed SOC and the second set value, the displayed SOC value is set equal to the actual SOC value;
[0021] When the difference between the displayed SOC and the second set value is greater than or equal to the actual SOC value, the decreasing rate of the displayed SOC value is adjusted to the second set value.
[0022] In combination with the first aspect above, as an optional implementation method, if the battery is currently in a charging terminal scenario, a mapping relationship between voltage and battery SOC value is established, and through the mapping relationship, the displayed SOC value follows the change of the highest single cell voltage in the PACK.
[0023] In combination with the first aspect above, as an optional implementation, if the battery is currently in a charging terminal waiting scenario, and when the battery SOC value meets the full charge setting condition, the displayed SOC value is set to 100%;
[0024] If the battery is currently in the end-of-discharge waiting scenario, the displayed SOC value will be set to 0% after the battery SOC value meets the full placement condition.
[0025] In combination with the first aspect, as an optional implementation, if the highest single cell voltage in the PACK is greater than or equal to the first preset voltage, and the main circuit current is less than or equal to the first preset current, and lasts for T1;
[0026] Or, the current is less than or equal to the first preset current and satisfies the cumulative time T2;
[0027] Or, if the highest cell voltage in the battery PACK is greater than or equal to the second preset voltage, and the main circuit current is less than or equal to the second preset current, and the duration is T3, then it is considered that the battery is currently in a fully charged state, and the SOC value at this time is set to 100%;
[0028] Based on the battery open circuit voltage, the displayed SOC value is calibrated by looking up the table.
[0029] In a second aspect, the present application provides a SOC calibration device for a low-voltage BMS, the device comprising:
[0030] A judgment module, which is used to judge the current application scenario of the battery based on the charge and discharge status and SOC value of the battery;
[0031] The processing module is used to calibrate the SOC value of the battery in real time according to the current application scenario of the battery and the calibration strategies set in combination with different application scenarios.
[0032] In a third aspect, the present application further provides an electronic device, comprising: a processor; a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the method described in any one of the first aspects is implemented.
[0033] In a fourth aspect, the present application further provides a computer-readable storage medium storing computer program instructions, which, when executed by a computer, enables the computer to execute any of the methods described in the first aspect.
[0034] The present application provides a method, device, equipment and storage medium for SOC calibration of a low-voltage BMS, wherein the method comprises the steps of: judging the current application scenario of the battery based on the charge and discharge state and SOC value of the battery; and calibrating the SOC value of the battery in real time according to the current application scenario of the battery and the calibration strategy set in combination with different application scenarios. The present application can improve the accuracy of the battery SOC and has strong compatibility, while also saving development time and resources.
[0035] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0037] Figure 1 A flow chart of a SOC calibration method for a low-voltage BMS provided in an embodiment of the present application;
[0038] Figure 2 A schematic diagram of a SOC calibration device for a low-voltage BMS provided in an embodiment of the present application;
[0039] Figure 3 A schematic diagram of an electronic device provided in an embodiment of the present application;
[0040] Figure 4 A schematic diagram of a computer-readable program medium provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0042] Furthermore, the drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. Some of the blocks shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities.
[0043] The embodiments of the present application are further described in detail below in conjunction with the accompanying drawings.
[0044] Reference Figure 1 , Figure 1 FIG. 1 is a flow chart of a SOC calibration method for a low-voltage BMS provided by the present invention. Figure 1 As shown, the method comprises the steps of:
[0045] Step S101: Based on the battery's charge and discharge status and SOC value, determine the current application scenario of the battery.
[0046] Specifically, 2. The method according to claim 1 is characterized in that judging the current application scenario of the battery based on the charge and discharge state and SOC value of the battery includes:
[0047] If the current battery current is greater than the first set threshold value and the calculated current SOC value is in the first interval, it is determined that the battery is currently in a charging scenario;
[0048] If the current battery current is less than the second set threshold value and the calculated current SOC value is in the second interval, it is determined that the battery is currently in a discharge scenario;
[0049] If the current battery voltage reaches the set threshold and the calculated current SOC value is in the third interval, it is determined that the battery is currently in the charging terminal scenario;
[0050] If the current battery full charge flag is not set, and the calculated current SOC value is in the fourth interval, it is determined that the battery is currently in the charging terminal waiting scene;
[0051] If the current battery full discharge flag is not set and the calculated current SOC value is in the fifth interval, it is determined that the battery is currently in the end-of-discharge waiting scenario.
[0052] For ease of understanding, an example is given. If the current battery current is greater than a first set threshold (customized) and the calculated SOC value is between 1-90%, it is determined to be in a charging scenario.
[0053] If the current battery current is less than the second set threshold value, and the calculated current SOC value is 1-90%, it is determined that the battery is currently in a discharging scenario.
[0054] If the current battery voltage reaches the set threshold and the calculated current SOC value is 90-99%, the battery is judged to be in the charging terminal scenario.
[0055] If the current battery full charge flag is not set, and the calculated current SOC value is equal to 99%, it is determined that the battery is currently in the charging terminal waiting scenario.
[0056] If the current battery full discharge flag is not set, and the calculated current SOC value is 1%, it is determined that the battery is currently in the end-of-discharge waiting scenario.
[0057] It is understandable that, based on the battery's charge and discharge status and SOC value, it is determined whether the battery is currently in a charging scenario, a discharging scenario, a charging terminal scenario, a charging terminal waiting scenario, or a discharging terminal waiting scenario.
[0058] It needs to be explained that the 12V lithium battery uses an ampere-hour integration-based algorithm to calculate the SOC. At the same time, in order to avoid loss of accuracy, two methods can be used. One is to update and store the SOC every time a certain amount of SOC is accumulated. In practical applications, considering the life of the EEPROM, it can be set to store every X% (before power-off, store the SOC so that after power-on, it can be directly obtained without recalculation). One is to accumulate the charging capacity and the discharging capacity, and update the SOC according to the updated value of the capacity (real-time update calculation). In the absence of SOC correction opportunities (OCV correction conditions are not met) (based on the cumulative throughput from the last correction to the current moment), switch to a closed-loop algorithm to make the SOC accuracy controllable. That is to say, different calculation methods are used according to different scenarios. For example, the ampere-hour integration method is used to calculate the SOC in the charging and discharging scenario, and then the closed-loop algorithm is used to calculate the SOC value when the vehicle is dormant. The SOC value calculated by the closed-loop algorithm is used as the reference value to correct the SOC value calculated by the ampere-hour integration algorithm so that the SOC accuracy can be controlled.
[0059] In one embodiment, the target SOC is established, taking lithium iron phosphate cells as an example. The DOD range of lithium iron phosphate cells of general battery manufacturers is [3,97]. The target SOC is set to map the calculated real SOC range [3,97] to the target SOC [0,100]. When the calculated real SOC reaches 3%, the full discharge correction is triggered, the mapped target SOC is 0%, and the displayed SOC is calibrated accordingly. When the calculated real SOC reaches 97%, the full charge correction is triggered, the mapped target SOC is 100%, and the displayed SOC is calibrated accordingly.
[0060] Step S102: According to the current application scenario of the battery, and in combination with the calibration strategies set for different application scenarios, the SOC value of the battery is calibrated in real time.
[0061] Specifically, if the battery is currently in a charging scenario, the calculated actual SOC value is compared with the displayed SOC value;
[0062] When the displayed SOC value is greater than or equal to the actual SOC value, adjusting the growth rate of the displayed SOC value to a first set value;
[0063] When the sum of the displayed SOC value and the second set value is greater than the actual SOC value and greater than the displayed SOC value, the displayed SOC value is set equal to the actual SOC value;
[0064] When the actual SOC value is greater than or equal to the sum of the displayed SOC value and the second set value, the growth rate of the displayed SOC value is adjusted to the second set value.
[0065] For ease of understanding of the specific description, when there is a charging current, the SOC is 1-90%.
[0066] When the displayed SOC ≥ the real SOC, the increase rate of the displayed SOC is adjusted to 1 / X*dataSOC, where X is the custom adjustment coefficient. It should be noted that if the displayed SOC is greater than the real SOC, for example, the displayed SOC is 50 and the real SOC is 30, then the real SOC and the displayed SOC will change due to charging. At this time, the growth ratio of the two is adjusted. For example, when the real SOC reaches 40 and the displayed SOC is 55, the real SOC slowly approaches the displayed SOC, so the growth ratio between the two is adjusted. The same applies to discharge.
[0067] When displayed SOC+X*dataSOC>real SOC>displayed SOC, set displayed SOC equal to real SOC
[0068] When the actual SOC ≥ (displayed SOC + X*dataSOC), the increase rate of the displayed SOC is adjusted to X*dataSOC.
[0069] If the battery is currently in a discharge scenario, the calculated actual SOC value is compared with the displayed SOC value; when the actual SOC value is greater than or equal to the displayed SOC value, the decrease rate of the displayed SOC value is adjusted to the first set value; when the displayed SOC value is greater than the actual SOC value and greater than the difference between the displayed SOC and the second set value, the displayed SOC value is set equal to the actual SOC value; when the difference between the displayed SOC and the second set value is greater than or equal to the actual SOC value, the decrease rate of the displayed SOC value is adjusted to the second set value.
[0070] For ease of understanding of the specific description, when there is a discharge current, the SOC is 1-90%.
[0071] When the actual SOC ≥ displayed SOC, the decrease rate of displayed SOC is adjusted to 1 / X*dataSOC
[0072] Displayed SOC>actual SOC>(displayed SOC-X*dataSOC), in this case, let displayed SOC equal to actual SOC
[0073] Displayed SOC-X*dataSOC≥actual SOC, and the decreasing rate of displayed SOC is adjusted to X*dataSOC.
[0074] If the battery is currently in a charging terminal scenario, a mapping relationship between voltage and battery SOC value is established, and through the mapping relationship, the displayed SOC value follows the change of the highest single cell voltage in the PACK.
[0075] Specifically, in the charging terminal scenario, the SOC is 90%-99% (a mapping relationship is established between the voltage and the SOC): when the charging terminal enters the last charging STEP, the change in the displayed SOC follows the change in the highest single cell voltage in the PACK. It can be understood that a mapping relationship between the voltage and the SOC is established, and the SOC can be corrected through the voltage.
[0076] At the beginning of this interval, record the initial SOC and the highest cell voltage Vmax; calculate the difference between the initial SOC and 100 as X. Calculate the difference between Vmax and the fully charged cell voltage as Y; calculate the SOC change corresponding to the unit voltage as X / Y; and consider the change X / Y for smoothing when the SOC rises at the end of charging.
[0077] If the battery is currently in the charging terminal waiting scene, and when the battery SOC value meets the full charge setting condition, the displayed SOC value will be set to 100%;
[0078] If the battery is currently in the end-of-discharge waiting scenario, the displayed SOC value will be set to 0% after the battery SOC value meets the full placement condition.
[0079] Specifically, in the end-of-charge and discharge waiting scenario, SOC = 99%: when the full charge or full discharge flag is not set, the SOC waits at the nearby value until the full charge or full discharge flag is set and calibration is performed; when the displayed SOC reaches 99%, it is necessary to wait and do no other calculations. When the full charge setting conditions are met, the SOC is set to 100%; when the displayed SOC reaches 1%, it is necessary to wait and do no other calculations. When the full discharge setting conditions are met, the SOC is set to 0%.
[0080] The verification method further includes: if the highest cell voltage in the PACK is greater than or equal to the first preset voltage, and the main circuit current is less than or equal to the first preset current, and lasts for T1;
[0081] Or, the current is less than or equal to the first preset current and satisfies the cumulative time T2;
[0082] Or, if the highest cell voltage in the battery PACK is greater than or equal to the second preset voltage, and the main circuit current is less than or equal to the second preset current, and the duration is T3, then it is considered that the battery is currently in a fully charged state, and the SOC value at this time is set to 100%;
[0083] Based on the battery open circuit voltage, the displayed SOC value is calibrated by looking up the table.
[0084] Specifically, full charge calibration and OCV calibration are generally used to achieve accurate SOC correction. Considering the use scenario of 12V lithium battery, it is in floating charge state for a long time when the whole vehicle is running. And as the capacity of the battery cell decays after long-term use, taking lithium iron phosphate as an example, the full charge strategy is formulated as follows:
[0085] When any of the following conditions are met, the battery is considered fully charged and the SOC is set to 100%:
[0086] 1. (maximum single cell voltage Umax ≥ V1 & main circuit current ≤ I1) for T1 (non-continuous, using cumulative time).
[0087] 2. If the current is less than or equal to I1, it is accumulated once, and the accumulated time is calculated based on the message cycle. If the accumulated time T2 is met, it is considered fully charged. During the accumulated time counting process, if the highest voltage is less than V1, the accumulated time count is reset.
[0088] 3. (maximum single cell voltage Umax ≥ V2 & main circuit current LVBattI_LFP ≤ I2) lasts for T3 (non-continuously, using cumulative time, logic is the same as above).
[0089] OCV calibration is mainly performed by calibration at power-on and calibration based on table lookup after a certain period of static standing. During a certain period of power-on, due to voltage instability, SOC is calibrated by OCV after a certain period of time. It should be noted that when integrating ampere-hours, the power consumption of the low-voltage BMS itself also uses the power of the 12V lithium battery, so it is necessary to compensate for this part of the loss (the power consumption of the low-voltage BMS itself).
[0090] It is understandable that the battery has corresponding calibration strategies in different usage intervals (0-100) to ensure accurate SOC values. That is, according to different scenarios, corresponding calibration strategies are used to perform SOC calibration.
[0091] In one embodiment, after the calibration is completed, an intelligent charging and locking function is formulated. Specifically, the key functions of the 12V lithium battery include the need to calculate and send the SOC value to represent its own available power. The functions that are closely related to SOC are mainly the intelligent charging and locking functions, and there are also high requirements for the accuracy of SOC. When the whole vehicle is dormant, because other controllers on the vehicle powered by 12V lithium batteries have dark currents, and the 12V lithium battery itself has a certain self-discharge. Therefore, when the vehicle is not started for a long time, the 12V lithium battery has a feeding risk as its own capacity decreases. In order to avoid this situation, an intelligent charging strategy is formulated at the vehicle level. When the whole vehicle is dormant, the low-voltage BMS of the 12V lithium battery collects the current passing through the main circuit during dormancy through the coulomb meter of the AFE, and the coulomb integral accumulates the capacity to calculate the change in SOC during dormancy. When the low-voltage BMS detects that the SOC has dropped to a certain level during the timed wake-up (considering the usage range of the 12V lithium battery, it is generally set at a slightly higher power level), it wakes up the high voltage on the vehicle through network management, and the DCDC works and outputs to charge the 12V lithium battery. This prevents the 12V lithium battery from feeding. The strategy example is as follows:
[0092] 1. If the SOC wake-up enable signal SOCWakeupEna_LFP=1 is received from the VCU, LVBattSOCWakeUpSts_LFP sends 1, indicating that the LBM low SOC intelligent power replenishment is enabled.
[0093] 2. When the LBM SOC wake-up enable signal LVBattSOCWakeUpSts_LFP=1&
[0094] If SOC≤SOCWake_Treshold_LFP sent by VCU, LVBattSOCWakeUpReq_LFP sends 1.
[0095] 3. After LVBattSOCWakeUpReq_LFP sends 1, if the display SOC ≥ 100 || intelligent charging time T ≥ 2h || LBM SOC wake-up enable signal LVBattSOCWakeUpSts_LFP = 0 || (received DCDC status signal DCDCStatus ≠ working status lasts for 10s), then LVBattSOCWakeUpReq_LFP sends 0.
[0096] In the above strategy, in addition to DCDC, VCU also participates in the intelligent charging process, and due to the control position of VCU in the vehicle, the intelligent charging process requires the VCU to enable. However, the low-voltage BMS is awakened regularly during the sleep process to detect the SOC to initiate the intelligent charging process, so the VCU instructions need to be stored in advance.
[0097] Considering that the vehicle may not be able to respond to the intelligent charging request smoothly under various working conditions, and the frequent initiation of intelligent charging requests when the 12V lithium battery is already low will increase the power loss and lead to faster power feeding, the intelligent charging failure alarm strategy is formulated:
[0098] 1. LBM sends an intelligent charging request LVBattSOCWakeUpReq_LFP=1. After T1, if no signal DCDC_Status=working status is received for T2, the number of charging request failures is recorded as 1, and the count is accumulated.
[0099] 2. Stop sending charging requests during this vehicle ignition cycle (if the intelligent charging conditions are met after power off, charging requests can be sent again). When the number of charging request failures = 3, set the charging failure alarm. At this time, it is not allowed to send intelligent charging requests (if the intelligent charging conditions are met after power off, charging requests will no longer be sent)
[0100] 3. When DCDC_Status = working status is received, the number of charging request failures is reset to zero and the charging failure alarm is cleared.
[0101] The formulation of the lock power strategy is mainly due to the influence of the vehicle architecture. At present, some new energy vehicle models have cancelled the pre-charging circuit of the power battery. Instead, when the vehicle is at high voltage, the 12V lithium battery releases a large amount of battery through the boost module in a very short time to charge the X capacitor of the MCU, so as to achieve the purpose of connecting the power battery output to the MCU. Here, the 12V lithium battery also plays the role of starting, and due to the low-temperature discharge attenuation characteristics of the V12 battery, it is necessary to ensure that the power that can support the vehicle to start at low temperatures can be retained before feeding. That is, first clarify the power W required for the vehicle to start in extreme environments, and the trigger threshold power of the lock power is higher than W to a certain extent to ensure the next successful start.
[0102] When locking the power, the SOC and voltage redundancy judgment are considered, and the OCV voltage corresponding to the SOC is used as the reference, and the different voltages under different current conditions are considered for linear interpolation. The example is as follows:
[0103] When (soc≤X%||lowest cell voltage≤low voltage table lookup threshold) & vehicle speed signal VehSpd≤Ykm / h & VehState≠driving lasts for T, the power lock state is triggered and the charging MOS and the discharging MOS are disconnected.
[0104] It should be noted that the vehicle will not enter the lock mode when it is running. The low-voltage BMS needs a certain debounce time when detecting the lock state, otherwise it will be judged to enter the lock state before the voltage samples are collected during the timed wake-up.
[0105] Reference Figure 2 , Figure 2FIG. 1 is a schematic diagram of a SOC calibration device for a low-voltage BMS provided by the present invention, as shown in FIG. Figure 2 As shown, the device comprises:
[0106] The judgment module 201 is used to judge the current application scenario of the battery based on the charge and discharge status and SOC value of the battery.
[0107] Processing module 202: It is used to calibrate the SOC value of the battery in real time according to the current application scenario of the battery and the calibration strategies set in combination with different application scenarios.
[0108] Further, in a possible implementation manner, the judgment module is further configured to judge that the battery is currently in a charging scenario if the current battery current is greater than a first set threshold value and the calculated current SOC value is in a first interval;
[0109] If the current battery current is less than the second set threshold value and the calculated current SOC value is in the second interval, it is determined that the battery is currently in a discharge scenario;
[0110] If the current battery voltage reaches the set threshold and the calculated current SOC value is in the third interval, it is determined that the battery is currently in the charging terminal scenario;
[0111] If the current battery full charge flag is not set, and the calculated current SOC value is in the fourth interval, it is determined that the battery is currently in the charging terminal waiting scene;
[0112] If the current battery full discharge flag is not set and the calculated current SOC value is in the fifth interval, it is determined that the battery is currently in the end-of-discharge waiting scenario.
[0113] Further, in a possible implementation manner, the processing module is further configured to compare the calculated actual SOC value with the displayed SOC value if the battery is currently in a charging scenario;
[0114] When the displayed SOC value is greater than or equal to the actual SOC value, adjusting the growth rate of the displayed SOC value to a first set value;
[0115] When the sum of the displayed SOC value and the second set value is greater than the actual SOC value and greater than the displayed SOC value, the displayed SOC value is set equal to the actual SOC value;
[0116] When the actual SOC value is greater than or equal to the sum of the displayed SOC value and the second set value, the growth rate of the displayed SOC value is adjusted to the second set value.
[0117] Further, in a possible implementation manner, the processing module is further configured to compare the calculated actual SOC value with the displayed SOC value if the battery is currently in a discharge scenario;
[0118] When the actual SOC value is greater than or equal to the displayed SOC value, adjusting the decreasing rate of the displayed SOC value to a first set value;
[0119] When the displayed SOC value is greater than the actual SOC value and greater than the difference between the displayed SOC and the second set value, the displayed SOC value is set equal to the actual SOC value;
[0120] When the difference between the displayed SOC and the second set value is greater than or equal to the actual SOC value, the decreasing rate of the displayed SOC value is adjusted to the second set value.
[0121] Furthermore, in a possible implementation, the processing module is also used to establish a mapping relationship between voltage and battery SOC value if the battery is currently in a charging terminal scenario, and through the mapping relationship, the displayed SOC value follows the change of the highest single cell voltage in the PACK.
[0122] Further, in a possible implementation manner, the processing module is further configured to set the displayed SOC value to 100% if the battery is currently in a charging terminal waiting scenario and when the battery SOC value meets the full charge setting condition;
[0123] If the battery is currently in the end-of-discharge waiting scenario, the displayed SOC value will be set to 0% after the battery SOC value meets the full placement condition.
[0124] Furthermore, in a possible implementation manner, the processing module is further configured to: if the highest cell voltage in the PACK is greater than or equal to the first preset voltage, and the main loop current is less than or equal to the first preset current, and lasts for T1;
[0125] Or, the current is less than or equal to the first preset current and satisfies the cumulative time T2;
[0126] Or, if the highest cell voltage in the battery PACK is greater than or equal to the second preset voltage, and the main circuit current is less than or equal to the second preset current, and the duration is T3, then it is considered that the battery is currently in a fully charged state, and the SOC value at this time is set to 100%;
[0127] Based on the battery open circuit voltage, the displayed SOC value is calibrated by looking up the table.
[0128] Refer to the following Figure 3 The electronic device 300 according to this embodiment of the present invention will be described. Figure 3 The electronic device 300 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0129] like Figure 3As shown, the electronic device 300 is in the form of a general computing device. The components of the electronic device 300 may include but are not limited to: at least one processing unit 310, at least one storage unit 320, and a bus 330 connecting different system components (including the storage unit 320 and the processing unit 310).
[0130] The storage unit stores program codes, which can be executed by the processing unit 310, so that the processing unit 310 executes the steps according to various exemplary embodiments of the present invention described in the above “Embodiment Method” section of this specification.
[0131] The storage unit 320 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 321 and / or a cache memory unit 322 , and may further include a read-only memory unit (ROM) 323 .
[0132] The storage unit 320 may also include a program / utility 324 having a set (at least one) of program modules 325, such program modules 325 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0133] Bus 330 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0134] The electronic device 300 may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 300, and / or communicate with any device that enables the electronic device 300 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 350. Furthermore, the electronic device 300 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 360. As shown, the network adapter 360 communicates with other modules of the electronic device 300 via a bus 330. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0135] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0136] According to the solution of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present invention described in the above "Exemplary Method" section of the present specification.
[0137] refer to Figure 4 As shown, a program product 400 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0138] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0139] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0140] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0141] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0142] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0143] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
[0144] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
Claims
1. A SOC calibration method for a low-voltage BMS, characterized in that: include: Based on the battery's charge and discharge status and SOC value, determine the battery's current application scenario; According to the current application scenario of the battery, and in combination with the calibration strategies set for different application scenarios, the SOC value of the battery is calibrated in real time.
2. The method according to claim 1, characterized in that The method of determining the current application scenario of the battery based on the charge and discharge state and SOC value of the battery includes: If the current battery current is greater than the first set threshold value and the calculated current SOC value is in the first interval, it is determined that the battery is currently in a charging scenario; If the current battery current is less than the second set threshold value and the calculated current SOC value is in the second interval, it is determined that the battery is currently in a discharge scenario; If the current battery voltage reaches the set threshold and the calculated current SOC value is in the third interval, it is determined that the battery is currently in the charging terminal scenario; If the current battery full charge flag is not set, and the calculated current SOC value is in the fourth interval, it is determined that the battery is currently in the charging terminal waiting scene; If the current battery full discharge flag is not set and the calculated current SOC value is in the fifth interval, it is determined that the battery is currently in the end-of-discharge waiting scenario.
3. The method according to claim 1, characterized in that: The method of calibrating the SOC value of the battery in real time according to the current application scenario of the battery and combining the calibration strategies set in different scenarios includes: If the battery is currently in a charging scenario, the calculated actual SOC value is compared with the displayed SOC value; When the displayed SOC value is greater than or equal to the actual SOC value, adjusting the growth rate of the displayed SOC value to a first set value; When the sum of the displayed SOC value and the second set value is greater than the actual SOC value and greater than the displayed SOC value, the displayed SOC value is set equal to the actual SOC value; When the actual SOC value is greater than or equal to the sum of the displayed SOC value and the second set value, the growth rate of the displayed SOC value is adjusted to the second set value.
4. The method according to claim 1, characterized in that: The method of calibrating the SOC value of the battery in real time according to the current application scenario of the battery and combining the calibration strategies set in different scenarios includes: If the battery is currently in a discharge scenario, compare the calculated actual SOC value with the displayed SOC value; When the actual SOC value is greater than or equal to the displayed SOC value, adjusting the decreasing rate of the displayed SOC value to a first set value; When the displayed SOC value is greater than the actual SOC value and greater than the difference between the displayed SOC and the second set value, the displayed SOC value is set equal to the actual SOC value; When the difference between the displayed SOC and the second set value is greater than or equal to the actual SOC value, the decreasing rate of the displayed SOC value is adjusted to the second set value.
5. The method according to claim 1, characterized in that The method of calibrating the SOC value of the battery in real time according to the current application scenario of the battery and combining the calibration strategies set in different scenarios includes: If the battery is currently in a charging terminal scenario, a mapping relationship between voltage and battery SOC value is established, and through the mapping relationship, the displayed SOC value follows the change of the highest single cell voltage in the PACK.
6. The method according to claim 1, characterized in that The method of calibrating the SOC value of the battery in real time according to the current application scenario of the battery and combining the calibration strategies set in different scenarios includes: If the battery is currently in the charging terminal waiting scene, and when the battery SOC value meets the full charge setting condition, the displayed SOC value will be set to 100%; If the battery is currently in the end-of-discharge waiting scenario, the displayed SOC value will be set to 0% after the battery SOC value meets the full placement condition.
7. The method according to claim 1, characterized in that Also includes: If the highest cell voltage in the PACK is greater than or equal to the first preset voltage, and the main circuit current is less than or equal to the first preset current, and lasts for T1; Or, the current is less than or equal to the first preset current and satisfies the cumulative time T2; Or, if the highest cell voltage in the battery PACK is greater than or equal to the second preset voltage, and the main circuit current is less than or equal to the second preset current, and the duration is T3, then it is considered that the battery is currently in a fully charged state, and the SOC value at this time is set to 100%; Based on the battery open circuit voltage, the displayed SOC value is calibrated by looking up the table.
8. A SOC calibration device for a low-voltage BMS, characterized in that: include: A judgment module, which is used to judge the current application scenario of the battery based on the charge and discharge status and SOC value of the battery; The processing module is used to calibrate the SOC value of the battery in real time according to the current application scenario of the battery and the calibration strategies set in combination with different application scenarios.
9. An electronic device, characterized in that: The electronic device comprises: processor; A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executed by the processor, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer program instructions are stored therein, and when the computer program instructions are executed by a computer, the computer is caused to execute the method according to any one of claims 1 to 7.