The embodiment of the invention discloses a
lithium battery capacity prediction method based on short-term charging data and an enhanced
whale optimization
algorithm, which can accurately predict the battery capacities of different types of batteries, improve the capacity prediction accuracy and reduce the training data volume at the same time. The method comprises the steps that in the cyclic charging and discharging test process of different types of batteries, charging and discharging data of the batteries are collected and recorded in real time, short-term charging data are extracted, and the charging and discharging data comprise charging time,
voltage, current and capacity data; the short-term charging data is obtained by performing spline interpolation
processing on the charging
voltage and current data within a preset short-term charging duration; based on an enhanced
whale optimization
algorithm, battery aging characteristics are extracted from short-term charging data through iterative optimization, and the enhanced
whale optimization
algorithm is obtained by introducing a
pooling mechanism, a migration search strategy, a preferential selection search strategy and a surrounding prey search strategy into a classic whale optimization algorithm. The battery aging characteristic is the
voltage increment of the voltage interval corresponding to the charging time interval with the strongest correlation with the
battery capacity; and for different types of batteries or the same type of batteries, charging and discharging data and aging characteristics are input into a
Gaussian process regression model to predict a
battery capacity prediction value, and the
Gaussian process regression model is constructed based on a
Gaussian process regression algorithm.