CN112685917A - Battery equalization modeling system and method based on nonlinear efficiency model - Google Patents
Battery equalization modeling system and method based on nonlinear efficiency model Download PDFInfo
- Publication number
- CN112685917A CN112685917A CN202110113719.6A CN202110113719A CN112685917A CN 112685917 A CN112685917 A CN 112685917A CN 202110113719 A CN202110113719 A CN 202110113719A CN 112685917 A CN112685917 A CN 112685917A
- Authority
- CN
- China
- Prior art keywords
- battery
- equalizer
- bus
- current
- efficiency
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Secondary Cells (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention provides a battery equalization modeling method based on a nonlinear efficiency model, which comprises the following steps: s1, establishing a relation between the residual battery capacity and the balance current; s2, obtaining efficiency values under different balancing currents, and nonlinear relations between the efficiency and the balancing currents, establishing energy consumed by the jth battery in a balancing period in the balancing period, and obtaining a balancing loss objective function of the bus type balancing system in the balancing process; and S3, combining the residual electricity quantity change equations of the n batteries together to obtain a state space model of the bus type equalizing system according to the structure of the bus type equalizing system, then controlling the state space model of the bus type equalizing system by utilizing model prediction control, and establishing an equalizing model of nonlinear efficiency based on a model prediction control strategy. The invention greatly reduces the solving difficulty by utilizing the fusion of the linear efficiency model and the nonlinear efficiency model, so that the model applied to the dynamic battery equalization is more practical.
Description
Technical Field
The invention relates to the field of automatic control, in particular to a battery equalization modeling system and method based on a nonlinear efficiency model.
Background
The model predictive control essentially belongs to the interdisciplinary discipline of optimization and control, and because the Model Predictive Control (MPC) is convenient to build a model, has low requirements on the model, adopts a rolling optimization strategy and has the characteristics of better dynamic control effect and the like, the application of the model predictive control on the dynamic battery balance can improve the balance performance;
however, most of the research in the battery equalization model is based on a linear model, and little research is on the nonlinear modeling of the battery equalization circuit; the efficiency of a practical equalizer is a non-linear function of the input current and the input-output voltage of the equalizer; under the equilibrium strategy of model predictive control, a large amount of nonlinear constraints exist especially when the number of batteries and the number of prediction steps are large, and the solution of an objective function is very troublesome; therefore, a trust domain reflection algorithm can be adopted, and the solving result of the objective function under the linear efficiency model is given to a trust domain reflection algorithm solver as an initial value, so that the difficulty of the optimization process is greatly reduced.
Disclosure of Invention
The invention aims to at least solve the technical problems in the prior art, and particularly provides a battery equalization modeling system and method based on a nonlinear efficiency model.
In order to achieve the above object of the present invention, the present invention provides a battery equalization modeling system based on a nonlinear efficiency model, comprising: the system comprises a charge-discharge module, n equalizers, n batteries and an energy bus;
the first end of the 1 st battery is connected with the first end of the charge-discharge module and the first end of the 1 st equalizer, the second end of the 1 st battery is connected with the second end of the 1 st equalizer, the first end of the 2 nd battery and the first end of the 2 nd equalizer, the third end of the 1 st equalizer is connected with the negative electrode of the energy bus, and the fourth end of the 1 st equalizer is connected with the positive electrode of the energy bus;
the first end of the 2 nd battery is connected with the second end of the 1 st battery, the second end of the 1 st equalizer and the first end of the 2 nd equalizer, the second end of the 2 nd battery is connected with the first end of the 3 rd battery, the first end of the 3 rd equalizer and the second end of the 2 nd equalizer, the third end of the 2 nd equalizer is connected with the negative electrode of the energy bus, and the fourth end of the 2 nd equalizer is connected with the positive electrode of the energy bus;
the first end of the 3 rd battery is connected with the second end of the 2 nd battery, the second end of the 2 nd equalizer and the first end of the 3 rd equalizer, the second end of the 3 rd battery is connected with the first end of the 4 th battery, the first end of the 4 th equalizer and the second end of the 3 rd equalizer, the third end of the 3 rd equalizer is connected with the negative electrode of the energy bus, and the fourth end of the 3 rd equalizer is connected with the positive electrode of the energy bus;
……;
the first end of the nth battery is connected with the second end of the nth-1 battery, the second end of the nth-1 equalizer and the first end of the nth equalizer, the second end of the nth battery is connected with the second end of the nth equalizer and the second end of the charge-discharge module, the third end of the nth equalizer is connected with the negative electrode of the energy bus, and the fourth end of the nth equalizer is connected with the positive electrode of the energy bus;
n is the total number of cells and is also the total number of equalizers corresponding to the cells.
Further, each equalizer includes:
a first end of the battery is connected with a first end of an inductor L1, a second end of the inductor L1 is connected with a first end of a capacitor C1 and a first end of a switch tube Q1, a second end of the battery is connected with a first end of the inductor L3, a second end of the inductor L3 is connected with a first end of a capacitor C2 and a second end of a switch tube Q1, a second end of the capacitor C1 is connected with a first end of a switch tube Q2 and a first end of the inductor L2, a second end of the capacitor C2 is connected with a second end of the switch tube Q2 and a first end of an inductor L4, and a second end of the inductor L2 is connected with a first end of a capacitor C2 and abusIs connected to the energy bus, and a second terminal of the inductor L4 is connected to the capacitor CbusAnd the second end of the energy bus is connected with the energy bus.
The invention also provides a battery equalization modeling method based on the nonlinear efficiency model, which comprises the following steps:
s1, obtaining the relation between the SOC of the battery and the balance current in the bus type balance system according to an ampere-hour integral method, and accordingly establishing a relation between the residual electric quantity of the battery and the balance current;
s2, according to the structure of the bus type equalizing system, obtaining efficiency values under different equalizing currents through equipment, and establishing a nonlinear relation between the efficiency and the equalizing currents, and according to the nonlinear relation, establishing energy consumed by the jth battery in an equalizing cycle in the equalizing cycle, and obtaining an equalizing loss objective function of the bus type equalizing system in the equalizing cycle;
and S3, combining the residual electricity quantity change equations of the n batteries together to obtain a state space model of the bus type equalizing system according to the structure of the bus type equalizing system, then controlling the state space model of the bus type equalizing system by utilizing model prediction control, and establishing an equalizing model of nonlinear efficiency based on a model prediction control strategy.
Further, the solving of the non-linear efficiency model, which is the equilibrium model of the non-linear efficiency based on the model predictive control strategy in S3, belongs to the non-linear optimization, and includes:
firstly, setting the transmission efficiency of an equalizer as a constant, establishing a linear model, namely a linear efficiency model, solving an optimal solution through multi-target linear programming, and assigning the optimal solution to a trust domain reflection algorithm as an initial value so as to solve the optimal solution of a nonlinear efficiency model; the problem that the calculated amount is too large to solve is solved;
most of the constraints are nonlinear constraints, so that the solution is very difficult; solving the nonlinear objective function problem with nonlinear constraints is generally called nonlinear multi-objective programming problem; in multi-target planning with a large number of nonlinear constraints, a search algorithm or a confidence domain algorithm is commonly used, and an optimal value is usually found by gradient descent or confidence radius update through a given initial value; however, for a large optimization function, the search algorithm and the trust domain algorithm have the disadvantage that if the initial value is not selected properly, the global optimum value is difficult to obtain, and the problem is well solved by the proposed method.
Further, the S1 includes:
s1-1, establishing a relation between the SOC of the jth battery and the balance current according to the relation between the SOC of the jth battery and the balance current of the jth battery in the bus type balance system, so as to obtain a relation between the battery residual capacity and the balance current;
s1-2, adding the self-loss of the battery in the equation of the relation between the battery residual capacity and the equalizing current, and setting the residual capacity of the j-th battery as xj=Qj*SOCjAnd obtaining a complete equation of the relation between the residual battery capacity and the balance current.
Further, the S1 includes:
in the bus-type equalization circuit, n represents the total number of cells,representing the current between the jth cell and the equalizer,representing the current between the energy bus and the jth equalizer, j e {1,2, …, n } is the battery number, and is also the equalizer number corresponding to the battery, vjIs the voltage of the jth cell;
writing an SOC change equation of the j-th battery according to the relation between the residual capacity of the lithium ion battery and the balance current as follows:
wherein Q isjThe capacity of the jth battery;
SOCj(t) representing the SOC change equation of the jth battery at the moment of time t;
SOCj(t0) Is represented at time t0At the moment, the SOC change equation of the j-th battery;
by differentiating equation (1), the following equation can be obtained:
wherein Q isjThe capacity of the jth battery;
for the completeness of the equation, adding the self-depletion of the battery in equation (2) yields the following equation:
wherein Q isjThe capacity of the jth battery;
τ is used to describe the self-discharge rate of the cell;
Qjthe capacity of the jth battery;
SOCjrepresents the percentage of the jth battery remaining capacity;
let the residual capacity x of the jth batteryj=Qj*SOCjAnd obtaining the relation between the residual battery capacity and the balance current as follows:
wherein the content of the first and second substances,is the remaining capacity x of the batteryjDifferentiation of (1);
τ is used to describe the self-discharge rate of the cell;
xjthe residual capacity of the jth battery is;
a relationship between the remaining capacity of the battery and the equalizing current has been established so far.
Further, the S2 includes:
s2-1, for the jth equalizer, according to the nonlinear efficiency, the following equation can be obtained:
wherein the content of the first and second substances,is the equalization efficiency between the equalizer and the battery;
vjis the voltage of the jth cell;
vbusis the bus voltage;
wherein the content of the first and second substances,representing the current between the jth battery and the equalizer;
vjis the voltage of the jth cell;
vbusis the bus voltage;
when energy is transferred from the battery to the energy bus, the input current of the equalizer isWhen both the input voltage and the output voltage are constant,only is and(ii) related; can setWherein the content of the first and second substances,representing the equilibrium currentAnd a nonlinear equation of relationship for efficiency; when energy is transferred from the bus to the battery, the input current of the equalizer isWhen both the input voltage and the output voltage are constant,only is and(ii) related; can setWherein the content of the first and second substances,expressed as the equilibrium currentAnd a nonlinear equation of relationship for efficiency;
to facilitate the expression, two variables u are redefinedj,1、uj,2Control signals used to describe the solution to be solved; wherein u isj,1、uj,2The specific expression of (A) is shown as follows:
wherein u isj,1Represents the current flowing from the energy bus to the jth equalizer;
wherein u isj,2Represents the current flowing from the jth battery to the jth equalizer;
the default direction of the current is that the current flows from the bus to the equalizer and the current flows to the battery by the equalizer is positive, otherwise, the current is added with negative;
the battery balancing strategy is to achieve the purpose of SOC balancing by controlling the current flowing direction and the current flowing size between the battery and the energy bus;
when the battery is charged, the current flows into the battery through the equalizer via the bus, and the following formula can be obtained from formula (6):
wherein the content of the first and second substances,representing the current between the jth battery and the equalizer;
vbusis the bus voltage;
vjis the voltage of the jth cell;
h(uj,1) Represents the efficiency between the energy bus and the jth equalizer;
uj,1represents the current flowing from the energy bus to the jth equalizer;
when the battery is discharged, the current is directly discharged from the battery, and the following formula can be obtained:
wherein the content of the first and second substances,representing the current between the jth battery and the equalizer;
uj,2represents the current flowing from the jth battery to the jth equalizer;
substituting equations (9) and (10) into equation (4) can yield the following equation:
wherein the content of the first and second substances,indicates the remaining capacity x of the batteryjDifferentiation of (1);
τ is used to describe the self-discharge rate of the cell;
xjrepresenting the residual capacity of the j-th battery;
h(uj,1) Representing the energy bus and the jth equalizerEfficiency of the process;
vbusis the bus voltage;
uj,1represents the current flowing from the energy bus to the jth equalizer;
vjis the voltage of the jth cell;
uj,2represents the current flowing from the jth battery to the jth equalizer;
s2-2, according to the above battery balancing model with non-linear efficiency, the energy consumed by the jth battery during a balancing cycle can be represented as follows:
wherein E represents the energy lost by the jth battery in the process of one balancing cycle;
teqrepresents an equalization period;
h(uj,1) Represents the efficiency between the energy bus and the jth equalizer;
uj,1represents the current flowing from the energy bus to the jth equalizer;
vbusis the bus voltage;
f(uj,2) Is the efficiency between the jth battery and the jth equalizer;
uj,2represents the current flowing from the jth battery to the jth equalizer;
vjis the voltage of the jth cell;
therefore, an equalization loss objective function of the bus type equalization system in the equalization process is obtained.
Further, the S3 includes:
s3-1, combining the residual electricity quantity change equations of n batteries together to obtain a state space model of the bus type equalizing system according to the structure of the bus type equalizing system, discretizing the state space model to obtain a discrete state space model, and obtaining an equalizing loss target function and constraint of the target function in the discretization model;
s3-2, controlling the state space model of the bus type equalization system by using a model prediction control strategy, thereby obtaining a target function and a constraint condition thereof which enable equalization loss to be minimum in model prediction control, and according to the rule that the battery charge state changes along with time in the equalization process, the equalization speed is related to the area enclosed by a charge state change curve and a longitudinal axis in the equalization process, thereby combining time efficiency into the target function with minimum equalization loss.
Further, the S3-1 includes:
combining the remaining capacity change equations of the n batteries together to obtain a state space model of the bus type equalization system as shown in the following formula:
wherein the content of the first and second substances,representing a state space model formed by combining equations of n batteries together;
A0=-τIn×nis a matrix of n × n; τ is the self-discharge rate of the cell, In×nRepresenting an n × n identity matrix, n being the total number of cells;
x=[x1,x2,…xn]Tis a state vector of n x 1 dimension, representing the residual capacity of all batteries in the equalizing system, x1Indicates the remaining capacity, x, of the 1 st cell2Indicates the remaining capacity, x, of the 2 nd batterynRepresenting the residual capacity of the nth battery; aTRepresenting a transpose;
u=[u1,1,u1,2,u2,1,u2,2,…un,1,un,2,]Tis a control input of 2n × 1 dimension, representing the control action of the equalizer on the battery, u1,1Representing the current, u, of the energy bus flowing to the 1 st equalizer1,2Representing the current, u, flowing from the 1 st cell to the 1 st equalizer2,1Representing the current, u, of the energy bus flowing to the 2 nd equalizer2,2Representing the current of the 2 nd battery to the 2 nd equalizer, un,1Representing the current of the energy bus flowing to the nth equalizer, un,2Representing the current of the nth battery flowing to the nth equalizer;
B0the matrix for n × 2n is as follows:
wherein, h (u)1,1) Represents the efficiency between the energy bus and the 1 st equalizer;
vbusis the bus voltage;
v1voltage of the 1 st battery;
h(u2,1) Represents the efficiency between the energy bus and the 2 nd equalizer;
v2the voltage of the 2 nd battery;
h(un,1) Representing the efficiency between the energy bus and the nth equalizer;
vnis the voltage of the nth cell;
discretizing the formula (13) with kt as the sampling time0-t0Substituting the sampling instant into equation (13) may result in the following equation:
wherein the content of the first and second substances,representing a time of kt0-t0The state space model of the bus type equalization system;
x(kt0-t0) Representing the battery at time kt0-t0The remaining amount of power of;
u(kt0-t0) Representing the battery at time kt0-t0To which is subjected toControl action, i.e. the magnitude of the equalizing current;
t0the sampling time of the discretization of the continuous state space model, and the control signal is unchanged in a sampling period;
when t is0Sufficiently small, then equation (15) may become the following equation:
wherein x (k) represents the remaining capacity of the battery at the kth sampling time;
x (k-1) represents the remaining capacity of the battery at the k-1 th sampling point;
t0the sampling time of the discretization of the continuous state space model, and the control signal is unchanged in a sampling period;
x (k-1) represents the remaining capacity of the battery at the k-1 th sampling point;
u (k-1) represents a control signal at the k-1 th sampling point;
the equation (16) can be simplified as shown in the following equation:
x(k)=(In×n+A0t0)x(k-1)+B0t0u(k-1) (17)
wherein x (k) represents the remaining capacity of the battery at the kth sampling time;
In×nan identity matrix of n × n;
t0the sampling time of the discretization of the continuous state space model, and the control signal is unchanged in a sampling period;
x (k-1) represents the remaining capacity of the battery at the k-1 th sampling point;
u (k-1) represents a control signal at the k-1 th sampling point;
thus, a discretized model of equation (13) such as equation (17) can be obtained; for convenience of expression, let A be In×n+A0t0、B=B0t0Wherein A is0=-τIn×nIs an n x n matrix, and tau is the self of the cellDischarge rate, In×nRepresenting an n × n identity matrix, B0Is a matrix of n × 2 n; for the discretized state space model, the time when equalization is completed is K, then the equalization loss objective function in the discretized state space model can be obtained according to equation (12) as shown in the following equation:
wherein E represents the energy lost by the jth battery in the process of one balancing cycle;
k represents the time when equalization is completed;
t0a sampling time representing a discretization of the continuous state space model;
F0(k) the F matrix at the 0 th step of the kth sampling moment is obtained;
u (k) represents the control action of the equalizer on the battery at the k sampling moment;
vbusis the bus voltage;
h[u1,1(k)]representing the efficiency between the energy bus and the 1 st equalizer at the kth sampling instant;
h[un,1(k)]representing the efficiency between the energy bus and the nth equalizer at the kth sampling instant;
v1voltage of the 1 st battery;
f[u1,2(k)]the efficiency between the 1 st battery and the 1 st equalizer at the kth sampling moment is shown;
vnis the voltage of the nth cell;
f[u1,2(k)]the efficiency between the 1 st battery and the 1 st equalizer at the kth sampling moment is shown;
f[un,2(k)]the efficiency between the nth battery and the nth equalizer at the kth sampling moment is shown;
for optimization problems, it can be generally considered that the constraints on the state variables are soft constraints, the constraints on the control inputs belong to hard constraints, and the following constraints exist for equation (18): formula (19) is a soft constraint that the remaining capacity of each battery is equal at the time K of completing equalization, formula (20) is a hard constraint that the total current flowing into the bus and the total current flowing out of the bus are equal to ensure the bus voltage is stable during equalization, and formula (21) is a hard constraint on the control signal;
x1(K)=x2(K)=…=xn(K) (19)
wherein x is1(K) Indicating the residual capacity of the 1 st battery at the moment K of finishing the balance;
x2(K) indicating the residual capacity of the 2 nd battery at the moment K of finishing the balance;
xn(K) indicating the residual capacity of the nth battery at the moment K of finishing the balance;
wherein u isj,1(k) Is the current from the bus to the equalizer at the kth sampling instant;
uj,2(k) efficiency between the equalizer and the battery at the kth sampling instant;
uj,2(k) is the current from the battery to the equalizer at the kth sampling instant;
vjis the voltage of the jth cell;
vbusis the bus voltage;
uj,1(k)×uj,2(k)=0 k=0,1,...,K-1,j=1…,n (21)
wherein u isj,1(k) Is the current from the bus to the equalizer at the kth sampling instant;
uj,2(k) is the current from the battery to the equalizer at the kth sampling instant;
k is the time for completing the equalization;
n means n batteries;
and establishing the discrete state space model and corresponding constraint conditions of the discrete state space model.
Further, the S3-2 includes:
controlling a state space model of the bus type balance system by using a model prediction control strategy; and (3) controlling the balance system by adopting model prediction control, and obtaining the prediction state in the prediction step length according to the formula (17) as follows:
x(k+1|k)=Ax(k)+Bu(k) (22)
the state for the next time is as follows:
x(k+2|k)=Ax(k+1)+Bu(k+1) (23)
substituting equation (22) into equation (23) yields the following equation:
x(k+2|k)=A2x(k)+ABu(k)+Bu(k+1) (24)
where u (k) means the control signal at the kth sampling instant, u (k +1) means the control signal at the (k +1) th sampling instant, and a ═ In×n+A0t0,B=B0t0Wherein A is0=-τIn×nIs a matrix of n × n, τ is the self-discharge rate of the cell, In×nRepresenting an n × n identity matrix, B0Is a matrix of n × 2n, t0Is the sampling time of the discretization of the continuous state space model; the step size of the model predictive control is in fact the time interval t between adjacent moments0(ii) a x (k) and x (k +1) respectively represent the residual capacity of the battery at the k sampling moment and the residual capacity of the battery at the k +1 sampling moment; x (k +1| k) represents the residual capacity of the battery predicted in the step 1 at the k-th sampling moment, and x (k +2| k) represents the residual capacity of the battery predicted in the step 2 at the k-th sampling moment; similar iterations can result in the following prediction matrices:
wherein x (k +1| k) is the predicted state of step 1 at the kth sampling instant; x (k +2| k) is the predicted state of step 2 at the kth sampling instant; x (k + N | k) is the prediction state of the Nth step at the k sampling moment, namely the prediction step length is N; (.)2Represents the square, (.)NDenotes the power of N, x (k + i | k) is inInterval kt0The prediction state of the step i at the moment; u (k + i | k) is at time kt0Inputting the prediction of the ith step at the moment;
b (k | k), u (k | k), B (k + N-1| k) are equations derived from the above equations:
from equation (13), u ═ u can be obtained1,1,u1,2,u2,1,u2,2,…un,1,un,2,]TU (k | k) is the control input at the kth sampling moment, u (k +1| k) is the prediction input at the kth sampling moment and step 1; u (k + N-1| k) is the prediction input at step N-1 at the kth sampling instant;
represented by formula (17), wherein B is B0t0(ii) a From equation (14) the matrices B and h (u) can be seen1,1)、h(u2,1)…h(un,1) (ii) related; so the matrices B are also summed with u ═ u1,1,u1,2,u2,1,u2,2,…un,1,un,2,]TTherefore, B (k | k) is a matrix obtained by substituting u (k | k) into the B matrix at the k-th sampling time; b (k + i | k) is a matrix obtained by substituting u (k + i | k) into the B matrix when predicting i steps at the kth sampling moment; b (k + N-1| k) is a matrix obtained by substituting u (k + N-1| k) into the B matrix when predicting the step N-1 at the kth sampling moment;
wherein k represents the kth sampling instant; n is the prediction step size, expressed for simplicity as:
for convenience of the following description, the following redefinitions are made; wherein the input variable matrix u (k) is a matrix of dimension (2 × N,1), the state variable X (k +1) is a matrix of dimension (N × N,1), and f (k) is a row vector of dimension (1,2 × N);
U(k)=[u(k|k),u(k+1|k),…,u(k+N-1|k)]T (27)
X(k+1)=[x(k+1|k),x(k+2|k),…,x(k+N|k)]T (28)
F(k)=[F0(k|k),F0(k+1|k),…,F0(k+N-1|k)] (29)
wherein, F0(k | k) denotes the matrix F, F at the prediction of step 0 at the k-th sampling instant0(k +1| k) denotes the F matrix at the kth sampling instant during the 1 st prediction, F0(k + N-1| k) represents the F matrix at the prediction of step N-1 at the kth sampling instantTRepresenting a transpose; in order to minimize the loss during equalization, i.e., minimize equation (18); in the model predictive control strategy, it is equivalent to minimizing the loss within the whole prediction step; the objective function for minimizing the equalization loss in model predictive control can be obtained as follows:
mint0F(k)U(k) (30)
t0is the time interval between adjacent sampling instants of the discretization of the continuous state space model, f (k) is a row vector of dimension (1,2 × N), the variable matrix u (k) is a matrix of dimension (2 × N, 1);
meanwhile, the constraint of the discrete state space model under the model prediction control strategy can be obtained; as shown in equations (31) (32) (33) (34) (35); where equation (31) is the range limit for the input variable; equation (32) is the range limit for the state variables; equation (33) is the constraint that the current flowing into the bus is equal to the current flowing out of the bus in one equalization period; equation (34) is the limit for the battery charge to be equal after the equalization process is over; formula (35) is a constraint that the control signal has only one direction at a certain moment in the predicted step length;
0≤U(k)≤im (31)
xl≤X(k+1)≤xu (32)
x1(k+N|k)=x2(k+N|k)=…=xn(k+N|k) (34)
uj,1(k+h|k)uj,2(h|k)=0 h=0,1,…N-1,j=1,…,n (35)
wherein imIs the maximum value of the input variable; x is the number ofl、xuRespectively the minimum residual capacity and the maximum residual capacity allowed by the battery;
f[uj,2(k+h|k)]the prediction efficiency of the h step between the jth battery and the jth equalizer at the kth sampling moment is shown; u. ofj,1(k + h | k) represents the prediction of the h step of the bus to equalizer current at the kth sample time; u. ofj,2(k + h | k) represents the current prediction of the h step between the jth battery and the jth equalizer at the kth sampling instant;
k represents the sampling time, j represents the j-th battery, N represents the total number of batteries, N represents the predicted step length, h represents the predicted step number at the k-th sampling time, vbusIs the bus voltage, vjIs the voltage of the jth cell;
x1(k + N | k) represents the remaining capacity of the 1 st battery at the k sampling moment when predicting N steps, x2(k + N | k) represents the remaining capacity of the 2 nd battery at the k sampling moment when predicting N steps, xn(k + N | k) represents the remaining capacity of the nth battery at the kth sampling moment when the nth battery predicts the N steps;
according to the rule that the state of charge of the battery changes along with time in the balancing process, the balancing speed is related to the area enclosed by a state of charge change curve and a longitudinal axis in the balancing process, and when the enclosed area is smaller, the balancing time is shorter, and the speed is faster, a target function related to time efficiency can be obtained as shown in the following formula:
wherein, beta is a weight coefficient, x (K +1) is the residual capacity of the battery at the (K +1) th sampling moment, K is the moment of completing equalization, K is the kth sampling moment, M0=[m1,m2,…,mn]Wherein m isjThe value of (j ═ 1,2 … n) is shown in the following formula:
M0Is a defined coefficient matrix, mnThe residual capacity of the nth battery is equal to the average residual capacity of the n batteries, and if the residual capacity of the nth battery is greater than the average residual capacity of the n batteries, m isnIs 1, otherwise is-1; m isjThe residual capacity of the j-th battery is equal to the average residual capacity of the j-th battery, and if the residual capacity of the j-th battery is larger than the average residual capacity of the j-th battery, the mjIs 1, otherwise is-1; x is the number ofj、xeqRespectively the residual capacity of the j-th battery and the average residual capacity of the n batteries;
according to the prediction step size of N, another coefficient matrix M ═ M0,…,M0](1,N×n)The objective function related to time efficiency can be obtained as shown in the following equation:
minβMX(k+1) (38)
wherein N is the total number of cells, β is a weight coefficient, and X (k +1) is a matrix with dimension (N × N, 1);
adding equation (30) to equation (38) results in a final objective function of time efficiency and loss efficiency, as shown in the following equation:
mint0F(k)U(k)+βMX(k+1) (39)
the objective function can be reduced to min (F (k) t by the equations (26) and (39)0+ β M (k) S (U) (k) +. β MRx (k), where t0Is the interval duration between adjacent sampling points of the discretization of the continuous state space model, f (k) is a row vector with dimension (1,2 × N), the variable matrix u (k) is a matrix with dimension (2 × N,1), β is a weight coefficient, the state variable X (k +1) is a matrix with dimension (N × N,1), and since β mrx (k) belongs to a constant independent of the input u (k), the objective function can be simplified as shown in the following equation:
min(F(k)t0+βMS)U(k) (40)
thus, an objective function of the equilibrium model based on the nonlinear efficiency of the model predictive control strategy and a constraint condition thereof are obtained.
In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:
1. under a model prediction control strategy, a nonlinear relation between the efficiency of an equalizer and an equalizing current is considered to model a bus type equalizing circuit, so that the model of the bus type equalizing circuit is more practical;
2. and (3) solving the multi-target nonlinear optimization problem, and taking the result of the linear model as the initial value of the nonlinear model optimization by utilizing the fusion of the linear efficiency model and the nonlinear efficiency model. The solving difficulty is greatly reduced.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention;
drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic diagram of a single improved bussed bi-directional Cuk circuit of the present invention;
FIG. 2 is a block diagram of a bus-based equalization system architecture of the present invention;
FIG. 3 is a graph of a non-linear function between equalization efficiency and equalization current of the present invention;
FIG. 4 is a graph of state of charge of a battery of the present invention over time;
FIG. 5 is a flowchart of the overall algorithm of the present invention;
FIG. 6 is a flow chart under the model predictive control strategy of the present invention;
FIG. 7 is a SOC curve under the model predictive control equalization strategy of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout; the embodiments described below with reference to the drawings are illustrative only for the purpose of illustrating the invention and are not to be construed as limiting the invention;
in the description of the present invention, it is to be understood that the terms "longitudinal", "lateral", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used merely for convenience of description and for simplicity of description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, are not to be construed as limiting the present invention.
In the description of the present invention, unless otherwise specified and limited, it is to be noted that the terms "mounted," "connected," and "connected" are to be construed broadly, and can be, for example, a mechanical or electrical connection, a communication between two elements, a direct connection, or an indirect connection via an intermediate medium, and the specific meaning of the terms can be understood by those skilled in the art according to specific situations.
FIG. 1 shows a single improved bussed bi-directional Cuk circuit diagram structure, namely the equalizer portion of FIG. 2: a first end of the battery is connected with a first end of an inductor L1, a second end of the inductor L1 is connected with a first end of a capacitor C1 and a first end of a switch tube Q1, a second end of the battery is connected with a first end of the inductor L3, a second end of the inductor L3 is connected with a first end of a capacitor C2 and a second end of a switch tube Q1, a second end of the capacitor C1 is connected with a first end of a switch tube Q2 and a first end of the inductor L2, a second end of the capacitor C2 is connected with a second end of the switch tube Q2 and a first end of an inductor L4, and a second end of the inductor L2 is connected with a first end of a capacitor C2 and abusIs connected to the energy bus, and a second terminal of the inductor L4 is connected to the capacitor CbusAnd the second end of the energy bus is connected with the energy bus.
Fig. 2 shows a bus-based equalization system obtained by a cell-pack-cell method, in which a battery with a high state of charge is charged by an equalizer through a bus to a battery with a lower state of charge. The bus here mainly serves as an energy schedule. According to the remaining capacity of the batteryAnd the balance current, obtaining a relation formula of the residual capacity of the battery and the balance current, wherein Q is shown in the following formulajThe capacity of the jth battery.
Therein, SOCj(t) represents the SOC variation equation of the j-th battery at the time t,is SOCjA differentiated form of (t);representing the current between the jth battery and the equalizer;
in the above equation, plus the self-loss of the cell, the following equation can be obtained, where τ is used to describe the self-discharge rate of the cell, and τ is a very small number.
Q SOC in the above formulajThe remaining capacity of the battery. Let the residual capacity x of the jth batteryj=Qj*SOCjWherein, SOCjRepresents the percentage of the jth battery remaining capacity; the relationship between the remaining battery capacity and the balance current can be obtained as shown in the following formula:
fig. 3 shows a non-linear function between equalization efficiency and equalization current. Can be measured using a dedicated device and then a function fit is used to obtain a non-linear function between the equalizer efficiency and the equalizer current. Wherein the relationship between equalizer to battery current and equalizer efficiency is shown as:
y1=-0.0002x1 4+0.0043x1 3-0.0317x1 2+0.0897x1+0.8113
the relationship between bus to equalizer current and equalizer efficiency is shown as follows:
y2=0.0003x2 4-0.0038x2 3-0.0019x2 2+0.0949x2+0.6878
fig. 4 shows a graph of the state of charge of a battery over time. The upper graph is a plot of the SOC of the cell over time in a standard cell balancing problem. In the same battery state, it is apparent that the equalization time t indicated by the broken lineeq1Less than the equalisation time t indicated by the solid lineeq2. The essence of the method is that the area enclosed by the dotted line and the coordinate axes is smaller than the area enclosed by the solid line and the coordinate axes. From the principle of minimum area and minimum time, the objective function related to time efficiency can be obtained as shown in the following formula:
wherein, beta is a weight coefficient, x (K +1) is the residual capacity of the battery at the (K +1) th sampling moment, K is the moment of completing equalization, K is the kth sampling moment, M0=[m1,m2,…,mn]Wherein m isjThe value of (j ═ 1,2 … n) is shown by the following formula:
since the prediction step is N, another coefficient matrix M is [ M ═ M0,…,M0](1,N×n)The objective function related to time efficiency can be obtained as shown in the following equation:
minβMX(k+1)
where N is the total number of cells, β is a weight coefficient, and X (k +1) is a matrix with dimension (N × N, 1).
Fig. 5 shows the present inventionAnd (3) an explicit overall algorithm flow chart. In order to solve the problem that the calculated amount is too large to solve, the invention firstly sets the transmission efficiency of the equalizer as a constant, thereby establishing a linear model and solving the optimal solution u through multi-objective linear programming0And then assigning the optimal solution to a trust domain reflection algorithm of a discrete state space model of the nonlinear equilibrium system as an initial value, thereby solving the optimal solution u of the nonlinear efficiency model0. The solving difficulty of the confidence domain reflection algorithm can be greatly reduced by utilizing the fusion of the linear model and the nonlinear model.
Fig. 6 shows a specific algorithm flow chart of the model-based prediction strategy. The key of the model predictive control is to use the first control action in the optimal solution as the input of the current control object. In fact, in the next sampling period, the measured value at the next time is used again, and the measured value at the next time is used for solving the control input at the next time, so that the model predictive control has the function of feedback correction.
S-A, initializing A sampling time K to be 0, and setting the time K for completing the equalization to be K;
S-B, obtaining an optimal value u according to a linear model0;,
S-C, reaction of u0As an initial value of the nonlinear multi-objective optimization;
S-D, solving the problem of multi-target nonlinear programming under the constraint condition to obtain an optimal solution U (k), wherein U (k) is an input variable matrix;
S-E, the value of k is equal to the last k plus 1;
S-F, taking the first control action in the optimal solution U (k) as input;
S-G, judging whether K is less than or equal to K, if so, skipping to execute S-D; if not, executing S-H;
and S-H, finishing.
FIG. 7 shows a simulation diagram of a bus-based equalization model solution for nonlinear efficiency under a model predictive control strategy. The selected simulation parameters are: the number of cells n is 5, and the sampling time of the discretization of the continuous state space model, namely the interval time t between two adjacent sampling moments030, prediction step N100, electricityCell self-discharge rate τ 10-8And the capacity Q of the battery is [ 20; 20; 20; 20; 20]X 3600, initial remaining capacity x of battery0=[0.45;0.51;0.55;0.57;0.65]X 20X 3600, lowest state of charge SOC of batterymin0.3, maximum state of charge SOC of batterymaxVoltage v of battery 0.7j=[3.0;3.1;3.3;3.4;3.2]Bus voltage vbus=8。
In the figure, the upper half and the lower half represent SOC equalization results when the weighting coefficients of the equalization speed are β 0.01 and β 0, respectively. As can be seen from the figure, when the equalization speed weight coefficient β is 0, equalization is achieved at a time of 3000 s. When the weighting coefficient β of the equalizing speed is 0.01, that is, the equalizing speed efficiency is considered in the objective function, and only about 1050s is needed to achieve equalization.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
Claims (9)
1. A battery equalization modeling system based on a nonlinear efficiency model is characterized by comprising: the system comprises a charge-discharge module, n equalizers, n batteries and an energy bus;
the first end of the 1 st battery is connected with the first end of the charge-discharge module and the first end of the 1 st equalizer, the second end of the 1 st battery is connected with the second end of the 1 st equalizer, the first end of the 2 nd battery and the first end of the 2 nd equalizer, the third end of the 1 st equalizer is connected with the negative electrode of the energy bus, and the fourth end of the 1 st equalizer is connected with the positive electrode of the energy bus;
the first end of the 2 nd battery is connected with the second end of the 1 st battery, the second end of the 1 st equalizer and the first end of the 2 nd equalizer, the second end of the 2 nd battery is connected with the first end of the 3 rd battery, the first end of the 3 rd equalizer and the second end of the 2 nd equalizer, the third end of the 2 nd equalizer is connected with the negative electrode of the energy bus, and the fourth end of the 2 nd equalizer is connected with the positive electrode of the energy bus;
the first end of the 3 rd battery is connected with the second end of the 2 nd battery, the second end of the 2 nd equalizer and the first end of the 3 rd equalizer, the second end of the 3 rd battery is connected with the first end of the 4 th battery, the first end of the 4 th equalizer and the second end of the 3 rd equalizer, the third end of the 3 rd equalizer is connected with the negative electrode of the energy bus, and the fourth end of the 3 rd equalizer is connected with the positive electrode of the energy bus;
……;
the first end of the nth battery is connected with the second end of the nth-1 battery, the second end of the nth-1 equalizer and the first end of the nth equalizer, the second end of the nth battery is connected with the second end of the nth equalizer and the second end of the charge-discharge module, the third end of the nth equalizer is connected with the negative electrode of the energy bus, and the fourth end of the nth equalizer is connected with the positive electrode of the energy bus;
n is the total number of cells and is also the total number of equalizers corresponding to the cells.
2. The nonlinear efficiency model-based battery equalization modeling system of claim 1 wherein each equalizer comprises:
a first terminal of the battery is connected to a first terminal of the inductor L1, a second terminal of the inductor L1 is connected to a first terminal of the capacitor C1 and a first terminal of the switching tube Q1, a second terminal of the battery is connected to a first terminal of the inductor L3, a second terminal of the inductor L3 is connected to a first terminal of the capacitor C2The second end of the switch tube Q1 is connected, the second end of the capacitor C1 is connected with the first end of the switch tube Q2 and the first end of the inductor L2, the second end of the capacitor C2 is connected with the second end of the switch tube Q2 and the first end of the inductor L4, and the second end of the inductor L2 is connected with the capacitor C2busIs connected to the energy bus, and a second terminal of the inductor L4 is connected to the capacitor CbusAnd the second end of the energy bus is connected with the energy bus.
3. A battery equalization modeling method based on a nonlinear efficiency model is characterized by comprising the following steps:
s1, obtaining the relation between the SOC of the battery and the balance current in the bus type balance system according to an ampere-hour integral method, and accordingly establishing a relation between the residual electric quantity of the battery and the balance current;
s2, according to the structure of the bus type equalizing system, obtaining efficiency values under different equalizing currents through equipment, and establishing a nonlinear relation between the efficiency and the equalizing currents, and according to the nonlinear relation, establishing energy consumed by the jth battery in an equalizing cycle in the equalizing cycle, and obtaining an equalizing loss objective function of the bus type equalizing system in the equalizing cycle;
and S3, combining the residual electricity quantity change equations of the n batteries together to obtain a state space model of the bus type equalizing system according to the structure of the bus type equalizing system, then controlling the state space model of the bus type equalizing system by utilizing model prediction control, and establishing an equalizing model of nonlinear efficiency based on a model prediction control strategy.
4. The battery equalization modeling method based on nonlinear efficiency model according to claim 3, wherein the solving of the nonlinear efficiency model based on nonlinear efficiency of model predictive control strategy in S3 belongs to nonlinear optimization, and comprises:
the transmission efficiency of the equalizer is set as a constant, a linear model, namely a linear efficiency model, is established, an optimal solution is solved through multi-objective linear programming, and the optimal solution is assigned to a trust domain reflection algorithm to be used as an initial value, so that the optimal solution of the nonlinear efficiency model is solved.
5. The battery equalization modeling method based on the nonlinear efficiency model according to claim 3, wherein the S1 includes:
s1-1, establishing a relation between the SOC of the jth battery and the balance current according to the relation between the SOC of the jth battery and the balance current of the jth battery in the bus type balance system, so as to obtain a relation between the battery residual capacity and the balance current;
s1-2, adding the self-loss of the battery in the equation of the relation between the battery residual capacity and the equalizing current, and setting the residual capacity of the j-th battery as xj=Qj*SOCjObtaining a complete equation of the relation between the residual battery capacity and the balance current;
writing an SOC change equation of the j-th battery according to the relation between the residual capacity of the lithium ion battery and the balance current as follows:
wherein Q isjThe capacity of the jth battery;
SOCj(t) representing the SOC change equation of the jth battery at the moment of time t;
SOCj(t0) Is represented at time t0At the moment, the SOC change equation of the j-th battery;
by differentiating equation (1), the following equation can be obtained:
wherein Q isjThe capacity of the jth battery;
for the completeness of the equation, adding the self-depletion of the battery in equation (2) yields the following equation:
wherein Q isjThe capacity of the jth battery;
τ is used to describe the self-discharge rate of the cell;
Qjthe capacity of the jth battery;
SOCjrepresents the percentage of the jth battery remaining capacity;
let the residual capacity x of the jth batteryj=Qj*SOCjAnd obtaining the relation between the residual battery capacity and the balance current as follows:
wherein the content of the first and second substances,is the remaining capacity x of the batteryjDifferentiation of (1);
τ is used to describe the self-discharge rate of the cell;
xjthe residual capacity of the jth battery is;
a relationship between the remaining capacity of the battery and the equalizing current has been established so far.
6. The battery equalization modeling method based on the nonlinear efficiency model according to claim 3, wherein the S2-1 comprises:
wherein the content of the first and second substances,representing the current between the jth battery and the equalizer;
vjis the voltage of the jth cell;
vbusis the bus voltage;
when energy is transferred from the battery to the energy bus, the input current of the equalizer isWhen both the input voltage and the output voltage are constant,only is and(ii) related; setting upWherein the content of the first and second substances,representing the equilibrium currentAnd a nonlinear equation of relationship for efficiency; when energy is transferred from the bus to the battery, the input current of the equalizer isWhen both the input voltage and the output voltage are constant,only is and(ii) related; can setWherein the content of the first and second substances,expressed as the equilibrium currentAnd a nonlinear equation of relationship for efficiency;
to facilitate the expression, two variables u are redefinedj,1、uj,2Control signals used to describe the solution to be solved; wherein u isj,1、uj,2The specific expression of (A) is shown as follows:
wherein u isj,1Represents the current flowing from the energy bus to the jth equalizer;
wherein u isj,2Represents the current flowing from the jth battery to the jth equalizer;
the default direction of the current is that the current flows from the bus to the equalizer and the current flows to the battery by the equalizer is positive, otherwise, the current is added with negative;
the battery balancing strategy is to achieve the purpose of SOC balancing by controlling the current flowing direction and the current flowing size between the battery and the energy bus;
when the battery is charged, the current flows into the battery through the equalizer via the bus, and the following formula can be obtained from formula (6):
wherein the content of the first and second substances,representing the current between the jth battery and the equalizer;
vbusis the bus voltage;
vjis the voltage of the jth cell;
h(uj,1) Represents the efficiency between the energy bus and the jth equalizer;
uj,1representing the current flowing from the energy bus to the jth equalizer.
7. The battery equalization modeling method based on the nonlinear efficiency model according to claim 3, wherein the S3 includes:
s3-1, combining the residual electricity quantity change equations of n batteries together to obtain a state space model of the bus type equalizing system according to the structure of the bus type equalizing system, discretizing the state space model to obtain a discrete state space model, and obtaining an equalizing loss target function and constraint of the target function in the discretization model;
s3-2, controlling the state space model of the bus type equalization system by using a model prediction control strategy, thereby obtaining a target function and a constraint condition thereof which enable equalization loss to be minimum in model prediction control, and according to the rule that the battery charge state changes along with time in the equalization process, the equalization speed is related to the area enclosed by a charge state change curve and a longitudinal axis in the equalization process, thereby combining time efficiency into the target function with minimum equalization loss.
8. The battery equalization modeling method based on the nonlinear efficiency model according to claim 7, wherein the S3-1 comprises:
combining the remaining capacity change equations of the n batteries together to obtain a state space model of the bus type equalization system as shown in the following formula:
wherein the content of the first and second substances,representing a state space model formed by combining equations of n batteries together;
A0=-τIn×nis a matrix of n × n; τ is the self-discharge rate of the cell, In×nRepresenting an n × n identity matrix, n being the total number of cells;
x=[x1,x2,…xn]Tis a state vector of n x 1 dimension, representing the residual capacity of all batteries in the equalizing system, x1Indicates the remaining capacity, x, of the 1 st cell2Indicates the remaining capacity, x, of the 2 nd batterynRepresenting the residual capacity of the nth battery; aTRepresenting a transpose;
u=[u1,1,u1,2,u2,1,u2,2,…un,1,un,2,]Tis a control input of 2n x 1 dimensions,represents the control action of the equalizer on the battery, u1,1Representing the current, u, of the energy bus flowing to the 1 st equalizer1,2Representing the current, u, flowing from the 1 st cell to the 1 st equalizer2,1Representing the current, u, of the energy bus flowing to the 2 nd equalizer2,2Representing the current of the 2 nd battery to the 2 nd equalizer, un,1Representing the current of the energy bus flowing to the nth equalizer, un,2Representing the current of the nth battery flowing to the nth equalizer;
B0the matrix for n × 2n is as follows:
wherein, h (u)1,1) Represents the efficiency between the energy bus and the 1 st equalizer;
vbusis the bus voltage;
v1voltage of the 1 st battery;
h(u2,1) Represents the efficiency between the energy bus and the 2 nd equalizer;
v2the voltage of the 2 nd battery;
h(un,1) Representing the efficiency between the energy bus and the nth equalizer;
vnis the voltage of the nth cell;
discretizing the formula (13) with kt as the sampling time0-t0Substituting the sampling instant into equation (13) may result in the following equation:
wherein the content of the first and second substances,representing a time of kt0-t0The state space model of the bus type equalization system;
x(kt0-t0) Representing the battery at time kt0-t0The remaining amount of power of;
u(kt0-t0) Representing the battery at time kt0-t0The magnitude of the balancing current;
t0the sampling time of the discretization of the continuous state space model, and the control signal is unchanged in a sampling period;
when t is0Sufficiently small, then equation (15) may become the following equation:
wherein x (k) represents the remaining capacity of the battery at the kth sampling time;
x (k-1) represents the remaining capacity of the battery at the k-1 th sampling point;
t0the sampling time of the discretization of the continuous state space model, and the control signal is unchanged in a sampling period;
x (k-1) represents the remaining capacity of the battery at the k-1 th sampling point;
u (k-1) represents a control signal at the k-1 th sampling point;
the equation (16) can be simplified as shown in the following equation:
x(k)=(In×n+A0t0)x(k-1)+B0t0u(k-1) (17)
wherein x (k) represents the remaining capacity of the battery at the kth sampling time;
In×nan identity matrix of n × n;
t0the sampling time of the discretization of the continuous state space model, and the control signal is unchanged in a sampling period;
x (k-1) represents the remaining capacity of the battery at the k-1 th sampling point;
u (k-1) represents a control signal at the k-1 th sampling point;
thus, the discretization model of equation (13) can be obtainedThe type is shown as formula (17); a ═ In×n+A0t0、B=B0t0Wherein A is0=-τIn×nIs a matrix of n × n, τ is the self-discharge rate of the cell, In×nRepresenting an n × n identity matrix, B0Is a matrix of n × 2 n; for the discretized state space model, the time when equalization is completed is K, and the equalization loss objective function in the discretized state space model can be obtained as shown in the following formula:
wherein E represents the energy lost by the jth battery in the process of one balancing cycle;
k represents the time when equalization is completed;
t0a sampling time representing a discretization of the continuous state space model;
F0(k) the F matrix at the 0 th step of the kth sampling moment is obtained;
u (k) represents the control action of the equalizer on the battery at the k sampling moment;
vbusis the bus voltage;
h[u1,1(k)]representing the efficiency between the energy bus and the 1 st equalizer at the kth sampling instant;
h[un,1(k)]representing the efficiency between the energy bus and the nth equalizer at the kth sampling instant;
v1voltage of the 1 st battery;
f[u1,2(k)]the efficiency between the 1 st battery and the 1 st equalizer at the kth sampling moment is shown;
vnis the voltage of the nth cell;
f[u1,2(k)]the efficiency between the 1 st battery and the 1 st equalizer at the kth sampling moment is shown;
f[un,2(k)]the efficiency between the nth battery and the nth equalizer at the kth sampling moment is shown;
the constraints on the state variables are soft constraints, the constraints on the control inputs belong to hard constraints, and for equation (18) the following constraints exist: formula (19) is a soft constraint that the remaining capacity of each battery is equal at the time K of completing equalization, formula (20) is a hard constraint that the total current flowing into the bus and the total current flowing out of the bus are equal to ensure the bus voltage is stable during equalization, and formula (21) is a hard constraint on the control signal;
x1(K)=x2(K)=…=xn(K) (19)
wherein x is1(K) Indicating the residual capacity of the 1 st battery at the moment K of finishing the balance;
x2(K) indicating the residual capacity of the 2 nd battery at the moment K of finishing the balance;
xn(K) indicating the residual capacity of the nth battery at the moment K of finishing the balance;
wherein u isj,1(k) Is the current from the bus to the equalizer at the kth sampling instant;
uj,2(k) efficiency between the equalizer and the battery at the kth sampling instant;
uj,2(k) is the current from the battery to the equalizer at the kth sampling instant;
vjis the voltage of the jth cell;
vbusis the bus voltage;
uj,1(k)×uj,2(k)=0 k=0,1,...,K-1,j=1…,n (21)
wherein u isj,1(k) Is the current from the bus to the equalizer at the kth sampling instant;
uj,2(k) is the current from the battery to the equalizer at the kth sampling instant;
k is the time for completing the equalization;
n means n batteries;
and establishing the discrete state space model and corresponding constraint conditions of the discrete state space model.
9. The battery equalization modeling method based on the nonlinear efficiency model according to claim 7, wherein the S3-2 comprises:
controlling a state space model of the bus type balance system by using a model prediction control strategy; and (3) controlling the balance system by adopting model prediction control, and obtaining the prediction state in the prediction step length according to the formula (17) as follows:
x(k+1|k)=Ax(k)+Bu(k) (22)
the state for the next time is as follows:
x(k+2|k)=Ax(k+1)+Bu(k+1) (23)
substituting equation (22) into equation (23) yields the following equation:
x(k+2|k)=A2x(k)+ABu(k)+Bu(k+1) (24)
where u (k) means the control signal at the kth sampling instant, u (k +1) means the control signal at the (k +1) th sampling instant, and a ═ In×n+A0t0,B=B0t0Wherein A is0=-τIn×nIs a matrix of n × n, τ is the self-discharge rate of the cell, In×nRepresenting an n × n identity matrix, B0Is a matrix of n × 2n, t0Is the sampling time of the discretization of the continuous state space model; the step size of the model predictive control is in fact the time interval t between adjacent moments0(ii) a x (k) and x (k +1) respectively represent the residual capacity of the battery at the k sampling moment and the residual capacity of the battery at the k +1 sampling moment; x (k +1| k) represents the residual capacity of the battery predicted in the step 1 at the k-th sampling moment, and x (k +2| k) represents the residual capacity of the battery predicted in the step 2 at the k-th sampling moment; similar iterations can result in the following prediction matrices:
wherein x (k +1| k) is the predicted state of step 1 at the kth sampling instant; x (k +2| k) is the predicted state of step 2 at the kth sampling instant; x (k + N | k) is the prediction state of the Nth step at the k sampling moment, namely the prediction step length is N; (.)2Represents the square, (.)NRepresenting the power of N, x (k + i | k) being at time kt0The prediction state of the step i at the moment; u (k + i | k) is at time kt0Inputting the prediction of the ith step at the moment;
b (k | k), u (k | k), B (k + N-1| k) are equations derived from the above equations:
from equation (13), u ═ u can be obtained1,1,u1,2,u2,1,u2,2,…un,1,un,2,]TU (k | k) is the control input at the kth sampling moment, u (k +1| k) is the prediction input at the kth sampling moment and step 1; u (k + N-1| k) is the prediction input at step N-1 at the kth sampling instant;
represented by formula (17), wherein B is B0t0(ii) a From equation (14) the matrices B and h (u) can be seen1,1)、h(u2,1)…h(un,1) (ii) related; so the matrices B are also summed with u ═ u1,1,u1,2,u2,1,u2,2,…un,1,un,2,]TTherefore, B (k | k) is a matrix obtained by substituting u (k | k) into the B matrix at the k-th sampling time; b (k + i | k) is a matrix obtained by substituting u (k + i | k) into the B matrix when predicting i steps at the kth sampling moment; b (k + N-1| k) is a matrix obtained by substituting u (k + N-1| k) into the B matrix when predicting the step N-1 at the kth sampling moment;
wherein k represents the kth sampling instant; n is the prediction step size, expressed for simplicity as:
for convenience of the following description, the following redefinitions are made; wherein the input variable matrix u (k) is a matrix of dimension (2 × N,1), the state variable X (k +1) is a matrix of dimension (N × N,1), and f (k) is a row vector of dimension (1,2 × N);
U(k)=[u(k|k),u(k+1|k),…,u(k+N-1|k)]T (27)
X(k+1)=[x(k+1|k),x(k+2|k),…,x(k+N|k)]T (28)
F(k)=[F0(k|k),F0(k+1|k),…,F0(k+N-1|k)] (29)
wherein, F0(k | k) denotes the matrix F, F at the prediction of step 0 at the k-th sampling instant0(k +1| k) denotes the F matrix at the kth sampling instant during the 1 st prediction, F0(k + N-1| k) represents the F matrix at the prediction of step N-1 at the kth sampling instantTRepresenting a transpose; in order to minimize the loss during equalization, i.e., minimize equation (18); in the model predictive control strategy, it is equivalent to minimizing the loss within the whole prediction step; the objective function for minimizing the equalization loss in model predictive control can be obtained as follows:
mint0F(k)U(k) (30)
t0is the time interval between adjacent sampling instants of the discretization of the continuous state space model, f (k) is a row vector of dimension (1,2 × N), the variable matrix u (k) is a matrix of dimension (2 × N, 1);
meanwhile, obtaining the constraint of the discrete state space model under a model prediction control strategy; as shown in equations (31) (32) (33) (34) (35); where equation (31) is the range limit for the input variable; equation (32) is the range limit for the state variables; equation (33) is the constraint that the current flowing into the bus is equal to the current flowing out of the bus in one equalization period; equation (34) is the limit for the battery charge to be equal after the equalization process is over; formula (35) is a constraint that the control signal has only one direction at a certain moment in the predicted step length;
0≤U(k)≤im (31)
xl≤X(k+1)≤xu (32)
x1(k+N|k)=x2(k+N|k)=…=xn(k+N|k) (34)
uj,1(k+h|k)uj,2(h|k)=0 h=0,1,…N-1,j=1,…,n (35)
wherein imIs the maximum value of the input variable; x is the number ofl、xuRespectively the minimum residual capacity and the maximum residual capacity allowed by the battery;
f[uj,2(k+h|k)]the prediction efficiency of the h step between the jth battery and the jth equalizer at the kth sampling moment is shown; u. ofj,1(k + h | k) represents the prediction of the h step of the bus to equalizer current at the kth sample time; u. ofj,2(k + h | k) represents the current prediction of the h step between the jth battery and the jth equalizer at the kth sampling instant;
k represents the sampling time, j represents the j-th battery, N represents the total number of batteries, N represents the predicted step length, h represents the predicted step number at the k-th sampling time, vbusIs the bus voltage, vjIs the voltage of the jth cell;
x1(k + N | k) represents the remaining capacity of the 1 st battery at the k sampling moment when predicting N steps, x2(k + N | k) represents the remaining capacity of the 2 nd battery at the k sampling moment when predicting N steps, xn(k + N | k) represents the remaining capacity of the nth battery at the kth sampling moment when the nth battery predicts the N steps;
according to the prediction step size of N, another coefficient matrix M ═ M0,…,M0](1,N×n)The objective function related to time efficiency can be obtained as shown in the following equation:
minβMX(k+1) (38)
wherein N is the total number of cells, β is a weight coefficient, and X (k +1) is a matrix with dimension (N × N, 1);
adding equation (30) to equation (38) results in a final objective function of time efficiency and loss efficiency, as shown in the following equation:
mint0F(k)U(k)+βMX(k+1) (39)
the objective function can be reduced to min (F (k) t by the equations (26) and (39)0+ β M (k) S (U) (k) +. β MRx (k), where t0Is the interval duration between adjacent sampling points of the discretization of the continuous state space model, f (k) is a row vector with dimension (1,2 × N), the variable matrix u (k) is a matrix with dimension (2 × N,1), β is a weight coefficient, the state variable X (k +1) is a matrix with dimension (N × N,1), and since β mrx (k) belongs to a constant independent of the input u (k), the objective function can be simplified as shown in the following equation:
min(F(k)t0+βMS)U(k) (40)
thus, an objective function of the equilibrium model based on the nonlinear efficiency of the model predictive control strategy and a constraint condition thereof are obtained.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110113719.6A CN112685917B (en) | 2021-01-27 | 2021-01-27 | Battery equalization modeling system and method based on nonlinear efficiency model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110113719.6A CN112685917B (en) | 2021-01-27 | 2021-01-27 | Battery equalization modeling system and method based on nonlinear efficiency model |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112685917A true CN112685917A (en) | 2021-04-20 |
CN112685917B CN112685917B (en) | 2023-04-18 |
Family
ID=75459370
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110113719.6A Active CN112685917B (en) | 2021-01-27 | 2021-01-27 | Battery equalization modeling system and method based on nonlinear efficiency model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112685917B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114629216A (en) * | 2022-04-22 | 2022-06-14 | 重庆大学 | Expanded equalization system based on bidirectional CUK converter and working method thereof |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100090629A1 (en) * | 2008-10-15 | 2010-04-15 | Tesla Motors, Inc. | Flux controlled motor management |
US20100153038A1 (en) * | 2007-03-23 | 2010-06-17 | Kabushiki Kaisha Toyota-Chuo Kenkyusho | State estimating device of secondary battery |
CN103149535A (en) * | 2011-11-25 | 2013-06-12 | 霍尼韦尔国际公司 | Method and apparatus for online determination of battery state of charge and state of health |
CN103944240A (en) * | 2014-05-09 | 2014-07-23 | 重庆大学 | Bus-based battery pack equalizer circuit and control circuit thereof |
CN103970022A (en) * | 2014-05-28 | 2014-08-06 | 山东大学 | GM (1, N) grey forecasting model-based balancing control method |
CN105717460A (en) * | 2016-02-19 | 2016-06-29 | 深圳大学 | Power battery SOC estimation method and system based on nonlinear observer |
CN107134827A (en) * | 2017-05-27 | 2017-09-05 | 重庆大学 | Bus type lithium battery group equalizing system forecast Control Algorithm |
CN108594135A (en) * | 2018-06-28 | 2018-09-28 | 南京理工大学 | A kind of SOC estimation method for the control of lithium battery balance charge/discharge |
CN110112764A (en) * | 2019-05-30 | 2019-08-09 | 重庆大学 | Mixed energy storage system power distributing circuit control method with balancing energy |
CN110303945A (en) * | 2019-07-15 | 2019-10-08 | 福州大学 | A kind of battery group electricity adaptive optimization balance control method |
CN110525269A (en) * | 2019-04-25 | 2019-12-03 | 吉林大学 | The battery pack balancing control method of SOC |
CN111668894A (en) * | 2020-05-21 | 2020-09-15 | 南京航空航天大学 | Lithium battery pack rapid charging control method based on charging and equalization combination optimization |
-
2021
- 2021-01-27 CN CN202110113719.6A patent/CN112685917B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100153038A1 (en) * | 2007-03-23 | 2010-06-17 | Kabushiki Kaisha Toyota-Chuo Kenkyusho | State estimating device of secondary battery |
US20100090629A1 (en) * | 2008-10-15 | 2010-04-15 | Tesla Motors, Inc. | Flux controlled motor management |
CN103149535A (en) * | 2011-11-25 | 2013-06-12 | 霍尼韦尔国际公司 | Method and apparatus for online determination of battery state of charge and state of health |
CN103944240A (en) * | 2014-05-09 | 2014-07-23 | 重庆大学 | Bus-based battery pack equalizer circuit and control circuit thereof |
CN103970022A (en) * | 2014-05-28 | 2014-08-06 | 山东大学 | GM (1, N) grey forecasting model-based balancing control method |
CN105717460A (en) * | 2016-02-19 | 2016-06-29 | 深圳大学 | Power battery SOC estimation method and system based on nonlinear observer |
CN107134827A (en) * | 2017-05-27 | 2017-09-05 | 重庆大学 | Bus type lithium battery group equalizing system forecast Control Algorithm |
CN108594135A (en) * | 2018-06-28 | 2018-09-28 | 南京理工大学 | A kind of SOC estimation method for the control of lithium battery balance charge/discharge |
CN110525269A (en) * | 2019-04-25 | 2019-12-03 | 吉林大学 | The battery pack balancing control method of SOC |
CN110112764A (en) * | 2019-05-30 | 2019-08-09 | 重庆大学 | Mixed energy storage system power distributing circuit control method with balancing energy |
CN110303945A (en) * | 2019-07-15 | 2019-10-08 | 福州大学 | A kind of battery group electricity adaptive optimization balance control method |
CN111668894A (en) * | 2020-05-21 | 2020-09-15 | 南京航空航天大学 | Lithium battery pack rapid charging control method based on charging and equalization combination optimization |
Non-Patent Citations (7)
Title |
---|
JI LIU 等: "Nonlinear Model-Predictive Optimal Control of an Active Cell-to-Cell Lithium-Ion Battery Pack Balancing Circuit", 《IFAC-PAPERSONLINE》 * |
JIQUAN ZHAO 等: "Bus battery equalization with nonlinear energy efficiency and time efficiency", 《2021 IEEE POWER & ENERGY SOCIETY GENERAL MEETING (PESGM)》 * |
凌睿 等: "基于非线性PID的串联锂离子电池组的均衡控制", 《计算机工程与应用》 * |
王江彬: "电动汽车锂电池组均衡技术研究", 《中国优秀硕士学位论文全文数据库 工程科技II辑》 * |
石红滨: "高效电池均衡策略研究", 《中国优秀硕士学位论文全文数据库 工程科技II辑》 * |
陈洋: "串联电池组直接均衡拓扑结构及路径优化策略研究", 《中国博士学位论文全文数据库 工程科技II辑》 * |
黄炜: "基于SOC估计的锂电池主动均衡策略研", 《中国优秀硕士学位论文全文数据库 工程科技II辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114629216A (en) * | 2022-04-22 | 2022-06-14 | 重庆大学 | Expanded equalization system based on bidirectional CUK converter and working method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN112685917B (en) | 2023-04-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Feng et al. | A review of equalization strategies for series battery packs: variables, objectives, and algorithms | |
CN110525269B (en) | SOC battery pack balance control method | |
Wu et al. | Dynamic battery equalization with energy and time efficiency for electric vehicles | |
CN107134827B (en) | Bus type lithium battery group equilibrium system prediction control method | |
CN105631528B (en) | Multi-target dynamic optimal power flow solving method based on NSGA-II and approximate dynamic programming | |
CN110909443A (en) | High-precision battery pack charging remaining time estimation method and system | |
CN115632179B (en) | Intelligent quick charging method and system for lithium ion battery | |
CN110303945B (en) | Self-adaptive optimization balance control method for electric quantity of storage battery pack | |
CN110888056B (en) | Online SOC observer building method and system suitable for vehicle-mounted power lithium ion battery | |
CN112103980A (en) | Energy management method of hybrid energy storage system combining AGC frequency modulation of thermal power generating unit | |
CN111668894B (en) | Lithium battery pack rapid charge control method based on charge and equalization combination optimization | |
CN107392352A (en) | A kind of battery future temperature Forecasting Methodology and system based on fusion extreme learning machine | |
CN111564882B (en) | Gradient utilization power battery equalization method | |
CN112685917B (en) | Battery equalization modeling system and method based on nonlinear efficiency model | |
CN115906613A (en) | Battery pack balancing method based on particle swarm and self-adaptive fuzzy neural network | |
CN110297452B (en) | Storage battery adjacent type equalization system and prediction control method thereof | |
CN114256913B (en) | Redistribution battery pack charge-discharge management strategy based on optimal operation efficiency | |
Bruen et al. | Model based design of balancing systems for electric vehicle battery packs | |
CN114757026A (en) | Full-working-condition multi-scale power lithium battery electrochemical coupling modeling method | |
CN113419177B (en) | Extended Kalman filtering SOC estimation method based on combination of improved particle swarm algorithm | |
CN110783987A (en) | Layered optimal control method for battery equalization of battery pack | |
Ouyang et al. | Improved cell equalizing topology for serially connected lithium-ion battery packs | |
Mohammedi et al. | Passivity based control and fuzzy logic estimation applied to dc hybrid power source using fuel cell and supercapacitor | |
CN111762059A (en) | Multivariable fusion battery pack balancing method considering battery charging and discharging working conditions | |
Shin | Design of Backpropagation Neural Network for Aging Estimation of Electric Battery. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |