[go: up one dir, main page]

CN109143093A - Based on the battery SOC evaluation method for intersecting optimization neural network in length and breadth - Google Patents

Based on the battery SOC evaluation method for intersecting optimization neural network in length and breadth Download PDF

Info

Publication number
CN109143093A
CN109143093A CN201810692602.6A CN201810692602A CN109143093A CN 109143093 A CN109143093 A CN 109143093A CN 201810692602 A CN201810692602 A CN 201810692602A CN 109143093 A CN109143093 A CN 109143093A
Authority
CN
China
Prior art keywords
neural network
value
particle
output
battery
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.)
Pending
Application number
CN201810692602.6A
Other languages
Chinese (zh)
Inventor
吴杰康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN201810692602.6A priority Critical patent/CN109143093A/en
Publication of CN109143093A publication Critical patent/CN109143093A/en
Pending legal-status Critical Current

Links

Landscapes

  • Secondary Cells (AREA)

Abstract

本发明涉及基于纵横交叉优化神经网络的电池SOC估算方法,通过纵横交叉算法对经典的神经网络算法进行优化,将纵横交叉算法的全局搜索性能力强和收敛速度快的优点与神经网络较强的拟合能力有机地结合起来,避免神经网络陷入局部最优,并且提高其收敛速度。另外,相比现有的电池SOC估算方法,本发明适用于锂电池、铅酸电池等常用的一系列电池,不管是电池处于静置还是使用状态,都能实时的对电池进行SOC估算,而且精确度高,相比其他方法误差要更小。

The invention relates to a battery SOC estimation method based on a crisscross optimization neural network. The classical neural network algorithm is optimized by the crisscross algorithm, and the advantages of the crisscross algorithm's strong global search ability and fast convergence speed are combined with the strong neural network. The fitting ability is organically combined to avoid the neural network from falling into local optimum and improve its convergence speed. In addition, compared with the existing battery SOC estimation method, the present invention is suitable for a series of commonly used batteries such as lithium batteries and lead-acid batteries. Whether the battery is in a stationary state or a use state, the battery can be estimated in real time for SOC, and The accuracy is high, and the error is smaller than other methods.

Description

