Dynamic planning method, device and equipment for reconfigurable battery pack and medium
By obtaining the battery equivalent circuit model parameters and using genetic algorithms to optimize the state transition model, the problem of complexity of the DRBN equalization algorithm is solved, rapid battery equalization and differentiated management and control are achieved, and the safety and efficiency of the battery system are improved.
Patent Information
- Application Number
- CN202410625484.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-08-30
AI Technical Summary
The existing dynamically reconfigurable battery network (DRBN) balancing algorithm is complex to implement and cannot achieve rapid battery balancing, resulting in potential safety hazards and low efficiency of the battery system.
By obtaining the battery equivalent circuit model parameters, it is abstracted into a reconfigurable battery pack graph theory model, and a genetic algorithm is used to optimize the state transfer model until the state of charge meets the preset conditions to achieve rapid balancing of the battery.
It effectively solves the shortcomings of the battery system, achieves rapid balancing and differentiated management and control of the battery, and improves the safety, reliability and efficiency of the battery system.
Smart Images

Figure CN118568491A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of lithium-ion batteries, and in particular to a dynamic programming method, device, equipment and medium for a reconfigurable battery pack. Background Art
[0002] Lithium-ion batteries have the advantages of high energy density, fast response speed, and strong flexibility, and have been widely used in the fields of electricity, communications, and electric vehicles. However, the battery system composed of a large number of battery cells has a short board effect, that is, the overall performance of the battery system is restricted by the weakest battery cell. In particular, in the scenario of cascade utilization of retired power batteries, battery cells often have large differences when they are used. The differences in batteries will lead to electrical and thermal imbalance problems during the charging and discharging process, increase the safety risks of the battery system, and are not conducive to the full utilization of battery capacity.
[0003] Traditional dissipative balancing has a very simple battery topology and control strategy, but the energy is dissipated through heat, resulting in low efficiency of the battery pack, and the dissipation of a large amount of heat energy can easily lead to serious heating and endanger safety. Non-dissipative balancing uses capacitors, inductors, transformers, etc. as balancing elements. This type of balancing method has higher efficiency and the heating problem is also better alleviated, but it requires a large number of additional circuits to participate in balancing, and the complexity of the circuit brings difficulties in maintenance and modification.
[0004] In order to overcome the short board effect of the battery system and achieve better balance, the existing dynamic reconfigurable battery network (DRBN) achieves battery balancing through dynamic transformation of battery topology. However, DRBN is a complex nonlinear time-varying system. How to achieve the operation control of DRBN is a major challenge currently faced. The existing DRBN balancing algorithm is often very complex to implement, and practical applications will face performance and programming difficulties.
[0005] Therefore, how to quickly balance the batteries to achieve differentiated battery management and avoid the system's "short board effect" is an urgent problem to be solved for the safe and reliable operation of battery energy storage systems. Summary of the invention
[0006] In view of this, the present invention provides a dynamic planning method, device, equipment and medium for a reconfigurable battery pack to solve the problem that the existing DRBN balancing algorithm is often very complex to implement and cannot achieve rapid battery balancing.
[0007] In a first aspect, the present invention provides a dynamic programming method for a reconfigurable battery pack, the method comprising:
[0008] Obtain a battery equivalent circuit model parameter set; based on the battery equivalent circuit model parameter set, abstract the reconfigurable battery pack in the battery to be optimized into a reconfigurable battery pack graph theory model; with the goal of minimizing the state of charge variance of the battery to be optimized, construct a state transition model using the reconfigurable battery pack graph theory model; use a genetic algorithm to optimize the state transition model until the state of charge of the battery to be optimized meets the preset conditions, and obtain the dynamic programming result of the reconfigurable battery pack in the battery to be optimized.
[0009] The dynamic programming method for a reconfigurable battery pack provided by the present invention can abstract the reconfigurable battery pack in the battery to be optimized into a reconfigurable battery pack graph theory model based on a dynamic reconfigurable battery network through a battery equivalent circuit model parameter set. Furthermore, with the goal of minimizing the variance of the state of charge of the battery to be optimized, a corresponding state transition model can be constructed in combination with the reconfigurable battery pack graph theory model. Finally, by optimizing the state transition model through a genetic algorithm, a dynamic programming result of the reconfigurable battery pack in the battery to be optimized that meets preset conditions can be obtained. Therefore, by implementing the present invention, the advantage of the flexible topology of the dynamic reconfigurable battery network is utilized, and the battery equivalent circuit model is combined with the dynamic programming network topology of the dynamic reconfigurable battery network to achieve rapid battery balancing.
[0010] In an optional implementation, obtaining a battery equivalent circuit model parameter set includes:
[0011] Obtain a battery equivalent circuit model; based on the battery equivalent circuit model, obtain multiple fitting functions through a preset fitting method, and different fitting functions characterize the relationship between different battery equivalent circuit model parameters and the charge state of the battery to be optimized; based on the multiple fitting functions, determine the battery equivalent circuit model parameter set.
[0012] The dynamic programming method for a reconfigurable battery pack provided by the present invention can fit different battery equivalent circuit model parameters and multiple fitting functions of the charge state of the battery to be optimized through the battery equivalent circuit model. Furthermore, the corresponding multiple battery equivalent circuit model parameters can be calculated through the obtained multiple fitting functions, thereby improving the reliability of the model parameters.
[0013] In an optional implementation, determining a battery equivalent circuit model parameter set based on multiple fitting functions includes:
[0014] The state of charge of the battery to be optimized is estimated by using the ampere-hour integration method to obtain multiple state of charge estimation values; based on the multiple state of charge estimation values and multiple fitting functions, a battery equivalent circuit model parameter set is determined.
[0015] The dynamic programming method for a reconfigurable battery pack provided by the present invention can estimate multiple state of charge estimation values of the battery to be optimized through the ampere-hour integration method. Further, the obtained multiple state of charge estimation values are substituted into multiple fitting functions that characterize the relationship between different battery equivalent circuit model parameters and the state of charge of the battery to be optimized, and the corresponding multiple battery equivalent circuit model parameters can be calculated, thereby improving the reliability of the model parameters.
[0016] In an optional implementation, based on the battery equivalent circuit model parameter set, the reconfigurable battery pack in the battery to be optimized is abstracted into a reconfigurable battery pack graph model, including:
[0017] Based on the battery equivalent circuit model parameter set, the reconfigurable battery pack in the battery to be optimized is abstracted into a reconfigurable battery pack graph theory; multiple voltage values and multiple current values are calculated using the node voltage method; based on the reconfigurable battery pack graph theory, multiple voltage values and multiple current values, after processing by Kirchhoff's voltage law and Kirchhoff's current law, a reconfigurable battery pack graph theory model is established.
[0018] The dynamic programming method of the reconfigurable battery pack provided by the present invention can abstract the reconfigurable battery pack in the battery to be optimized into a reconfigurable battery pack graph theory based on a dynamic reconfigurable battery network through a battery equivalent circuit model parameter set. Furthermore, multiple voltage values and multiple current values can be calculated through the node voltage method, and then combined with the reconfigurable battery pack graph theory, and processed using Kirchhoff's voltage law and Kirchhoff's current law, a corresponding reconfigurable battery pack graph theory model can be established, taking advantage of the flexible topology of the dynamic reconfigurable battery network, combining the battery equivalent circuit model with the dynamic programming network topology of the dynamic reconfigurable battery network, and providing support for the subsequent rapid balancing of the battery.
[0019] In an optional implementation, with the goal of minimizing the variance of the state of charge of the battery to be optimized, a state transition model is constructed using a reconfigurable battery pack graph theory model, including:
[0020] The target problem optimization model is determined based on the graph theory model of the reconfigurable battery pack; based on the target problem optimization model, a state transfer model is constructed with the goal of minimizing the variance of the state of charge of the battery to be optimized.
[0021] The dynamic programming method for a reconfigurable battery pack provided by the present invention can determine the target problem optimization model corresponding to the reconfigurable battery pack by establishing a graph theory model of the reconfigurable battery pack. Furthermore, a corresponding state transition model can be constructed with the goal of minimizing the variance of the state of charge of the battery to be optimized, thereby providing support for the subsequent rapid balancing of the battery.
[0022] In an optional implementation, based on the target problem optimization model, a state transition model is constructed with the goal of minimizing the variance of the state of charge of the battery to be optimized, including:
[0023] Based on the target problem optimization model, the transfer cost is determined with the goal of minimizing the charge state variance of the battery to be optimized; based on the transfer cost, a state transfer model is constructed.
[0024] The dynamic programming method for a reconfigurable battery pack provided by the present invention aims to minimize the variance of the state of charge of the battery to be optimized. The corresponding transfer cost can be calculated in combination with the target problem optimization model, and then a state transfer model can be constructed in combination with the transfer cost, which provides support for the subsequent rapid balancing of the battery.
[0025] In a second aspect, the present invention provides a dynamic programming device for a reconfigurable battery pack, the device comprising:
[0026] An acquisition module is used to acquire a battery equivalent circuit model parameter set; an abstraction module is used to abstract a reconfigurable battery pack in the battery to be optimized into a reconfigurable battery pack graph theory model based on the battery equivalent circuit model parameter set; a construction module is used to construct a state transition model using the reconfigurable battery pack graph theory model with the goal of minimizing the state of charge variance of the battery to be optimized; an optimization module is used to optimize the state transition model using a genetic algorithm until the state of charge of the battery to be optimized meets preset conditions, thereby obtaining a dynamic programming result of the reconfigurable battery pack in the battery to be optimized.
[0027] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the dynamic planning method of a reconfigurable battery pack of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0028] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the dynamic programming method for a reconfigurable battery pack of the first aspect or any corresponding embodiment thereof.
[0029] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the dynamic programming method for a reconfigurable battery pack according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0031] Figure 1 is a topology diagram of a dynamically reconfigurable battery network cluster according to an embodiment of the present invention;
[0032] Figure 2 is a flow chart of a dynamic programming method for a reconfigurable battery pack according to an embodiment of the present invention;
[0033] Figure 3 is a comparison curve diagram of optimizing SOC variance of different scale genetic algorithms and the method provided by the present invention for a 4×4 battery pack according to an embodiment of the present invention;
[0034] Figure 4 is a comparison curve diagram of optimizing SOC variance of a 5×5 battery pack battery by genetic algorithms of different scales and the method provided by the present invention according to an embodiment of the present invention;
[0035] Figure 5 is a flow chart of another dynamic programming method for a reconfigurable battery pack according to an embodiment of the present invention;
[0036] Figure 6 is a topological diagram of a second-order RC network model of a lithium-ion battery cell according to an embodiment of the present invention;
[0037] Figure 7 is a flow chart of another dynamic programming method for a reconfigurable battery pack according to an embodiment of the present invention;
[0038] Figure 8 is a structural block diagram of a dynamic planning device for a reconfigurable battery pack according to an embodiment of the present invention;
[0039] Fig. 9 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0041] In order to overcome the short board effect of the battery system and better balance it, such as Figure 1 The Dynamic Reconfigurable Battery Network (DRBN) shown in the figure achieves battery balancing through dynamic transformation of battery topology. However, DRBN is a complex nonlinear time-varying system. How to achieve the operation control of DRBN is a major challenge currently faced. The existing DRBN balancing algorithms are often very complex to implement, and practical applications will face performance and programming difficulties. Among them, Figure 1 The cell here means the battery cell, and its subscript indicates the location of the cell.
[0042] Therefore, how to quickly balance the batteries to achieve differentiated battery management and avoid the system's "short board effect" is an urgent problem to be solved for the safe and reliable operation of battery energy storage systems.
[0043] According to an embodiment of the present invention, an embodiment of a dynamic programming method for a reconfigurable battery pack is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0044] In this embodiment, a dynamic programming method for a reconfigurable battery pack is provided, which can be used in electronic devices such as computers, mobile phones, tablet computers, etc. Figure 2 is a flow chart of a dynamic programming method for a reconfigurable battery pack according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0045] Step S201, obtaining a battery equivalent circuit model parameter set.
[0046] Specifically, the battery equivalent circuit model parameter set may include open circuit voltage, ohmic internal resistance, electrochemical polarization capacitance, electrochemical polarization internal resistance, concentration polarization capacitance, and concentration polarization internal resistance.
[0047] Step S202 : Based on the battery equivalent circuit model parameter set, the reconfigurable battery pack in the battery to be optimized is abstracted into a reconfigurable battery pack graph theory model.
[0048] Specifically, taking advantage of the flexible topology of the dynamic reconfigurable battery network, based on the obtained battery equivalent circuit model parameter set, the reconfigurable battery pack in the battery to be optimized can be abstracted into a corresponding reconfigurable battery pack graph model.
[0049] Step S203 , with the goal of minimizing the variance of the state of charge of the battery to be optimized, a state transition model is constructed using a graph theory model of a reconfigurable battery pack.
[0050] Specifically, in order to quickly balance the batteries to achieve differentiated battery management and avoid the "short board effect" of the system, the charge state variance of the battery to be optimized is minimized as the optimization goal, and the corresponding state transition model can be constructed by combining the reconfigurable battery pack graph theory model.
[0051] Step S204, optimizing the state transition model by using a genetic algorithm until the state of charge of the battery to be optimized meets a preset condition, thereby obtaining a dynamic programming result of the reconfigurable battery pack in the battery to be optimized.
[0052] Specifically, the greater the transfer cost, the better the optimization effect. Therefore, the genetic algorithm uses the roulette algorithm to select individuals for crossover mutation in a certain proportion of the initial population (the proportion coefficient is the generation gap coefficient). Crossover is to select a random position of the gene sequence of two individuals, and exchange the gene sequences of the two individuals after the position to obtain two new individuals. There are many implementation forms of mutation algorithms. The mutation algorithm used in the embodiment of the present invention randomly selects two positions for the gene sequence to be mutated, and flips the gene sequence between them (0 becomes 1, 1 becomes 0). Compared with the crossover phenomenon, the probability of the mutation phenomenon is quite low. Both of them are attempts by the genetic algorithm to jump out of the local optimal solution and find a new global optimal solution.
[0053] The new population after crossover mutation is merged with the excellent individuals in the population before crossover mutation to obtain a new population, which participates in the next genetic algorithm process. After multiple genetic algorithm processes, if the preset maximum iteration step is reached, the algorithm terminates. At this time, the state of charge of the battery to be optimized is the minimum, which meets the preset conditions, and then the dynamic planning result of the reconfigurable battery pack in the battery to be optimized is obtained.
[0054] Generally speaking, for a genetic algorithm with a population size of pop and a maximum number of iterations of genStep, the algorithm time complexity is O(pop×genStep×f), where f is the time complexity of a single step in the genetic algorithm. The genetic algorithm converts the search time complexity in the original algorithm into a smaller search space that is independent of the number of batteries.
[0055] In one example, a 4×4 four-parallel four-series reconfigurable battery network was selected, the initial SOC value of each battery was set to a uniformly distributed random number of 0.4 to 0.9, the battery capacity was 2000mAh, and a 2C constant current source was used as the load. The test was terminated when the SOC of the existing battery cells was less than 5%. According to experience, the generation gap of the genetic algorithm was set to 0.8, and the crossover mutation probability was set to 0.9 and 0.04.
[0056] Further, if Figure 3 As shown, three scale genetic algorithms are set up at the same time, namely a large-scale genetic algorithm with a population size of 200 and an iteration number of 500; a medium-scale genetic algorithm with a population size of 100 and an iteration number of 300; and a small-scale genetic algorithm with a population size of 50 and an iteration number of 100.
[0057] Furthermore, according to the optimization results, the genetic algorithm is not as good as the four-choice-two and dynamic programming algorithms in the initial period of time in terms of SOC reduction, but in the end it can optimize the SOC variance to an order of magnitude, which is similar to the optimization effect of the dynamic programming algorithm and better than the four-choice-two group. Among them, the time complexity of the dynamic programming algorithm is O(T s s 2 ). Where s is the number of topologies, T s is the maximum running time. For a network with n switches, the number of possible topologies is 2 n The node method is used in the cost calculation part, and the time complexity can be considered to be O(n 3 ), the overall complexity of the entire algorithm is O(T s n 3 4 n ). In practical applications, the current cycle topology s can be determined j , optimize and remove one loop, the overall complexity of the entire algorithm is O(T s n 3 2 n ).
[0058] Further, if Figure 4 As shown in the figure, for larger scale battery packs such as 5×5 battery packs, the genetic algorithm can complete single-step optimization in a single-digit time, and for small scales, it can complete single-step optimization within 1 second, which reflects the superiority of the genetic algorithm in running speed. At this time, all scales can achieve the target optimization effect very well.
[0059] Therefore, in the embodiment of the present invention, a genetic algorithm is used to optimize the state transition model.
[0060] The dynamic programming method for a reconfigurable battery pack provided in this embodiment can abstract the reconfigurable battery pack in the battery to be optimized into a reconfigurable battery pack graph theory model based on a dynamic reconfigurable battery network through a battery equivalent circuit model parameter set. Furthermore, with the goal of minimizing the variance of the state of charge of the battery to be optimized, a corresponding state transition model can be constructed in combination with the reconfigurable battery pack graph theory model. Finally, by optimizing the state transition model through a genetic algorithm, a dynamic programming result of the reconfigurable battery pack in the battery to be optimized that meets preset conditions can be obtained. Therefore, by implementing the present invention, the advantage of the flexible topology of the dynamic reconfigurable battery network is utilized, and the battery equivalent circuit model is combined with the dynamic programming network topology of the dynamic reconfigurable battery network to achieve rapid balancing of the battery.
[0061] In this embodiment, a dynamic programming method for a reconfigurable battery pack is provided, which can be used in electronic devices such as computers, mobile phones, tablet computers, etc. Figure 5 is a flow chart of a dynamic programming method for a reconfigurable battery pack according to an embodiment of the present invention. Figure 5 As shown, the process includes the following steps:
[0062] Step S501, obtaining a battery equivalent circuit model parameter set.
[0063] Specifically, the above step S501 includes:
[0064] Step S5011, obtaining a battery equivalent circuit model.
[0065] Specifically, lithium-ion batteries are very complex nonlinear energy storage systems. If you want to simulate them to obtain various parameters, it is very necessary to perform abstract modeling to accurately describe their system characteristics. There are many ways to model lithium-ion batteries. In reconfigurable battery packs, frequent switching changes will affect the access status of the battery. The model needs to be able to better describe the transient process. In actual use, the second-order RC network model is considered to have better accuracy and is time-consuming. In the embodiment of the present invention, the second-order RC network model is selected as the battery equivalent circuit model, such as Figure 6 As shown. Among them, U t Indicates the external voltage of the battery; U OC represents the voltage source, which represents the electromotive force of the battery; i represents the current; R0 represents the ohmic internal resistance; R P Represents electrochemical polarization internal resistance; C P Represents electrochemical polarization capacitance; R s Indicates the concentration polarization internal resistance; C s Represents concentration polarization capacitance.
[0066] Step S5012: Based on the battery equivalent circuit model, a plurality of fitting functions are obtained by processing using a preset fitting method.
[0067] Among them, different fitting functions characterize the relationship between different battery equivalent circuit model parameters and the charge state of the battery to be optimized.
[0068] Specifically, for polymer lithium-ion batteries, under experimental tests, the various parameters in the model at room temperature are mainly related to SOC, and the current has little effect on the various parameters. After experimental testing, a univariate fitting function of the various parameters in the model with respect to SOC can be obtained. Experimental verification confirms that for lithium-ion polymer batteries, these simulation functions are quite reliable in most cases.
[0069] Furthermore, for the second-order RC network model, the fitting functions of its various parameters with respect to SOC are shown in the following equations (1) to (6):
[0070]
[0071] R OC (SOC) = 0.1562 e -24.37·soc +0.07446 (2)
[0072] R p (SOC) = 0.3208 e -29.14·soc +0.04669 (3)
[0073] C p (SOC) = -752.9 e -13.51·soc +703.6 (4)
[0074] R s (SOC) = 6.603·e -155.2·soc +0.04984 (5)
[0075] C s (SOC) = -6056·e -27.12·soc +4475 (6)
[0076] Where: V OC (SOC) represents the open circuit voltage; R0(SOC) represents the ohmic internal resistance; R P (SOC) represents electrochemical polarization internal resistance; C P (SOC) represents electrochemical polarization capacitance; R s (SOC) represents the concentration polarization internal resistance; C s (SOC) represents concentration polarization capacitance; e=2.7; SOC represents state of charge.
[0077] Step S5013, determining a battery equivalent circuit model parameter set based on multiple fitting functions.
[0078] Specifically, the fitting function can characterize the relationship between the battery equivalent circuit model parameters and the state of charge of the battery to be optimized. Therefore, the corresponding multiple battery equivalent circuit model parameters can be calculated through the obtained multiple fitting functions.
[0079] In some optional implementations, the above step S5013 includes:
[0080] Step a1, estimating the state of charge of the battery to be optimized by using the ampere-hour integration method to obtain multiple state of charge estimation values.
[0081] Step a2: determining a battery equivalent circuit model parameter set based on multiple state of charge estimation values and multiple fitting functions.
[0082] Specifically, the ampere-hour integration method is a method for estimating the battery state of charge (SOC). It calculates the battery SOC by accumulating the current during the battery charging and discharging process, as shown in the following equation (7):
[0083]
[0084] Where: SOC(t) represents the state of charge of the battery at time t; SOC(t0) represents the state of charge of the battery at the initial time t0; Q N represents the rated capacity of the battery; η represents the charge and discharge efficiency; i(t) represents the battery current at time t.
[0085] Furthermore, by substituting the calculated multiple state of charge estimation values into the above-mentioned equations (1) to (6), corresponding multiple battery equivalent circuit model parameters can be obtained.
[0086] Step S502 : Based on the battery equivalent circuit model parameter set, the reconfigurable battery pack in the battery to be optimized is abstracted into a reconfigurable battery pack graph theory model.
[0087] Specifically, the above step S502 includes:
[0088] Step S5021, based on the battery equivalent circuit model parameter set, abstracting the reconfigurable battery pack in the battery to be optimized into a reconfigurable battery pack graph.
[0089] Specifically, combined with the obtained battery equivalent circuit model parameter set, the reconfigurable battery pack in the battery to be optimized can be abstracted into a reconfigurable battery pack graph theory, represented as G = (V, ε).
[0090] Among them, V represents the node set; ε represents the current path, that is, the edge set, which represents the combination branch of each battery and switch (as well as the load branch).
[0091] Step S5022: Calculate multiple voltage values and multiple current values using the node voltage method.
[0092] Specifically, to obtain the voltage and current of each branch using the node voltage method, it is necessary to merge the batteries in the same group into a typical branch. Since transient conditions can be ignored for estimation purposes, the battery is considered as a Rint model, and then the voltage source is converted into a current source to convert the parallel voltage source resistance branch into multiple parallel current sources and resistance branches, which can then be merged into a typical branch containing a current source and a resistor for node method calculation.
[0093] Among them, the Rint model is composed of a voltage source U0 and a resistor R0 in series. According to the power supply convention, the relationship between the voltage and current at both ends of the model can be written as: U = U0-iR0. If it is a current source I1 connected in parallel with a resistor R1, power management is still used, and it can be written as: U = I1R1-iR1. Therefore, it is only necessary to set I1R1 = U0, R1 = R0, that is, the voltage source equivalent circuit can be converted into a current source equivalent circuit. For multiple battery cells in parallel, it is equivalent to multiple Rint circuits in parallel, which is also equivalent to multiple current source equivalent circuits in parallel, and the parallel current sources and resistors can be combined into one current source and one resistor, thereby simplifying the calculation.
[0094] Furthermore, in normal situations, the switch will affect the topological state of the circuit and thus affect the battery pack matrix representation. Therefore, the switch can be treated as a variable resistor and the disconnection setting is set to a maximum resistance (1e 9 order of magnitude), the closed resistor is set to a very small resistance (1e -5 order of magnitude), so that the switching state can be converted into a change in resistance.
[0095] Step S5023, based on the graph theory of the reconfigurable battery pack, multiple voltage values and multiple current values, after processing by Kirchhoff's voltage law and Kirchhoff's current law, a graph theory model of the reconfigurable battery pack is established.
[0096] Specifically, by combining Kirchhoff's voltage law and Kirchhoff's current law, a corresponding graph theory model of a reconfigurable battery pack can be established, as shown in the following equations (8) and (9):
[0097]
[0098]
[0099] Where: G parallel Represents a set of parallel branches; i and j represent branch numbers; I i and I j represents the current of the i-th and j-th branches; I load Represents the load current; V oci and V ocj represents the open circuit voltage of the battery on the i-th and j-th branches; R i and R j Represents the total resistance on the i-th and j-th branches (i.e., the battery internal resistance plus the switch resistance).
[0100] Step S503, with the goal of minimizing the variance of the state of charge of the battery to be optimized, a state transition model is constructed using a graph theory model of a reconfigurable battery pack. Figure 1 Step S203 of the illustrated embodiment will not be described in detail here.
[0101] Step S504, optimize the state transition model using a genetic algorithm until the state of charge of the battery to be optimized meets the preset conditions, and obtain the dynamic programming result of the reconfigurable battery pack in the battery to be optimized. Figure 1 Step S204 of the illustrated embodiment will not be described in detail here.
[0102] The dynamic programming method of the reconfigurable battery pack provided in this embodiment can fit multiple fitting functions of different battery equivalent circuit model parameters and the state of charge of the battery to be optimized through the battery equivalent circuit model. Further, multiple state of charge estimation values of the battery to be optimized can be estimated through the ampere-hour integration method. Further, the obtained multiple state of charge estimation values are substituted into multiple fitting functions that characterize the relationship between different battery equivalent circuit model parameters and the state of charge of the battery to be optimized, and the corresponding multiple battery equivalent circuit model parameters can be calculated, thereby improving the reliability of the model parameters. The reconfigurable battery pack in the battery to be optimized can be abstracted into a reconfigurable battery pack graph theory based on a dynamic reconfigurable battery network through the battery equivalent circuit model parameter set. Further, multiple voltage values and multiple current values can be calculated through the node voltage method, and then combined with the reconfigurable battery pack graph theory, and Kirchhoff's voltage law and Kirchhoff's current law are used to process, and the corresponding reconfigurable battery pack graph theory model can be established. Further, with the goal of minimizing the variance of the state of charge of the battery to be optimized, the corresponding state transition model can be constructed in combination with the reconfigurable battery pack graph theory model. Finally, by optimizing the state transition model through a genetic algorithm, a dynamic programming result of a reconfigurable battery pack in the battery to be optimized that meets the preset conditions can be obtained. Therefore, by implementing the present invention, the advantage of the flexible topology of the dynamic reconfigurable battery network is utilized, and the battery equivalent circuit model is combined with the dynamic programming network topology of the dynamic reconfigurable battery network to achieve rapid battery balancing.
[0103] In this embodiment, a dynamic programming method for a reconfigurable battery pack is provided, which can be used in electronic devices such as computers, mobile phones, tablet computers, etc. Figure 7 is a flow chart of a dynamic programming method for a reconfigurable battery pack according to an embodiment of the present invention. Figure 7 As shown, the process includes the following steps:
[0104] Step S701, obtain a battery equivalent circuit model parameter set. For details, see Figure 5 Step S501 of the illustrated embodiment will not be described in detail here.
[0105] Step S702: Based on the battery equivalent circuit model parameter set, the reconfigurable battery pack in the battery to be optimized is abstracted into a reconfigurable battery pack graph model. Figure 5 Step S502 of the illustrated embodiment will not be described in detail here.
[0106] Step S703 , with the goal of minimizing the variance of the state of charge of the battery to be optimized, a state transition model is constructed using a graph theory model of a reconfigurable battery pack.
[0107] Specifically, the above step S703 includes:
[0108] Step S7031, determining a target problem optimization model based on the reconfigurable battery pack graph theory model.
[0109] Specifically, the dynamic programming problem of the reconfigurable battery pack in the battery to be optimized, that is, the optimization model of the target problem can be expressed as the following equations (10) to (13):
[0110]
[0111] subject to 0≤I i ≤I lim , i=1,2,...,n (11)
[0112] V c ≤V0≤V f (12)
[0113]
[0114] Where: “:=” represents the “defined as” symbol; find represents the optimization variable; subject to represents the optimization constraint; min var represents the optimization objective function; G represents the graph model of the reconfigurable battery pack; G′ represents the target topology, which is an element of the graph model; I i represents the current passing through the i-th battery cell; i represents the battery cell number, ranging from 1 to n; n represents the total number of battery cells in the battery network; V c Indicates the lowest terminal voltage (cut-off voltage) allowed during the operation of the battery cell; V0 indicates the actual terminal voltage of the battery cell; V f Indicates the maximum terminal voltage allowed during the operation of the battery unit; I lim Indicates the maximum allowable current through the battery cell; SOC i represents the SOC of the i-th battery cell; Indicates the average SOC of all battery cells.
[0115] Step S7032: Based on the target problem optimization model, a state transition model is constructed with the goal of minimizing the variance of the state of charge of the battery to be optimized.
[0116] Specifically, the optimization target is set to minimize the state of charge (SOC) variance of the battery to be optimized. Furthermore, a corresponding state transition model is constructed in combination with the target problem optimization model.
[0117] In some optional implementations, the above step S7032 includes:
[0118] Step b1, based on the target problem optimization model, with the goal of minimizing the variance of the state of charge of the battery to be optimized, determine the transfer cost.
[0119] Step b2: construct a state transfer model based on the transfer cost.
[0120] Specifically, the SOC variance is differentiated with respect to time to be used as the transfer cost. After mathematical derivation and ignoring the constant coefficient, the following relationship (14) can be obtained:
[0121]
[0122] In the formula: cost represents the transfer cost.
[0123] Further, a state transition model is constructed, as shown in the following equation (15):
[0124] f[t,s i ]=max{f[t-1,s j ]+cost[t-1,s j ,s i ]} (15)
[0125] Where: f[t,s i ] represents the topology s at time t i The optimal cost; f[t-1,s j ] represents the topology s at time t-1 j The optimal cost; cost[t-1,s j ,s i ] represents the topology s at time t-1 j becomes topology s i transfer cost.
[0126] Furthermore, since the goal is to minimize SOC at the expense of the absolute value of SOC change, f[t,s i ] should be as large as possible.
[0127] Furthermore, the dynamic programming algorithm can be used directly to solve the problem, with a time complexity of O(T s s 2 ). Where s is the number of topologies, T s is the maximum running time. For a network with n switches, the number of possible topologies is 2 n The node method is used in the cost calculation part, and the time complexity can be considered to be O(n 3 ), the overall complexity of the entire algorithm is O(T s n 3 4n ). In practical applications, the current cycle topology s can be determined j , optimize and remove one loop, the overall complexity of the entire algorithm is O(T s n 3 2 n ).
[0128] Step S704, using a genetic algorithm to optimize the state transition model until the state of charge of the battery to be optimized meets the preset conditions, and obtains the dynamic planning result of the reconfigurable battery pack in the battery to be optimized. Figure 1 Step S204 of the illustrated embodiment will not be described in detail here.
[0129] The dynamic programming method of the reconfigurable battery pack provided in the present embodiment can abstract the reconfigurable battery pack in the battery to be optimized into a reconfigurable battery pack graph theory model based on the dynamic reconfigurable battery network through the battery equivalent circuit model parameter set. Furthermore, the target problem optimization model corresponding to the reconfigurable battery pack can be determined through the established reconfigurable battery pack graph theory model. Furthermore, with the minimum variance of the state of charge of the battery to be optimized as the goal, the corresponding transfer cost can be calculated in combination with the target problem optimization model, and then the state transfer model can be constructed in combination with the transfer cost. Finally, by optimizing the state transfer model through a genetic algorithm, the dynamic programming result of the reconfigurable battery pack in the battery to be optimized that meets the preset conditions can be obtained. Therefore, by implementing the present invention, the advantage of the flexible topology of the dynamic reconfigurable battery network is utilized, and the battery equivalent circuit model is combined with the dynamic programming network topology of the dynamic reconfigurable battery network to achieve rapid balancing of the battery.
[0130] In this embodiment, a dynamic programming device for a reconfigurable battery pack is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and will not be repeated hereafter. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0131] This embodiment provides a dynamic planning device for a reconfigurable battery pack, such as Figure 8 As shown, the device comprises:
[0132] The acquisition module 801 is used to acquire a battery equivalent circuit model parameter set.
[0133] The abstraction module 802 is used to abstract the reconfigurable battery pack in the battery to be optimized into a reconfigurable battery pack graph model based on the battery equivalent circuit model parameter set.
[0134] The construction module 803 is used to construct a state transition model using a reconfigurable battery pack graph theory model with the goal of minimizing the state of charge variance of the battery to be optimized.
[0135] The optimization module 804 is used to optimize the state transition model using a genetic algorithm until the state of charge of the battery to be optimized meets a preset condition, thereby obtaining a dynamic programming result of the reconfigurable battery pack in the battery to be optimized.
[0136] In some optional implementations, the acquisition module 801 includes:
[0137] The acquisition submodule is used to obtain the battery equivalent circuit model.
[0138] The processing submodule is used to obtain multiple fitting functions based on the battery equivalent circuit model through a preset fitting method. Different fitting functions characterize the relationship between different battery equivalent circuit model parameters and the charge state of the battery to be optimized.
[0139] The first determination submodule is used to determine a battery equivalent circuit model parameter set based on multiple fitting functions.
[0140] In some optional implementations, the determining submodule includes:
[0141] The estimation unit is used to estimate the state of charge of the battery to be optimized by using the ampere-hour integration method to obtain multiple state of charge estimation values.
[0142] The first determining unit is used to determine a battery equivalent circuit model parameter set based on a plurality of state of charge estimation values and a plurality of fitting functions.
[0143] In some optional implementations, the abstraction module 802 includes:
[0144] The abstract submodule is used to abstract the reconfigurable battery pack in the battery to be optimized into a reconfigurable battery pack graph theory based on the battery equivalent circuit model parameter set.
[0145] The calculation submodule is used to calculate multiple voltage values and multiple current values using a node voltage method.
[0146] A submodule is established for establishing a reconfigurable battery pack graph theory model based on the reconfigurable battery pack graph theory, multiple voltage values and multiple current values, after being processed by Kirchhoff's voltage law and Kirchhoff's current law.
[0147] In some optional implementations, the construction module 803 includes:
[0148] The second determination submodule is used to determine the target problem optimization model based on the reconfigurable battery pack graph theory model.
[0149] The submodule is used to optimize the model based on the target problem, and the state transition model is constructed with the goal of minimizing the variance of the state of charge of the battery to be optimized.
[0150] In some optional embodiments, the construction submodule includes:
[0151] The second determination unit is used to determine the transfer cost based on the target problem optimization model and with the goal of minimizing the charge state variance of the battery to be optimized.
[0152] A construction unit is used to construct a state transfer model based on the transfer cost.
[0153] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0154] The dynamic planning device of the reconfigurable battery pack in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0155] The embodiment of the present invention also provides a computer device having the above Figure 8 The dynamic programming device of the reconfigurable battery pack is shown.
[0156] See also Fig. 9 , Fig. 9 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Fig. 9 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig. 9 A processor 10 is taken as an example.
[0157] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0158] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0159] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0160] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0161] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0162] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0163] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of computer program instructions in computer-readable media includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the way in which computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0164] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A dynamic programming method for reconfigurable battery packs, It is characterized in that The method comprises: Obtain a battery equivalent circuit model parameter set; Based on the battery equivalent circuit model parameter set, the reconfigurable battery pack in the battery to be optimized is abstracted into a reconfigurable battery pack graph theory model; Taking the minimum variance of the state of charge of the battery to be optimized as the goal, a state transition model is constructed using the reconfigurable battery pack graph theory model; The state transition model is optimized by using a genetic algorithm until the state of charge of the battery to be optimized meets a preset condition, thereby obtaining a dynamic programming result of the reconfigurable battery pack in the battery to be optimized.
2. The method according to claim 1, It is characterized in that Get the battery equivalent circuit model parameter set, including: Obtain a battery equivalent circuit model; Based on the battery equivalent circuit model, a plurality of fitting functions are obtained through processing by a preset fitting method, and different fitting functions represent the relationship between different battery equivalent circuit model parameters and the charge state of the battery to be optimized; Based on the multiple fitting functions, the battery equivalent circuit model parameter set is determined.
3. The method according to claim 2, It is characterized in that Determining the battery equivalent circuit model parameter set based on the multiple fitting functions includes: estimating the state of charge of the battery to be optimized by using an ampere-hour integration method to obtain a plurality of state of charge estimation values; The battery equivalent circuit model parameter set is determined based on the plurality of state of charge estimation values and the plurality of fitting functions.
4. The method according to claim 1, It is characterized in that Based on the battery equivalent circuit model parameter set, the reconfigurable battery pack in the battery to be optimized is abstracted into a reconfigurable battery pack graph model, including: Based on the battery equivalent circuit model parameter set, the reconfigurable battery pack in the battery to be optimized is abstracted into a reconfigurable battery pack graph theory; A node voltage method is used to calculate and obtain multiple voltage values and multiple current values; Based on the reconfigurable battery pack graph theory, the multiple voltage values and the multiple current values, the reconfigurable battery pack graph theory model is established through processing by Kirchhoff's voltage law and Kirchhoff's current law.
5. The method according to claim 1, It is characterized in that Taking the minimum variance of the state of charge of the battery to be optimized as the goal, a state transition model is constructed using the reconfigurable battery pack graph theory model, including: Determine a target problem optimization model based on the reconfigurable battery pack graph theory model; Based on the target problem optimization model, a state transition model is constructed with the goal of minimizing the variance of the state of charge of the battery to be optimized.
6. The method according to claim 5, It is characterized in that Based on the target problem optimization model, a state transition model is constructed with the goal of minimizing the variance of the state of charge of the battery to be optimized, including: Based on the target problem optimization model, the transfer cost is determined with the goal of minimizing the variance of the state of charge of the battery to be optimized; Based on the transfer cost, the state transfer model is constructed.
7. A dynamic planning device for a reconfigurable battery pack, It is characterized in that The device comprises: An acquisition module, used for acquiring a battery equivalent circuit model parameter set; An abstraction module is used to abstract the reconfigurable battery pack in the battery to be optimized into a reconfigurable battery pack graph model based on the battery equivalent circuit model parameter set; A construction module, used to construct a state transition model using the reconfigurable battery pack graph theory model with the goal of minimizing the state of charge variance of the battery to be optimized; The optimization module is used to optimize the state transition model by using a genetic algorithm until the state of charge of the battery to be optimized meets a preset condition, thereby obtaining a dynamic programming result of the reconfigurable battery pack in the battery to be optimized.
8. A computer device, It is characterized in that include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the dynamic programming method of the reconfigurable battery pack according to any one of claims 1 to 6 by executing the computer instructions.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the dynamic programming method for a reconfigurable battery pack according to any one of claims 1 to 6.
10. A computer program product, It is characterized in that The invention comprises computer instructions for causing a computer to execute the dynamic programming method of the reconfigurable battery pack according to any one of claims 1 to 6.
Citation Information
Cited By
Method and equipment for restraining circulating current between dynamic reconfigurable battery modules based on graph theory
CN120433390A
