[go: up one dir, main page]

CN111856282B - Vehicle-mounted lithium battery state estimation method based on improved genetic unscented Kalman filtering - Google Patents

Vehicle-mounted lithium battery state estimation method based on improved genetic unscented Kalman filtering Download PDF

Info

Publication number
CN111856282B
CN111856282B CN201910317198.9A CN201910317198A CN111856282B CN 111856282 B CN111856282 B CN 111856282B CN 201910317198 A CN201910317198 A CN 201910317198A CN 111856282 B CN111856282 B CN 111856282B
Authority
CN
China
Prior art keywords
lithium battery
circuit voltage
open circuit
current
state
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.)
Active
Application number
CN201910317198.9A
Other languages
Chinese (zh)
Other versions
CN111856282A (en
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.)
Wuhan University of Technology WUT
Original Assignee
Wuhan University of Technology WUT
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 Wuhan University of Technology WUT filed Critical Wuhan University of Technology WUT
Priority to CN201910317198.9A priority Critical patent/CN111856282B/en
Publication of CN111856282A publication Critical patent/CN111856282A/en
Application granted granted Critical
Publication of CN111856282B publication Critical patent/CN111856282B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/367Software therefor, e.g. for battery testing using modelling or look-up tables
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/374Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC] with means for correcting the measurement for temperature or ageing
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/385Arrangements for measuring battery or accumulator variables
    • G01R31/387Determining ampere-hour charge capacity or SoC
    • G01R31/388Determining ampere-hour charge capacity or SoC involving voltage measurements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/11Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/15Correlation function computation including computation of convolution operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/12Computing arrangements based on biological models using genetic models
    • G06N3/126Evolutionary algorithms, e.g. genetic algorithms or genetic programming
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Algebra (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biophysics (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Genetics & Genomics (AREA)
  • Physiology (AREA)
  • Operations Research (AREA)
  • Artificial Intelligence (AREA)
  • Biomedical Technology (AREA)
  • Computational Linguistics (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Secondary Cells (AREA)
  • Tests Of Electric Status Of Batteries (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

本发明提供一种基于改进遗传无迹卡尔曼滤波的车载锂电池状态估计方法,在锂电池恒流放电的情况下对锂电池的开路电压、电流进行采样;根据二阶RC等效电路模型建立锂电池的状态空间方程,计算开路电压估计值;使用卡尔曼滤波算法,对二阶RC等效电路模型进行估计并实时更新;利用改进的遗传算法寻求最优噪声协方差矩阵;使用无迹卡尔曼滤波算法,通过开路电压估计值对电池状态进行估计,得到当前开路电压估计值;然后通过锂电池开路电压与SOC的关系,输出当前开路电压估计值对应的SOC估计值。本发明解决了锂电池内部电化学反应造成的系统状态变量非线性化严重的问题,提高了估计的实时性和精确性。

Figure 201910317198

The invention provides a method for estimating the state of an on-board lithium battery based on an improved genetic unscented Kalman filter, which samples the open-circuit voltage and current of the lithium battery under the condition of constant current discharge of the lithium battery; and establishes the method based on the second-order RC equivalent circuit model. State space equation of lithium battery, calculate the estimated value of open circuit voltage; use Kalman filter algorithm to estimate and update the second-order RC equivalent circuit model in real time; use improved genetic algorithm to find the optimal noise covariance matrix; use unscented Kalman filter The Mann filter algorithm estimates the battery state through the open circuit voltage estimate to obtain the current open circuit voltage estimate; and then outputs the SOC estimate corresponding to the current open circuit voltage estimate through the relationship between the lithium battery open circuit voltage and SOC. The invention solves the problem of serious nonlinearity of the system state variables caused by the internal electrochemical reaction of the lithium battery, and improves the real-time performance and accuracy of estimation.

Figure 201910317198

Description

基于改进遗传无迹卡尔曼滤波的车载锂电池状态估计方法State estimation method of vehicle lithium battery based on improved genetic unscented Kalman filter

技术领域technical field

本发明属于车载锂电池领域,更具体地,涉及一种基于改进遗传无迹卡尔曼滤波的车载锂电池状态估计方法。The invention belongs to the field of on-board lithium batteries, and more particularly relates to a state estimation method for on-board lithium batteries based on improved genetic unscented Kalman filtering.

背景技术Background technique

锂离子电池以其循环寿命长、自放电率小、能量高、无记忆效应等优点被广泛应用在电动汽车领域。为了保障锂离子电池安全、可靠、高效地运行,需要精确估计电池的工作状态,并准确建立电池管理系统。其中锂离子电池的荷电状态(SOC)直接反映剩余电量的多少,只有准确地估计电池SOC才能避免锂离子电池过充过放行为,使电池保持良好的工作状态。Lithium-ion batteries are widely used in electric vehicles due to their advantages of long cycle life, low self-discharge rate, high energy, and no memory effect. In order to ensure the safe, reliable and efficient operation of lithium-ion batteries, it is necessary to accurately estimate the working state of the battery and accurately establish a battery management system. Among them, the state of charge (SOC) of the lithium-ion battery directly reflects the amount of remaining power. Only by accurately estimating the battery SOC can avoid the overcharge and overdischarge behavior of the lithium-ion battery and keep the battery in a good working state.

目前,国内外对锂离子电池SOC的估计方法主要包括如下几种:1)开路电压法(OCV),利用开路电压与SOC的非线性关系,通过测量开路电压获取SOC值,该方法在测量过程中需将电池长时间静置,不适合SOC的在线估计;2)安时积分法(CC),在已知初值下对电流作积分处理,该方法对SOC初值具有极高要求,同时忽略了电流检测时产生的累积误差和电池老化导致容量衰减造成的影响;3)电化学阻抗谱法(EIS),通过交流阻抗谱寻找锂离子电池的欧姆-极化内阻与SOC的关系,该方法稳定性差,检测复杂,运行时间长,实时监测中应用较少;4)卡尔曼滤波(KF),以等效模型为基础,利用观测数据对状态估计进行修正,该算法对模型精度要求较高,不适合非线性系统;5)扩展卡尔曼(EKF),通过对非线性函数做线性化处理,再利用Kalman滤波完成对目标的估计,计算过程中由于方差矩阵的非正定性,会导致估计值发散;6)无迹卡尔曼(UKF),摒弃非线性函数做线性化处理,利用无迹变换处理均值与协方差的非线性传递问题,该方法对非线性分布的统计量具有较高精度;7)粒子滤波(PF),利用离散的粒子集近似描述系统随机变量的概率密度,能较精确地表达观测量与控制量的后验概率分布问题;8)神经网络法(NN),对非线性系统具有较强处理能力,但需训练大量数据,同时估计误差受训练数据和训练方法的影响较大;9)滑模观测法(SMO),该方法可以有效解决非线性模型对状态估计的影响,但频繁切换控制状态将导致系统出现抖振。At present, the estimation methods of lithium-ion battery SOC at home and abroad mainly include the following: 1) Open circuit voltage method (OCV), which uses the nonlinear relationship between open circuit voltage and SOC to obtain SOC value by measuring open circuit voltage. The battery needs to be left standing for a long time, which is not suitable for online estimation of SOC; 2) Ampere-hour integration method (CC), the current is integrated under the known initial value. This method has extremely high requirements for the initial value of SOC, and at the same time The cumulative error caused by current detection and the effect of capacity decay caused by battery aging are ignored; 3) Electrochemical impedance spectroscopy (EIS), through the AC impedance spectrum to find the relationship between the ohmic-polarization internal resistance and SOC of lithium-ion batteries, This method has poor stability, complex detection, long running time, and is rarely used in real-time monitoring; 4) Kalman filter (KF), based on the equivalent model, uses observation data to correct the state estimation, and the algorithm requires model accuracy. High, not suitable for nonlinear systems; 5) Extended Kalman (EKF), by linearizing the nonlinear function, and then using Kalman filtering to complete the estimation of the target, due to the non-positive definiteness of the variance matrix in the calculation process, it will be 6) Unscented Kalman (UKF), which abandons nonlinear functions for linearization, and uses unscented transformation to deal with the nonlinear transfer problem of mean and covariance. This method has better performance on nonlinear distribution statistics. High precision; 7) Particle filter (PF), which uses discrete particle sets to approximately describe the probability density of random variables in the system, which can more accurately express the posterior probability distribution of observed quantities and control quantities; 8) Neural network method (NN) , which has strong processing ability for nonlinear systems, but needs to train a large amount of data, and the estimation error is greatly affected by the training data and training methods; 9) Sliding Mode Observation Method (SMO), which can effectively solve the problem of nonlinear model However, frequent switching of control states will cause chattering in the system.

在锂离子电池实际工作过程中,环境温度、循环次数、检测精度等因素对锂离子电池的状态估计具有重要的影响。在实际应用中常常出现因系统非线性而导致估计值发散问题以及单纯利用粒子滤波算法因粒子数较少出现粒子匮乏现象。In the actual working process of lithium-ion batteries, factors such as ambient temperature, cycle times, and detection accuracy have an important impact on the state estimation of lithium-ion batteries. In practical applications, the problem of divergence of estimated values due to nonlinearity of the system often occurs, and the phenomenon of particle scarcity occurs due to the small number of particles simply using the particle filter algorithm.

发明内容SUMMARY OF THE INVENTION

本发明要解决的技术问题是:提供一种基于改进遗传无迹卡尔曼滤波的车载锂电池状态估计方法,提高估计精度。The technical problem to be solved by the present invention is to provide a method for estimating the state of a vehicle lithium battery based on an improved genetic unscented Kalman filter, so as to improve the estimation accuracy.

本发明为解决上述技术问题所采取的技术方案为:一种基于改进遗传无迹卡尔曼滤波的车载锂电池状态估计方法,其特征在于:它包括以下步骤:The technical solution adopted by the present invention to solve the above-mentioned technical problems is: a method for estimating the state of a vehicle-mounted lithium battery based on improved genetic unscented Kalman filtering, which is characterized in that: it comprises the following steps:

S1、在锂电池恒流放电的情况下,对锂电池的开路电压、电流进行采样;S1. Under the condition of constant current discharge of the lithium battery, sample the open circuit voltage and current of the lithium battery;

S2、根据二阶RC等效电路模型,建立锂电池的状态空间方程,利用S1采样的电流,采用状态空间方程计算开路电压估计值;比较采样的开路电压和计算的开路电压估计值;S2. According to the second-order RC equivalent circuit model, establish the state space equation of the lithium battery, and use the current sampled by S1 to calculate the estimated value of the open circuit voltage by using the state space equation; compare the sampled open circuit voltage and the calculated open circuit voltage estimate value;

S3、使用卡尔曼滤波算法,通过S2计算的开路电压估计值与测量值,对所述的二阶RC 等效电路模型进行估计并实时更新;S3, using the Kalman filter algorithm to estimate the second-order RC equivalent circuit model and update it in real time through the open-circuit voltage estimated value and the measured value calculated by S2;

S4、通过对不同SOC值的锂电池恒流充放电,静止一段时间后测量开路电压,拟合得到锂电池开路电压与SOC的关系;S4. Through constant current charging and discharging of lithium batteries with different SOC values, the open circuit voltage is measured after a period of rest, and the relationship between the open circuit voltage and SOC of the lithium battery is obtained by fitting;

S5、利用改进的遗传算法寻求最优噪声协方差矩阵;S5, using the improved genetic algorithm to seek the optimal noise covariance matrix;

S6、采用S5得到的最优噪声协方差矩阵,使用无迹卡尔曼滤波算法,通过S2得到的开路电压估计值对电池状态进行估计,得到当前开路电压估计值;然后通过S4得到的锂电池开路电压与SOC的关系,输出当前开路电压估计值对应的SOC估计值。S6. Using the optimal noise covariance matrix obtained in S5, using the unscented Kalman filter algorithm, the battery state is estimated by the open circuit voltage estimated value obtained by S2, and the current open circuit voltage estimated value is obtained; then the lithium battery is open circuit obtained through S4. The relationship between voltage and SOC, and output the SOC estimate value corresponding to the current open circuit voltage estimate value.

按上述方法,所述的S1具体包括:According to the above method, the S1 specifically includes:

选取一致性相同的车载锂电池组在常温下,进行充放电实验,选取锂电池的平均电压值作为有效数据;Select vehicle-mounted lithium battery packs with the same consistency to perform charge and discharge experiments at room temperature, and select the average voltage value of lithium batteries as valid data;

防止锂电池过放电,设置放电截止电压;To prevent over-discharge of lithium batteries, set the discharge cut-off voltage;

设置锂电池恒流放电倍率,并以固定采样周期对锂电池的开路电压、电流进行采样。Set the constant current discharge rate of the lithium battery, and sample the open circuit voltage and current of the lithium battery with a fixed sampling period.

按上述方法,所述的S3具体为:According to the above method, the S3 is specifically:

3-1、根据锂电池的二阶RC等效电路模型,由基尔霍夫定律得到系统传递函数;3-1. According to the second-order RC equivalent circuit model of the lithium battery, the system transfer function is obtained by Kirchhoff's law;

3-2、对传递函数进行双线性变换,在固定采样周期的条件下,选取状态方程和观测方程;3-2. Perform bilinear transformation on the transfer function, and select the state equation and the observation equation under the condition of a fixed sampling period;

3-3、通过卡尔曼滤波算法对状态变量进行在线估计,再利用z的逆变换得到二阶RC等效电路模型中各参数的辨识值。3-3. The state variables are estimated online by the Kalman filter algorithm, and then the inverse transformation of z is used to obtain the identification values of each parameter in the second-order RC equivalent circuit model.

按上述方法,所述的S4具体为:According to the above method, the S4 is specifically:

4-1、将锂电池充分放/充电并静置一段时间;4-1. Fully discharge/charge the lithium battery and let it stand for a period of time;

4-2、再对锂电池进行等间隔恒流脉冲充/放电实验,每次脉冲实验后静置,并测量锂电池的端电压;4-2. Then carry out the constant current pulse charge/discharge experiment at equal intervals on the lithium battery, let it stand after each pulse experiment, and measure the terminal voltage of the lithium battery;

4-3、多次实验获取各阶段锂电池组的电压平均值;4-3. Obtain the average voltage of the lithium battery pack at each stage through multiple experiments;

4-4、通过实验获取一致性相同的锂电池组的电压平均值作为单个锂电池的开路电压,拟合函数。4-4. Obtain the average voltage of lithium battery packs with the same consistency through experiments as the open circuit voltage of a single lithium battery, and fit the function.

按上述方法,所述的S5具体为:According to the above method, the S5 is specifically:

5-1、选择染色体编码方式,按照所选编码方式随机生成初始种群;5-1. Select the chromosome encoding method, and randomly generate the initial population according to the selected encoding method;

5-2、判断是否满足收敛条件,一般判断是否达到迭代次数,若满足执行5-6,不满足执行步骤5-3;5-2. Judging whether the convergence conditions are met, generally judge whether the number of iterations has been reached, if it is satisfied, execute 5-6, but not execute step 5-3;

5-3、使用逆二分法选择交叉个体;5-3. Use inverse dichotomy to select crossover individuals;

5-4、利用改进的交叉概率算法对所选交叉个体进行交叉操作。5-4. Use the improved crossover probability algorithm to perform crossover operation on the selected crossover individuals.

5-5、选择变异,返回5-2;5-5. Select mutation and return to 5-2;

5-6、输出最优解。5-6. Output the optimal solution.

按上述方法,所述的S6具体包括:According to the above method, the S6 specifically includes:

6-1、对电池电化学过程分析,列出系统的状态方程和测量方程;6-1. Analyze the electrochemical process of the battery, and list the state equation and measurement equation of the system;

6-2、各状态量初始值计算;6-2. Calculation of initial value of each state quantity;

6-3、建立Sigma点;6-3. Establish Sigma point;

6-4、更新状态方程;6-4. Update the state equation;

6-5、更新测量方程;6-5. Update the measurement equation;

6-6、重复上述步骤6-2至6-5。6-6. Repeat steps 6-2 to 6-5 above.

本发明的有益效果为:The beneficial effects of the present invention are:

1、通过采用S5和S6,系统噪音和观测噪音协方差矩阵Qw和Rv在每次迭代过程中都能得到较好的修正以获得稳定的估计结果,无迹卡尔曼滤波算法较好的解决了锂离子电池内部电化学反应造成的系统状态变量非线性化严重的问题,从而使得SOC估计精度相对于传统方法大大提高。1. By using S5 and S6, the system noise and observation noise covariance matrices Qw and Rv can be better corrected in each iteration process to obtain stable estimation results, and the unscented Kalman filter algorithm is better. The problem of serious nonlinearity of the system state variables caused by the electrochemical reaction inside the lithium-ion battery is solved, so that the SOC estimation accuracy is greatly improved compared with the traditional method.

2、由于采用了步骤S5,应用逆二分法对交叉个体进行选择,使用全新的概率算法以区别较优个体和较差个体的改进的遗传算法,从而降低了遗传算法操作的盲目性,有利于优秀基因的保留和较差基因的淘汰。2. Since step S5 is adopted, the inverse dichotomy method is used to select the crossover individuals, and a new probability algorithm is used to distinguish the improved genetic algorithm of the better individuals and the worse individuals, thereby reducing the blindness of the genetic algorithm operation, which is beneficial to Retention of excellent genes and elimination of poor genes.

附图说明Description of drawings

图1为本发明的流程图。FIG. 1 is a flow chart of the present invention.

图2为二阶RC等效电路模型示意图。Figure 2 is a schematic diagram of a second-order RC equivalent circuit model.

图3为参数辨识曲线图。Figure 3 is a parameter identification curve diagram.

图4为开路电压与SOC关系曲线图。FIG. 4 is a graph showing the relationship between open circuit voltage and SOC.

图5为改进的遗传算法流程图。Figure 5 is a flowchart of the improved genetic algorithm.

图6为脉冲充放电电流测试条件充放电电流与时间关系曲线图。FIG. 6 is a graph showing the relationship between charge and discharge current and time under pulse charge and discharge current test conditions.

图7为不同初值设定下SOC估计曲线图。FIG. 7 is a graph of SOC estimation under different initial value settings.

图8为不同初值这设定下SOC估计误差曲线图。Figure 8 is a graph of the SOC estimation error under different initial values.

图9为UDDS循环工况电流曲线图。Fig. 9 is the current curve diagram of UDDS cycle working condition.

图10为不同算法的SOC估计曲线图。Figure 10 is a graph of SOC estimation curves for different algorithms.

图11为不同算法的SOC估计误差曲线图。Figure 11 is a graph of SOC estimation error curves for different algorithms.

具体实施方式Detailed ways

下面结合具体实例对本发明做进一步说明。The present invention will be further described below in conjunction with specific examples.

本发明提供一种基于改进遗传无迹卡尔曼滤波的车载锂电池状态估计方法,如图1所示,它包括以下步骤:The present invention provides a vehicle-mounted lithium battery state estimation method based on improved genetic unscented Kalman filtering, as shown in Figure 1, which includes the following steps:

S1、在锂电池恒流放电的情况下,对锂电池的开路电压、电流进行采样。S1. Under the condition of constant current discharge of the lithium battery, sample the open circuit voltage and current of the lithium battery.

本实施例中,S1具体包括以下子步骤:In this embodiment, S1 specifically includes the following sub-steps:

(1-1)选取一致性相同的,电池单体额定容量40Ah的磷酸铁锂离子电池组在常温下,进行充放电实验,选取锂电池的平均电压值作为有效数据;(1-1) Select the lithium iron phosphate battery pack with the same consistency and the rated capacity of the battery cell of 40Ah at room temperature, carry out the charge and discharge experiment, and select the average voltage value of the lithium battery as the valid data;

(1-2)防止锂电池过放电,通过软件设置放电截止电压;(1-2) Prevent the lithium battery from over-discharging, and set the discharge cut-off voltage through software;

(1-3)编程设置电子负载实现电池1/5C的恒流放电倍率,并以1s为采样周期对锂电池的开路电压、电流进行采样。(1-3) Program the electronic load to realize the constant current discharge rate of 1/5C of the battery, and sample the open-circuit voltage and current of the lithium battery with 1s as the sampling period.

S2、根据二阶RC等效电路模型,建立锂电池的状态空间方程,利用S1采样的电流,采用状态空间方程计算开路电压估计值;比较采样的开路电压和计算的开路电压估计值。S2. According to the second-order RC equivalent circuit model, the state space equation of the lithium battery is established. Using the current sampled by S1, the state space equation is used to calculate the estimated value of the open circuit voltage; compare the sampled open circuit voltage with the calculated open circuit voltage estimated value.

