Data-Driven Hybrid Internal Temperature Estimation Approach for Battery Thermal Management

Temperature is a crucial state to guarantee the reliability and safety of a battery during operation. The ability to estimate battery temperature, especially the internal temperature, is of paramount importance to the battery management system for monitoring and thermal control purposes. In this paper, a data-driven approach combining the RBF neural network (NN) and the extended Kalman ﬁ lter (EKF) is proposed to estimate the internal temperature for lithium-ion battery thermal management. To be speci ﬁ c, the suitable input terms and the number of hidden nodes for the RBF NN are ﬁ rst optimized by a two-stage stepwise identi ﬁ cation algorithm (TSIA). Then, the teaching-learning-based optimization (TLBO) algorithm is developed to optimize the centres and widths in every neuron of basis function. After optimizing the RBF NN model, a battery lumped thermal model is adopted as the state function with the EKF to ﬁ lter out the outliers of the RBF model and reduce the estimation error. This data-driven approach is validated under four di ﬀ erent conditions in comparison with the linear NN models. The experimental results demonstrate that the proposed RBF data-driven approach outperforms the other approaches and can be extended to other types of batteries for thermal monitoring and management.


Introduction
Rising crude prices of fossil fuels and worldwide concerns of environmental pollution have resulted in the increasing development of clean energy options and energy storage systems [1].The lithium-ion (Li-ion) battery has exhibited outstanding behaviours such as fast charge capability, no memory effect, long cycle life, and high energy density in comparison with other types of batteries [2].These excellent performances promote the Li-ion battery to be widely applied as the power sources and energy storage systems in many areas especially for the electric vehicles (EVs) [3,4].Among the applications of existing EVs, a proper battery thermal management system (BTMS) is a key issue to ensure efficient and safe operations for Li-ion battery use [5].Some battery states including the state of health (SOH) [6,7] and the state of charge (SOC) [8,9] are key parts for the applications of BTMS.Temperature is also a key indication for BTMS, and it affects battery behaviour in many ways such as round trip efficiency, energy and power capability, cycle life, reliability, and charge acceptance.
Estimating the battery temperature is essential for BTMS since it is substantial for managing battery temperature utilization efficiently, prohibiting the battery from being superheat or overcool [10,11].Besides, there is a significant difference between battery internal temperature and surface temperature in high-power applications (e.g., sometimes larger than 15 °C [12]).Superheated internal structure will trigger thermal runaway of the battery and result in safety problem such as electrolyte leakage, even fires and explosion [13,14].Accurate estimation for the battery internal temperature can not only prevent the battery from being damaged and further improve battery cycle life but also allow the BTMS to make reasonable control and monitoring strategies to save energy [15].Therefore, monitoring the surface temperature of the battery is not adequate enough to ensure the battery safety.Estimating the battery internal temperature is crucial for EVs' wider application.
To date, a number of approaches have been presented to obtain the battery internal temperature.One simple and direct approach is to inject the proper microtemperature sensors into the battery cell and get the internal temperature data based on these embedded sensors [16].However, this approach would cause huge cost and complexity due to the accessional manufacturing requirements and instrumentation challenges especially for the large battery packs that contain several thousand cells.
Some improved approaches for obtaining the battery temperature are to use the numerical thermal models such as the distributed battery thermal model [17] or lumpedparameter battery thermal model [18,19].Kim et al. [17] presented a model-based method combining a reducedorder thermal model and the dual Kalman filter (DKF) for battery temperature estimation under unknown convective conditions.Lin et al. [18] proposed an electrothermal model combining an equivalent-circuit electrical model and a two-stage thermal model to capture the battery surface and internal temperature.These thermal models depend on the information of the battery thermal behaviours, heat generation properties, and battery temperature boundary conditions.However, these numerical thermal models suffer from drawbacks such as the difficulty to get the required information and model parameters.
According to the electrochemical impedance spectroscopy (EIS) [20], some other methods for estimating the battery temperature have been also researched [21,22].Richardson et al. [21] proposed an approach based on the EIS to estimate the internal temperature distribution of a battery by using a radial 1-D model and measured battery surface temperature.And in [22], a thermal model together with the electrical impedance measurement, rather than with the direct battery surface temperature measurement, was also developed to estimate the battery internal and surface temperatures.All these EIS-based temperature estimation approaches can be divided into two parts: frequency design and parameter estimation.The former part means to select a proper frequency range which is thermal sensitive but insensitive to other states including SOH and SOC.The latter part means to use measured impedance based on the selected excitations for battery temperature estimation.It should be noticed that different decisions for these two parts would result in significant differences in the accuracy of battery temperature estimation.Determining the suitable frequency and EIS parameters is also difficult, while the selections of these two parts play important roles in designing EIS.
Establishing data-driven models to estimate the battery states based on the artificial intelligence methods including neural networks (NN) [23][24][25] and support vector machines (SVM) [26,27] has become another hot research area.These data-driven approaches are free of background knowledge and can be applied to capture the highly nonlinear dynamic behaviours of a battery, which are caused by the complicated internal electrochemical reactions.However, to our knowledge, these data-driven approaches are primarily applied to estimate the battery SOH or SOC, but very few attempts have been done for the battery temperature estimation, especially for the internal temperature.The battery internal temperature is also a crucial internal state because it affects the safety and behaviours of a battery directly.Our early research [28] proposed a linear NN model-based approach to estimate Li-ion battery internal temperature.Although the internal temperature has been successfully estimated by training the NN model, the results are still less satisfactory in some temperature conditions due to the poor generalization ability of the linear NN model.
In this paper, a hybrid RBF NN-based approach together with the EKF is presented to estimate the battery internal temperature.The battery dynamics is a complicated process characterized by nonlinearity, uncertainty, and multivariable coupling, and the RBF NN model is used to capture and describe the dynamics of the battery.Elements including terminal voltage, battery current, and surface temperature are selected as the RBF inputs, while the internal temperature of the battery is selected as the output of the RBF NN model.In order to remove the redundant terms which may lead to overfitting, a TSIA [29] is first developed to determine the most significant input terms.And the number of the hidden layer neurons of RBF is also determined by the FRA [30] in the forward selection stage of the TSIA, where the structure of the RBF NN model is optimized.In order to get the optimized parameters in the radial kernel function, a newly developed meta-heuristic algorithm named TLBO [31] is then developed to optimize the centres and widths in every neuron of basis function.After that, a battery lumped thermal model is adopted as the state function with the EKF to filter out the outliers in the RBF NN estimation, aimed at reducing the estimation errors of the RBF NN model.
The remainder of this paper is organized as follows.The detailed preliminaries of the RBF NN, the linear NN, the TSIA, the TLBO procedure, and the battery lumped thermal model are presented in Section 2. Section 3 illustrates the complete TSIA-based RBF NN procedure for estimating the battery internal temperature, followed by the EKF to reduce the estimation errors.Section 4 gives the estimation results of our hybrid approach, and the effectiveness of the proposed RBF NN EKF-based approach is analysed in comparison with the solo RBF NN approach, the solo linear NN approach, and the linear NN EKF-based approach.Finally, Section 5 concludes the paper.

Preliminaries
This section presents the preliminaries of the proposed method, including the RBF NN, the TSIA, the TLBO procedure, and the battery lumped thermal model.In order to analyse the effectiveness of the hybrid approach with other types of the NN model, the linear NN is also reviewed briefly in this section.The neural network is the artificial intelligence technology which has been widely adopted in the system modelling area [32].
The RBF NN is a forward network model with good generalization capacity [33].It has a strong approximation ability to identify the nonlinear system with the simple structure and is widely used as a strong computational tool in the state estimation area.For the RBF NN, the activated function of the hidden layer neurons is the radial basis function, and every neuron has two key parameters to describe the function's centre and its width, respectively.The structure of the typical RBF NN is illustrated in Figure 1.The Gaussian function is the former of the ith RBF hidden neuron illustrated as follows: where c i and σ i are the centre and width of the ith hidden neuron, respectively, in the hidden layer.Thus, a general multi-input and single-output (MISO) RBF NN can be formulated as where y t and X t stand for the model output and input vector at time instant t, respectively.ω i is the output weight for the ith hidden neuron with a total number of n neurons.e t stands for the RBF modelling error.A set of j samples is applied for training the RBF model; then, the output is shown as and W = ω 1 , ω 2 , … , ω n Defining the actual system output as Y = y 1 , y 2 , … , y n , then the RBF modelling error function can be given as In order to minimize the error function in (4) after fixing the centres and widths in the RBF NN, the least square method can be applied to determine the linear output weights W as So for constructing the RBF NN model, one of the main challenges is the input selection.For system modelling, some data sets would be irrelevant or have little effect on the output; thus, the inclusion of them may result in overfitting problem and high computational cost [34].Removing these redundant input terms is essential to improve the accuracy and generalization capacity of the NN model.On the other side, the number of neurons in the hidden layer also plays important role in the accuracy of the NN model.Too many neurons will lead to a risk of overfitting and bad generalization capacity, while too few neurons will also cause the underfitting problem.Determining the number of hidden neurons which can be adequate enough to cover the space of the input vector is also a difficult problem.Some approaches can be adopted to determine the optimal input terms for the RBF NN and quantify the number of hidden neurons, but there is no general solution.The TSIA is applied to select the proper input terms and determine the number of the hidden layer neurons of RBF in this study.The principles of the TSIA and the corresponding optimizing procedure are described in Sections 2.2 and 3.1, respectively.
2.1.2.Linear Neural Network.In order to demonstrate the effectiveness of the proposed hybrid approach using the RBF NN, a linear NN is also adopted and compared.The typical structure of the linear NN with m dimension inputs and one output is shown in Figure 2. It consists of a mass of simple neurons.The main elements of the linear NN can be divided into five parts: (1) the input vector X = x 1 , x 2 , x 3 , … , x m T , (2) the weights between the input and the hidden layer w 1 , w 2 , w 3 , … , w m , (3) the summation unit Z, (4) the continuously differentiable transfer function f x , and (5) the output y.

