摘要
以某一锂离子电池在放电结束后的端电压变化曲线为拟合对象,分别基于MATLAB、1stOpt进行非线性拟合,对比分析这两种拟合方法的优劣。相对MATLAB,基于1stOpt的非线性拟合虽然速度略低,但无需设置参数初值,代码编写简单,拟合的残差平方和仅为1.0926E-6,精度较高,实现全局最优化,避免因参数初值设置不当而引起的无法收敛和局部最优的问题。
Takes the terminal voltage change curve of a certain Li-ion battery after discharge as the fitting object,conducts nonlinear fitting based on MATLAB and 1stOpt respectively,and compares and analyzes the advantages and disadvantages of these two fitting methods.Compared with MATLAB,the nonlinear fitting based on 1stOpt has a slightly lower speed,but it does not need to set the initial value of parameters.The code is simple to write,and the residual sum of squares of the fitting is only 1.0926E-6,which has a high accuracy and achieves glob⁃al optimization,avoiding the problems of convergence and local optimization caused by improper setting of initial value of parameters.
作者
孙立珍
赵乐乐
SUN Li-zhen;ZHAO Le-le(Information Network Center,Inner Mongolia Technical College of Construction,Hohhot 010070)
出处
《现代计算机》
2020年第31期28-30,37,共4页
Modern Computer
基金
内蒙古教育厅项目(No.NJZY20254)。