具体包括以下子步骤:Specifically, it includes the following sub-steps:

(2-1)首先建立基于电流与充放电方向的二阶RC等效电路模型如图2所示,该模型包含一个电压控制电压源Uoc,表征荷电状态与开路电压的非线性关系;R0为电池的欧姆内阻; Rs,Cs为电池电化学极化电阻与电容,表征短时间的电路极化响应;Rl,Cl为电池浓度极化电阻与电容,表征长时间的电路极化响应;Ic为工作电流;Vc为电池端电压;(2-1) First, establish a second-order RC equivalent circuit model based on current and charge-discharge direction as shown in Figure 2. The model includes a voltage-controlled voltage source U oc , which characterizes the nonlinear relationship between the state of charge and the open-circuit voltage; R 0 is the ohmic internal resistance of the battery; R s , C s are the electrochemical polarization resistance and capacitance of the battery, representing the short-term circuit polarization response; R l , C l are the battery concentration polarization resistance and capacitance, representing the long-term The circuit polarization response of ; I c is the working current; V c is the battery terminal voltage;

(2-2)根据二阶RC等效电路模型,建立锂离子电池的状态空间方程:(2-2) According to the second-order RC equivalent circuit model, the state space equation of the lithium-ion battery is established:

Figure BDA0002033502600000041
Figure BDA0002033502600000041

Vc=Voc(SOC)-Vs-Vl-R0Ic(k);②V c =V oc (SOC)-V s -V l -R 0 I c (k); ②

其中:T为采样时间,CN为电池容量,k为离散时间变量;下同;Among them: T is the sampling time, CN is the battery capacity, k is the discrete time variable; the same below;

(2-3)结合状态空间方程①和②根据采样电流值,得到开路电压估计值;(2-3) Combine the state space equations ① and ② to obtain the estimated value of the open circuit voltage according to the sampled current value;

(2-4)比较估计值与测量值。(2-4) Compare the estimated value with the measured value.

S3、使用卡尔曼滤波算法,通过S2计算的开路电压估计值与测量值,对所述的二阶RC 等效电路模型进行估计并实时更新。S3. Using the Kalman filter algorithm, the estimated second-order RC equivalent circuit model is estimated and updated in real time through the estimated value and measured value of the open circuit voltage calculated in S2.

具体包括以下子步骤:Specifically, it includes the following sub-steps:

(3-1):根据锂离子电池的二阶RC等效电路模型,由基尔霍夫定律,可得系统传递函数:(3-1): According to the second-order RC equivalent circuit model of the lithium-ion battery and Kirchhoff's law, the system transfer function can be obtained:

Figure BDA0002033502600000051
Figure BDA0002033502600000051

设时间常数如下:Ts=RsC,Tl=RlCl,a=TsTl,b=RsTl+RlTs+R0(Ts+Tl),c=R0+Rs+Rl,d=Ts+Tl则有:Let the time constants be as follows: T s = R s C, T l = R l C l , a = T s T l , b = R s T l +R l T s +R 0 (T s +T l ),c =R 0 +R s +R l , d=T s +T l then there are:

Figure BDA0002033502600000052
Figure BDA0002033502600000052

(3-2):令

Figure BDA0002033502600000053
由双线性变换得到:(3-2): Order
Figure BDA0002033502600000053
Obtained by bilinear transformation:

Figure BDA0002033502600000054
Figure BDA0002033502600000054

其中:

Figure BDA0002033502600000055
Figure BDA0002033502600000056
in:
Figure BDA0002033502600000055
Figure BDA0002033502600000056

在固定采样周期为T的条件下,选取状态方程和观测方程:Under the condition that the fixed sampling period is T, select the state equation and the observation equation:

θ=[k1,k2,k3,k4,k5]T θ=[k 1 ,k 2 ,k 3 ,k 4 ,k 5 ] T

y(k)=-k1·y(k-1)-k2·y(k-1)+k3·I(k)+k4·I(k-1)+k5·I(k-2)y(k)=-k 1 ·y(k-1)-k 2 ·y(k-1)+k 3 ·I(k)+k 4 ·I(k-1)+k 5 ·I(k -2)

(3-3):通过卡尔曼滤波算法对状态变量进行在线估计,再利用z的逆变换得到等效电路模型中各参数的辨识值。通过对一致性相同的磷酸铁锂离子电池组进行放电实验,选取锂离子电池的平均电压值作为有效数据,对其中100组电压采用KF算法进行参数进行辨识。其参数辨识曲线如图3所示。可知,在整个100次连续放电阶段,电池的欧姆内阻R0变化较小;极化电阻Rs,Rl与极化电容Cs,Cl的变换趋势相反,当极化电阻增加时,极化电容减小。(3-3): The state variables are estimated online by the Kalman filter algorithm, and then the inverse transformation of z is used to obtain the identification values of the parameters in the equivalent circuit model. Through the discharge experiment of lithium iron phosphate battery packs with the same consistency, the average voltage value of the lithium ion battery is selected as the effective data, and the KF algorithm is used to identify the parameters of 100 sets of voltages. Its parameter identification curve is shown in Figure 3. It can be seen that the ohmic internal resistance R 0 of the battery changes little during the entire 100 consecutive discharge stages; the polarization resistances R s , R l and the polarization capacitances C s and C l have opposite transformation trends. When the polarization resistance increases, Polarization capacitance is reduced.

S4、通过对不同SOC值的锂电池恒流充放电,静止一段时间后测量开路电压,拟合得到锂电池开路电压与SOC的关系。S4, by charging and discharging lithium batteries with different SOC values at constant current, measuring the open circuit voltage after a period of rest, and fitting the relationship between the open circuit voltage and SOC of the lithium battery.

具体包括以下子步骤:Specifically, it includes the following sub-steps:

(4-1):将锂离子电池充分放/充电并静置一段时间;(4-1): Fully discharge/charge the lithium-ion battery and let it stand for a period of time;

(4-2):再对电池进行10个等间隔恒流脉冲充/放电实验,每次脉冲实验后静置3小时,测量电池的端电压,此刻的端电压可近似为开路电压;(4-2): Carry out 10 constant-current pulse charge/discharge experiments at equal intervals on the battery. After each pulse experiment, let it stand for 3 hours, and measure the terminal voltage of the battery. The terminal voltage at this moment can be approximated as the open-circuit voltage;

(4-3):多次实验获取各阶段锂离子电池组的平均值;(4-3): Obtain the average value of lithium-ion battery packs at each stage through multiple experiments;

