CN115329277A - A SOH Prediction Method for Retired Ni-MH Batteries - Google Patents

A SOH Prediction Method for Retired Ni-MH Batteries Download PDF

Info

Publication number
CN115329277A
CN115329277A CN202210950484.0A CN202210950484A CN115329277A CN 115329277 A CN115329277 A CN 115329277A CN 202210950484 A CN202210950484 A CN 202210950484A CN 115329277 A CN115329277 A CN 115329277A
Authority
CN
China
Prior art keywords
battery
data
soh
model
internal pressure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210950484.0A
Other languages
Chinese (zh)
Inventor
任文举
谢新宇
郑太雄
朱意霖
刘劲松
易源
黄溢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing University of Post and Telecommunications
Original Assignee
Chongqing University of Post and Telecommunications
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 Chongqing University of Post and Telecommunications filed Critical Chongqing University of Post and Telecommunications
Priority to CN202210950484.0A priority Critical patent/CN115329277A/en
Publication of CN115329277A publication Critical patent/CN115329277A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • G06N20/20Ensemble learning
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/4221Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells with battery type recognition
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/54Reclaiming serviceable parts of waste accumulators
    • 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
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Manufacturing & Machinery (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Mathematical Physics (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Algebra (AREA)
  • Databases & Information Systems (AREA)
  • Probability & Statistics with Applications (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Computing Systems (AREA)
  • Operations Research (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Secondary Cells (AREA)

Abstract

The invention relates to a method for predicting SOH of a movement-withdrawing nickel-metal hydride battery, belonging to the technical field of energy storage. Firstly, collecting data indexes related to battery capacity decline in a battery charging state, ensuring data validity through data cleaning, constructing characteristic values by taking battery internal resistance and battery maximum internal pressure as health factors, and forming a sample set by the health factors and battery capacitance together; optimizing a LightGBM algorithm through an improved adaptive loss function, and obtaining an optimal parameter combination by applying a Hyperopt hyper-parameter framework; loading the sample set into the optimized algorithm model for training; and (4) predicting the SOH by adopting the trained algorithm training model. By adopting the method, the SOH prediction efficiency and precision of the returned batteries can be improved, and the returned batteries can be efficiently and accurately classified by utilizing the echelon.

Description

一种退运动力镍氢电池的SOH预测方法A SOH prediction method for degraded power Ni-MH batteries

技术领域technical field

本发明属于储能技术领域,涉及一种退运动力镍氢电池的SOH预测方法。The invention belongs to the technical field of energy storage, and relates to an SOH prediction method of a degraded power nickel-hydrogen battery.

背景技术Background technique

SOH预测是退运电池梯次利用一个关键的步骤,根据退运电池当前的SOH决定电池的适用场景,其SOH预测准确性决定了电池通过筛选和重新配组的合理性。随着我国电动汽车动力电池的退役期的来临,电动汽车的退运电池数目巨大,传统的SOH测试方法耗时、耗力、耗材,因此,有必要发明针对大规模退运电池的SOH快速预测的方法,推动退运电池梯次利用领域的发展。SOH prediction is a key step in the cascade utilization of returned batteries. The current SOH of the returned batteries determines the applicable scenarios of the batteries, and the accuracy of the SOH prediction determines the rationality of the batteries passing through screening and reconfiguration. With the coming of the decommissioning period of electric vehicle power batteries in my country, the number of returned batteries for electric vehicles is huge, and the traditional SOH test method is time-consuming, labor-intensive, and consumable. Therefore, it is necessary to invent a rapid SOH prediction for large-scale returned batteries method to promote the development of the field of cascade utilization of returned batteries.

如今以电压、等压降时间等参数作为健康因子,应用SVM算法、遗传算法、LSTM神经网络等方法能够很好的应用,这些算法虽然能实现SOH的预测,但面对巨大数量的退运电池,它们无法准确且快速的给出预测结果。因此,对于退运电池快速且准确的预测,高效获取与SOH强相关的特征值是关键,其次选择一种合适的预测算法模型保证预测精度及运算速度也是必要的。Nowadays, parameters such as voltage and equal voltage drop time are used as health factors, and methods such as SVM algorithm, genetic algorithm, and LSTM neural network can be well applied. Although these algorithms can realize SOH prediction, they are faced with a huge number of returned batteries. , they cannot give accurate and fast prediction results. Therefore, for the rapid and accurate prediction of returned batteries, the key is to efficiently obtain the eigenvalues strongly correlated with SOH. Secondly, it is also necessary to select an appropriate prediction algorithm model to ensure the prediction accuracy and operation speed.

发明内容Contents of the invention

有鉴于此,本发明的目的在于提供一种退运动力镍氢电池的SOH预测方法,解决了传统SOH预测方法预测过程复杂、预测精度不够的问题,克服了一般机器学习需要大量训练集、计算量大、计算时间长、对计算机硬件要求高的问题,提高了算法的自适应性避免训练模型的过拟合。In view of this, the object of the present invention is to provide a SOH prediction method for deactivated nickel-metal hydride batteries, which solves the problems of complex prediction process and insufficient prediction accuracy of traditional SOH prediction methods, and overcomes the need for a large number of training sets and calculations for general machine learning. It improves the adaptability of the algorithm to avoid over-fitting of the training model.

为达到上述目的,本发明提供如下技术方案:To achieve the above object, the present invention provides the following technical solutions:

一种退运动力镍氢电池的SOH预测方法,该方法包括以下步骤:A method for predicting SOH of a retired power nickel-metal hydride battery, the method comprising the following steps:

S1:采集动力镍氢电池充电状态下电池容量、20%~80%电量状态的电池内阻、电池最大内压数据;S1: Collect the battery capacity of the power Ni-MH battery in the charging state, the battery internal resistance of the 20% to 80% power state, and the maximum internal pressure data of the battery;

S2:采用填充缺失值、删除异常值和归一化处理对采集数据进行清洗;S2: Clean the collected data by filling missing values, deleting outliers and normalizing;

S3:将电池内阻、电池最大内压共同构建健康因子,由健康因子作为特征值与之匹配的电池容量建立映射关系,形成样本库;S3: The internal resistance of the battery and the maximum internal pressure of the battery are used to construct the health factor, and the health factor is used as the characteristic value to establish a mapping relationship with the battery capacity that matches it to form a sample library;

S4:采用改进的LightGBM作为健康状态SOH预测主体算法;通过自适应损失函数改进原损失函数,降低数据离群值的影响;S4: Use the improved LightGBM as the main algorithm for SOH prediction of the health state; improve the original loss function through the adaptive loss function to reduce the influence of data outliers;

S5:使用超参数Hyperopt框架,构建模型参数空间、LightGBM模型工厂、分数获取器,实现高效的模型最优化调参;S5: Use the hyperparameter Hyperopt framework to build model parameter space, LightGBM model factory, and score acquirer to achieve efficient model optimization tuning;

S6:由步骤S5和S4建立模型框架,将步骤S2处理后的样本库导入模型训练;S6: Establish a model framework by steps S5 and S4, and import the sample library processed in step S2 into model training;

S7:将当前退运电池充电状态下的电池最大内压、电池内阻数据导入模型,快速预测电池容量。S7: Import the battery maximum internal pressure and battery internal resistance data into the model under the charging state of the currently returned battery to quickly predict the battery capacity.

S8:计算电池SOH,得到电池SOH,计算公式为:S8: Calculate the battery SOH to obtain the battery SOH, the calculation formula is:

Figure BDA0003788928370000021
Figure BDA0003788928370000021

其中:Cp为预测电池容量,C0为电池额定容量;Among them: C p is the predicted battery capacity, C 0 is the rated capacity of the battery;

可选的,所述S1中,采集动力镍氢电池充电状态下电池容量、电池内阻、最大内压数据,其中电池内阻采集电池20%-80%SOC状态的数据,保证内阻的准确性;最大内压数据采集电池80%-100%SOC状态的数据,保证内压的真实性。Optionally, in the S1, the battery capacity, battery internal resistance, and maximum internal pressure data of the power Ni-MH battery in the charging state are collected, wherein the battery internal resistance collects the data of the battery 20%-80% SOC state to ensure the accuracy of the internal resistance Reliability; the maximum internal pressure data collection battery 80% -100% SOC state data, to ensure the authenticity of the internal pressure.

可选的,所述S2中,数据归一化具体处理方法为:均值方差归一化方法,将数据映射到均值为0,方差为1的数据分布中的一种方法。Optionally, in S2, the specific processing method of data normalization is: a mean-variance normalization method, which is a method for mapping data to a data distribution with a mean value of 0 and a variance of 1.

其计算公式为:Its calculation formula is:

Figure BDA0003788928370000022
Figure BDA0003788928370000022

其中,fi为输入的特征,

Figure BDA0003788928370000023
为归一化后的输入特征。所有的数据进行归一化处理,能够极大地降低数据结构的复杂性,同时对减少计算时间也起着至关重要的作用。Among them, f i is the input feature,
Figure BDA0003788928370000023
is the normalized input feature. All the data are normalized, which can greatly reduce the complexity of the data structure, and also play a vital role in reducing the calculation time.

可选的,所述S3中,使用动态内阻、最大内压共同构建健康因子作为预测模型的特征值;其中动态内阻数据获取简单且高效;镍氢电池稳定内压的特点与电池寿命存在较强的相关性,提升电池SOH预测的准确度;Optionally, in the S3, the dynamic internal resistance and the maximum internal pressure are used to jointly construct the health factor as the characteristic value of the prediction model; the acquisition of the dynamic internal resistance data is simple and efficient; the characteristics of the stable internal pressure of the nickel-metal hydride battery are related to the battery life. Strong correlation improves the accuracy of battery SOH prediction;

镍氢电池充电时,正负极发生的反应如下:When a NiMH battery is charged, the reactions at the positive and negative electrodes are as follows:

正极:Ni(OH)2+OH-→NiOOH+H2O+e- Positive electrode: Ni(OH) 2 +OH - →NiOOH+H 2 O+e -

负极:H2O+e-→OH-+1/2H2 Negative electrode: H 2 O+e - → OH - +1/2H 2

镍氢电池负极储氢合金与内压存在对应关系,电池SOH与电池负极储氢合金存在对应关系,电池内压与电池SOH也存在较强相关性,采用电池内压作为健康因子预测电池剩余使用寿命。There is a corresponding relationship between the hydrogen storage alloy of the negative electrode of the nickel-hydrogen battery and the internal pressure, and there is a corresponding relationship between the battery SOH and the hydrogen storage alloy of the battery negative electrode. There is also a strong correlation between the internal pressure of the battery and the SOH of the battery. The battery internal pressure is used as a health factor to predict the remaining battery life life.

可选的,所述S3中,采用改进的LightGBM作为目标检测的主体算法,通过自适应损失函数对原损失函数进行改进,降低离群值对预测精度的影响;Optionally, in the S3, the improved LightGBM is used as the main algorithm of target detection, and the original loss function is improved through an adaptive loss function to reduce the influence of outliers on the prediction accuracy;

损失函数计算式为:The loss function calculation formula is:

Figure BDA0003788928370000031
Figure BDA0003788928370000031

不同超参数α对应损失函数:Different hyperparameters α correspond to loss functions:

Figure BDA0003788928370000032
Figure BDA0003788928370000032

当超参数α取不同值时根据数据特征表示为合适的损失函数,降低离散群对预测精度的影响。When the hyperparameter α takes different values, it is expressed as an appropriate loss function according to the data characteristics, reducing the impact of the discrete group on the prediction accuracy.

可选的,所述S4中,采用Hyperopt超参数优化框架、基于多线程并行直方图的训练方式和GOSS处理方式,对数据进行预处理后创建LightGBM模型工厂和分数获取器,通过工厂生产各参数模型、分数获取器评估各模型,最终筛选出最佳模型参数,实现改进后的LightGBM模型高效的最优化调参;Optionally, in the S4, the Hyperopt hyperparameter optimization framework, the training method based on the multi-threaded parallel histogram and the GOSS processing method are used to preprocess the data and create a LightGBM model factory and score acquirer, and produce each parameter through the factory The model and score acquirer evaluate each model, and finally screen out the best model parameters to realize the efficient optimization of the improved LightGBM model;

其中,基于多线程并行直方图训练方式:将特征值的连续浮点数转化为K个离散值,最后构建一个宽度为K的直方图,其中K为计算次数。Among them, based on the multi-thread parallel histogram training method: convert the continuous floating-point number of the feature value into K discrete values, and finally construct a histogram with a width of K, where K is the number of calculations.

GOSS处理方式:在数据处理过程中保留梯度大的样本,预先设定阈值,随机去掉梯度小的样本,数据中大梯度采样率为a,小梯度采样率为b;减少数据分裂点,通过设置迭代终止条件训练学习器,提升学习效率及预测准确度。GOSS processing method: keep samples with large gradients during data processing, pre-set the threshold, and randomly remove samples with small gradients. The sampling rate of large gradients in the data is a, and the sampling rate of small gradients is b; reduce data splitting points, by setting The iterative termination condition trains the learner to improve learning efficiency and prediction accuracy.

其中,最大信息增益点计算公式为:Among them, the calculation formula of the maximum information gain point is:

Figure BDA0003788928370000033
Figure BDA0003788928370000033

xi为训练集的数据样本,xij为分割特征j下的训练集数据样本;gi表示每次梯度迭代时,模型数据变量的损失函数的负梯度方向;O表示某个固定节点的训练集,d表示分割特征j下的分割点; xi is the data sample of the training set, and xij is the data sample of the training set under the segmentation feature j; g i represents the negative gradient direction of the loss function of the model data variable at each gradient iteration; O represents the training of a fixed node Set, d represents the segmentation point under the segmentation feature j;

nO=∑I[xi∈O]n O =∑I[x i ∈O]

no表示某个固定节点的训练集样本的个数;n o represents the number of training set samples of a fixed node;

Figure BDA0003788928370000034
Figure BDA0003788928370000034

nj表示第j个特征上值小于等于d的样本个数;n j represents the number of samples whose value on the jth feature is less than or equal to d;

Figure BDA0003788928370000041
Figure BDA0003788928370000041

nj表示在第j个特征上值大于d的样本个数;n j represents the number of samples whose value is greater than d on the jth feature;

Hyperopt超参数优化框架:通过已设置的目标函数和参数空间,采用Hyperopt框架中的TPE(Tree-of-Parzen-Estimators,TPE)算法,先随机采样一些超参数,再使用采样的超参数去评估目标函数,设置需要训练的模型个数S,随机采用超参数S',实现最优化调参。Hyperopt hyperparameter optimization framework: through the set objective function and parameter space, adopt the TPE (Tree-of-Parzen-Estimators, TPE) algorithm in the Hyperopt framework, first randomly sample some hyperparameters, and then use the sampled hyperparameters to evaluate For the objective function, set the number S of models to be trained, and randomly use the hyperparameter S' to achieve optimal parameter tuning.

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

1.本发明的目的是提供一种退运动力镍氢电池的SOH快速预测方法,该方法解决了使用传统SOH预测方法预测过程复杂、预测精度不够的问题,还克服了在机器学习方法中对于模型参数量大,计算困难得问题。同时也对算法进行了改进,使得算法的自适应性避免训练模型的过拟合。1. The purpose of the present invention is to provide a kind of SOH quick prediction method of deactivation power Ni-MH battery, this method solves the problem that uses traditional SOH prediction method to predict process complex, prediction precision is not enough, also overcomes in machine learning method for The number of model parameters is large, and the calculation is difficult. At the same time, the algorithm is also improved, so that the adaptive nature of the algorithm can avoid over-fitting of the training model.

2.本发明采用电池充电过程中内阻、最大内压构建健康因子,其中内阻数据获得较为简单且在电池20%-80%SOC状态下内阻值较为恒定,可以提高数据获取效率;最大内压与电池SOH存在一一对应的强相关性,极大的提升SOH预测准确性。2. The present invention adopts internal resistance and maximum internal pressure during battery charging to construct a health factor, wherein the internal resistance data is relatively simple to obtain and the internal resistance value is relatively constant in the state of 20%-80% SOC of the battery, which can improve the data acquisition efficiency; the maximum There is a strong one-to-one correlation between internal pressure and battery SOH, which greatly improves the accuracy of SOH prediction.

3.本发明采用改进的LightGBM作为预测的主体算法,引入损失函数对原损失函数进行改进,降低离群值对预测精度的影响。超参数根据数据特征表示为合适的损失函数,从而降低离散群对预测精度的影响。3. The present invention adopts the improved LightGBM as the main prediction algorithm, introduces a loss function to improve the original loss function, and reduces the influence of outliers on the prediction accuracy. The hyperparameters are expressed as a suitable loss function according to the data characteristics, thereby reducing the impact of discrete groups on the prediction accuracy.

4.本发明使用Hyperopt超参数优化框架,基于多线程并行直方图的训练方式和GOSS处理方式,对数据进行预处理后创建LightGBM模型工厂和分数获取器,通过工厂生产各参数模型、分数获取器评估各模型,最终筛选出最佳模型参数,从而实现自动最优化调参,提高模型精度,提升预测效率。4. The present invention uses the Hyperopt hyperparameter optimization framework, based on the multi-threaded parallel histogram training method and the GOSS processing method, to create a LightGBM model factory and score acquirer after preprocessing the data, and produce each parameter model and score acquirer through the factory Evaluate each model, and finally select the best model parameters, so as to realize automatic optimization of parameters, improve model accuracy, and improve prediction efficiency.

本发明的其他优点、目标和特征在某种程度上将在随后的说明书中进行阐述,并且在某种程度上,基于对下文的考察研究对本领域技术人员而言将是显而易见的,或者可以从本发明的实践中得到教导。本发明的目标和其他优点可以通过下面的说明书来实现和获得。Other advantages, objects and features of the present invention will be set forth in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the investigation and research below, or can be obtained from Taught in the practice of the present invention. The objects and other advantages of the invention may be realized and attained by the following specification.

附图说明Description of drawings

为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作优选的详细描述,其中:In order to make the purpose of the present invention, technical solutions and advantages clearer, the present invention will be described in detail below in conjunction with the accompanying drawings, wherein:

图1为本发明的流程图;Fig. 1 is a flowchart of the present invention;

图2为直方图训练方式;Fig. 2 is the histogram training method;

图3为GOSS处理流程图;Fig. 3 is a flow chart of GOSS processing;

图4为Hyperopt工作流程图。Figure 4 is the Hyperopt work flow chart.

具体实施方式Detailed ways

以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。需要说明的是,以下实施例中所提供的图示仅以示意方式说明本发明的基本构想,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the diagrams provided in the following embodiments are only schematically illustrating the basic concept of the present invention, and the following embodiments and the features in the embodiments can be combined with each other in the case of no conflict.

其中,附图仅用于示例性说明,表示的仅是示意图,而非实物图,不能理解为对本发明的限制;为了更好地说明本发明的实施例,附图某些部件会有省略、放大或缩小,并不代表实际产品的尺寸;对本领域技术人员来说,附图中某些公知结构及其说明可能省略是可以理解的。Wherein, the accompanying drawings are for illustrative purposes only, and represent only schematic diagrams, rather than physical drawings, and should not be construed as limiting the present invention; in order to better illustrate the embodiments of the present invention, some parts of the accompanying drawings may be omitted, Enlargement or reduction does not represent the size of the actual product; for those skilled in the art, it is understandable that certain known structures and their descriptions in the drawings may be omitted.

本发明实施例的附图中相同或相似的标号对应相同或相似的部件;在本发明的描述中,需要理解的是,若有术语“上”、“下”、“左”、“右”、“前”、“后”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此附图中描述位置关系的用语仅用于示例性说明,不能理解为对本发明的限制,对于本领域的普通技术人员而言,可以根据具体情况理解上述术语的具体含义。In the drawings of the embodiments of the present invention, the same or similar symbols correspond to the same or similar components; , "front", "rear" and other indicated orientations or positional relationships are based on the orientations or positional relationships shown in the drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred devices or elements must It has a specific orientation, is constructed and operated in a specific orientation, so the terms describing the positional relationship in the drawings are for illustrative purposes only, and should not be construed as limiting the present invention. For those of ordinary skill in the art, the understanding of the specific meaning of the above terms.

如图1所示,退运动力镍氢电池的SOH快速预测方法包括如下具体步骤:As shown in Figure 1, the rapid SOH prediction method for degraded power Ni-MH batteries includes the following specific steps:

(1)采集动力镍氢电池充电状态下电池容量、电池内阻(20%-80%SOC状态)、电池最大内压数据;(1) Collect the battery capacity, battery internal resistance (20%-80% SOC state), and battery maximum internal pressure data under the charging state of the power Ni-MH battery;

(2)清洗采集数据,依次应用平均值法填充缺失值,删除观测异常值,均值方差法归一化处理;(2) Clean the collected data, apply the mean value method to fill in the missing values, delete the observed abnormal values, and normalize the mean value and variance method;

(3)将清洗后的电池内阻、电池最大内压数据共同构建健康因子,由健康因子作为特征值与之匹配的电池容量建立映射关系,形成样本库;(3) Combine the cleaned battery internal resistance and battery maximum internal pressure data together to construct a health factor, and use the health factor as a characteristic value to establish a mapping relationship with the battery capacity that matches it to form a sample library;

(4)采用改进的LightGBM作为SOH预测主体算法,引入损失函数改进原损失函数,降低数据离群值的影响;(4) The improved LightGBM is used as the main algorithm for SOH prediction, and the loss function is introduced to improve the original loss function and reduce the influence of data outliers;

(5)使用超参数Hyperopt框架,构建模型参数空间、LightGBM模型工厂、分数获取器,实现高效的模型最优化调参;(5) Use the hyperparameter Hyperopt framework to build model parameter space, LightGBM model factory, and score acquirer to achieve efficient model optimization tuning;

(6)由步骤(4)和(5)建立模型框架,将步骤(2)处理后的样本库导入模型训练;(6) Model framework is established by steps (4) and (5), and the sample library after step (2) is processed is imported into model training;

(7)将当前退运电池充电状态下的电池最大内压、电池内阻数据导入模型,快速计算电池容量。(7) Import the maximum internal pressure of the battery and the internal resistance data of the battery under the charging state of the currently returned battery into the model to quickly calculate the battery capacity.

(8)计算电池SOH,得到电池实时SOH。(8) Calculate the battery SOH to obtain the real-time SOH of the battery.

基于多线程并行直方图训练方式:将特征值的连续浮点数转化为K个离散值,最后构建一个宽度为K的直方图,其中K为计算次数。直方图训练方式如图2所示。Based on the multi-thread parallel histogram training method: convert the continuous floating-point number of the feature value into K discrete values, and finally construct a histogram with a width of K, where K is the number of calculations. The histogram training method is shown in Figure 2.

GOSS处理方式:在数据处理过程中保留梯度大的样本(预先设定阈值),随机去掉梯度小的样本(数据中大梯度采样率为a,小梯度采样率为b),减少数据分裂点,通过设置迭代终止条件训练学习器,提升学习效率及预测准确度。GOSS处理流程如图3所示。GOSS processing method: retain samples with large gradients during data processing (pre-set threshold), randomly remove samples with small gradients (in the data, the sampling rate of large gradients is a, and the sampling rate of small gradients is b), reducing data splitting points, Train the learner by setting iteration termination conditions to improve learning efficiency and prediction accuracy. The GOSS processing flow is shown in Figure 3.

其中,最大信息增益点计算公式为:Among them, the calculation formula of the maximum information gain point is:

Figure BDA0003788928370000061
Figure BDA0003788928370000061

xi为训练集的数据样本,xij为分割特征j下的训练集数据样本;gi表示每次梯度迭代时,模型数据变量的损失函数的负梯度方向;O表示某个固定节点的训练集,d表示分割特征j下的分割点; xi is the data sample of the training set, and xij is the data sample of the training set under the segmentation feature j; g i represents the negative gradient direction of the loss function of the model data variable at each gradient iteration; O represents the training of a fixed node Set, d represents the segmentation point under the segmentation feature j;

nO=ΣI[xi∈O]n O =ΣI[x i ∈O]

no表示某个固定节点的训练集样本的个数;n o represents the number of training set samples of a fixed node;

Figure BDA0003788928370000062
Figure BDA0003788928370000062

nj表示第j个特征上值小于等于d的样本个数;n j represents the number of samples whose value on the jth feature is less than or equal to d;

Figure BDA0003788928370000063
Figure BDA0003788928370000063

nj表示在第j个特征上值大于d的样本个数;n j represents the number of samples whose value is greater than d on the jth feature;

Hyperopt超参数优化框架:通过已设置的目标函数和参数空间,采用Hyperopt框架中的TPE(Tree-of-Parzen-Estimators)算法,先随机采样一些超参数,再使用采样的超参数去评估目标函数(设置需要训练的模型个数S,随机采用超参数S'),实现最优化调参。Hyperopt工作流程如图4所示。Hyperopt hyperparameter optimization framework: through the set objective function and parameter space, adopt the TPE (Tree-of-Parzen-Estimators) algorithm in the Hyperopt framework, first randomly sample some hyperparameters, and then use the sampled hyperparameters to evaluate the objective function (Set the number S of models that need to be trained, and randomly use the hyperparameter S') to achieve optimal parameter tuning. The Hyperopt workflow is shown in Figure 4.

最后说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本技术方案的宗旨和范围,其均应涵盖在本发明的权利要求范围当中。Finally, it is noted that the above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be carried out Modifications or equivalent replacements, without departing from the spirit and scope of the technical solution, should be included in the scope of the claims of the present invention.

Claims (6)

1. A method for predicting the SOH of a withdrawing force nickel-metal hydride battery is characterized by comprising the following steps: the method comprises the following steps:
s1: collecting battery capacity, battery internal resistance of 20-80% of electric quantity state and maximum internal pressure data of the power nickel-hydrogen battery in a charging state;
s2: cleaning the acquired data by filling missing values, deleting abnormal values and carrying out normalization processing;
s3: constructing a health factor by using the internal resistance of the battery and the maximum internal pressure of the battery together, and establishing a mapping relation by using the health factor as a characteristic value and the battery capacity matched with the characteristic value to form a sample library;
s4: adopting an improved LightGBM as a health state SOH prediction subject algorithm; the original loss function is improved through the self-adaptive loss function, and the influence of data outliers is reduced;
s5: constructing a model parameter space, a LightGBM model factory and a score acquirer by using a hyper-parameter Hyperopt frame, and realizing efficient model optimization parameter adjustment;
s6: establishing a model frame by the steps S5 and S4, and importing the sample library processed in the step S2 into a model for training;
s7: and importing the maximum internal pressure and internal resistance data of the battery in the current quit-transported battery charging state into a model, and rapidly predicting the battery capacity.
S8: calculating the SOH of the battery to obtain the SOH of the battery, wherein the calculation formula is as follows:
Figure FDA0003788928360000011
wherein: c p To predict battery capacity, C 0 The rated capacity of the battery.
2. The method for predicting the SOH of the deactivatable nickel-metal hydride battery according to claim 1, wherein: in the step S1, acquiring battery capacity, battery internal resistance and maximum internal pressure data of the power nickel-hydrogen battery in a charging state, wherein the battery internal resistance acquires the data of the battery in a 20-80% SOC state, and the accuracy of the internal resistance is ensured; maximum internal pressure data acquisition of 80% -100% data of SOC state, ensuring authenticity of internal pressure.
3. The method for predicting the SOH of the deactivatable nickel-metal hydride battery according to claim 2, wherein: in the S2, a specific data normalization processing method comprises the following steps: the mean variance normalization method is a method for mapping data to data distribution with a mean value of 0 and a variance of 1.
The calculation formula is as follows:
Figure FDA0003788928360000012
wherein f is i As a characteristic of the input, the input is,
Figure FDA0003788928360000013
is the normalized input features. All data are normalized, so that the complexity of a data structure can be greatly reduced, and the method plays a crucial role in reducing the calculation time.
4. The method for predicting the SOH of a depravation force nickel-metal hydride battery according to claim 3, wherein: in the S3, a health factor is constructed by using the dynamic internal resistance and the maximum internal pressure together to serve as a characteristic value of a prediction model; the dynamic internal resistance data is simple and efficient to obtain; the characteristic of stable internal pressure of the nickel-metal hydride battery has strong correlation with the service life of the battery, and the accuracy of predicting the SOH of the battery is improved;
when the nickel-hydrogen battery is charged, the reactions of the positive electrode and the negative electrode are as follows:
and (3) positive electrode: ni (OH) 2 +OH - →NiOOH+H 2 O+e -
Negative electrode: h 2 O+e - →OH - +1/2H 2
The hydrogen storage alloy of the cathode of the nickel-metal hydride battery has a corresponding relation with the internal pressure, the hydrogen storage alloy of the cathode of the battery SOH has a corresponding relation with the hydrogen storage alloy of the cathode of the battery, the internal pressure of the battery has a strong correlation with the SOH of the battery, and the internal pressure of the battery is used as a health factor to predict the residual service life of the battery.
5. The method of claim 4 for predicting the SOH of the deactivatable nickel-metal hydride battery, wherein: in the S3, the improved LightGBM is adopted as a main algorithm of target detection, and the original loss function is improved through a self-adaptive loss function, so that the influence of outliers on the prediction precision is reduced;
the loss function is calculated as:
Figure FDA0003788928360000021
different superparameters α correspond to the loss functions:
Figure FDA0003788928360000022
when the hyper-parameter alpha takes different values, the hyper-parameter alpha is expressed as a proper loss function according to the data characteristics, and the influence of the discrete group on the prediction precision is reduced.
6. The method of claim 5 for predicting the SOH of the deactivatable nickel-metal hydride battery, wherein: in the S4, a Hyperopt hyper-parameter optimization frame, a training mode based on a multi-thread parallel histogram and a GOSS processing mode are adopted, a LightGBM model factory and a score acquirer are created after data are preprocessed, each parameter model and each score acquirer are produced in the factory, each model is evaluated, the optimal model parameters are finally screened out, and efficient optimization parameter adjustment of the improved LightGBM model is achieved;
the method is based on a multi-thread parallel histogram training mode: and converting continuous floating point numbers of the characteristic values into K discrete values, and finally constructing a histogram with the width of K, wherein K is the calculation times.
GOSS processing mode: reserving samples with large gradients in the data processing process, presetting a threshold value, and randomly removing samples with small gradients, wherein the sampling rate of the large gradients in the data is a, and the sampling rate of the small gradients in the data is b; data split points are reduced, and learning efficiency and prediction accuracy are improved by setting an iteration termination condition to train the learner.
Wherein, the maximum information gain point calculation formula is:
Figure FDA0003788928360000031
x i for the data samples of the training set, x ij Dividing training set data samples under the characteristic j; g i Representing the direction of the negative gradient of the loss function of the model data variable at each gradient iteration; o represents a training set of a certain fixed node, d represents a segmentation point under a segmentation characteristic j;
n O =∑I[x i ∈O]
n o representing the number of training set samples of a certain fixed node;
Figure FDA0003788928360000032
n j representing the number of samples with j-th characteristic upper value less than or equal to d;
Figure FDA0003788928360000033
n j representing the number of samples with the value larger than d on the jth characteristic;
hyperopt hyper-parameter optimization framework: according to the set target function and parameter space, a TPE (Tree-of-Parzen-Estimators) algorithm in a Hyperopt frame is adopted, some hyper-parameters are sampled randomly, then the sampled hyper-parameters are used for evaluating the target function, the number S of models needing to be trained is set, and the hyper-parameters S' are adopted randomly to realize optimized parameter adjustment.
CN202210950484.0A 2022-08-09 2022-08-09 A SOH Prediction Method for Retired Ni-MH Batteries Pending CN115329277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210950484.0A CN115329277A (en) 2022-08-09 2022-08-09 A SOH Prediction Method for Retired Ni-MH Batteries

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210950484.0A CN115329277A (en) 2022-08-09 2022-08-09 A SOH Prediction Method for Retired Ni-MH Batteries

Publications (1)

Publication Number Publication Date
CN115329277A true CN115329277A (en) 2022-11-11

Family

ID=83921946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210950484.0A Pending CN115329277A (en) 2022-08-09 2022-08-09 A SOH Prediction Method for Retired Ni-MH Batteries

Country Status (1)

Country Link
CN (1) CN115329277A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115514068A (en) * 2022-11-18 2022-12-23 杭州程单能源科技有限公司 Cell pressure difference optimization method for gradient utilization of lithium battery
CN118837755A (en) * 2024-09-23 2024-10-25 国网浙江省电力有限公司电力科学研究院 Lithium ion battery health state prediction method, system, equipment and storage medium
CN119602441A (en) * 2025-02-10 2025-03-11 西安中创新能网络科技有限责任公司 A new energy power station intelligent charging and discharging control method based on battery health status

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103344920A (en) * 2013-07-01 2013-10-09 华为技术有限公司 Method and equipment for detecting state of health of battery
CN106526486A (en) * 2016-08-30 2017-03-22 郑州轻工业学院 Construction method for lithium battery health life model
CN110632528A (en) * 2019-11-04 2019-12-31 桂林电子科技大学 A lithium battery SOH estimation method based on internal resistance detection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103344920A (en) * 2013-07-01 2013-10-09 华为技术有限公司 Method and equipment for detecting state of health of battery
CN106526486A (en) * 2016-08-30 2017-03-22 郑州轻工业学院 Construction method for lithium battery health life model
CN110632528A (en) * 2019-11-04 2019-12-31 桂林电子科技大学 A lithium battery SOH estimation method based on internal resistance detection

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孟欣 等: ""电池健康状态的中国专利技术分析"", 《电池》, 25 February 2021 (2021-02-25), pages 98 - 101 *
肖迁 等: ""基于改进 LightGBM 的电动汽车电池剩余使用寿命在线预测"", 《电工技术学报》, 4 January 2022 (2022-01-04), pages 4517 - 4527 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115514068A (en) * 2022-11-18 2022-12-23 杭州程单能源科技有限公司 Cell pressure difference optimization method for gradient utilization of lithium battery
CN118837755A (en) * 2024-09-23 2024-10-25 国网浙江省电力有限公司电力科学研究院 Lithium ion battery health state prediction method, system, equipment and storage medium
CN119602441A (en) * 2025-02-10 2025-03-11 西安中创新能网络科技有限责任公司 A new energy power station intelligent charging and discharging control method based on battery health status

Similar Documents

Publication Publication Date Title
CN115329277A (en) A SOH Prediction Method for Retired Ni-MH Batteries
Liu et al. Review on degradation mechanism and health state estimation methods of lithium-ion batteries
CN113805064B (en) Lithium ion battery pack health state prediction method based on deep learning
CN112083337B (en) A power battery health prediction method for predictive operation and maintenance
CN113640674B (en) Estimation method of available capacity of lithium-ion battery based on optimized Gaussian process regression
WO2021017416A1 (en) Deep compression power lithium battery fault diagnosis method under perceptual adversarial generation
CN108009585B (en) Lead-acid battery health state prediction method based on local information fusion
WO2023226355A1 (en) Dual-ion battery fault detection method and system based on multi-source perception
CN118759379B (en) Lithium battery remaining life prediction method and equipment based on MLP-LSTM classification model
CN116859259A (en) Battery health status estimation method based on integrated learning and real vehicle big data
CN113657030A (en) Method for predicting remaining service life of lithium battery based on Gaussian process regression
CN118095896A (en) A method for evaluating power system line losses based on big data analysis
CN114280491A (en) A method for estimating the remaining capacity of retired batteries based on active learning
CN115372829A (en) A method for rapid assessment of vehicle battery health based on BMS data
WO2024060539A1 (en) Annual carbon emission amount estimation method and device for power battery
CN114692677A (en) Welding defect identification method based on multi-target feature selection
Jia et al. Knee-point-conscious battery aging trajectory prediction based on physics-guided machine learning
CN115586444A (en) Lithium battery residual life prediction method based on VMD and BP neural network
CN107895212A (en) Lead-acid battery life-span prediction method based on sliding window and various visual angles Fusion Features
Li et al. Evaluation method for consistency of lithium-ion battery packs in electric vehicles based on the Mahalanobis-Taguchi system
CN115409317A (en) Transformer area line loss detection method and device based on feature selection and machine learning
CN118305097A (en) Rapid retired power battery sorting method based on interval frequency electrochemical impedance spectrum
CN119029350A (en) Battery control method and system
Swain et al. Remaining useful life predictor for EV batteries using machine learning
CN115389955A (en) A pressure difference prediction method and device for battery internal and external total pressure test

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