Based on the battery SOC evaluation method for intersecting optimization neural network in length and breadth
Technical field
The present invention relates to the technical fields of battery, more particularly to based on the battery SOC for intersecting optimization neural network in length and breadth Evaluation method.
Background technique
With the continuous development of human economic society, the energy increasingly become promote socio-economic development it is indispensable because The development of element, economic society also exacerbates demand of the mankind to the energy.It is most of from change at present in the energy used in the mankind Stone fuel.The use of fossil fuel promotes the improvement of people's living standards, while also bringing serious environmental problem.It is slow Environmental problem brought by combustion of fossil fuel is solved, new-energy automobile is being greatly developed in the whole world.Power battery is as new energy The energy storage device of source automobile is the core of new-energy automobile, is the maximum bottleneck in new-energy automobile technology and cost, is new energy A most crucial ring in the Automotive Industry Chain of source.The power in energy storage device or new-energy automobile either in generation of electricity by new energy Battery, battery all play crucial effect as energy storage equipment.And key technology of the power battery as electric car, to lotus Electricity condition (state of charge, SOC) accurately estimated and monitored, from the point of view of safety and battery availability factor all It is most important.
It accurately estimates battery SOC, the requirement of electric car is on the one hand derived from, from giving full play to cell potential and raising Two angles of safety efficiently manage battery;On the other hand, the height that batteries of electric automobile shows in use It is non-linear, make accurately to estimate that SOC has very big difficulty.Both sides combines, so that batteries of electric automobile SOC estimation method It selects particularly important.
Existing battery SOC evaluation method mainly has: discharge test method, current integration method, open circuit voltage method, measurement internal resistance Method, linear model method, neural network and Kalman filtering method.Wherein neural network is not only only capable of compared to other methods Accurately battery SOC is estimated, and it is not influenced by battery types and battery status.Currently available technology research In much battery SOC is estimated using neural network algorithm.This method is by the discharge current of battery, battery pack The input as neural network such as voltage, environment temperature and discharge capacity, SOC is as its output, to carry out to battery SOC Estimation, neural network to it regardless of that can carry out SOC estimation, and estimation precision in battery standing state or working condition It is higher compared to other methods.But traditional neural network is easily trapped into local optimum in its algorithm operational process, in this way Result in estimation inaccurate, error is larger.There are also in neural network method use optimization algorithm, but estimation precision according to So be not it is very high, there is a certain error.
Summary of the invention
It is an object of the invention to overcome the deficiencies of the prior art and provide a kind of based on intersection optimization neural network in length and breadth Battery SOC evaluation method, by the global search of crossover algorithm in length and breadth is strong and the advantage of fast convergence rate and neural network compared with Strong capability of fitting organically combines, and accelerates neural network convergence rate, and will not fall into local optimum, this method Battery SOC can be carried out in real time and accurately be estimated, not influenced by battery types and battery status, compare existing electricity The accuracy of pond SOC estimation method, the method is higher, and error is smaller.
The technical scheme of the present invention is realized as follows:
Based on the battery SOC evaluation method for intersecting optimization neural network in length and breadth, comprising the following steps:
S1: data sample is obtained, and carries out sample data normalized;
S2: the principal element of analyzing influence battery SOC constructs BP neural network structure;
S3: algorithm parameter initialization;
S4: the connection weight and every threshold value between the output valve and each layer of BP neural network are calculated;
S5: according to the input value and output valve of BP neural network, with the real output value of BP network and desired output Fitness function of the mean square error as CSO calculates the adaptation value of each CSO particle, obtains the individual optimal value of particle and complete Office's optimal value, then makes comparisons the optimal value of CSO individual with global optimum, takes adaptation value the superior as current optimal position It sets;
S6: it is optimized using weight and threshold value of the crossover algorithm in length and breadth to BP neural network;
S7: step S5 and S6 are repeated, until meeting termination condition;
S8: the parameter that CSO algorithm optimization is obtained is as the initial weight of BP neural network and threshold value, and by initial weight It substitutes into BP neural network algorithm and is trained with threshold value;If the output error value of BP neural network meets scheduled error essence Degree then stops iteration, exports result;Otherwise, step S5 is returned to, Optimized Iterative is re-started, until meeting BP neural network calculation Until the minimum allowable error of method.
Further, the analytic process in the step S2 is as follows:
S2-1: the relationship analysis of battery SOC and open-circuit voltage is carried out, the SOC of battery is estimated according to SOC-OCV curve;
S2-2: carrying out the relationship analysis of battery SOC and temperature, and in the case of obtaining different temperatures, the relationship of voltage and SOC are bent Line;
S2-3: carrying out the relationship analysis of battery SOC and discharge current, obtains voltage and capacity relationship when different multiplying electric discharge Curve.
Further, in the step S2, the discharge current I, battery voltage U and environment temperature T for choosing battery make For the input vector of the input layer of BP neural network structure, and three impact factors are independent of one another, and the output vector of network is Battery SOC carries out BP neural network Construction of A Model.
Further, the step S3 algorithm parameter initialization specifically: the topological structure of input BP neural network algorithm, Minimum allowable error amount;Input CSO algorithm population scale, dimensionality of particle number, maximum number of iterations, lateral cross probability and Crossed longitudinally probability.
Further, the step S4 calculates connection weight and items between the output valve and each layer of BP neural network Detailed process is as follows for threshold value:
S4-1: k-th of input sample x (k) and corresponding desired output d are chosen0(k):
X (k)=(x1(k),x2(k),...,xn(k));
d0(k)=(d1(k),d2(k),...,dq(k));
S4-2: the input hi of hidden layer neuron is calculatedh(k) with output hoh(k) and the input of output layer neuron yio(k) with output yoo(k):
hoh(k)=f (hih(k)) h=1,2 ..., p;
yoo(k)=f (yio(k)) o=1,2 ..., q;
S4-3: inputting according to output layer desired output and reality output and output layer, calculates function e to each mind of output layer Partial derivative through member:
Error function
S4-4: according to the sensitivity δ o (k) of output layer, the input value of hidden layer connection weight w and output layer are calculated and are missed Partial derivative of the difference function to each neuron of hidden layer:
S4-5: output layer connection weight is corrected using the partial derivative in step S4-3:
S4-6: hidden layer connection weight is corrected using the partial derivative in step S4-4:
Further, the step S5 calculate each CSO particle adaptation value formula it is as follows:
In formula, yoiIt (i) is the real output value of neural network;doiFor the desired output of neural network;E (i) is nerve The mean square error of network real output value and desired output.
Further, the mapping between COS particle and the weight and threshold value of BP neural network is established in the step S6, i.e., The weight of neural network and threshold coding are indicated into the individual in population at real vector, the group of vector is randomly generated into; Specific Optimization Steps are as follows:
S6-1: lateral operation is carried out to population:
Lateral cross is in a kind of arithmetic crossover carried out between the identical dimension of two Different Individual particles in population;Assuming that father Lateral cross is carried out for the d dimension of individual particles X (i) and X (j), then the formula of their generation filial generations is as follows:
MShc(i, d)=r1×X(i,d)+(1-r1)×X(j,d)+c1×(X(i,d)-X(j,d));
MShc(j, d)=r2×X(j,d)+(1-r2)×X(i,d)+c2×(X(j,d)-X(i,d));
In formula: r1, r2For the random number between [0,1];c1, c2For the random number between [- 1,1];X (i, d), X (j, d) The d of individual particles X (i) and X (j) is tieed up respectively in parent population;MShc(i, d) and MShc(j, d) is respectively X (i, d) and X (j, d) ties up filial generation by the d that lateral cross generates;
The wherein r in first formula1× X (i, d) is the memory term of particle X (i), is the current optimal value of particle itself; (1-r1) × X (j, d) is the group cognition item of particle X (i) and X (j), indicates that difference is interparticle and influences each other;This two logical Cross inertia weight factor r1Preferably it is combined together;c1For Studying factors, Section 3 c1× (X (i, d)-X (j, d)) can increase Search space, in edge optimizing;After the completion of lateral cross operation, obtained golden mean of the Confucian school solution MShc(i, d), MShc(j, d) must distinguish Compare with the fitness of parent particle X (i), X (j), the only better golden mean of the Confucian school solution of fitness can just remain, and become and be dominant Solve DShc, participate in next iteration;
S6-2: crossed longitudinally operation is carried out to population:
The one kind carried out between crossed longitudinally two different dimensions for a particle in population counts intersection;It is assumed that particle The d of X (i)1Peacekeeping d2Dimension generates golden mean of the Confucian school solution MS to participate in always wanting to intersect, according to following formulavc(i,d1):
MSvc(i,d1)=rX (i, d1)+(1-r)·X(i,d2)
i∈N(1,M),d1,d2∈N(1,D)
In formula: i ∈ [0,1];MSvc(i,d1) be individual particles X (i) d1Peacekeeping d2Dimension passes through crossed longitudinally generation D1Tie up offspring;First item is the d of particle X (i)1The memory term of dimension, Section 2 are the d of particle X (i)1Peacekeeping d2Dimension It influences each other, is combined together by inertia weight factor r;Obtained golden mean of the Confucian school solution MSvc(i,d1) comprising parent particle X (i) D1The information of dimension and certain probability contain the d of X (i)2Information is tieed up, and the d of X (i) will not be destroyed2Tie up information;The golden mean of the Confucian school Solve MSvc(i,d1) fitness compared with parent particle X (i), it preferably remains and solves DS as being dominantvc, changed next time Generation;
New population is generated by the contention operation of filial generation and parent;If new adaptive value is optimal better than current individual, Replace current individual optimal with the adaptive value: if updated individual optimal value is better than current global optimum, with the individual Optimal value replaces current global optimum, to complete the optimization to network items weight and threshold value.
Compared with prior art, this programme principle and advantage is as follows:
Classical neural network algorithm is optimized by crossover algorithm in length and breadth, by the global search of crossover algorithm in length and breadth The advantages of sexuality is strong and fast convergence rate organically combines with the stronger capability of fitting of neural network, avoids neural network Local optimum is fallen into, and improves its convergence rate.In addition, comparing existing battery SOC evaluation method, this programme is suitable for lithium A series of common batteries such as battery, lead-acid battery, either battery are in standing or use state, can be in real time to electricity Pond carries out SOC estimation, and accuracy is high, smaller compared to other methods error.
Detailed description of the invention
Fig. 1 is that the present invention is based on the flow charts for the battery SOC evaluation method for intersecting optimization neural network in length and breadth;
Fig. 2 is the relation curve schematic diagram of battery SOC and open-circuit voltage U;
Fig. 3 is the T relationship curve synoptic diagram of battery SOC and environment temperature;
Fig. 4 is the I relation curve schematic diagram of battery SOC and discharge current;
Fig. 5 is the BP neural network Construction of A Model figure of battery SOC estimation.
Specific embodiment
The present invention is further explained in the light of specific embodiments:
As shown in Figure 1, based on the battery SOC evaluation method for intersecting optimization neural network in length and breadth, comprising the following steps:
S1: all kinds of parameter monitorings of discharge test are carried out to battery pack by real-time monitoring system, obtain sample data, so Sample data is normalized afterwards;
S2: the principal element of analyzing influence battery SOC constructs BP neural network structure, detailed process are as follows:
S2-1: the relationship analysis of battery SOC and open-circuit voltage is carried out:
The electromotive force of battery is the polarizing voltage three parts structure by the open-circuit voltage of battery, the ohm voltage drop of battery and battery At.After battery is switched to static condition from charging and discharging state, the chemical reaction of inside battery tends towards stability, and battery is opened at this time Road voltage (OCV) numerically with battery end voltage it is equal be battery electromotive force;It is bent according to SOC-OCV as shown in Figure 2 Line estimates the SOC of battery;
S2-2: the relationship analysis of battery SOC and temperature is carried out:
Temperature directly affects the actually available capacity of battery;When environment temperature is higher, the chemical reaction ratio of inside battery More active, the active volume of battery is larger;And when the temperature of the surroundings is low, the utilization rate of active material is lower, and battery can be used Capacity reduces;In the case of different temperatures, the relation curve of voltage and SOC are as shown in Figure 3;
S2-3: the relationship analysis of battery SOC and discharge current is carried out:
When one timing of temperature, discharge test is carried out with 1C, 3C current versus cell, different multiplying as shown in Figure 4 is obtained and puts Voltage and capacity relationship curve when electric;
As shown in Figure 4, when discharge-rate increase when, battery discharge platform voltage is gradually reduced, when electric current is larger, battery from When operating voltage is to discharge cut-off voltage, the electricity of releasing is less;Also, in battery charge state between 20% to 90% When, the curvilinear trend of battery steady state voltage and battery SOC is relatively fixed, illustrates to have therebetween metastable non-linear Relationship, discharge voltage can with SOC reduce and gradually decrease, especially electric discharge latter stage, cell discharge voltage with SOC change Rate is larger;
By above-mentioned analysis, the discharge current I, battery voltage U and environment temperature T of battery are chosen as BP nerve net The input vector of the input layer of network structure, and three impact factors are independent of one another, and the output vector of network is battery SOC;BP neural network Construction of A Model is as shown in Figure 5.
S3: algorithm parameter initialization;The topological structure for inputting BP neural network algorithm is (including input number of layers, implicit Number of layers and output number of layers), minimum allowable error amount;The population scale of CSO algorithm is inputted, dimensionality of particle number is maximum The number of iterations, lateral cross probability and crossed longitudinally probability.
S4: the connection weight and every threshold value between the output valve and each layer of BP neural network are calculated, detailed process is such as Under:
S4-1: k-th of input sample x (k) and corresponding desired output d are chosen0(k):
X (k)=(x1(k),x2(k),...,xn(k));
d0(k)=(d1(k),d2(k),...,dq(k));
S4-2: the input hi of hidden layer neuron is calculatedh(k) with output hoh(k) and the input of output layer neuron yio(k) with output yoo(k):
hoh(k)=f (hih(k)) h=1,2 ..., p;
yoo(k)=f (yio(k)) o=1,2 ..., q;
S4-3: inputting according to output layer desired output and reality output and output layer, calculates function e to each mind of output layer Partial derivative through member:
Error function
S4-4: according to the sensitivity δ o (k) of output layer, the input value of hidden layer connection weight w and output layer are calculated and are missed Partial derivative of the difference function to each neuron of hidden layer:
S4-5: output layer connection weight is corrected using the partial derivative in step S4-3:
S4-6: hidden layer connection weight is corrected using the partial derivative in step S4-4:
S5: according to the input value and output valve of BP neural network, with the real output value of BP network and desired output Fitness function of the mean square error as CSO calculates the adaptation value of each CSO particle according to following formula, obtains of particle Then body optimal value and global optimum make comparisons the optimal value of CSO individual with global optimum, take adaptation value the superior's conduct Current optimal location;
In formula, yoiIt (i) is the real output value of neural network;doiFor the desired output of neural network;E (i) is nerve The mean square error of network real output value and desired output.
S6: it is optimized using weight and threshold value of the crossover algorithm in length and breadth to BP neural network;
The mapping between COS particle and the weight and threshold value of BP neural network is established, i.e., by the weight of neural network and threshold Value is encoded into real vector to indicate the individual in population, and the group of these vectors is randomly generated into.Specific optimization object master There is the connection weight of the input layer and hidden layer that calculate in step S4: wih, hidden layer and output layer connection weight: who, it is hidden The threshold value of each neuron containing layer: bhAnd the threshold value of each neuron of output layer: bo, these weights and threshold value constitute CSO algorithm Initial population;Specific Optimization Steps are as follows:
S6-1: lateral operation is carried out to population:
Lateral cross is in a kind of arithmetic crossover carried out between the identical dimension of two Different Individual particles in population;Assuming that father Lateral cross is carried out for the d dimension of individual particles X (i) and X (j), then the formula of their generation filial generations is as follows:
MShc(i, d)=r1×X(i,d)+(1-r1)×X(j,d)+c1×(X(i,d)-X(j,d));
MShc(j, d)=r2×X(j,d)+(1-r2)×X(i,d)+c2×(X(j,d)-X(i,d));
In formula: r1, r2For the random number between [0,1];c1, c2For the random number between [- 1,1];X (i, d), X (j, d) The d of individual particles X (i) and X (j) is tieed up respectively in parent population;MShc(i, d) and MShc(j, d) is respectively X (i, d) and X (j, d) ties up filial generation by the d that lateral cross generates;
The wherein r in first formula1× X (i, d) is the memory term of particle X (i), is the current optimal value of particle itself; (1-r1) × X (j, d) is the group cognition item of particle X (i) and X (j), indicates that difference is interparticle and influences each other;This two logical Cross inertia weight factor r1Preferably it is combined together;c1For Studying factors, Section 3 c1× (X (i, d)-X (j, d)) can increase Search space, in edge optimizing;After the completion of lateral cross operation, obtained golden mean of the Confucian school solution MShc(i, d), MShc(j, d) must distinguish Compare with the fitness of parent particle X (i), X (j), the only better golden mean of the Confucian school solution of fitness can just remain, and become and be dominant Solve DShc, participate in next iteration;
S6-2: crossed longitudinally operation is carried out to population:
The one kind carried out between crossed longitudinally two different dimensions for a particle in population counts intersection;It is assumed that particle The d of X (i)1Peacekeeping d2Dimension generates golden mean of the Confucian school solution MS to participate in always wanting to intersect, according to following formulavc(i,d1):
MSvc(i,d1)=rX (i, d1)+(1-r)·X(i,d2)
i∈N(1,M),d1,d2∈N(1,D)
In formula: i ∈ [0,1];MSvc(i,d1) be individual particles X (i) d1Peacekeeping d2Dimension passes through crossed longitudinally generation D1Tie up offspring;First item is the d of particle X (i)1The memory term of dimension, Section 2 are the d of particle X (i)1Peacekeeping d2Dimension It influences each other, is combined together by inertia weight factor r;Obtained golden mean of the Confucian school solution MSvc(i,d1) comprising parent particle X (i) D1The information of dimension and certain probability contain the d of X (i)2Information is tieed up, and the d of X (i) will not be destroyed2Tie up information;The golden mean of the Confucian school Solve MSvc(i,d1) fitness compared with parent particle X (i), it preferably remains and solves DS as being dominantvc, changed next time Generation;
Above-mentioned optimization operation, new population is generated by the contention operation of filial generation and parent;If new adaptive value is better than Current individual is optimal, then replaces current individual optimal with the adaptive value: if updated individual optimal value is most better than the current overall situation The figure of merit then replaces current global optimum with the individual optimal value, to complete the optimization to network items weight and threshold value.
S7: step S5 and S6 are repeated, until meeting termination condition;
S8: the parameter that CSO algorithm optimization is obtained is as the initial weight of BP neural network and threshold value, and by initial weight It substitutes into BP neural network algorithm and is trained with threshold value;If the output error value of BP neural network meets scheduled error essence Degree then stops iteration, exports result;Otherwise, step S5 is returned to, Optimized Iterative is re-started, until meeting BP neural network calculation Until the minimum allowable error of method.
The present embodiment optimizes classical neural network algorithm by crossover algorithm in length and breadth, by crossover algorithm in length and breadth The advantages of global search sexuality is strong and fast convergence rate organically combines with the stronger capability of fitting of neural network, avoids Neural network falls into local optimum, and improves its convergence rate.In addition, comparing existing battery SOC evaluation method, this implementation Example is suitable for a series of common batteries such as lithium battery, lead-acid battery, and either battery is in standing or use state, can SOC estimation is carried out to battery in real time, and accuracy is high, it is smaller compared to other methods error.
The examples of implementation of the above are only the preferred embodiments of the invention, and implementation model of the invention is not limited with this It encloses, therefore all shapes according to the present invention, changes made by principle, should all be included within the scope of protection of the present invention.

