Battery processing method, apparatus, and electronic device

By acquiring the state of charge (SOC) of the cells within the battery pack and dynamically adjusting the calculation logic, the problem of inconsistent SOC of the battery pack is solved, achieving accurate reflection of the SOC of the battery pack and improving the consistency and safety of the battery pack's charging and discharging capabilities.

CN121355430BActive Publication Date: 2026-04-07NINGBO GINLONG TECH
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-12-19
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Due to factors such as cell material aging, manufacturing differences, and operating temperature fluctuations, the state of charge of each cell in the battery pack is inconsistent, which means that the state of charge of the battery pack cannot accurately reflect the real situation when switching between charging and discharging states.

Method used

By acquiring the state of charge (SOC) of multiple cells in the battery pack, the maximum first SOC and the minimum second SOC are determined, and the average SOC is determined based on the multiple SOCs. The SOC is then dynamically adjusted under different conditions. Combined with the first threshold calculation logic, the actual energy storage of the battery pack is accurately reflected.

Benefits of technology

It effectively avoids the problem of sudden changes in the state of charge of the battery pack when switching between charging and discharging states, ensuring that the state of charge accurately reflects the true state of charge of the battery pack, preventing overcharging or over-discharging, and improving the consistency of the charging and discharging capabilities of the battery pack.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121355430B_ABST
    Figure CN121355430B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a battery processing method and device and electronic equipment. The method comprises: obtaining a plurality of state of charges corresponding to a plurality of battery cells in a battery pack; determining a maximum first state of charge and a minimum second state of charge from the plurality of state of charges, and determining an average state of charge according to the plurality of state of charges; when the average state of charge is greater than a first threshold, determining a state of charge of the battery pack according to the first state of charge, the average state of charge and the first threshold; and when the average state of charge is less than or equal to the first threshold, determining the state of charge of the battery pack according to the second state of charge, the average state of charge and the first threshold. Through the above method, the problem of sudden change of the state of charge of the battery pack when the charging and discharging state is switched can be effectively avoided, and the final state of charge of the battery pack can accurately reflect the real state of charge of the battery pack.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of battery, and particularly relates to a battery processing method and device and electronic equipment. BACKGROUND

[0002] A battery pack is usually composed of a plurality of battery cells connected in series, and the state of charge of the battery pack directly determines the charging and discharging capacity of the battery pack. However, due to factors such as aging of battery cell materials, manufacturing differences, and working temperature fluctuations, the states of charge of the battery cells in the battery pack are often inconsistent.

[0003] In the related art, in the charging stage, the maximum value of the states of charge of all battery cells is taken as the state of charge of the battery pack; and in the discharging stage, the minimum value of the states of charge of all battery cells is taken as the state of charge of the battery pack.

[0004] However, when the working state of the battery pack switches between charging and discharging, the state of charge of the battery pack will suddenly change between the maximum value and the minimum value, and the real state of charge of the battery pack cannot be accurately reflected. SUMMARY

[0005] Embodiments of the present application provide a battery processing method and device and electronic equipment to accurately reflect the real state of charge of the battery pack.

[0006] In a first aspect, embodiments of the present application provide a battery processing method, comprising:

[0007] obtaining a plurality of states of charge corresponding to a plurality of battery cells in a battery pack;

[0008] determining a maximum first state of charge and a minimum second state of charge from the plurality of states of charge, and determining an average state of charge according to the plurality of states of charge;

[0009] when the average state of charge is greater than a first threshold, determining the state of charge of the battery pack according to the first state of charge, the average state of charge, and the first threshold;

[0010] when the average state of charge is less than or equal to the first threshold, determining the state of charge of the battery pack according to the second state of charge, the average state of charge, and the first threshold.

[0011] In some embodiments, determining the state of charge of the battery pack according to the first state of charge, the average state of charge, and the first threshold comprises:

[0012] determining a first offset ratio according to the first state of charge, the average state of charge, and the first threshold, the first offset ratio being used to indicate the degree of inclination of the state of charge of the battery pack to the interval on the right side of the first threshold;

[0013] determining a first difference between the first state of charge and the average state of charge, and determining a first product of the first difference and a first offset ratio;

[0014] determining the average state of charge and a sum of the first product as the state of charge of the battery pack.

[0015] In some embodiments, the first offset ratio is determined according to the first state of charge, the average state of charge, and a first threshold value, comprising:

[0016] determining, according to the average state of charge and the first threshold value, a first depth of inclination of the state of charge of the battery pack to an interval on a right side of the first threshold value;

[0017] determining, according to the first threshold value, the first state of charge, the average state of charge, and a preset state of charge boundary value, a first effective range corresponding to the interval on the right side of the first threshold value;

[0018] determining the first offset ratio according to the first depth and the first effective range.

[0019] In some embodiments, the state of charge of the battery pack is determined according to the second state of charge, the average state of charge, and the first threshold value, comprising:

[0020] determining, according to the second state of charge, the average state of charge, and the first threshold value, a second offset ratio, the second offset ratio being used to indicate a degree of inclination of the state of charge of the battery pack to an interval on a left side of the first threshold value;

[0021] determining a second difference between the average state of charge and the second state of charge, and determining a second product of the second difference and the second offset ratio;

[0022] determining the average state of charge and a difference between the second product as the state of charge of the battery pack.

[0023] In some embodiments, the second offset ratio is determined according to the second state of charge, the average state of charge, and the first threshold value, comprising:

[0024] determining, according to the first threshold value and the average state of charge, a second depth of inclination of the state of charge of the battery pack to the interval on the left side of the first threshold value;

[0025] determining, according to the first threshold value, the second state of charge, the average state of charge, and a preset state of charge boundary value, a second effective range corresponding to the interval on the left side of the first threshold value;

[0026] determining the second offset ratio according to the second depth and the second effective range.

[0027] In some embodiments, after the state of charge of the battery pack is determined, the method further comprises:

[0028] determining a second state of the battery pack, a change amount of a state of charge, and a third state of charge last displayed, the second state being a charging state, a discharging state or a static state;

[0029] when the second state is the charging state, determining a minimum value of a fourth state of charge to be displayed this time according to the third state of charge, the change amount and a second threshold value, and determining a maximum value of the fourth state of charge according to the third state of charge, the change amount and a third threshold value;

[0030] when the second state is the discharging state, determining the minimum value of the fourth state of charge according to the third state of charge, the change amount and the third threshold value, and determining the maximum value of the fourth state of charge according to the third state of charge, the change amount and the second threshold value;

[0031] when the second state is the static state, determining the third state of charge as the minimum value and the maximum value of the fourth state of charge;

[0032] determining the fourth state of charge according to the state of charge of the battery pack, the minimum value of the fourth state of charge and the maximum value of the fourth state of charge;

[0033] wherein the second threshold value is a value greater than 0 and less than 1, and the third threshold value is a value greater than 1.

[0034] In some embodiments, determining the fourth state of charge according to the state of charge of the battery pack, the minimum value of the fourth state of charge and the maximum value of the fourth state of charge comprises:

[0035] when the state of charge of the battery pack is greater than the maximum value of the fourth state of charge, determining the fourth state of charge as the maximum value of the fourth state of charge;

[0036] when the state of charge of the battery pack is less than the minimum value of the fourth state of charge, determining the fourth state of charge as the minimum value of the fourth state of charge;

[0037] when the state of charge of the battery pack is greater than or equal to the minimum value of the fourth state of charge and less than or equal to the maximum value of the fourth state of charge, determining the fourth state of charge as the state of charge of the battery pack.

[0038] In some embodiments, determining the change amount of the state of charge of the battery pack comprises:

[0039] obtaining a current of the battery pack, a rated capacity and a preset period, the preset period being a period for updating the displayed state of charge of the battery pack;

[0040] when the second state of the battery pack is the charging state or the discharging state, determining the change amount according to the current of the battery pack, the rated capacity and the preset period;

[0041] when the second state of the battery pack is the static state, determining the change amount as a preset value.

[0042] Secondly, embodiments of this application provide a battery processing apparatus, comprising:

[0043] The acquisition module is used to acquire multiple states of charge corresponding to multiple cells in the battery pack;

[0044] The first determining module is used to determine the largest first state of charge and the smallest second state of charge among multiple states of charge, and to determine the average state of charge based on the multiple states of charge.

[0045] The second determining module is used to determine the state of charge of the battery pack based on the first state of charge, the average state of charge, and the first threshold when the average state of charge is greater than the first threshold.

[0046] The third determining module is used to determine the state of charge of the battery pack based on the second state of charge, the average state of charge, and the first threshold when the average state of charge is less than or equal to the first threshold.

[0047] In some embodiments, the second determining module is specifically used for:

[0048] A first offset ratio is determined based on the first state of charge, the average state of charge, and the first threshold. The first offset ratio is used to indicate the degree to which the state of charge of the battery pack tilts to the right of the first threshold.

[0049] Determine a first difference between the first state of charge and the average state of charge, and determine a first product of the first difference and the first offset ratio;

[0050] The sum of the average state of charge and the first product is determined as the state of charge of the battery pack.

[0051] In some embodiments, the second determining module is specifically used for:

[0052] Based on the average state of charge and a first threshold, the state of charge of the battery pack is determined, and the first depth of tilting towards the interval to the right of the first threshold is determined.

[0053] Based on the first threshold, the first state of charge, the average state of charge, and the preset charge boundary value, determine the first effective range corresponding to the interval to the right of the first threshold;

[0054] The first offset ratio is determined based on the first depth and the first effective range.

[0055] In some embodiments, the third determining module is specifically used for:

[0056] A second offset ratio is determined based on the second state of charge, the average state of charge, and the first threshold. The second offset ratio is used to indicate the degree to which the state of charge of the battery pack tilts to the left of the first threshold.

[0057] Determine a second difference between the average state of charge and the second state of charge, and determine a second product of the second difference and the second offset ratio;

[0058] The difference between the average state of charge and the second product is determined as the state of charge of the battery pack.

[0059] In some embodiments, the third determining module is specifically used for:

[0060] Based on the first threshold and the average state of charge, the state of charge of the battery pack is determined, and the second depth is tilted to the left of the first threshold.

[0061] Based on the first threshold, the second state of charge, the average state of charge, and the preset charge boundary value, determine the second effective range corresponding to the interval to the left of the first threshold;

[0062] The second offset ratio is determined based on the second depth and the second effective range.

[0063] In some embodiments, after determining the state of charge of the battery pack, the third determining module is further configured to:

[0064] Determine the second state of the battery pack, the change in state of charge, and the third state of charge previously displayed. The second state can be a charging state, a discharging state, or a resting state.

[0065] When the second state is the charging state, the minimum value of the fourth state of charge displayed by the battery pack is determined based on the third state of charge, the amount of change, and the second threshold. The maximum value of the fourth state of charge is determined based on the third state of charge, the amount of change, and the third threshold.

[0066] When the second state is the discharge state, the minimum value of the fourth charge state is determined based on the third charge state, the change amount, and the third threshold, and the maximum value of the fourth charge state is determined based on the third charge state, the change amount, and the second threshold.

[0067] When the second state is a static state, the third charging state is determined as the minimum and maximum values ​​of the fourth charging state;

[0068] The fourth state of charge is determined based on the battery pack's state of charge, the minimum value of the fourth state of charge, and the maximum value of the fourth state of charge.

[0069] The second threshold is a value greater than 0 and less than 1, and the third threshold is a value greater than 1.

[0070] In some embodiments, the third determining module is further configured to:

[0071] When the state of charge of the battery pack is greater than the maximum value of the fourth state of charge, the fourth state of charge is determined to be the maximum value of the fourth state of charge.

[0072] When the state of charge of the battery pack is less than the minimum value of the fourth state of charge, the fourth state of charge is determined to be the minimum value of the fourth state of charge.

[0073] The fourth state of charge is determined as the state of charge of the battery pack if the state of charge of the battery pack is greater than or equal to the minimum value of the fourth state of charge and less than or equal to the maximum value of the fourth state of charge.

[0074] In some embodiments, the third determining module is further configured to:

[0075] Obtain the battery pack's current, rated capacity, and preset cycle. The preset cycle is the cycle for updating the displayed state of charge of the battery pack.

[0076] When the second state of the battery pack is either charging or discharging, the amount of change is determined based on the battery pack's current, rated capacity, and preset cycle.

[0077] When the battery pack is in a stationary state in its second state, the change is determined to be a preset value.

[0078] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;

[0079] The memory stores the instructions that the computer executes;

[0080] The processor executes computer execution instructions stored in memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.

[0081] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.

[0082] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.

[0083] The battery processing method, apparatus, and electronic device provided in this application obtain multiple states of charge (SOCs) corresponding to multiple cells in a battery pack. Among the multiple SOCs, a maximum first SOC and a minimum second SOC are determined, and an average SOC is determined based on the multiple SOCs. When the average SOC is greater than a first threshold, the battery pack's SOC is determined based on the first SOC, the average SOC, and the first threshold. When the average SOC is less than or equal to the first threshold, the battery pack's SOC is determined based on the second SOC, the average SOC, and the first threshold. In the above method, by combining the maximum first SOC, the minimum second SOC, and the average SOC, and dynamically adjusting the calculation logic through a first threshold, the true energy storage status of the battery pack can be more accurately reflected. This effectively avoids the problem of sudden changes in the battery pack's SOC during charge / discharge state switching, and the final obtained SOC accurately reflects the true SOC of the battery pack. Attached Figure Description

[0084] 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.

[0085] Figure 1 A schematic flowchart of a battery processing method provided in an embodiment of this application;

[0086] Figure 2 A flowchart illustrating a method for determining the state of charge of a battery pack, as provided in an embodiment of this application. Figure 1 ;

[0087] Figure 3 This application provides an illustration of a first offset ratio in a high-power range. Figure 1 ;

