LU504942B1 - Intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter - Google Patents
Intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter Download PDFInfo
- Publication number
- LU504942B1 LU504942B1 LU504942A LU504942A LU504942B1 LU 504942 B1 LU504942 B1 LU 504942B1 LU 504942 A LU504942 A LU 504942A LU 504942 A LU504942 A LU 504942A LU 504942 B1 LU504942 B1 LU 504942B1
- Authority
- LU
- Luxembourg
- Prior art keywords
- grey wolf
- state
- particle
- wolf
- charge
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/367—Software therefor, e.g. for battery testing using modelling or look-up tables
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/25—Design optimisation, verification or simulation using particle-based methods
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/05—Accumulators with non-aqueous electrolyte
- H01M10/052—Li-accumulators
- H01M10/0525—Rocking-chair batteries, i.e. batteries with lithium insertion or intercalation in both electrodes; Lithium-ion batteries
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/44—Methods for charging or discharging
- H01M10/441—Methods for charging or discharging for several batteries or cells simultaneously or sequentially
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/60—Heating or cooling; Temperature control
- H01M10/63—Control systems
- H01M10/633—Control systems characterised by algorithms, flow charts, software details or the like
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Chemical & Material Sciences (AREA)
- Theoretical Computer Science (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Geometry (AREA)
- Computer Hardware Design (AREA)
- Materials Engineering (AREA)
- Manufacturing & Machinery (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- General Chemical & Material Sciences (AREA)
- Image Analysis (AREA)
Abstract
The present invention provides an intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter, which includes the following steps: step S10, constructing a high-fidelity second-order autoregressive model and identifying model parameters; step S20, taking the identification parameters of the high-fidelity second-order autoregressive model as state observation measurements, and substituting them into the improved grey wolf particle filter algorithm for iterative calculation, thereby completing intelligent prediction of the state of charge of lithium batteries. The present invention comprehensively considers estimation accuracy and computational complexity, and proposes an intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter.
Description
DESCRIPTION LU504942
INTELLIGENT PREDICTION METHOD FOR STATE OF CHARGE OF LITHIUM
BATTERIES BASED ON IMPROVED GREY WOLF PARTICLE FILTER
The present invention relates to the field of lithium battery technology, in particular to an intelligent prediction method for state of charge of lithtum batteries based on improved grey wolf particle filter.
With the structural change of the global energy supply side, the battery management system has become the main direction of technological innovation in the new energy industry. With the progress of science and technology, the function of the battery management system has gradually improved, and the occurrence of abnormal phenomena such as battery overcharge, over discharge, and overheating has been effectively prevented, so as to significantly improve the battery’s range and extend its service life, and ensure the safe and reliable operation of the battery; lithium battery is an important part of the battery management system. In the whole battery life cycle, the differences between individual cells and their significance accumulation and unreasonable attenuation of cycle life have become the core factors restricting the development of the current stage. The reason for this phenomenon is that the understanding of the working characteristics and operating mechanism of lithium battery is not perfect, and no reliable model construction and state prediction optimization mechanism has been formed.
Therefore, in order to more intuitively describe the reaction mechanism of lithium batteries, an equivalent circuit model 1s constructed to provide accurate and effective input parameters for subsequent lithium battery state estimation. Accurate estimation of the state of charge of lithium batteries can prevent irreversible damage caused by overcharging and over discharging, and is of great significance for further accurate prediction of battery endurance.
Lithium batteries have strong nonlinear dynamic characteristics due to the combination 6504942 multiple parameter coupling processes. Considering the inherent aging and environmental complexity and variability of lithium batteries, existing research has divided equivalent models into three categories: black box models, electrochemical mechanism models, and semi mechanism semi empirical models to simulate voltage response characteristics under different load conditions; the black box model is mainly used to characterize the voltage response characteristics, which is a nonlinear mapping function. The model is trained with data without considering the internal mechanism and structure, but it has a serious dependence on experimental data; the electrochemical model focuses on the complex dynamic characteristics of lithium batteries and can accurately simulate the electrochemical reaction process inside the battery. However, there are many identification parameters and the construction structure is complex; the semi mechanical and semi empirical model can describe electrochemical characteristics through simple circuit components and simulate the dynamic behavior of batteries using mathematical expressions. The equivalent circuit model has clear physical meanings and simple mathematical expressions, so it is widely used in describing the electrochemical characteristics of batteries and has good adaptability; common equivalent modeling methods include Rint, Thevenin, PNGV, and GNL models, which have a simple structure and are easy to analyze, making them particularly important for energy management and becoming the mainstream direction of battery modeling.
Firstly, the initial state of the battery is difficult to determine and there are certain errors in accuracy. Secondly, the accuracy of the battery is high only when left standing for a sufficient period of time, but it is not applicable in actual working conditions. Thirdly, the impact of energy density and cycle life during battery aging on estimation is ignored; accurate estimation of battery state of charge is the foundation of new energy vehicle control, which can effectively prevent overcharging and discharging of lithium batteries, ensuring the safety and durability of their use; in order to solve the problem of high-precision lithium battery state estimation, a large number of excellent research units and researchers at home and abroad have actively carried out relevant research work and obtained a large number of innovative research results, which provide a key reference for lithium battery research; in power battery, the accurate estimation and energy management of SOC are very important. The existing SOC estimation methods mainly includé/504942 coulometric method, discharge point test method, open circuit voltage method, Kalman filter method, artificial neural network method and particle filter method. However, the estimation accuracy of the existing SOC estimation methods is not high.
The invention aims to provide an intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter, so as to solve the problem that the estimation accuracy of the existing SOC estimation method is not high, realize the accurate and efficient operation of the battery management system, and lay a solid theoretical foundation for promoting the multi-directional extension of new energy vehicles.
The present invention provides an intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter, which includes the following steps:
Step S10, a high-fidelity second-order autoregressive model is constructed and model parameter identification is performed,
Step S20, identification parameters of the high-fidelity second-order autoregressive model are taken as state observation measurements, and substituted into the improved grey wolf particle filter algorithm for iterative calculation, thereby completing intelligent prediction of the state of charge of lithium batteries.
Furthermore, step S10 includes the following sub steps:
Step S11, based on Kirchhoffs law, a mathematical expression of the second-order
Thevenin model equivalent to lithium batteries is obtained;
Step S12, the mathematical expression of the second-order Thevenin model is subtracted to obtain a linear regression equation of the high-fidelity second-order autoregressive model,
Step S13, the mathematical expression of the second-order Thevenin model is transformed by Laplace transform to obtain a transfer function G(s);
Step S14, a coefficient vector in the linear regression equation of the high-fidelit#/504942 second-order autoregressive model is obtained using the transfer function G(s);
Step S15, the linear regression equation of the high-fidelity second-order autoregressive model is rewritten into a discretization time sequence to obtain a time-domain differential equation;
Step S16, based on the linear regression equation, transfer function, coefficient vector, and time-domain differential equation of the high-fidelity second-order autoregressive model, the RLS algorithm is used to obtain parameters of the high-fidelity second-order autoregressive model.
Furthermore, the mathematical expression of the second-order Thevenin model equivalent to lithium batteries in step S11:
U, =Us IR, =U, =U, / -U /R +C dU dt 1=U,/R,+C, dU, dt 0 in the equation, Uoc(f) is the open circuit voltage, Ro is the ohmic internal resistance, Rı and
Ra represent the polarization internal resistance and surface effect internal resistance, C1 and C2 represent the polarization capacitance and surface effect capacitance, /(#) is the actual current flowing through the load, and Uz(f) is the closed circuit voltage of the external load.
Furthermore, the linear regression equation of the high-fidelity second-order autoregressive model in step S12 is: »(k)= 0" (4) 9(E-)+e(#) © in the equation, ¢’(k) is the transposition of the system input vector p(k); 9(k-1) is the coefficient vector; e(k) is the relative error between theory and practice; y(k) is the system output; here, the system refers to the high-fidelity second-order autoregressive model,
wherein the system input vectorgp(k) and the coefficient vector Hk) are as follows: LU504942 9(k)=[a,:;a,:b:b,;b, p(k) = [= (k=1);=y (k= 2); (Kk) x (k= 1); (k =2)] 6) in the equation: ai, aa, bo, bı, by are the parameters of coefficient vectors Hk); x(k) represents the state variable of the system at time 4, and y(k) represents the observed value at time À.
Furthermore, the transfer function G(s) in step S13 is as follows:
G(s)= U, (s)-Uvoc(s) _ c,s’ +0,s/c, +e,
I(s) s°+c,s/e +1/6, (4) in the equation, Uz(s), Uoc(s), and I(s) are the Laplace transforms of U_(f), Uoc(f), and I(f), respectively, and s is the complex parameter after Laplace transform; the expressions for custom parameters ci, C2, C3, C4 and cs are as follows: c1=Ri1C1R (Cy;
C2=Ro;
C3=RoR1C1+RoR2C7+R 1 RaC7+R1R2C7, c4=Ro+R1+R2; es=R1C1+R2C2.
Furthermore, step S14 comprises:
Step S141, the complex parameter s in the transfer function G(s) 1s transformed using z to obtain the equation s=(1-z1)/7z!, where 7'is the experimental sampling time;
Step S142, then the equation s=(1-z"")/7z"! is substituted into the transfer function G(s) to obtain the expressions for the parameters ai, a», bo, bi, ba of the coefficient vector Mk), the expressions are as follows: a=2-csT/e1; a=esT/e1-T"/e1-1; bo=Ca;
b1=c3T/c1-202; LU504942 ba=cal*"/c1-c3T/e1+ez.
Furthermore, the time-domain differential equation described in step S15:
U, (k)-Uoc (k) =—4 [U, (k-1)-Uoe (k-1)] 4 LU, (k=2)=Upc (= 2) +b,1(k)+b1(k—1)+5,1(k-2) (65) in the equation, Æ is the discrete time parameter of the sampled discretization sequence.
Furthermore, step S16 comprises the following sub steps:
Step S161, relative error e(k) is predicted: e(k)=U, (k) = Upc (k) =" (k)=1 (6)
Step S162, gain K(k) is updated:
K(k) =Pk=1)-p(k)[A-1 + 6° (k)- PEUT" 7) wherein A is the forgetting factor;
Step S163, the error covariance matrix P(k) is calculated:
P(k)=[1-K(k)-¢" (k)]-P(k=1)/ A (8)
Step S164, the coefficient vector 9(k) is obtained:
Ik) = 9(k —1)+ K (k)e(k) ©
Step S165, steps S161 to S164 are repeated until the parameter identification is completed at all times, that is, the parameters of the high-fidelity second-order autoregressive model are identified, namely Uoc, Ro, Rı, Ra, Ci and Ca.
Furthermore, step S20 includes the following sub steps:
Step S21, the initial value of the state transition amount is set:
Step S211, at time #0, N particles from the initial prior density function p(xo) are randomly selected, denoted as {x 0, i=1,...,N}, and the weights of each particle w,=1/N(i=1,...,N) are initialized, where 7 represents the particle index;
Step S212, the recommended density function is defined: LU504942 que) = p(xilxt_1) (10) wherein f is the state time, and p(x; |x;.,) is a posterior probability distribution;
Step S213, the particle set weights based on the initialized weights of each particle and the suggested density function are obtained: w(x) = w(x) p(y, x) = (N27 )exp| -(» X vd (11) wherein y; is the system observation measurement, o is the Gaussian distribution variance;
Step S22, social hierarchy mechanism:
Step S221, the particle set {x0, i=1,...,N} at the time /=0 is taken as the initial population of the grey wolf particle filter algorithm, and the particle set weight w(x: 1.) is used to represent the fitness of the grey wolf individual, and social hierarchy is conducted to select the grey wolf individual with the best adaptability in each generation of population, so as to determine the location of the first wolf;
Step S222, the head wolf a, ß, à for perceiving prey determines the direction of the population’s encirclement of prey, and the candidate wolf pack w gradually updates its position with the head wolf, and the mathematical model for the process of gray wolves gradually approaching and surrounding their prey is as follows:
D=C-X,(t)-X,(1) ; (+1) = X, (7) -A°D
A=2a4°r —a,C=2r, (12) in the equation, 7 represents the current number of iterations; X;(f) is the current position vector of the grey wolf, i.e. the state observation measurement, i.e; Xp(f) is the position vector of the current prey; ri and r» are random vectors on [0,1]; a€ [0,2] is the convergence factor, and in the entire process a decreases from linear 2 to 0; A and C are synergistic coefficient vectors; D is the distance vector from the prey to the individual grey wolf, the random value on A E[-a,a], when a linearly decreases, the grey wolf moves between its current position and its prey; C is a random value on [0,2], representing the random weight;
Step S23, the adaptability of the head wolf is updated: LU504942
Step S231, a mathematical model for individual grey wolf tracking prey 1s constructed as follows:
D, =C,oX,(1)-X,(1),D, =C,oX,(t)-X, (1) > =C,oX,(t)-X,(1).X}(1)=X,(1)-A,oD
X{(1)=X,(1)-A,oD,X;(1)=X,({)-A,-D (13)
Step S232, the final position of the grey wolf individual is obtained from the mathematical model of the grey wolf individual tracking prey as follows:
X, (t+1)=[X] (1) +X] (1) +X] (1) ]/3 (14)
Step S24, the number of iterations of the grey wolf particle filter algorithm is determined: if the grey wolf particle filter algorithm does not reach the set number of iterations, return to step S22 to continue selecting the position of the head wolf, otherwise, proceed to step S25;
Step S25, particle weight normalization:
Step S251, the iterated grey wolf population of the grey wolf particle filtering algorithm is used as the sampled particles in the grey wolf particle filtering algorithm, and the particle normalization weight is calculated as follows:
N
Wi) (5) Sl) i=1 (15)
Step S252, the expected estimate of the current discrete time system state is output;
Step S26, the effective particle number 1s calculated to judge whether to resample:
Step S261, for the phenomenon of particle degradation, the relative efficiency RNE 1s defined as: (RNE)*=|14var, 5.) (w)] a6 in the equation, var(-) represents the variance function for calculating particle weights;
Step S262, the approximate value of effective particle number based on the relative efficiency RNE is:
N, = N{ + var abs) ow (x, )}} ~ X ww (xi, )] LU504942 = (17)
Step S263, if the approximate value of the effective particle number is less than the estimated threshold value, resampling will be conducted, and the posterior probability density for resampling is:
N p(x us ) * D w(on, ) d(x, Mi) ist (18) that is, resample the posterior probability density N times, so that p(<;,#x,.), wherein w, =1/N;
Step S27, steps S22 to S26 are repeated until the state estimation at all times is completed, thus completing the intelligent prediction of the state of charge of the lithium battery.
In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:
The present invention comprehensively considers estimation accuracy and computational complexity, and proposes an intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter. On the basis of fully considering the work of lithium batteries, combined with the establishment of SOC estimation models, the calculation of intelligent prediction for lithium battery SOC is achieved, providing a foundation for lithium battery SOC estimation and real-time monitoring of working status.
In order to provide a clearer explanation of the technical solution of the embodiments of the present invention, a brief introduction will be given to the accompanying drawings. It should be understood that the following drawings only illustrate certain embodiments of the present invention, and therefore should not be regarded as limiting the scope. For ordinary technical personnel in this field, other relevant drawings can also be obtained based on these drawings without creative labor.
Figure 1 is a flowchart of an intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter in an embodiment of the present invention.
Figure 2 is a structural schematic diagram of a high-fidelity second-order autoregressive model constructed in an embodiment of the present invention.
In order to make the purpose, technical solution, and advantages of the embodiments of the present invention clearer, the following will provide a clear and complete description of the technical solution in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are a part of the embodiments of the present invention, not all of them. The components of the embodiments of the present invention typically described and shown in the accompanying drawings can be arranged and designed in various different configurations.
Therefore, the detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but only to represent selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in the art without creative labor fall within the scope of protection of the present invention.
As shown in Figure 1, this embodiment proposes an intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter, which includes the following steps:
Step S10, a high-fidelity second-order autoregressive model is constructed and model parameter identification is performed; specifically:
Step S11, based on Kirchhoff's law, a mathematical expression of the second-order
Thevenin model equivalent to lithium batteries is obtained:
U =U, —IR -U -U, LU504942 / -U /R +C dU dt 1=U,/R,+C, dU, /di 0 in the equation, Uoc(f) is the open circuit voltage, Ro is the ohmic internal resistance, Rı and
Ra represent the polarization internal resistance and surface effect internal resistance, C1 and C2 represent the polarization capacitance and surface effect capacitance, /(#) is the actual current flowing through the load, and Uz(f) is the closed circuit voltage of the external load.
Step S12, the mathematical expression of the second-order Thevenin model is subtracted to obtain a linear regression equation of the high-fidelity second-order autoregressive model: »(k)= 0" (4) 9(E-)+e(#) © in the equation, ¢’(k) is the transposition of the system input vector p(k); 9(k-1) is the coefficient vector; e(k) is the relative error between theory and practice; y(k) is the system output; here, the system refers to the high-fidelity second-order autoregressive model; therefore, a high-fidelity second-order autoregressive model is constructed by combining the second-order
Thevenin model with the autoregressive model.
Wherein the system input vectorg(k) and the coefficient vector $(k) are as follows: 9(k)=[a,:;a,:b:b,;b, p(k) = [= (k=1);=y (k= 2); (Kk) x (k= 1); (k =2)] 6) in the equation: ai, aa, bo, bı, by are the parameters of coefficient vectors Hk); x(k) represents the state variable of the system at time Æ, and y(k) represents the observed value at time À.
Step S13, the mathematical expression of the second-order Thevenin model is transformed by Laplace transform to obtain a transfer function G(s); the Laplace transform is a linear transformation that transforms a function with a parameter real number 7 (£0) into a function with a parameter complex numbers.
G(s) _ U, (s)-Uvc (s) _ c,s’ +c,s/e +c, /c LU504942
I(s) s°+c,s/e +1/6, (4) in the equation, Uz(s), Uoc(s), and I(s) are the Laplace transforms of U_(f), Uoc(f), and I(f), respectively, and s is the complex parameter after Laplace transform; the expressions for custom parameters ci, C2, C3, C4 and cs are as follows: c1=R1C1R2C2;
C2=Ro;
C3=RoR1C1+RoR2C7+R 1 RaC7+R1R2C7, c4=Ro+R1+R2; es=R1C1+R2C2.
Step S14, a coefficient vector in the linear regression equation of the high-fidelity second-order autoregressive model is obtained using the transfer function G(s);
Step S141, to transform the time-domain signal (i.e. discrete time sequence) into a representation in the complex frequency domain, the complex parameter s in the transfer function G(s) is transformed using z to obtain the formula s=(1-z"")/77", where T is the experimental sampling time;
Step S142, then the equation s=(1-z"")/7z"! is substituted into the transfer function G(s) to obtain the expressions for the parameters ai, a», bo, b1, ba of the coefficient vector Mk), the expressions are as follows: a=2-csT/e1; a=esT/e1-T"/e1-1; bo=Ca; b1=c3T/c1-202; ba=cal*"/c1-c3T/e1+ez.
Step S15, the linear regression equation of the high-fidelity second-order autoregressive model is rewritten into a discretization time sequence to obtain a time-domain differential equation:
U, (k) Une (k) =-q LU, (k a 1) Upc (k a 1] 0506062 -a, |U, (k-2)-Uoc (k-2) +b,1(k)+b1(k—1)+5,1(k-2) (65) in the equation, Æ is the discrete time parameter of the sampled discretization sequence.
Step S16, based on the linear regression equation, transfer function, coefficient vector, and time-domain differential equation of the high-fidelity second-order autoregressive model, the RLS algorithm is used to obtain parameters of the high-fidelity second-order autoregressive model.
The RLS algorithm (Recursive Least Squares) is applied to numerical optimization problems, which minimizes the sum of squared errors to find the best function match for the data and can provide the best parameter fitting results in a statistical sense; on the basis of the least square method, the forgetting factor is added to reduce the occupation of the old data in the covariance matrix, which can effectively prevent the data saturation phenomenon in the RLS algorithm. Therefore, step S16 is as follows:
Step S161, relative error e(k) is predicted: e(k)=U, (k) = Upc (k) =" (k)=1 (6)
Step S162, gain K(k) is updated:
K(k) =Pk=1)-p(k)[A-1 + 6° (k)- PEUT" 7) wherein A is the forgetting factor;
Step S163, the error covariance matrix P(k) is calculated:
P(k)=[1-K(k)-¢" (k)]-P(k=1)/ A (8)
Step S164, the coefficient vector 9(k) is obtained:
Hk) = 9(k—1)+ K(k)e(k) ©)
Step S165, steps S161 to S164 are repeated until the parameter identification is completed at all times, that is, the parameters of the high-fidelity second-order autoregressive model are identified, namely Uoc, Ro, Ri, Ra, Ci and C>. It should be notéd/504942 that when identifying the parameters of the high-fidelity second-order autoregressive model in steps S13 to S16 above, the initial variables of the parameters of the high-fidelity second-order autoregressive model, such as Uoc and Uz, were studied using 70Ah ternary lithium-ion batteries for Hybrid Pulse Power Characterization (HPPC) experiments under 23°C environmental conditions, by studying the working characteristics of lithium-ion batteries through pulse charging and discharging. For other parameters, such as Ro, Ri, Ro,
Ci and C7, the initial variables can be obtained through other existing technologies, and will not be elaborated here.
Step S20, identification parameters of the high-fidelity second-order autoregressive model are taken as state observation measurements, and substituted into the improved grey wolf particle filter algorithm for iterative calculation, thereby completing intelligent prediction of the state of charge of lithium batteries.
In response to the severe particle degradation phenomenon in traditional particle filtering algorithms, the present invention improves the grey wolf particle filtering algorithm to effectively increase particle diversity and enhance particle resistance to degradation. Therefore, step S20 specifically includes the following sub steps:
Step S21, the initial value of the state transition amount is set:
Step S211, the particles are extracted according to the important density function, and the high-dimensional particle set is collected by Sequential Importance Sampling (SIS).
Assuming that the system state x; follows a first-order Markov process, and the initial prior density function of the system state is p(xo), at time #0, N particles from the initial prior density function p(xo) are randomly selected, denoted as {x 0, 7=1,...,N}, and the weights of each particle w,=1/N(i=1,...,N) are initialized, where i represents the particle index;
Step S212, the recommended density function is defined: que) = p(xi|xiy) (10) wherein f is the state time, and p(x; |x;.,) is a posterior probability distribution, real time recursive estimation of posterior distribution and some related features;
Step S213, the particle set weights based on the initialized weights of each particle and)504942 the suggested density function are obtained: w(x) = w(x) p(y, x) = (N27 )exp| -(» X vd (11) wherein y; is the system observation measurement, o is the Gaussian distribution variance, namely o=1;
Step S22, social hierarchy mechanism:
Step S221, the particle set {x;0, i=1,....N} at the time 7/=0 is taken as the initial population of the grey wolf particle filter algorithm, and the particle set weight w(x: 1.) is used to represent the fitness of the grey wolf individual, and social hierarchy is conducted to select the grey wolf individual with the best adaptability in each generation of population, so as to determine the location of the first wolf; introducing a hierarchical mechanism into the particle filter algorithm, which selects and rearranges particles during the resampling stage to increase their diversity and avoid particle degradation.
Step S222, the head wolf à, f, à for perceiving prey determines the direction of the population’s encirclement of prey, and the candidate wolf pack w gradually updates its position with the head wolf, and the mathematical model for the process of gray wolves gradually approaching and surrounding their prey is as follows:
D=C-X,(t)-X,(1) ; (+1) = X, (7) -A°D
A =2aor —a,C=2r, (12) in the equation, / represents the current number of iterations; X;(f) is the current position vector of the grey wolf, i.e. the state observation measurement, i.e; X,(#) is the position vector of the current prey; ri and r» are random vectors on [0,1]; a €[0,2] is the convergence factor, and in the entire process a decreases from linear 2 to 0; A and C are synergistic coefficient vectors; D is the distance vector from the prey to the individual grey wolf, the random value on A €[-a,a], when a linearly decreases, the grey wolf moves between its current position and its prey; C is a random value on [0,2], representing the random weight; characterizing random weights cdidJ504942 effectively increase the diversity of particles and avoid the algorithm falling into local optima;
Step S23, the adaptability of the head wolf is updated:
Step S231, grey wolf individuals have the potential to identify the location of their prey.
To simulate the search behavior of gray wolves, the mathematical model for tracking prey by grey wolf individuals is:
D,=CoX,(1)-X,(1),D, =C,oX,(t)-X, (1) > =C,oX,(t)-X,(1).X}(1)=X,(1)-A,oD
X{(1)=X,(1)-A,oD,X;(1)=X,({)-A,-D (13)
For the establishment of a decentralized model, the A1, Az, and As coefficients can enable the grey wolf algorithm to conduct global search and determine whether the new location is close to or far from the target grey wolf; the Ci, Ca, and Cs coefficients provide random weights for prey, helping to exhibit random search behavior during the grey wolf optimization process, avoiding the algorithm from falling into local optima and determining the orientation of the new position relative to the target grey wolf, Xa(f), Xa), Xs(f) respectively represent the position vector of the current population a, f, à; Da, Dp, Ds are the distance between the current candidate grey wolf and the optimal three wolves, respectively; based on the current obtained range, X1,(f),
X»,(f), Xs,(f) are three optimal solutions, and force other search agents to update their positions based on the optimal search agent’s location.
Step S232, the final position of the grey wolf individual is obtained from the mathematical model of the grey wolf individual tracking prey as follows:
X, (t+1)=[X] (1) +X] (1) +X] (1) ]/3 (14)
Step S24, the number of iterations of the grey wolf particle filter algorithm is determined: if the grey wolf particle filter algorithm does not reach the set number of iterations, return to step S22 to continue selecting the position of the head wolf, otherwise, proceed to step S25;
Step S25, particle weight normalization:
Step S251, the iterated grey wolf population of the grey wolf particle filtering algorithm k$/504942 used as the sampled particles in the grey wolf particle filtering algorithm, and the particle normalization weight is calculated as follows:
N
Wi) (5) Sl) i=1 (15)
Step S252, the expected estimate of the current discrete time system state is output;
Step S26, the effective particle number 1s calculated to judge whether to resample:
Step S261, for the phenomenon of particle degradation, the relative efficiency RNE is defined as: (RNE)*=|14var, 5.) (w)] a6 in the equation, var(-) represents the variance function for calculating particle weights;
Step S262, the approximate value of effective particle number based on the relative efficiency RNE is:
A N 2
Na = N{ + var, ow (x, )}} = V5 ow (xi, ) i=l (17)
Step S263, if the approximate value of the effective particle number is less than the estimated threshold value, resampling will be conducted, and the posterior probability density for resampling is:
N p(x, Vu) ~ > w(x, )o(x, — Xi) i=l (18) that is, resample the posterior probability density N times, so that p(<;,#x,.), wherein w, =1/N;
Step S27, steps S22 to S26 are repeated until the state estimation at all times is completed, thus completing the intelligent prediction of the state of charge of the lithium battery.
In summary, the present invention comprehensively considers estimation accuracy atd/504942 computational complexity, and proposes an intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter. On the basis of fully considering the work of lithium batteries, combined with the establishment of SOC estimation models, the calculation of intelligent prediction for lithium battery SOC is achieved, providing a foundation for lithium battery SOC estimation and real-time monitoring of working status.
The above is only a preferred embodiment of the present invention and is not intended to limit it. For those skilled in the art, the present invention may undergo various modifications and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this invention shall be included within the scope of protection of this invention.
Claims (9)
1. An intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter, characterized in that it includes the following steps: step S10, a high-fidelity second-order autoregressive model 1s constructed and model parameter identification 1s performed; step S20, identification parameters of the high-fidelity second-order autoregressive model are taken as state observation measurements, and substituted into the improved grey wolf particle filter algorithm for iterative calculation, thereby completing intelligent prediction of the state of charge of lithium batteries.
2. The intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter according to claim 1, characterized in that step S10 comprises the following sub steps: step S11, based on Kirchhoffs law, a mathematical expression of the second-order Thevenin model equivalent to lithium batteries is obtained; step S12, the mathematical expression of the second-order Thevenin model is subtracted to obtain a linear regression equation of the high-fidelity second-order autoregressive model; step S13, the mathematical expression of the second-order Thevenin model is transformed by Laplace transform to obtain a transfer function G(s); step S14, a coefficient vector in the linear regression equation of the high-fidelity second-order autoregressive model is obtained using the transfer function G(s); step S15, the linear regression equation of the high-fidelity second-order autoregressive model is rewritten into a discretization time sequence to obtain a time-domain differential equation; step S16, based on the linear regression equation, transfer function, coefficient vector, and time-domain differential equation of the high-fidelity second-order autoregressive model, the RLS algorithm is used to obtain parameters of the high-fidelity second-order autoregressive model.
3. The intelligent prediction method for state of charge of lithium batteries based dt/504942 improved grey wolf particle filter according to claim 2, characterized in that the mathematical expression of the second-order Thevenin model equivalent to lithium batteries in step S11: U, =Us IR, =U, =U, / -U /R +C dU dt 1=U,/R,+C, dU, dt 0 in the equation, Uoc(f) is the open circuit voltage, Ro is the ohmic internal resistance, Rı and Ra represent the polarization internal resistance and surface effect internal resistance, C1 and C2 represent the polarization capacitance and surface effect capacitance, /(#) is the actual current flowing through the load, and Uz(f) is the closed circuit voltage of the external load.
4. The intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter according to claim 3, characterized in that the linear regression equation of the high-fidelity second-order autoregressive model in step S12 is: »(k)= 0" (4) 9(E-)+e(#) © in the equation, ¢’(k) is the transposition of the system input vector p(k); 9(k-1) is the coefficient vector; e(k) is the relative error between theory and practice; y(k) is the system output; here, the system refers to the high-fidelity second-order autoregressive model, wherein the system input vector ¢(k) and the coefficient vector Hk) are as follows: 9(k)=[a,:;a,:b:b,;b, p(k) = [= (k=1);=y (k= 2); (Kk) x (k= 1); (k =2)] 6) in the equation: ai, A, bo, b1, by are the parameters of coefficient vector $(k), x(k) represents the state variable of the system at time Æ, and y(k) represents the observed value at time À.
5. The intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter according to claim 4, characterized in that the transfer function G(s) in step S13 is as follows:
G(s) = U, (s)-Uvoc(s) _ cs” +e,s/e, +e, /C, LU504942 I(s) s° +c,s/c +1/¢ (4) in the equation, Uz(s), Uoc(s), and I(s) are the Laplace transforms of U_(f), Uoc(f), and I(f), respectively, and s is the complex parameter after Laplace transform; the expressions for custom parameters ci, C2, C3, C4 and cs are as follows: c1=Ri1C1R (Cy; ca=Ro; C3=RoR1C1+RoR2C7+R 1 RaC7+R1R2C7, c4=Ro+R1+R2; Cs=R1C1+RaC2.
6. The intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter according to claim 5, characterized in that step S14 comprises: step S141, the complex parameter s in the transfer function G(s) 1s transformed using z to obtain the equation s=(1-z1)/7z!, where 7'is the experimental sampling time; step S142, then the equation s=(1-z!)/7z! is substituted into the transfer function G(s) to obtain the expressions for the parameters ai, a», bo, b1, ba of the coefficient vector Mk), the expressions are as follows: a=2-csT/e1; a=esT/e1-T"/e1-1; bo=Ca; b1=c3T/c1-202; ba=cal*"/c1-c3T/e1+ez.
7. The intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter according to claim 6, characterized in that the time-domain differential equation described in step S15: U, (k)-Uoc (k) =a, LU, (F—1)-Uge ( -1)] -a, |U, (k-2)-Uoc (k-2)] +b,1(k)+b1(k—1)+5,1(k-2) (65)
in the equation, Æ is the discrete time parameter of the sampled discretization sequence. LU504942
8. The intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter according to claim 7, characterized in that step S16 comprises the following sub steps: step S161, relative error e(k) is predicted: e(k)=U, (k) = Upc (k) =" (k)=1 (6) step S162, gain K(k) is updated: K(k) =Pk=1)-p(k)[A-1 + 6° (k)- PEUT" 7) wherein A is the forgetting factor; step S163, the error covariance matrix P(k) is calculated: P(k)=[1-K(k)-¢" (k)]- P(k=1)/ A (8) step S164, the coefficient vector $(k) is obtained: Ik) = 9(k —1)+ K (k)e(k) © step S165, steps S161 to S164 are repeated until the parameter identification is completed at all times, that is, the parameters of the high-fidelity second-order autoregressive model are identified, namely Uoc, Ro, Rı, Ra, Ci and Ca.
9. The intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter according to claim 8, characterized in that step S20 includes the following sub steps: step S21, the initial value of the state transition amount is set: step S211, at time #0, N particles from the initial prior density function p(xo) are randomly selected, denoted as {x: 0, i=1,...,N}, and the weights of each particle w, =1/N(i=1,...,N) are initialized, where i represents the particle index; step S212, the recommended density function is defined: que) = p(xi|xiy) (10) wherein 7 is the state time, and p(x; |x;.,) is a posterior probability distribution;
step S213, the particle set weights based on the initialized weights of each particle atd/504942 the suggested density function are obtained: w(x) = w(x) p(y, x) = (N27 )exp| -(» X vd (11) wherein y; is the system observation measurement, o is the Gaussian distribution variance; step S22, social hierarchy mechanism: step S221, the particle set {x;o, i=1,...,N} at the time #0 is taken as the initial population of the grey wolf particle filter algorithm, and the particle set weight w(x: 1.) is used to represent the fitness of the grey wolf individual, and social hierarchy is conducted to select the grey wolf individual with the best adaptability in each generation of population, so as to determine the location of the first wolf; step S222, the head wolf a, f, à for perceiving prey determines the direction of the population’s encirclement of prey, and the candidate wolf pack @ gradually updates its position with the head wolf, and the mathematical model for the process of gray wolves gradually approaching and surrounding their prey is as follows: D=CoX,(1)-X,(1) ; (+1) = X, (7) -A°D A=2a4°r —a,C=2r, (12) in the equation, / represents the current number of iterations; X;(f) is the current position vector of the grey wolf, i.e. the state observation measurement, i.e; Xp(f) is the position vector of the current prey; ri and r» are random vectors on [0,1]; a €[0,2] is the convergence factor, and in the entire process a decreases from linear 2 to 0; A and C are synergistic coefficient vectors; D is the distance vector from the prey to the individual grey wolf, the random value on A €[-a,a], when a linearly decreases, the grey wolf moves between its current position and its prey; C is a random value on [0,2], representing the random weight; step S23, the adaptability of the head wolf is updated: step S231, a mathematical model for individual grey wolf tracking prey is constructed as follows:
D,=CoX,(1)-X,(1),D, =C,oX,(t)-X, (1) LU504942 > =C,oX,(t)-X,(1).X}(1)=X,(1)-A,oD X{(1)=X,(1)-A,oD,X;(1)=X,({)-A,-D (13) step S232, the final position of the grey wolf individual is obtained from the mathematical model of the grey wolf individual tracking prey as follows: X, (t+1)=[X] (1) +X] (1) +X] (1) ]/3 (14) step S24, the number of iterations of the grey wolf particle filter algorithm is determined: if the grey wolf particle filter algorithm does not reach the set number of iterations, return to step S22 to continue selecting the position of the head wolf, otherwise, proceed to step S25; step S25, particle weight normalization: step S251, the iterated grey wolf population of the grey wolf particle filtering algorithm is used as the sampled particles in the grey wolf particle filtering algorithm, and the particle normalization weight is calculated as follows: N Wi) (5) Sl) i=1 (15) step S252, the expected estimate of the current discrete time system state is output; step S26, the effective particle number is calculated to judge whether to resample: step S261, for the phenomenon of particle degradation, the relative efficiency RNE is defined as: (RNE) x 1+var, (w)] a6 in the equation, var(-) represents the variance function for calculating particle weights; step S262, the approximate value of effective particle number based on the relative efficiency RNE is: A N 2 Na = N{ + var, ow (x, )}} = 3 ow (xi, ) i=l (17) step S263, if the approximate value of the effective particle number is less than the estimated threshold value, resampling will be conducted, and the posterior probability density for resampling is:
p (x.
Ww) _ 3 v (x, 5 (x, _ x) LU504942 i=l (18) that is, resample the posterior probability density N times, so that p(<;,#x,.), wherein w, =1/N;
step S27, steps S22 to S26 are repeated until the state estimation at all times is completed, thus completing the intelligent prediction of the state of charge of the lithium battery.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| LU504942A LU504942B1 (en) | 2023-08-18 | 2023-08-18 | Intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| LU504942A LU504942B1 (en) | 2023-08-18 | 2023-08-18 | Intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| LU504942B1 true LU504942B1 (en) | 2024-02-19 |
Family
ID=89942778
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| LU504942A LU504942B1 (en) | 2023-08-18 | 2023-08-18 | Intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter |
Country Status (1)
| Country | Link |
|---|---|
| LU (1) | LU504942B1 (en) |
-
2023
- 2023-08-18 LU LU504942A patent/LU504942B1/en active IP Right Grant
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Wang et al. | A review of key issues for control and management in battery and ultra-capacitor hybrid energy storage systems | |
| Chang et al. | Lithium-ion battery state of health estimation using the incremental capacity and wavelet neural networks with genetic algorithm | |
| CN110187290B (en) | A Fusion Algorithm-Based Method for Predicting Remaining Life of Li-ion Batteries | |
| Zhang et al. | An improved unscented particle filter approach for lithium-ion battery remaining useful life prediction | |
| Saha et al. | Comparison of prognostic algorithms for estimating remaining useful life of batteries | |
| Li et al. | A mutated particle filter technique for system state estimation and battery life prediction | |
| Che et al. | SOC and SOH identification method of Li-ion battery based on SWPSO-DRNN | |
| CN113253116A (en) | Lithium ion battery state of charge estimation method and storage medium | |
| Li et al. | A novel state estimation approach based on adaptive unscented Kalman filter for electric vehicles | |
| CN110133507B (en) | Battery remaining capacity estimation method based on NARX-UKF algorithm | |
| Li et al. | A recurrent neural network with long short-term memory for state of charge estimation of lithium-ion batteries | |
| Duan et al. | Online parameter identification and state of charge estimation of battery based on multitimescale adaptive double Kalman filter algorithm | |
| Zhao et al. | Digital twin-driven estimation of state of charge for Li-ion battery | |
| CN112881914A (en) | Lithium battery health state prediction method | |
| Huang et al. | State of charge estimation of li-ion batteries based on the noise-adaptive interacting multiple model | |
| Chen et al. | State of health estimation for lithium-ion battery based on long short term memory networks | |
| CN116774045A (en) | A lithium battery health status prediction method based on HHO-SVR | |
| Zhang et al. | Method for Estimating the State of Health of Lithium-ion Batteries Based on Differential Thermal Voltammetry and Sparrow Search Algorithm-Elman Neural Network. | |
| Long et al. | A neural-driven stochastic degradation model for state-of-health estimation of lithium-ion battery | |
| Zhang et al. | SOC estimation optimization method based on parameter modified particle Kalman Filter algorithm | |
| CN113671378A (en) | Fractional order theory-based lithium ion battery modeling and parameter identification method | |
| LU504942B1 (en) | Intelligent prediction method for state of charge of lithium batteries based on improved grey wolf particle filter | |
| CN113960482A (en) | Lithium battery state of charge intelligent prediction method based on improved wolf particle filtering | |
| Mohapatra et al. | Machine Learning–Based SoC Estimation: A Recent Advancement in Battery Energy Storage System | |
| Fan et al. | LSTM-Attention Mechanism based Remaining Useful Life Prediction of Lithium Batteries |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FG | Patent granted |
Effective date: 20240219 |