CN107330474A - A kind of lithium battery cascade utilization screening method - Google Patents
A kind of lithium battery cascade utilization screening method Download PDFInfo
- Publication number
- CN107330474A CN107330474A CN201710565905.7A CN201710565905A CN107330474A CN 107330474 A CN107330474 A CN 107330474A CN 201710565905 A CN201710565905 A CN 201710565905A CN 107330474 A CN107330474 A CN 107330474A
- Authority
- CN
- China
- Prior art keywords
- lithium battery
- classification model
- training
- trained
- training sample
- 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
Links
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 title claims abstract description 224
- 229910052744 lithium Inorganic materials 0.000 title claims abstract description 224
- 238000000034 method Methods 0.000 title claims abstract description 73
- 238000012216 screening Methods 0.000 title claims abstract description 53
- 238000012549 training Methods 0.000 claims abstract description 144
- 238000013145 classification model Methods 0.000 claims abstract description 107
- 238000012360 testing method Methods 0.000 claims description 37
- 238000012706 support-vector machine Methods 0.000 claims description 23
- 230000002068 genetic effect Effects 0.000 claims description 13
- 238000013528 artificial neural network Methods 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 8
- 230000006870 function Effects 0.000 claims description 8
- 238000005516 engineering process Methods 0.000 claims description 6
- 238000010801 machine learning Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 3
- 230000001066 destructive effect Effects 0.000 abstract description 5
- 238000004064 recycling Methods 0.000 abstract description 5
- 239000002699 waste material Substances 0.000 description 17
- 230000008569 process Effects 0.000 description 7
- 239000011159 matrix material Substances 0.000 description 6
- 238000005259 measurement Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000007599 discharging Methods 0.000 description 3
- HBBGRARXTFLTSG-UHFFFAOYSA-N Lithium ion Chemical compound [Li+] HBBGRARXTFLTSG-UHFFFAOYSA-N 0.000 description 2
- 238000002591 computed tomography Methods 0.000 description 2
- 230000006378 damage Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000003862 health status Effects 0.000 description 2
- 229910001416 lithium ion Inorganic materials 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000000178 monomer Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000002994 raw material Substances 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 241000255969 Pieris brassicae Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 229910001385 heavy metal Inorganic materials 0.000 description 1
- 239000002440 industrial waste Substances 0.000 description 1
- 230000035772 mutation Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 108090000623 proteins and genes Proteins 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 239000013598 vector Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
- G06F18/2411—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on the proximity to a decision surface, e.g. support vector machines
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Computation (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Computational Linguistics (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Secondary Cells (AREA)
Abstract
本发明提供一种锂电池梯次利用筛选方法,属于无损非接触式的筛选方法且能够提高筛选效率。所述方法包括:获取训练样本数据和训练样本标签;其中,所述训练样本数据为用于训练的样本锂电池的CT图像,所述训练样本标签包括:CT图像对应的标签信息,所述标签信息用于标识相应的用于训练的样本锂电池是否能够梯次利用;根据获取的训练样本数据和训练样本标签对待训练的分类模型进行训练,得到训练后的分类模型;获取待测锂电池的CT图像,将获取的待测锂电池的CT图像输入到训练后的分类模型中,由训练后的分类模型输出所述待测锂电池是否能够梯次利用。本发明涉及锂电池循环利用技术领域。
The invention provides a screening method for cascaded utilization of lithium batteries, which belongs to a non-destructive and non-contact screening method and can improve screening efficiency. The method includes: acquiring training sample data and training sample labels; wherein, the training sample data is a CT image of a sample lithium battery used for training, and the training sample label includes: label information corresponding to the CT image, the label The information is used to identify whether the corresponding sample lithium battery used for training can be used in stages; train the classification model to be trained according to the acquired training sample data and training sample labels, and obtain the trained classification model; obtain the CT of the lithium battery to be tested image, the acquired CT image of the lithium battery to be tested is input into the trained classification model, and the trained classification model outputs whether the lithium battery to be tested can be used in stages. The invention relates to the technical field of lithium battery recycling.
Description
技术领域technical field
本发明涉及锂电池循环利用技术领域,特别是指一种锂电池梯次利用筛选方法。The invention relates to the technical field of lithium battery recycling, in particular to a screening method for cascade utilization of lithium batteries.
背景技术Background technique
近年来,我国电动汽车行业发展速度,在未来两三年内,即会迎来动力锂电池退役的高峰,而且这些锂电池总量每年还会呈加速度增长;到2020年,电动车市场存量超过500万辆,以一辆车平均配备20kWh的锂电池来估算,约有1亿kWh(1000GWh)的锂离子锂电池进入汽车市场。众所周知,锂离子锂电池中的化学物质及重金属元素会对环境造成污染和危害。如何最大限度地回收与梯次利用这些锂电池的剩余价值,是亟待解决、非常重要的科学技术问题。In recent years, the development speed of my country's electric vehicle industry will usher in the peak of power lithium battery retirement in the next two to three years, and the total amount of these lithium batteries will increase at an accelerated rate every year; by 2020, the stock of electric vehicle market will exceed 500 It is estimated that a car is equipped with an average of 20kWh of lithium batteries, and about 100 million kWh (1000GWh) of lithium-ion lithium batteries have entered the automotive market. As we all know, the chemical substances and heavy metal elements in lithium-ion lithium batteries will cause pollution and harm to the environment. How to maximize the recovery and cascade utilization of the remaining value of these lithium batteries is an urgent and very important scientific and technological issue.
针对退役的动力锂电池,有两种可行的处理方法,一种是直接作为工业废品,进行报废和拆解,提炼其中的原材料,实现原材料的循环利用,这方面已经有一些国内的企业在进行商业化运作;另一种方式,则考虑退役的动力锂电池,虽然已经不满足汽车的使用条件,但仍然拥有一定的余能,其寿命并未完全终止,可以用在其他领域作为电能的载体使用,从而充分发挥其剩余价值。显然后者的梯次利用更能够发挥产品的最大价值,实现循环经济的利益最大化,是更为绿色和环保的途径。For decommissioned power lithium batteries, there are two feasible treatment methods. One is to scrap and dismantle them directly as industrial waste products, extract the raw materials in them, and realize the recycling of raw materials. Some domestic enterprises are already doing this. Commercial operation; Another way is to consider the decommissioned power lithium battery. Although it has not met the conditions of use of the car, it still has a certain amount of surplus energy, and its life has not completely expired. It can be used in other fields as a carrier of electric energy. use, so as to give full play to its residual value. Obviously, the latter step-by-step utilization can give full play to the maximum value of products and maximize the benefits of circular economy, which is a greener and more environmentally friendly way.
中国发明专利CN201310261893.0提出了一种废旧动力锂电池梯次利用筛选方法:(1)对废旧动力锂电池组进行充电,使其荷电状态SOC为15%~80%;然后拆开锂电池组,对动力锂电池组及单体锂电池外观进行检查,并记录;(2)检测每一只单体锂电池的开路电压及内阻并记录,与标准单体锂电池的开路电压、内阻对比;由测试的电压、内阻根据标准单体锂电池充放电曲线,评估废旧动力锂电池组单体锂电池容量;(3)将上述废旧动力锂电池单体并联,直至其开路电压基本相同,与并联前单体锂电池的开路电压对比,并记录电压升降情况;然后将废旧单体锂电池及标准单体锂电池在温度为30℃~55℃条件下搁置3~7天或者室温下搁置10~30天,检测其开路电压及内阻,并记录;标准单体锂电池做放电循环测试,以标准单体锂电池荷电状态、容量-电压曲线、内阻作为参考,根据废旧动力锂电池单体开路电压及内阻大小,评估废旧动力锂电池单体健康状态;(4)根据以上记录情况,对比废旧动力锂电池单体外观、开路电压、内阻、电压降及健康状态评估,对废旧动力锂电池单体进行分级,同一级的锂电池成组与储能电网配合使用。Chinese invention patent CN201310261893.0 proposes a screening method for cascaded utilization of waste power lithium batteries: (1) Charge the waste power lithium battery pack so that the state of charge SOC is 15% to 80%; then disassemble the lithium battery pack , check the appearance of the power lithium battery pack and the single lithium battery, and record; (2) Detect and record the open circuit voltage and internal resistance of each single lithium battery, and the open circuit voltage and internal resistance of the standard single lithium battery Contrast; from the tested voltage and internal resistance according to the charging and discharging curve of the standard single lithium battery, evaluate the capacity of the single lithium battery of the waste power lithium battery pack; (3) connect the above-mentioned waste power lithium battery monomers in parallel until their open circuit voltage is basically the same , compared with the open circuit voltage of the single lithium battery before parallel connection, and record the voltage rise and fall; then put the waste single lithium battery and standard single lithium battery at a temperature of 30°C to 55°C for 3 to 7 days or at room temperature Put it aside for 10 to 30 days, check its open circuit voltage and internal resistance, and record it; conduct a discharge cycle test on a standard single lithium battery, and use the state of charge, capacity-voltage curve, and internal resistance of the standard single lithium battery as a reference, according to the waste power The open circuit voltage and internal resistance of lithium battery cells are used to evaluate the health status of waste power lithium battery cells; (4) According to the above records, compare the appearance, open circuit voltage, internal resistance, voltage drop and health status of waste power lithium battery cells , Classify the waste power lithium battery cells, and the lithium batteries of the same level are used in groups with the energy storage grid.
在专利号为CN 103901350 A的发明中涉及一种废旧动力锂电池二次使用的筛选方法:先通过对锂电池包整体进行充放电,通过测试时BMS记录的数据,在放电过程中,选取2-4个SOC点,SOC数值在20%-90%之间,读取各个串联单体的电压;将偏离出大部分锂电池的电压值超过5%的锂电池认定为有问题的锂电池,剩余锂电池即初步认定为健康状态锂电池;测量余下每只锂电池的内阻,通过内阻值进行第二次筛选,将偏离大部分电芯正常内阻20%的电芯剔除,筛选结束;在剩余锂电池中,随机挑选出10只锂电池进行一次充放电,将10只锂电池的平均容量,默认为所有健康状态的锂电池的容量值。In the invention with the patent number CN 103901350 A, it involves a screening method for the secondary use of waste power lithium batteries: first, charge and discharge the lithium battery pack as a whole, and pass the data recorded by the BMS during the test. During the discharge process, select 2 -4 SOC points, the SOC value is between 20% and 90%, read the voltage of each series-connected monomer; identify the lithium battery that deviates from the voltage value of most lithium batteries by more than 5% as a problematic lithium battery, The remaining lithium batteries are initially identified as healthy lithium batteries; the internal resistance of each remaining lithium battery is measured, and the second screening is carried out through the internal resistance value, and the batteries that deviate from the normal internal resistance of most batteries by 20% are removed, and the screening is over. ; Among the remaining lithium batteries, 10 lithium batteries are randomly selected to be charged and discharged once, and the average capacity of the 10 lithium batteries is defaulted to the capacity value of all healthy lithium batteries.
现有技术中使用的筛选方法,都或多或少地涉及对锂电池电参数即接触式的测量,比如开路电压和内阻的检测,需要对电池有充放电的过程;一方面这些参数的测量可能会引起锂电池内部结构发生变化和破损,另一方面锂电池充电和放电过程,更是需要几个小时才能完成,导致耗费的时间、人工成本都比较高,导致商业化锂电池的回收与梯次利用的经济效益受到限制。The screening methods used in the prior art all more or less involve the measurement of the electrical parameters of the lithium battery, that is, the contact type, such as the detection of the open circuit voltage and internal resistance, which requires the process of charging and discharging the battery; on the one hand, the detection of these parameters The measurement may cause changes and damage to the internal structure of the lithium battery. On the other hand, the charging and discharging process of the lithium battery takes several hours to complete, resulting in a relatively high cost of time and labor, which leads to the recycling of commercial lithium batteries. The economic benefits associated with cascade utilization are limited.
发明内容Contents of the invention
本发明要解决的技术问题是提供一种锂电池梯次利用筛选方法,以解决现有技术所存在的传统接触式测量锂电池容量和内阻参数会对锂电池造成二次损耗及筛选效率低的问题。The technical problem to be solved by the present invention is to provide a screening method for cascaded utilization of lithium batteries to solve the problem that the traditional contact measurement of lithium battery capacity and internal resistance parameters in the prior art will cause secondary loss of lithium batteries and low screening efficiency. question.
为解决上述技术问题,本发明实施例提供一种锂电池梯次利用筛选方法,包括:In order to solve the above technical problems, an embodiment of the present invention provides a lithium battery cascade utilization screening method, including:
获取训练样本数据和训练样本标签;其中,所述训练样本数据为用于训练的样本锂电池的CT图像,所述训练样本标签包括:CT图像对应的标签信息,所述标签信息用于标识相应的用于训练的样本锂电池是否能够梯次利用;Obtain training sample data and training sample labels; wherein, the training sample data is a CT image of a sample lithium battery used for training, and the training sample label includes: label information corresponding to the CT image, and the label information is used to identify the corresponding Whether the sample lithium battery used for training can be used in stages;
根据获取的训练样本数据和训练样本标签对待训练的分类模型进行训练,得到训练后的分类模型;Training the classification model to be trained according to the acquired training sample data and the training sample label to obtain the trained classification model;
获取待测锂电池的CT图像,将获取的待测锂电池的CT图像输入到训练后的分类模型中,由训练后的分类模型输出所述待测锂电池是否能够梯次利用。Obtain a CT image of the lithium battery to be tested, input the acquired CT image of the lithium battery to be tested into a trained classification model, and output whether the lithium battery to be tested can be used in stages by the trained classification model.
进一步地,所述获取训练样本标签包括:Further, said obtaining training sample labels includes:
测量用于训练的样本锂电池的容量和内阻;Measure the capacity and internal resistance of the sample lithium battery used for training;
将容量低于第一预设阈值和内阻高于第二预设阈值的样本锂电池归类于不能梯次利用的锂电池,其他的样本锂电池归类于可梯次利用的锂电池。The sample lithium batteries whose capacity is lower than the first preset threshold and whose internal resistance is higher than the second preset threshold are classified as lithium batteries that cannot be used in steps, and other sample lithium batteries are classified as lithium batteries that can be used in steps.
进一步地,在根据获取的训练样本数据和训练样本标签对待训练的分类模型进行训练,得到训练后的分类模型之前,所述方法还包括:Further, before training the classification model to be trained according to the acquired training sample data and training sample labels to obtain the trained classification model, the method also includes:
对获取的训练样本数据进行图像处理,计算训练样本数据的对比度值作为特征值;Perform image processing on the acquired training sample data, and calculate the contrast value of the training sample data as a feature value;
将计算得到的训练样本数据的特征值作为待确定的分类模型的输入。The calculated eigenvalues of the training sample data are used as the input of the classification model to be determined.
进一步地,所述对比度值包括:每像素对比度、韦伯对比度、均方根对比度、迈克尔逊对比度。Further, the contrast value includes: per-pixel contrast, Weber contrast, root mean square contrast, and Michelson contrast.
进一步地,所述根据获取的训练样本数据和训练样本标签对待训练的分类模型进行训练,得到训练后的分类模型包括:Further, the classification model to be trained is trained according to the obtained training sample data and training sample labels, and the trained classification model includes:
将计算得到的训练样本数据的特征值作为待确定的分类模型的输入、获取的训练样本标签作为待训练的分类模型的输出;Using the calculated eigenvalues of the training sample data as the input of the classification model to be determined, and the obtained training sample label as the output of the classification model to be trained;
利用监督学习中的神经网络训练技术对待训练的分类模型进行训练,构建基于支持向量机算法的分类模型。The neural network training technology in supervised learning is used to train the classification model to be trained, and the classification model based on the support vector machine algorithm is constructed.
进一步地,所述训练后的分类模型为分类决策平面;Further, the trained classification model is a classification decision plane;
所述将获取的待测锂电池的CT图像输入到训练后的分类模型中,由训练后的分类模型输出所述待测锂电池的类别包括:The CT image of the lithium battery to be tested is input into the trained classification model, and the classification of the lithium battery to be tested is output by the trained classification model including:
将获取的待测锂电池的CT图像输入到训练后的分类模型中,根据输入的待测锂电池的特征值位于分类决策平面的哪一侧,确定待测锂电池是否能够梯次利用。Input the obtained CT image of the lithium battery to be tested into the trained classification model, and determine whether the lithium battery to be tested can be used step by step according to which side of the classification decision plane the input feature value of the lithium battery to be tested is located.
进一步地,在根据获取的训练样本数据和训练样本标签对待训练的分类模型进行训练,得到训练后的分类模型之后,所述方法还包括:Further, after training the classification model to be trained according to the obtained training sample data and training sample labels, and obtaining the trained classification model, the method further includes:
获取测试样本数据和测试样本标签;其中,所述测试样本数据为用于测试的样本锂电池的CT图像,所述测试样本标签包括:CT图像对应的标签信息,所述标签信息用于标识相应的用于测试的样本锂电池是否能够梯次利用;Obtain test sample data and test sample labels; wherein, the test sample data is a CT image of a sample lithium battery used for testing, and the test sample label includes: label information corresponding to the CT image, and the label information is used to identify the corresponding Whether the sample lithium batteries used for testing can be used in stages;
计算测试样本数据的对比度值作为特征值;Calculate the contrast value of the test sample data as the feature value;
将计算得到的测试样本数据的特征值作为训练后的分类模型的输入;The calculated eigenvalues of the test sample data are used as the input of the trained classification model;
将训练后的分类模型输出的预测标签与获取的相应的测试样本标签进行匹配验证。The predicted label output by the trained classification model is matched with the obtained corresponding test sample label for verification.
进一步地,在用机器学习中的神经网络训练技术对待训练的分类模型进行训练,构建基于支持向量机算法的分类模型之后,所述方法还包括:Further, after using the neural network training technique in machine learning to train the classification model to be trained, after constructing the classification model based on the support vector machine algorithm, the method also includes:
采用遗传算法,对支持向量机算法中的参数进行优化,其中,优化的参数包括:核函数参数和误差惩罚系数。The genetic algorithm is used to optimize the parameters in the support vector machine algorithm, wherein the optimized parameters include: kernel function parameters and error penalty coefficients.
本发明的上述技术方案的有益效果如下:The beneficial effects of above-mentioned technical scheme of the present invention are as follows:
上述方案中,获取训练样本数据和训练样本标签;其中,所述训练样本数据为用于训练的样本锂电池的CT图像,所述训练样本标签包括:CT图像对应的标签信息,所述标签信息用于标识相应的用于训练的样本锂电池是否能够梯次利用;根据获取的训练样本数据和训练样本标签对待训练的分类模型进行训练,得到训练后的分类模型;获取待测锂电池的CT图像,将获取的待测锂电池的CT图像输入到训练后的分类模型中,由训练后的分类模型输出所述待测锂电池是否能够梯次利用。这样,在确定锂电池是否可以被梯次利用时,只需要获取相应锂电池的CT图像,不需要获取锂电池电参数,从而克服了传统接触式测量锂电池电参数的不足,属于无损非接触式筛选方法,且这种筛选方法无需对锂电池进行充放电过程,缩短了筛选时间,也无需逐个检测锂电池的内阻,降低了人工成本、从而能够提高筛选效率。In the above scheme, the training sample data and the training sample label are obtained; wherein, the training sample data is a CT image of a sample lithium battery used for training, and the training sample label includes: label information corresponding to the CT image, and the label information Used to identify whether the corresponding sample lithium battery used for training can be used in stages; train the classification model to be trained according to the acquired training sample data and training sample labels, and obtain the trained classification model; obtain the CT image of the lithium battery to be tested , inputting the obtained CT image of the lithium battery to be tested into the trained classification model, and outputting whether the lithium battery to be tested can be used step by step by the trained classification model. In this way, when determining whether a lithium battery can be used step by step, it is only necessary to obtain the CT image of the corresponding lithium battery, and it is not necessary to obtain the electrical parameters of the lithium battery, thus overcoming the shortcomings of the traditional contact method for measuring the electrical parameters of the lithium battery, and it is a non-destructive non-contact method. A screening method, and this screening method does not need to charge and discharge lithium batteries, shortens the screening time, and does not need to detect the internal resistance of lithium batteries one by one, reduces labor costs, thereby improving screening efficiency.
附图说明Description of drawings
图1为本发明实施例提供的锂电池梯次利用筛选方法的流程示意图;Fig. 1 is a schematic flow chart of the step-by-step utilization screening method for lithium batteries provided by the embodiment of the present invention;
图2为本发明实施例提供的锂电池梯次利用筛选方法的详细流程示意图;Fig. 2 is a detailed schematic flow diagram of the step-by-step utilization screening method for lithium batteries provided by the embodiment of the present invention;
图3为本发明实施例提供的机器学习筛选方法的流程示意图;FIG. 3 is a schematic flow chart of a machine learning screening method provided by an embodiment of the present invention;
具体实施方式detailed description
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.
本发明针对现有的传统接触式测量锂电池容量和内阻参数会对锂电池造成二次损耗及筛选效率低的问题,提供一种锂电池梯次利用筛选方法。Aiming at the problems that the existing traditional contact-type measurement of lithium battery capacity and internal resistance parameters will cause secondary loss and low screening efficiency of the lithium battery, the invention provides a lithium battery cascade utilization screening method.
如图1所示,本发明实施例提供的锂电池梯次利用筛选方法,包括:As shown in Figure 1, the lithium battery cascade utilization screening method provided by the embodiment of the present invention includes:
S101,获取训练样本数据和训练样本标签;其中,所述训练样本数据为用于训练的样本锂电池的计算机断层扫描(Computed Tomography,CT)图像,所述训练样本标签包括:CT图像对应的标签信息,所述标签信息用于标识相应的用于训练的样本锂电池是否能够梯次利用;S101, acquiring training sample data and training sample labels; wherein, the training sample data is a computed tomography (Computed Tomography, CT) image of a sample lithium battery used for training, and the training sample labels include: a label corresponding to the CT image Information, the label information is used to identify whether the corresponding sample lithium battery used for training can be used in stages;
S102,根据获取的训练样本数据和训练样本标签对待训练的分类模型进行训练,得到训练后的分类模型;S102. Train the classification model to be trained according to the acquired training sample data and the training sample label to obtain the trained classification model;
S103,获取待测锂电池的CT图像,将获取的待测锂电池的CT图像输入到训练后的分类模型中,由训练后的分类模型输出所述待测锂电池是否能够梯次利用。S103, acquiring a CT image of the lithium battery to be tested, inputting the acquired CT image of the lithium battery to be tested into a trained classification model, and outputting whether the lithium battery to be tested can be used step by step through the trained classification model.
本发明实施例所述的锂电池梯次利用筛选方法,获取训练样本数据和训练样本标签;其中,所述训练样本数据为用于训练的样本锂电池的CT图像,所述训练样本标签包括:CT图像对应的标签信息,所述标签信息用于标识相应的用于训练的样本锂电池是否能够梯次利用;根据获取的训练样本数据和训练样本标签对待训练的分类模型进行训练,得到训练后的分类模型;获取待测锂电池的CT图像,将获取的待测锂电池的CT图像输入到训练后的分类模型中,由训练后的分类模型输出所述待测锂电池是否能够梯次利用。这样,在确定锂电池是否可以被梯次利用时,只需要获取相应锂电池的CT图像,不需要获取锂电池电参数,从而克服了传统接触式测量锂电池电参数的不足,属于无损非接触式筛选方法,且这种筛选方法无需对锂电池进行充放电过程,缩短了筛选时间,也无需逐个检测锂电池的内阻,降低了人工成本、从而能够提高筛选效率。The lithium battery step utilization screening method described in the embodiment of the present invention acquires training sample data and training sample labels; wherein, the training sample data is a CT image of a sample lithium battery used for training, and the training sample labels include: CT The label information corresponding to the image, the label information is used to identify whether the corresponding sample lithium battery used for training can be used in stages; according to the acquired training sample data and training sample labels, the classification model to be trained is trained to obtain the trained classification Model; obtain the CT image of the lithium battery to be tested, input the obtained CT image of the lithium battery to be tested into the trained classification model, and output whether the lithium battery to be tested can be used in stages by the trained classification model. In this way, when determining whether a lithium battery can be used step by step, it is only necessary to obtain the CT image of the corresponding lithium battery, and it is not necessary to obtain the electrical parameters of the lithium battery, thus overcoming the shortcomings of the traditional contact method for measuring the electrical parameters of the lithium battery, and it is a non-destructive non-contact method. A screening method, and this screening method does not need to charge and discharge lithium batteries, shortens the screening time, and does not need to detect the internal resistance of lithium batteries one by one, reduces labor costs, thereby improving screening efficiency.
本实施例所述的锂电池梯次利用筛选方法作为一种快速高效、无损非接触式的新型筛选技术,具有潜在的商业化优势,适合企业的专业化回收与处理。The lithium battery cascade utilization screening method described in this example is a fast, efficient, non-destructive and non-contact new screening technology, which has potential commercial advantages and is suitable for professional recycling and treatment of enterprises.
本实施例中,结合锂电池失效原因分析,可梯次利用的锂电池通常比废弃(不能梯次利用)的锂电池具有更清晰的内部结构,这种清晰的结构信息可以反映在锂电池的CT图像中。In this embodiment, combined with the analysis of the failure causes of lithium batteries, lithium batteries that can be used in stages usually have a clearer internal structure than lithium batteries that are discarded (cannot be used in stages), and this clear structural information can be reflected in CT images of lithium batteries middle.
本实施例中,为了得到分类模型,首先需获取训练样本数据和训练样本标签,其中,所述训练样本数据为用于训练的样本锂电池的CT图像,所述训练样本标签包括:CT图像对应的标签信息,所述标签信息用于标识相应的用于训练的样本锂电池是否能够梯次利用,用于标识样本锂电池是否能够梯次利用的标签信息,可以根据测量得到的样本锂电池的容量和内阻确定。In this embodiment, in order to obtain the classification model, it is first necessary to obtain training sample data and training sample labels, wherein the training sample data is a CT image of a sample lithium battery used for training, and the training sample labels include: CT images corresponding to label information, the label information is used to identify whether the corresponding sample lithium battery used for training can be used in steps, and the label information used to identify whether the sample lithium battery can be used in steps can be obtained according to the measured capacity of the sample lithium battery and The internal resistance is determined.
本实施例中,用于训练的样本锂电池包括但不限于:废旧锂电池,例如,也可是新的锂电池;本实施例中,以废旧锂电池为例对获取用于训练的样本锂电池的CT图像和获取用于训练的样本锂电池的标签信息的具体步骤进行说明:In this embodiment, the sample lithium batteries used for training include but are not limited to: waste lithium batteries, for example, can also be new lithium batteries; The CT image and the specific steps to obtain the label information of the sample lithium battery used for training are described:
收集一定数量废旧锂电池作为用于训练的样本锂电池,对这些锂电池采用光学扫描得到CT图像,得到的CT图像作为训练样本数据;同时测量出这些锂电池的内阻、容量等电参数,评价出每一个锂电池是否能够梯次利用作为机器学习时的训练样本标签。Collect a certain number of waste lithium batteries as sample lithium batteries for training, use optical scanning to obtain CT images of these lithium batteries, and obtain CT images as training sample data; at the same time measure the internal resistance, capacity and other electrical parameters of these lithium batteries, Evaluate whether each lithium battery can be used step by step as a training sample label for machine learning.
机器学习分为监督学习和非监督学习两大类,本实施例中采用的是监督学习,监督学习需要训练样本数据和训练样本标签,使用的训练样本数据就是扫描废旧锂电池获得的CT图像;训练样本标签是指需要事先知道这些用于训练的样本锂电池是否能够梯次利用,这些是否能够梯次利用的信息被称为标签,在具体实施过程中,可以用-1表示锂电池不能梯次利用,1表示锂电池可梯次利用。这也是为何叫做监督学习,意思就是事先已经知道锂电池是否能够梯次利用,将训练样本数据作为待训练的分类模型的输入,训练样本标签作为待训练的分类模型的输出,用训练样本数据训练待训练的分类模型,然后再用训练好的分类模型,对不知道是否能够梯次利用的废旧锂电池进行分类。Machine learning is divided into two categories: supervised learning and unsupervised learning. In this embodiment, supervised learning is used. Supervised learning requires training sample data and training sample labels. The training sample data used is CT images obtained by scanning waste lithium batteries; The training sample label means that it is necessary to know in advance whether the lithium batteries used for training can be used in stages. The information on whether the lithium batteries can be used in stages is called a label. In the specific implementation process, -1 can be used to indicate that the lithium batteries cannot be used in stages. 1 indicates that the lithium battery can be used in stages. This is why it is called supervised learning, which means that it is known in advance whether lithium batteries can be used in stages, and the training sample data is used as the input of the classification model to be trained, and the training sample label is used as the output of the classification model to be trained. The trained classification model, and then use the trained classification model to classify the used lithium batteries that do not know whether they can be used in stages.
在前述锂电池梯次利用筛选方法的具体实施方式中,进一步地,所述获取训练样本标签包括:In the specific implementation of the aforementioned lithium battery cascade utilization screening method, further, said obtaining training sample labels includes:
测量用于训练的样本锂电池的容量和内阻;Measure the capacity and internal resistance of the sample lithium battery used for training;
将容量低于第一预设阈值和内阻高于第二预设阈值的样本锂电池归类于不能梯次利用的锂电池,其他的样本锂电池归类于可梯次利用的锂电池。The sample lithium batteries whose capacity is lower than the first preset threshold and whose internal resistance is higher than the second preset threshold are classified as lithium batteries that cannot be used in steps, and other sample lithium batteries are classified as lithium batteries that can be used in steps.
本实施例中,传统的锂电池分类是对锂电池逐个进行测量内阻和容量,内阻和容量的测量都需要测量设备和锂电池直接接触,本实施例所述的锂电池梯次利用筛选方法只需要一定数量的训练样本数据(不需测量锂电池的容量和内阻信息)和训练样本标签(需测量锂电池的容量和内阻信息)来建立分类模型。In this embodiment, the traditional classification of lithium batteries is to measure the internal resistance and capacity of lithium batteries one by one. The measurement of internal resistance and capacity requires direct contact between the measuring equipment and lithium batteries. The step-by-step utilization screening method for lithium batteries described in this embodiment Only a certain amount of training sample data (no need to measure the capacity and internal resistance information of the lithium battery) and training sample labels (need to measure the capacity and internal resistance information of the lithium battery) are required to establish a classification model.
分类模型建立好后,不需要测量锂电池的容量和内阻信息就可以将废旧锂电池分类,从而克服了传统接触式测量锂电池电参数的不足,本实施例所述的锂电池梯次利用筛选方法属于无损非接触式筛选方法。After the classification model is established, waste lithium batteries can be classified without measuring the capacity and internal resistance information of lithium batteries, thereby overcoming the shortcomings of traditional contact measurement of lithium battery electrical parameters. The step-by-step utilization screening of lithium batteries described in this embodiment The method belongs to the non-destructive non-contact screening method.
本实施例中,测量锂电池的容量和内阻信息,是为了得到用于训练的样本锂电池的标签信息,即:每幅CT图像对应的锂电池是否能够梯次利用。In this embodiment, the purpose of measuring the capacity and internal resistance information of the lithium battery is to obtain the label information of the sample lithium battery used for training, that is, whether the lithium battery corresponding to each CT image can be used in stages.
本实施例中,例如,可以将容量低于10%和内阻高于200mΩ归类于不能梯次利用的锂电池,其他归类于可梯次利用的锂电池。In this embodiment, for example, lithium batteries with capacities lower than 10% and internal resistances higher than 200 mΩ can be classified as lithium batteries that cannot be used in cascades, and others can be classified as lithium batteries that can be used in cascades.
在前述锂电池梯次利用筛选方法的具体实施方式中,进一步地,在根据获取的训练样本数据和训练样本标签对待训练的分类模型进行训练,得到训练后的分类模型之前,所述方法还包括:In the specific implementation of the foregoing lithium battery cascade utilization screening method, further, before training the classification model to be trained according to the acquired training sample data and training sample labels to obtain the trained classification model, the method further includes:
对获取的训练样本数据进行图像处理,计算训练样本数据的对比度值作为特征值;Perform image processing on the acquired training sample data, and calculate the contrast value of the training sample data as a feature value;
将计算得到的训练样本数据的特征值作为待确定的分类模型的输入。The calculated eigenvalues of the training sample data are used as the input of the classification model to be determined.
本实施例中,根据可梯次利用的和不能梯次利用的锂电池的CT图像的明显差别,可以对获取的用于训练的样本锂电池的CT图像进行处理,计算训练样本数据的对比度值作为特征值;将计算得到的训练样本数据的特征值作为待确定的分类模型的输入。In this embodiment, according to the obvious difference between the CT images of lithium batteries that can be used in steps and those that cannot be used in steps, the CT images of the sample lithium batteries acquired for training can be processed, and the contrast value of the training sample data can be calculated as the feature Value; use the calculated eigenvalues of the training sample data as the input of the classification model to be determined.
在前述锂电池梯次利用筛选方法的具体实施方式中,进一步地,所述对比度值包括:每像素对比度、韦伯对比度、均方根对比度、迈克尔逊对比度。In the specific implementation of the foregoing lithium battery step utilization screening method, further, the contrast value includes: per-pixel contrast, Weber contrast, root mean square contrast, and Michelson contrast.
本实施例中,所述对比度值可以包括:每像素对比度、韦伯对比度、均方根对比度、迈克尔逊对比度,这些对比度值可以作为智能分类识别的特征向量。In this embodiment, the contrast value may include: per-pixel contrast, Weber contrast, root mean square contrast, and Michelson contrast, and these contrast values may be used as feature vectors for intelligent classification and identification.
在前述锂电池梯次利用筛选方法的具体实施方式中,进一步地,所述根据获取的训练样本数据和训练样本标签对待训练的分类模型进行训练,得到训练后的分类模型包括:In the specific implementation of the aforementioned lithium battery cascade utilization screening method, further, the classification model to be trained is trained according to the acquired training sample data and training sample labels, and the trained classification model includes:
将计算得到的训练样本数据的特征值作为待确定的分类模型的输入、获取的训练样本标签作为待训练的分类模型的输出;Using the calculated eigenvalues of the training sample data as the input of the classification model to be determined, and the obtained training sample label as the output of the classification model to be trained;
利用监督学习中的神经网络训练技术对待训练的分类模型进行训练,构建基于支持向量机算法的分类模型。The neural network training technology in supervised learning is used to train the classification model to be trained, and the classification model based on the support vector machine algorithm is constructed.
本实施例中,监督学习就是用已知是否能够梯次利用的训练样本数据去训练神经网络以此获得分类模型,具体的:依据支持向量机算法,将计算得到的训练样本数据的特征值作为待确定的分类模型的输入、获取的训练样本标签作为待训练的分类模型的输出,利用监督学习中的神经网络训练技术对待训练的分类模型进行训练,训练结束所得到的分类模型即为要求的分类模型。In this embodiment, supervised learning is to use the training sample data known whether it can be used step by step to train the neural network to obtain the classification model. Specifically: according to the support vector machine algorithm, the calculated eigenvalues of the training sample data are used as the The input of the determined classification model and the obtained training sample labels are used as the output of the classification model to be trained, and the classification model to be trained is trained using the neural network training technology in supervised learning. The classification model obtained after the training is the required classification Model.
本实施例中,采用监督学习的方法,利用计算机处理海量数据的学习能力和快速准确的计算能力,达到对废旧锂电池快速准确的筛选目的。In this embodiment, the method of supervised learning is adopted, and the learning ability and fast and accurate calculation ability of the computer to process massive data are used to achieve the purpose of fast and accurate screening of waste lithium batteries.
在前述锂电池梯次利用筛选方法的具体实施方式中,进一步地,所述训练后的分类模型为分类决策平面;In the specific implementation of the aforementioned lithium battery cascade utilization screening method, further, the trained classification model is a classification decision plane;
所述将获取的待测锂电池的CT图像输入到训练后的分类模型中,由训练后的分类模型输出所述待测锂电池的类别包括:The CT image of the lithium battery to be tested is input into the trained classification model, and the classification of the lithium battery to be tested is output by the trained classification model including:
将获取的待测锂电池的CT图像输入到训练后的分类模型中,根据输入的待测锂电池的特征值位于分类决策平面的哪一侧,确定待测锂电池是否能够梯次利用。Input the obtained CT image of the lithium battery to be tested into the trained classification model, and determine whether the lithium battery to be tested can be used step by step according to which side of the classification decision plane the input feature value of the lithium battery to be tested is located.
本实施例中,所述训练后得到的分类模型本质上是一个分类决策平面,可以将待测锂电池按照否能够梯次利用分离开来,具体的:将获取的待测锂电池的CT图像输入到训练后的分类模型中,根据输入的待测锂电池的特征值位于分类决策平面的哪一侧,确定待测锂电池是否能够梯次利用。In this embodiment, the classification model obtained after the training is essentially a classification decision plane, which can separate the lithium battery to be tested according to whether it can be used in steps, specifically: input the acquired CT image of the lithium battery to be tested In the classification model after training, according to which side of the classification decision plane the input feature value of the lithium battery to be tested is located, it is determined whether the lithium battery to be tested can be used in stages.
在前述锂电池梯次利用筛选方法的具体实施方式中,进一步地,在根据获取的训练样本数据和训练样本标签对待训练的分类模型进行训练,得到训练后的分类模型之后,所述方法还包括:In the specific implementation of the foregoing lithium battery cascade utilization screening method, further, after training the classification model to be trained according to the acquired training sample data and training sample labels, and obtaining the trained classification model, the method further includes:
获取测试样本数据和测试样本标签;其中,所述测试样本数据为用于测试的样本锂电池的CT图像,所述测试样本标签包括:CT图像对应的标签信息,所述标签信息用于标识相应的用于测试的样本锂电池是否能够梯次利用;Obtain test sample data and test sample labels; wherein, the test sample data is a CT image of a sample lithium battery used for testing, and the test sample label includes: label information corresponding to the CT image, and the label information is used to identify the corresponding Whether the sample lithium batteries used for testing can be used in stages;
计算测试样本数据的对比度值作为特征值;Calculate the contrast value of the test sample data as the feature value;
将计算得到的测试样本数据的特征值作为训练后的分类模型的输入;The calculated eigenvalues of the test sample data are used as the input of the trained classification model;
将训练后的分类模型输出的预测标签与获取的相应的测试样本标签进行匹配验证。The predicted label output by the trained classification model is matched with the obtained corresponding test sample label for verification.
本实施例中,用于测试的样本锂电池包括但不限于:废旧锂电池,例如,也可是新的锂电池。In this embodiment, the sample lithium batteries used for testing include but are not limited to: waste lithium batteries, for example, new lithium batteries are also possible.
在前述锂电池梯次利用筛选方法的具体实施方式中,进一步地,在用机器学习中的神经网络训练技术对待训练的分类模型进行训练,构建基于支持向量机算法的分类模型之后,所述方法还包括:In the specific implementation of the foregoing lithium battery cascade utilization screening method, further, after using the neural network training technology in machine learning to train the classification model to be trained, and constructing the classification model based on the support vector machine algorithm, the method also include:
采用遗传算法,对支持向量机算法中的参数进行优化,其中,优化的参数包括:核函数参数和误差惩罚系数。The genetic algorithm is used to optimize the parameters in the support vector machine algorithm, wherein the optimized parameters include: kernel function parameters and error penalty coefficients.
本实施例中,还可以对得到的分类模型的参数进行优化,具体的:采用遗传算法,对支持向量机算法中的核函数参数和误差惩罚系数进行优化,提高筛选分类的准确率,使得分类模型的识别率可以接近90%。In this embodiment, the parameters of the obtained classification model can also be optimized, specifically: the genetic algorithm is used to optimize the kernel function parameters and error penalty coefficients in the support vector machine algorithm to improve the accuracy of screening and classification, so that the classification The recognition rate of the model can be close to 90%.
为了更好地理解本发明实施例所述的锂电池梯次利用筛选方法,对本发明实施例所述的锂电池梯次利用筛选方法进行详细说明,如图2和图3所示,本发明实施例所述的锂电池梯次利用筛选方法具体可以包括以下步骤:In order to better understand the screening method for cascaded utilization of lithium batteries described in the embodiments of the present invention, the screening method for cascaded utilization of lithium batteries described in the embodiments of the present invention will be described in detail, as shown in Figure 2 and Figure 3, the method described in the embodiments of the present invention The step-by-step utilization screening method of lithium batteries can specifically include the following steps:
步骤1、获取样本数据(训练样本数据和测试样本数据)和样本标签(训练样本标签和测试样本标签):Step 1. Obtain sample data (training sample data and test sample data) and sample labels (training sample labels and test sample labels):
1.收集200个不同厂家的18650型号废旧锂电池作为样本锂电池,用光学扫描设备获取每一个锂电池的CT图像,得到200个锂电池的CT图像作为样本数据。1. Collect 200 18650-type waste lithium batteries from different manufacturers as sample lithium batteries, use optical scanning equipment to obtain CT images of each lithium battery, and obtain CT images of 200 lithium batteries as sample data.
2.逐个测量这200个锂电池的容量、内阻参数,将容量低于10%和内阻高于200mΩ的锂电池记录为不能梯次利用的锂电池,用-1表示,其他记录为可梯次利用的锂电池,用1表示,得到样本标签。2. Measure the capacity and internal resistance parameters of these 200 lithium batteries one by one, and record the lithium batteries with a capacity lower than 10% and an internal resistance higher than 200mΩ as lithium batteries that cannot be used in cascading, denoted by -1, and other records as cascading The lithium battery used, denoted by 1, gets the sample label.
步骤2、对得到的CT图像进行处理,提取特征值信息:Step 2, process the obtained CT image, and extract the feature value information:
1.CT图像预处理:1. CT image preprocessing:
由于机器只能对数据进行操作,因此,扫描得到的CT图像是无法直接作为机器识别的内容,只能选取CT图像的某些特征信息,被称为特征值。由于特征值的计算需要对图像像素矩阵进行计算,而获得的CT图像可能具有不同程度的白色背景,会对计算造成很大干扰。因此在使用过程中首先需要去除干扰,即去除大片的白色背景,也就是说,要将CT图像的白色背景裁切掉,以便于计算特征值的进行。Since the machine can only operate on the data, the scanned CT image cannot be directly used as the content recognized by the machine. Only some characteristic information of the CT image can be selected, which is called the characteristic value. Since the calculation of the eigenvalues needs to calculate the image pixel matrix, the obtained CT images may have different degrees of white background, which will greatly interfere with the calculation. Therefore, in the process of use, it is first necessary to remove interference, that is, to remove a large white background, that is, to cut off the white background of the CT image, so as to facilitate the calculation of eigenvalues.
裁剪白色背景的程序流程如下:The program flow for cropping the white background is as follows:
CT图像是按照矩阵形式存放的,矩阵中的每一个数据记录图像中该点的像素,可以通过matlab软件获取CT图像的灰度值矩阵即读取图像,在matlab软件中寻找CT图像的边界,记录边界处像素点位置信息,确定裁剪边界,使用裁剪函数完成。The CT image is stored in the form of a matrix. Each data in the matrix records the pixel of the point in the image. The gray value matrix of the CT image can be obtained through the matlab software, that is, the image is read, and the boundary of the CT image is found in the matlab software. Record the pixel position information at the boundary, determine the clipping boundary, and use the clipping function to complete.
2.计算特征值:2. Calculate the eigenvalues:
可梯次利用的锂电池通常比不能梯次利用的锂电池具有更清晰的内部结构,而对比度是衡量灰度图像清晰度的主要参数。目前对于灰度图像对比度的定义存在不同方法,可以选用多种不同方法定义下的对比度作为特征值,如图3所示,本实施例中采用的对比度包括:每像素对比度、韦伯对比度、均方根对比度、迈克尔逊对比度。Lithium batteries that can be used in steps usually have a clearer internal structure than lithium batteries that cannot be used in steps, and contrast is the main parameter to measure the clarity of grayscale images. At present, there are different methods for defining the contrast of grayscale images, and the contrast defined by a variety of different methods can be selected as the feature value, as shown in Figure 3, the contrast used in this embodiment includes: per pixel contrast, Weber contrast, mean square Root contrast, Michelson contrast.
接着,对不同方法定义下的对比度进行说明:Next, the contrast ratio defined by different methods is explained:
(1)每像素对比度Cpp (1) Contrast per pixel C pp
每像素对比度定义为当前像素和一个相邻像素环之间的累计强度差异:Per-pixel contrast is defined as the cumulative intensity difference between the current pixel and a ring of neighboring pixels:
其中,i=1:m,j=1:n;m、n为CT图像灰度图像矩阵大小;I(i,j)为第i行第j列像素的灰度值。Wherein, i=1:m, j=1:n; m, n are the size of the CT image grayscale image matrix; I(i, j) is the grayscale value of the pixel in row i and column j.
在或的边界情况下,跳过I(x,y)的计算。exist or In the boundary case of , the calculation of I(x, y) is skipped.
整个图像的平均CPP是The average C PP of the whole image is
(2)韦伯对比度Cw (2) Weber contrast C w
韦伯对比度被定义为:Weber contrast is defined as:
其中,Ib是背景的强度值,在本实施例中背景为白色,故Ib等于255。由于Ib总是大于或等于I(i,j),因此|I(i,j)-Ib|可以由Ib-I(i,j)替代。Wherein, I b is the intensity value of the background. In this embodiment, the background is white, so I b is equal to 255. Since I b is always greater than or equal to I(i,j), |I(i,j)-I b | can be replaced by Ib -I(i,j).
整幅图像的韦伯对比度为:The Weber contrast of the entire image is:
(3)迈克尔逊对比度Cm (3) Michelson contrast C m
将迈克尔逊对比度定义为:Define Michelson contrast as:
其中,Imax(i,j)=arg maxx∈[i-1,i+1],y∈[j-1,j+1]I(x,y)where, I max (i,j)=arg max x∈[i-1,i+1],y∈[j-1,j+1] I(x,y)
Imin(x,y)=arg minx∈[i-1,i+1],y∈[j-1,j+1]I(x,y)I min (x,y)=arg min x∈[i-1,i+1],y∈[j-1,j+1] I(x,y)
整个图像的平均迈克尔逊对比度为:The average Michelson contrast for the entire image is:
(4)均方根对比度定义为:(4) Root mean square contrast is defined as:
其中, in,
计算特征值的程序流程如下:The procedure for calculating the eigenvalues is as follows:
读取CT灰度图像矩阵,按照不同对比度定义编写对比度计算程序,对样本锂电池的每一幅图像按照上面4个对比度定义求取出4个特征值,存放在EXCEL表格中;并用1、-1表示样本标签,其中,1表示可梯次利用的锂电池,-1表示不能梯次利用的锂电池,将样本数据的样本标签信息存放在EXCEL表格中;这样,一个锂电池就得到一组对应的记录:4个对比度参数和标签信息。Read the CT grayscale image matrix, write a contrast calculation program according to different contrast definitions, and obtain 4 eigenvalues for each image of the sample lithium battery according to the above 4 contrast definitions, and store them in the EXCEL table; and use 1, -1 Indicates the sample label, where 1 indicates a lithium battery that can be used in steps, and -1 indicates a lithium battery that cannot be used in steps. Store the sample label information of the sample data in the EXCEL table; in this way, a lithium battery can get a set of corresponding records : 4 contrast parameters and label information.
步骤3、使用matlab根据支持向量机理论编写支持向量机算法程序,用其中150个作为训练分类模型的训练样本数据和训练样本标签,从EXCEL表格数据中读取这150个所对应的对比度参数和标签信息,对分类模型进行训练,得到训练后的分类模型。Step 3, use matlab to write the support vector machine algorithm program according to the support vector machine theory, use 150 of them as the training sample data and training sample labels for training the classification model, and read the corresponding contrast parameters and parameters of the 150 from the EXCEL table data label information, train the classification model, and obtain the trained classification model.
步骤4、用剩下的50个作为测试分类模型的测试样本数据和测试样本标签,测试训练后得到的分类模型,通过训练后得到的分类模型输出这50个锂电池的预测标签;由于事先知道这50个锂电池的真实标签(即:测试样本标签),将预测标签和真实标签进行匹配,根据匹配程度得到分类识别率;如果,此时正确预测40幅图像的标签,则此分类模型的分类识别率为80%。Step 4, use the remaining 50 test sample data and test sample labels as the test classification model, test the classification model obtained after training, and output the prediction labels of these 50 lithium batteries through the classification model obtained after training; The real labels of these 50 lithium batteries (ie: test sample labels), match the predicted labels with the real labels, and obtain the classification recognition rate according to the degree of matching; if, at this time, the labels of 40 images are correctly predicted, then the classification model The classification recognition rate is 80%.
步骤5、对支持向量机算法中的参数进行优化,提高分类识别效果。Step 5, optimize the parameters in the support vector machine algorithm to improve the classification recognition effect.
支持向量机算法分类效果主要取决于核函数参数gama即γ和误差惩罚系数cost即C,寻找最优参数可以大幅提高分类模型效果。采用遗传算法对支持向量机中的gama和cost参数进行优化。程序流程如下:The classification effect of the support vector machine algorithm mainly depends on the kernel function parameter gama, which is γ, and the error penalty coefficient cost, which is C. Finding the optimal parameters can greatly improve the effect of the classification model. The gama and cost parameters in the support vector machine are optimized by genetic algorithm. The program flow is as follows:
1)初始化支持向量机(Support Vector Machine,SVM)的参数,影响支持向量机分类效果的参数主要有两个,即核函数参数gamma简称γ,以及误差惩罚系数Cost,简称C,确定遗传算法的初始群体,群体数量可以选取100,对支持向量机需要优化的两个参数(γ和C)进行二进制编码得到初始的100个群体,其中,二进制编码码串的长度根据要搜索的SVM参数的范围与精度来确定;1) Initialize the parameters of the Support Vector Machine (SVM), there are two main parameters that affect the classification effect of the SVM, namely the kernel function parameter gamma, referred to as γ, and the error penalty coefficient Cost, referred to as C, to determine the genetic algorithm The initial group, the number of groups can be selected as 100, and the two parameters (γ and C) that need to be optimized by the support vector machine are binary coded to obtain the initial 100 groups, where the length of the binary code string depends on the range of the SVM parameters to be searched and precision to determine;
2)设定遗传算法的参数,初始代数,初始交叉概率,初始变异概率,最大遗传代数等;2) Set the parameters of the genetic algorithm, the initial algebra, the initial crossover probability, the initial mutation probability, the maximum genetic algebra, etc.;
3)将初始群体解码后送入SVM进行训练并计算个体的适应度,适应度函数采用SVM分类的正确率;3) Decode the initial group and send it to SVM for training and calculate the fitness of the individual. The fitness function adopts the correct rate of SVM classification;
4)应用最优保存策略,在进行遗传操作之前先把适应度(正确率)最高的个体保存下来,以防止优秀基因因遗传算子操作而丢失,记录最差个体的序号Index;4) Apply the optimal preservation strategy, and save the individual with the highest fitness (correct rate) before performing the genetic operation, so as to prevent the loss of the excellent gene due to the genetic operator operation, and record the index of the worst individual;
5)对上述的初始群体进行遗传操作,具体的:选择算子采用赌轮选择法,交叉算子采用单点交叉,经过遗传算子操作产生新群体,并用4)保存的适应度(正确率)最高的个体替换序号为Index的新个体,并最终产生新的群体,然后返回3)进行训练;5) Carry out genetic operations on the above-mentioned initial population, specifically: the selection operator adopts the gambler selection method, the crossover operator adopts single-point crossover, a new population is generated through the genetic operator operation, and the fitness degree (correct rate) saved in 4) is used ) The highest individual replaces the new individual whose serial number is Index, and finally generates a new group, and then returns to 3) for training;
6)检查是否满足算法终止条件:由于分类正确率(适应度)本身就是要搜索的结果,很难作为终止条件,但是当连续几代最优个体的适应度接近相等时则认为种群不能再进化,算法终止;或者把设定的最大遗传代数作为算法的终止条件,当满足上述两个条件中的任何一个时,则自动终止算法。优化以后的分类模型识别率可以接近90%。6) Check whether the termination condition of the algorithm is satisfied: since the classification accuracy (fitness) itself is the result to be searched, it is difficult to be used as the termination condition, but when the fitness of the optimal individual of several consecutive generations is close to equal, it is considered that the population can no longer evolve , the algorithm is terminated; or the set maximum genetic algebra is used as the termination condition of the algorithm, and when any one of the above two conditions is met, the algorithm is automatically terminated. The recognition rate of the optimized classification model can be close to 90%.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. any such actual relationship or order exists between them.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, these improvements and modifications It should also be regarded as the protection scope of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710565905.7A CN107330474A (en) | 2017-07-12 | 2017-07-12 | A kind of lithium battery cascade utilization screening method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710565905.7A CN107330474A (en) | 2017-07-12 | 2017-07-12 | A kind of lithium battery cascade utilization screening method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107330474A true CN107330474A (en) | 2017-11-07 |
Family
ID=60197594
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710565905.7A Pending CN107330474A (en) | 2017-07-12 | 2017-07-12 | A kind of lithium battery cascade utilization screening method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107330474A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108647588A (en) * | 2018-04-24 | 2018-10-12 | 广州绿怡信息科技有限公司 | Goods categories recognition methods, device, computer equipment and storage medium |
CN109047040A (en) * | 2018-06-12 | 2018-12-21 | 东莞市德尔能新能源股份有限公司 | Lithium battery screening system based on big data |
CN109604186A (en) * | 2018-12-14 | 2019-04-12 | 北京匠芯电池科技有限公司 | Power battery performance flexibility assesses method for separating |
CN110135490A (en) * | 2019-05-10 | 2019-08-16 | 上海理工大学 | A Classification Method for Decommissioned Lithium Batteries Based on Sample Labels |
CN110336051A (en) * | 2019-06-05 | 2019-10-15 | 武汉理工大学 | Classification method for cascade utilization of waste solid oxide fuel cells |
CN112966835A (en) * | 2021-02-03 | 2021-06-15 | 上海电气集团股份有限公司 | Waste lithium battery recovery management system and method |
CN113466706A (en) * | 2021-07-26 | 2021-10-01 | 上海伟翔众翼新能源科技有限公司 | Lithium battery echelon utilization residual life prediction method based on convolutional neural network |
CN113996564A (en) * | 2021-12-02 | 2022-02-01 | 格林美股份有限公司 | Lithium battery echelon utilization and sorting method and device based on characteristic numerical analysis |
CN114047444A (en) * | 2021-11-09 | 2022-02-15 | 中国南方电网有限责任公司超高压输电公司广州局 | Storage battery health condition evaluation method and device |
CN114210591A (en) * | 2021-12-02 | 2022-03-22 | 格林美股份有限公司 | A method and device for lithium battery cascade utilization sorting based on IC curve |
CN114638834A (en) * | 2022-05-23 | 2022-06-17 | 深圳鑫茂新能源技术有限公司 | Waste lithium battery classification processing method based on image processing |
CN114669508A (en) * | 2022-03-01 | 2022-06-28 | 常州大学 | A method for single cell screening for cascade utilization of retired batteries |
CN115494416A (en) * | 2021-06-18 | 2022-12-20 | 比亚迪股份有限公司 | Estimation method of battery health state |
CN115921356A (en) * | 2023-01-10 | 2023-04-07 | 北京凌禾科技有限公司 | Treatment method and treatment system for waste lithium batteries |
CN116401604A (en) * | 2019-05-13 | 2023-07-07 | 北京绪水互联科技有限公司 | Method for classifying and detecting cold head state and predicting service life |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103337671A (en) * | 2013-06-27 | 2013-10-02 | 国家电网公司 | Cascade utilization screening method of waste power batteries |
CN103901350A (en) * | 2014-03-13 | 2014-07-02 | 奇瑞汽车股份有限公司 | Worn-out power battery secondary use screening method |
CN104751447A (en) * | 2015-01-10 | 2015-07-01 | 哈尔滨工业大学(威海) | Lithium battery unit defect detection method |
CN105427335A (en) * | 2015-12-31 | 2016-03-23 | 先进储能材料国家工程研究中心有限责任公司 | Method for detecting and locating skip plating defects of continuous strip-shaped porous metal material |
-
2017
- 2017-07-12 CN CN201710565905.7A patent/CN107330474A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103337671A (en) * | 2013-06-27 | 2013-10-02 | 国家电网公司 | Cascade utilization screening method of waste power batteries |
CN103901350A (en) * | 2014-03-13 | 2014-07-02 | 奇瑞汽车股份有限公司 | Worn-out power battery secondary use screening method |
CN104751447A (en) * | 2015-01-10 | 2015-07-01 | 哈尔滨工业大学(威海) | Lithium battery unit defect detection method |
CN105427335A (en) * | 2015-12-31 | 2016-03-23 | 先进储能材料国家工程研究中心有限责任公司 | Method for detecting and locating skip plating defects of continuous strip-shaped porous metal material |
Non-Patent Citations (4)
Title |
---|
刘东平,单甘霖,张岐龙,段修生: "基于改进遗传算法的支持向量机参数优化", 《微计算机应用》 * |
周传兴等: "基于视觉感知的网络视频质量评价方法研究", 《微型机与应用》 * |
张宏军: "结合PCA和SVM的太阳能电池缺陷识别", 《电视技术》 * |
曹厚德: "图像质量评价与控制", 《现代医学影响技术学》 * |
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108647588A (en) * | 2018-04-24 | 2018-10-12 | 广州绿怡信息科技有限公司 | Goods categories recognition methods, device, computer equipment and storage medium |
CN109047040A (en) * | 2018-06-12 | 2018-12-21 | 东莞市德尔能新能源股份有限公司 | Lithium battery screening system based on big data |
CN109604186A (en) * | 2018-12-14 | 2019-04-12 | 北京匠芯电池科技有限公司 | Power battery performance flexibility assesses method for separating |
CN109604186B (en) * | 2018-12-14 | 2021-12-07 | 蓝谷智慧(北京)能源科技有限公司 | Flexible evaluation and sorting method for performance of power battery |
CN110135490A (en) * | 2019-05-10 | 2019-08-16 | 上海理工大学 | A Classification Method for Decommissioned Lithium Batteries Based on Sample Labels |
CN110135490B (en) * | 2019-05-10 | 2023-08-01 | 上海理工大学 | A Classification Method for Decommissioned Lithium Batteries Based on Sample Labels |
CN116401604B (en) * | 2019-05-13 | 2024-05-28 | 北京绪水互联科技有限公司 | Method for classifying and detecting cold head state and predicting service life |
CN116401604A (en) * | 2019-05-13 | 2023-07-07 | 北京绪水互联科技有限公司 | Method for classifying and detecting cold head state and predicting service life |
CN110336051A (en) * | 2019-06-05 | 2019-10-15 | 武汉理工大学 | Classification method for cascade utilization of waste solid oxide fuel cells |
CN110336051B (en) * | 2019-06-05 | 2020-12-29 | 武汉理工大学 | Classification method for cascade utilization of waste solid oxide fuel cells |
CN112966835A (en) * | 2021-02-03 | 2021-06-15 | 上海电气集团股份有限公司 | Waste lithium battery recovery management system and method |
CN112966835B (en) * | 2021-02-03 | 2023-12-29 | 上海电气集团股份有限公司 | Waste lithium battery recycling management system and method |
CN115494416A (en) * | 2021-06-18 | 2022-12-20 | 比亚迪股份有限公司 | Estimation method of battery health state |
CN113466706B (en) * | 2021-07-26 | 2022-07-29 | 上海伟翔众翼新能源科技有限公司 | Remaining life prediction method of lithium battery echelon utilization based on convolutional neural network |
CN113466706A (en) * | 2021-07-26 | 2021-10-01 | 上海伟翔众翼新能源科技有限公司 | Lithium battery echelon utilization residual life prediction method based on convolutional neural network |
CN114047444A (en) * | 2021-11-09 | 2022-02-15 | 中国南方电网有限责任公司超高压输电公司广州局 | Storage battery health condition evaluation method and device |
CN114047444B (en) * | 2021-11-09 | 2024-05-28 | 中国南方电网有限责任公司超高压输电公司广州局 | Method and device for evaluating health condition of storage battery |
CN114210591A (en) * | 2021-12-02 | 2022-03-22 | 格林美股份有限公司 | A method and device for lithium battery cascade utilization sorting based on IC curve |
CN114210591B (en) * | 2021-12-02 | 2023-12-22 | 格林美股份有限公司 | Lithium battery echelon utilization sorting method and device based on IC curve |
CN113996564A (en) * | 2021-12-02 | 2022-02-01 | 格林美股份有限公司 | Lithium battery echelon utilization and sorting method and device based on characteristic numerical analysis |
CN114669508A (en) * | 2022-03-01 | 2022-06-28 | 常州大学 | A method for single cell screening for cascade utilization of retired batteries |
CN114638834A (en) * | 2022-05-23 | 2022-06-17 | 深圳鑫茂新能源技术有限公司 | Waste lithium battery classification processing method based on image processing |
CN115921356A (en) * | 2023-01-10 | 2023-04-07 | 北京凌禾科技有限公司 | Treatment method and treatment system for waste lithium batteries |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107330474A (en) | A kind of lithium battery cascade utilization screening method | |
Xu et al. | Life prediction of lithium-ion batteries based on stacked denoising autoencoders | |
Zhou et al. | An efficient screening method for retired lithium-ion batteries based on support vector machine | |
CN110224192B (en) | Method for predicting service life of power battery by gradient utilization | |
CN111398837A (en) | Vehicle battery health state estimation method based on data driving | |
Jiang et al. | Sorting and grouping optimization method for second-use batteries considering aging mechanism | |
WO2023124220A1 (en) | Vehicle detection method and device | |
CN109472453A (en) | Power consumer credit assessment method based on global optimum's fuzzy kernel clustering model | |
Liu et al. | Big field data-driven battery pack health estimation for electric vehicles: A deep-fusion transfer learning approach | |
CN114693096A (en) | A power battery cascade utilization decision-making method and system based on scene matching | |
CN117113232A (en) | A method for identifying thermal runaway risk of lithium-ion battery packs for electric vehicles | |
CN118305097A (en) | Rapid retired power battery sorting method based on interval frequency electrochemical impedance spectrum | |
CN115508711A (en) | Electric vehicle power lithium battery residual life prediction method based on deep network model | |
Liu et al. | An enhanced sorting method for retired battery with feature selection and multiple clustering | |
CN119291516B (en) | A method for predicting the cycle life of energy storage power supply based on data analysis | |
Zhu et al. | A novel fast estimation and regroup method of retired lithium‐ion battery cells | |
Liu et al. | Prediction method for battery self-discharge voltage drop based on pre-classifier | |
CN112685461A (en) | Electricity stealing user judgment method based on pre-judgment model | |
Yu et al. | Multi-task deep learning based defect detection for lithium battery tabs | |
CN117471326A (en) | A method for dynamic inconsistency and health status assessment of lithium-ion battery packs | |
CN115099305A (en) | Battery sorting method, device, equipment and storage medium | |
CN112485694B (en) | Battery detection method and device | |
Lin et al. | Retired Battery Screening Based on Rebooted Auxiliary Classifier Generative Adversarial Network and Improved Gramian Angular Field | |
CN116520154A (en) | Performance evaluation method and system for lithium battery pole piece detection | |
CN112782603B (en) | A method for fitting the cycle life distribution of lithium-ion batteries based on interval-censored data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171107 |