[go: up one dir, main page]

CN110658459A - Lithium ion battery state of charge estimation method based on bidirectional cyclic neural network - Google Patents

Lithium ion battery state of charge estimation method based on bidirectional cyclic neural network Download PDF

Info

Publication number
CN110658459A
CN110658459A CN201910862338.0A CN201910862338A CN110658459A CN 110658459 A CN110658459 A CN 110658459A CN 201910862338 A CN201910862338 A CN 201910862338A CN 110658459 A CN110658459 A CN 110658459A
Authority
CN
China
Prior art keywords
battery
data
value
neural network
charge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910862338.0A
Other languages
Chinese (zh)
Other versions
CN110658459B (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.)
Beihang University
Original Assignee
Beijing University of Aeronautics and Astronautics
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 Beijing University of Aeronautics and Astronautics filed Critical Beijing University of Aeronautics and Astronautics
Priority to CN201910862338.0A priority Critical patent/CN110658459B/en
Publication of CN110658459A publication Critical patent/CN110658459A/en
Application granted granted Critical
Publication of CN110658459B publication Critical patent/CN110658459B/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/382Arrangements for monitoring battery or accumulator variables, e.g. SoC
    • G01R31/3842Arrangements for monitoring battery or accumulator variables, e.g. SoC combining voltage and current measurements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Secondary Cells (AREA)

Abstract

本发明公开了一种基于双向循环神经网络的锂离子电池荷电状态估计方法,利用锂离子电池实时产生的数据,使用训练好的双向循环神经网络,得到锂离子电池实时的荷电状态值,双向循环神经网络在训练完成之后,可以对荷电状态值进行实时估计,十分便捷,双向循环神经网络考虑时间序列数据的特性,利用当前结果之前和之后的数据,适用于锂离子电池荷电状态值估计领域。本发明属于数据驱动的方法,不需要冗繁的电化学相关知识,能够有效提取锂离子电池的历史数据,对锂离子电池放电特性进行建模,获得精准的荷电状态估计,并且,能够处理有着大量数据的复杂非线性系统,不需要电池领域的信息,只需要锂离子电池的历史数据。

Figure 201910862338

The invention discloses a method for estimating the state of charge of a lithium ion battery based on a bidirectional cyclic neural network. The real-time state of charge value of the lithium ion battery is obtained by using the data generated in real time by the lithium ion battery and the trained bidirectional cyclic neural network. After the training of the bidirectional recurrent neural network is completed, the state of charge value can be estimated in real time, which is very convenient. The bidirectional recurrent neural network considers the characteristics of time series data and uses the data before and after the current result, which is suitable for the state of charge of lithium-ion batteries. value estimation field. The invention belongs to a data-driven method, does not require complicated electrochemical knowledge, can effectively extract historical data of lithium ion batteries, model the discharge characteristics of lithium ion batteries, obtain accurate state of charge estimation, and can process A complex nonlinear system with a large amount of data does not require information in the battery field, but only requires historical data of lithium-ion batteries.

Figure 201910862338

Description

基于双向循环神经网络的锂离子电池荷电状态估计方法State-of-charge estimation method for lithium-ion battery based on bidirectional recurrent neural network

技术领域technical field

本发明涉及电池管理系统和深度学习技术领域,尤其涉及一种基于双向循环神经网络的锂离子电池荷电状态估计方法。The invention relates to the technical field of battery management systems and deep learning, in particular to a method for estimating the state of charge of a lithium ion battery based on a bidirectional cyclic neural network.

背景技术Background technique

锂离子电池是目前发展最快、最有前途的电池技术。与传统的电池相比,锂离子电池具有重量轻、充电快、能量密度高、自放电率低以及使用寿命长等优点。Lithium-ion batteries are currently the fastest growing and most promising battery technology. Compared with traditional batteries, lithium-ion batteries have the advantages of light weight, fast charging, high energy density, low self-discharge rate, and long service life.

荷电状态(State of Charge,SOC),是电池监控的关键状态之一,其定义是电池的剩余容量占其最大容量的百分比。可靠的SOC估计可以精准地判断电池当前的状态,预防可能出现的危险,确保电池安全稳定地工作。然而,由于锂离子电池SOC的非线性和时变特性,不能直接观察到SOC值,加上电池放电特性容易受到电池老化、温度变化等因素影响,使得SOC估计具有挑战性。State of Charge (SOC), one of the key states of battery monitoring, is defined as the percentage of the battery's remaining capacity to its maximum capacity. Reliable SOC estimation can accurately judge the current state of the battery, prevent possible dangers, and ensure the safe and stable operation of the battery. However, due to the nonlinear and time-varying characteristics of the SOC of Li-ion batteries, the SOC value cannot be directly observed, and the battery discharge characteristics are easily affected by factors such as battery aging and temperature changes, making SOC estimation challenging.

电池SOC估计方法主要分为两类,一类是基于电池本身特性的SOC估计方法,另一类是数据驱动的SOC估计方法。后者近两年来引起人们极大关注,它完全不需要依靠传统电池领域的电化学方法,只需要电池充放电的历史数据,从中学习出电池特征和SOC值端到端的映射关系。该类方法主要以支持向量机和神经网络为主,特别是神经网络,由于其具有强大的数据拟合能力,能够处理很大数量级的数据,因此,已经在电池SOC预测领域取得很好的效果。Battery SOC estimation methods are mainly divided into two categories, one is the SOC estimation method based on the characteristics of the battery itself, and the other is the data-driven SOC estimation method. The latter has attracted great attention in the past two years. It does not need to rely on the electrochemical methods in the traditional battery field at all, but only needs the historical data of battery charge and discharge, from which the end-to-end mapping relationship between battery characteristics and SOC values can be learned. This kind of method is mainly based on support vector machine and neural network, especially neural network. Because of its strong data fitting ability and can handle a large order of data, it has achieved good results in the field of battery SOC prediction. .

例如,最简单的全连接神经网络,能够抓住输出和输入的非线性关系,将手动选择的电池特征作为全连接神经网络的输入,将电池SOC值作为全连接神经网络的输出,全连接神经网络能够很好地拟合这层关系,所获得的效果已经超过支持向量机。然而,全连接神经网络只是单纯地抓住输入与输出的关系,其在电池SOC预测领域取得的效果仍有待提升。For example, the simplest fully-connected neural network can capture the nonlinear relationship between output and input, take manually selected battery features as the input of the fully-connected neural network, and use the battery SOC value as the output of the fully-connected neural network. The network can fit this relationship well, and the effect obtained has exceeded the support vector machine. However, the fully connected neural network simply grasps the relationship between input and output, and its effect in the field of battery SOC prediction still needs to be improved.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明提供了一种基于双向循环神经网络的锂离子电池荷电状态估计方法,用以实现对锂离子电池荷电状态进行精准估计。In view of this, the present invention provides a method for estimating the state of charge of a lithium ion battery based on a bidirectional cyclic neural network, so as to realize accurate estimation of the state of charge of the lithium ion battery.

因此,本发明提供了一种基于双向循环神经网络的锂离子电池荷电状态估计方法,包括如下步骤:Therefore, the present invention provides a method for estimating the state of charge of a lithium ion battery based on a bidirectional cyclic neural network, comprising the following steps:

S1:获取锂离子电池当前时刻的电池电压值、电池电流值和电池表面温度值;S1: Obtain the battery voltage value, battery current value and battery surface temperature value of the lithium-ion battery at the current moment;

S2:对获取的当前时刻的数据进行数据采样处理、数据标准化处理以及数据维度变更处理;S2: perform data sampling processing, data standardization processing and data dimension change processing on the acquired data at the current moment;

S3:将处理后的当前时刻的数据输入训练好的双向循环神经网络,得到锂离子电池当前时刻的荷电状态值。S3: Input the processed data at the current moment into the trained bidirectional recurrent neural network to obtain the state of charge value of the lithium-ion battery at the current moment.

在一种可能的实现方式中,在本发明提供的上述锂离子电池荷电状态估计方法中,所述双向循环神经网络的训练过程,包括如下步骤:In a possible implementation manner, in the above-mentioned method for estimating the state of charge of a lithium-ion battery provided by the present invention, the training process of the bidirectional recurrent neural network includes the following steps:

S11:人工选择输入到所述双向循环神经网络的特征,包括电池电压值、电池电流值和电池表面温度值;S11: Manually select the features input to the bidirectional recurrent neural network, including battery voltage value, battery current value and battery surface temperature value;

S12:在不同工况下,采集电池电压值、电池电流值、电池表面温度值和荷电状态值;S12: Collect battery voltage value, battery current value, battery surface temperature value and state of charge value under different working conditions;

S13:对采集的电池电压值、电池电流值、电池表面温度值和荷电状态值进行数据采样处理,对数据采样处理后的电池电压值、电池电流值和电池表面温度值进行数据标准化处理和数据维度变更处理;S13: Perform data sampling processing on the collected battery voltage value, battery current value, battery surface temperature value and state-of-charge value, and perform data standardization processing on the battery voltage value, battery current value and battery surface temperature value after data sampling processing. Data dimension change processing;

S14:初始化所述双向循环神经网络,将处理后的电池电压值、电池电流值和电池表面温度值中与待测数据为同一工况下的数据输入初始化后的双向循环神经网络,利用基于时间的后向传播算法进行训练,不断调整网络超参数,得到训练好的双向循环神经网络。S14: Initialize the bidirectional cyclic neural network, input the processed data of the battery voltage value, battery current value and battery surface temperature value under the same working condition as the data to be measured into the initialized bidirectional cyclic neural network, and use the time-based The back-propagation algorithm is used for training, and the network hyperparameters are continuously adjusted to obtain a trained bidirectional recurrent neural network.

在一种可能的实现方式中,在本发明提供的上述锂离子电池荷电状态估计方法中,步骤S13,对采集的电池电压值、电池电流值、电池表面温度值和荷电状态值进行数据采样处理,对数据采样处理后的电池电压值、电池电流值和电池表面温度值进行数据标准化处理和数据维度变更处理,具体包括如下步骤:In a possible implementation manner, in the above-mentioned method for estimating the state of charge of a lithium-ion battery provided by the present invention, step S13 is to perform data analysis on the collected battery voltage value, battery current value, battery surface temperature value and state of charge value. Sampling processing, performing data standardization processing and data dimension change processing on the battery voltage value, battery current value and battery surface temperature value after data sampling processing, which specifically includes the following steps:

S131:在不同工况下,重新对电池电压值、电池电流值、电池表面温度值和荷电状态值进行采样,并将数据间隔设为1s产生一个数据点;S131: Under different working conditions, re-sample the battery voltage value, battery current value, battery surface temperature value and state of charge value, and set the data interval to 1s to generate a data point;

S132:对重新采样后的电池电压值、电池电流值和电池表面温度值进行标准化处理,使电池电压值、电池电流值和电池表面温度值均分布在[0,1]区间内,标准化处理的公式为:S132: Standardize the resampled battery voltage value, battery current value and battery surface temperature value, so that the battery voltage value, battery current value and battery surface temperature value are all distributed in the [0,1] interval. The formula is:

Figure BDA0002200172290000031
Figure BDA0002200172290000031

其中,D表示电池电压值、电池电流值和电池表面温度值中的任意一个,Dt表示t时刻的数据,Dmin表示最小的数据点,Dmax表示最大的数据点;Among them, D represents any one of the battery voltage value, battery current value and battery surface temperature value, D t represents the data at time t, D min represents the smallest data point, and D max represents the largest data point;

S133:对标准化处理后的电池电压值、电池电流值和电池表面温度值进行维度变更处理,将标准化处理后的数据中每个时间点的电池电压值、电池电流值和电池表面温度值连接为向量[V,I,T],将k个时间步的数据点连接为所述双向循环神经网络的一个样本输入数据[[Vt,It,Tt],[Vt+1,It+1,Tt+1],……,[Vt+k-1,It+k-1,Tt+k-1]],最终得到所有样本输入数据[样本数,时间步,特征数]。S133: Perform dimension change processing on the battery voltage value, battery current value and battery surface temperature value after the normalization process, and connect the battery voltage value, battery current value and battery surface temperature value at each time point in the normalized data as Vector [V, I, T], connecting the data points of k time steps as a sample input data of the bidirectional recurrent neural network [[V t ,I t ,T t ],[V t+1 ,I t +1 ,T t+1 ],...,[V t+k-1 ,I t+k-1 ,T t+k-1 ]], and finally get all sample input data [sample number, time step, feature number].

在一种可能的实现方式中,在本发明提供的上述锂离子电池荷电状态估计方法中,步骤S14,初始化所述双向循环神经网络,将处理后的电池电压值、电池电流值和电池表面温度值中与待测数据为同一工况下的数据输入初始化后的双向循环神经网络,利用基于时间的后向传播算法进行训练,不断调整网络超参数,得到训练好的双向循环神经网络,具体包括如下步骤:In a possible implementation manner, in the above-mentioned method for estimating the state of charge of a lithium-ion battery provided by the present invention, in step S14, the bidirectional recurrent neural network is initialized, and the processed battery voltage value, battery current value and battery surface The temperature value and the data to be measured are the data input under the same working conditions as the initialized bidirectional recurrent neural network, and the time-based back propagation algorithm is used for training, and the network hyperparameters are continuously adjusted to obtain the trained bidirectional recurrent neural network. It includes the following steps:

S141:初始化所述双向循环神经网络的各参数值,将各参数值随机设置为[0,1]区间的任一数值;S141: Initialize each parameter value of the bidirectional cyclic neural network, and randomly set each parameter value to any value in the [0,1] interval;

S142:将所有样本输入数据[样本数,时间步,特征数]输入所述双向循环神经网络,经过所述双向循环神经网络的前向传播,计算当前时刻荷电状态的预测值,计算当前时刻荷电状态的预测值与当前时刻荷电状态的真实值的距离,求得所有样本的荷电状态的预测值与荷电状态的真实值的距离,计算公式如下:S142: Input all sample input data [number of samples, time steps, number of features] into the bidirectional recurrent neural network, and through the forward propagation of the bidirectional recurrent neural network, calculate the predicted value of the state of charge at the current moment, and calculate the current moment The distance between the predicted value of the state of charge and the actual value of the state of charge at the current moment, to obtain the distance between the predicted value of the state of charge of all samples and the real value of the state of charge, the calculation formula is as follows:

Figure BDA0002200172290000041
Figure BDA0002200172290000041

其中,y表示荷电状态的真实值,

Figure BDA0002200172290000042
表示荷电状态的预测值,m表示样本数量,i表示样本序号;where y represents the true value of the state of charge,
Figure BDA0002200172290000042
Represents the predicted value of the state of charge, m represents the number of samples, and i represents the sample number;

S143:利用梯度下降和后向传播算法更新所述双向循环神经网络的各参数值;S143: Update each parameter value of the bidirectional recurrent neural network using gradient descent and backpropagation algorithms;

重复步骤S142~步骤S143,直至所述双向循环神经网络收敛,完成训练。Steps S142 to S143 are repeated until the bidirectional recurrent neural network converges, and the training is completed.

在一种可能的实现方式中,在本发明提供的上述锂离子电池荷电状态估计方法中,步骤S2,对获取的当前时刻的数据进行数据采样处理、数据标准化处理以及数据维度变更处理,具体包括如下步骤:In a possible implementation manner, in the above-mentioned method for estimating the state of charge of a lithium-ion battery provided by the present invention, in step S2, data sampling processing, data normalization processing and data dimension change processing are performed on the acquired data at the current moment. It includes the following steps:

S21:重新对电池电压值、电池电流值和电池表面温度值进行采样,并将数据间隔设为1s产生一个数据点;S21: Re-sample the battery voltage value, battery current value and battery surface temperature value, and set the data interval to 1s to generate a data point;

S22:对采样后的数据进行标准化处理,使电池电压值、电池电流值和电池表面温度值均分布在[0,1]区间内,标准化处理的公式为:S22: Standardize the sampled data, so that the battery voltage value, battery current value and battery surface temperature value are all distributed in the [0,1] interval. The formula for normalization is:

Figure BDA0002200172290000043
Figure BDA0002200172290000043

其中,D表示电池电压值、电池电流值和电池表面温度值中的任意一个,Dt表示t时刻的数据,Dmin表示最小的数据点,Dmax表示最大的数据点;Among them, D represents any one of the battery voltage value, battery current value and battery surface temperature value, D t represents the data at time t, D min represents the smallest data point, and D max represents the largest data point;

S23:对标准化处理后的数据进行维度变更处理,将标准化处理后的数据中每个时间点的电池电压值、电池电流值和电池表面温度值连接为向量[V,I,T],将k个时间步的数据点连接为所述双向循环神经网络的一个样本输入数据[[Vt,It,Tt],[Vt+1,It+1,Tt+1],……,[Vt+k-1,It+k-1,Tt+k-1]],最终得到所有样本输入数据[样本数,时间步,特征数]。S23: Perform dimension change processing on the normalized data, connect the battery voltage value, battery current value and battery surface temperature value at each time point in the normalized data as a vector [V, I, T], connect k The data points of the time steps are connected as a sample input data of the bidirectional recurrent neural network [[V t , I t , T t ], [V t+1 , I t+1 , T t+1 ],  … ,[V t+k-1 ,I t+k-1 ,T t+k-1 ]], and finally get all sample input data [sample number, time step, feature number].

本发明提供的上述锂离子电池荷电状态估计方法,利用锂离子电池实时产生的数据,使用训练好的双向循环神经网络模型,得到锂离子电池实时的荷电状态值,双向循环神经网络模型在训练完成之后,可以对荷电状态值进行实时估计,十分便捷,双向循环神经网络能够充分考虑时间序列数据的特性,利用当前结果之前的数据和当前结果之后的数据,其效果比单向循环神经网络的效果更精确,对锂离子电池荷电状态值的估计有着巨大潜力,非常适合应用于锂离子电池荷电状态值估计领域。本发明属于数据驱动的方法,不需要冗繁的电化学相关知识,完全从数据出发,能够有效提取锂离子电池的历史数据所表达的信息,对锂离子电池放电特性进行建模,获得精准的荷电状态估计结果,并且,能够处理有着大量数据的复杂非线性系统,不需要电池领域的信息,只需要锂离子电池的历史数据即可。The method for estimating the state of charge of the lithium ion battery provided by the present invention utilizes the data generated in real time by the lithium ion battery, and uses the trained bidirectional cyclic neural network model to obtain the real-time state of charge value of the lithium ion battery. The bidirectional cyclic neural network model is in After the training is completed, the state of charge value can be estimated in real time, which is very convenient. The two-way recurrent neural network can fully consider the characteristics of time series data, and use the data before the current result and the data after the current result, which is more effective than the one-way recurrent neural network. The effect of the network is more accurate, and the estimation of the state of charge of lithium-ion batteries has great potential, which is very suitable for the estimation of the state of charge of lithium-ion batteries. The invention belongs to a data-driven method, does not require complicated electrochemical-related knowledge, and completely starts from data, can effectively extract the information expressed by the historical data of the lithium ion battery, model the discharge characteristics of the lithium ion battery, and obtain accurate charge Electric state estimation results, and can process complex nonlinear systems with a large amount of data, do not need information in the battery field, only the historical data of lithium-ion batteries.

附图说明Description of drawings

图1为本发明提供的一种基于双向循环神经网络的锂离子电池荷电状态估计方法的流程图之一;1 is one of the flowcharts of a method for estimating the state of charge of a lithium ion battery based on a bidirectional cyclic neural network provided by the present invention;

图2为本发明提供的一种基于双向循环神经网络的锂离子电池荷电状态估计方法中双向循环神经网络的结构示意图;2 is a schematic structural diagram of a bidirectional cyclic neural network in a method for estimating the state of charge of a lithium ion battery based on a bidirectional cyclic neural network provided by the present invention;

图3为本发明提供的一种基于双向循环神经网络的锂离子电池荷电状态估计方法中双向循环神经网络训练过程的流程图之一;3 is one of the flow charts of the bidirectional cyclic neural network training process in a method for estimating the state of charge of a lithium ion battery based on a bidirectional cyclic neural network provided by the present invention;

图4为本发明提供的一种基于双向循环神经网络的锂离子电池荷电状态估计方法中双向循环神经网络训练过程的流程图之二;4 is the second flow chart of a bidirectional cyclic neural network training process in a method for estimating the state of charge of a lithium ion battery based on a bidirectional cyclic neural network provided by the present invention;

图5为本发明提供的一种基于双向循环神经网络的锂离子电池荷电状态估计方法中双向循环神经网络训练过程的流程图之三;5 is the third flowchart of the bidirectional cyclic neural network training process in a method for estimating the state of charge of a lithium ion battery based on a bidirectional cyclic neural network provided by the present invention;

图6为本发明提供的一种基于双向循环神经网络的锂离子电池荷电状态估计方法的流程图之二;6 is the second flowchart of a method for estimating the state of charge of a lithium-ion battery based on a bidirectional cyclic neural network provided by the present invention;

图7为本发明中双向循环神经网络应用于45℃条件下US06数据集的效果图;Fig. 7 is the effect diagram of applying the bidirectional recurrent neural network in the present invention to the US06 data set under the condition of 45°C;

图8为本发明中双向循环神经网络应用于45℃条件下US06数据集的平均绝对误差图;8 is a graph of the mean absolute error of the bidirectional recurrent neural network in the present invention applied to the US06 data set under the condition of 45°C;

图9为本发明中双向循环神经网络应用于45℃条件下BJDST数据集的效果图;Fig. 9 is the effect diagram of the bidirectional recurrent neural network of the present invention applied to the BJDST data set under the condition of 45°C;

图10为本发明中双向循环神经网络应用于45℃条件下BJDST数据集的平均绝对误差图。FIG. 10 is a graph of the mean absolute error of the bidirectional recurrent neural network of the present invention applied to the BJDST data set under the condition of 45°C.

具体实施方式Detailed ways

下面将结合本发明实施方式中的附图,对本发明实施方式中的技术方案进行清楚、完整的描述,显然,所描述的实施方式仅仅是作为例示,并非用于限制本发明。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are merely illustrative and not intended to limit the present invention.

本发明选用INR 18650-20R型号锂离子电池的数据集,该数据集是在0℃、25℃、45℃三个温度条件下采集的数据,在相同温度条件下分别对锂离子电池施加不同模拟汽车驾驶状态的负载,包括US06、FUDS、DST和BJSDT,锂离子电池的详细信息如表1所示,数据集的详细信息如表2所示。The present invention selects the data set of the INR 18650-20R type lithium ion battery, the data set is the data collected under three temperature conditions of 0°C, 25°C and 45°C, and different simulations are applied to the lithium ion battery under the same temperature conditions. The loads of the car driving state, including US06, FUDS, DST and BJSDT, the details of lithium-ion batteries are shown in Table 1, and the details of the dataset are shown in Table 2.

表1 INR 18650-20R锂离子电池具体参数Table 1 Specific parameters of INR 18650-20R lithium ion battery

Figure BDA0002200172290000061
Figure BDA0002200172290000061

表2 INR 18650-20R锂离子电池数据集Table 2 INR 18650-20R Li-ion battery dataset

Figure BDA0002200172290000071
Figure BDA0002200172290000071

其中,每个数据集都包含对锂离子电池的完全充电和完全放电过程,每个数据集下都有两个实验,一个是从锂离子电池容量剩余80%起施加模拟的负载至放电结束,另外一个是从电池容量剩余50%起施加模拟的负载至放电结束,将前者作为训练数据,后者作为实时数据来测试本发明的效果。Among them, each data set contains the full charging and full discharging process of the lithium-ion battery. There are two experiments under each data set. One is to apply a simulated load from the remaining 80% of the lithium-ion battery capacity to the end of discharge. The other is to apply a simulated load from the remaining 50% of the battery capacity to the end of discharge, using the former as training data and the latter as real-time data to test the effect of the present invention.

本发明提供的一种基于双向循环神经网络的锂离子电池荷电状态估计方法,如图1所示,包括如下步骤:A method for estimating the state of charge of a lithium ion battery based on a bidirectional cyclic neural network provided by the present invention, as shown in FIG. 1 , includes the following steps:

S1:获取锂离子电池当前时刻的电池电压值、电池电流值和电池表面温度值;S1: Obtain the battery voltage value, battery current value and battery surface temperature value of the lithium-ion battery at the current moment;

S2:对获取的当前时刻的数据进行数据采样处理、数据标准化处理以及数据维度变更处理;S2: perform data sampling processing, data standardization processing and data dimension change processing on the acquired data at the current moment;

S3:将处理后的当前时刻的数据输入训练好的双向循环神经网络,得到锂离子电池当前时刻的荷电状态值。S3: Input the processed data at the current moment into the trained bidirectional recurrent neural network to obtain the state of charge value of the lithium-ion battery at the current moment.

本发明提供的上述锂离子电池荷电状态估计方法,利用锂离子电池实时产生的数据,使用训练好的双向循环神经网络模型,得到锂离子电池实时的荷电状态值,双向循环神经网络模型在训练完成之后,可以对荷电状态值进行实时估计,十分便捷,双向循环神经网络能够充分考虑时间序列数据的特性,利用当前结果之前的数据和当前结果之后的数据,其效果比单向循环神经网络的效果更精确,对锂离子电池荷电状态值的估计有着巨大潜力,非常适合应用于锂离子电池荷电状态值估计领域。本发明属于数据驱动的方法,不需要冗繁的电化学相关知识,完全从数据出发,能够有效提取锂离子电池的历史数据所表达的信息,对锂离子电池放电特性进行建模,获得精准的荷电状态估计结果,并且,能够处理有着大量数据的复杂非线性系统,不需要电池领域的信息,只需要锂离子电池的历史数据即可。The method for estimating the state of charge of the lithium ion battery provided by the present invention utilizes the data generated in real time by the lithium ion battery, and uses the trained bidirectional cyclic neural network model to obtain the real-time state of charge value of the lithium ion battery. The bidirectional cyclic neural network model is in After the training is completed, the state of charge value can be estimated in real time, which is very convenient. The two-way recurrent neural network can fully consider the characteristics of time series data, and use the data before the current result and the data after the current result, which is more effective than the one-way recurrent neural network. The effect of the network is more accurate, and the estimation of the state of charge of lithium-ion batteries has great potential, which is very suitable for the estimation of the state of charge of lithium-ion batteries. The invention belongs to a data-driven method, does not require complicated electrochemical-related knowledge, and completely starts from data, can effectively extract the information expressed by the historical data of the lithium ion battery, model the discharge characteristics of the lithium ion battery, and obtain accurate charge Electric state estimation results, and can process complex nonlinear systems with a large amount of data, do not need information in the battery field, only the historical data of lithium-ion batteries.

在具体实施时,在本发明提供的上述锂离子电池荷电状态估计方法中,双向循环神经网络的具体结构可以为:输入层、隐藏层和输出层;其中,隐藏层采用双向的长短期记忆网络(Long Short-Term Memory,LSTM)层后面接上一层全连接层(Full Connection,FC);其中,双向LSTM结构可以叠加,即双向LSTM层可以包含若干个双向LSTM网络结构相互连接,具体结构如图2所示,图2中Xt、Xt+1…Xt+k为输入数据,Yt、Yt+1…Yt+k为输出数据。双向循环神经网络的具体参数配置因不同工况下的数据而不同,本发明以时间步设置为40-50,隐藏单元个数设置为64,双向LSTM结构堆叠两层为例进行说明。In a specific implementation, in the above-mentioned method for estimating the state of charge of a lithium-ion battery provided by the present invention, the specific structure of the bidirectional recurrent neural network may be: an input layer, a hidden layer and an output layer; wherein, the hidden layer adopts a bidirectional long short-term memory The network (Long Short-Term Memory, LSTM) layer is followed by a full connection layer (Full Connection, FC); among them, the bidirectional LSTM structure can be superimposed, that is, the bidirectional LSTM layer can include several bidirectional LSTM network structures connected to each other. The structure is shown in Figure 2. In Figure 2, X t , X t+1 ...X t+k are input data, and Y t , Y t+1 ...Y t+k are output data. The specific parameter configuration of the bidirectional cyclic neural network is different due to the data under different working conditions. The present invention takes the time step as 40-50, the number of hidden units as 64, and the bidirectional LSTM structure stacking two layers as an example to illustrate.

在具体实施时,在本发明提供的上述锂离子电池荷电状态估计方法中,训练好的双向循环神经网络,可以利用锂离子电池的历史数据,使用双向循环神经网络训练得到,具体地,双向循环神经网络的训练过程,如图3所示,可以包括如下步骤:During specific implementation, in the above-mentioned method for estimating the state of charge of a lithium-ion battery provided by the present invention, the trained bidirectional cyclic neural network can be obtained by using the historical data of the lithium-ion battery and using bidirectional cyclic neural network training. The training process of the recurrent neural network, as shown in Figure 3, can include the following steps:

S11:人工选择输入到双向循环神经网络的特征,包括电池电压值、电池电流值和电池表面温度值;S11: Manually select the features input to the bidirectional recurrent neural network, including battery voltage value, battery current value and battery surface temperature value;

S12:在不同工况下,采集电池电压值、电池电流值、电池表面温度值和荷电状态值;S12: Collect battery voltage value, battery current value, battery surface temperature value and state of charge value under different working conditions;

具体地,不同工况可以包括不同温度、不同负载等条件;电池电压值、电池电流值、电池表面温度值和荷电状态值的采集需要分别使用专用设备进行采集;Specifically, different working conditions may include different temperatures, different loads and other conditions; the collection of battery voltage value, battery current value, battery surface temperature value and state of charge value needs to be collected using special equipment respectively;

S13:对采集的电池电压值、电池电流值、电池表面温度值和荷电状态值进行数据采样处理,对数据采样处理后的电池电压值、电池电流值和电池表面温度值进行数据标准化处理和数据维度变更处理;这样,处理后的数据能够直接输入双向循环神经网络进行训练;S13: Perform data sampling processing on the collected battery voltage value, battery current value, battery surface temperature value and state-of-charge value, and perform data standardization processing on the battery voltage value, battery current value and battery surface temperature value after data sampling processing. Data dimension change processing; in this way, the processed data can be directly input into the bidirectional recurrent neural network for training;

S14:初始化双向循环神经网络,将处理后的电池电压值、电池电流值和电池表面温度值中与待测数据为同一工况下的数据输入初始化后的双向循环神经网络,利用基于时间的后向传播算法进行训练,不断调整网络超参数,得到训练好的双向循环神经网络。S14: Initialize the bidirectional cyclic neural network, input the processed battery voltage value, battery current value and battery surface temperature value under the same working conditions as the data to be measured into the initialized bidirectional cyclic neural network, and use the time-based post-processing The propagation algorithm is trained, and the network hyperparameters are continuously adjusted to obtain a trained bidirectional recurrent neural network.

在具体实施时,在本发明提供的上述锂离子电池荷电状态估计方法中,步骤S13,对采集的电池电压值、电池电流值、电池表面温度值和荷电状态值进行数据采样处理,对数据采样处理后的电池电压值、电池电流值和电池表面温度值进行数据标准化处理和数据维度变更处理,如图4所示,具体可以包括如下步骤:In a specific implementation, in the above-mentioned method for estimating the state of charge of a lithium-ion battery provided by the present invention, in step S13, data sampling processing is performed on the collected battery voltage value, battery current value, battery surface temperature value and state of charge value, and the The battery voltage value, battery current value and battery surface temperature value after data sampling processing are subjected to data standardization processing and data dimension change processing, as shown in Figure 4, which may specifically include the following steps:

S131:在不同工况下,重新对电池电压值、电池电流值、电池表面温度值和荷电状态值进行采样,并将数据间隔设为1s产生一个数据点;S131: Under different working conditions, re-sample the battery voltage value, battery current value, battery surface temperature value and state of charge value, and set the data interval to 1s to generate a data point;

S132:对重新采样后的电池电压值、电池电流值和电池表面温度值进行标准化处理,使电池电压值、电池电流值和电池表面温度值均分布在[0,1]区间内,标准化处理的公式为:S132: Standardize the resampled battery voltage value, battery current value and battery surface temperature value, so that the battery voltage value, battery current value and battery surface temperature value are all distributed in the [0,1] interval. The formula is:

Figure BDA0002200172290000091
Figure BDA0002200172290000091

其中,D表示电池电压值、电池电流值和电池表面温度值中的任意一个,Dt表示t时刻的数据,Dmin表示最小的数据点,Dmax表示最大的数据点;Among them, D represents any one of the battery voltage value, battery current value and battery surface temperature value, D t represents the data at time t, D min represents the smallest data point, and D max represents the largest data point;

具体地,将电池电压值、电池电流值和电池表面温度值分布在[0,1]区间内,有利于双向循环神经网络的训练;同时,还可以保留标准化的基准数值,以便在实时估计时采用同样的标准化方式,从而可以保证数据分布的一致性;Specifically, the battery voltage value, battery current value and battery surface temperature value are distributed in the [0,1] interval, which is beneficial to the training of the bidirectional recurrent neural network; at the same time, the standardized reference value can also be retained, so that when estimating in real time The same standardization method is adopted to ensure the consistency of data distribution;

S133:对标准化处理后的电池电压值、电池电流值和电池表面温度值进行维度变更处理,将标准化处理后的数据中每个时间点的电池电压值、电池电流值和电池表面温度值连接为向量[V,I,T],将k个时间步的数据点连接为双向循环神经网络的一个样本输入数据[[Vt,It,Tt],[Vt+1,It+1,Tt+1],……,[Vt+k-1,It+k-1,Tt+k-1]],最终得到所有样本输入数据[样本数,时间步,特征数],以便可以直接输入双向循环神经网络进行训练。S133: Perform dimension change processing on the battery voltage value, battery current value and battery surface temperature value after the normalization process, and connect the battery voltage value, battery current value and battery surface temperature value at each time point in the normalized data as A vector [V, I, T] connecting data points at k time steps as a sample input data for a bidirectional recurrent neural network [[V t ,I t ,T t ],[V t+1 ,I t+1 ,T t+1 ],...,[V t+k-1 ,I t+k-1 ,T t+k-1 ]], and finally get all sample input data [number of samples, time steps, number of features] , so that it can be directly fed into the bidirectional recurrent neural network for training.

在具体实施时,在本发明提供的上述锂离子电池荷电状态估计方法中,步骤S14,初始化双向循环神经网络,将处理后的电池电压值、电池电流值和电池表面温度值中与待测数据为同一工况下的数据输入初始化后的双向循环神经网络,利用基于时间的后向传播算法进行训练,不断调整网络超参数,得到训练好的双向循环神经网络,如图5所示,具体可以包括如下步骤:In specific implementation, in the above-mentioned method for estimating the state of charge of a lithium-ion battery provided by the present invention, step S14: initialize a bidirectional cyclic neural network, and compare the processed battery voltage value, battery current value and battery surface temperature value with the value to be measured. The data is the initialized bidirectional recurrent neural network with the data input under the same working conditions. The time-based back propagation algorithm is used for training, and the network hyperparameters are continuously adjusted to obtain the trained bidirectional recurrent neural network, as shown in Figure 5. The specific Can include the following steps:

S141:初始化双向循环神经网络的各参数值,将各参数值随机设置为[0,1]区间的任一数值;S141: Initialize each parameter value of the bidirectional cyclic neural network, and randomly set each parameter value to any value in the [0,1] interval;

S142:将所有样本输入数据[样本数,时间步,特征数]输入双向循环神经网络,经过双向循环神经网络的前向传播,计算当前时刻荷电状态的预测值,计算当前时刻荷电状态的预测值与当前时刻荷电状态的真实值的距离,求得所有样本的荷电状态的预测值与荷电状态的真实值的距离,计算公式如下:S142: Input all sample input data [sample number, time step, feature number] into the bidirectional cyclic neural network, and through the forward propagation of the bidirectional cyclic neural network, calculate the predicted value of the state of charge at the current moment, and calculate the state of charge at the current moment. The distance between the predicted value and the real value of the state of charge at the current moment, to obtain the distance between the predicted value of the state of charge of all samples and the real value of the state of charge, the calculation formula is as follows:

Figure BDA0002200172290000101
Figure BDA0002200172290000101

其中,y表示荷电状态的真实值,

Figure BDA0002200172290000102
表示荷电状态的预测值,m表示样本数量,i表示样本序号;where y represents the true value of the state of charge,
Figure BDA0002200172290000102
Represents the predicted value of the state of charge, m represents the number of samples, and i represents the sample number;

具体地,计算当前时刻荷电状态的预测值与当前时刻荷电状态的真实值的距离,也就是做差求平方;当前时刻荷电状态的真实值即重新采样的荷电状态值;Specifically, the distance between the predicted value of the state of charge at the current moment and the real value of the state of charge at the current moment is calculated, that is, the difference is squared; the real value of the state of charge at the current moment is the resampled state of charge value;

S143:利用梯度下降和后向传播算法更新双向循环神经网络的各参数值;S143: Update each parameter value of the bidirectional recurrent neural network by using gradient descent and backpropagation algorithms;

重复步骤S142~步骤S143,直至双向循环神经网络收敛,完成训练。Steps S142 to S143 are repeated until the bidirectional recurrent neural network converges and the training is completed.

较佳地,为了加快双向循环神经网络的训练速度,提高双向循环神经网络的效果精度,可以采用Adam优化方法和mini-batch优化方法,batch的大小可以设置为128,在整个训练集合上的训练次数可以设置为2000次。Preferably, in order to speed up the training speed of the bidirectional recurrent neural network and improve the effect accuracy of the bidirectional recurrent neural network, the Adam optimization method and the mini-batch optimization method can be used, and the batch size can be set to 128. The number of times can be set to 2000 times.

在具体实施时,在本发明提供的上述锂离子电池荷电状态估计方法中,步骤S2,对获取的当前时刻的数据进行数据采样处理、数据标准化处理以及数据维度变更处理,如图6所示,具体可以包括如下步骤:In specific implementation, in the above-mentioned method for estimating the state of charge of a lithium-ion battery provided by the present invention, in step S2, data sampling processing, data normalization processing and data dimension change processing are performed on the acquired data at the current moment, as shown in FIG. 6 . , which may include the following steps:

S21:重新对电池电压值、电池电流值和电池表面温度值进行采样,并将数据间隔设为1s产生一个数据点;S21: Re-sample the battery voltage value, battery current value and battery surface temperature value, and set the data interval to 1s to generate a data point;

S22:对采样后的数据进行标准化处理,使电池电压值、电池电流值和电池表面温度值均分布在[0,1]区间内,标准化处理的公式为:S22: Standardize the sampled data, so that the battery voltage value, battery current value and battery surface temperature value are all distributed in the [0,1] interval. The formula for normalization is:

Figure BDA0002200172290000111
Figure BDA0002200172290000111

其中,D表示电池电压值、电池电流值和电池表面温度值中的任意一个,Dt表示t时刻的数据,Dmin表示最小的数据点,Dmax表示最大的数据点;Among them, D represents any one of the battery voltage value, battery current value and battery surface temperature value, D t represents the data at time t, D min represents the smallest data point, and D max represents the largest data point;

具体地,可以使用网络训练时保留的标准化的基准数值,这样,网络训练和实时估计可以采用同样的标准化方式,从而可以保证数据分布的一致性;Specifically, the standardized benchmark values retained during network training can be used, so that the same standardized method can be used for network training and real-time estimation, thereby ensuring the consistency of data distribution;

S23:对标准化处理后的数据进行维度变更处理,将标准化处理后的数据中每个时间点的电池电压值、电池电流值和电池表面温度值连接为向量[V,I,T],将k个时间步的数据点连接为双向循环神经网络的一个样本输入数据[[Vt,It,Tt],[Vt+1,It+1,Tt+1],……,[Vt+k-1,It+k-1,Tt+k-1]],最终得到所有样本输入数据[样本数,时间步,特征数]。综上,利用与网络训练时的历史数据相同的处理方法,对获取的当前时刻的数据进行处理,可以使输入到训练好的双向循环神经网络的数据的分布保持一致性,从而可以保证锂离子电池荷电状态估计的准确性。S23: Perform dimension change processing on the normalized data, connect the battery voltage value, battery current value and battery surface temperature value at each time point in the normalized data as a vector [V, I, T], connect k The data points of the time steps are connected as a sample input data of the bidirectional recurrent neural network [[V t ,I t ,T t ],[V t+1 ,I t+1 ,T t+1 ],…,[ V t+k-1 ,I t+k-1 ,T t+k-1 ]], and finally get all sample input data [number of samples, time steps, number of features]. In summary, using the same processing method as the historical data during network training to process the acquired data at the current moment, the distribution of the data input to the trained bidirectional recurrent neural network can be kept consistent, thereby ensuring lithium ion Accuracy of battery state-of-charge estimates.

表3中是在0℃、25℃、45℃三个温度条件下四个数据集US06、FUDS、DST和BJSDT的效果,评价标准是平均绝对误差(Mean Absolute Error,MAE)。Table 3 shows the effects of four data sets US06, FUDS, DST and BJSDT under three temperature conditions of 0°C, 25°C, and 45°C, and the evaluation standard is Mean Absolute Error (MAE).

表3三个温度条件下四个数据集的效果Table 3 Effects of four datasets under three temperature conditions

从表3中可以看出,本发明提供的上述锂离子电池荷电状态估计方法的效果极佳,在45℃和25℃条件下,四个数据集US06、FUDS、DST和BJDST的MAE值均小于1%,尤其是在45℃条件下,四个数据集US06、FUDS、DST和BJDST的MAE值均最小,效果最佳。如图7和图9所示,两个数据集US06和BJDST的SOC的预测值与真实值几乎重合,如图8和图10所示,两个数据集US06和BJDST的MAE值均小于1%,说明本发明提供的上述锂离子电池荷电状态估计方法在两个数据集US06和BJDST上的效果非常精准,这在实际应用中已经达到了相当高的标准,证明双向循环神经网络在锂离子电池SOC预测领域的适用性。It can be seen from Table 3 that the above-mentioned method for estimating the state of charge of lithium-ion batteries provided by the present invention has excellent effect. Less than 1%, especially at 45 °C, the MAE values of the four datasets US06, FUDS, DST and BJDST are all the smallest, and the effect is the best. As shown in Figures 7 and 9, the predicted values of the SOC of the two datasets US06 and BJDST almost coincide with the real values, as shown in Figures 8 and 10, the MAE values of the two datasets US06 and BJDST are both less than 1% , which shows that the above-mentioned lithium-ion battery state of charge estimation method provided by the present invention is very accurate on the two data sets US06 and BJDST, which has reached a very high standard in practical applications. Applicability in the field of battery SOC prediction.