Claims (7)

1.基于纵横交叉优化神经网络的电池SOC估算方法,其特征在于,包括以下步骤:1. A battery SOC estimation method based on a cross-optimized neural network, characterized in that it comprises the following steps: S1:获取数据样本,并进行样本数据归一化处理;S1: Obtain data samples and normalize the sample data; S2:分析影响电池SOC的主要因素,构建BP神经网络结构;S2: Analyze the main factors affecting the battery SOC, and construct a BP neural network structure; S3:算法参数初始化;S3: initialization of algorithm parameters; S4:计算BP神经网络的输出值以及各层之间的连接权值与各项阈值;S4: Calculate the output value of the BP neural network and the connection weights and thresholds between the layers; S5:根据BP神经网络的输入值和输出值,以BP网络的实际输出值和期望输出值的均方误差作为CSO的适应度函数,计算每个CSO粒子的适配值,得到粒子的个体最优值与全局最优值,然后将CSO个体的最优值与全局最优值作比较,取适配值优者作为当前最优位置;S5: According to the input value and output value of the BP neural network, the mean square error of the actual output value and the expected output value of the BP network is used as the fitness function of the CSO, and the fitness value of each CSO particle is calculated to obtain the individual optimal value of the particle. The optimal value and the global optimal value are compared, and then the optimal value of the individual CSO is compared with the global optimal value, and the one with the best adaptation value is taken as the current optimal position; S6:利用纵横交叉算法对BP神经网络的权值和阈值进行优化;S6: Optimize the weights and thresholds of the BP neural network by using the criss-cross algorithm; S7:重复步骤S5和S6,直到满足结束条件为止;S7: Repeat steps S5 and S6 until the end condition is met; S8:将CSO算法优化得到的参数作为BP神经网络的初始权值和阈值,并将初始权值和阈值代入BP神经网络算法中进行训练;若BP神经网络的输出误差值满足预定的误差精度,则停止迭代,输出结果;否则,回到步骤S5,重新进行优化迭代,直至满足BP神经网络算法的最小允许误差为止。S8: Use the parameters optimized by the CSO algorithm as the initial weights and thresholds of the BP neural network, and substitute the initial weights and thresholds into the BP neural network algorithm for training; if the output error value of the BP neural network meets the predetermined error accuracy, Then stop the iteration and output the result; otherwise, go back to step S5, and repeat the optimization iteration until the minimum allowable error of the BP neural network algorithm is satisfied. 2.根据权利要求1所述的基于纵横交叉优化神经网络的电池SOC估算方法,其特征在于,所述步骤S2中的分析过程如下:2. The battery SOC estimation method based on the vertical and horizontal cross optimization neural network according to claim 1, wherein the analysis process in the step S2 is as follows: S2-1:进行电池SOC与开路电压的关系分析,根据SOC-OCV曲线来估算电池的SOC;S2-1: Analyze the relationship between battery SOC and open circuit voltage, and estimate battery SOC according to the SOC-OCV curve; S2-2:进行电池SOC与温度的关系分析,得出不同温度情况下,电压与SOC的关系曲线;S2-2: Analyze the relationship between battery SOC and temperature, and obtain the relationship curve between voltage and SOC under different temperature conditions; S2-3:进行电池SOC与放电电流的关系分析,得到不同倍率放电时电压与容量关系曲线。S2-3: Analyze the relationship between battery SOC and discharge current, and obtain the relationship curve between voltage and capacity when discharging at different rates. 3.根据权利要求1所述的基于纵横交叉优化神经网络的电池SOC估算方法,其特征在于,所述步骤S2中,选取电池的放电电流I、电池组电压U以及环境温度T作为BP神经网络结构的输入层的输入矢量,并且三个影响因子彼此独立,网络的输出矢量为电池SOC,进行BP神经网络模型构造。3. The battery SOC estimation method based on the vertical and horizontal cross optimization neural network according to claim 1, wherein in the step S2, the discharge current I of the battery, the battery pack voltage U and the ambient temperature T are selected as the BP neural network The input vector of the input layer of the structure, and the three influencing factors are independent of each other, the output vector of the network is the battery SOC, and the BP neural network model is constructed. 4.根据权利要求1所述的基于纵横交叉优化神经网络的电池SOC估算方法,其特征在于,所述步骤S3算法参数初始化具体为:输入BP神经网络算法的拓扑结构、最小允许误差值;输入CSO算法的种群规模,粒子维度数目,最大迭代次数,横向交叉概率和纵向交叉概率。4. The battery SOC estimation method based on the vertical and horizontal cross optimization neural network according to claim 1, wherein the step S3 algorithm parameter initialization is specifically: input the topology of the BP neural network algorithm, the minimum allowable error value; input The population size of the CSO algorithm, the number of particle dimensions, the maximum number of iterations, the horizontal crossover probability and the vertical crossover probability. 5.根据权利要求1所述的基于纵横交叉优化神经网络的电池SOC估算方法,其特征在于,所述步骤S4计算BP神经网络的输出值以及各层之间的连接权值与各项阈值的具体过程如下:5. The battery SOC estimation method based on the vertical and horizontal cross optimization neural network according to claim 1, wherein the step S4 calculates the output value of the BP neural network and the connection weight between each layer and each threshold value. The specific process is as follows: S4-1:选取第k个输入样本x(k)以及对应的期望输出d0(k):S4-1: Select the kth input sample x(k) and the corresponding expected output d 0 (k): x(k)=(x1(k),x2(k),...,xn(k)); x (k) = (x1(k), x2 (k),...,xn(k)); d0(k)=(d1(k),d2(k),...,dq(k));d 0 (k)=(d 1 (k),d 2 (k),...,d q (k)); S4-2:计算隐含层个神经元的输入hih(k)与输出hoh(k)以及输出层神经元的输入yio(k)与输出yoo(k):S4-2: Calculate the input hi h (k) and output ho h (k) of neurons in the hidden layer and the input yi o (k) and output yo o (k) of neurons in the output layer: hoh(k)=f(hih(k)) h=1,2,...,p;ho h (k)=f(hi h (k)) h=1,2,...,p; yoo(k)=f(yio(k)) o=1,2,...,q;yo o (k)=f(yi o (k)) o=1,2,...,q; S4-3:根据输出层期望输出和实际输出以及输出层输入,计算函数e对输出层各神经元的偏导数:S4-3: According to the expected output and actual output of the output layer and the input of the output layer, calculate the partial derivative of the function e to each neuron in the output layer: 误差函数 Error function S4-4:根据输出层的灵敏度δo(k),隐含层连接权值w以及输出层的输入值,计算误差函数对隐含层各神经元的偏导数:S4-4: According to the sensitivity δo(k) of the output layer, the connection weight w of the hidden layer and the input value of the output layer, calculate the partial derivative of the error function to each neuron in the hidden layer: S4-5:利用步骤S4-3中的偏导数来修正输出层连接权值:S4-5: Use the partial derivative in step S4-3 to correct the connection weights of the output layer: S4-6:利用步骤S4-4中的偏导数来修正隐含层连接权值:S4-6: Use the partial derivative in step S4-4 to correct the connection weight of the hidden layer: 6.根据权利要求1所述的基于纵横交叉优化神经网络的电池SOC估算方法,其特征在于,所述步骤S5计算每个CSO粒子适配值的公式如下:6. The method for estimating battery SOC based on a crisscross optimization neural network according to claim 1, wherein the formula for calculating the fitness value of each CSO particle in the step S5 is as follows: 式中,yoi(i)为神经网络的实际输出值;doi为神经网络的期望输出值;E(i)为神经网络实际输出值与期望输出值的均方误差。In the formula, yoi (i) is the actual output value of the neural network; doi is the expected output value of the neural network; E(i) is the mean square error between the actual output value and the expected output value of the neural network. 7.根据权利要求1所述的基于纵横交叉优化神经网络的电池SOC估算方法,其特征在于,所述步骤S6中建立COS粒子与BP神经网络的权值和阈值之间的映射,即将神经网络的权值和阈值编码成实数向量来表示种群中的个体,随机产生成向量的群体;具体的优化步骤如下:7. The battery SOC estimation method based on the vertical and horizontal cross-optimized neural network according to claim 1, is characterized in that, in the described step S6, the mapping between the weights and the thresholds of the COS particle and the BP neural network is established, that is, the neural network. The weights and thresholds are encoded into real vectors to represent the individuals in the population, and the population of vectors is randomly generated; the specific optimization steps are as follows: S6-1:对种群进行横向操作:S6-1: Perform lateral operations on the population: 横向交叉为在种群中两个不同个体粒子相同维之间进行的一种算术交叉;假设父代个体粒子X(i)和X(j)的第d维进行横向交叉,则它们产生子代的公式如下:Horizontal crossover is an arithmetic crossover between the same dimension of two different individual particles in the population; assuming that the d-th dimension of parent individual particles X(i) and X(j) are crossed horizontally, then they produce offspring The formula is as follows: MShc(i,d)=r1×X(i,d)+(1-r1)×X(j,d)+c1×(X(i,d)-X(j,d));MS hc (i,d)=r 1 ×X(i,d)+(1-r 1 )×X(j,d)+c 1 ×(X(i,d)-X(j,d)) ; MShc(j,d)=r2×X(j,d)+(1-r2)×X(i,d)+c2×(X(j,d)-X(i,d));MS hc (j,d)=r 2 ×X(j,d)+(1-r 2 )×X(i,d)+c 2 ×(X(j,d)-X(i,d)) ; 式中:r1,r2为[0,1]之间的随机数;c1,c2为[-1,1]之间的随机数;X(i,d),X(j,d)分别为父代种群中个体粒子X(i)和X(j)的第d维;MShc(i,d)和MShc(j,d)分别为X(i,d)和X(j,d)通过横向交叉产生的第d维子代;In the formula: r 1 , r 2 are random numbers between [0, 1]; c 1 , c 2 are random numbers between [-1, 1]; X(i,d), X(j,d ) are the d-th dimension of the individual particles X(i) and X(j) in the parent population, respectively; MS hc (i,d) and MS hc (j,d) are X(i,d) and X(j, respectively , d) the d-dimensional offspring generated by horizontal crossover; 其中第一个式中的r1×X(i,d)为粒子X(i)的记忆项,为粒子本身的当前最优值;(1-r1)×X(j,d)为粒子X(i)和X(j)的群体认知项,表示不同粒子间的相互影响;该两项通过惯性权重因子r1较好的结合在一起;c1为学习因子,第三项c1×(X(i,d)-X(j,d))可增大搜索空间,在边缘寻优;横向交叉操作完成后,得到的中庸解MShc(i,d),MShc(j,d)必须分别与父代粒子X(i),X(j)的适应度比较,只有适应度更好的中庸解才可以保留下来,成为占优解DShc,参与下一次迭代;Among them, r 1 ×X(i,d) in the first formula is the memory term of the particle X(i), which is the current optimal value of the particle itself; (1-r 1 )×X(j,d) is the particle The group cognitive terms of X(i) and X(j) represent the mutual influence between different particles; these two terms are well combined by the inertia weight factor r 1 ; c 1 is the learning factor, and the third term c 1 ×(X(i,d)-X(j,d)) can increase the search space and optimize at the edge; after the horizontal crossover operation is completed, the obtained median solution MS hc (i, d), MS hc (j, d) It must be compared with the fitness of parent particles X(i) and X(j) respectively. Only the moderate solution with better fitness can be retained and become the dominant solution DS hc to participate in the next iteration; S6-2:对种群进行纵向交叉操作:S6-2: Perform a vertical crossover operation on the population: 纵向交叉为种群中一个粒子的两个不同的维之间进行的一种算数交叉;假定粒子X(i)的第d1维和第d2维为参与总想交叉,根据如下式子产生中庸解MSvc(i,d1):Longitudinal crossover is an arithmetic crossover between two different dimensions of a particle in the population; assuming that the d 1st dimension and the d 2nd dimension of the particle X(i) are involved in the total crossover, the median solution is generated according to the following formula MS vc (i,d 1 ): MSvc(i,d1)=r·X(i,d1)+(1-r)·X(i,d2)MS vc (i,d 1 )=r·X(i,d 1 )+(1-r)·X(i,d 2 ) i∈N(1,M),d1,d2∈N(1,D)i∈N(1,M),d 1 ,d 2 ∈N(1,D) 式中:i∈[0,1];MSvc(i,d1)为个体粒子X(i)的第d1维和第d2维通过纵向交叉产生的第d1维后代;第一项为粒子X(i)的第d1维的记忆项,第二项为粒子X(i)的第d1维和第d2维相互影响,通过惯性权重因子r结合在一起;得到的中庸解MSvc(i,d1)包含父代粒子X(i)的第d1维的信息以及一定概率含有X(i)的第d2维信息,并且不会破坏X(i)的第d2维信息;中庸解MSvc(i,d1)与父代粒子X(i)比较适应度,较好的保留下来作为占优解DSvc,进行下一次迭代;In the formula: i∈[0,1]; MS vc (i,d 1 ) is the d 1 -dimensional descendant generated by the longitudinal intersection of the d 1 -th dimension and the d-th 2 -dimension of the individual particle X(i); the first term is The memory term of the d 1st dimension of the particle X(i), the second term is the interaction of the d 1st dimension and the d 2nd dimension of the particle X(i), which are combined together by the inertia weight factor r; the obtained mean solution MS vc (i,d 1 ) contains the d 1-dimensional information of the parent particle X(i) and the d 2 -dimensional information of X(i) with a certain probability, and will not destroy the d 2 - dimensional information of X(i) ; Compare the fitness of the moderate solution MS vc (i,d 1 ) with the parent particle X(i), and retain the better solution as the dominant solution DS vc for the next iteration; 通过子代与父代的竞争操作产生新的种群;若新的适应值优于当前个体最优,则用该适应值取代当前个体最优:若更新后的个体最优值优于当前全局最优值,则用该个体最优值取代当前全局最优,从而完成对网络各项权值和阈值的优化。A new population is generated through the competitive operation between the offspring and the parent; if the new fitness value is better than the current individual optimal value, the current individual optimal value is replaced by the fitness value: if the updated individual optimal value is better than the current global optimal value The optimal value is used to replace the current global optimal value, so as to complete the optimization of the network weights and thresholds.
CN201810692602.6A 2018-06-29 2018-06-29 Based on the battery SOC evaluation method for intersecting optimization neural network in length and breadth Pending CN109143093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810692602.6A CN109143093A (en) 2018-06-29 2018-06-29 Based on the battery SOC evaluation method for intersecting optimization neural network in length and breadth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810692602.6A CN109143093A (en) 2018-06-29 2018-06-29 Based on the battery SOC evaluation method for intersecting optimization neural network in length and breadth