(4-4):通过实验获取一致性相同的锂离子电池组均值电压作为单体电池的开路电压值,利用5阶拟合函数。辨识开路电压与荷电状态的关系曲线如图4所示。高阶拟合的开路电压与SOC关系如下:(4-4): Obtain the average voltage of the lithium-ion battery pack with the same consistency through experiments as the open circuit voltage value of the single cell, and use the fifth-order fitting function. The relationship between the identified open-circuit voltage and the state of charge is shown in Figure 4. The open circuit voltage and SOC relationship of the higher order fit is as follows:

Voc=15.4647SOC5-44.9905SOC4+49.5110SOC3-25.1893SOC2+5.8724SOC+2.7669;V oc =15.4647SOC 5 -44.9905SOC 4 +49.5110SOC 3 -25.1893SOC 2 +5.8724SOC+2.7669;

S5、利用改进的遗传算法寻求最优噪声协方差矩阵。S5, using the improved genetic algorithm to find the optimal noise covariance matrix.

如图5所示,具体包括以下子步骤:As shown in Figure 5, it specifically includes the following sub-steps:

(5-1):选择染色体编码方式,按照所选编码方式随机生成初始种群;(5-1): Select the chromosome encoding method, and randomly generate the initial population according to the selected encoding method;

(5-2):判断是否满足收敛条件,一般判断是否达到迭代次数,若满足执行步骤(5-6),不满足执行步骤(5-3);(5-2): Judging whether the convergence conditions are met, generally judge whether the number of iterations is reached, if the execution step (5-6) is satisfied, the execution step (5-3) is not satisfied;

(5-3):使用逆二分法选择交叉个体:将染色体集合内的n个个体随机均分至n/2个集合内。对集合内部的染色体进行交叉操作产生子代染色体。随机选择两个子代染色体集合进行结合,生成n/4个结合,并标记各染色体来自哪个集合。对集合内部来自不同集合的染色体进行配对交叉操作。随机选择两个子代染色体集合进行结合,生成n/8个结合,并标记各染色体来自哪个集合。按照前述操作不断进行,直至最后合并为一个集合。;(5-3): Use inverse dichotomy to select crossover individuals: divide the n individuals in the chromosome set into n/2 sets at random. Crossover operations are performed on the chromosomes within the set to produce progeny chromosomes. Two sets of progeny chromosomes are randomly selected for binding, generating n/4 bindings and labeling which set each chromosome comes from. Perform pairwise crossover operations on chromosomes from different sets within the set. Two sets of progeny chromosomes are randomly selected for binding, generating n/8 bindings and labeling which set each chromosome comes from. Continue according to the previous operations until finally merged into a set. ;

(5-4):利用改进的交叉概率算法对所选交叉个体进行交叉操作:(5-4): Use the improved crossover probability algorithm to perform the crossover operation on the selected crossover individuals:

Figure BDA0002033502600000061
Figure BDA0002033502600000061

其中,Pe0为基准交叉概率,可根据实际情况在0.85~0.95之间取值;Fbest为当前种群中最优个体适应度值;

Figure BDA0002033502600000062
为当前种群平均适应度值;F为进入交叉配对操作个体的适应度值。Among them, P e0 is the reference crossover probability, which can be between 0.85 and 0.95 according to the actual situation; F best is the optimal individual fitness value in the current population;
Figure BDA0002033502600000062
is the average fitness value of the current population; F is the fitness value of the individual entering the cross-pairing operation.

(5-5):选择变异,返回步骤(5-2);(5-5): Select mutation and return to step (5-2);

(5-6):输出最优解。(5-6): Output the optimal solution.

S6、采用S5得到的最优噪声协方差矩阵,使用无迹卡尔曼滤波算法,通过S2得到的开路电压估计值对电池状态进行估计,得到当前开路电压估计值;然后通过S4得到的锂电池开路电压与SOC的关系,输出当前开路电压估计值对应的SOC估计值。S6. Using the optimal noise covariance matrix obtained in S5, using the unscented Kalman filter algorithm, the battery state is estimated by the open circuit voltage estimated value obtained by S2, and the current open circuit voltage estimated value is obtained; then the lithium battery is open circuit obtained through S4. The relationship between voltage and SOC, and output the SOC estimate value corresponding to the current open circuit voltage estimate value.

具体包括以下子步骤:Specifically, it includes the following sub-steps:

(6-1):列出系统的状态方程和测量方程:(6-1): List the state equation and measurement equation of the system:

Xk=f(Xk-1,Uk)+Wk X k =f(X k-1 ,U k )+W k

Yk=g(Xk-1)+Vk Y k =g(X k-1 )+V k

k为当前所处时刻f(Xk-1,Uk)为非线性系统状态转移方程,g(Xk-1)为非线性测量方程, Xk为状态变量,Uk为已知输入,Yk为测量信号;Wk为过程噪声,Vk为测量噪声。我们假定Wk和Vk是不相关的均值均为零的高斯白噪声,其协方差分别为Qw和Rvk is the current moment f(X k-1 , U k ) is the nonlinear system state transition equation, g(X k-1 ) is the nonlinear measurement equation, X k is the state variable, U k is the known input, Y k is the measurement signal; W k is the process noise, and V k is the measurement noise. We assume that W k and V k are uncorrelated white Gaussian noise with zero mean, and their covariances are Q w and R v , respectively.

对前述电池等效模型进行电池自放电、电化学极化和浓度差极化等电化学过程分析,可以将模型分为以下两个部分:基于运行时间模型和基于电压-电流特性模型。其中,基于电压 -电流模型部分可以通过分析锂离子电池放电外特性获得,电池荷电状态值在0到1之间取。The electrochemical processes such as battery self-discharge, electrochemical polarization and concentration difference polarization are analyzed for the aforementioned battery equivalent model. The model can be divided into the following two parts: the model based on the running time and the model based on the voltage-current characteristic. Among them, the part based on the voltage-current model can be obtained by analyzing the external characteristics of lithium-ion battery discharge, and the battery state of charge value is taken between 0 and 1.

基于前述电池等效模型,不难列出锂离子电池系统的状态方程和测量方程如下:Based on the aforementioned battery equivalent model, it is not difficult to list the state equation and measurement equation of the lithium-ion battery system as follows:

Figure BDA0002033502600000071
Figure BDA0002033502600000071

Vc=VOC+IcR0+Vs+Vl V c =V OC +I c R 0 +V s +V l

其中电流Ic在充电时取正值,放电时取负值,Cq为锂离子电池的标称容量。The current I c takes a positive value during charging and a negative value during discharging, and C q is the nominal capacity of the lithium-ion battery.

(6-2):各状态量初始值计算:(6-2): Calculation of initial value of each state quantity:

Figure BDA0002033502600000072
Figure BDA0002033502600000072

Figure BDA0002033502600000073
Figure BDA0002033502600000073

式中k|k-1为基于k-1时刻对k时刻的估计值。where k|k-1 is the estimated value of time k based on time k-1.

(6-3):建立Sigma点:(6-3): Establish Sigma point:

Figure BDA0002033502600000074
Figure BDA0002033502600000074

Figure BDA0002033502600000081
Figure BDA0002033502600000081