Input layer
Hidden layer Output layer

Complexity
As shown in Figure 2 In this study, the transfer function in the linear NN model is selected as f x = x for the battery internal temperature estimation.

Principle of a Two-Stage Stepwise Identification
Algorithm.The TSIA is a method to both optimize the model structure and estimate the model parameters [29].In this study, ( 2) is approximated with a polynomial nonlinearautoregressive-exogenous (NARX) model, and the input selection of the NN model can be transformed to a procedure of model term selection; then, the TSIA is adopted to choose the most significant input terms.Besides, the optimal number of hidden layer neurons is also determined by the forward selection step named FRA in the TSIA.
The TSIA for input selection can be divided into a forward selection step and a second refinement step.The forward selection is similar to a FRA researched in [30].For this step, a recursive matrix M k and a residual matrix R k are first introduced and defined as where P k = p 1 , p 2 … , p k includes the first k selected terms of the full regression matrix.R k is the matrix term with the following attractive properties [30]: According to (10), any changes in the selection order of the regressor terms p 1 , p 2 , … , p k would make no difference to the residual matrix R k .This property is able to decrease the computation cost for the second refinement step.Suppose E k means the square error after determining k terms which is also the cost function for the forward selection step, and it can be defined as According to (11), the cost function decreases after adding new k + 1th term.The net contribution of p k+1 will be calculated as To further simplify calculation and reduce the computational cost, two quantities are denoted as 13 We can define an auxiliary matrix A ∈ R n×n and a vector b ∈ R n×1 with elements given by Then, the net contribution of an added term to decrease the cost function value is denoted as By this method, the terms from the candidate pool will be chosen continuously for which term makes the largest contribution in the forward selection stage.The sum squared error (SSE) is selected as the terminal criterion for the selection process, which means that the forward selection process would stop when the total net contribution of the selected terms is larger than a predetermined value.
After that, the procedure will move to the second refinement step, which is aimed at eliminating the insignificant input selection terms caused by the constraint in forward construction.
Suppose a selected item p k is shifted to the nth position in P k .Two adjacent terms will be interchanged repeatedly as where * indicates the updated value.Then, the R q will be updated using The following terms will be also updated at the same time: For the matrix A, the qth and the q + 1 th columns with the elements from row 1 to q − 1 will be modified by The qth row with elements from column q to column n is also modified according to a q,q , j = q, a q,q+1 , j = q + 1, a q+1,j + a q,q+1 a q,j a q,q , j ≥ q + 2 19 And the q + 1 th row a q+1,j for j = q + 1, … , n is also modified according to For the vector b, the qth and the q + 1 th elements will be only changed by This updated process will continue until the kth term is set to the nth position; then, the shifted new regression matrix and the residue matrix series become As the term has been moved to the nth position in P k , contributions of the moved term will be reviewed by (15).The moving and comparing process is repeated until all of the selected terms become more significant than those remaining in the candidate term pool.Finally, the satisfactory terms will be chosen to constitute the optimal NN inputs.