Publications (1)

Publication Number Publication Date
CN109143093A true CN109143093A (en) 2019-01-04

Family

ID=64802421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810692602.6A Pending CN109143093A (en) 2018-06-29 2018-06-29 Based on the battery SOC evaluation method for intersecting optimization neural network in length and breadth

Country Status (1)

Country Link
CN (1) CN109143093A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109884526A (en) * 2019-01-30 2019-06-14 广东工业大学 Battery fault diagnosis method based on cross-optimized fuzzy BP neural network
CN112100907A (en) * 2020-08-24 2020-12-18 广东工业大学 Power grid optimal power flow problem solution method based on distributed criss-cross algorithm
CN112329328A (en) * 2020-07-07 2021-02-05 广东电网有限责任公司 Transformer loss calculation method based on CSO optimization neural network
CN114791571A (en) * 2022-04-18 2022-07-26 东北电力大学 Lithium ion battery life prediction method and device based on improved CSO-LSTM network
CN116203432A (en) * 2023-03-23 2023-06-02 广东工业大学 A method for predicting battery state of charge based on CSO optimized unscented Kalman filter

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608507A (en) * 2015-12-22 2016-05-25 广东电网有限责任公司江门供电局 Transmission line inspection path optimization method based on differential crisscross optimization algorithm
CN106443453A (en) * 2016-07-04 2017-02-22 陈逸涵 Lithium battery SOC estimation method based on BP neural network
CN106485365A (en) * 2016-10-25 2017-03-08 广东工业大学 A kind of Load Prediction In Power Systems method and device
CN108181591A (en) * 2018-01-08 2018-06-19 电子科技大学 A kind of Forecasting Methodology of the SOC value of battery based on Speed Controlling Based on Improving BP Neural Network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608507A (en) * 2015-12-22 2016-05-25 广东电网有限责任公司江门供电局 Transmission line inspection path optimization method based on differential crisscross optimization algorithm
CN106443453A (en) * 2016-07-04 2017-02-22 陈逸涵 Lithium battery SOC estimation method based on BP neural network
CN106485365A (en) * 2016-10-25 2017-03-08 广东工业大学 A kind of Load Prediction In Power Systems method and device
CN108181591A (en) * 2018-01-08 2018-06-19 电子科技大学 A kind of Forecasting Methodology of the SOC value of battery based on Speed Controlling Based on Improving BP Neural Network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马留洋 等: "基于纵横交叉算法优化BP神经网络的风机齿轮箱故障诊断方法", 《广东工业大学学报》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109884526A (en) * 2019-01-30 2019-06-14 广东工业大学 Battery fault diagnosis method based on cross-optimized fuzzy BP neural network
CN112329328A (en) * 2020-07-07 2021-02-05 广东电网有限责任公司 Transformer loss calculation method based on CSO optimization neural network
CN112100907A (en) * 2020-08-24 2020-12-18 广东工业大学 Power grid optimal power flow problem solution method based on distributed criss-cross algorithm
CN114791571A (en) * 2022-04-18 2022-07-26 东北电力大学 Lithium ion battery life prediction method and device based on improved CSO-LSTM network
CN116203432A (en) * 2023-03-23 2023-06-02 广东工业大学 A method for predicting battery state of charge based on CSO optimized unscented Kalman filter
CN116203432B (en) * 2023-03-23 2023-10-20 广东工业大学 Method for predicting battery state of charge based on CSO optimized unscented Kalman filter

