Methods, systems, devices and storage media for parallel current control of multiple battery packs
By acquiring battery status and branch operation information, the current limit value and allowable charging and discharging current of the cables are determined, and the current is allocated according to the equivalent remaining capacity ratio. This solves the problem of branch overload caused by unreasonable current distribution in multi-battery pack parallel systems, and improves the safety and stability of the system.
Patent Information
- Application Number
- CN202611455999.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-18
- Publication Date
- 2026-11-17
AI Technical Summary
In a multi-battery pack parallel system, improper current distribution in mixed usage scenarios can lead to branch overload and trigger protection in multiple branches, affecting the normal charging and discharging of the system.
By acquiring the battery status information and branch operation information of each parallel battery pack, the current limit value of the cable is determined, and the allowable charging and discharging current is calculated in combination with the battery status information. The total charging and discharging current of the system is allocated according to the equivalent remaining capacity ratio. Excess demand current is iteratively allocated to other branches that have not reached the safe charging and discharging current to ensure that the actual demand current of each branch does not exceed the safe charging and discharging current.
It improves the safety and stability of the charging and discharging process of multi-battery pack parallel systems, and reduces the possibility of overload of branches with low load-bearing capacity and the successive triggering of protection by multiple branches.
Smart Images

Figure CN123121885A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of battery management technology, and in particular to a method, system, device and storage medium for controlling the current of multiple battery packs in parallel. Background Technology
[0002] With the development of outdoor energy storage devices, portable power supplies, and battery reuse, multiple battery packs are typically connected in parallel to the same system to improve energy storage capacity and charging / discharging power. As the demand for equipment expansion and upgrades increases, battery packs with different capacities, service lives, or health conditions may be connected to the same parallel system simultaneously, along with different specifications of connecting cables and inverters / chargers of different power ratings. This creates application scenarios where multiple battery packs and their connection conditions are used in combination.
[0003] Existing multi-battery pack parallel systems typically obtain parameters such as state of charge, battery temperature, and allowable charge / discharge current through the battery management system of each battery pack. Based on preset power state limits or fixed allocation coefficients, the system's charging or discharging current is distributed to each battery pack branch, and the corresponding DC-DC converter then performs current regulation. Connecting cables are generally pre-selected according to the rated capacity or rated current of the battery packs. The current distribution process is usually based on the premise that each battery pack and its connecting cables have similar or identical performance to avoid any single battery pack exceeding its allowable charge / discharge current.
[0004] However, when parallel battery packs differ in capacity, health status, and actual charge / discharge capabilities, and when different wire diameters or lengths of cables are used in each branch, the electrical performance and safety carrying capacity of each branch will also vary. Existing technologies typically control the charge and discharge of multiple battery packs according to a pre-set current distribution relationship, primarily applicable to scenarios where the battery packs and connecting cables are identical or similar. In mixed-use scenarios, performance differences between branches can easily cause the actual current distribution to deviate from the preset result, leading to branches with lower carrying capacity reaching their operating limits first and triggering protection. After some branches are restricted, the system current will redistribute, potentially causing other branches to reach their operating limits successively, thus affecting the normal charge and discharge of the multi-battery pack parallel system. Therefore, how to avoid branch overload and successive protection triggering of multiple branches due to unreasonable current distribution in multi-battery pack parallel systems under mixed-use scenarios has become a pressing problem to be solved in this field. Summary of the Invention
[0005] This application provides a method, system, device, and storage medium for controlling the current of multiple battery packs in parallel, which can improve the safety and stability of the charging and discharging process of a multi-battery pack parallel system. This application provides the following technical solution: In a first aspect, this application provides a method for controlling the current of multiple battery packs connected in parallel, the control method comprising the following steps: Obtain the battery status information of each parallel battery pack and the branch operation information of each battery pack branch, and determine the cable current limit value of each branch based on the branch operation information; The allowable charge and discharge current of each battery pack is determined by combining the battery status information, and the smaller value between the allowable charge and discharge current and the corresponding cable current limit value is used as the safe charge and discharge current of each branch. Based on the battery status information, the equivalent remaining capacity of each battery pack is calculated, the total charging and discharging current of the system is determined, and the total charging and discharging current of the system is allocated according to the ratio of the equivalent remaining capacity of each battery pack to obtain the theoretical required current of each branch. The portion of the theoretical demand current that exceeds the corresponding safe charging and discharging current is taken as the excess demand current. The excess demand current is then iteratively distributed to other branches that have not reached the corresponding safe charging and discharging current until the excess demand current is zero, thereby obtaining the actual demand current of each branch. The corresponding battery pack is then charged or discharged according to the actual demand current.
[0006] In one specific implementation scheme, determining the cable current limiting value for each branch based on the branch operation information includes the following steps: When the branch current of any branch is greater than a preset current threshold and the change in the branch current is less than a preset change threshold, the inverter terminal voltage, battery pack output terminal voltage, branch current and cable temperature of the corresponding branch are obtained. Using the absolute value of the voltage difference between the inverter terminal voltage and the battery pack output terminal voltage, and the branch current, the branch bus resistance of the corresponding branch is calculated. The branch bus resistance includes the cable conductor resistance and the contact resistance at the cable connection. Based on the cable temperature, the branch line resistance is matched with the theoretical resistance range corresponding to different cable specifications to determine the cable specification of the corresponding branch and obtain the cable current limit value corresponding to the cable specification.
[0007] In one specific implementation, matching the branch line resistance with the theoretical line resistance range corresponding to different cable specifications includes the following steps: For each cable specification, based on the corresponding cable length, cable cross-sectional area, and resistivity at different temperatures, the first theoretical line resistance is calculated when the cable temperature is reduced by the temperature sampling error, and the second theoretical line resistance is calculated when the cable temperature is increased by the temperature sampling error. The first theoretical line resistance is used as the lower limit of the corresponding theoretical line resistance range, and the sum of the second theoretical line resistance and the preset maximum normal contact resistance is used as the upper limit of the corresponding theoretical line resistance range. The cable specification corresponding to the theoretical line resistance range of the branch bus resistance is determined as the cable specification of the corresponding branch, and the corresponding cable current limit value is obtained. When the bus resistance of the branch is greater than the upper limit of each theoretical resistance range, the minimum value among the cable current limiting values corresponding to different cable specifications is determined as the cable current limiting value of the corresponding branch.
[0008] In one specific implementation scheme, determining the allowable charge / discharge current of each battery pack based on the battery status information, and using the smaller value between the allowable charge / discharge current and the corresponding cable current limit value as the safe charge / discharge current of each branch, includes the following steps: Based on the battery temperature and state of charge of each battery pack, determine the current allowable charging current and current allowable discharging current of the corresponding battery pack. An exponential decay model is established by combining the health status and cycle number of each battery pack, and the current allowable charging current and the current allowable discharging current are corrected by the exponential decay model to obtain the allowable charging current and allowable discharging current of the corresponding battery pack. The temperature correction factor is determined according to the cable temperature of each branch, and the cable current limit value of the corresponding branch is corrected using the temperature correction factor to obtain the temperature-corrected cable current limit value. The smaller of the allowable charging current and the cable current limit value corrected for the corresponding branch temperature is determined as the safe charging current of the corresponding branch, and the smaller of the allowable discharging current and the cable current limit value corrected for the corresponding branch temperature is determined as the safe discharging current of the corresponding branch.
[0009] In one specific implementation scheme, determining the temperature correction factor according to the cable temperature of each branch includes the following steps: Obtain a preset first temperature threshold and a second temperature threshold, wherein the second temperature threshold is higher than the first temperature threshold; When the cable temperature is not higher than the first temperature threshold, the temperature correction coefficient is set to one. When the cable temperature is higher than the first temperature threshold and lower than the second temperature threshold, calculate the first difference between the second temperature threshold and the cable temperature, and the second difference between the second temperature threshold and the first temperature threshold, and determine the ratio of the first difference to the second difference as the temperature correction coefficient; When the cable temperature is not lower than the second temperature threshold, the temperature correction coefficient is set to zero.
[0010] In a specific feasible implementation, the step of calculating the equivalent remaining capacity of each battery pack based on the battery state information, determining the total system charge / discharge current, and allocating the total system charge / discharge current according to the proportion of the equivalent remaining capacity of each battery pack to obtain the theoretical required current of each branch includes the following steps: In the charging state, the equivalent remaining charging capacity is calculated based on the battery capacity, health status, and state of charge of each battery pack; in the discharging state, the equivalent remaining discharging capacity is calculated based on the battery capacity, health status, state of charge, and preset minimum state of charge of each battery pack. Obtain the charging and discharging current limit and the actual current of each branch. Select the minimum value from the charging and discharging current limit, the sum of the safe charging and discharging current of each branch, and the sum of the actual current of each branch to obtain the total charging and discharging current of the system. The theoretical charging and discharging time is obtained by calculating the ratio of the sum of the equivalent remaining capacity of each battery pack under the current charging and discharging state to the total charging and discharging current of the system. The theoretical current requirement for the corresponding branch is obtained by dividing the equivalent remaining capacity of each battery pack by the theoretical charge / discharge time.
[0011] In a specific feasible implementation, the step of treating the portion of each theoretically required current that exceeds the corresponding safe charging and discharging current as excess required current, and iteratively allocating the excess required current to other branches that have not reached the corresponding safe charging and discharging current, includes: Calculate the difference between the theoretical demand current and the corresponding safe charging and discharging current for each branch, sum the differences to obtain the excess demand current, and determine the actual demand current of the branch whose theoretical demand current exceeds the corresponding safe charging and discharging current as the corresponding safe charging and discharging current. The excess demand current is allocated according to the proportion of the equivalent remaining capacity of other branches whose theoretical demand current has not reached the corresponding safe charging and discharging current to the sum of the equivalent remaining capacities of all other branches. The actual demand current of the corresponding branch is the smaller of the sum of the theoretical demand current of the corresponding branch and the allocated current, and the corresponding safe charging and discharging current. If there is excess demand current that has not been allocated, the allocation continues according to the proportion of the equivalent remaining capacity of the branches whose actual demand current has not reached the corresponding safe charging and discharging current, until the excess demand current is zero.
[0012] Secondly, this application provides a multi-battery pack parallel current control system, the control system comprising: The branch current limiting determination module is used to obtain the battery status information of each parallel battery pack and the branch operation information of each battery pack branch, and determine the cable current limiting value of each branch based on the branch operation information. The safe current determination module is used to determine the allowable charge and discharge current of each battery pack by combining the battery status information, and to use the smaller value between the allowable charge and discharge current and the corresponding cable current limit value as the safe charge and discharge current of each branch. The theoretical current allocation module is used to calculate the equivalent remaining capacity of each battery pack based on the battery status information, determine the total charging and discharging current of the system, allocate the total charging and discharging current of the system according to the ratio of the equivalent remaining capacity of each battery pack, and obtain the theoretical demand current of each branch. The actual demand adjustment module is used to take the portion of the theoretical demand current that exceeds the corresponding safe charging and discharging current as the excess demand current, and iteratively distribute the excess demand current to other branches that have not reached the corresponding safe charging and discharging current until the excess demand current is zero, thereby obtaining the actual demand current of each branch, and controlling the charging or discharging of the corresponding battery pack according to the actual demand current.
[0013] Thirdly, this application provides an electronic device including a processor and a memory, wherein the memory stores a program that is loaded and executed by the processor to implement the multi-battery pack parallel current control method as described above.
[0014] Fourthly, this application provides a computer-readable storage medium storing a program that, when executed by a processor, is used to implement the aforementioned multi-battery pack parallel current control method.
[0015] By acquiring the battery status information of each parallel battery pack and the operating information of each branch, the current limit value of each branch's cable is determined. The smaller value between the battery pack's allowable charging and discharging current and the corresponding cable current limit value is taken as the safe charging and discharging current of the branch. Subsequently, the total charging and discharging current of the system is allocated according to the equivalent remaining capacity ratio of each battery pack to obtain the theoretical current requirement of each branch. The portion exceeding the safe charging and discharging current is iteratively allocated to other branches that still have current carrying capacity, resulting in the actual current requirement for controlling the charging or discharging of the battery packs. Thus, the current allocation of each branch can be limited by both the allowable charging and discharging capacity of the battery pack and the carrying capacity of the connecting cables, and corresponds to the remaining charging and discharging needs of each battery pack. When some branches cannot bear the initially allocated current, the excess portion can be carried by other branches, ensuring that the actual current requirement of each branch does not exceed the corresponding safe charging and discharging current. While meeting the overall charging and discharging needs of the system, this reduces the possibility of overload in branches with lower carrying capacity and the successive triggering of protection by multiple branches, improving the safety and stability of the charging and discharging process of the multi-battery pack parallel system.
[0016] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, the preferred embodiments of this application are described in detail below with reference to the accompanying drawings. Attached Figure Description
[0017] Figure 1 This is a flowchart illustrating the parallel current control method for multiple battery packs in this embodiment.
[0018] Figure 2 This is a flowchart illustrating step S100 in an embodiment of this application.
[0019] Figure 3 This is a flowchart illustrating step S200 in an embodiment of this application.
[0020] Figure 4 This is a flowchart illustrating step S300 in an embodiment of this application.
[0021] Figure 5 This is a schematic diagram of the overall process of the multi-battery pack parallel current control method in the embodiments of this application.
[0022] Figure 6 This is a structural block diagram of the multi-battery pack parallel current control system in the embodiments of this application.
[0023] Figure 7 This is a block diagram of an electronic device for parallel current control of multiple battery packs in an embodiment of this application. Detailed Implementation
[0024] The specific embodiments of this application will be described in further detail below with reference to the accompanying drawings and examples. The following examples are used to illustrate this application, but are not intended to limit the scope of this application.
[0025] This application provides a method for controlling the current of multiple battery packs connected in parallel, applicable to battery systems in which multiple battery packs are connected in parallel to an inverter. In one embodiment, each battery pack forms a battery pack branch via corresponding connecting cables, and each battery pack branch is equipped with a DC-DC converter for regulating the branch current. The controller communicates with the battery management system and the DC-DC converter of each battery pack to obtain battery status information of each battery pack and branch operation information of each battery pack branch, and outputs current control information to each DC-DC converter.
[0026] Reference Figure 1 This is a flowchart illustrating a method for controlling the parallel current of multiple battery packs according to an embodiment of this application. The control method includes at least the following steps: Step S100: Obtain the battery status information of each parallel battery pack and the branch operation information of each battery pack branch, and determine the cable current limit value of each branch based on the branch operation information.
[0027] In step S100, the controller (such as a host or energy management system (EMS)) communicates with the battery management systems of each parallel battery pack via a communication bus to obtain the battery status information of each parallel battery pack and collect the branch operation information of each battery pack branch. In one specific embodiment, the controller is a microcontroller unit, and the battery management system is used to collect and output the corresponding battery pack operation data.
[0028] Battery status information includes, but is not limited to, state of charge (SOC), state of health, battery capacity, battery temperature, and cycle count. Branch operation information includes, but is not limited to, inverter terminal voltage, battery pack output voltage, branch current, and cable temperature. Inverter terminal voltage refers to the voltage at the DC input port of the inverter. Cable temperature is measured by selecting a representative measurement point at the cable connection port, installing a temperature sampling device at that port, and using the temperature at that point as the monitored quantity for that branch cable. Battery status information is used to determine the allowable charge / discharge current and equivalent remaining capacity of each battery pack, while branch operation information is used to determine the branch bus resistance and cable current limiting values for each branch.
[0029] The controller pre-stores cable length, cross-sectional area, theoretical line resistance parameters at different temperatures, and current limiting values for different cable specifications, establishing a correspondence between cable specifications and theoretical line resistance parameters and current limiting values. Cable length and cross-sectional area are used to calculate the theoretical line resistance of the corresponding cable specification at different temperatures, and the current limiting value is used to characterize the upper limit of current that the corresponding cable specification can carry.
[0030] Because the connecting cables used in each battery pack branch vary in cable specifications, length, and contact resistance, and the resistivity of the cable material changes with temperature, it is difficult to accurately reflect the actual resistance state of the branch based solely on the nominal parameters of the cables. Therefore, when the branch current meets the line resistance detection conditions, the controller calculates the total line resistance of the corresponding branch using the inverter terminal voltage, battery pack output voltage, and branch current. It then combines this with the cable temperature to match the total line resistance with the theoretical line resistance range corresponding to different cable specifications. Based on the matching result, the cable specifications for the corresponding branch are determined, and the corresponding cable current limit value is obtained, ensuring that the cable current limit value corresponds to the connecting cable currently used in each branch.
[0031] Reference Figure 2 This is a flowchart illustrating step S100 in an embodiment of this application. Step S100 includes at least the following sub-steps: Step S1001: When the branch current of any branch is greater than the preset current threshold and the change in branch current is less than the preset change threshold, obtain the inverter terminal voltage, battery pack output terminal voltage, branch current and cable temperature of the corresponding branch.
[0032] In step S1001, the controller continuously monitors the branch current of each battery pack branch. When the branch current of any branch is greater than a preset current threshold, it indicates that the current in the current branch is sufficient to generate a detectable cable voltage drop; when the change in branch current is less than a preset change threshold, it indicates that the current branch current is in a relatively stable state. When both of the above conditions are met, the bus resistance detection of the corresponding branch is triggered. By simultaneously limiting the magnitude and change of the branch current, the bus resistance detection is performed when the branch current reaches an effective detection level and is in a relatively stable state, thereby reducing the problem of insignificant voltage difference caused by excessively small current, and the interference caused by rapid current fluctuations on the calculation results of the branch bus resistance.
[0033] In one specific implementation, the preset current threshold is set to 10A, and the preset variation threshold is set to 0.2A. These values are merely one specific setting; the actual values are determined by considering the current sampling accuracy, voltage sampling accuracy, and the rated operating current of the battery system.
[0034] When bus resistance detection is triggered, the controller acquires the inverter terminal voltage, battery pack output terminal voltage, and branch current of the corresponding branch at the same sampling time, and simultaneously acquires the cable temperature of the corresponding connecting cable. The inverter terminal voltage is the voltage of the corresponding branch closest to the inverter (i.e., the voltage of the inverter's DC input port), and the battery pack output terminal voltage is the voltage of the corresponding branch closest to the battery pack.
[0035] Step S1002: Calculate the branch bus resistance of the corresponding branch using the absolute value of the voltage difference between the inverter terminal voltage and the battery pack output terminal voltage and the branch current. The branch bus resistance includes the resistance of the cable conductor and the contact resistance at the cable connection.
[0036] In step S1002, within a short sampling time, the voltage difference between the two ends of the connecting cable mainly originates from the voltage drop across the cable resistance caused by the branch current. Therefore, using the inverter terminal voltage, battery pack output terminal voltage, and branch current obtained at the same sampling time, the branch bus resistance of the corresponding branch is calculated.
[0037] The calculation method for the branch bus resistance is shown in formula (1): (1) in, Indicates the first The branch bus impedance of each branch; Indicates the sampling time The obtained inverter terminal voltage; Indicates the sampling time The obtained The output voltage of each battery pack; Indicates the sampling time The obtained The branch current of each branch, whether charging or discharging, is represented by a positive number.
[0038] The branch bus resistance includes not only the resistance of the cable conductors themselves, but also the contact resistance generated by the cable terminals, connectors and other connection points, as shown in formula (2): (2) in, Indicates the first Resistance of the cable conductors in each branch; Indicates the first Contact resistance at cable connections in each branch circuit.
[0039] By incorporating both cable conductor resistance and contact resistance into the branch line resistance, the calculation results reflect the overall resistance status of the corresponding branch. Compared to methods that determine line resistance solely based on cable material, length, and cross-sectional area, this implementation also considers the additional resistance generated by cable terminals and connectors, avoiding underestimation of the actual line resistance of the branch due to neglecting contact resistance.
[0040] Step S1003: Based on the cable temperature, match the branch bus resistance with the theoretical resistance range corresponding to different cable specifications to determine the cable specifications of the corresponding branch and obtain the cable current limit value corresponding to the cable specifications.
[0041] In step S1003, the controller pre-stores the cable length, cross-sectional area, current limit value, and resistivity at different temperatures corresponding to multiple candidate cable specifications. Using the cable temperature collected in step S1001 as the current temperature, the theoretical line resistance of each candidate cable specification at the current temperature is determined, and the branch bus resistance obtained in step S1002 is matched with the theoretical line resistance range corresponding to each candidate cable specification.
[0042] Because the resistivity of cable materials changes with temperature, the theoretical line resistance of the same cable specification varies at different temperatures. For the first... This type of cable specification has temperature characteristics. The theoretical line resistance is expressed as shown in formula (3): (3) in, Indicates the first Cable specifications at temperature Theoretical line resistance below; Indicates the temperature of the cable material resistivity below; Indicates the first The cable length corresponding to each cable specification; Indicates the first The cross-sectional area of the cable corresponding to each cable specification.
[0043] For example, when copper wire is used for connecting cables, the resistivity of copper at 20°C is taken as 0.0175 Ω·mm. 2 / m. For a copper cable with a length of 1m, the cross-sectional area is 16mm². 2 The theoretical line resistance of the cable at 20℃ is approximately 1.09mΩ, corresponding to a safe current of 80A; the cross-sectional area is 25mm². 2 The theoretical line resistance of the cable at 20℃ is approximately 0.7mΩ, corresponding to a safe current of 120A. The cable specifications, theoretical line resistance, and safe current mentioned above are used to illustrate the correspondence between different cable specifications and do not constitute a limitation on the specific specifications of the connecting cables.
[0044] Specifically, for each cable specification, based on the corresponding cable length, cross-sectional area, and resistivity at different temperatures, a first theoretical line resistance is calculated when the cable temperature is reduced by the temperature sampling error, and a second theoretical line resistance is calculated when the cable temperature is increased by the temperature sampling error. The first theoretical line resistance is used as the lower limit of the corresponding theoretical line resistance range, and the sum of the second theoretical line resistance and the preset maximum normal contact resistance is used as the upper limit of the corresponding theoretical line resistance range.
[0045] For the The branch road and the first For various cable specifications, the matching relationship between the branch line resistance and the theoretical line resistance range is expressed as shown in formula (4): (4) in, Indicates the first The branch bus impedance of each branch; Indicates the first Cable specifications at temperature Theoretical line resistance below; Indicates the temperature of the cable material resistivity below; Indicates the temperature of the cable material resistivity below; Indicates the temperature of the cable material resistivity below; This indicates the temperature sampling error; This represents the preset maximum normal contact resistance when the cable is in a normal connection state. In the above matching relationship, the calculation result on the left side of the inequality is the first theoretical line resistance, which is used to limit the lower limit of the theoretical line resistance range; the calculation result on the right side of the inequality without the preset maximum normal contact resistance is the second theoretical line resistance, and the sum of the second theoretical line resistance and the preset maximum normal contact resistance is used to limit the upper limit of the theoretical line resistance range.
[0046] In one specific implementation, the temperature sampling error is 2°C, and the preset maximum normal contact resistance is 0.1mΩ. Subtracting and adding the temperature sampling error to the cable temperature respectively can cover the deviation caused by temperature sampling and theoretical line resistance calculation; adding the preset maximum normal contact resistance to the upper limit of the theoretical line resistance range can take into account the contact resistance generated at the cable connection point under normal connection conditions.
[0047] Finally, the cable specifications corresponding to the theoretical line resistance range of the branch bus resistance are determined as the cable specifications of the corresponding branch, and the corresponding cable current limit value is obtained.
[0048] Specifically, when the The branch bus resistance of the first branch is at the first... When the theoretical line resistance is within the range corresponding to the cable specification, the first... The cable specification is determined to be the first The cable specifications of each branch are determined, and the pre-established correspondence between cable specifications and cable current limits is queried to obtain the cable specifications of the first branch. The current limiting value for each branch cable. When the total resistance of the branch cable is greater than the upper limit of the theoretical resistance range, the minimum value among the current limiting values corresponding to different cable specifications is determined as the current limiting value for the corresponding branch cable.
[0049] For example, the battery system pre-stores three cable specifications with current limits of 60A, 80A, and 120A. When the calculated branch bus resistance is greater than the upper limit of the theoretical resistance range corresponding to each cable specification, 60A is determined as the current limit value for the corresponding branch. Therefore, when the cable specification cannot be reliably identified based on the branch bus resistance, the lowest current limit value among the different cable specifications is used to conservatively limit the current of the corresponding branch.
[0050] Through the above processing, when the branch current reaches an effective detection level and is in a relatively stable state, the voltage across the branch is collected, which reduces the impact of current fluctuations on the calculated branch bus resistance. Including the cable conductor resistance and the contact resistance at the connection point into the branch bus resistance ensures that the detection results reflect the overall resistance characteristics of the branch, rather than just the nominal parameters of the cable. Further combining cable temperature, temperature sampling error, and maximum normal contact resistance to construct a theoretical line resistance range reduces the interference of temperature changes, sampling deviations, and normal connection resistance on the cable specification identification results. When the branch bus resistance cannot match the pre-stored cable specifications, a conservative limit is implemented using the lowest cable current limit value to avoid allocating excessive current to branches with lower load-bearing capacity due to misjudgment of cable specifications. Therefore, step S100 determines the corresponding cable current limit value based on the actual operating state of each branch, creating current constraints corresponding to the load-bearing capacity of different specifications of connecting cables, reducing the risk of connecting cable overload and abnormal temperature.
[0051] Step S200: Determine the allowable charging and discharging current of each battery pack based on the battery status information, and use the smaller value between the allowable charging and discharging current and the corresponding cable current limit value as the safe charging and discharging current of each branch.
[0052] In step S200, the controller retrieves the state of charge (SOC), health status, battery temperature, and cycle count from the battery status information, and obtains the current limit values for each branch cable determined in step S100, as well as the corresponding cable temperatures. SOC and battery temperature characterize the current charge / discharge state of the battery pack, health status and cycle count characterize the aging degree of the battery pack, and cable temperature characterizes the current thermal state of the connecting cables. The controller first determines the allowable charging and discharging currents for each battery pack in its current state based on the battery temperature and SOC, and then performs aging corrections on these currents based on the health status and cycle count. Simultaneously, the controller performs temperature corrections on the cable current limit values obtained in step S100 based on the cable temperature. Finally, the allowable charging and discharging currents of the battery pack are compared with the temperature-corrected cable current limit values for the corresponding branch to determine the safe charging current and safe discharging current.
[0053] Reference Figure 3 This is a flowchart illustrating step S200 in an embodiment of this application. Step S200 includes at least the following sub-steps: Step S2001: Based on the battery temperature and state of charge of each battery pack, determine the current allowable charging current and the current allowable discharging current of the corresponding battery pack.
[0054] In step S2001, the controller obtains the first... Battery temperature of each battery pack and state of charge The controller pre-stores the correspondence between battery temperature, state of charge, and allowable charge / discharge current. This correspondence records the allowable charging current and allowable discharging current for different battery temperature ranges and different state of charge ranges, respectively.
[0055] Specifically, the controller will control the battery temperature. The target temperature range for the battery is determined by comparing it with preset battery temperature ranges; the state of charge is then determined. The target state of charge interval is determined by comparing it with each preset state of charge interval; then, the correspondence between the target temperature interval and the target state of charge interval is looked up to obtain the first... The current allowable charging current of the battery pack and the current allowable discharge current The correspondence specifies the current values for the charging and discharging states. The currently allowed charging current is used to characterize the first... The upper limit of the charging current that a battery pack can withstand under the current battery temperature and state of charge; the current allowable discharge current is used to characterize the first... The upper limit of the discharge current that a battery pack can withstand under the current battery temperature and state of charge.
[0056] Battery temperature affects the rate of internal electrochemical reactions and current carrying capacity, while the state of charge (SOC) reflects the current remaining charge of the battery pack. When the battery temperature is within a suitable range and the SOC is within the normal operating range, the corresponding current allowable charge / discharge current is relatively high. When the battery temperature deviates from the suitable range, or the SOC is close to full charge or near minimum SOC, the corresponding current allowable charge or discharge current decreases. Therefore, the determined current allowable charge / discharge current is adapted to the current temperature and remaining charge of the battery pack.
[0057] Step S2002: Establish an exponential decay model based on the health status and cycle number of each battery pack, and use the exponential decay model to correct the current allowable charging current and the current allowable discharging current respectively, so as to obtain the allowable charging current and allowable discharging current of the corresponding battery pack.
[0058] In step S2002, the controller obtains the first... Health status of each battery pack Current loop count and standard number of cycles Among them, health status reflects the degree to which the current capacity and power performance of the battery pack are maintained relative to the initial state; current cycle count reflects the number of charge-discharge cycles the battery pack has undergone; standard cycle count indicates the number of cycles the battery pack can achieve when operating according to the standard charge-discharge method.
[0059] As the current cycle count increases or the battery health condition decreases, the battery pack's ability to withstand continuous charge and discharge current gradually declines. Therefore, the controller establishes an exponential decay model based on the health condition and cycle count, as shown in equation (5): (5) in, Indicates the first The exponential decay value of each battery pack; This indicates the parameter limiting the number of iterations. Indicates health status limitation parameters; Indicates the standard number of loop iterations; Indicates the first The current cycle count of each battery pack; Indicates the first The health status of each battery pack; This indicates that the maximum value among the values within the parentheses is selected.
[0060] The current allowable charging current and the current allowable discharging current obtained in step S2001 are corrected using the exponential decay model, as shown in formulas (6) and (7) respectively: (6) (7) in, Indicates the first The allowable charging current of each battery pack; Indicates the first The allowable discharge current of each battery pack; Indicates the first The current allowable charging current of each battery pack; Indicates the first The current allowable discharge current of each battery pack; Indicates the first The exponential decay value of each battery pack.
[0061] In implementation, the standard cycle count is determined according to the battery pack's standard charge / discharge method and design life. When the current cycle count exceeds half of the standard cycle count, the cycle count limits the allowable charge / discharge current; as the current cycle count continues to increase, the exponential decay value gradually decreases. When the state of health drops below 90%, the state of health limits the allowable charge / discharge current; as the state of health continues to decrease, the exponential decay value further decreases. The cycle count and state of health each contribute to the decay effect and together influence the final exponential decay value.
[0062] In one specific implementation, the loop count limit parameter This indicates the strength of the effect of increasing the number of iterations on the degree of exponential decay; the iteration count limit parameter. satisfy: When the number of loops is proportional When it is not higher than 0.5, When the value is zero, the number of cycles does not apply attenuation correction to the current allowable charge / discharge current. When the cycle count ratio... Above 0.5, the decay rate corresponding to the number of cycles increases with the proportion of cycles. When the proportion of cycles increases from 0.5 to 1.0, the exponential term corresponding to the number of cycles increases from zero to... The current correction ratio caused by the number of cycles is reduced from 1 to 0.5, meaning that the allowable charge and discharge current is reduced to half of the original value due to cycle aging factors.
[0063] Health status limit parameters The health status limiting parameter indicates the strength of the effect of declining health status on the degree of exponential decay. satisfy: When the proportion of healthy individuals When it is not lower than 0.9, When the value is zero, the healthy state does not perform attenuation correction on the current allowable charge / discharge current. When the healthy state ratio... Below 0.9, the degree of decline in the health status increases as the proportion of healthy individuals decreases. When the proportion of healthy individuals decreases from 0.9 to 0.8, the exponential term corresponding to the health status increases from zero to... The current correction ratio caused by the health status is reduced from 1 to 0.5, which means that the allowable charging and discharging current is reduced to half of the original value due to the decline in health status.
[0064] In summary, the cycle count and health status factors each affect the exponential decay model. When both factors simultaneously reach their corresponding decay conditions, both exponential terms increase together, further reducing the exponential decay value and thus imposing stricter charge and discharge current limits on battery packs with higher aging levels.
[0065] Referring to Table 1, which shows the calculation results of the exponential decay model under different cycle number ratios and health status ratios, it is used to illustrate the influence of cycle number factors, health status factors, and the combined effect of the two on the exponential decay value.
[0066] Table 1. Exponential decay results under different cycle number ratios and health status ratios.
[0067] As shown in Table 1, when the cycle count ratio is below 0.5 and the healthy state ratio is above 0.9, neither the cycle count nor the healthy state meets the decay condition, resulting in an exponential value of zero and an exponential decay value of 1. The current allowable charging current and current allowable discharging current are not corrected. When the cycle count ratio exceeds 0.5 and the healthy state ratio remains above 0.9, only the cycle count factor causes the decay; for example, when the cycle count ratio is 0.6, the exponential decay value is 0.871, indicating a slight limitation on the allowable charging and discharging current. When the cycle count ratio is below 0.5 and the healthy state ratio is below 0.9, only the healthy state factor causes the decay; for example, when the healthy state ratio is 0.85, the exponential decay value is 0.707, indicating that the decline in healthy state further limits the allowable charging and discharging current.
[0068] When both the cycle count ratio and the health status ratio reach their corresponding decay conditions, the index values corresponding to the two factors are superimposed, further reducing the exponential decay value. For example, when the cycle count reaches the standard cycle count and the health status ratio decreases to 0.80, the index values corresponding to both the cycle count factor and the health status factor are 0.6931. The superimposed index value is 1.3862, the exponential decay value is 0.250, and the allowable charging current and allowable discharging current are reduced to 25% of the current allowable charging current and the current allowable discharging current, respectively.
[0069] Therefore, Table 1 shows that the exponential decay model can distinguish between three states: no aging, single-factor aging, and dual-factor aging. When both cycle count and health status are within normal ranges, the original allowable charge / discharge current is maintained. When any aging factor reaches the decay condition, the allowable charge / discharge current is reduced according to the corresponding degree of aging. When two aging factors exist simultaneously, the limitation is further increased by superimposing exponential values. This results in a continuous decrease in the allowable charge / discharge current of the battery pack with increasing cycle count and declining health status, and different charge / discharge current limits are applied to battery packs with different degrees of aging.
[0070] In another specific implementation, the loop count limit parameter and health status limit parameters The target current retention ratio when the battery pack reaches the set lifespan is determined. The cycle count limit parameter is used to adjust the decay rate corresponding to the cycle count factor, and the health status limit parameter is used to adjust the decay rate corresponding to the health status factor; the larger the parameter value, the faster the exponential decay value decreases, and the higher the degree of restriction on the allowable charge and discharge current.
[0071] Based on the aforementioned parameter values, when the number of cycles reaches the standard number of cycles, the decay ratio corresponding to the number of cycles factor is 0.5; when the health status ratio decreases to 0.8, the decay ratio corresponding to the health status factor is also 0.5. When both factors reach the set state simultaneously, the exponential decay value is the product of the two, i.e., 0.25, allowing the charging and discharging current to decrease to 25% of the current allowable charging and discharging current.
[0072] When it is necessary to reduce the current limit at the end of the lifespan, reduce the cycle count limit parameter and the health state limit parameter respectively. For example, reduce the current limit at the end of the lifespan. and After adjusting both to half their original values, the decay ratios corresponding to the cycle count factor and health status factor under the set conditions were both adjusted from 0.5 to approximately 0.707. The exponential decay value when both factors act together is approximately 0.5, ensuring that the allowable charge / discharge current remains at 50% of the current allowable charge / discharge current at the end of the lifespan. Therefore, by adjusting... and The value of can be set to define the cyclic aging factor, the healthy state aging factor, and the current limitation degree when both are combined, so that the exponential decay model corresponds to the battery pack's life design and the target current retention ratio.
[0073] By using an exponential decay model to correct the current allowable charging current and current allowable discharging current, the allowable charging and discharging current of the battery pack gradually decreases as the number of cycles increases and the health status decreases. This prevents the aging battery pack from continuing to operate at the current capacity of the initial state, and reduces the performance degradation and safety risks caused by continuous high current to the aging battery pack.
[0074] Step S2003: Determine the temperature correction coefficient according to the cable temperature of each branch, and use the temperature correction coefficient to correct the cable current limit value of the corresponding branch to obtain the temperature-corrected cable current limit value.
[0075] In step S2003, the controller acquires a preset first temperature threshold and a second temperature threshold, wherein the second temperature threshold is higher than the first temperature threshold. The first temperature threshold is used to divide the temperature range between when the cable current limiting value remains unchanged and when it begins to decrease, and the second temperature threshold is used to divide the temperature range between when the cable current limiting value gradually decreases and when it decreases to zero.
[0076] When the cable temperature is not higher than the first temperature threshold, the temperature correction factor is set to one; when the cable temperature is higher than the first temperature threshold and lower than the second temperature threshold, the first difference between the second temperature threshold and the cable temperature, and the second difference between the second temperature threshold and the first temperature threshold are calculated, and the ratio of the first difference to the second difference is determined as the temperature correction factor; when the cable temperature is not lower than the second temperature threshold, the temperature correction factor is set to zero.
[0077] No. The temperature correction coefficient for each branch is expressed as shown in formula (8): (8) in, Indicates the first Temperature correction factor for each branch; Indicates the first The cable temperature of each branch; Indicates the first temperature threshold; This represents the second temperature threshold. When the cable temperature is not higher than the first temperature threshold, the temperature correction factor is 1, and the cable current limit remains unchanged. When the cable temperature is higher than the first temperature threshold but lower than the second temperature threshold, the temperature correction factor gradually decreases as the cable temperature increases. When the cable temperature reaches or exceeds the second temperature threshold, the temperature correction factor is zero, and the current input or output of the corresponding branch is stopped.
[0078] In one specific embodiment, the first temperature threshold is 60°C, and the second temperature threshold is 70°C. These temperature values are used to illustrate the piecewise variation of the temperature correction coefficient and do not constitute a limitation on the specific values of the first and second temperature thresholds.
[0079] Subsequently, the cable current limit value determined in step S100 is corrected using a temperature correction factor, as shown in formula (9): (9) in, Indicates the first Temperature-corrected cable current limiting values for each branch; Indicates the first Current limiting values for cables in each branch; Indicates the first Temperature correction factor for each branch.
[0080] By segmenting and determining the temperature correction coefficient, the original carrying capacity of the cable is maintained when the cable temperature is within the normal range. As the cable temperature continues to rise, the current limiting value of the cable is gradually reduced. When the cable temperature reaches the second temperature threshold, the current limiting value of the cable is reduced to zero, thereby suppressing the cable temperature from rising further under continuous high current.
[0081] Step S2004: Determine the smaller value between the allowable charging current and the cable current limit value after temperature correction for the corresponding branch as the safe charging current for the corresponding branch, and determine the smaller value between the allowable discharging current and the cable current limit value after temperature correction for the corresponding branch as the safe discharging current for the corresponding branch.
[0082] In step S2004, the allowable charging current and allowable discharging current represent the upper limit of charging current and discharging current that the battery pack can withstand under the current temperature, state of charge and aging degree, respectively; the temperature-corrected cable current limit value represents the upper limit of current that the connecting cable can withstand under the current cable temperature.
[0083] No. The safe charging current of each branch is expressed as shown in formula (10): (10) No. The safe discharge current of each branch is expressed as shown in formula (11): (11) in, Indicates the first The safe charging current for each branch circuit; Indicates the first The safe discharge current of each branch; Indicates the first Temperature-corrected cable current limiting values for each branch; Indicates the first The allowable charging current of each battery pack; Indicates the first The permissible discharge current of each battery pack.
[0084] When the battery pack's permissible charging current is lower than the temperature-corrected cable current limit, the safe charging current is determined by the battery pack's charging capacity; when the temperature-corrected cable current limit is lower than the battery pack's permissible charging current, the safe charging current is determined by the connecting cable's capacity. The safe discharging current is determined using the same method.
[0085] By using both the battery pack's permissible charge / discharge current and the temperature-corrected cable current limit as the basis for branch current limiting, the safe charge / discharge current is constrained by the current boundaries on both the battery side and the cable side. Therefore, when the battery pack ages or the connecting cable temperature rises, the safe charge / discharge current of the corresponding branch can be reduced accordingly. This avoids neglecting the safety limits on the other side when determining the current upper limit solely based on the battery pack's condition or the cable's nominal specifications, thus reducing the risk of battery pack overcurrent, connecting cable overheating, and branch protection triggering.
[0086] Step S300: Calculate the equivalent remaining capacity of each battery pack based on the battery status information, determine the total charging and discharging current of the system, allocate the total charging and discharging current of the system according to the ratio of the equivalent remaining capacity of each battery pack, and obtain the theoretical demand current of each branch.
[0087] In step S300, the controller acquires the battery capacity, health status, and state of charge of each battery pack, and calls the safe charge / discharge current for each branch determined in step S200. Simultaneously, the controller acquires the charge / discharge current limits and the actual current of each branch. The equivalent remaining capacity characterizes the actual amount of electricity the battery pack still needs to charge or discharge under its current health status and state of charge. In the charging state, the equivalent remaining capacity represents the amount of electricity the battery pack still needs to charge before reaching a fully charged state; in the discharging state, the equivalent remaining capacity represents the amount of electricity the battery pack can discharge while retaining the amount of electricity corresponding to the minimum state of charge.
[0088] In practice, the controller determines the total charging and discharging current of the system based on the current output capability of the charger / inverter, the safe charging and discharging capability of each branch, and the current actual current. Then, it calculates the unified theoretical charging and discharging time using the equivalent remaining capacity of each battery pack and the total charging and discharging current of the system, and obtains the theoretical required current of each branch accordingly.
[0089] Reference Figure 4 This is a flowchart illustrating step S300 in an embodiment of this application. Step S300 includes at least the following sub-steps: Step S3001: In the charging state, calculate the corresponding equivalent remaining charging capacity based on the battery capacity, health status, and state of charge of each battery pack; in the discharging state, calculate the corresponding equivalent remaining discharging capacity based on the battery capacity, health status, state of charge, and preset minimum state of charge of each battery pack.
[0090] In step S3001, the controller obtains the first... Battery capacity of each battery pack Health status and state of charge Battery capacity represents the nominal capacity of the battery pack. State of health reflects the degree to which the battery pack's current actual capacity is maintained relative to its initial capacity. State of charge reflects the proportion of the battery pack's current remaining charge to its actual capacity. It should be noted that state of health and state of charge are used in proportional calculations.
[0091] In the charging state, the first The equivalent remaining charging capacity of each battery pack is expressed as shown in formula (12): (12) in, Indicates the first The equivalent remaining charging capacity of each battery pack; Indicates the first The battery capacity of each battery pack; Indicates the first The health status of each battery pack; Indicates the first The state of charge of each battery pack. Where, This represents the current actual capacity after adjusting for health status. This represents the percentage of the battery pack that has not been charged from its current state of charge to its fully charged state. Multiplying these two values gives the amount of charge the battery pack still needs.
[0092] For example, when the battery capacity is 100Ah, the health status is 90%, and the state of charge is 60%, the current actual capacity after considering the health status is 90Ah, the uncharged percentage is 40%, and the corresponding equivalent remaining charging capacity is 36Ah.
[0093] In the discharge state, the first The equivalent remaining discharge capacity of a battery pack is expressed as shown in formula (13): (13) in, Indicates the first The equivalent remaining discharge capacity of each battery pack; Indicates the preset minimum state of charge; This indicates the percentage of the battery pack that can be discharged from its current state of charge (SOC) to a preset minimum SOC. The preset minimum SOC is used to retain some charge within the battery pack, preventing it from continuously discharging until the cells are completely depleted. In one specific embodiment, the preset minimum SOC is set to 0.05 or 0.02, representing the point at which the battery pack stops discharging when its SOC reaches 5% or 2%, respectively. When the SOC is not higher than the preset minimum SOC, the corresponding equivalent remaining discharge capacity of the battery pack is zero.
[0094] For example, when the battery capacity is 100Ah, the health status is 90%, the state of charge is 60%, and the preset minimum state of charge is 5%, the current actual capacity after considering the health status is 90Ah, the discharge ratio is 55%, and the corresponding equivalent remaining discharge capacity is 49.5Ah.
[0095] Therefore, the equivalent remaining capacity not only reflects the capacity difference between different battery packs, but also reflects the actual capacity change caused by the decline in health status and the current state of charge difference, avoiding current allocation based solely on nominal capacity or state of charge.
[0096] Step S3002: Obtain the charging and discharging current limit and the actual current of each branch. Select the minimum value from the charging and discharging current limit, the sum of the safe charging and discharging current of each branch, and the sum of the actual current of each branch to obtain the total charging and discharging current of the system.
[0097] In step S3002, during charging, the charge / discharge current limit represents the maximum charging current that the charger can provide; during discharging, the charge / discharge current limit represents the maximum discharging current that the inverter can output; when charging and discharging are completed by the same inverter, the charge / discharge current limit represents the charge / discharge current limit of that inverter. The safe charge / discharge current of each branch is determined by step S200 and is used to characterize the upper limit of current that each battery pack branch can withstand under the current battery and cable conditions. The actual current of each branch is obtained by the current sampling unit of the corresponding branch and is used to characterize the current actual operating current of the battery system.
[0098] During the charging state, the total charging current of the system is expressed as shown in formula (14): (14) in, Indicates the total charging current of the system; This indicates the maximum charging current that the charger / inverter can provide; Indicates the first The safe charging current for each branch circuit; Indicates the first The actual current of each branch in the charging state; This indicates the number of battery packs connected in parallel.
[0099] The maximum charging current that the charger / inverter can provide reflects its output capability; the sum of the safe charging currents of each branch reflects the safe upper limit of the charging current that all branches can withstand; and the sum of the actual currents of each branch reflects the actual charging current currently generated by the battery system. The minimum value among these three is selected so that the total system charging current is simultaneously limited by the charger / inverter capability, the branch safety boundaries, and the current operating state.
[0100] For example, the charger can provide a maximum charging current of 300A. The actual currents of the three branches are 60A, 80A, and 90A, respectively, and the safe charging currents of the three branches are 70A, 80A, and 70A, respectively. The charge / discharge current limit is 300A. The sum of the safe charging currents of all branches is 220A, and the sum of the actual currents of all branches is 230A. Therefore, the total charging current of the system is 220A.
[0101] Under discharge conditions, the total discharge current of the system is expressed as shown in formula (15): (15) in, This represents the total system discharge current; This indicates the maximum discharge current that the inverter can output. Indicates the first The safe discharge current of each branch; Indicates the first The actual current of each branch under discharge conditions.
[0102] Through the above processing, the total charging and discharging current of the system will not exceed the current capacity of the charger / inverter, nor will it exceed the safe current limit that all battery pack branches can jointly withstand under the current state.
[0103] Step S3003: Calculate the ratio of the sum of the equivalent remaining capacity of each battery pack under the current charging and discharging state to the total charging and discharging current of the system, and obtain the theoretical charging and discharging time.
[0104] In step S3003, the theoretical charge / discharge time represents a unified time reference corresponding to the processing of the equivalent remaining capacity of the entire battery pack according to the current total system charge / discharge current. The theoretical charge / discharge time includes the theoretical charging time and the theoretical discharging time.
[0105] In the charging state, the theoretical charging time is expressed as shown in formula (16): (16) in, Indicates the theoretical charging time; Indicates the first The equivalent remaining charging capacity of each battery pack; This represents the total charging current of the system.
[0106] The sum of the equivalent remaining charging capacity of each battery pack represents the total amount of electricity that still needs to be charged to reach a fully charged state. Dividing this total amount of electricity by the total charging current of the system yields the theoretical charging time for all battery packs under uniform distribution conditions.
[0107] Under discharge conditions, the theoretical discharge time is expressed as shown in formula (17): (17) in, Indicates the theoretical discharge time; Indicates the first The equivalent remaining discharge capacity of each battery pack; This represents the total system discharge current.
[0108] The sum of the equivalent remaining discharge capacity of each battery pack represents the total amount of electricity that all battery packs can still discharge after retaining the amount of electricity corresponding to the preset minimum state of charge. Dividing this total amount of electricity by the total discharge current of the system yields the theoretical discharge time of all battery packs under uniform distribution conditions.
[0109] The theoretical charge and discharge time serves as a unified time reference for the current distribution of each branch, enabling battery packs with different capacities, health states, and states of charge to obtain the corresponding current according to their respective remaining charge and discharge needs.
[0110] Step S3004: Divide the equivalent remaining capacity of each battery pack by the theoretical charging and discharging time to obtain the theoretical current requirement of the corresponding branch.
[0111] In step S3004, the controller calculates the theoretical current requirement of each branch based on the equivalent remaining capacity of each battery pack in the current charging and discharging state and the theoretical charging and discharging time obtained in step S3003.
[0112] In the charging state, the first The theoretical current requirement of each branch is expressed as shown in formula (18): (18) in, Indicates the first The theoretical charging current requirement of each branch; Indicates the first The equivalent remaining charging capacity of each battery pack; This indicates the theoretical charging time.
[0113] In the discharge state, the first The theoretical current requirement of each branch is expressed as shown in formula (19): (19) in, Indicates the first The theoretical discharge current required for each branch; Indicates the first The equivalent remaining discharge capacity of each battery pack; This indicates the theoretical discharge time.
[0114] Since all branches use the same theoretical charge / discharge time, the ratio of the theoretical current demand of each branch is consistent with the ratio of the equivalent remaining capacity of the corresponding battery pack. The larger the equivalent remaining capacity, the larger the theoretical current demand of the corresponding branch; the smaller the equivalent remaining capacity, the smaller the theoretical current demand of the corresponding branch. The sum of the theoretical current demand of each branch equals the total charge / discharge current of the system.
[0115] For example, if the equivalent remaining charging capacities of the three battery packs are 60Ah, 80Ah, and 20Ah respectively, and the total charging current of the system is 100A, then the theoretical charging time is: The theoretical charging current requirements for the three branches are as follows: ; ; The sum of the theoretical charging current requirements of the three branches is 100A, which is consistent with the total charging current of the system. The ratio of the theoretical charging current requirements of the three branches is 3:4:1, which is consistent with the ratio of the equivalent remaining charging capacity.
[0116] Through the above processing, step S300 does not evenly distribute the total charging and discharging current of the system, but uses the equivalent remaining capacity, characterized by battery capacity, state of health, and state of charge, as the allocation basis. Battery packs with larger capacity, better state of health, or higher remaining charging and discharging demand receive a larger theoretical current demand, while battery packs with lower remaining charging and discharging demand receive a smaller theoretical current demand. This ensures that all battery packs tend to complete charging or discharging simultaneously under a unified theoretical charging and discharging time, reducing the problem of some battery packs being prematurely charged, prematurely discharged, or bearing unbalanced current for a long time due to differences in battery pack capacity and state.
[0117] Step S400: Take the portion of the theoretical demand current that exceeds the corresponding safe charging and discharging current as the excess demand current, and iteratively allocate the excess demand current to other branches that have not reached the corresponding safe charging and discharging current until the excess demand current is zero, so as to obtain the actual demand current of each branch, and control the charging or discharging of the corresponding battery pack according to the actual demand current.
[0118] In step S400, step S300 obtains the theoretical current demand for each branch according to the equivalent remaining capacity ratio of each battery pack. Due to differences in battery pack status, cable specifications, and cable temperature among different branches, the safe charging and discharging currents of each branch are not the same, and the theoretical current demand for some branches may exceed the corresponding safe charging and discharging current. The controller summarizes the excess current as surplus demand current and transfers it to other branches that still have current carrying capacity. The allocation of surplus demand current is based on the equivalent remaining capacity of each branch and is also limited by the corresponding safe charging and discharging current. When some branches reach the safe charging and discharging current during the allocation process, only those branches actually bear the current increment that has not reached the safe charging and discharging current; the unbundled portion continues to be allocated to other branches with current carrying capacity.
[0119] Calculate the difference between the theoretical demand current and the corresponding safe charging and discharging current for each branch, sum the differences to obtain the excess demand current, and determine the actual demand current of the branch whose theoretical demand current exceeds the corresponding safe charging and discharging current as the corresponding safe charging and discharging current.
[0120] The excess demand current is allocated according to the proportion of the equivalent remaining capacity of other branches whose theoretical demand current has not reached the corresponding safe charging and discharging current to the sum of the equivalent remaining capacities of all other branches. The actual demand current of the corresponding branch is the smaller of the sum of the theoretical demand current of the corresponding branch and the allocated current, and the corresponding safe charging and discharging current. If there is excess demand current that has not been allocated, the allocation continues according to the proportion of the equivalent remaining capacity of the branches whose actual demand current has not reached the corresponding safe charging and discharging current, until the excess demand current is zero.
[0121] During the charging state, the excess charging current demand is expressed as shown in formula (20): (20) in, This indicates excess charging current demand; Indicates the first The theoretical charging current requirement of each branch; Indicates the first The safe charging current for each branch circuit; This indicates the number of battery packs connected in parallel.
[0122] When the When the theoretical charging current demand of a branch is not higher than the safe charging current, the difference between the two is zero, and the branch does not generate excess charging current demand. When the theoretical charging current demand is higher than the safe charging current, the difference between the two is the charging current demand that the branch cannot safely handle. Summing up the excess portion of all branches yields the excess charging current demand that needs to be allocated in this round.
[0123] In the discharge state, the excess discharge current demand is expressed as shown in formula (21): ; (twenty one) in, This indicates the excess discharge current required. Indicates the first The theoretical discharge current required for each branch; Indicates the first The safe discharge current of each branch.
[0124] For branches where the theoretical current requirement exceeds the corresponding safe charge / discharge current, the controller will use the corresponding safe charge / discharge current as the actual current requirement for that branch. For branches where the theoretical current requirement does not reach the corresponding safe charge / discharge current, the controller will allocate the excess current requirement according to the proportion of the equivalent remaining capacity of the battery pack corresponding to each branch.
[0125] In the charging state, the first The actual charging current demand obtained by each branch through this round of allocation is expressed as shown in formula (22): ; (twenty two) in, Indicates the first The actual charging current demand obtained by each branch in this round of allocation; Indicates the first The charging current required by each branch before this round of allocation; Indicates the first The equivalent remaining charging capacity of the battery pack corresponds to each branch. This indicates the number of branches that participate in the allocation of excess charging demand current in this round; This represents the sum of the equivalent remaining charging capacity of the battery packs corresponding to each branch participating in the allocation in this round; This indicates the excess charging current that needs to be allocated in this round; Indicates the first The safe charging current for each branch circuit.
[0126] The ratio of the equivalent remaining charging capacity to the sum of the equivalent remaining charging capacities of all participating branches indicates the allocation ratio that the corresponding branch receives for the excess charging demand current in this round. The current allocated according to this ratio is added to the charging demand current before this round of allocation to obtain the charging demand current that the corresponding branch is to undertake. The smaller value between the proposed charging demand current and the safe charging current is taken as the actual charging demand current in this round, ensuring that the actual charging demand current of each branch after allocation does not exceed the corresponding safe charging current.
[0127] In the discharge state, the first The actual discharge demand current obtained by the branch through this round of distribution is expressed as shown in formula (23): ; (twenty three) in, Indicates the first The actual discharge demand current obtained by each branch in this round of allocation; Indicates the first The discharge current required by each branch before this round of distribution; Indicates the first The equivalent remaining discharge capacity of the battery pack corresponds to each branch. This indicates the number of branches that participate in the allocation of excess discharge demand current in this round; This represents the sum of the equivalent remaining discharge capacity of the battery packs corresponding to each branch participating in the allocation in this round; This indicates the excess discharge current that needs to be allocated in this round; Indicates the first The safe discharge current of each branch.
[0128] In each round of allocation, or This represents the required current of the corresponding branch before this round of allocation. During the first allocation, this required current is the theoretical required current obtained in step S300; during the subsequent allocation, this required current is the actual required current obtained in the previous round of allocation for the corresponding branch.
[0129] When the total current increment received by a branch is insufficient to bring the actual demand current to the corresponding safe charging and discharging current, the branch fully receives the corresponding allocated current. When the demand current that a branch intends to receive exceeds the corresponding safe charging and discharging current, the actual demand current is limited to the corresponding safe charging and discharging current, and the portion exceeding the safe charging and discharging current is not fully allocated.
[0130] The controller calculates the portion of excess demand current in the current round that is not actually absorbed by each branch and uses this portion as excess demand current to be allocated in the next round. Branches that have reached the corresponding safe charging / discharging current are removed from the allocation range for the next round, while branches whose actual demand current is still lower than the corresponding safe charging / discharging current continue to participate in the allocation. The controller allocates the remaining excess demand current according to the proportion of the equivalent remaining capacity of the battery pack corresponding to each branch that continues to participate in the allocation, until the excess demand current is zero.
[0131] In one specific implementation, the equivalent remaining capacities of the three battery packs are 50Ah, 40Ah and 10Ah, respectively, the theoretical current requirements of the corresponding branches are 50A, 40A and 10A, respectively, and the corresponding safe charging and discharging currents are 30A, 50A and 40A, respectively.
[0132] The theoretical current requirement of the first branch exceeds the safe charge / discharge current of 20A. Therefore, the actual current requirement of the first branch is set at 30A, and the excess 20A is considered as redundant current requirement. The theoretical current requirements of the second and third branches do not reach the corresponding safe charge / discharge currents, and the ratio of their equivalent remaining battery pack capacity is 40:10.
[0133] In the first round of allocation, the second branch received 16A according to the equivalent remaining capacity ratio, and the third branch received 4A. The second branch was intended to handle a demand current of 56A, exceeding the safe charging and discharging current of 50A. Therefore, the actual demand current of the second branch was 50A, and it only handled the 10A current increment. The third branch was intended to handle a demand current of 14A, which did not exceed the safe charging and discharging current of 40A. Therefore, the actual demand current of the third branch was 14A, and it fully handled the 4A current increment.
[0134] The first round of current allocation actually completed 14A, leaving 6A of excess demand current unallocated. The second branch has reached its safe charging and discharging current and will not participate in the next round of allocation; the third branch still has current carrying capacity, therefore, the remaining 6A will be allocated to the third branch, increasing the actual current demand of the third branch from 14A to 20A.
[0135] After the iterative allocation is completed, the actual current requirements of the three branches are 30A, 50A and 20A respectively, with zero excess current requirement. The sum of the actual current requirements of the three branches is 100A, which is consistent with the total charging and discharging current of the system before allocation.
[0136] When the excess current demand is zero, the controller sends the actual current demand of each branch to the corresponding DC-DC converter. Each DC-DC converter adjusts the charging or discharging current of the corresponding branch according to the received actual current demand to control the charging or discharging of the corresponding battery pack.
[0137] Through the above processing, branches whose theoretical current demand exceeds the safe charging and discharging current are subject to safe current limits. The demand current that cannot be carried by this branch is transferred to other branches that still have current carrying capacity according to the equivalent remaining capacity ratio. After multiple rounds of allocation, the actual demand current of each branch does not exceed the corresponding safe charging and discharging current, and the sum of the actual demand currents remains the total charging and discharging current of the system, thereby maintaining the overall charging and discharging demand of the system while meeting the safety limits of each branch.
[0138] In summary, combining Figure 5By acquiring the battery status information of each parallel battery pack and the operating information of each branch, the current limit value of the cable corresponding to the actual connection cable of each branch is determined. The allowable charge / discharge current of each battery pack is determined by combining battery temperature, state of charge, health status, and cycle count. The cable current limit value is then corrected based on cable temperature, and the smaller of the allowable charge / discharge current of the battery pack and the corrected cable current limit value is taken as the safe charge / discharge current of the corresponding branch. Based on this, the equivalent remaining capacity is calculated according to the battery capacity, health status, and state of charge of each battery pack. The total charge / discharge current of the system is allocated according to the proportion of the equivalent remaining capacity to obtain the theoretical current requirement of each branch. When part of the theoretical current requirement exceeds the corresponding safe charge / discharge current, the excess is iteratively allocated to other branches that still have current carrying capacity, obtaining the actual current requirement of each branch. The charging or discharging of the corresponding battery pack is then controlled according to the actual current requirement.
[0139] Through the above processing, the upper limit of the current in each branch is no longer determined solely by the preset allocation relationship or the nominal parameters of the battery pack, but is simultaneously constrained by the current charging and discharging capacity of the battery pack, its aging degree, the specifications of the connecting cables, and the temperature of the cables. This ensures that battery packs of different capacities, health conditions, and cable specifications all operate within their respective safe carrying capacity ranges. Furthermore, the total charging and discharging current of the system is allocated according to the equivalent remaining capacity, so that each battery pack receives the required current that matches its actual remaining charging and discharging needs. When some branches reach the safe charging and discharging current, the current that they cannot handle is transferred to branches that still have a carrying capacity margin. This avoids overload on branches with lower carrying capacity and reduces the possibility of other branches reaching their operating limits after some branches are restricted. At the same time, it maintains the total charging and discharging demand of the system, enabling multiple battery packs to complete charging or discharging stably and coordinately within the safe current range.
[0140] Figure 6 This is a structural block diagram of a multi-battery pack parallel current control system provided in one embodiment of this application. The control system includes at least the following modules: The branch current limiting determination module is used to obtain the battery status information of each parallel battery pack and the branch operation information of each battery pack branch, and determine the cable current limiting value of each branch based on the branch operation information. The safe current determination module is used to determine the allowable charging and discharging current of each battery pack by combining the battery status information, and the smaller value between the allowable charging and discharging current and the corresponding cable current limit value is used as the safe charging and discharging current of each branch. The theoretical current allocation module is used to calculate the equivalent remaining capacity of each battery pack based on battery status information, determine the total charging and discharging current of the system, allocate the total charging and discharging current of the system according to the ratio of the equivalent remaining capacity of each battery pack, and obtain the theoretical demand current of each branch. The actual demand adjustment module is used to take the portion of the theoretical demand current that exceeds the corresponding safe charging and discharging current as the excess demand current, and iteratively distribute the excess demand current to other branches that have not reached the corresponding safe charging and discharging current until the excess demand current is zero, thereby obtaining the actual demand current of each branch, and controlling the charging or discharging of the corresponding battery pack according to the actual demand current.
[0141] For relevant details, please refer to the above method implementation examples.
[0142] Figure 7 This is a block diagram of an electronic device provided in one embodiment of the present application, the device including at least a processor 701 and a memory 702.
[0143] Processor 701 includes one or more processing cores, such as a quad-core, octa-core, or other multi-core processor. Processor 701 is implemented using a DSP (Digital Signal Processor), FPGA (Field-Programmable Gate Array), PLA (Programmable Logic Array), or any combination of the above hardware forms. In some embodiments, processor 701 includes a main processor and a coprocessor. The main processor is used to acquire battery status information of each parallel battery pack and branch operation information of each battery pack branch, determine the cable current limit value and safe charging / discharging current of each branch, and perform calculations of theoretical and actual required current. The coprocessor is used to perform tasks such as battery management system communication, branch current sampling, cable temperature acquisition, and DC-DC converter control. Furthermore, processor 701 also integrates a GPU (Graphics Processing Unit) for displaying the operating status of each battery pack and branch, or integrates an AI processor for performing multi-battery pack operating status analysis and charging / discharging strategy optimization.
[0144] The memory 702 includes one or more computer-readable storage media, which are non-transitory storage media, for storing program code, the correspondence between cable specifications and cable current limits, battery status parameters, temperature thresholds, and branch operation information. The memory 702 also includes high-speed random access memory and non-volatile memory, such as a disk or flash memory. In some embodiments, the non-transitory storage media in the memory 702 stores at least one instruction set, which is executed by the processor 701 to implement the multi-battery pack parallel current control method provided in this application, including determining the cable current limit and safe charging / discharging current of each branch, allocating the total system charging / discharging current according to the equivalent remaining capacity of each battery pack, iteratively allocating excess demand current to other branches, and controlling the charging or discharging of the corresponding battery pack according to the actual demand current of each branch.
[0145] Optionally, this application also provides a computer-readable storage medium storing a program that is loaded and executed by a processor to implement the multi-battery pack parallel current control method of the above method embodiments.
[0146] Optionally, this application also provides a computer product including a computer-readable storage medium storing a program that is loaded and executed by a processor to implement the multi-battery pack parallel current control method of the above method embodiments.
[0147] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0148] The above embodiments merely illustrate several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for controlling the current of multiple battery packs in parallel, characterized in that, The control method includes the following steps: Obtain the battery status information of each parallel battery pack and the branch operation information of each battery pack branch, and determine the cable current limit value of each branch based on the branch operation information; The allowable charge and discharge current of each battery pack is determined by combining the battery status information, and the smaller value between the allowable charge and discharge current and the corresponding cable current limit value is used as the safe charge and discharge current of each branch. Based on the battery status information, the equivalent remaining capacity of each battery pack is calculated, the total charging and discharging current of the system is determined, and the total charging and discharging current of the system is allocated according to the ratio of the equivalent remaining capacity of each battery pack to obtain the theoretical required current of each branch. The portion of the theoretical demand current that exceeds the corresponding safe charging and discharging current is taken as the excess demand current. The excess demand current is then iteratively distributed to other branches that have not reached the corresponding safe charging and discharging current until the excess demand current is zero, thereby obtaining the actual demand current of each branch. The corresponding battery pack is then charged or discharged according to the actual demand current.
2. The method for controlling the parallel current of multiple battery packs according to claim 1, characterized in that, The process of determining the cable current limit value for each branch based on the branch operation information includes the following steps: When the branch current of any branch is greater than a preset current threshold and the change in the branch current is less than a preset change threshold, the inverter terminal voltage, battery pack output terminal voltage, branch current and cable temperature of the corresponding branch are obtained. Using the voltage difference between the inverter terminal voltage and the battery pack output terminal voltage, as well as the branch current, the branch bus resistance of the corresponding branch is calculated. The branch bus resistance includes the cable conductor resistance and the contact resistance at the cable connection. Based on the cable temperature, the branch line resistance is matched with the theoretical resistance range corresponding to different cable specifications to determine the cable specification of the corresponding branch and obtain the cable current limit value corresponding to the cable specification.
3. The method for controlling the parallel current of multiple battery packs according to claim 2, characterized in that, The process of matching the branch line resistance with the theoretical line resistance range corresponding to different cable specifications includes the following steps: For each cable specification, based on the corresponding cable length, cable cross-sectional area, and resistivity at different temperatures, the first theoretical line resistance is calculated when the cable temperature is reduced by the temperature sampling error, and the second theoretical line resistance is calculated when the cable temperature is increased by the temperature sampling error. The first theoretical line resistance is used as the lower limit of the corresponding theoretical line resistance range, and the sum of the second theoretical line resistance and the preset maximum normal contact resistance is used as the upper limit of the corresponding theoretical line resistance range. The cable specification corresponding to the theoretical line resistance range of the branch bus resistance is determined as the cable specification of the corresponding branch, and the corresponding cable current limit value is obtained. When the line resistance of the branch is greater than the upper limit of the theoretical line resistance range, the minimum value among the cable current limiting values corresponding to different cable specifications is determined as the cable current limiting value of the corresponding branch.
4. The method for controlling the parallel current of multiple battery packs according to claim 1, characterized in that, The step of determining the allowable charge / discharge current of each battery pack by combining the battery status information, and using the smaller value between the allowable charge / discharge current and the corresponding cable current limit value as the safe charge / discharge current of each branch, includes the following steps: Based on the battery temperature and state of charge of each battery pack, determine the current allowable charging current and current allowable discharging current of the corresponding battery pack. An exponential decay model is established by combining the health status and cycle number of each battery pack, and the current allowable charging current and the current allowable discharging current are corrected by the exponential decay model to obtain the allowable charging current and allowable discharging current of the corresponding battery pack. The temperature correction factor is determined according to the cable temperature of each branch, and the cable current limit value of the corresponding branch is corrected using the temperature correction factor to obtain the temperature-corrected cable current limit value. The smaller of the allowable charging current and the cable current limit value corrected for the corresponding branch temperature is determined as the safe charging current of the corresponding branch, and the smaller of the allowable discharging current and the cable current limit value corrected for the corresponding branch temperature is determined as the safe discharging current of the corresponding branch.
5. The method for controlling the parallel current of multiple battery packs according to claim 4, characterized in that, The process of determining the temperature correction factor based on the cable temperature of each branch includes the following steps: Obtain a preset first temperature threshold and a second temperature threshold, wherein the second temperature threshold is higher than the first temperature threshold; When the cable temperature is not higher than the first temperature threshold, the temperature correction coefficient is set to one. When the cable temperature is higher than the first temperature threshold and lower than the second temperature threshold, calculate the first difference between the second temperature threshold and the cable temperature, and the second difference between the second temperature threshold and the first temperature threshold, and determine the ratio of the first difference to the second difference as the temperature correction coefficient; When the cable temperature is not lower than the second temperature threshold, the temperature correction coefficient is set to zero.
6. The method for controlling the parallel current of multiple battery packs according to claim 1, characterized in that, The process of calculating the equivalent remaining capacity of each battery pack based on the battery state information, determining the total system charge / discharge current, and allocating the total system charge / discharge current according to the proportion of the equivalent remaining capacity of each battery pack to obtain the theoretical current requirement of each branch includes the following steps: In the charging state, the equivalent remaining charging capacity is calculated based on the battery capacity, health status, and state of charge of each battery pack; in the discharging state, the equivalent remaining discharging capacity is calculated based on the battery capacity, health status, state of charge, and preset minimum state of charge of each battery pack. Obtain the charging and discharging current limit and the actual current of each branch. Select the minimum value from the charging and discharging current limit, the sum of the safe charging and discharging current of each branch, and the sum of the actual current of each branch to obtain the total charging and discharging current of the system. The theoretical charging and discharging time is obtained by calculating the ratio of the sum of the equivalent remaining capacity of each battery pack under the current charging and discharging state to the total charging and discharging current of the system. The theoretical current requirement for the corresponding branch is obtained by dividing the equivalent remaining capacity of each battery pack by the theoretical charge / discharge time.
7. The method for controlling the parallel current of multiple battery packs according to any one of claims 1-6, characterized in that, The step of treating the portion of each theoretically required current that exceeds the corresponding safe charging and discharging current as excess required current, and iteratively allocating the excess required current to other branches that have not reached the corresponding safe charging and discharging current, includes: Calculate the difference between the theoretical demand current and the corresponding safe charging and discharging current for each branch, sum the differences to obtain the excess demand current, and determine the actual demand current of the branch whose theoretical demand current exceeds the corresponding safe charging and discharging current as the corresponding safe charging and discharging current. The excess demand current is allocated according to the proportion of the equivalent remaining capacity of other branches whose theoretical demand current has not reached the corresponding safe charging and discharging current to the sum of the equivalent remaining capacities of all other branches. The actual demand current of the corresponding branch is the smaller of the sum of the theoretical demand current of the corresponding branch and the allocated current, and the corresponding safe charging and discharging current. If there is excess demand current that has not been allocated, the allocation continues according to the proportion of the equivalent remaining capacity of the branches whose actual demand current has not reached the corresponding safe charging and discharging current, until the excess demand current is zero.
8. A multi-battery pack parallel current control system, characterized in that, The control system includes: The branch current limiting determination module is used to obtain the battery status information of each parallel battery pack and the branch operation information of each battery pack branch, and determine the cable current limiting value of each branch based on the branch operation information. The safe current determination module is used to determine the allowable charge and discharge current of each battery pack by combining the battery status information, and to use the smaller value between the allowable charge and discharge current and the corresponding cable current limit value as the safe charge and discharge current of each branch. The theoretical current allocation module is used to calculate the equivalent remaining capacity of each battery pack based on the battery status information, determine the total charging and discharging current of the system, allocate the total charging and discharging current of the system according to the ratio of the equivalent remaining capacity of each battery pack, and obtain the theoretical demand current of each branch. The actual demand adjustment module is used to take the portion of the theoretical demand current that exceeds the corresponding safe charging and discharging current as the excess demand current, and iteratively distribute the excess demand current to other branches that have not reached the corresponding safe charging and discharging current until the excess demand current is zero, thereby obtaining the actual demand current of each branch, and controlling the charging or discharging of the corresponding battery pack according to the actual demand current.
9. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores a program that is loaded and executed by the processor to implement the multi-battery pack parallel current control method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program that, when executed by a processor, is used to implement the multi-battery pack parallel current control method as described in any one of claims 1-7.
