Methods, apparatus and electronic equipment for correcting the state of charge of battery packs
By acquiring the battery pack's operating status and battery module voltage values, and using a preset correspondence to calculate the correction amount, a smooth correction of the battery pack's state of charge is achieved. This solves the problem of sudden changes in SOC caused by unidirectional fixed-value correction and improves the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-23
- Publication Date
- 2026-03-10
AI Technical Summary
In existing battery pack state of charge correction methods, unidirectional fixed-value correction causes sudden changes in the displayed SOC, affecting the user experience.
By periodically acquiring the battery pack's operating status and battery module voltage values, the target voltage value is determined. A reference SOC is calculated using a preset correspondence, and a correction amount is calculated based on the reference SOC and the SOC to be displayed, thus achieving multiple smooth corrections of the SOC.
This avoids sudden changes in SOC display and improves the user experience.
Smart Images

Figure CN115421047B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of battery management technology, and in particular to a method, apparatus and electronic device for correcting the state of charge of a battery pack. Background Technology
[0002] State of Charge (SOC) is generally defined as the percentage of remaining battery capacity relative to a full charge. Related battery pack SOC correction schemes focus entirely on unidirectional corrections performed when the battery is almost fully charged and almost completely discharged; that is, only positive corrections are made during charging, and only negative corrections are made during discharging. When the correction takes effect, such as at the end of charging, the SOC may be continuously adjusted to 99%, resulting in the battery pack displaying 99% remaining capacity for an exceptionally long time. Similarly, at the end of discharging, the SOC may be directly corrected from 20% to 1%. Thus, during the SOC correction process at the end of charging and discharging, because only unidirectional corrections are performed, and the target value is a fixed set value, such as 99% or 1%, the displayed SOC is prone to sudden changes, thus affecting the user experience. Summary of the Invention
[0003] To address the aforementioned technical problems, embodiments of this application provide a method and apparatus for correcting the state of charge of a battery pack, an electronic device, a computer-readable storage medium, and a computer program product.
[0004] According to one aspect of the embodiments of this application, a method for correcting the state of charge (SOC) of a battery pack is provided, comprising: periodically acquiring the operating state of the battery pack; acquiring the voltage value of each battery module in the battery pack; determining a target voltage value from the voltage values of each battery module based on the operating state; determining a reference SOC corresponding to the target voltage value according to the target voltage value and a preset correspondence; acquiring the current SOC to be displayed; calculating a first correction amount based on the reference SOC and the SOC to be displayed; and correcting the SOC to be displayed according to the first correction amount to obtain the target SOC.
[0005] According to one aspect of the embodiments of this application, a battery pack state-of-charge correction device includes: a sampling unit, configured to periodically acquire the operating state of the battery pack and acquire the voltage value of each battery module in the battery pack; a determining unit, configured to determine a target voltage value from the voltage values of each battery module based on the operating state; and further configured to determine a reference SOC corresponding to the target voltage value according to the target voltage value and a preset correspondence; a processing unit, configured to acquire the current SOC to be displayed and calculate a first correction amount based on the reference SOC and the SOC to be displayed; and a correction unit, configured to correct the SOC to be displayed according to the first correction amount to obtain the target SOC.
[0006] According to one aspect of the present application, an electronic device includes: a battery pack, a processor, and a memory; wherein the memory is used to store one or more computer programs, and the processor is used to cause the electronic device to implement the battery pack state-of-charge correction method as described above when executing the one or more computer programs.
[0007] According to one aspect of the embodiments of this application, a computer-readable storage medium is provided having computer-readable instructions stored thereon, which, when executed by a computer's processor, cause the computer to perform the battery pack state-of-charge correction method as described above.
[0008] According to one aspect of the embodiments of this application, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the battery pack state-of-charge correction method provided in the various alternative embodiments described above.
[0009] In the technical solution provided in the embodiments of this application, the target voltage value is determined from the voltage values of each battery module based on the working state of the battery pack. According to the target voltage value and the preset correspondence, the corresponding reference SOC is determined. Then, based on the reference SOC and the obtained current SOC to be displayed, the first correction amount is calculated to correct the SOC to be displayed.
[0010] The method described above, which determines the reference SOC based on the target voltage value and the preset correspondence, and corrects the display SOC according to the reference SOC, can correct the current display SOC multiple times as the target voltage value changes, ensuring the smoothness of the SOC correction curve. This can, to a certain extent, avoid sudden changes in the display SOC caused by directional fixed-value correction, which is beneficial to improving the user experience.
[0011] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0012] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:
[0013] Figure 1 This is a schematic diagram of one implementation environment involved in this application;
[0014] Figure 2 This is a flowchart illustrating a method for correcting the state of charge of a battery pack, as shown in an exemplary embodiment of this application.
[0015] Figure 3 This is a flowchart of the steps for determining the reference SOC corresponding to the target voltage value during charging, in an exemplary embodiment.
[0016] Figure 4 This is a flowchart of the steps for correcting the state of charge of a battery pack in an exemplary embodiment;
[0017] Figure 5 This is a flowchart of the steps for determining the reference SOC corresponding to the target voltage value under discharge conditions in an exemplary embodiment;
[0018] Figure 6 This is a flowchart of the steps for correcting the state of charge of a battery pack under discharge conditions in an exemplary embodiment;
[0019] Figure 7 This is a block diagram illustrating a state-of-charge correction device for a battery pack, as shown in an exemplary embodiment of this application.
[0020] Figure 8 This is a schematic diagram of the structure of a computer system suitable for implementing the electronic devices of the present application embodiments. Detailed Implementation
[0021] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0022] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0023] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0024] In this application, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0025] In related technologies, the State of Charge (SOC) of a battery pack is generally defined as the percentage of remaining charge relative to a fully charged state. In practical use, the battery pack can display its SOC to the user so that estimating its SOC can improve battery pack utilization and ensure the operational reliability of devices using the battery pack. Therefore, it is often necessary to correct the SOC based on the actual voltage and current of the battery pack.
[0026] In relevant SOC correction schemes, correction is a unidirectional, fixed-value correction. For example, in the correction at the end of charging, if the correction target is set to 99%, the SOC will be directly corrected to 99%. This causes the SOC to rise very quickly at the end of the charge / discharge cycle. Furthermore, if the correction time is long, the battery will remain at 99% for an extended period; if the correction time is short, the battery may display as fully charged before the actual remaining capacity reaches 99%. Thus, during the SOC correction process at the end of the battery pack's charge / discharge cycle, because it is only a unidirectional correction with a fixed target value (e.g., 99% or 1%), both excessively long and short correction times will cause abrupt changes in the displayed SOC, resulting in jumps in the correction curve and negatively impacting the user experience.
[0027] To address the above-mentioned problems, embodiments of this application propose a method and apparatus for correcting the state of charge of a battery pack, an electronic device, and a computer-readable storage medium. These embodiments will be described in detail below.
[0028] Please refer to the following first. Figure 1 , Figure 1 This is a schematic diagram of an implementation environment related to this application. The implementation environment is exemplified by energy storage device 10. Figure 1 In this device, the energy storage device 10 includes a battery management system 11 and a battery pack 12. The battery management system 11 (BMS) is used to control the charging and discharging of the battery pack 12. The battery pack 12 includes multiple battery modules 121 connected in parallel, and each battery module 121 includes at least one battery cell.
[0029] exist Figure 1 In the example shown, the battery management system 11 in the energy storage device 10 is also used to correct the state of charge (SOC) of the battery pack 12 of the energy storage device 10. First, the operating state of the battery pack is obtained, along with the voltage values of each battery module within the battery pack. Then, based on the operating state, a target voltage value is determined from the voltage values of each battery module. According to the target voltage value and a preset correspondence, a reference SOC corresponding to the target voltage value is determined. The current SOC to be displayed is obtained, and a first correction amount is calculated based on the reference SOC and the SOC to be displayed. Finally, the SOC to be displayed is corrected according to the first correction amount to obtain the target SOC. Compared to existing battery pack SOC correction schemes, the battery pack SOC correction method provided in this embodiment can smoothly correct the SOC to be displayed, avoiding the situation where a sudden change in the SOC to be displayed due to directional fixed-value correction affects the user experience.
[0030] Figure 2 This is a flowchart illustrating a method for correcting the state of charge of a battery pack, as shown in an exemplary embodiment of this application. This method can be applied to... Figure 1 The implementation environment shown, and by Figure 1 The battery management system 11 in the illustrated embodiment is specifically implemented. However, in other implementation environments, this method can be executed by devices in those environments, and this embodiment does not impose any limitations on this.
[0031] like Figure 2 As shown, in an exemplary embodiment, the state of charge correction method for the battery pack may include steps S201 to S205, which are described in detail below:
[0032] Step S201: Periodically acquire the operating status of the battery pack and acquire the voltage value of each battery module in the battery pack.
[0033] In step S201, the operating state of the battery pack may include one or more of the following states: battery pack discharge state, charging state, and standby state.
[0034] In all embodiments of this application, periodically acquiring the operating state of the battery pack and the voltage values of each battery module in the battery pack means that the acquisition of the operating state of the battery pack and the voltage values of each battery module in the battery pack has a certain periodicity. In specific implementation, the acquisition period can be a preset correction period.
[0035] For example, if the SCO correction cycle of the battery pack is preset, the operating status of the battery pack and the voltage values of each battery module in the battery pack are obtained periodically according to the preset SCO correction cycle of the battery pack.
[0036] The method for obtaining the battery pack's operating status can be configured according to actual needs. For example, the operating status of the battery pack can be determined by checking the on / off state of the charging and discharging switches, and / or by detecting the charging and discharging electrical signals of the battery pack. In a specific implementation, the BMS can use a front-end analog chip to control the on / off state of the charging and discharging switches of the battery pack, and to collect parameters from the battery modules, thereby obtaining the operating status of the battery pack and the voltage values of each battery module within it.
[0037] In this embodiment, the battery pack may include multiple battery modules connected in parallel, and each battery module includes at least one battery cell. The voltage values of each battery module in the battery pack are obtained, specifically, the cell voltage of each battery cell within the battery module is obtained. When implementing the state-of-charge correction method provided in this application, the operating state of the battery pack is acquired and determined, and the voltage values of each battery module in the battery pack are acquired and updated in real time. This process collects basic information about the battery pack and its individual battery modules, which is then applied to the state-of-charge correction method provided in this application to correct the state of charge of the battery pack.
[0038] Step S202: Determine the target voltage value from the voltage values of each battery module based on the operating status.
[0039] In this embodiment, the method for determining the target voltage value may be related to the operating state of the battery pack. That is, the method for determining the target voltage value will differ depending on the operating state of the battery pack. Based on the operating state of the battery pack, the target voltage value can be determined from the voltage values of all battery modules in the battery pack according to the target voltage value determination method corresponding to that operating state.
[0040] For example, in a specific implementation, a corresponding target voltage value determination strategy can be set according to the type of working state of the battery pack, and then the strategy can be configured in the BMS so that after the BMS learns the working state of the battery pack, it can determine the target voltage value from the voltage values of each battery module according to the determination strategy corresponding to the working state.
[0041] Step S203: Determine the reference SOC corresponding to the target voltage value based on the target voltage value and the preset correspondence.
[0042] In this embodiment, the preset correspondence is used to characterize the one-to-one correspondence between the target voltage value and the reference SOC. Furthermore, the preset correspondence can also be related to the operating state of the battery pack, with different preset correspondences for different operating states. That is, after obtaining the operating state of the battery pack and determining the corresponding target voltage value, the corresponding reference SOC can be determined from the preset correspondence based on the target voltage value, according to the preset correspondence that matches the operating state.
[0043] It should be noted that in practical applications, SOC is the percentage of remaining battery capacity relative to a full charge. Furthermore, in any electronic device, the displayed SOC is estimated using a specific calculation method. Therefore, the displayed SOC does not represent the actual remaining battery capacity. Also, regardless of the battery pack's operating state, the voltage value of each battery module is positively correlated with the actual SOC of the battery pack (which can be understood as the aforementioned reference SOC). Therefore, this embodiment, by establishing a correspondence between the target voltage value and the reference SOC, provides a basis for clarifying the difference between the displayed SOC and the reference SOC, and for adapting appropriate correction strategies based on this difference.
[0044] Step S204: Obtain the current SOC to be displayed, and calculate the first correction amount based on the reference SOC and the SOC to be displayed.
[0045] The first correction amount can be either a positive or a negative correction amount. A positive correction amount represents an increase in the correction operation, while a negative correction amount represents a decrease in the correction operation. The sign of the first correction amount is obtained by comparing the reference SOC and the SOC to be displayed; that is, the first correction amount and the corresponding correction direction can be determined based on the reference SOC and the SOC to be displayed.
[0046] It should also be noted that in this embodiment, the current SOC to be displayed can be obtained by calculating it using the current capacity information of the battery pack. The method for calculating the SOC to be displayed can differ depending on the battery pack's operating state. Specifically, the current SOC to be displayed is related to the current displayed remaining capacity of the battery pack. If the battery pack is discharging, the displayed remaining capacity needs to consider the integration rate; the larger the discharge current, the higher the integration rate. Furthermore, there is a negative correlation between the displayed remaining capacity and the discharge rate; that is, the higher the discharge rate, the smaller the displayed remaining capacity. However, if the battery pack is charging, during the charging process, the current displayed remaining capacity can be directly obtained based on the displayed remaining capacity before charging and the charged capacity (e.g., calculated using the ampere-hour integration method).
[0047] Step S205: Correct the displayed SOC according to the first correction amount to obtain the target SOC.
[0048] In step S205, the target SOC is the final SOC used for display. Based on the first correction value calculated in step S204, which can be a positive or negative correction value, an increase correction operation or a decrease correction operation is performed to adjust the value of the SOC to be displayed, thereby finally obtaining the target SOC and displaying it.
[0049] As can be seen from the above, in the method provided in this embodiment, the basic information of the battery pack and its individual battery modules is obtained by acquiring the working state of the battery pack and the voltage values of each battery module in the battery pack. Then, based on the determined working state, the corresponding target voltage value is determined from the voltage values of each battery module. Next, a reference SOC corresponding to the target voltage value is determined according to the target voltage value and a preset correspondence that matches the working state. Finally, the current SOC to be displayed is obtained, a first correction amount is calculated based on the reference SOC and the SOC to be displayed, and the SOC to be displayed is corrected according to the first correction amount to obtain the target SOC. In this way, the reference SOC that affects the first correction amount is determined based on the preset correspondence, which can flexibly and smoothly correct the current SOC to be displayed, rather than simply correcting the state of charge in an inherent mode. Therefore, after multiple corrections to the SOC to be displayed based on the preset correspondence, the smoothness of the SOC correction curve can be guaranteed, thereby avoiding the situation where the SOC to be displayed changes abruptly due to the directional fixed-value correction of the SOC, thus affecting the user experience.
[0050] When the battery pack's operating status is detected as charging, such as Figure 3 As shown, the highest voltage value among the voltage values of each battery module is determined as the target voltage value. Figure 3 It is in charging state Figure 2The flowchart illustrates steps S202 to S203 in an exemplary embodiment. (See attached flowchart.) Figure 3 As shown, it may specifically include steps S301 to S302, through which a reference SOC in the charging state is determined, as detailed below:
[0051] Step S301: When the working state is charging state, the maximum voltage value among the voltage values of each battery module is determined as the target voltage value.
[0052] Assuming the battery pack is not faulty, if the battery pack is in a charging state, then when the voltage value of at least one battery module in the battery pack reaches a certain set level, it indicates that the battery pack has entered the end-of-life correction stage. Therefore, in this embodiment, when the battery pack is in a charging state, the maximum voltage value among the voltage values of each battery module can be determined as the target voltage value.
[0053] Step S302: When the target voltage value meets the preset correction conditions, determine the reference SOC corresponding to the target voltage value according to the target voltage value and the preset correspondence.
[0054] When the working state is charging state, the preset correction condition can be that the target voltage value is greater than or equal to the preset first correction voltage threshold.
[0055] When it is determined that the battery pack is in a charging state, the maximum value among the battery values of each battery module can be determined as the target voltage value; if the target voltage value is greater than or equal to the first correction voltage threshold, it is determined that the battery pack meets the above-mentioned preset correction conditions, and the battery pack enters the end correction stage.
[0056] After determining that the battery pack has entered the end-of-life correction phase, state of charge (SOC) correction can be performed to obtain a pre-configured first correspondence matching the charging state. This first correspondence characterizes the mapping between the target voltage value and the reference SOC under charging conditions. Based on the target voltage value, the reference SOC corresponding to the target voltage value can be determined from the first correspondence. For example, in a specific application of the SOC correction method provided in this application, the first correction voltage threshold is 3.45V, and the corresponding full-charge threshold is 3.65V. Different voltages between 3.45V and 3.65V correspond to different reference SOCs. For instance, 3.45V corresponds to a reference SOC of 80%, 3.55V corresponds to a reference SOC of 90%, and so on.
[0057] This embodiment determines the reference SOC that can affect the first correction amount by using the target voltage value and the preset correspondence with the operating state, thereby realizing flexible correction of the state of charge.
[0058] Please see Figure 4 , Figure 4 It is in charging state Figure 2 The flowchart of steps S204 to S205 in the illustrated embodiment is shown in an exemplary embodiment. Figure 4 As shown, it may include steps S401 to S404, through which the state of charge of the battery pack at the charging end is corrected, as detailed below:
[0059] Step S401: Obtain the current first remaining capacity and full charge capacity, calculate the ratio of the first remaining capacity to the full charge capacity, and obtain the SOC to be displayed.
[0060] The first remaining capacity represents the current remaining display capacity. After obtaining the current first remaining capacity and full charge capacity, the current display SOC is obtained according to the pre-configured display SOC calculation formula (i.e., display SOC = first remaining capacity / full charge capacity * 100%).
[0061] In another exemplary embodiment of this application, after obtaining the current first remaining capacity, the method may further include a step of correcting the first remaining capacity based on the current capacity information of the battery pack.
[0062] Specifically, the first step is to obtain the current actual remaining capacity and calculate the difference between the actual remaining capacity and the first remaining capacity. Before entering the end-of-pipe correction stage, there may be an inaccurate difference between the actual remaining capacity and the first remaining capacity, which represents the displayed remaining capacity. However, if the difference exceeds a preset difference threshold, it indicates that there may be a problem with the displayed SOC. Therefore, in this embodiment, before calculating the SOC to be displayed, it is necessary to monitor the difference between the current actual remaining capacity and the first remaining capacity.
[0063] After obtaining the difference between the actual remaining capacity and the first remaining capacity, the following steps are performed: determine the second correction amount based on the difference, and correct the first remaining capacity based on the second correction amount to obtain the corrected first remaining capacity.
[0064] The second correction amount can be determined based on the difference between the actual remaining capacity and the first remaining capacity, and the sign of the second correction amount indicates the correction direction. If the difference between the actual remaining capacity and the first remaining capacity reaches a preset difference threshold, and the real-time actual remaining capacity is greater than the first remaining capacity, then the first remaining capacity is increased based on the second correction amount; if the difference reaches the preset difference threshold, and the real-time actual remaining capacity is less than the first remaining capacity, then the first remaining capacity is decreased based on the second correction amount. Thus, after entering the end-point correction stage, the ratio of the corrected first remaining capacity to the full charge capacity is calculated, thereby obtaining a more accurate SOC to be displayed.
[0065] It should be noted that in the embodiments provided in this application, there is no absolute order between the steps of obtaining the SOC to be displayed and the reference SOC. The SOC to be displayed can be obtained first, or the reference SOC can be obtained first, or both can be obtained simultaneously; no limitation is made here. Accordingly, Figure 3 The preset correction conditions that the battery pack in the illustrated embodiment needs to meet, in addition to the target voltage value reaching the first correction voltage threshold, can also be the first remaining capacity reaching the first capacity correction threshold during the charging process, etc., as long as the charging period enters the end of the charging phase. The specific content of the above preset correction conditions is not limited in the embodiments of this application.
[0066] Step S402: Calculate the first correction amount based on the reference SOC and the SOC to be displayed.
[0067] A first correction amount is calculated based on a reference SOC and the SOC to be displayed. The first correction amount includes a first correction amount for adjusting the full charge capacity, and the sign of the first correction amount indicates the correction direction. The value of the first correction amount can be configured according to actual needs, and the sign of the first correction amount can be obtained based on the magnitude relationship between the reference SOC and the SOC to be displayed.
[0068] Specifically, if the working state is charging and the SOC to be displayed is greater than the reference SOC, the correction direction can be determined as positive correction, which means increasing the full charge capacity; if the SOC to be displayed is less than the reference SOC, the correction direction can be determined as negative correction, which means decreasing the full charge capacity.
[0069] Step S403: Correct the full charge capacity according to the first correction amount to obtain the corrected full charge capacity.
[0070] Assuming the battery pack is in a charging state, after determining the first correction amount, the first correction amount and correction direction for adjusting the full charge capacity are determined based on the first correction amount, and the full charge capacity is corrected to obtain the corrected full charge capacity.
[0071] Specifically, if the determined correction direction is positive, it means that the SOC to be displayed is higher than the expected reference SOC. Therefore, the full charge capacity is increased based on the first correction amount to reduce the correction of the SOC to be displayed and increase the growth rate of the SOC to be displayed. If the determined correction direction is negative, it means that the SOC to be displayed is lower than the expected reference SOC. Therefore, the full charge capacity is decreased based on the first correction amount to increase the correction of the SOC to be displayed.
[0072] Step S404: Calculate the ratio of the first remaining capacity to the corrected full charge capacity to obtain the target SOC.
[0073] The formula for calculating the SOC to be displayed allows us to calculate the ratio of the first remaining capacity to the corrected full charge capacity, resulting in a new SOC to be displayed (i.e., the target SOC). Specifically, after increasing the full charge capacity based on the first correction amount, the corrected full charge capacity, when used in the calculation formula, causes the SOC to be displayed to decrease accordingly; this decreased SOC is then used as the target SOC. Conversely, after decreasing the full charge capacity based on the first correction amount, the corrected full charge capacity, when used in the calculation formula, causes the SOC to be displayed to increase accordingly; this increased SOC is then used as the target SOC.
[0074] In addition, in an exemplary embodiment of this application, the step S404 may be followed by the step of: if the target voltage value is greater than or equal to a preset overvoltage value, then the target SOC is determined to be 100%.
[0075] Therefore, during the battery pack's state of charge (SOC) correction process, it is necessary to monitor the cell voltage in real time. This allows for timely control of the battery pack when charging is detected based on the voltage value, preventing battery damage. It's also worth noting that the correction process to obtain the target SOC before the target voltage value is detected to be greater than or equal to a preset overvoltage value is a continuously repeating process (which can be understood as a periodic repetition).
[0076] When the target voltage value reaches the preset overvoltage value, the current actual remaining capacity can be obtained as the current full charge capacity and the remaining capacity value can be displayed. The target SOC is then modified to 100%, indicating that the battery pack charging is complete.
[0077] As can be seen from the above, in the method provided in this embodiment, the first correction amount is calculated by referring to the SOC and the SOC to be displayed, the correction amount and correction direction of the full charge capacity under the charging state are determined, and combined with the preset SOC calculation formula of the ratio of the first remaining capacity to the full charge capacity, the SOC to be displayed is flexibly corrected, so that the smoothness of the SOC correction curve avoids the jump of SOC, thereby improving the user experience.
[0078] When the battery pack's operating state is detected as being in a discharging state, such as Figure 5 As shown, the minimum voltage value among the voltage values of each battery module is determined as the target voltage value. Figure 5 It is in the discharge state Figure 2 The flowchart illustrates steps S202 to S203 in an exemplary embodiment. (See attached flowchart.) Figure 5 As shown, it may specifically include steps S501 to S502, through which a reference SOC under the discharge state is determined, as detailed below:
[0079] Step S501: When the working state is the discharge state, the minimum voltage value among the voltage values of each battery module is determined as the target voltage value.
[0080] Assuming the battery pack is not faulty, if the battery pack is in a discharging state, then when the voltage value of at least one battery module in the battery pack is lower than a set voltage value, it indicates that the discharge has entered the end-of-discharge correction stage. Therefore, in this embodiment, when the operating state is discharging, the minimum voltage value among the voltage values of each battery module can be determined as the target voltage value.
[0081] Step S502: When the target voltage value meets the preset correction conditions, determine the reference SOC corresponding to the target voltage value according to the target voltage value and the preset correspondence.
[0082] When the battery pack is in the discharge state, the preset correction condition can be that the target voltage value is less than or equal to a preset second correction voltage threshold. If the target voltage value is less than or equal to the second correction voltage threshold, the battery pack is determined to meet the above preset correction condition, and the battery pack enters the end correction stage.
[0083] After determining that the battery pack has entered the end-of-life correction phase, state-of-charge (SOC) correction can be performed to obtain a pre-configured second correspondence matching the discharge state. This second correspondence characterizes the mapping between the target voltage value and the reference SOC under the discharge state. Based on the target voltage value, the reference SOC corresponding to the target voltage value can be determined from the second correspondence. For example, if the second correction voltage threshold is 3V (for a single cell) and the cell undervoltage is 2V, then different reference SOCs corresponding to different voltages are configured between 2V and 3V. For instance, the reference SOC corresponding to 3V is 4%, and the reference SOC corresponding to 2.5V is 2%.
[0084] It should be noted that the State of Charge (SOC) can be calculated using the ampere-hour integration method throughout the entire discharge process. Unlike the charging process, the integration rate needs to be considered during discharge. In practical applications, the integration rate can be calculated based on the magnitude of the discharge current. The larger the discharge current, the higher the integration rate, and vice versa.
[0085] As an example, the integration factor k is specifically calculated as k = a1 * amp + b1, where amp represents the discharge current, and a1 and b1 represent the first set of pre-set integration factor coefficients. By fitting the integration factor to a linear function of the discharge current, and substituting the measured relationship under full load and light load conditions into this function, the values of coefficients a1 and b1 in the above formula can be obtained. During the actual discharge process, the magnitude of k can be dynamically determined using the current magnitude.
[0086] Correspondingly, the second correspondence for discharge state matching is different from the pre-configured first correspondence.
[0087] Furthermore, since different discharge currents correspond to different discharge capacities, a larger discharge current results in a larger integration factor and a smaller discharge capacity; conversely, a smaller discharge current results in a smaller integration factor and a larger discharge capacity. Therefore, a second correspondence between the target voltage value and the reference SOC can be established based on the discharge current / integration factor.
[0088] Specifically, when the operating state is the discharge state, the corresponding second correspondence can be determined according to the discharge current / integral rate, and the reference SOC corresponding to the target voltage value can be determined according to the second correspondence.
[0089] Therefore, through the method of this embodiment, when the operating state is a discharge state, this application determines the minimum voltage value as the target voltage value, and obtains the corresponding reference SOC from the second correspondence based on the target voltage value. Thus, the technical solution of this embodiment of the application determines the reference SOC that can affect the first correction amount through the target voltage value and the preset correspondence with the operating state, thereby achieving flexible correction of the state of charge.
[0090] Please see Figure 6 , Figure 6 It is in the discharge state Figure 2 The flowchart of steps S204 to S205 in the illustrated embodiment is shown in an exemplary embodiment. Figure 6 As shown, it may include steps S601 to S604, through which the state of charge of the battery pack at the end of the discharge is corrected, as detailed below:
[0091] Step S601: Obtain the current first remaining capacity and full charge capacity, calculate the ratio of the first remaining capacity to the full charge capacity, and obtain the SOC to be displayed.
[0092] The first remaining capacity represents the current remaining display capacity. After obtaining the current first remaining capacity and full charge capacity, the current display SOC is obtained according to the pre-configured display SOC calculation formula (i.e., display SOC = first remaining capacity / full charge capacity * 100%).
[0093] Furthermore, the displayed remaining capacity during the discharge process needs to consider the integration rate, unlike during charging where the current displayed remaining capacity is directly obtained from the display module. Specifically, during discharge, the integration rate is first calculated based on the battery's discharge current; the higher the discharge current, the higher the integration rate. Moreover, there is a negative correlation between the displayed remaining capacity of the battery pack and the discharge rate; that is, the higher the discharge rate, the smaller the displayed remaining capacity.
[0094] In another exemplary embodiment of this application, after obtaining the current first remaining capacity, the first remaining capacity can also be corrected based on the current capacity information of the battery pack.
[0095] Specifically, the current actual remaining capacity can be obtained, and the difference between the actual remaining capacity and the first remaining capacity can be calculated. Then, a second correction amount is determined based on the difference, and the first remaining capacity is corrected according to the second correction amount to obtain the corrected first remaining capacity. Before entering the end-point correction stage, an inaccurate difference between the actual remaining capacity and the first remaining capacity (representing the displayed remaining capacity) is permissible. However, if the difference exceeds a preset value, it indicates a problem with the first remaining capacity. Therefore, in this embodiment, before calculating the SOC to be displayed, it is necessary to monitor the difference between the current actual remaining capacity and the first remaining capacity, determine the second correction amount based on the difference, and correct the first remaining capacity according to the second correction amount to obtain the corrected first remaining capacity.
[0096] It should be noted that in the embodiments provided in this application, there is no absolute order between the steps of obtaining the SOC to be displayed and the reference SOC. The SOC to be displayed can be obtained first, or the reference SOC can be obtained first, or both can be obtained simultaneously; no limitation is made here. Accordingly, Figure 5 The preset correction conditions that the battery pack in the illustrated embodiment needs to meet, in addition to the target voltage value reaching the second preset correction threshold, can also be that the first remaining capacity reaches the second capacity correction threshold during the charging process, as long as it can reflect that the discharge period has entered the end of the discharge. The specific content of the above preset correction conditions is not limited in the embodiments of this application.
[0097] Step S602: Calculate the first correction amount based on the reference SOC and the SOC to be displayed.
[0098] The first correction amount is calculated based on the reference SOC and the SOC to be displayed. The first correction amount includes a first correction amount for adjusting the full charge capacity. The sign of the first correction amount indicates the correction direction. The value of the first correction amount can be configured according to actual needs, and the sign of the first correction amount can be obtained according to the size relationship between the reference SOC and the SOC to be displayed.
[0099] Specifically, if the operating state is a discharge state and the SOC to be displayed is greater than the reference SOC, then the correction direction can be determined to be negative, which means reducing the first remaining capacity; if the SOC to be displayed is less than the reference SOC, then the correction direction can be determined to be positive, which means increasing the first remaining capacity.
[0100] Step S603: Correct the first remaining capacity according to the first correction amount to obtain the corrected first remaining capacity.
[0101] Under the premise that the battery pack is in a discharging state, after determining the first correction amount, the first correction amount and correction direction for adjusting the first remaining capacity are determined based on the first correction amount, and then the first remaining capacity is corrected to obtain the corrected first remaining capacity.
[0102] Specifically, if the determined correction direction is negative, it means that the SOC to be displayed during the discharge process is higher than the expected reference SOC. Since discharge is a decreasing process, the first remaining capacity is reduced based on the first correction amount to achieve the effect of reducing the SOC to be displayed. If the determined correction direction is positive, it means that the SOC to be displayed during the discharge process is lower than the expected reference SOC. Therefore, the full charge capacity is increased based on the first correction amount to achieve the effect of increasing the SOC to be displayed.
[0103] Step S604: Calculate the ratio of the corrected first remaining capacity to the full charge capacity to obtain the target SOC.
[0104] The new SOC to be displayed is obtained by using the formula for calculating the SOC to be displayed, and the ratio of the corrected first remaining capacity to the full charge capacity. Specifically, after increasing the first remaining capacity based on the first correction amount, the corrected first remaining capacity, when substituted into the calculation formula, will cause the SOC to be displayed to increase accordingly; that is, the first remaining capacity is proportional to the SOC to be displayed. The increased SOC to be displayed is used as the target SOC. Conversely, after decreasing the first remaining capacity based on the first correction amount, the corrected first remaining capacity, when substituted into the calculation formula, will cause the SOC to be displayed to decrease accordingly. The decreased SOC to be displayed is used as the target SOC.
[0105] In addition, in an exemplary embodiment of this application, after step S604, the following step may be included: if the target voltage value is less than or equal to a preset undervoltage value, then the target SOC is determined to be 0.
[0106] Therefore, during the battery pack's state of charge (SOC) correction process, it is necessary to monitor the cell voltage in real time. This allows for timely control of the battery pack when charging is detected based on the voltage value, preventing battery damage. It's also worth noting that the correction process to obtain the target SOC before the target voltage value is detected to be less than or equal to the preset undervoltage value is a continuously repeating process.
[0107] When the target voltage value is less than or equal to the battery's undervoltage value, the currently displayed remaining capacity value is set to 0 so that the target SOC is displayed as 0, indicating that the battery discharge is complete.
[0108] In some embodiments, if the current discharge state is light-load discharge (e.g., the discharge current is less than a preset current threshold) and the target voltage value is less than or equal to the undervoltage value, it can be considered that the power in the battery module has been completely depleted, and the actual remaining capacity is assigned to 0.
[0109] Figure 7 This is a block diagram illustrating a battery pack state-of-charge correction device 700, as shown in an exemplary embodiment of this application. Figure 7 As shown, the device includes:
[0110] The sampling unit 701 is used to obtain the working status of the battery pack and the voltage value of each battery module in the battery pack.
[0111] The determining unit 702 is used to determine the target voltage value from the voltage values of each battery module based on the operating state; it is also used to determine the reference SOC corresponding to the target voltage value according to the target voltage value and a preset correspondence.
[0112] Processing unit 703 is used to obtain the current SOC to be displayed and calculate a first correction amount based on the reference SOC and the SOC to be displayed;
[0113] The correction unit 704 is used to correct the SOC to be displayed according to the first correction amount to obtain the target SOC.
[0114] This device applies the battery pack state-of-charge correction method provided in this application. By determining the target voltage value obtained by the sampling unit 701 and a preset correspondence during battery charging / discharging correction by the determining unit 702, a corresponding reference SOC is determined. Then, the processing unit 703 calculates a first correction amount based on the reference SOC and the obtained current SOC to be displayed. Finally, the correction unit 704 corrects the SOC to be displayed. This method of determining the reference SOC affecting the first correction amount based on a preset correspondence ensures a smooth SOC correction curve, thus avoiding sudden changes in the displayed SOC caused by directional fixed-value correction, which could negatively impact the user experience.
[0115] In another exemplary embodiment, the device further includes:
[0116] The completion unit is used to determine the target SOC as 100% when the target voltage value is greater than or equal to a preset overvoltage value in the charging state; and to determine the target SOC as 0 when the target voltage value is less than or equal to a preset undervoltage value in the discharging state.
[0117] In another exemplary embodiment, the determining unit 702 is further configured to determine the largest voltage value among the voltage values of each battery module as the target voltage value when the working state is charging state; and to determine the smallest voltage value among the voltage values of each battery module as the target voltage value when the working state is discharging state.
[0118] In another exemplary embodiment, the determining unit 702 is further configured to determine a reference SOC corresponding to the target voltage value based on the target voltage value and a preset correspondence when the target voltage value meets the preset correction conditions.
[0119] In another exemplary embodiment, the determining unit 702 is further configured to determine a reference SOC corresponding to the target voltage value based on the target voltage value and the first correspondence when the working state is the charging state; and to determine a reference SOC corresponding to the target voltage value based on the target voltage value and the second correspondence when the working state is the discharging state.
[0120] In another exemplary embodiment, the processing unit 703 is further configured to obtain the current first remaining capacity and full charge capacity; calculate the ratio of the first remaining capacity to the full charge capacity to obtain the SOC to be displayed.
[0121] In another exemplary embodiment, the correction unit 704 is further configured to correct the full charge capacity according to the first correction amount to obtain the corrected full charge capacity; and calculate the ratio of the first remaining capacity to the corrected full charge capacity to obtain the target SOC.
[0122] In another exemplary embodiment, the correction unit 704 is further configured to obtain the current actual remaining capacity; calculate the difference between the actual remaining capacity and the first remaining capacity; determine a second correction amount based on the difference; and correct the first remaining capacity based on the second correction amount to obtain the corrected first remaining capacity.
[0123] It should be noted that the battery pack state-of-charge correction device and the battery pack state-of-charge correction method provided in the above embodiments belong to the same concept. The specific operation methods of each module and unit have been described in detail in the method embodiments and will not be repeated here. In practical applications, the battery pack state-of-charge correction device provided in the above embodiments can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. This is not a limitation here.
[0124] Embodiments of this application also provide an electronic device, including: a battery pack, a processor, and a memory; wherein the memory is used to store one or more computer programs, and the processor is used to cause the electronic device to implement the battery pack state-of-charge correction method provided in the above embodiments when executing one or more computer programs.
[0125] For example, the electronic device may specifically be an electrical appliance or an energy storage device.
[0126] For example, when the electronic device is an electrical appliance, it is powered by a battery pack during operation, and the battery pack's charging and discharging are controlled by a processor. A computer program is stored in the memory, and by executing this program, the processor can use the electrical appliance to implement the battery pack state-of-charge correction method provided in the various embodiments described above.
[0127] For example, electronic devices are Figure 1 The energy storage device 10 is shown. Figure 1 In the energy storage device 10, the battery management system 11 may include a processor and a memory, wherein the memory is used to store one or more computer programs, and the processor is used to cause the electronic device to implement the battery pack state-of-charge correction method provided in the above embodiments when executing one or more computer programs.
[0128] Figure 8 A schematic diagram of a computer system suitable for implementing the embodiments of this application is shown. It should be noted that... Figure 8 The computer system 800 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0129] like Figure 8 As shown, the computer system 800 includes a Central Processing Unit (CPU) 801, which can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, based on a program stored in Read-Only Memory (ROM) 802 or a program loaded from storage portion 808 into Random Access Memory (RAM) 803. The RAM 803 also stores various programs and data required for system operation. The CPU 801, ROM 802, and RAM 803 are interconnected via a bus 804. An Input / Output (I / O) interface 805 is also connected to the bus 804.
[0130] The following components are connected to I / O interface 805: an input section 806 including a keyboard, mouse, etc.; an output section 807 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 808 including a hard disk, etc.; and a communication section 808 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to I / O interface 805 as needed. A removable medium 811, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 810 as needed so that computer programs read from it can be installed into storage section 808 as needed.
[0131] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 809, and / or installed from removable medium 811. When the computer program is executed by central processing unit (CPU) 801, it performs various functions defined in the system of this application.
[0132] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0133] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0134] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.
[0135] Another aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the aforementioned method for correcting the state of charge of a battery pack. This computer-readable storage medium may be included in the electronic device described in the above embodiments, or it may exist independently and not incorporated into the electronic device.
[0136] Another aspect of this application provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the battery pack state-of-charge correction method provided in the various embodiments described above.
[0137] The above are merely preferred embodiments of this application and are not intended to limit this application. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method of correcting state of charge of a battery pack, the battery including a plurality of battery modules connected in parallel, each battery module including at least one battery cell; characterized by, The method comprises: periodically acquiring an operating state of the battery pack, and acquiring voltage values of the battery modules in the battery pack; determining a target voltage value from the voltage values of the battery modules based on the operating state; determining a reference SOC corresponding to the target voltage value according to the target voltage value and a preset correspondence relationship, the reference SOC being used to represent an actual SOC of the battery pack; acquiring a current first remaining capacity and a full charge capacity, and calculating a ratio of the first remaining capacity to the full charge capacity to obtain a to-be-displayed SOC, calculating a first correction amount based on the reference SOC and the to-be-displayed SOC, the first remaining capacity being used to represent a current display remaining capacity; if the battery pack is in a charging state, correcting the full charge capacity according to the first correction amount to obtain a corrected full charge capacity, and taking a ratio between the first remaining capacity and the corrected full charge capacity as a target SOC; if the battery pack is in a discharging state, correcting the first remaining capacity according to the first correction amount to obtain a corrected first remaining capacity, and taking a ratio between the corrected first remaining capacity and the full charge capacity as the target SOC.
2. The correction method of claim 1, wherein The operating state comprises a charging state and a discharging state; The target voltage value is determined from the voltage values of the battery modules based on the operating state, comprising: when the operating state is the charging state, determining the maximum voltage value among the voltage values of the battery modules as the target voltage value; when the operating state is the discharging state, determining the minimum voltage value among the voltage values of the battery modules as the target voltage value.
3. The correction method of claim 2, wherein The reference SOC corresponding to the target voltage value is determined according to the target voltage value and a preset correspondence relationship, comprising: when the target voltage value satisfies a preset correction condition, the reference SOC corresponding to the target voltage value is determined according to the target voltage value and the preset correspondence relationship; wherein, when the operating state is the charging state, the preset correction condition is that the target voltage value is greater than or equal to a preset first correction voltage threshold; when the operating state is the discharging state, the preset correction condition is that the target voltage value is less than or equal to a preset second correction voltage threshold.
4. The correction method according to claim 2 or 3, characterized in that, The preset correspondence relationship comprises a first correspondence relationship and a second correspondence relationship; The reference SOC corresponding to the target voltage value is determined according to the target voltage value and a preset correspondence relationship, comprising: when the operating state is the charging state, the reference SOC corresponding to the target voltage value is determined according to the target voltage value and the first correspondence relationship; the first correspondence relationship is used to represent a mapping relationship between the target voltage value and the reference SOC in the charging state; when the operating state is the discharging state, the reference SOC corresponding to the target voltage value is determined according to the target voltage value and the second correspondence relationship; the second correspondence relationship is used to represent a mapping relationship between the target voltage value and the reference SOC in the discharging state.
5. The correction method of claim 1, wherein Before the calculating the ratio of the first remaining capacity and the full charge capacity to obtain the SOC to be displayed, the method further comprises: obtaining a current actual remaining capacity; calculating a difference between the actual remaining capacity and the first remaining capacity; determining a second correction amount according to the difference; correcting the first remaining capacity according to the second correction amount to obtain a corrected first remaining capacity; correspondingly, the calculating the ratio of the first remaining capacity and the full charge capacity to obtain the SOC to be displayed comprises: calculating the ratio of the corrected first remaining capacity and the full charge capacity to obtain the SOC to be displayed.
6. The correction method of claim 2, wherein The method further comprises: when the working state is a charging state, if the target voltage value is greater than or equal to a preset overvoltage value, determining the target SOC as 100%; when the working state is a discharging state, if the target voltage value is less than or equal to a preset under-voltage value, determining the target SOC as 0.
7. A state-of-charge correction device for a battery pack, characterized by comprising: The battery comprises a plurality of parallel battery modules, each battery module comprising at least one battery cell; the device comprises: a sampling unit configured to periodically obtain a working state of the battery pack and voltage values of each battery module in the battery pack; a determination unit configured to determine a target voltage value from the voltage values of each battery module based on the working state, and determine a reference SOC corresponding to the target voltage value according to a preset correspondence relationship, the reference SOC being used to represent an actual SOC of the battery pack; a processing unit configured to obtain a current first remaining capacity and a full charge capacity, and calculate a ratio of the first remaining capacity and the full charge capacity to obtain a SOC to be displayed, and calculate a first correction amount based on the reference SOC and the SOC to be displayed, the first remaining capacity being used to represent a current display remaining capacity; a correction unit configured to, when the battery pack is in a charging state, correct the full charge capacity according to the first correction amount to obtain a corrected full charge capacity, and take the ratio between the first remaining capacity and the corrected full charge capacity as a target SOC; the correction unit is further configured to, when the battery pack is in a discharging state, correct the first remaining capacity according to the first correction amount to obtain a corrected first remaining capacity, and take the ratio between the corrected first remaining capacity and the full charge capacity as the target SOC.
8. An electronic device, comprising: comprise: a battery pack, a processor and a memory; wherein the memory is configured to store one or more computer programs, and the processor is configured to execute the one or more computer programs to enable the electronic device to implement the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Battery capacity display apparatus and battery capacity display method
CN102933977A
SOC correction method and device of battery system
CN112952225A
Battery pack charge state display processing method and device, and readable medium
CN113740755A