Principle of Teaching-Learning-Based Optimization.
The TLBO algorithm is a population-based method that mimics the nature of a typical teaching and learning procedure in a class [35,36].The optimization procedure can be divided into two parts, namely, the teaching stage and learning stage.For the teaching stage, a teacher will be first selected in every learning generation and improve the knowledge of students.
Then, for the learning stage, students will gain potential useful information from a mutual interaction with counterparts.
The conventional training process for the RBF NN applies the stochastic gradient method to adjust the nonlinear parameters including centres and widths in the RBF NN.The primary drawback by using the stochastic gradient method is that the training method is easily prone to being trapped in a local minimum.The TLBO is applied to train the RBF NN by optimizing the RBF centre c i and width σ i in this study.It is convenient and easy to adopt TLBO for the parameter optimization of the RBF NN since there is no algorithm-specific parameter that needs to be adjusted by a user during algorithm implementation.The typical framework of TLBO is shown in Figure 3.
2.4.Principle of a Battery Lumped Thermal Model.In order to use the EKF to filter out the outliers of the estimation results, a proper battery model which is capable of describing the battery thermal behaviour needs to be selected as the state function.Because the simple structure and parameters are easy to be identified, a battery lumped thermal model is adopted with the EKF to filter out outliers in this study.
Assuming that the battery surface and internal temperatures are both uniform, the battery has a uniform distribution of heat generation.Heat conduction is the only heat transfer form between the ambience and the battery surface and also between the battery interior and the surface, and a two-stage battery cell thermal model is then described as [37,38] where I stands for the battery current.T in and T sh are the battery interior temperature and shell temperature, respectively.T amb is the ambient temperature of the battery.R is the internal resistance of the battery.Both C 1 and C 2 stand for the heat capacities.k 1 is a thermal dissipation rate to represent the heat conduction happening between the battery interior and surface, while k 2 is another thermal dissipation rate to stand for the heat conduction between the ambience and battery surface [39].Supposing dT k + 1 /dt = T k + 1 − T k /T s , the battery lumped thermal model is then further denoted as

24
where T s stands for the sampling time period.