Similar Documents

Publication Publication Date Title
CN109143093A (en) Based on the battery SOC evaluation method for intersecting optimization neural network in length and breadth
CN110568359B (en) Lithium battery residual life prediction method
CN112269134B (en) A joint estimation method of battery SOC and SOH based on deep learning
CN112131733B (en) Distributed power planning method considering the influence of electric vehicle charging load
CN106501721A (en) A kind of lithium battery SOC estimation method based on biological evolution
CN116449218B (en) Lithium battery health state estimation method
Gill et al. Training back propagation neural networks with genetic algorithm for weather forecasting
CN112883632B (en) A Parameter Identification Method of Lithium Battery Equivalent Circuit Model Based on Improved Ant Colony Algorithm
CN112184070A (en) A multi-objective optimal scheduling method and system for cascade hydropower stations with coordinated ecological flow demand
CN110443377A (en) A kind of support vector machines life of storage battery prediction technique based on immune algorithm optimization
CN109346787B (en) Self-adaptive optimized charging method for power battery of electric automobile
CN103973221B (en) A Photovoltaic Array Parameter Identification Method Based on Measured Data
CN110007235A (en) A kind of accumulator of electric car SOC on-line prediction method
CN105938578A (en) Large-scale photovoltaic power station equivalent modeling method based on clustering analysis
CN107391385A (en) A kind of construction method of Generation of software test case technology
CN105260786A (en) Comprehensive optimization method of simulation credibility evaluation model of electric propulsion system
CN114707292B (en) Analysis method for voltage stability of distribution network containing electric automobile
CN109884526A (en) Battery fault diagnosis method based on cross-optimized fuzzy BP neural network
CN117686937B (en) Method for estimating health state of single battery in battery system
CN102819652A (en) Mechanical parameter optimization design method based on adaptive reverse differential evolution
CN116774086A (en) Lithium battery health state estimation method based on multi-sensor data fusion
CN117805616A (en) Abnormal cell identification method for lithium ion energy storage system
CN110648013A (en) A dual maximum entropy-based charging load prediction method for electric vehicles
CN114895206A (en) SOH estimation method of lithium-ion battery based on RBF neural network based on improved gray wolf optimization algorithm
CN105184112A (en) Protein structure prediction method based on improved niche genetic algorithm

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190104