(6-4):更新状态方程:(6-4): Update the state equation:

Figure BDA0002033502600000082
Figure BDA0002033502600000082

Figure BDA0002033502600000083
Figure BDA0002033502600000083

(6-5):更新测量方程:(6-5): Update the measurement equation:

Figure BDA0002033502600000084
Figure BDA0002033502600000084

Figure BDA0002033502600000085
Figure BDA0002033502600000085

Figure BDA0002033502600000086
Figure BDA0002033502600000086

(6-6):重复上述四个,即可根据k-1时刻的状态值以及k时刻获取的观测值,就可以估算k时刻的最优状态估计值Xk(6-6): By repeating the above four steps, the optimal state estimation value X k at time k can be estimated according to the state value at time k-1 and the observation value obtained at time k .

如步骤(1-1)中所述分别设定SOC初始值为0.2、0.4、0.6条件下以脉冲充放电电流对锂离子电池进行试验,脉冲充放电实验如图6所示。其中图7、图8分别为脉冲充放电电流实验条件下,基于无迹粒子滤波算法的SOC估计值和估计误差曲线。可知,当初始值越接近真实值,收敛速度越快;即使初始设定值与真实值存在较大误差时,经过一段时间的修正与迭代也会很快地收敛到理论值附近;在脉冲电流工况下,当初始荷电状态较大时,经过200s左右的调整,能稳定跟踪理论值;当估计值稳定后,估计误差在±1.5%之间。As described in step (1-1), the lithium-ion battery was tested with pulse charge and discharge current under the conditions of setting the initial SOC value of 0.2, 0.4, and 0.6, respectively. The pulse charge and discharge experiment is shown in Figure 6. Among them, Figure 7 and Figure 8 are respectively the SOC estimation value and estimation error curve based on the unscented particle filter algorithm under the experimental conditions of pulse charge and discharge current. It can be seen that the closer the initial value is to the real value, the faster the convergence speed; even if there is a large error between the initial set value and the real value, after a period of correction and iteration, it will quickly converge to the theoretical value; Under working conditions, when the initial state of charge is large, after about 200s of adjustment, the theoretical value can be tracked stably; when the estimated value is stable, the estimated error is between ±1.5%.

为进一步验证无迹粒子滤波算法在复杂工况下的跟踪性。本发明以美国小型电动轿车在 UDDS工况下功率需求值为行驶工况,然后将功率需求值按照一定的比例缩小到单体电池工作条件。以2次UDDS循环工况作为锂离子电池组充放电试验条件,其循环周期2792s,在该工况下将无迹粒子滤波算法与EKF、UKF、EPF进行对比仿真分析。其中,基于UDDS的循环工况电流如图9所示,实验过程中设置采样周期为1s。In order to further verify the tracking performance of the unscented particle filter algorithm under complex conditions. The present invention takes the power demand value of the American small electric car under the UDDS working condition as the driving condition, and then reduces the power demand value to the working condition of the single battery according to a certain proportion. Taking two UDDS cycle conditions as the charging and discharging test conditions of the lithium-ion battery pack, the cycle period is 2792s. Under this condition, the unscented particle filter algorithm is compared with EKF, UKF, and EPF for comparative simulation analysis. Among them, the cyclic working current based on UDDS is shown in Figure 9, and the sampling period is set to 1s during the experiment.

图10和图11分别为UDDS循环工况下基于不同滤波算法获取的锂离子电池SOC估计值和估计误差曲线。图10可知在未知初始值情况下,利用无迹粒子滤波算法估计锂离子电池荷电状态在收敛速度与跟踪精度方面都明显优于其它的估计算法。在复杂的UDDS循环工况且初始估计误差较大情况下,收敛时间为250s左右;从图11可知该算法在UDDS循环工况下,估计值稳定后的跟踪精度小于2.0%。Figure 10 and Figure 11 are respectively the estimated value and the estimated error curve of the lithium-ion battery SOC obtained based on different filtering algorithms under the UDDS cycle condition. Figure 10 shows that in the case of unknown initial value, the use of unscented particle filter algorithm to estimate the state of charge of lithium-ion battery is significantly better than other estimation algorithms in terms of convergence speed and tracking accuracy. Under the complex UDDS cycle condition and the initial estimation error is large, the convergence time is about 250s; it can be seen from Figure 11 that the tracking accuracy of the algorithm after the estimated value is stable is less than 2.0% under the UDDS cycle condition.

本发明公开了一种基于改进遗传无迹卡尔曼滤波算法的车载锂离子电池状态估计方法,旨在精确估计锂离子电池的工作状态,对准确建立电池管理系统,保证锂离子电池安全、可靠、高效运行具有重要意义。该方法首先通过锂离子电池充放电实验,使用卡尔曼滤波算法对等效模型进行辨识,建立二阶RC等效电路模型,进而使用无迹卡尔曼算法进行锂离子电池SOC估计(State of Charge估计,简称SOC估计)的同时,采用改进的遗传算法对无迹卡尔曼滤波算法迭代过程中的系统噪声和观测噪声协方差进行优化。相比传统方法,本发明提出的方法解决了锂离子电池内部电化学反应造成的系统状态变量非线性化严重的问题,显著提高了估计的实时性和精确性。The invention discloses a method for estimating the state of a vehicle lithium ion battery based on an improved genetic unscented Kalman filter algorithm, aiming at accurately estimating the working state of the lithium ion battery, establishing a battery management system accurately, and ensuring the safety, reliability, and safety of the lithium ion battery. Efficient operation is important. This method firstly uses the Kalman filter algorithm to identify the equivalent model through the lithium-ion battery charging and discharging experiment, establishes a second-order RC equivalent circuit model, and then uses the unscented Kalman algorithm to estimate the SOC of the lithium-ion battery (State of Charge estimation). , SOC estimation for short), at the same time, an improved genetic algorithm is used to optimize the covariance of system noise and observation noise in the iterative process of the unscented Kalman filter algorithm. Compared with the traditional method, the method proposed in the present invention solves the problem of serious nonlinearity of the system state variable caused by the electrochemical reaction inside the lithium ion battery, and significantly improves the real-time performance and accuracy of estimation.

以上实施例仅用于说明本发明的设计思想和特点,其目的在于使本领域内的技术人员能够了解本发明的内容并据以实施,本发明的保护范围不限于上述实施例。所以,凡依据本发明所揭示的原理、设计思路所作的等同变化或修饰,均在本发明的保护范围之内。The above embodiments are only used to illustrate the design ideas and features of the present invention, and the purpose is to enable those skilled in the art to understand the contents of the present invention and implement them accordingly, and the protection scope of the present invention is not limited to the above embodiments. Therefore, all equivalent changes or modifications made according to the principles and design ideas disclosed in the present invention fall within the protection scope of the present invention.

Claims (5)

1.一种基于改进遗传无迹卡尔曼滤波的车载锂电池状态估计方法,其特征在于:它包括以下步骤:1. a vehicle-mounted lithium battery state estimation method based on improved genetic unscented Kalman filtering, is characterized in that: it comprises the following steps: S1、在锂电池恒流放电的情况下,对锂电池的开路电压、电流进行采样;S1. Under the condition of constant current discharge of the lithium battery, sample the open circuit voltage and current of the lithium battery; S2、根据二阶RC等效电路模型,建立锂电池的状态空间方程,利用S1采样的电流,采用状态空间方程计算开路电压估计值;比较采样的开路电压和计算的开路电压估计值;S2. According to the second-order RC equivalent circuit model, establish the state space equation of the lithium battery, and use the current sampled by S1 to calculate the estimated value of the open circuit voltage by using the state space equation; compare the sampled open circuit voltage and the calculated open circuit voltage estimate value; S3、使用卡尔曼滤波算法,通过S2计算的开路电压估计值与测量值,对所述的二阶RC等效电路模型进行估计并实时更新;S3, using the Kalman filter algorithm to estimate the second-order RC equivalent circuit model and update it in real time through the estimated value and measured value of the open circuit voltage calculated by S2; S4、通过对不同SOC值的锂电池恒流充放电,静止一段时间后测量开路电压,拟合得到锂电池开路电压与SOC的关系;S4. Through constant current charging and discharging of lithium batteries with different SOC values, the open circuit voltage is measured after a period of rest, and the relationship between the open circuit voltage and SOC of the lithium battery is obtained by fitting; S5、利用改进的遗传算法寻求最优噪声协方差矩阵;S5, using the improved genetic algorithm to seek the optimal noise covariance matrix; S6、采用S5得到的最优噪声协方差矩阵,使用无迹卡尔曼滤波算法,通过S2得到的开路电压估计值对电池状态进行估计,得到当前开路电压估计值;然后通过S4得到的锂电池开路电压与SOC的关系,输出当前开路电压估计值对应的SOC估计值;S6. Using the optimal noise covariance matrix obtained in S5, using the unscented Kalman filter algorithm, the battery state is estimated by the open circuit voltage estimated value obtained by S2, and the current open circuit voltage estimated value is obtained; then the lithium battery is open circuit obtained through S4. The relationship between voltage and SOC, and output the estimated SOC value corresponding to the estimated value of the current open-circuit voltage; 所述的S5具体为:The S5 is specifically: 5-1、选择染色体编码方式,按照所选编码方式随机生成初始种群;5-1. Select the chromosome encoding method, and randomly generate the initial population according to the selected encoding method; 5-2、判断是否满足收敛条件,判断是否达到迭代次数,若满足执行5-6,不满足执行步骤5-3;5-2. Determine whether the convergence conditions are met, and whether the number of iterations is reached. If it is satisfied, execute 5-6, but not execute step 5-3; 5-3、使用逆二分法选择交叉个体:5-3. Use inverse dichotomy to select crossover individuals: 将染色体集合内的n个个体随机均分至n/2个集合内;对集合内部的染色体进行交叉操作产生子代染色体;随机选择两个子代染色体集合进行结合,生成n/4个结合,并标记各染色体来自哪个集合;对集合内部来自不同集合的染色体进行配对交叉操作;随机选择两个子代染色体集合进行结合,生成n/8个结合,并标记各染色体来自哪个集合;按照前述操作不断进行,直至最后合并为一个集合;The n individuals in the chromosome set are randomly divided into n/2 sets; the chromosomes in the set are crossed to generate daughter chromosomes; the two daughter chromosome sets are randomly selected for combination to generate n/4 combinations, and Mark which set each chromosome comes from; perform paired crossover operations on chromosomes from different sets within the set; randomly select two progeny chromosome sets to combine to generate n/8 combinations, and mark which set each chromosome comes from; continue to follow the aforementioned operations , until finally merged into a set; 5-4、利用改进的交叉概率算法对所选交叉个体进行交叉操作:5-4. Use the improved crossover probability algorithm to perform the crossover operation on the selected crossover individuals:
Figure FDA0003739381380000011
Figure FDA0003739381380000011
其中,Pe0为基准交叉概率,根据实际情况在0.85~0.95之间取值;Fbest为当前种群中最优个体适应度值;
Figure FDA0003739381380000012
为当前种群平均适应度值;F为进入交叉配对操作个体的适应度值;
Among them, P e0 is the reference crossover probability, which is between 0.85 and 0.95 according to the actual situation; F best is the optimal individual fitness value in the current population;
Figure FDA0003739381380000012
is the average fitness value of the current population; F is the fitness value of the individual entering the cross-pairing operation;
5-5、选择变异,返回5-2;5-5. Select mutation and return to 5-2; 5-6、输出最优解。5-6. Output the optimal solution.
2.根据权利要求1所述的基于改进遗传无迹卡尔曼滤波的车载锂电池状态估计方法,其特征在于:所述的S1具体包括:2. the vehicle-mounted lithium battery state estimation method based on improved genetic unscented Kalman filtering according to claim 1, is characterized in that: described S1 specifically comprises: 选取一致性相同的车载锂电池组在常温下,进行充放电实验,选取锂电池的平均电压值作为有效数据;Select vehicle-mounted lithium battery packs with the same consistency to perform charge and discharge experiments at room temperature, and select the average voltage value of lithium batteries as valid data; 防止锂电池过放电,设置放电截止电压;To prevent over-discharge of lithium batteries, set the discharge cut-off voltage; 设置锂电池恒流放电倍率,并以固定采样周期对锂电池的开路电压、电流进行采样。Set the constant current discharge rate of the lithium battery, and sample the open circuit voltage and current of the lithium battery with a fixed sampling period. 3.根据权利要求1所述的基于改进遗传无迹卡尔曼滤波的车载锂电池状态估计方法,其特征在于:所述的S3具体为:3. the vehicle-mounted lithium battery state estimation method based on improved genetic unscented Kalman filtering according to claim 1, is characterized in that: described S3 is specifically: 3-1、根据锂电池的二阶RC等效电路模型,由基尔霍夫定律得到系统传递函数;3-1. According to the second-order RC equivalent circuit model of the lithium battery, the system transfer function is obtained by Kirchhoff's law; 3-2、对传递函数进行双线性变换,在固定采样周期的条件下,选取状态方程和观测方程;3-2. Perform bilinear transformation on the transfer function, and select the state equation and the observation equation under the condition of a fixed sampling period; 3-3、通过卡尔曼滤波算法对状态变量进行在线估计,再利用z的逆变换得到二阶RC等效电路模型中各参数的辨识值。3-3. The state variables are estimated online by the Kalman filter algorithm, and then the inverse transformation of z is used to obtain the identification values of each parameter in the second-order RC equivalent circuit model. 4.根据权利要求1所述的基于改进遗传无迹卡尔曼滤波的车载锂电池状态估计方法,其特征在于:所述的S4具体为:4. the vehicle-mounted lithium battery state estimation method based on improved genetic unscented Kalman filtering according to claim 1, is characterized in that: described S4 is specifically: 4-1、将锂电池充分放/充电并静置一段时间;4-1. Fully discharge/charge the lithium battery and let it stand for a period of time; 4-2、再对锂电池进行等间隔恒流脉冲充/放电实验,每次脉冲实验后静置,并测量锂电池的端电压;4-2. Then carry out the constant current pulse charge/discharge experiment at equal intervals on the lithium battery, let it stand after each pulse experiment, and measure the terminal voltage of the lithium battery; 4-3、多次实验获取各阶段锂电池组的电压平均值;4-3. Obtain the average voltage of the lithium battery pack at each stage through multiple experiments; 4-4、通过实验获取一致性相同的锂电池组的电压平均值作为单个锂电池的开路电压,拟合函数。4-4. Obtain the average voltage of lithium battery packs with the same consistency through experiments as the open circuit voltage of a single lithium battery, and fit the function. 5.根据权利要求1所述的基于改进遗传无迹卡尔曼滤波的车载锂电池状态估计方法,其特征在于:所述的S6具体包括:5. the vehicle-mounted lithium battery state estimation method based on improved genetic unscented Kalman filtering according to claim 1, is characterized in that: described S6 specifically comprises: 6-1、对电池电化学过程分析,列出系统的状态方程和测量方程;6-1. Analyze the electrochemical process of the battery, and list the state equation and measurement equation of the system; 6-2、各状态量初始值计算;6-2. Calculation of initial value of each state quantity; 6-3、建立Sigma点;6-3. Establish Sigma point; 6-4、更新状态方程;6-4. Update the state equation; 6-5、更新测量方程;6-5. Update the measurement equation; 6-6、重复上述步骤6-2至6-5。6-6. Repeat steps 6-2 to 6-5 above.
CN201910317198.9A 2019-04-19 2019-04-19 Vehicle-mounted lithium battery state estimation method based on improved genetic unscented Kalman filtering Active CN111856282B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910317198.9A CN111856282B (en) 2019-04-19 2019-04-19 Vehicle-mounted lithium battery state estimation method based on improved genetic unscented Kalman filtering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910317198.9A CN111856282B (en) 2019-04-19 2019-04-19 Vehicle-mounted lithium battery state estimation method based on improved genetic unscented Kalman filtering