RBF NN Model-Based Internal Temperature Estimation
The RBF NN model is first trained and optimized by the TSIA and TLBO, respectively.Then, the well-designed RBF 5 Complexity NN model is applied for the internal temperature estimation of the Li-ion battery.The terminal voltage V, battery current I, and surface temperature T sh are selected as the elements of the RBF NN inputs, and the battery internal temperature T in is chosen as the only one neuron of the NN output layer.On the one hand, T sh is an important index to describe the battery thermal behaviour and has the direct impacts on T in .On the other hand, there is a nonlinear relationship between the V and T in .Besides, the battery current I will result in the battery heat generation and further affects T in .Therefore, three essential factors including T sh , V, and I are chosen as the input elements for the RBF NN model to estimate T in .
The overall flow diagram for the TSIA-based RBF NN internal temperature estimation approach is illustrated in Figure 4.The proposed hybrid T in estimation approach is described summarily in the following steps: Step 1. Collect the battery operating data by the battery operation platform.The data includes the battery terminal voltage, current, surface temperature, and internal temperature.
Step 2. Normalize all of the battery operating data.
Step 3. Prepare the data candidate pool for the RBF NN training.The data for the V, I, and T sh are selected as the candidate inputs, and the T in is the output for the RBF training.
Step 4. Use the TSIA to determine the significant input terms for RBF NN and the FRA in the first stage of the TSIA to optimize the numbers of hidden layer neurons of RBF; then, optimize the structure of the RBF NN.
Step 5. Use the TLBO to optimize the centres and widths in the RBF NN.The corresponding weights between RBF hidden and output layers are calculated by the least square approach.
Step 6.When the optimizing procedure is finished, save the centres, widths, and the corresponding weights between hidden and output layers in the RBF NN model.
Step 7. Use the trained RBF NN model for the battery T in estimation.An identified lumped thermal model is combined with the EKF to filter out the outliers and improve the model estimation accuracy.
3.1.Structure Optimization of the RBF NN Model.In this study, the TSIA approach is used firstly by calculating the net contribution of every added input term and then the most Initialize a number of students Calculate the mean X mean For each student, update X new = X old + rand ⁎ (X teacher − X mean ) Is X new better than X old ?
Is X new better than X old ?
Is X i better than X j ?Accept Reject Select two random student X i and X j 6 Complexity significant inputs are selected.After that, the forward selection stage which is also named FRA in the TSIA method is applied to determine the proper number of hidden layer neurons of the RBF NN; then, the structure of the RBF NN can be optimized.
The detailed procedure to determine the construction of the RBF NN for estimating the battery T in by using the TSIA method is shown as follows.
(1) Select the significant terms for the RBF NN input.
(a) Formulate the candidate input term pool that consists of T sh , V, I, and their delays T sh t − k sh , V t − k v , and I t − k i .(k sh , k v , and k i are the delays of the surface temperature, terminal voltage, and battery current, resp.)(b) For the forward selection stage, compute the input term net contributions according to (15) and select the largest contributors until the terminal criterion SSE is achieved.
(c) For the second refinement stage, move and compare the selected terms to eliminate the insignificant input selection terms.These processes are repeated until no more reduction can be achieved.
(2) Determine the optimal number of hidden neurons.
After choosing the satisfactory input terms for the RBF model, the contributions of the hidden neurons need to be calculated.The selected input terms will form a new term pool.And the SSE can provide an effective criterion to determine the RBF hidden neurons by using the FRA.This process will continue until the expected total net contribution value of the added hidden neurons is achieved.Then, the number of the hidden layer neurons is optimized as well as the construction of the RBF NN.

Parameter Optimization of the RBF NN Model.
After determining the construction of the RBF NN model by the TSIA method, the nonlinear parameters including c i and σ i in the radial kernel function need to be optimized by the TLBO algorithm.The root mean squared error (RMSE) is selected as the fitness function to be minimized, and it can be expressed as follows: where ŷ is the value by estimation and y m stands for the actual data by measurement.The initial particles of TLBO are obtained by randomly assigning values for c i and σ i .A better set of nonlinear parameters is determined through the TLBO process; then, a more accurate model with lower RMSE will be obtained.The detailed optimization procedure for RBF nonlinear parameters by TLBO is described as follows: (1) TLBO initialization: (2) Teaching stage: (a) The values of the fitness function f for all solutions are computed to determine the best result as the teacher X teacher .
(b) The mean X mean of the population is calculated column-wise.
(c) The teacher will try to move the mean from X mean to X teacher .Then, the difference DM t between X mean and X teacher is calculated.
(d) The obtained difference DM t is added to the current solution to improve the knowledge of learners.
(e) The better solution in learners after the effect of the teacher is then accepted.(b) Select better solutions after the interaction of students.
(c) Go back to the teaching stage until the final generation is reached or the defined criterion is met.
3.3.Application of the EKF to Improve Accuracy.After determining the construction and the corresponding parameters, the well-trained NN model is applied to estimate the battery T in .An EKF is also used to filter out the outliers of the NN model output, aimed at reducing the errors and at improving the estimation accuracy.The summary process of the EKF is depicted in Table 1.The battery T in outputs from the NN model are determined as the noisy measurement to develop a normal battery state-space model for the estimation of the EKF.Therefore, the state function is the battery lumped thermal model.And the measurement function consists of the welltrained NN model.The target of the EKF is to filter out the outliers in the NN output and decrease the estimation errors [40].The state-space model for the EKF is described as follows: State function: Measurement function: where NN k stands for the T in estimated by the NN model at an instant period k. υ is the state noise, while ω is the measurement noise.
The developed approach which consists of the welltrained NN model and EKF for battery T in estimation is shown in Figure 5.