[0088] Figure 4 This application provides an illustration of a first offset ratio in a high-power range. Figure 2 ;

[0089] Figure 5 A flowchart illustrating a method for determining the state of charge of a battery pack, as provided in an embodiment of this application. Figure 2 ;

[0090] Figure 6 A schematic diagram of a second offset ratio in a low-battery range provided in this application embodiment. Figure 1 ;

[0091] Figure 7 A schematic diagram of a second offset ratio in a low-battery range provided in this application embodiment. Figure 2 ;

[0092] Figure 8 A schematic diagram illustrating the state of charge of a battery pack under various conditions, provided for embodiments of this application;

[0093] Figure 9 A flowchart illustrating a method for displaying the state of charge of a battery pack, provided in an embodiment of this application;

[0094] Figure 10A A schematic diagram comparing the state of charge (SOC) and fourth SOC of a battery pack provided in an embodiment of this application. Figure 1 ;

[0095] Figure 10B A schematic diagram comparing the state of charge (SOC) and fourth SOC of a battery pack provided in an embodiment of this application. Figure 2 ;

[0096] Figure 10C A schematic diagram comparing the state of charge (SOC) and fourth SOC of a battery pack provided in an embodiment of this application. Figure 3 ;

[0097] Figure 11 This is a schematic diagram of the structure of a stratum identification device provided in an embodiment of this application;

[0098] Figure 12 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0099] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0100] 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.

[0101] A battery pack is typically composed of multiple cells connected in series, and the state of charge (SCC) of the battery pack directly determines its charge and discharge capabilities. However, due to factors such as cell material aging, manufacturing differences, and operating temperature fluctuations, the SCC of the individual cells within a battery pack is often inconsistent.

[0102] In related technologies, during the charging phase, the maximum value of the state of charge of all cells is taken as the state of charge of the battery pack; during the discharging phase, the minimum value of the state of charge of all cells is taken as the state of charge of the battery pack.

[0103] However, when the battery pack switches from charging to discharging, the state of charge of the battery pack will suddenly change from its maximum value to its minimum value, or when the battery pack switches from discharging to charging, the state of charge of the battery pack will suddenly change from its minimum value to its maximum value, which cannot accurately reflect the true state of charge of the battery pack.

[0104] In view of this, this application provides a battery processing method, comprising: obtaining multiple states of charge (SOCs) corresponding to multiple cells in a battery pack; determining the largest first SOC and the smallest second SOC among the multiple SOCs, and determining the average SOC based on the multiple SOCs; when the average SOC is greater than the first threshold, determining the SOC of the battery pack based on the first SOC, the average SOC, and the first threshold; when the average SOC is less than or equal to the first threshold, determining the SOC of the battery pack based on the second SOC, the average SOC, and the first threshold. In the above method, by combining the largest first SOC, the smallest second SOC, and the average SOC, and dynamically adjusting the calculation logic through the first threshold, the true energy storage status of the battery pack can be more accurately reflected. This effectively avoids the problem of sudden changes in the SOC of the battery pack during charge / discharge state switching, and the final obtained SOC of the battery pack can accurately reflect the true SOC of the battery pack.

[0105] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0106] Figure 1 This is a schematic flowchart of a battery processing method provided in an embodiment of this application, as shown below. Figure 1 As shown, the method includes:

[0107] S101. Obtain multiple states of charge corresponding to multiple cells in the battery pack.

[0108] A battery pack is an energy storage unit formed by combining multiple cells in series, parallel, or series-parallel connections. It is the core energy storage component of new energy equipment (such as electric vehicles and energy storage power stations) and can provide the electrical energy required by the equipment.

[0109] A battery cell is the smallest energy storage unit in a battery pack and is the basic carrier for storing and releasing electrical energy (common types include lithium-ion cells and lithium iron phosphate cells).

[0110] State of Charge (SOC) refers to the percentage of a cell or battery pack's rated capacity that remains charge.

[0111] SOC can be expressed as a percentage, in which case the value of SOC ranges from 0% to 100%, where 0% represents that the cell or battery pack is fully discharged (no remaining power), and 100% represents that it is fully charged (the remaining power reaches the rated capacity).

[0112] SOC can also be in decimal form. In this case, the value of SOC ranges from 0 to 1. 0 has the same meaning as 0% in the percentage form (fully discharged), and 1 has the same meaning as 100% in the percentage form (fully charged).

[0113] In some embodiments, the SOC estimation module in the battery management unit (BMU) of the battery pack obtains multiple states of charge corresponding to multiple cells in the battery pack.

[0114] The SOC estimation module collects data such as voltage, current, and temperature of the battery cell and uses a specific algorithm to determine the SOC of the cell. It should be noted that the specific algorithm used by the SOC estimation module to determine the SOC of the battery cell (e.g., the ampere-hour integration method) has technical principles and implementation details that can be found in relevant technologies and will not be elaborated in this application.

[0115] S102. Among multiple states of charge, determine the largest first state of charge and the smallest second state of charge, and determine the average state of charge based on the multiple states of charge.

[0116] The first state of charge (SOC_max) is the maximum value of the SOC of multiple cells, reflecting the remaining power of the most fully charged cell in the battery pack.

[0117] The second state of charge (SOC_min) is the minimum SOC of multiple cells, reflecting the remaining charge of the cell with the lowest charge in the battery pack.

[0118] In some embodiments, among multiple states of charge (SOCs), the largest first state of charge and the smallest second state of charge are determined by: sorting the multiple SOCs in ascending order using a traversal algorithm, extracting the first value after sorting as SOC_min (second state of charge), and the last value as SOC_max (first state of charge); or, sorting the multiple SOCs in descending order using a traversal algorithm, extracting the last value after sorting as SOC_min (second state of charge), and the first value as SOC_max (first state of charge).

[0119] In some embodiments, if the number of cells in the battery pack exceeds 100, a divide-and-conquer algorithm can be used to determine the largest first state of charge and the smallest second state of charge among multiple states of charge.

[0120] The average state of charge (SOC_avg) is the arithmetic mean of the SOC of all cells in the battery pack, reflecting the overall remaining capacity of the battery pack.

[0121] Specifically, the ratio of the sum of the SOCs of all battery cells to the number of battery cells is defined as SOC_avg (average state of charge).

[0122] S103. Determine whether the average state of charge is greater than the first threshold.

[0123] If yes, proceed to S104; otherwise, proceed to S105.

[0124] The first threshold is 0.5 (i.e., 50%).

[0125] When the average state of charge is greater than the first threshold, the battery pack is in the high charge range.

[0126] When the average state of charge is less than or equal to the first threshold, the state of charge of the battery pack is in the low charge range.

[0127] S104. Determine the state of charge of the battery pack based on the first state of charge, the average state of charge, and the first threshold.

[0128] Specifically, this step includes:

[0129] First, based on the first state of charge, the average state of charge, and the first threshold, a first offset ratio is calculated to tilt the battery pack's state of charge towards the right of the first threshold (i.e., the interval above the first threshold). This first offset ratio reflects the degree of deviation of the average state of charge from the first threshold, as well as the weight of the influence of the difference in state of charge between cells on the battery pack's state of charge.

[0130] Next, based on the first offset ratio, the average state of charge (SOC) is adjusted to obtain the SOC of the battery pack. This adjustment process is achieved by weighting the difference between the first SOC and the average SOC according to the first offset ratio and then adding it to the average SOC. The final SOC of the battery pack can reasonably incorporate the influence of the differences in SOC between cells (especially the cells with the highest SOC) on the basis of the average SOC, thus making the SOC of the battery pack more accurate and representative.

[0131] S105. Determine the state of charge of the battery pack based on the second state of charge, the average state of charge, and the first threshold.

[0132] Specifically, this step includes:

[0133] First, based on the second state of charge (SOC), the average SOC, and the first threshold, a second offset ratio is calculated, which tilts the battery pack's SOC to the left of the first threshold (i.e., the interval below the first threshold). This offset ratio reflects the degree to which the average SOC is lower than the first threshold, and the weight of the influence of the SOC difference between cells on the battery pack's SOC.

[0134] Next, based on the second offset ratio, the average state of charge (SOC) is adjusted to obtain the SOC of the battery pack. This adjustment process is achieved by subtracting the difference between the average SOC and the second SOC, weighted according to the second offset ratio, from the average SOC. The final SOC of the battery pack can reasonably incorporate the influence of the differences in SOC between cells (especially cells with the lowest SOC) on the basis of the average SOC, thus making the SOC of the battery pack more accurate and representative.

[0135] In this embodiment, multiple states of charge (SOCs) corresponding to multiple cells in the battery pack are obtained. Among the multiple SOCs, the largest first SOC and the smallest second SOC are determined, and the average SOC is determined based on the multiple SOCs. When the average SOC is greater than a first threshold, the battery pack's SOC is determined based on the first SOC, the average SOC, and the first threshold. When the average SOC is less than or equal to the first threshold, the battery pack's SOC is determined based on the second SOC, the average SOC, and the first threshold. In the above method, by combining the largest first SOC, the smallest second SOC, and the average SOC, and dynamically adjusting the calculation logic through the first threshold, the true energy storage status of the battery pack can be more accurately reflected. This effectively avoids the problem of sudden changes in the battery pack's SOC during charge / discharge state switching, and the final obtained SOC of the battery pack can accurately reflect the true SOC of the battery pack.

[0136] Hereinafter, based on any embodiment, by Figure 2 The document provides further explanation of "determining the state of charge of the battery pack based on the first state of charge, the average state of charge, and the first threshold."

[0137] Figure 2 A flowchart illustrating a method for determining the state of charge of a battery pack, as provided in an embodiment of this application. Figure 1 ,like Figure 2 As shown, it includes:

[0138] S201. Determine a first offset ratio based on the first state of charge, the average state of charge, and the first threshold, wherein the first offset ratio is used to indicate the degree to which the state of charge of the battery pack tilts to the right of the first threshold.

[0139] In some embodiments, determining a first offset ratio based on a first state of charge, an average state of charge, and a first threshold includes:

[0140] Based on the average state of charge and a first threshold, the state of charge of the battery pack is determined, and the first depth of tilting towards the interval to the right of the first threshold is determined.

[0141] Based on the first threshold, the first state of charge, the average state of charge, and the preset charge boundary value, determine the first effective range corresponding to the interval to the right of the first threshold;

[0142] The first offset ratio is determined based on the first depth and the first effective range.

[0143] In some embodiments, the average state of charge, the first threshold, and the first depth satisfy the following formula 1:

[0144] Formula 1;

[0145] in, Indicates the first depth. Indicates the average state of charge. This represents the first threshold.

[0146] The preset charge boundary value represents a safety buffer boundary within the state of charge range, designed to prevent extreme cell states of charge from excessively affecting the state of charge of the battery pack. In practical applications, this preset charge boundary value is typically selected between 0.05 and 0.1 (i.e., 5% to 10%), and the specific value can be set according to the cell characteristics and the safety and performance requirements of the application scenario.

[0147] In some embodiments, the first threshold, the first state of charge, the average state of charge, the preset charge boundary value, and the first effective range satisfy the following formula 2:

[0148] Formula 2;

[0149] in, Indicates the first valid range. This represents the preset charge boundary value. This indicates the first state of charge.

[0150] In some embodiments, the first depth, the first effective range, and the first offset ratio satisfy the following formula 3:

[0151] Formula 3;

[0152] in, This indicates the first offset ratio.

[0153] The following is through Figure 3Taking a first threshold of 50% as an example, the calculation scenario of the first offset ratio of the average state of charge being greater than the first threshold is illustrated.

[0154] Figure 3 This application provides an illustration of a first offset ratio in a high-power range. Figure 1 ,like Figure 3 As shown, the horizontal axis represents SOC, where 50% corresponds to the first threshold, and SOC_edg is located at both ends of the SOC value range (0% side and 100% side).

[0155] S202. Determine the first difference between the first state of charge and the average state of charge, and determine the first product of the first difference and the first offset ratio.

[0156] In some embodiments, the first state of charge, the average state of charge, and the first difference satisfy the following formula 4:

[0157] Formula 4;

[0158] in, Indicates the first difference. Indicates the first state of charge. This indicates the average state of charge.

[0159] In some embodiments, the first difference, the first offset ratio, and the first product satisfy the following formula 5:

[0160] Formula 5;

[0161] in, Represents the first product. This indicates the first offset ratio.

[0162] S203. The sum of the average state of charge and the first product is determined as the state of charge of the battery pack.

[0163] In some embodiments, the average state of charge, the first product, and the state of charge of the battery pack satisfy the following formula 6:

[0164] Formula 6;

[0165] in, This indicates the state of charge of the battery pack.

[0166] Figure 4 This application provides an illustration of a first offset ratio in a high-power range. Figure 2 ,like Figure 4 As shown, S1 is S2 is Understandably, the first offset ratio is S1 to S2.

[0167] The state of charge (SOC) of the battery pack is greater than or equal to 0 and less than or equal to 1. If the calculated SOC of the battery pack is greater than 1, then the final SOC of the battery pack is determined to be 1.

[0168] In this embodiment, when the average state of charge (SOC) is greater than a first threshold, a first offset ratio is determined based on the first SOC, the average SOC, and the first threshold. The first offset ratio indicates the degree to which the SOC of the battery pack tilts towards the right of the first threshold. A first difference between the first SOC and the average SOC is determined, and a first product of the first difference and the first offset ratio is determined. The sum of the average SOC and the first product is determined as the SOC of the battery pack. In the above method, by dynamically calculating the first offset ratio in the high-charge range, the difference between the average SOC (SOC_avg) and the first SOC (SOC_max) is smoothly and weighted into the calculation of the SOC of the battery pack (SOC_pack). This first offset ratio is determined by the ratio of the deviation of the average SOC from the first threshold to the adjustable effective range, so that the final SOC_pack can accurately reflect the true SOC of the battery pack.