本发明提供的上述锂离子电池荷电状态估计方法,利用锂离子电池实时产生的数据,使用训练好的双向循环神经网络模型,得到锂离子电池实时的荷电状态值,双向循环神经网络模型在训练完成之后,可以对荷电状态值进行实时估计,十分便捷,双向循环神经网络能够充分考虑时间序列数据的特性,利用当前结果之前的数据和当前结果之后的数据,其效果比单向循环神经网络的效果更精确,对锂离子电池荷电状态值的估计有着巨大潜力,非常适合应用于锂离子电池荷电状态值估计领域。本发明属于数据驱动的方法,不需要冗繁的电化学相关知识,完全从数据出发,能够有效提取锂离子电池的历史数据所表达的信息,对锂离子电池放电特性进行建模,获得精准的荷电状态估计结果,并且,能够处理有着大量数据的复杂非线性系统,不需要电池领域的信息,只需要锂离子电池的历史数据即可。The method for estimating the state of charge of the lithium ion battery provided by the present invention utilizes the data generated in real time by the lithium ion battery, and uses the trained bidirectional cyclic neural network model to obtain the real-time state of charge value of the lithium ion battery. The bidirectional cyclic neural network model is in After the training is completed, the state of charge value can be estimated in real time, which is very convenient. The two-way recurrent neural network can fully consider the characteristics of time series data, and use the data before the current result and the data after the current result, which is more effective than the one-way recurrent neural network. The effect of the network is more accurate, and the estimation of the state of charge of lithium-ion batteries has great potential, which is very suitable for the estimation of the state of charge of lithium-ion batteries. The invention belongs to a data-driven method, does not require complicated electrochemical-related knowledge, and completely starts from data, can effectively extract the information expressed by the historical data of the lithium ion battery, model the discharge characteristics of the lithium ion battery, and obtain accurate charge Electric state estimation results, and can process complex nonlinear systems with a large amount of data, do not need information in the battery field, only the historical data of lithium-ion batteries.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims (5)

1. A lithium ion battery state of charge estimation method based on a bidirectional cyclic neural network is characterized by comprising the following steps:
s1: acquiring a battery voltage value, a battery current value and a battery surface temperature value of the lithium ion battery at the current moment;
s2: performing data sampling processing, data standardization processing and data dimension change processing on the acquired data at the current moment;
s3: and inputting the processed data at the current moment into the trained bidirectional circulation neural network to obtain the charge state value of the lithium ion battery at the current moment.
2. The lithium ion battery state of charge estimation method of claim 1, wherein the training process of the bi-directional recurrent neural network comprises the steps of:
s11: manually selecting characteristics input to the bidirectional recurrent neural network, including a battery voltage value, a battery current value and a battery surface temperature value;
s12: under different working conditions, collecting a battery voltage value, a battery current value, a battery surface temperature value and a charge state value;
s13: carrying out data sampling processing on the acquired battery voltage value, battery current value, battery surface temperature value and state of charge value, and carrying out data standardization processing and data dimension change processing on the battery voltage value, battery current value and battery surface temperature value after the data sampling processing;
s14: initializing the bidirectional cyclic neural network, inputting data under the same working condition with the data to be measured in the processed battery voltage value, battery current value and battery surface temperature value into the initialized bidirectional cyclic neural network, training by utilizing a time-based back propagation algorithm, and continuously adjusting network hyper-parameters to obtain the trained bidirectional cyclic neural network.
3. The lithium ion battery state of charge estimation method of claim 2, wherein in step S13, the data sampling processing is performed on the collected battery voltage value, battery current value, battery surface temperature value and state of charge value, and the data standardization processing and data dimension change processing are performed on the battery voltage value, battery current value and battery surface temperature value after the data sampling processing, specifically comprising the following steps:
s131: under different working conditions, sampling the battery voltage value, the battery current value, the battery surface temperature value and the state of charge value again, and setting the data interval to be 1s to generate a data point;
s132: standardizing the battery voltage value, the battery current value and the battery surface temperature value after resampling to ensure that the battery voltage value, the battery current value and the battery surface temperature value are all distributed in a [0,1] interval, wherein the formula of the standardization is as follows:
Figure FDA0002200172280000021
wherein D represents any one of a battery voltage value, a battery current value and a battery surface temperature valuetData representing time t, DminRepresents the smallest data point, DmaxRepresents the largest data point;
s133: dimension change processing is carried out on the battery voltage value, the battery current value and the battery surface temperature value after the standardization processing, and the battery voltage value, the battery current value and the battery surface temperature value at each time point in the data after the standardization processing are connected as a vector [ V, I, T]Connecting the data points of k time steps as a sample input data [ V ] of the bidirectional cyclic neural networkt,It,Tt],[Vt+1,It+1,Tt+1],……,[Vt+k-1,It+k-1,Tt+k-1]]Finally obtaining all sample input data [ sample number, time step, characteristic number]。
4. The lithium ion battery state of charge estimation method of claim 3, wherein step S14, initializing the bidirectional cyclic neural network, inputting the data of the processed battery voltage value, battery current value and battery surface temperature value under the same working condition as the data to be measured into the initialized bidirectional cyclic neural network, training by using a time-based back propagation algorithm, and continuously adjusting network hyper-parameters to obtain the trained bidirectional cyclic neural network, specifically comprising the following steps:
s141: initializing each parameter value of the bidirectional cyclic neural network, and randomly setting each parameter value as any numerical value in an interval of [0,1 ];
s142: inputting all sample input data [ sample number, time step and characteristic number ] into the bidirectional circulation neural network, calculating a predicted value of the SOC at the current moment through forward propagation of the bidirectional circulation neural network, calculating the distance between the predicted value of the SOC at the current moment and the actual value of the SOC at the current moment, and solving the distance between the predicted value of the SOC and the actual value of the SOC of all samples, wherein the calculation formula is as follows:
Figure FDA0002200172280000031
where y represents the true value of the state of charge,representing a predicted value of the state of charge, m representing the number of samples, and i representing the serial number of the samples;
s143: updating each parameter value of the bidirectional cyclic neural network by using a gradient descent and back propagation algorithm;
and repeating the step S142 to the step S143 until the bidirectional circulation neural network is converged, and finishing the training.
5. The method for estimating the state of charge of the lithium ion battery according to any one of claims 1 to 4, wherein the step S2 is to perform data sampling processing, data normalization processing and data dimension change processing on the acquired data at the current time, and specifically includes the following steps:
s21: sampling the battery voltage value, the battery current value and the battery surface temperature value again, and setting the data interval to be 1s to generate a data point;
s22: carrying out standardization processing on the sampled data to enable the battery voltage value, the battery current value and the battery surface temperature value to be distributed in a [0,1] interval, wherein the formula of the standardization processing is as follows:
Figure FDA0002200172280000033
wherein D represents any one of a battery voltage value, a battery current value and a battery surface temperature valuetData representing time t, DminRepresents the smallest data point, DmaxRepresents the largest data point;
s23: performing dimension change processing on the normalized data, and connecting the battery voltage value, the battery current value and the battery surface temperature value of each time point in the normalized data into a vector [ V, I, T ]]Connecting the data points of k time steps as a sample input data [ V ] of the bidirectional cyclic neural networkt,It,Tt],[Vt+1,It+1,Tt+1],……,[Vt+k-1,It+k-1,Tt+k-1]]Finally obtaining all sample input data [ sample number, time step, characteristic number]。
CN201910862338.0A 2019-09-12 2019-09-12 State-of-charge estimation method for lithium-ion battery based on bidirectional recurrent neural network Active CN110658459B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910862338.0A CN110658459B (en) 2019-09-12 2019-09-12 State-of-charge estimation method for lithium-ion battery based on bidirectional recurrent neural network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910862338.0A CN110658459B (en) 2019-09-12 2019-09-12 State-of-charge estimation method for lithium-ion battery based on bidirectional recurrent neural network

Publications (2)