Experiments and Results
4.1.Battery Data and Platform.The experiment data of the Li-ion battery were tested from our EV lab in Queen's University Belfast.These data are applied for the training and validation of the NN model.The operation platform of the battery consists of a charger to charge the battery, an electric load to discharge the battery, and a thermal cabinet to control the testing environment, as shown in Figure 6 [41].The battery applied for testing in our lab is a prismatic LiFePO 4 -graphite battery.The nominal capacity and the operation voltage of the battery are 10 Ah and 3.2 V, respectively.Some charging and discharging tests under different current levels are operated to obtain the corresponding data including I, V, T sh , and T in .T amb is set as 24 °C by the thermal cabinet for these tests.
According to the proper normalization of data, the training procedure of the NN model will be more efficient with higher robustness.Therefore, before training the NN model, the data will be normalized by where x max and x min are the upper and lower limits for the data vector x of the NN.When validating the model accuracy, the testing data will be also scaled by the same x max and x min adopted in the training step.

Identification of the Battery Lumped Thermal Model.
Before filtering out the outliers and decreasing the output noises in the NN model by the EKF algorithm, the battery lumped thermal model (state function) should be first identified based on the experimental data.The self-heating experimental data are adopted for battery thermal model identification.The constant parameters are identified by the least square method.Details about the corresponding identification procedure can be found in our previous work [41] and will not be presented due to page limit.Under our laboratory test conditions [41], it is found that the internal resistance is mainly affected by T in and it only increases slightly at a low SOC state.Therefore, we consider the internal resistance R a function of the battery internal temperature T in .The relationship for the internal resistance with different internal temperatures can be described as R = R T in and is shown in Table 2.Then, for different T in conditions, the corresponding R will be calculated by the linear interpolation approach.
, where w k and v k are independent, zero-mean Gaussian noise processes.Definitions: After R is obtained, the constant parameters of the battery lumped thermal model will be identified by the least square method and are illustrated in Table 3.Then, the identified thermal model is determined as the state function with the EKF to filter outliers.