[0169] Hereinafter, based on any embodiment, by Figure 5 The document provides further explanation of "determining the state of charge of the battery pack based on the second state of charge, the average state of charge, and the first threshold."

[0170] Figure 5 A flowchart illustrating a method for determining the state of charge of a battery pack, as provided in an embodiment of this application. Figure 2 ,like Figure 5 As shown, it includes:

[0171] S501. Determine a second offset ratio based on the second state of charge, the average state of charge, and the first threshold, wherein the second offset ratio is used to indicate the degree to which the state of charge of the battery pack tilts to the left of the first threshold.

[0172] In some embodiments, determining a second offset ratio based on a second state of charge, an average state of charge, and a first threshold includes:

[0173] Based on the first threshold and the average state of charge, the state of charge of the battery pack is determined, and the second depth is tilted to the left of the first threshold.

[0174] Based on the first threshold, the second state of charge, the average state of charge, and the preset charge boundary value, determine the second effective range corresponding to the interval to the left of the first threshold;

[0175] The second offset ratio is determined based on the second depth and the second effective range.

[0176] In some embodiments, the average state of charge, the first threshold, and the second depth satisfy the following formula 7:

[0177] Formula 7;

[0178] in, Indicates the second depth. Indicates the average state of charge. This represents the first threshold.

[0179] In some embodiments, the first threshold, the second state of charge, the average state of charge, the preset charge boundary value, and the second effective range satisfy the following formula 8:

[0180] Formula 8;

[0181] in, Indicates the second valid range. This represents the preset charge boundary value. This indicates the second state of charge.

[0182] In some embodiments, the second depth, the second effective range, and the second offset ratio satisfy the following formula 9:

[0183] Formula 9;

[0184] in, This indicates the second offset ratio.

[0185] The following is through Figure 6 Taking a first threshold of 50% as an example, the calculation scenario of the second offset ratio where the average state of charge is greater than the first threshold is illustrated.

[0186] Figure 6 A schematic diagram of a second offset ratio in a low-battery range provided in this application embodiment. Figure 1 ,like Figure 6 As shown, the horizontal axis represents SOC, where 50% corresponds to the first threshold, and SOC_edg is located at both ends of the SOC value range (0% side and 100% side).

[0187] S502. Determine the second difference between the average state of charge and the second state of charge, and determine the second product of the second difference and the second offset ratio.

[0188] In some embodiments, the second state of charge, the average state of charge, and the second difference satisfy the following formula 10:

[0189] Formula 10;

[0190] in, This represents the second difference.

[0191] In some embodiments, the second difference, the second offset ratio, and the second product satisfy the following formula 11:

[0192] Formula 11;

[0193] in, Indicates the second product. This indicates the second offset ratio.

[0194] S503. The difference between the average state of charge and the second product is determined as the state of charge of the battery pack.

[0195] In some embodiments, the average state of charge, the second product, and the state of charge of the battery pack satisfy the following formula 12:

[0196] Formula 12;

[0197] in, This indicates the state of charge of the battery pack.

[0198] The state of charge (SOC) of the battery pack is greater than or equal to 0 and less than or equal to 1. If the calculated SOC of the battery pack is greater than 1, then the final SOC of the battery pack is determined to be 1.

[0199] Figure 7 A schematic diagram of a second offset ratio in a low-battery range provided in this application embodiment. Figure 2 ,like Figure 7 As shown, S3 is S4 is Understandably, the second offset ratio is S3 to S4.

[0200] Figure 8 This application provides a schematic diagram illustrating the state of charge of a battery pack under various conditions, as shown in the embodiments. Figure 8 As shown, from left to right, the distribution of the SOC of the cells and the corresponding relationship of the SOC of the battery pack at different charge stages are presented: each gray block represents the SOC range of the cells at a certain moment, where min, avg, and max correspond to SOC_min, SOC_avg, and SOC_max at the corresponding moment, respectively, and the long dashed line is the final determined state of charge (SOC_pack) of the battery pack at the corresponding moment.

[0201] pass Figure 8 It can be seen that during the high battery phase (corresponding to...) Figure 8(On the right side of the image), the battery pack's state of charge (SOC_pack) tends to favor the first state of charge (SOC_max), which effectively prevents overcharging and accurately reflects the battery pack's maximum allowable discharge capacity or charging limit. In the low-charge stage (corresponding to...), Figure 8 (On the left side of the image), the battery pack's state of charge (SOC_pack) tends to favor the second state of charge (SOC_min), which effectively prevents over-discharge and accurately reflects its maximum allowable charging capacity or discharge limit. In the medium charge stage (corresponding to...) Figure 8 In the middle part of the battery pack, the state of charge (SOC_pack) is closer to the average state of charge (SOC_avg), which can more smoothly reflect the overall average energy level of the battery pack and avoid sudden changes in the state of charge of the battery pack when switching between charging and discharging states.

[0202] The following examples, 1, 2, 3, 4, and 5, illustrate the relationship between the state of charge (SOC) of each cell in the battery pack and the SOC of the entire battery pack:

[0203] In the following example, SOC_edg is set to 0.05 (i.e., 5%).

[0204] Example 1 corresponds to a scenario where the battery pack is nearly fully discharged: the battery pack contains 3 cells with SOCs of 0.04, 0.05, and 0.06% (i.e., 4%, 5%, and 6%). Therefore, SOC_max = 0.06, SOC_min = 0.04, and SOC_avg = 0.05. =1, and finally determined SOC_pack=0.04;

[0205] Example 2 corresponds to a scenario where the battery pack is in a low-charge range: the SOCs of the three cells are 0.25, 0.3, and 0.35% (25%, 30%, and 35%), then SOC_max = 0.35, SOC_min = 0.25, and SOC_avg = 0.3. Therefore, =0.5, and finally determined SOC_pack=0.275;

[0206] Example 3 corresponds to a scenario where the battery pack is near the first threshold: the SOCs of the three cells are 0.49, 0.5, and 0.51 (49%, 50%, and 51%), then SOC_max = 0.51, SOC_min = 0.49, and SOC_avg = 0.5. Therefore, =0.5, and finally determined SOC_pack=0.5;

[0207] Example 4 corresponds to a scenario where the battery pack is in a high-charge range: the SOCs of the three cells are 0.75, 0.8, and 0.85 (75%, 80%, 85%), then SOC_max = 0.85, SOC_min = 0.75, and SOC_avg = 0.8. Therefore, =0.75, and finally determined SOC_pack=0.8375;

[0208] Example 5 corresponds to a scenario where the battery pack is nearly fully charged: the SOCs of the three cells are 0.85, 0.9, and 0.95 (85%, 90%, 95%), then SOC_max = 0.95, SOC_min = 0.85, and SOC_avg = 0.9. Therefore, =1, and finally determined SOC_pack=0.95;