Publication Number Publication Date
CN110658459A true CN110658459A (en) 2020-01-07
CN110658459B CN110658459B (en) 2021-10-15

Family

ID=69037234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910862338.0A Active CN110658459B (en) 2019-09-12 2019-09-12 State-of-charge estimation method for lithium-ion battery based on bidirectional recurrent neural network

Country Status (1)

Country Link
CN (1) CN110658459B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111413622A (en) * 2020-04-03 2020-07-14 重庆大学 Lithium battery life prediction method based on stacking noise reduction automatic coding machine
CN111537888A (en) * 2020-05-09 2020-08-14 国网福建省电力有限公司莆田供电公司 A data-driven SOC prediction method for echelon batteries
CN112269134A (en) * 2020-09-10 2021-01-26 杭州电子科技大学 A joint estimation method of battery SOC and SOH based on deep learning
CN113391225A (en) * 2021-05-19 2021-09-14 北京航空航天大学 Lithium battery state-of-charge estimation method considering capacity degradation
CN114089190A (en) * 2021-11-11 2022-02-25 力高(山东)新能源技术有限公司 Battery SOC estimation method based on neural network
CN114966436A (en) * 2022-01-06 2022-08-30 湖北理工学院 Lithium battery state of charge prediction method, device, equipment and readable storage medium
CN115097296A (en) * 2022-06-22 2022-09-23 云南电网有限责任公司电力科学研究院 Relay reliability evaluation method and device
KR20230172958A (en) * 2022-06-16 2023-12-26 한국항공우주연구원 Apparatus and method for estimating the state of charge of a satellite battery in a satellite system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1890574A (en) * 2003-12-18 2007-01-03 株式会社Lg化学 Apparatus and method for estimating state of charge of battery using neural network
CN108519556A (en) * 2018-04-13 2018-09-11 重庆邮电大学 A Lithium-ion Battery SOC Prediction Method Based on Recurrent Neural Network
CN109143105A (en) * 2018-09-05 2019-01-04 上海海事大学 A kind of state-of-charge calculation method of lithium ion battery of electric automobile
CN109459699A (en) * 2018-12-25 2019-03-12 北京理工大学 A real-time monitoring method for SOC of lithium-ion power battery
KR101965832B1 (en) * 2017-11-27 2019-04-05 (주) 페스코 Battery SOC estimation system and battery SOC estimation method using the same
US20190157891A1 (en) * 2017-11-20 2019-05-23 The Trustees Of Columbia University In The City Of New York Neural-network state-of-charge estimation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1890574A (en) * 2003-12-18 2007-01-03 株式会社Lg化学 Apparatus and method for estimating state of charge of battery using neural network
US20190157891A1 (en) * 2017-11-20 2019-05-23 The Trustees Of Columbia University In The City Of New York Neural-network state-of-charge estimation
KR101965832B1 (en) * 2017-11-27 2019-04-05 (주) 페스코 Battery SOC estimation system and battery SOC estimation method using the same
CN108519556A (en) * 2018-04-13 2018-09-11 重庆邮电大学 A Lithium-ion Battery SOC Prediction Method Based on Recurrent Neural Network
CN109143105A (en) * 2018-09-05 2019-01-04 上海海事大学 A kind of state-of-charge calculation method of lithium ion battery of electric automobile
CN109459699A (en) * 2018-12-25 2019-03-12 北京理工大学 A real-time monitoring method for SOC of lithium-ion power battery

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111413622A (en) * 2020-04-03 2020-07-14 重庆大学 Lithium battery life prediction method based on stacking noise reduction automatic coding machine
CN111537888A (en) * 2020-05-09 2020-08-14 国网福建省电力有限公司莆田供电公司 A data-driven SOC prediction method for echelon batteries
CN112269134A (en) * 2020-09-10 2021-01-26 杭州电子科技大学 A joint estimation method of battery SOC and SOH based on deep learning
CN112269134B (en) * 2020-09-10 2022-12-02 杭州电子科技大学 A joint estimation method of battery SOC and SOH based on deep learning
CN113391225A (en) * 2021-05-19 2021-09-14 北京航空航天大学 Lithium battery state-of-charge estimation method considering capacity degradation
CN114089190A (en) * 2021-11-11 2022-02-25 力高(山东)新能源技术有限公司 Battery SOC estimation method based on neural network
CN114089190B (en) * 2021-11-11 2023-08-22 深圳力高新能技术有限公司 Battery SOC estimation method based on neural network
CN114966436A (en) * 2022-01-06 2022-08-30 湖北理工学院 Lithium battery state of charge prediction method, device, equipment and readable storage medium
KR20230172958A (en) * 2022-06-16 2023-12-26 한국항공우주연구원 Apparatus and method for estimating the state of charge of a satellite battery in a satellite system
KR102759357B1 (en) * 2022-06-16 2025-01-24 한국항공우주연구원 Apparatus and method for estimating the state of charge of a satellite battery in a satellite system
CN115097296A (en) * 2022-06-22 2022-09-23 云南电网有限责任公司电力科学研究院 Relay reliability evaluation method and device

Also Published As

Publication number Publication date
CN110658459B (en) 2021-10-15

Similar Documents

Publication Publication Date Title
CN110658459B (en) State-of-charge estimation method for lithium-ion battery based on bidirectional recurrent neural network
Chang et al. Lithium-ion battery state of health estimation using the incremental capacity and wavelet neural networks with genetic algorithm
CN110568361B (en) A method for predicting the state of health of a power battery
Zhang et al. State of health estimation method for lithium-ion batteries using incremental capacity and long short-term memory network
CN110457789B (en) Lithium ion battery residual life prediction method
CN112904219B (en) Big data-based power battery health state prediction method
CN104502858B (en) Electrokinetic cell SOC methods of estimation and system based on backward difference discrete model
CN107957562A (en) A kind of lithium ion battery residual life on-line prediction method
CN111323719A (en) A method and system for online determination of health status of electric vehicle power battery pack
CN110261779A (en) A kind of ternary lithium battery charge state cooperates with estimation method with health status online
CN110850298B (en) Data-driven SOH estimation method and system for lithium batteries
CN108519556A (en) A Lithium-ion Battery SOC Prediction Method Based on Recurrent Neural Network
CN113253116A (en) Lithium ion battery state of charge estimation method and storage medium
CN110888059A (en) An Algorithm Based on Improved Random Forest Combined Volumetric Kalman Power Battery State of Charge Estimation
CN116609676B (en) Method and system for monitoring state of hybrid energy storage battery based on big data processing
CN108445421A (en) A kind of health state of lithium ion battery On-line Estimation method of space-oriented application
CN110554324A (en) SOC and SOH joint estimation method
CN112782594B (en) A data-driven algorithm considering internal resistance to estimate the SOC of lithium batteries
CN112130086A (en) A method and system for predicting the remaining life of a power battery
CN112462288A (en) Lithium ion battery health state estimation method based on battery surface temperature change value
CN115372829A (en) A method for rapid assessment of vehicle battery health based on BMS data
CN109917299A (en) A three-layer filter estimation method for the state of charge of lithium batteries
CN115598535A (en) Battery state of charge estimation method and system considering state of health
Chen et al. A hybrid DNN-KF model for real-time SOC estimation of lithium-ion batteries under different ambient temperatures
CN114839552B (en) A battery SOH estimation method and device based on wasserstein distance

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