Publications (2)

Publication Number Publication Date
CN111856282A CN111856282A (en) 2020-10-30
CN111856282B true CN111856282B (en) 2022-08-26

Family

ID=72951916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910317198.9A Active CN111856282B (en) 2019-04-19 2019-04-19 Vehicle-mounted lithium battery state estimation method based on improved genetic unscented Kalman filtering

Country Status (1)

Country Link
CN (1) CN111856282B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112710939A (en) * 2020-12-18 2021-04-27 电子科技大学 Dynamic stability performance evaluation method of power device
CN115128464B (en) * 2021-03-29 2024-08-09 广汽埃安新能源汽车有限公司 SOC dynamic estimation method, battery management system and automobile
CN113138344B (en) * 2021-04-23 2024-03-05 安徽理工大学 SOC estimation method based on fractional order extended Kalman filtering algorithm
CN113381700B (en) * 2021-06-29 2024-01-30 哈尔滨工业大学 RC parameter design method of high-frequency passive RC integral amplifier
CN113630105B (en) * 2021-07-26 2024-10-29 珠海格力电器股份有限公司 Filtering method and device for output pulse signal of encoder and encoder
CN116203432B (en) * 2023-03-23 2023-10-20 广东工业大学 Method for predicting battery state of charge based on CSO optimized unscented Kalman filter
CN116699415B (en) * 2023-05-26 2024-06-11 云储新能源科技有限公司 Method and system for estimating electric quantity of dynamic reconfigurable battery system and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3050278B1 (en) * 2016-04-15 2018-03-30 Saft METHOD FOR DETERMINING THE VALUE OF PARAMETERS RELATING TO THE STATUS OF AN BATTERY BATTERY BATTERY BATTERY AND ELECTRONIC BATTERY MANAGEMENT SYSTEM
CN106019164A (en) * 2016-07-07 2016-10-12 武汉理工大学 Lithium battery SOC estimation algorithm based on dual adaptive unscented Kalman filter
KR20180084358A (en) * 2017-01-17 2018-07-25 삼성전자주식회사 Method and apparatus for estimating state of battery
CN107390127A (en) * 2017-07-11 2017-11-24 欣旺达电动汽车电池有限公司 A kind of SOC estimation method
CN108872873A (en) * 2018-06-29 2018-11-23 长沙理工大学 A kind of lithium iron phosphate dynamic battery state-of-charge joint estimate method based on GA-AUKF

Also Published As

Publication number Publication date
CN111856282A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN111856282B (en) Vehicle-mounted lithium battery state estimation method based on improved genetic unscented Kalman filtering
Wang et al. State of charge estimation for LiFePO4 battery via dual extended kalman filter and charging voltage curve
CN106918789B (en) A kind of SOC-SOH combines online real-time estimation and on-line amending method
CN112615075B (en) Battery quick charging method and computer equipment
CN104678316B (en) Method and device for estimating state of charge of lithium-ion battery
CN107121643B (en) Lithium-ion battery state of health joint estimation method
CN113625174B (en) Lithium ion battery SOC and capacity joint estimation method
CN107533105B (en) Lithium-ion battery state of charge estimation method and device
CN108732508B (en) A real-time estimation method of lithium-ion battery capacity
CN103901351B (en) A kind of monomer lithium ion battery SOC method of estimation based on sliding window filtering
CN110515011A (en) An accurate estimation method of SOC of lithium-ion power battery
CN105425153B (en) A kind of method of the state-of-charge for the electrokinetic cell for estimating electric vehicle
CN112989690B (en) Multi-time-scale state-of-charge estimation method for lithium battery of hybrid electric vehicle
CN109839599B (en) Lithium-ion battery SOC estimation method based on second-order EKF algorithm
CN113608126B (en) An online SOC prediction method for lithium batteries at different temperatures
CN115656848A (en) Lithium battery SOC estimation method based on capacity correction
CN113484771A (en) Method for estimating wide-temperature full-life SOC and capacity of lithium ion battery
CN115494400B (en) Lithium battery lithium separation state online monitoring method based on ensemble learning
CN111781503A (en) A method for online estimation of SOC of lithium-ion energy storage battery
CN114740385A (en) Self-adaptive lithium ion battery state of charge estimation method
CN115219918A (en) A Lithium-ion Battery Life Prediction Method Based on Capacity Decay Combination Model
CN114720881A (en) Lithium battery parameter identification method based on improved initial value forgetting factor recursive least square method
CN114152826A (en) A method for detecting short circuit in a lithium ion battery cell
CN113985292B (en) Lithium ion power battery SOC double-filter estimation method based on improved coupling mode
Kim et al. Design of State of Charge and Health Estimation for Li-ion Battery Management System

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