[0209] The five examples above demonstrate that when the State of Charge (SOC) of all cells in a battery pack is low, the overall SOC of the pack tends to favor the SOC of the smallest cell. This aligns with the bottleneck effect during discharge, where the SOC of the battery pack is determined by the SOC of the smallest cell. When the SOC of the cells is in the middle range (around 50%), the SOC of the battery pack tends to favor the average SOC, which more accurately reflects the total capacity of the battery pack. When the SOC of all cells is high, the SOC of the battery pack tends to favor the SOC of the largest cell. This aligns with the bottleneck effect during charging, where the SOC of the battery pack is determined by the SOC of the largest cell.

[0210] In this embodiment, when the average state of charge (SOC) is less than or equal to a first threshold, a second offset ratio is determined based on the second SOC, the average SOC, and the first threshold. The second offset ratio indicates the degree to which the battery pack's SOC tilts towards the range to the left of the first threshold. A second difference between the average SOC and the second SOC is determined, and a second product of the second difference and the second offset ratio is determined. The difference between the average SOC and the second product is determined as the battery pack's SOC. In this method, by dynamically calculating the second offset ratio in the low-charge range, the difference between the average SOC (SOC_avg) and the second SOC (SOC_min) is smoothly and weightedly incorporated into the calculation of the battery pack's SOC (SOC_pack). This second offset ratio is determined by the ratio of the deviation of the average SOC from the first threshold to the adjustable effective range, ensuring that the final SOC_pack accurately reflects the battery pack's true SOC.

[0211] Hereinafter, based on any embodiment, by Figure 9 Further explanation is provided regarding the display of the battery pack's state of charge after the state of charge has been determined.

[0212] Figure 9 A flowchart illustrating a method for displaying the state of charge of a battery pack according to an embodiment of this application is shown below. Figure 9 As shown, it includes:

[0213] S901. Determine the second state of the battery pack, the change in state of charge, and the third state of charge previously displayed, wherein the second state is a charging state, a discharging state, or a resting state.

[0214] In some embodiments, determining a second state of the battery pack includes:

[0215] Obtain the current of the battery pack;

[0216] When the current in the battery pack exceeds the current threshold, the second state of the battery pack is determined to be the discharge state.

[0217] When the current of the battery pack is less than the current threshold, the second state of the battery pack is determined to be the charging state;

[0218] When the current in the battery pack equals the current threshold, the second state of the battery pack is determined to be the stationary state.

[0219] The current threshold can be between 0.1A and 0.2A.

[0220] The static state can be understood as the battery pack neither charging nor discharging.

[0221] In some embodiments, determining the change in the state of charge of the battery pack includes:

[0222] Obtain the battery pack's current, rated capacity, and preset cycle, where the preset cycle is the cycle for updating the displayed state of charge of the battery pack;

[0223] When the second state of the battery pack is either charging or discharging, the amount of change is determined based on the battery pack's current, rated capacity, and preset cycle.

[0224] When the battery pack is in a stationary state in its second state, the change is determined to be a preset value.

[0225] The preset period is, for example, 1 second.