Determination of the Neural Network. The candidate input pool for the battery NN model is composed of
and I k − k i , where T sh k , V k , and I k stand for the surface temperature, terminal voltage, and current of the battery at a time instant k, respectively.k sh , k v , and k i denote the delay factors of the corresponding elements, respectively.In the experiment, the delay factors are all fixed as 4.Then, all varieties with delay up to 4 (the total number is 15) comprise the candidate pool.The elements in the candidate pool need to be evaluated by the TSIA approach.
According to the TSIA approach, 7 terms from the candidate pool that make the most significant contributions to reduce the SSE are chosen as the input terms of the battery NN model, including After selecting the satisfactory input terms, the number of the hidden neurons in the RBF NN model needs to be determined.The contributions of the hidden neurons are computed by the algorithm also named FRA in the forward selection stage of the TSIA.This process continues until the SSE criterion is achieved.In this experiment, the selected 7 inputs form a new term pool for determining the optimal number of neurons in the hidden layer.The initial number of the RBF neurons is preset as 25, and the stopped SSE percent value is set as 1e −2 which means that the hidden neuron determination process is terminated on the condition that the total contribution of the selected hidden neurons is larger than the tolerance percent value 1 − 1e −2 .Then, the optimal number of neurons in the hidden layer of the RBF NN is finally determined as 12, while the construction of the RBF NN model and the corresponding generalization capability are also determined and optimized.After that, the number of generations G m and the number of populations N p for TLBO are set to 50 and 20, respectively.The TLBO algorithm is then adopted to optimize the centres and widths in every neuron of basis function, while the linear output weights W between the RBF hidden layer and output layer are calculated by the least square approach shown in (5).data, aimed at validating the robustness and the generalization performance of the well-trained NN model.All these testing data are obtained under 24 °C constant ambient temperature.Then, the effectiveness of the RBF NN model is compared with that of the linear NN model.
Figure 7 illustrates the validation results of the battery T in estimation by the solo linear NN model under four different test cases.Figure 7(a) shows the test data with T in that varied in a relatively large range under the charging condition denoted as LC − T in , and Figure 7(b) illustrates another test data with T in that varied in a small range under the charging condition denoted as SC − T in ; Figure 7(c) shows the discharging test data with T in that varied in a relatively large range denoted as LD − T in , while Figure 7(d) illustrates another discharging test data with T in that varied in a small range denoted as SD − T in .Because the temperature variation in the battery is a relatively slow process in comparison with terminal voltage and battery current, which means that battery temperature cannot change dramatically within a very short sample period (e.g., 1 s), therefore, the sampling time T s in all these data are set as 4 s.The red line stands for the estimated battery T in by the solo linear NN model, while green line denotes the measured battery T in by the thermocouple in the experiment.The estimation errors for these four validated data by using the solo linear NN model are shown in Table 4.It can be seen clearly that for charging conditions, the RMSE is within 0.  As discussed in the previous section, the trained RBF NN model is also applied for battery internal temperature estimation.Figure 8 illustrates the validation results by using the solo RBF NN model to estimate the battery T in under four test cases.It can be seen from the figures that the trained RBF NN model captures the evolution of most T in for all conditions.Table 5 illustrates the estimation errors by using the solo trained RBF NN model.In charging conditions, the RMSE reduces to 0.0475 and 0.0193 for the LC − T in and SC − T in , respectively, which is more accurate than the results by using the solo linear NN model.The errors are less than 0.2 °C for most temperature points except a few inflection points with maximum errors up to 0.4 °C.In discharging conditions, the RMSE for the cases of LC − T in and SC − T in are only 0.0939 and 0.0367, while the maximum errors reduce to 0.366 °C and 0.192 °C, respectively.Validation results demonstrate that the established RBF NN model captures the battery T in behaviours with great accuracy and robustness except a few fluctuant noises happening in inflection points.As discussed in Section 3.3, the EKF is adopted to filter the outliers in the battery NN models.Figure 9 illustrates the filtering results by combining the linear NN model and EKF under four different conditions.It is clear that the fluctuant outliers can be filtered out by using the EKF.Table 6 illustrates the estimation errors for four validation data by combining the linear NN model and the EKF algorithm.Both the RMSE and maximum errors are reduced by using the combined method compared with the solo linear NN model estimation.For the result of LC − T in validation, the RMSE is 0.1801 while the maximum error reaches 0.458 °C by the solo linear battery NN model.After using the EKF to filter out the outliers, the RMSE decreases to 0.0809 that is nearly half of the former, while the maximum error reduces to 0.267 °C.For the result of SC − T in validation, the RMSE is 0.1262 and the maximum error is 0.221 °C by using the solo linear NN model.By combining the linear NN model and the EKF algorithm, the RMSE and the maximum error both decrease to 0.0746 and 0.202 °C, respectively.In discharging conditions, the RMSE and the maximum error are 0.5251 and 1.242 °C, respectively, for the LD − T in after using the EKF, while the RMSE and the maximum error are 0.1246 and 0.297 °C, respectively, for the SD − T in .Therefore, the approach combining the linear NN model and the EKF algorithm is effective in filtering out the outliers and in reducing the T in estimation error in the linear NN model.It should be known that both the RMSE and maximum error of the validation results will decrease by using the EKF, but the T in estimated results also seem  The EKF is also applied to verify the T in estimation performance of the RBF NN model.The battery T in estimation results for four different cases by using the approach combining the RBF NN model and the EKF are shown in Figure 10.The corresponding estimation errors are also illustrated in Table 7.It can be seen from Figure 10 that the EKF captures the evolution process of battery T in for all cases, and most fluctuant noises are successfully filtered out by the EKF algorithm.In charging conditions, the results show that the RMSE between actual T in and estimated T in for LC − T in is 0.0407-an improvement by 14%, and that for SC − T in is 0.0154-an improvement by 20%, relative to the solo RBF NN model.The maximum error for the EKF could be within 0.25 °C.In discharging conditions, the RMSE for LD − T in after the EKF is 0.0647-an improvement by 31%, and that for SD − in after the EKF is 0.0294-an improvement by The maximum errors could be within 0.25 °C, reflecting that the hybrid approach combining the RBF NN model and EKF has higher T in estimation accuracy compared with the solo RBF NN model.Therefore, combining the well-trained RBF NN model and the EKF should be an effective method to filter out the fluctuant noises and reduce the errors for battery T in estimation.However, a more accurate T in estimation using the EKF requires accurate parameters for a battery state model, which limits its wide application.So to select the hybrid approach combining the trained RBF NN model and EKF or just the solo trained RBF NN model for battery T in estimation should be highly dependent on the required accuracy for battery application.

