Battery pack capacity utilization rate maximization method based on improved elite strategy ant colony algorithm
By improving the elite strategy ant colony algorithm and reconfigurable topology, the problem of SOC inconsistency in traditional battery pack management is solved, the energy utilization and flexibility of the battery pack is improved, efficient consistency management is achieved, and relay loss is reduced and failure risk.
Patent Information
- Application Number
- CN202410996081.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-11-15
AI Technical Summary
Traditional battery pack management methods have inconsistent SOC problems, resulting in low energy utilization efficiency, high cost and complex algorithms of active balance methods, which limits their wide application.
The improved elite strategy ant colony algorithm and reconstructible topology are adopted to identify battery parameters through the second-order RC model, find the optimal energy transfer path, realize the flexibility and consistency of the battery pack, and reduce the risk of relay errors.
It improves the energy utilization and flexibility of the battery pack, extends the service life, reduces the risk of relay loss and faulty battery cells, and achieves efficient battery pack consistency management.
Smart Images

Figure CN118971076A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of battery energy management, and in particular to a method for maximizing battery pack capacity utilization based on an improved elite strategy ant colony algorithm. Background Art
[0002] Electrified transportation and new energy grid connection are considered to be effective ways to mitigate global warming and protect the environment. In this process, energy storage systems play a vital role, not only in providing power for electric vehicles, but also in supporting the construction of power systems. However, traditional battery pack management methods have some limitations.
[0003] In traditional methods, large-scale and grouped batteries are usually required to meet power and voltage requirements. However, due to differences in battery manufacturing tolerances and operating conditions, grouping battery cells together inevitably leads to inconsistent SOC, limiting the energy utilization efficiency of the battery pack. In addition, this phenomenon is even more significant in the field of cascade utilization of retired batteries. In traditional methods, passive and active balancing are used to improve the consistency between batteries. Passive balancing dissipates the energy of high-energy cells through parallel resistors, but this reduces the energy utilization efficiency of the battery pack and increases the thermal management burden. Active balancing transfers energy from high-energy batteries to low-energy batteries through various energy transmission components, but the presence of parasitic power causes energy loss. Although the balancing method can improve the consistency of the battery pack, its system hardware cost is expensive and the control algorithm is complex, which limits its widespread application. In order to overcome these limitations,
[0004] The present invention proposes a new battery pack management method. The method of the present invention breaks through the limitations of traditional methods and improves the consistency of battery packs by exploring the reconfigurability of battery packs. Compared with traditional methods, the present invention has higher flexibility, energy utilization efficiency and cost-effectiveness. Summary of the invention
[0005] The object of the present invention is to provide a new method for improving battery consistency, which helps to improve the energy utilization rate of the battery pack and extend the service life of the battery pack.
[0006] To achieve the above object, the present invention adopts the following technical solution: a method for maximizing battery pack capacity utilization based on an improved elite strategy ant colony algorithm, the method comprising the following steps:
[0007] (1) Select the second-order RC model as the battery model and determine a new reconfigurable battery pack topology;
[0008] (2) By improving the elite strategy ant colony algorithm, the optimal energy transfer path is found in the battery pack.
[0009] Preferably, the step (1) specifically comprises the following steps:
[0010] (1a) Select the second-order RC battery model, establish the corresponding mathematical model, and identify the battery parameters at different temperatures;
[0011] (1b) fitting the relationship between OCV and SOC of the battery model at different temperatures in step (1a);
[0012] (1c) The batteries in step (1a) are assembled into a battery pack using a new topological structure.
[0013] Preferably, the step (2) specifically comprises the following steps:
[0014] (2a) An improved elite strategy ant colony algorithm is introduced to find the best path for energy flow, and its effectiveness is verified by taking a battery pack with six batteries connected in series as an example;
[0015] (2b) Consider the six batteries and the positive and negative electrodes connected in series as nodes. Energy can only flow from the negative electrode to the positive electrode in sequence through batteries 1 to 6. Draw a directed graph of the battery pack.
[0016] (2c) The selection of the energy flow route mainly depends on the remaining power of each battery in the battery pack, and the consistency of the battery pack is achieved by alternately discharging the batteries. When the batteries through which the energy flows are the batteries with the largest remaining power, this energy flow route is the optimal energy flow route;
[0017] (2d) Initialize the pheromone matrix, the number of iterations K, the number of ants M, the pheromone influence factor, and the pheromone volatilization factor;
[0018] (2e) Each ant randomly selects a starting node (i.e., the battery and positive and negative poles in the battery pack);
[0019] (2f) According to the probability formula, we can get p ij , the next battery to which energy flows is selected by roulette method, and the batteries that have already passed are not selected;
[0020] (2g) After ant m (m≤M) completes this path search, it records the route cost value (when the remaining power of the two nodes is higher and closer, the cost value is smaller);
[0021] (2h) After M ants complete their search, the pheromone matrix τ is updated to complete the kth (k≤K) iteration;
[0022] (2i) Record the route with the minimum cost after each iteration and determine whether k is equal to K. If so, end the algorithm; otherwise, jump to step (2f);
[0023] (2j) After all iterations are completed, the optimal energy flow path among all iteration results is output.
[0024] Preferably, the step (1a) specifically comprises the following steps:
[0025] (1a1) Determine the circuit diagram of the second-order RC model;
[0026] (1a2)U oc is the battery open circuit voltage, R0 is the battery internal resistance, R1, R2 are the battery polarization internal resistance, C1, C2 are the battery polarization capacitance, U L is the terminal voltage of the battery. According to Kirchhoff's law, the mathematical battery model is:
[0027] Preferably, the step (1b) specifically comprises the following steps:
[0028] (1b1) Place the battery in a temperature environment box, secure the battery, and place a temperature sensor;
[0029] (1b2) Set the temperature of the environmental chamber to 25°C and leave the battery for 1 hour after the temperature stabilizes;
[0030] (1b3) Discharge at a constant current of 0.2C until the battery voltage is less than 2.5V;
[0031] (1b4) After the battery has been left to stand for one hour, it is charged at a constant current of 0.5C for 0.2 hours (i.e., the charging capacity is 10% of the total capacity);
[0032] (1b5) leaving the battery to stand for 1 hour;
[0033] (1b6) Step (1b4) and step (1b5) were repeated 10 times.
[0034] Preferably, the step (1c) specifically comprises the following steps:
[0035] (1c1) The batteries are connected in series to form a battery pack, and a new topology is formed by adding multiple relays, such as Figure 3 shown.
[0036] (1c2) This topology consists of n batteries and 3n relays. Relay R (n+1)s and R np Ensures that the nth battery is connected to the battery pack. Relay R (n-1),n Adds safety to the battery pack. When the relay R (n+1)s and R np When both are detected to be closed, R (n-1),n When the battery is working normally, the relay R (n-1),n The on-off of R ns and R(n+1)s Joint control. (n+1)s Open, R ns When closed, R (n-1),n Will remain closed.
[0037] Preferably, the step (2f) specifically comprises the following steps:
[0038] (2f1) The current battery position of the ant is i, and the next battery position to be selected is j, τ ij (t) is the pheromone intensity from i to j at time t, Ω k is the set of nodes that have not been visited yet;
[0039] (2f2)η ij =1 / d ij is visibility, d ij is the distance between i and j;
[0040] (2f3)α,β are two constants, which are the weighted values of pheromone and visibility respectively;
[0041] (2f4) The probability of node selection by the ant colony algorithm is obtained from steps (2f1), (2f2) and (2f3):
[0042]
[0043] Preferably, the step (2h) specifically comprises the following steps:
[0044] (2h1) Initialize pheromone concentration
[0045] (2h2) The pheromone concentration is updated with each iteration, and the pheromone concentration of each path is updated as follows: Where m is the number of ants, 0<ρ<=1 is the evaporation rate of pheromone, is the pheromone left by the kth ant on the path from i to j, and The pheromone increment of the path with the minimum cost value and the path with the maximum cost value;
[0046] (2h3) Where Q is the pheromone constant, L k It is the total path cost value obtained after the kth ant completes the path. Where L bsf ,L wsf represents the currently known optimal path cost value and the worst path cost value, e is a hyperparameter for adjusting the incentive value weight, ζ and ξ represent the number of ants that searched for the optimal path and the worst path in this round of iteration, respectively.
[0047] The beneficial effects of the present invention are:
[0048] The present invention adopts a reconfigurable topology structure with high flexibility and fault tolerance. By alternating the discharge of batteries, consistency between battery packs is achieved and the risk of short circuit caused by relay errors is reduced. In addition, the improved elite strategy ant colony algorithm can effectively find the best energy path, thereby eliminating faulty cells and finding the current path with the best consistency and lowest relay loss. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 is a flow chart of the method of the present invention;
[0050] Figure 2 This is a second-order RC circuit diagram.
[0051] Figure 3 This is a diagram of the battery topology in the present invention.
[0052] Figure 4 The topological structure diagram takes six batteries as an example.
[0053] Figure 5 is the directed graph of these six batteries. DETAILED DESCRIPTION
[0054] like Figures 1 to 5 As shown, a method for maximizing battery pack capacity utilization based on an improved elite strategy ant colony algorithm comprises the following steps:
[0055] (1) Select the second-order RC model as the battery model and determine a new reconfigurable battery pack topology;
[0056] (2) By improving the elite strategy ant colony algorithm, the optimal energy transfer path is found in the battery pack.
[0057] The step (1) specifically comprises the following steps:
[0058] (1a) Select the second-order RC battery model, establish the corresponding mathematical model, and identify the battery parameters at different temperatures;
[0059] (1b) fitting the relationship between OCV and SOC of the battery model at different temperatures in step (1a);
[0060] (1c) The batteries in step (1a) are assembled into a battery pack using a new topological structure.
[0061] The step (2) specifically comprises the following steps:
[0062] (2a) An ant colony algorithm is introduced to find the best path for energy flow, and its effectiveness is verified by taking a battery pack with six batteries connected in series as an example;
[0063] (2b) Consider the six batteries and the positive and negative electrodes connected in series as nodes. Energy can only flow from the negative electrode to the positive electrode in sequence through batteries 1 to 6. Draw a directed graph of the battery pack.
[0064] (2c) The selection of the energy flow route mainly depends on the remaining power of each battery in the battery pack, and the consistency of the battery pack is achieved by alternately discharging the batteries. When the batteries through which the energy flows are the batteries with the largest remaining power, this energy flow route is the optimal energy flow route;
[0065] (2d) Initialize the pheromone matrix, the number of iterations K, the number of ants M, the pheromone influence factor, and the pheromone volatilization factor;
[0066] (2e) Each ant randomly selects a starting node (i.e., the battery and positive and negative poles in the battery pack);
[0067] (2f) According to the probability formula, we can get p ij , the next battery to which energy flows is selected by roulette method, and the batteries that have already passed are not selected;
[0068] (2g) After ant m (m≤M) completes this path search, it records the route cost value (when the remaining power of the two nodes is higher and closer, the cost value is smaller);
[0069] (2h) After M ants complete the search, the pheromone matrix τ is updated to complete the kth (k≤K) iteration;
[0070] (2i) Record the route with the minimum cost after each iteration and determine whether k is equal to K. If so, end the algorithm; otherwise, jump to step (2f);
[0071] (2j) After all iterations are completed, the optimal energy flow path among all iteration results is output.
[0072] The step (1a) specifically comprises the following steps:
[0073] (1a1) Determine the circuit diagram of the second-order RC model;
[0074] (1a2)U oc is the battery open circuit voltage, R0 is the battery internal resistance, R1, R2 are the battery polarization internal resistance, C1, C2 are the battery polarization capacitance, U L is the terminal voltage of the battery. According to Kirchhoff's law, the mathematical battery model is:
[0075] The step (1b) specifically comprises the following steps:
[0076] (1b1) Place the battery in a temperature environment box, secure the battery, and place a temperature sensor;
[0077] (1b2) Set the temperature of the environmental chamber to 25°C and leave the battery for 1 hour after the temperature stabilizes;
[0078] (1b3) Discharge at a constant current of 0.2C until the battery voltage is less than 2.5V;
[0079] (1b4) After the battery has been left to stand for one hour, it is charged at a constant current of 0.5C for 0.2 hours (i.e., the charging capacity is 10% of the total capacity);
[0080] (1b5) leaving the battery to stand for 1 hour;
[0081] (1b6) Step (1b4) and step (1b5) were repeated 10 times.
[0082] The step (1c) specifically comprises the following steps:
[0083] (1c1) The batteries are connected in series to form a battery pack, and a new topology is formed by adding multiple relays, such as Figure 3 shown.
[0084] (1c2) This topology consists of n batteries and 3n relays. Relay R (n+1)s and R np Ensures that the nth battery is connected to the battery pack. Relay R (n-1),n Adds safety to the battery pack. When the relay R (n+1)s and R np When both are detected to be closed, R (n-1),n When the battery is working normally, the relay R (n-1),n The on-off of R ns and R (n+1)s Joint control. (n+1)s Open, R ns When closed, R (n-1),n Will remain closed
[0085] The step (2f) specifically comprises the following steps:
[0086] (2f1) The current battery position of the ant is i, and the next battery position to be selected is j, τ ij (t) is the pheromone intensity from i to j at time t, Ω k is the set of nodes that have not been visited yet;
[0087] (2f2)η ij =1 / d ij is visibility, d ij is the distance between i and j;
[0088] (2f3)α,β are two constants, which are the weighted values of pheromone and visibility respectively;
[0089] (2f4) The probability of node selection by the ant colony algorithm is obtained from steps (2f1), (2f2) and (2f3):
[0090]
[0091] The step (2h) specifically comprises the following steps:
[0092] (2h1) Initialize pheromone concentration
[0093] (2h2) The pheromone concentration is updated with each iteration, and the pheromone concentration of each path is updated as follows: Where m is the number of ants, 0<ρ<=1 is the evaporation rate of pheromone, is the pheromone left by the kth ant on the path from i to j, and The pheromone increment of the path with the minimum cost value and the path with the maximum cost value;
[0094] (2h3) Where Q is the pheromone constant, L k It is the total path cost value obtained after the kth ant completes the path. Where L bsf ,L wsf represents the currently known optimal path cost value and the worst path cost value, e is a hyperparameter for adjusting the incentive value weight, ζ and ξ represent the number of ants that searched for the optimal path and the worst path in this round of iteration, respectively.
[0095] The present invention adopts a reconfigurable topology structure with high flexibility and fault tolerance. By alternating the discharge of batteries, consistency between battery packs is achieved and the risk of short circuit caused by relay errors is reduced. In addition, the improved elite strategy ant colony algorithm can effectively find the best energy path, thereby eliminating faulty cells and finding the current path with the best consistency and lowest relay loss.
Claims
1. A method for maximizing battery capacity utilization based on an improved elite strategy ant colony algorithm, characterized by: The method includes the following steps: (1) Select a second-order RC model as the battery model and determine a new reconfigurable battery pack topology; (2) Find the optimal energy transfer path in the battery pack by improving the elitist strategy ant colony algorithm.
2. The method for maximizing battery capacity utilization based on improved elite strategy ant colony algorithm according to claim 1, characterized in that: The specific steps of step (1) include the following steps: (1a) Select a second-order RC battery model, establish a corresponding mathematical model, and identify battery parameters at different temperatures; (1b) Use the polyval function in MATLAB to perform binomial fitting on the relationship between the OCV and SOC of the battery model at different temperatures in step 1(a) to obtain a non-linear relationship; (1c) Use a reconfigurable topology to form a battery pack with the battery model in step (1a).
3. The method for maximizing battery capacity utilization based on improved elite strategy ant colony algorithm according to claim 1, characterized in that: The specific steps of step (2) include the following steps: (2a) Introduce an improved elitist strategy ant colony algorithm to find the best path of the energy flow, and verify its effectiveness with a battery pack composed of five batteries connected in series as an example; (2b) Take the positive and negative electrodes after connecting n batteries in series as nodes, and the energy flow can only flow from the negative electrode through the 1st to the nth batteries in sequence to the positive electrode, and draw a directed graph of the battery pack; (2c) The selection of the energy flow line mainly depends on the remaining power of each battery in the battery pack, and the consistency of the battery pack is achieved through alternating battery discharges. When the batteries through which the energy flow passes are the a (a < n) batteries with the most remaining power, this energy flow line is the optimal energy flow line; (2d) Initialize the pheromone matrix, the number of iterations K, the number of ants M, the pheromone influence factor, and the pheromone evaporation factor; (2e) Randomly select a starting node (i.e., the batteries and the positive and negative electrodes in the battery pack) for each ant; (2f) According to the probability formula, we can get p ij , the next battery to which energy flows is selected by roulette method, and the batteries that have already passed are not selected; (2g) After ant m (m ≤ M) completes the current path search, record the route cost value (when the remaining power of two nodes is higher and closer, the cost value is smaller); (2h) After M ants complete the search, update the pheromone matrix τ to complete the kth (k ≤ K) iteration; (2i) Record the optimal route after each iteration, and determine whether k is equal to K. If so, end the algorithm; otherwise, jump to step (2f); (2j) After all iterations are completed, output the optimal energy flow path among all iteration results.
4. The method for maximizing battery capacity utilization based on improved elite strategy ant colony algorithm according to claim 2, characterized in that: The specific steps of step (1a) include the following steps: (1a1) Determine the circuit diagram of the second-order RC model; (1a2)U oc is the battery open circuit voltage, R0 is the battery internal resistance, R1, R2 are the battery polarization internal resistance, C1, C2 are the battery polarization capacitance, U L is the terminal voltage of the battery. According to Kirchhoff's law, the mathematical battery model is:
5. The method for maximizing battery capacity utilization based on improved elite strategy ant colony algorithm according to claim 2, characterized in that: The specific steps of step (1c) include the following steps: (1c1) Connect the batteries in series to form a battery pack, and form a new topology by adding multiple relays; (1c2) This topology consists of n batteries and 3n relays. Relay R (n+1)s and R np Ensures that the nth battery is connected to the battery pack. Relay R (n-1),n Adds safety to the battery pack. (n+1)s and R np When both are detected to be closed, R (n-1),n When the battery is working normally, the relay R (n-1),n The on-off of R ns and R (n+1)s Joint control. (n+1)s Open, R ns When closed, R (n-1),n Will remain closed.
6. The method for maximizing battery capacity utilization based on improved elite strategy ant colony algorithm according to claim 3 is characterized by: The specific steps of step (2f) include the following steps: (2f1) The current battery position of the ant is i, and the next battery position to be selected is j, τ ij (t) is the pheromone intensity from i to j at time t, Ω k is the set of nodes that have not been visited yet; (2f2)η ij =1 / d ij is visibility, d ij is the distance between i and j; (2f3) α and β are two constants, which are the weighted values of pheromone and visibility respectively; (2f4) Obtain the probability of node selection in the ant colony algorithm from steps (2f1), (2f2), and (2f3); 7. The method for maximizing battery capacity utilization based on improved elite strategy ant colony algorithm according to claim 3 is characterized by: The specific steps of step (2h) include the following steps: (2h1) Initialize pheromone concentration (2h2) The pheromone concentration is updated with each iteration, and the pheromone concentration of each path is updated as follows: Where m is the number of ants, 0<ρ<=1 is the evaporation rate of pheromone, is the pheromone left by the kth ant on the path from i to j, and It is the pheromone increment of the path with the minimum cost value and the path with the maximum cost value (2h3) Where Q is the pheromone constant, L k is the total path cost value obtained after the kth ant completes the path; in L bsf ,L wsf represents the currently known optimal path cost value and the worst path cost value, e is a hyperparameter for adjusting the incentive value weight, ζ and ξ represent the number of ants that searched for the optimal path and the worst path in this round of iteration, respectively.
Citation Information
Cited By
Battery pack active equalization method and system
CN119813484A
Fuel cell ship energy management method based on improved global optimization algorithm
CN120319847A