[0226] A common setting is to set the default value to 0. However, for some battery pack types or under specific conditions, the SOC may change slightly even when the battery is at rest (e.g., due to the battery's self-discharge characteristics or ambient temperature). Therefore, in practical applications, this default value should be determined based on the battery pack's parameters and performance.

[0227] In some embodiments, when the current of the battery pack is positive for discharging and negative for charging, the current, rated capacity, preset period, and change of the battery pack satisfy the following formula 13:

[0228] Formula 13;

[0229] in, Indicates the amount of change. Indicates the current of the battery pack. Indicates the preset period. This indicates the rated capacity of the battery pack.

[0230] In some embodiments, if a positive current in the battery pack indicates charging and a negative current indicates discharging, then Formula 13 has no negative sign, i.e. .

[0231] The previously displayed third state of charge refers to the state of charge displayed in the current battery pack display, which is the last state of charge shown.

[0232] S902. Determine whether the second state is a charging state, a discharging state, or a stationary state.

[0233] When the second state is the charging state, S903 and S906 are executed sequentially;

[0234] When the second state packet is in the discharge state, S904 and S906 are executed sequentially;

[0235] When the second state is a static state, S905 and S906 are executed sequentially.

[0236] S903. Based on the third state of charge, the amount of change, and the second threshold, determine the minimum value of the fourth state of charge displayed by the battery pack this time, and based on the third state of charge, the amount of change, and the third threshold, determine the maximum value of the fourth state of charge.

[0237] In some embodiments, the minimum values ​​of the third state of charge, the change, the second threshold, and the fourth state of charge satisfy the following formula 14:

[0238] Formula 14;

[0239] in, This represents the minimum value of the fourth state of charge. Indicates the third state of charge. This represents the second threshold.

[0240] The second threshold is a value greater than 0 and less than 1. For example, the second threshold is 0.33.

[0241] In some embodiments, the maximum approximation of the third state of charge, the change, the third threshold, and the fourth state of charge is satisfied by the following formula 15:

[0242] Formula 15;

[0243] in, This represents the maximum value of the fourth state of charge. This represents the third threshold.

[0244] The third threshold is a value greater than 1. For example, the third threshold is 3.

[0245] S904. Based on the third state of charge, the change, and the third threshold, determine the minimum value of the fourth state of charge, and based on the third state of charge, the change, and the second threshold, determine the maximum value of the fourth state of charge.

[0246] In some embodiments, the minimum values ​​of the third state of charge, the change, the second threshold, and the fourth state of charge satisfy the following formula 16:

[0247] Formula 16;

[0248] In some embodiments, the maximum approximation of the third state of charge, the change, the third threshold, and the fourth state of charge is satisfied by the following formula 17:

[0249] Formula 17;

[0250] S905. Determine the minimum and maximum values ​​of the third state of charge as the fourth state of charge.

[0251] Specifically, , .

[0252] S906. Determine the fourth state of charge based on the battery pack's state of charge, the minimum value of the fourth state of charge, and the maximum value of the fourth state of charge.

[0253] In some embodiments, determining the fourth state of charge based on the battery pack's state of charge, the minimum value of the fourth state of charge, and the maximum value of the fourth state of charge includes:

[0254] When the state of charge of the battery pack is greater than the maximum value of the fourth state of charge, the fourth state of charge is determined to be the maximum value of the fourth state of charge.

[0255] When the state of charge of the battery pack is less than the minimum value of the fourth state of charge, the fourth state of charge is determined to be the minimum value of the fourth state of charge.

[0256] The fourth state of charge is determined as the state of charge of the battery pack if the state of charge of the battery pack is greater than or equal to the minimum value of the fourth state of charge and less than or equal to the maximum value of the fourth state of charge.

[0257] Figure 10A A schematic diagram comparing the state of charge (SOC) and fourth SOC of a battery pack provided in an embodiment of this application. Figure 1 , Figure 10B A schematic diagram comparing the state of charge (SOC) and fourth SOC of a battery pack provided in an embodiment of this application. Figure 2 , Figure 10C A schematic diagram comparing the state of charge (SOC) and fourth SOC of a battery pack provided in an embodiment of this application. Figure 3 .

[0258] like Figure 10A , Figure 10B and Figure 10C As shown, the horizontal axis represents time (t), and the vertical axis represents the state of charge (SOC). The dashed line represents SOC_display, and the solid line represents SOC_pack.

[0259] Figure 10A In charging scenarios, SOC_pack increases over time, and SOC_display also shows an increasing trend. Figure 10B In the discharge scenario, SOC_pack decreases over time, and SOC_display also shows a corresponding decreasing trend; Figure 10C In the static scenario, regardless of how SOC_pack changes, SOC_display remains unchanged. It can be seen that the displayed fourth state of charge follows the same trend as the battery pack's state of charge.

[0260] In this embodiment, after determining the state of charge (SOC) of the battery pack, a second SOC, a change in SOC, and the previously displayed third SOC are determined. The second SOC can be a charging state, a discharging state, or a stationary state. When the second SOC is a charging state, the minimum value of the current displayed fourth SOC is determined based on the third SOC, the change in SOC, and a second threshold. The maximum value of the fourth SOC is determined based on the third SOC, the change in SOC, and the third threshold. When the second SOC is a discharging state, the minimum value of the fourth SOC is determined based on the third SOC, the change in SOC, and the third threshold. The maximum value of the fourth SOC is determined based on the third SOC, the change in SOC, and the second threshold. When the second SOC is a stationary state, the third SOC is determined as the minimum and maximum values ​​of the fourth SOC. The fourth SOC is determined based on the SOC of the battery pack, the minimum value of the fourth SOC, and the maximum value of the fourth SOC. In the above method, by dynamically constraining the update range of the displayed state of charge, a smooth transition and stable presentation between the battery pack's internal true state of charge (SOC_pack) and the user-visible display value (the fourth state of charge, i.e., SOC_display) are achieved. This ensures that the display value can reflect the actual state change trend of the battery pack in a timely and continuous manner. Throughout the entire working process of the battery pack from being completely discharged to being fully charged, the displayed state of charge seen by the user can achieve a continuous and smooth change from 0% to 100%, significantly improving the stability and reliability of the user's perception of the battery level and enhancing the user experience.

[0261] Figure 11 This is a schematic diagram of the structure of a stratigraphic identification device provided in an embodiment of this application, as shown below. Figure 11 As shown, the battery processing device 110 provided in this embodiment includes:

[0262] The acquisition module 1101 is used to acquire multiple states of charge corresponding to multiple cells in the battery pack;

[0263] The first determining module 1102 is used to determine the largest first state of charge and the smallest second state of charge among multiple states of charge, and to determine the average state of charge based on the multiple states of charge.

[0264] The second determining module 1103 is used to determine the state of charge of the battery pack based on the first state of charge, the average state of charge, and the first threshold when the average state of charge is greater than the first threshold.

[0265] The third determining module 1104 is used to determine the state of charge of the battery pack based on the second state of charge, the average state of charge, and the first threshold when the average state of charge is less than or equal to the first threshold.

[0266] The battery processing device 110 provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.

[0267] In some embodiments, the second determining module 1103 is specifically used for:

[0268] A first offset ratio is determined based on the first state of charge, the average state of charge, and the first threshold. The first offset ratio is used to indicate the degree to which the state of charge of the battery pack tilts to the right of the first threshold.

[0269] Determine a first difference between the first state of charge and the average state of charge, and determine a first product of the first difference and the first offset ratio;

[0270] The sum of the average state of charge and the first product is determined as the state of charge of the battery pack.

[0271] In some embodiments, the second determining module 1103 is specifically used for:

[0272] Based on the average state of charge and a first threshold, the state of charge of the battery pack is determined, and the first depth of tilting towards the interval to the right of the first threshold is determined.

[0273] Based on the first threshold, the first state of charge, the average state of charge, and the preset charge boundary value, determine the first effective range corresponding to the interval to the right of the first threshold;

[0274] The first offset ratio is determined based on the first depth and the first effective range.

[0275] In some embodiments, the third determining module 1104 is specifically used for:

[0276] A second offset ratio is determined based on the second state of charge, the average state of charge, and the first threshold. The second offset ratio is used to indicate the degree to which the state of charge of the battery pack tilts to the left of the first threshold.

[0277] Determine a second difference between the average state of charge and the second state of charge, and determine a second product of the second difference and the second offset ratio;

[0278] The difference between the average state of charge and the second product is determined as the state of charge of the battery pack.

[0279] In some embodiments, the third determining module 1104 is specifically used for:

[0280] Based on the first threshold and the average state of charge, the state of charge of the battery pack is determined, and the second depth is tilted to the left of the first threshold.

[0281] Based on the first threshold, the second state of charge, the average state of charge, and the preset charge boundary value, determine the second effective range corresponding to the interval to the left of the first threshold;

[0282] The second offset ratio is determined based on the second depth and the second effective range.

[0283] In some embodiments, after determining the state of charge of the battery pack, the third determining module 1104 is further configured to:

[0284] Determine the second state of the battery pack, the change in state of charge, and the third state of charge previously displayed. The second state can be a charging state, a discharging state, or a resting state.

[0285] When the second state is the charging state, the minimum value of the fourth state of charge displayed by the battery pack is determined based on the third state of charge, the amount of change, and the second threshold. The maximum value of the fourth state of charge is determined based on the third state of charge, the amount of change, and the third threshold.

[0286] When the second state is the discharge state, the minimum value of the fourth charge state is determined based on the third charge state, the change amount, and the third threshold, and the maximum value of the fourth charge state is determined based on the third charge state, the change amount, and the second threshold.

[0287] When the second state is a static state, the third charging state is determined as the minimum and maximum values ​​of the fourth charging state;

[0288] The fourth state of charge is determined based on the battery pack's state of charge, the minimum value of the fourth state of charge, and the maximum value of the fourth state of charge.

[0289] The second threshold is a value greater than 0 and less than 1, and the third threshold is a value greater than 1.

[0290] In some embodiments, the third determining module 1104 is further configured to:

[0291] When the state of charge of the battery pack is greater than the maximum value of the fourth state of charge, the fourth state of charge is determined to be the maximum value of the fourth state of charge.

[0292] When the state of charge of the battery pack is less than the minimum value of the fourth state of charge, the fourth state of charge is determined to be the minimum value of the fourth state of charge.

[0293] The fourth state of charge is determined as the state of charge of the battery pack if the state of charge of the battery pack is greater than or equal to the minimum value of the fourth state of charge and less than or equal to the maximum value of the fourth state of charge.

[0294] In some embodiments, the third determining module 1104 is further configured to:

[0295] Obtain the battery pack's current, rated capacity, and preset cycle. The preset cycle is the cycle for updating the displayed state of charge of the battery pack.

[0296] When the second state of the battery pack is either charging or discharging, the amount of change is determined based on the battery pack's current, rated capacity, and preset cycle.

[0297] When the battery pack is in a stationary state in its second state, the change is determined to be a preset value.

[0298] The battery processing device 110 provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.

[0299] Figure 12 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 12 As shown, the electronic device 120 includes a processor 1201 and a memory 1202. The processor 1201 is communicatively connected to the memory 1202, and the memory 1202 is used to store computer execution instructions. The processor 1201 is configured to execute the technical solutions in any of the aforementioned method embodiments by executing the computer execution instructions stored in the memory 1202.

[0300] Optionally, the memory 1202 can be either independent or integrated with the processor 1201. Optionally, when the memory 1202 is a device independent of the processor 1201, the electronic device 120 may further include a bus 1203 for connecting the aforementioned devices.

[0301] The electronic device is used to execute the technical solutions in any of the foregoing method embodiments. Its implementation principle and technical effect are similar, and will not be described again here.

[0302] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0303] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0304] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0305] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0306] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0307] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0308] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0309] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0310] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0311] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0312] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0313] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0314] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A battery processing method, characterized in that, include: Obtain multiple states of charge corresponding to multiple cells in the battery pack; Among the plurality of states of charge, the largest first state of charge and the smallest second state of charge are determined, and the average state of charge is determined based on the plurality of states of charge. When the average state of charge is greater than a first threshold, the state of charge of the battery pack is determined based on the first state of charge, the average state of charge, and the first threshold. When the average state of charge is less than or equal to the first threshold, the state of charge of the battery pack is determined based on the second state of charge, the average state of charge, and the first threshold. Determining the state of charge (SOC) of the battery pack based on the first SOC, the average SOC, and the first threshold includes: determining a first offset ratio based on the first SOC, the average SOC, and the first threshold, wherein the first offset ratio indicates the degree to which the SOC of the battery pack tilts towards the right of the first threshold; determining a first difference between the first SOC and the average SOC, and determining a first product of the first difference and the first offset ratio; and determining the sum of the average SOC and the first product as the SOC of the battery pack. Determining a first offset ratio based on the first state of charge, the average state of charge, and the first threshold includes: determining the difference between the average state of charge and the first threshold as the state of charge of the battery pack, and tilting it to a first depth in the interval to the right of the first threshold; subtracting the difference between the first threshold and a preset charge boundary value from the difference between the first state of charge and the average state of charge to obtain a first effective range corresponding to the interval to the right of the first threshold; and determining the ratio of the first depth to the first effective range as the first offset ratio.

