Lead-acid battery parameter determination method and system, electronic equipment and storage medium
By constructing a lead-acid battery equivalent model and using the bird mating optimizer algorithm, the problem of low accuracy in determining lead-acid battery parameters is solved, achieving higher parameter determination accuracy and battery performance improvement.
Patent Information
- Application Number
- CN202410897848.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-11-01
AI Technical Summary
In the prior art, the traditional least squares algorithm used to determine the parameters of lead-acid batteries has low accuracy and is difficult to accurately diagnose battery failures, affecting battery performance and service life.
By constructing a lead-acid battery equivalent model, the battery terminal voltage is obtained, and the bird mating optimizer algorithm is used to determine the lead-acid battery parameters to improve the accuracy of parameter determination.
Compared with the least squares method, the bird mating optimizer algorithm has higher accuracy, which can more accurately determine the lead-acid battery parameters, extend the battery life and improve performance.
Smart Images

Figure CN118884231A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of lead-acid batteries, and in particular, relates to a method, system, electronic device and storage medium for determining parameters of a lead-acid battery. Background Art
[0002] Batteries are core energy storage components for a range of consumer, industrial, and power applications. Lead-acid batteries are a popular choice for most applications due to their low initial cost and availability. During their service life, batteries will inevitably undergo certain degradation mechanisms, some of which may be accelerated under extreme usage conditions. Some of the widely studied aging mechanisms affecting valve-regulated lead-acid (VRLA) batteries include electrolyte stratification, hard sulfuric acid acidification, and corrosion. These mechanisms cause significant changes in the battery chemistry and lead to the development of faults, which, if not detected in time, may lead to premature failure and irreversible damage. Therefore, it is very necessary to detect and accurately diagnose battery faults in a timely manner and improve battery performance and service life. In the prior art, the traditional least squares (LS) algorithm used has low accuracy. Summary of the invention
[0003] The embodiments of the present invention provide a method, system, electronic device and storage medium for determining parameters of a lead-acid battery, so as to at least solve the technical problem of low accuracy of the traditional least squares algorithm used in determining parameters of a lead-acid battery in the prior art.
[0004] According to a first aspect of an embodiment of the present invention, a method for determining parameters of a lead-acid battery is provided, comprising: constructing an equivalent model of a lead-acid battery according to preset battery parameters; obtaining the battery terminal voltage of the lead-acid battery equivalent model; and determining the parameters of the lead-acid battery according to the battery terminal voltage using a bird mating optimizer algorithm to obtain the parameters of the lead-acid battery, wherein the bird mating optimizer algorithm is constructed based on the battery parameters to be estimated.
[0005] Optionally, the preset battery parameters include ohmic resistance of electrodes and electrolyte, charge transfer resistance, and double layer capacitance.
[0006] Optionally, based on preset battery parameters, a lead-acid battery equivalent model is constructed, including: based on Kirchhoff's law, determining a first formula, wherein the first formula is used to characterize the relationship between the voltages of each component in the lead-acid battery equivalent circuit; based on the first formula, determining a second formula, wherein the second formula is used to characterize the derivative of the voltage across the double-layer capacitor in the lead-acid battery equivalent circuit; based on the first formula and the second formula, determining the terminal voltage expression of the lead-acid battery as the lead-acid battery equivalent model.
[0007] Optionally, the first formula is: E0-IR0-V c -V t=0, where E0 is the open circuit voltage of the lead-acid battery equivalent circuit, I is the load current, V t is the battery terminal voltage when the load current is I, R0 is the ohmic resistance of the electrode and electrolyte, V c is the voltage across the double-layer capacitor in the lead-acid battery equivalent circuit.
[0008] Optionally, the second formula is: Among them, C1 is the double-layer capacitor, I is the load current, and R1 is the charge transfer resistor.
[0009] Optionally, the third formula is: Among them, V t (t) represents the battery terminal voltage at time t.
[0010] Optionally, the lead-acid battery parameters are determined according to the battery terminal voltage using a bird mating optimizer algorithm to obtain the lead-acid battery parameters, including: determining a fitness function according to a lead-acid battery equivalent model, wherein the fitness function includes the lead-acid battery parameters to be optimized; initializing a bird society based on the bird mating optimizer algorithm, wherein the bird society includes a plurality of birds, and the genes of each bird are defined as the lead-acid battery parameters to be optimized; determining a fitness set according to the bird society and the fitness function, wherein the fitness set includes the fitness corresponding to each bird; and iteratively optimizing the fitness function according to the fitness set to obtain the lead-acid battery parameters.
[0011] Optionally, according to the fitness set, the fitness function is iteratively optimized to obtain the lead-acid battery parameters, including: according to the fitness set, using a preset parallel computing strategy, the fitness function is iteratively optimized to obtain the lead-acid battery parameters.
[0012] According to a second aspect of an embodiment of the present invention, a lead-acid battery parameter determination system is also provided, including: a construction module, used to construct a lead-acid battery equivalent model according to preset battery parameters; an acquisition module, used to obtain the battery terminal voltage of the lead-acid battery equivalent model; a determination module, used to determine the lead-acid battery parameters according to the battery terminal voltage using a bird mating optimizer algorithm to obtain the lead-acid battery parameters, wherein the bird mating optimizer algorithm is constructed based on the battery parameters to be estimated.
[0013] Optionally, the preset battery parameters in the building module include ohmic resistance of electrodes and electrolyte, charge transfer resistance, and double layer capacitance.
[0014] Optionally, the building module is also used to: determine a first formula based on Kirchhoff's law, wherein the first formula is used to characterize the relationship between the voltages of each component in the lead-acid battery equivalent circuit; determine a second formula based on the first formula, wherein the second formula is used to characterize the derivative of the voltage across the double-layer capacitor in the lead-acid battery equivalent circuit; determine the terminal voltage expression of the lead-acid battery as an equivalent model of the lead-acid battery based on the first formula and the second formula.
[0015] Optionally, the first formula constructed by the construction module is: E0-IR0-V c -V t =0, where E0 is the open circuit voltage of the lead-acid battery equivalent circuit, I is the load current, V t is the battery terminal voltage when the load current is I, R0 is the ohmic resistance of the electrode and electrolyte, V c is the voltage across the double-layer capacitor in the lead-acid battery equivalent circuit.
[0016] Optionally, the second formula constructed by the construction module is: Among them, C1 is the double-layer capacitor, I is the load current, and R1 is the charge transfer resistor.
[0017] Optionally, the third formula constructed by the construction module is: Among them, V t (t) represents the battery terminal voltage at time t.
[0018] Optionally, the determination module is also used to: determine a fitness function based on a lead-acid battery equivalent model, wherein the fitness function includes lead-acid battery parameters to be optimized; initialize a bird society based on a bird mating optimizer algorithm, wherein the bird society includes multiple birds, and the genes of each bird are defined as the lead-acid battery parameters to be optimized; determine a fitness set based on the bird society and the fitness function, wherein the fitness set includes the fitness corresponding to each bird; and iteratively optimize the fitness function based on the fitness set to obtain the lead-acid battery parameters.
[0019] Optionally, the determination module is also used to: iteratively optimize the fitness function according to the fitness set and utilize a preset parallel computing strategy to obtain the lead-acid battery parameters.
[0020] According to a third aspect of an embodiment of the present invention, there is also provided an electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the lead-acid battery parameter determination method described in any embodiment of the first aspect above.
[0021] According to a fourth aspect of an embodiment of the present invention, a non-volatile storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the lead-acid battery parameter determination method described in any embodiment of the first aspect when running on a computer or a processor.
[0022] According to a fifth aspect of the embodiments of the present invention, a computer program product is also provided, including a computer program, which, when executed by a processor, implements the method for determining lead-acid battery parameters described in any embodiment of the first aspect above.
[0023] In an embodiment of the present invention, a lead-acid battery equivalent model is constructed according to preset battery parameters; the battery terminal voltage of the lead-acid battery equivalent model is obtained; and the lead-acid battery parameters are determined using a bird mating optimizer algorithm according to the battery terminal voltage to obtain the lead-acid battery parameters, wherein the bird mating optimizer algorithm is constructed based on the battery parameters to be estimated. The present invention determines the lead-acid battery parameters using a bird mating optimizer algorithm by constructing a lead-acid battery equivalent model to obtain the battery terminal voltage. The bird mating optimizer algorithm has higher accuracy than the least squares method, thereby solving the technical problem of low accuracy of the traditional least squares algorithm used in the prior art when determining the lead-acid battery parameters. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0025] Figure 1 is a flow chart of a method for determining parameters of a lead-acid battery according to one embodiment of the present invention;
[0026] Figure 2 is a schematic diagram of an equivalent circuit structure of a lead-acid battery according to one embodiment of the present invention;
[0027] Figure 3 4 is a structural block diagram of a lead-acid battery parameter determination system according to one embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 only 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 ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] According to an embodiment of the present invention, an embodiment of a method for determining parameters of a lead-acid battery is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system comprising at least one 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.
[0031] The method embodiment can also be executed in an electronic device including a memory and a processor, a similar control device or a cloud. Taking an electronic device as an example, the electronic device may include one or more processors and a memory for storing data. Optionally, the electronic device may also include a communication device and a display device for communication functions. It can be understood by those of ordinary skill in the art that the above structural description is only illustrative and does not limit the structure of the above electronic device. For example, the electronic device may also include more or fewer components than the above structural description, or have a configuration different from the above structural description.
[0032] The processor may include one or more processing units. For example, the processor may include a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microcontroller unit (MCU), a field-programmable gate array (FPGA), a neural network processor (NPU), a tensor processing unit (TPU), an artificial intelligence (AI) type processor, and the like. Among them, different processing units may be independent components or integrated into one or more processors. In some instances, the electronic device may also include one or more processors.
[0033] The memory can be used to store computer programs, such as storing a computer program corresponding to the method for determining parameters of a lead-acid battery in an embodiment of the present invention. The processor implements the method for determining parameters of a lead-acid battery by running the computer program stored in the memory. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include a memory remotely disposed relative to the processor, and these remote memories may be connected to the electronic 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.
[0034] The communication device is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the communication device includes a network adapter (network interface controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the communication device can be a radio frequency (radio frequency, RF) module, which is used to communicate with the Internet wirelessly. In some embodiments of the present solution, the communication device is used to connect to mobile devices such as mobile phones and tablets, and instructions can be sent to electronic devices through the mobile device.
[0035] The display device may be a touch screen type liquid crystal display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the electronic device. In some embodiments, the electronic device has a graphical user interface (GUI), and a user may interact with the GUI by touching a finger release and / or gestures on a touch-sensitive surface, and executable instructions for executing the above-mentioned human-computer interaction functions are configured / stored in a computer program product or a readable storage medium executable by one or more processors.
[0036] Figure 1 is a flow chart of a method for determining parameters of a lead-acid battery according to one embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0037] Step S101, constructing a lead-acid battery equivalent model according to preset battery parameters.
[0038] Step S102, obtaining the battery terminal voltage of the lead-acid battery equivalent model.
[0039] Step S103, determining the lead-acid battery parameters using the bird mating optimizer algorithm according to the battery terminal voltage to obtain the lead-acid battery parameters, wherein the bird mating optimizer algorithm is constructed based on the battery parameters to be estimated.
[0040] In an embodiment of the present invention, a lead-acid battery equivalent model is constructed according to preset battery parameters; the battery terminal voltage of the lead-acid battery equivalent model is obtained; and the lead-acid battery parameters are determined using a bird mating optimizer algorithm according to the battery terminal voltage to obtain the lead-acid battery parameters, wherein the bird mating optimizer algorithm is constructed based on the battery parameters to be estimated. The present invention determines the lead-acid battery parameters using a bird mating optimizer algorithm by constructing a lead-acid battery equivalent model to obtain the battery terminal voltage. The bird mating optimizer algorithm has higher accuracy than the least squares method, thereby solving the technical problem of low accuracy of the traditional least squares algorithm used in the prior art when determining the lead-acid battery parameters.
[0041] Optionally, the preset battery parameters include ohmic resistance of electrodes and electrolyte, charge transfer resistance, and double layer capacitance.
[0042] Optionally, based on preset battery parameters, a lead-acid battery equivalent model is constructed, including: based on Kirchhoff's law, determining a first formula, wherein the first formula is used to characterize the relationship between the voltages of each component in the lead-acid battery equivalent circuit; based on the first formula, determining a second formula, wherein the second formula is used to characterize the derivative of the voltage across the double-layer capacitor in the lead-acid battery equivalent circuit; based on the first formula and the second formula, determining the terminal voltage expression of the lead-acid battery as the lead-acid battery equivalent model.
[0043] Optionally, the first formula is: E0-IR0-V c -V t =0, where E0 is the open circuit voltage of the lead-acid battery equivalent circuit, I is the load current, V t is the battery terminal voltage when the load current is I, R0 is the ohmic resistance of the electrode and electrolyte, V c is the voltage across the double-layer capacitor in the lead-acid battery equivalent circuit.
[0044] Optionally, the second formula is: Among them, C1 is the double-layer capacitor, I is the load current, and R1 is the charge transfer resistor.
[0045] Optionally, the third formula is: Among them, V t (t) represents the battery terminal voltage at time t.
[0046] Optionally, the lead-acid battery parameters are determined according to the battery terminal voltage using a bird mating optimizer algorithm to obtain the lead-acid battery parameters, including: determining a fitness function according to a lead-acid battery equivalent model, wherein the fitness function includes the lead-acid battery parameters to be optimized; initializing a bird society based on the bird mating optimizer algorithm, wherein the bird society includes a plurality of birds, and the genes of each bird are defined as the lead-acid battery parameters to be optimized; determining a fitness set according to the bird society and the fitness function, wherein the fitness set includes the fitness corresponding to each bird; and iteratively optimizing the fitness function according to the fitness set to obtain the lead-acid battery parameters.
[0047] Optionally, according to the fitness set, the fitness function is iteratively optimized to obtain the lead-acid battery parameters, including: according to the fitness set, using a preset parallel computing strategy, the fitness function is iteratively optimized to obtain the lead-acid battery parameters.
[0048] Based on the above embodiment, specifically, the lead-acid battery parameter determination includes the following contents:
[0049] Can be used Figure 2The first-order Randle circuit shown develops an equivalent circuit model of a lead-acid battery, which is often used to represent battery dynamics. The circuit parameters R0 represent the ohmic resistance of the electrodes and electrolyte, R1 represents the charge transfer resistance, that is, the resistance encountered when the charge is transferred from the electrode to the electrolyte, and C1 represents the double layer capacitance. Kirchhoff's voltage law applies to the output of the circuit.
[0050] E0-IR0-V c -V t =0 Formula (1)
[0051] E0 is the open circuit voltage, and Vt is the battery terminal voltage when the load current is i. Kirchhoff's current law gives the capacitor voltage Vc:
[0052]
[0053] The solution to the above first-order differential equation is:
[0054]
[0055] Combining it with KVL, i.e., equation (1), we get the battery terminal voltage:
[0056]
[0057] V c (0) = E0-IR0-V t0 Formula (5)
[0058] It should be noted that during the discharge process of a lead-acid battery, the influence of various parameters on the battery terminal voltage is shown in formula (4).
[0059] It should be noted that the most commonly used numerical optimization algorithm in battery ECM estimation is the nonlinear least squares method (NLLS) and its variants, such as the complex nonlinear least squares method (CNLS). The core of these methods is to minimize the square error between the estimated and measured data. The response of the battery is measured under certain conditions (state of charge, SOC and temperature), and then one of the methods is used to fit it to the ECM. In an embodiment of the present invention, an evolutionary algorithm based on the bird mating optimizer (BMO) is proposed to determine the parameters of lead-acid batteries.
[0060] BMO is a heuristic technique based on different bird breeding strategies observed in nature. For some applications, the algorithm shows better results compared with other similar metaheuristic algorithms. BMO establishes a reasonable balance between exploration and utilization of the search space, thereby avoiding unexpected premature convergence and successfully obtaining a global solution. BMO evaluates all battery parameters simultaneously to avoid the impact of SOC and temperature changes on the parameters. The present invention uses the BMO algorithm to extract battery ECM parameters from the voltage response measurement data of lead-acid batteries. The error and goodness of fit of the simulation model are evaluated.
[0061] Specifically, the bird mating optimizer algorithm is used to minimize the fitness function of the algebra (i.e., iteration) relative to the range defined by the parameters. The fitness function is the homogeneous form value of formula (4), as shown in formula (6):
[0062]
[0063] Then the root mean square error is:
[0064]
[0065] Where F is the value of the fitness function, which is the homogeneous form of formula (4), and x is the three-parameter vector x = [R0, R1, C1] of the battery ECM.
[0066] Further, the first step of the algorithm is to initialize a society of random birds whose genes are encoded as three parameters. Secondly, the birds in the society are ranked according to their fitness values from small to large. Then, the birds are divided into three different types based on the predefined level range and the corresponding breeding process is carried out. Finally, the fitness of the (i)th generation is compared with the (i+1)th generation. The chicks with higher fitness (i.e., lower RMSE) join the society and abandon the neighboring chicks of the previous generation, otherwise the chicks with better fitness will remain in the society. The algorithm will repeat in iterations until the stopping criterion is met.
[0067] Furthermore, a preset parallel computing strategy is used to accelerate the computing. Specifically, parallelism is a computing model in which multiple tasks or operations are executed simultaneously to improve the overall computing speed and efficiency. This is in contrast to serial computing, which executes tasks one by one in sequence.
[0068] In order to increase the speed of training models and data calculation due to the excessive number of battery parameters, this paper proposes to use parallelism to accelerate the evolutionary algorithm of bird mating optimizer. The main contents are:
[0069] (1) Population parallelization: divide the bird population into multiple sub-populations, each of which runs on a different computing node. In this way, each sub-population can reproduce and evolve in parallel, improving the overall efficiency of the algorithm.
[0070] (2) Parallel breeding: within each sub-population, the breeding and mating operations of the birds can be performed simultaneously. This can be achieved by dividing the individuals in the population into smaller groups and performing the mating process in parallel within these groups.
[0071] (3) Global information synchronization. Although each subgroup runs in parallel locally, global information synchronization is required after a certain number of iterations or generations to ensure information consistency among the subgroups.
[0072] (4) Parallel evaluation: When evaluating fitness, individuals in the group can be evaluated in parallel. This can be achieved by assigning fitness calculation tasks to different computing nodes.
[0073] (5) Task allocation and load balancing: ensuring that tasks are evenly distributed across computing nodes to fully utilize all computing resources.
[0074] (6) Parallel stop criteria: set the trigger stop condition in the parallel environment so that all parallel tasks are terminated when the stop condition is met.
[0075] The present invention also experimentally verifies the above method. Specifically, the battery tested is a lead-acid battery with a rated capacity of 2.5Ah. The battery is discharged using three fixed width (10 seconds duration) input current pulses of 0.1A, 0.5A and 1A, and the corresponding terminal voltage response is measured. The voltage response to the 0.5A input current pulse is as follows: Figure 3 As shown in Figure 2. The measured voltage response is then fitted using the LS and BMO algorithms to estimate the ECM parameters. Both algorithms are limited to run 100 iterations. The parameters to be estimated are initialized before the algorithm starts, and the boundary conditions of the parameters are not specified. At the same time, the accuracy of the two algorithms will be evaluated.
[0076] The parameters extracted using BMO are listed in Table 1. The LS algorithm converged when the number of iterations was less than 100; however, the estimated parameters were unrealistic and produced a poorer fit compared to BMO. In order for the LS method to converge accurately, bounds constraints need to be set on each parameter while initializing the parameters. In the case of BMO, at the end of 100 iterations, the estimated parameters were very accurate and fell within the expected range defined in Table 2. In addition, the BMO algorithm does not require parameter bounds to be specified in advance, thus having a clear advantage over LS.
[0077] Table 1 Parameters estimated using the BMO algorithm
[0078]
[0079] Table 2 Battery parameter range
[0080] ECM parameters Spectral value scope R0(mΩ) 7.5 |7.5±20| R1(mΩ) 133.2 |133.2±100|
[0081] It should be noted that each of these parameters can vary significantly depending on SOC and temperature. In this work, the tests were performed at constant SOC and temperature.
[0082] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0083] In this embodiment, a lead-acid battery parameter determination system is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" is a combination of software and / or hardware that can implement 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.
[0084] Figure 3 FIG. 2 is a block diagram of a lead-acid battery parameter determination system 200 according to one embodiment of the present invention. Figure 3 As shown, a lead-acid battery parameter determination system 200 is used as an example, including: a construction module 201, used to construct a lead-acid battery equivalent model according to preset battery parameters; an acquisition module 202, used to obtain the battery terminal voltage of the lead-acid battery equivalent model; a determination module 203, used to determine the lead-acid battery parameters according to the battery terminal voltage using a bird mating optimizer algorithm to obtain the lead-acid battery parameters, wherein the bird mating optimizer algorithm is constructed based on the battery parameters to be estimated.
[0085] Optionally, the preset battery parameters in the construction module 201 include ohmic resistance of electrodes and electrolyte, charge transfer resistance, and double layer capacitance.
[0086] Optionally, the construction module 201 is also used to: determine a first formula based on Kirchhoff's law, wherein the first formula is used to characterize the relationship between the voltages of each component in the lead-acid battery equivalent circuit; determine a second formula based on the first formula, wherein the second formula is used to characterize the derivative of the voltage across the double-layer capacitor in the lead-acid battery equivalent circuit; and determine the terminal voltage expression of the lead-acid battery as an equivalent model of the lead-acid battery based on the first formula and the second formula.
[0087] Optionally, the first formula constructed by the construction module 201 is: E0-IR0-V c -V t =0, where E0 is the open circuit voltage of the lead-acid battery equivalent circuit, I is the load current, V t is the battery terminal voltage when the load current is I, R0 is the ohmic resistance of the electrode and electrolyte, V c is the voltage across the double-layer capacitor in the lead-acid battery equivalent circuit.
[0088] Optionally, the second formula constructed by the construction module 201 is: Among them, C1 is the double-layer capacitor, I is the load current, and R1 is the charge transfer resistor.
[0089] Optionally, the third formula constructed by the construction module 201 is: Among them, V t (t) represents the battery terminal voltage at time t.
[0090] Optionally, the determination module 203 is also used to: determine a fitness function based on a lead-acid battery equivalent model, wherein the fitness function includes lead-acid battery parameters to be optimized; initialize a bird society based on a bird mating optimizer algorithm, wherein the bird society includes multiple birds, and the genes of each bird are defined as lead-acid battery parameters to be optimized; determine a fitness set based on the bird society and the fitness function, wherein the fitness set includes the fitness corresponding to each bird; and iteratively optimize the fitness function based on the fitness set to obtain lead-acid battery parameters.
[0091] Optionally, the determination module 203 is further used to: iteratively optimize the fitness function according to the fitness set and utilize a preset parallel computing strategy to obtain the lead-acid battery parameters.
[0092] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the lead-acid battery parameter determination method described in any of the above embodiments.
[0093] Optionally, in this embodiment, the processor in the above electronic device may be configured to run a computer program to perform the following steps:
[0094] Step S101, constructing a lead-acid battery equivalent model according to preset battery parameters.
[0095] Step S102, obtaining the battery terminal voltage of the lead-acid battery equivalent model.
[0096] Step S103, determining the lead-acid battery parameters using the bird mating optimizer algorithm according to the battery terminal voltage to obtain the lead-acid battery parameters, wherein the bird mating optimizer algorithm is constructed based on the battery parameters to be estimated.
[0097] Optionally, the preset battery parameters include ohmic resistance of electrodes and electrolyte, charge transfer resistance, and double layer capacitance.
[0098] Optionally, based on preset battery parameters, a lead-acid battery equivalent model is constructed, including: based on Kirchhoff's law, determining a first formula, wherein the first formula is used to characterize the relationship between the voltages of each component in the lead-acid battery equivalent circuit; based on the first formula, determining a second formula, wherein the second formula is used to characterize the derivative of the voltage across the double-layer capacitor in the lead-acid battery equivalent circuit; based on the first formula and the second formula, determining the terminal voltage expression of the lead-acid battery as the lead-acid battery equivalent model.
[0099] Optionally, the first formula is: E0-IR0-V c -V t =0, where E0 is the open circuit voltage of the lead-acid battery equivalent circuit, I is the load current, V t is the battery terminal voltage when the load current is I, R0 is the ohmic resistance of the electrode and electrolyte, V c is the voltage across the double-layer capacitor in the lead-acid battery equivalent circuit.
[0100] Optionally, the second formula is: Among them, C1 is the double-layer capacitor, I is the load current, and R1 is the charge transfer resistor.
[0101] Optionally, the third formula is: Among them, V t (t) represents the battery terminal voltage at time t.
[0102] Optionally, the lead-acid battery parameters are determined according to the battery terminal voltage using a bird mating optimizer algorithm to obtain the lead-acid battery parameters, including: determining a fitness function according to a lead-acid battery equivalent model, wherein the fitness function includes the lead-acid battery parameters to be optimized; initializing a bird society based on the bird mating optimizer algorithm, wherein the bird society includes a plurality of birds, and the genes of each bird are defined as the lead-acid battery parameters to be optimized; determining a fitness set according to the bird society and the fitness function, wherein the fitness set includes the fitness corresponding to each bird; and iteratively optimizing the fitness function according to the fitness set to obtain the lead-acid battery parameters.
[0103] Optionally, according to the fitness set, the fitness function is iteratively optimized to obtain the lead-acid battery parameters, including: according to the fitness set, using a preset parallel computing strategy, the fitness function is iteratively optimized to obtain the lead-acid battery parameters.
[0104] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0105] An embodiment of the present invention further provides a non-volatile storage medium, in which a computer program is stored, wherein the computer program is configured to execute the lead-acid battery parameter determination method described in any of the above embodiments when running on a computer or a processor.
[0106] Optionally, in this embodiment, the above-mentioned computer program may be configured to store a computer program for performing the following steps:
[0107] Step S101, constructing a lead-acid battery equivalent model according to preset battery parameters.
[0108] Step S102, obtaining the battery terminal voltage of the lead-acid battery equivalent model.
[0109] Step S103, determining the lead-acid battery parameters using the bird mating optimizer algorithm according to the battery terminal voltage to obtain the lead-acid battery parameters, wherein the bird mating optimizer algorithm is constructed based on the battery parameters to be estimated.
[0110] Optionally, the preset battery parameters include ohmic resistance of electrodes and electrolyte, charge transfer resistance, and double layer capacitance.
[0111] Optionally, based on preset battery parameters, a lead-acid battery equivalent model is constructed, including: based on Kirchhoff's law, determining a first formula, wherein the first formula is used to characterize the relationship between the voltages of each component in the lead-acid battery equivalent circuit; based on the first formula, determining a second formula, wherein the second formula is used to characterize the derivative of the voltage across the double-layer capacitor in the lead-acid battery equivalent circuit; based on the first formula and the second formula, determining the terminal voltage expression of the lead-acid battery as the lead-acid battery equivalent model.
[0112] Optionally, the first formula is: E0-IR0-V c -V t =0, where E0 is the open circuit voltage of the lead-acid battery equivalent circuit, I is the load current, V t is the battery terminal voltage when the load current is I, R0 is the ohmic resistance of the electrode and electrolyte, V c is the voltage across the double-layer capacitor in the lead-acid battery equivalent circuit.
[0113] Optionally, the second formula is: Among them, C1 is the double-layer capacitor, I is the load current, and R1 is the charge transfer resistor.
[0114] Optionally, the third formula is: Among them, V t (t) represents the battery terminal voltage at time t.
[0115] Optionally, the lead-acid battery parameters are determined according to the battery terminal voltage using a bird mating optimizer algorithm to obtain the lead-acid battery parameters, including: determining a fitness function according to a lead-acid battery equivalent model, wherein the fitness function includes the lead-acid battery parameters to be optimized; initializing a bird society based on the bird mating optimizer algorithm, wherein the bird society includes a plurality of birds, and the genes of each bird are defined as the lead-acid battery parameters to be optimized; determining a fitness set according to the bird society and the fitness function, wherein the fitness set includes the fitness corresponding to each bird; and iteratively optimizing the fitness function according to the fitness set to obtain the lead-acid battery parameters.
[0116] Optionally, according to the fitness set, the fitness function is iteratively optimized to obtain the lead-acid battery parameters, including: according to the fitness set, using a preset parallel computing strategy, the fitness function is iteratively optimized to obtain the lead-acid battery parameters.
[0117] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0118] An embodiment of the present invention further provides a computer program product, including a computer program, which implements the lead-acid battery parameter determination method described in any of the above embodiments when executed by a processor.
[0119] Optionally, in this embodiment, the above computer program implements the following steps when executed by a processor:
[0120] Step S101, constructing a lead-acid battery equivalent model according to preset battery parameters.
[0121] Step S102, obtaining the battery terminal voltage of the lead-acid battery equivalent model.
[0122] Step S103, determining the lead-acid battery parameters using the bird mating optimizer algorithm according to the battery terminal voltage to obtain the lead-acid battery parameters, wherein the bird mating optimizer algorithm is constructed based on the battery parameters to be estimated.
[0123] Optionally, the preset battery parameters include ohmic resistance of electrodes and electrolyte, charge transfer resistance, and double layer capacitance.
[0124] Optionally, based on preset battery parameters, a lead-acid battery equivalent model is constructed, including: based on Kirchhoff's law, determining a first formula, wherein the first formula is used to characterize the relationship between the voltages of each component in the lead-acid battery equivalent circuit; based on the first formula, determining a second formula, wherein the second formula is used to characterize the derivative of the voltage across the double-layer capacitor in the lead-acid battery equivalent circuit; based on the first formula and the second formula, determining the terminal voltage expression of the lead-acid battery as the lead-acid battery equivalent model.
[0125] Optionally, the first formula is: E0-IR0-V c -V t =0, where E0 is the open circuit voltage of the lead-acid battery equivalent circuit, I is the load current, V t is the battery terminal voltage when the load current is I, R0 is the ohmic resistance of the electrode and electrolyte, V c is the voltage across the double-layer capacitor in the lead-acid battery equivalent circuit.
[0126] Optionally, the second formula is: Among them, C1 is the double-layer capacitor, I is the load current, and R1 is the charge transfer resistor.
[0127] Optionally, the third formula is: Wherein, Vt(t) represents the battery terminal voltage at time t.
[0128] Optionally, the lead-acid battery parameters are determined according to the battery terminal voltage using a bird mating optimizer algorithm to obtain the lead-acid battery parameters, including: determining a fitness function according to a lead-acid battery equivalent model, wherein the fitness function includes the lead-acid battery parameters to be optimized; initializing a bird society based on the bird mating optimizer algorithm, wherein the bird society includes a plurality of birds, and the genes of each bird are defined as the lead-acid battery parameters to be optimized; determining a fitness set according to the bird society and the fitness function, wherein the fitness set includes the fitness corresponding to each bird; and iteratively optimizing the fitness function according to the fitness set to obtain the lead-acid battery parameters.
[0129] Optionally, according to the fitness set, the fitness function is iteratively optimized to obtain the lead-acid battery parameters, including: according to the fitness set, using a preset parallel computing strategy, the fitness function is iteratively optimized to obtain the lead-acid battery parameters.
[0130] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0131] In some embodiments provided in the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the modules can be a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, modules or indirect coupling or communication connection of modules, which can be electrical or other forms.
[0132] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0133] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of software functional modules.
[0134] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0135] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for determining parameters of a lead-acid battery, characterized in that: include: Construct a lead-acid battery equivalent model based on preset battery parameters; Obtaining the battery terminal voltage of the lead-acid battery equivalent model; According to the battery terminal voltage, the lead-acid battery parameters are determined using a bird mating optimizer algorithm to obtain the lead-acid battery parameters, wherein the bird mating optimizer algorithm is constructed based on the battery parameters to be estimated.
2. The method for determining lead-acid battery parameters according to claim 1, characterized in that: The preset battery parameters include ohmic resistance of electrodes and electrolyte, charge transfer resistance, and double layer capacitance.
3. The method for determining lead-acid battery parameters according to claim 1, characterized in that: The method of constructing a lead-acid battery equivalent model according to preset battery parameters includes: According to Kirchhoff's law, a first formula is determined, wherein the first formula is used to characterize the relationship between the voltages of various components in the lead-acid battery equivalent circuit; Determine the second formula according to the first formula, wherein the second formula is used to characterize the derivative of the voltage across the double-layer capacitor in the lead-acid battery equivalent circuit; According to the first formula and the second formula, a terminal voltage expression of a lead-acid battery is determined as the lead-acid battery equivalent model.
4. The method for determining lead-acid battery parameters according to claim 3, characterized in that: The first formula is: E0-IR0-V c -V t =0, where E0 is the open circuit voltage of the lead-acid battery equivalent circuit, I is the load current, V t is the battery terminal voltage when the load current is I, R0 is the ohmic resistance of the electrode and electrolyte, V c is the voltage across the double-layer capacitor in the lead-acid battery equivalent circuit.
5. The method for determining lead-acid battery parameters according to claim 3, characterized in that: The second formula is: Among them, C1 is the double-layer capacitor, I is the load current, and R1 is the charge transfer resistor.
6. The method for determining parameters of a lead-acid battery according to claim 3, characterized in that: The third formula is: Among them, V t (t) represents the battery terminal voltage at time t.
7. The method for determining parameters of a lead-acid battery according to claim 1, characterized in that: The method of determining the lead-acid battery parameters by using the bird mating optimizer algorithm according to the battery terminal voltage to obtain the lead-acid battery parameters includes: Determining a fitness function according to the lead-acid battery equivalent model, wherein the fitness function includes the lead-acid battery parameters to be optimized; Based on the bird mating optimizer algorithm, a bird society is initialized, wherein the bird society includes a plurality of birds, and the gene of each bird is defined as the lead-acid battery parameter to be optimized; Determine a fitness set according to the bird society and the fitness function, wherein the fitness set includes the fitness corresponding to each bird; According to the fitness set, the fitness function is iteratively optimized to obtain the lead-acid battery parameters.
8. The method for determining parameters of a lead-acid battery according to claim 7, characterized in that: The iterative optimization of the fitness function according to the fitness set to obtain the lead-acid battery parameters includes: According to the fitness set, the fitness function is iteratively optimized using a preset parallel computing strategy to obtain the lead-acid battery parameters.
9. A lead-acid battery parameter determination system, characterized in that: include: A construction module, used for constructing a lead-acid battery equivalent model according to preset battery parameters; An acquisition module, used to acquire the battery terminal voltage of the lead-acid battery equivalent model; A determination module is used to determine the lead-acid battery parameters according to the battery terminal voltage using a bird mating optimizer algorithm to obtain the lead-acid battery parameters, wherein the bird mating optimizer algorithm is constructed based on the battery parameters to be estimated.
10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to execute the lead-acid battery parameter determination method described in any one of claims 1 to 8.
11. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a computer program, wherein the computer program is configured to execute the lead-acid battery parameter determination method described in any one of claims 1 to 8 when running on a computer or a processor.
12. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the method for determining parameters of a lead-acid battery according to any one of claims 1 to 8.