Conclusion
In this paper, a data-driven approach is developed in the application of estimating the internal temperature for Li-ion battery thermal management.This novel approach combines a well-trained RBF NN model and the EKF algorithm, which is distinctively different from existing methods.In order to capture the dynamics of the battery, multiple measurements including battery current, terminal voltage, and surface temperature are chosen as the inputs of the RBF NN, while battery internal temperature is chosen as the output.In order to determine the suitable inputs and remove the superfluous terms to prevent overfitting and decrease the cost of computation, a TSIA is first adopted to select the most significant inputs.And the number of RBF hidden neurons is also determined by the FRA in the forward selection stage of the TSIA, where the structure of the RBF NN is optimized to achieve satisfied generalization capability.To reduce the estimation errors and further increase the accuracy of battery T in estimation, a lumped thermal model is applied as the state function with the EKF to filter out the outliers in the NN model.The experiments demonstrate that the proposed RBF NN-based hybrid T in approach achieves the reliable and accurate estimation of the battery internal temperature under different conditions.By using the EKF, the RMSE of estimation is within 0.07, while the maximum error is less than 0.25 °C for various testing conditions.
The contributions of this work are mainly threefold: (1) a two-stage stepwise identification algorithm is adopted to select the proper inputs and determine the optimal number of the hidden neurons of the RBF NN, where the structure of the RBF NN model is optimized to achieve satisfactory performance.(2) A novel state-space model combining the lumped thermal model and the well-trained battery NN model is proposed.Moreover, the EKF algorithm is applied to filter out the outliers of the solo NN model and decrease the estimation errors, and the accuracy for battery internal temperature estimation under different conditions is improved.(3) The NN is a data-driven approach without the requirement of any battery background knowledge, so the developed hybrid approach is capable of estimating other types of batteries conveniently to achieve reasonable thermal management.
(a) Set the numbers of generations G m , population sizes N p , maximum and minimum bounds of the solutions St max and St min .(b) Randomly generate the particles in which each hidden neuron can contain two unknowns c i and σ i .

4. 4 .
Validation Results of the Hybrid Approach.In this study, four various testing data sets are conducted as the validation

Figure 5 :Figure 6 :
Figure 5: The developed approach combines the NN and EKF to estimate T in .

Figure 7 :
Figure 7: Validation results for T in estimation by using the solo linear NN model: (a) LC − T in ; (b) SC − T in ; (c) LD − T in ; (d) SD − T in .

Figure 8 :
Figure 8: Validation results for T in estimation by using the solo RBF NN model: (a) LC − T in ; (b) SC − T in ; (c) LD − T in ; (d) SD − T in .

Figure 9 :
Figure 9: Validation results for T in estimation by combining the linear NN and EKF: (a) LC − T in ; (b) SC − T in ; (c) LD − T in ; (d) SD − T in .

Figure 10 :
Figure 10: Validation results for T in estimation by combining the RBF NN and EKF: (a) LC − T in ; (b) SC − T in ; (c) LD − T in ; (d) SD − T in .

Table 1 :
Summary process of the EKF.

Table 2 :
Battery R under different T in .

Table 3 :
Constant thermal model parameters.

Table 4 :
Estimation errors for four validation data by using the solo linear NN model.T in .These errors primarily appear with the form of fluctuant noises especially in some inflection points.In discharging conditions, the RMSE is 0.5645 while the maximum error is over 1.3 °C for the LD − T in , which is not accurate enough for estimating the battery T in .Besides, more fluctuant noises appear for the SD − T in ; this result illustrates that estimating the battery T in using only the solo linear NN model may lose its generalization ability under different conditions.

Table 5 :
Estimation errors for four validation data by using the solo RBF NN model.

Table 6 :
Estimation errors for four validation data by combining the linear NN and EKF.

Table 7 :
Estimation errors for four validation data by combining the RBF NN and EKF.