2. The method according to claim 1, characterized in that, Determining the state of charge of the battery pack based on the second state of charge, the average state of charge, and the first threshold includes: A second offset ratio is determined based on the second state of charge, the average state of charge, and the first threshold. The second offset ratio is used to indicate the degree to which the state of charge of the battery pack tilts to the left of the first threshold. Determine a second difference between the average state of charge and the second state of charge, and determine a second product of the second difference and the second offset ratio; The difference between the average state of charge and the second product is determined as the state of charge of the battery pack.

3. The method according to claim 2, characterized in that, Determining the second offset ratio based on the second state of charge, the average state of charge, and the first threshold includes: Based on the first threshold and the average state of charge, the state of charge of the battery pack is determined, and a second depth is tilted to the left of the first threshold. Based on the first threshold, the second state of charge, the average state of charge, and the preset charge boundary value, a second effective range corresponding to the interval to the left of the first threshold is determined; The second offset ratio is determined based on the second depth and the second effective range.

4. The method according to any one of claims 1-3, characterized in that, After determining the state of charge of the battery pack, the method further includes: Determine the second state of the battery pack, the change in state of charge, and the previously displayed third state of charge, wherein the second state is a charging state, a discharging state, or a resting state. When the second state is the charging state, the minimum value of the fourth state of charge displayed by the battery pack is determined according to the third state of charge, the amount of change and the second threshold, and the maximum value of the fourth state of charge is determined according to the third state of charge, the amount of change and the third threshold. When the second state is the discharge state, the minimum value of the fourth charge state is determined based on the third charge state, the change amount, and the third threshold, and the maximum value of the fourth charge state is determined based on the third charge state, the change amount, and the second threshold. When the second state is the static state, the third charging state is determined as the minimum and maximum values ​​of the fourth charging state; The fourth state of charge is determined based on the state of charge of the battery pack, the minimum value of the fourth state of charge, and the maximum value of the fourth state of charge. The second threshold is a value greater than 0 and less than 1, and the third threshold is a value greater than 1.

5. The method according to claim 4, characterized in that, The fourth state of charge is determined based on the battery pack's state of charge, the minimum value of the fourth state of charge, and the maximum value of the fourth state of charge, including: When the state of charge of the battery pack is greater than the maximum value of the fourth state of charge, the fourth state of charge is determined to be the maximum value of the fourth state of charge. When the state of charge of the battery pack is less than the minimum value of the fourth state of charge, the fourth state of charge is determined to be the minimum value of the fourth state of charge. If the state of charge of the battery pack is greater than or equal to the minimum value of the fourth state of charge and less than or equal to the maximum value of the fourth state of charge, the fourth state of charge is determined as the state of charge of the battery pack.

6. The method according to claim 4, characterized in that, Determining the change in the state of charge of the battery pack includes: The current, rated capacity, and preset cycle of the battery pack are obtained, wherein the preset cycle is the cycle for updating the displayed state of charge of the battery pack; When the second state of the battery pack is a charging state or a discharging state, the change amount is determined based on the current of the battery pack, the rated capacity, and the preset period; When the second state of the battery pack is a stationary state, the change amount is determined to be a preset value.

7. A battery processing device, characterized in that, include: The acquisition module is used to acquire multiple states of charge corresponding to multiple cells in the battery pack; The first determining module is used to determine the largest first state of charge and the smallest second state of charge among the plurality of states of charge, and to determine the average state of charge based on the plurality of states of charge. The second determining module is used to determine the state of charge of the battery pack based on the first state of charge, the average state of charge, and the first threshold when the average state of charge is greater than the first threshold. The third determining module is used to determine the state of charge of the battery pack based on the second state of charge, the average state of charge, and the first threshold when the average state of charge is less than or equal to the first threshold. The second determining module is specifically used to: determine a first offset ratio based on the first state of charge, the average state of charge, and the first threshold, wherein the first offset ratio is used to indicate the degree to which the state of charge of the battery pack tilts to the right of the first threshold. A first difference between the first state of charge and the average state of charge is determined, and a first product of the first difference and the first offset ratio is determined; the sum of the average state of charge and the first product is determined as the state of charge of the battery pack. The second determining module is specifically used for: determining the difference between the average state of charge and the first threshold as the state of charge of the battery pack, and tilting it to the right of the first threshold by a first depth; subtracting the difference between the first threshold and a preset charge boundary value and the difference between the first state of charge and the average state of charge to obtain a first effective range corresponding to the interval to the right of the first threshold; and determining the ratio of the first depth to the first effective range as the first offset ratio.

8. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • SOC (State of Charge) estimation method for vehicle power battery pack considering inconsistency of battery cells

    CN116973767A

  • Comprehensive state-of-charge calculation method and system for balanced energy storage system

    CN120610166A