An Adaptive Square Root Unscented Kalman Filter Approach for State of Charge Estimation of Lithium-Ion Batteries

An accurate state of charge (SOC) estimation is of great importance for the battery management systems of electric vehicles. To improve the accuracy and robustness of SOC estimation, lithium-ion battery SOC is estimated using an adaptive square root unscented Kalman filter (ASRUKF) method. The square roots of the variance matrices of the SOC and noise can be calculated directly by the ASRUKF algorithm, which ensures the symmetry and nonnegative definiteness of the matrices. The process values and measurement noise covariance can be adaptively adjusted, which greatly improves the accuracy, stability, and self-adaptability of the filter. The effectiveness of the proposed method has been verified through experiments under different operating conditions. The obtained results were compared with those of extended Kalman filter (EKF) and unscented Kalman filter (UKF) , which indicates that the ASRUKF method provides better accuracy, robustness and convergence in the estimation of battery SOC for electric vehicles. The proposed method has a mean SOC estimation error of 0.5% and a maximum SOC estimation error of 0.8%. These errors are lower than those of other methods.


Introduction
A battery's state of charge (SOC), which describes the charge remaining in the battery, is an important parameter in the process of battery utilization.As one of the important decision-making factors involved in the battery management systems of electric vehicles, accurate estimation of the SOC plays a crucial role in improving the utilization of batteries' capacity and energy.Accurate and reliable SOC estimation can prevent over-charging and over-discharging which can extensively damage batteries and affect battery life span [1,2].
Several methods for estimating SOC have been demonstrated, which improve the performance of SOC estimation in battery management systems.The ampere-hour method is the most popular method being used to estimate battery SOC [3].However, the ampere-hour method has the shortcoming of accumulating errors over time, and its estimation of SOC is likely undermined by measurement errors and noise.Feng, F and Tong, S describe a mathematical model for estimating SOC by modifying open-circuit voltage parameters, and the SOC estimation error of this method is less than 3% [4,5].However, the battery needs to stand for a long time which is not conducive to practical application especially in electric vehicles.Neural network algorithms have also been used to estimate SOC [6][7][8][9][10].However, a neural network requires a large amount of training data, while data acquisition and screening can introduce estimation error.The extended Kalman filter (EKF) is a popular approach used to estimate battery SOC [11][12][13][14][15][16].The underlying principle of EKF is linearizing a system model and filter through a Kalman filter (KF).However, the linearized approximations of Jacobian matrices used in EKF increase the implementation complexity.Additionally, its error convergence is sensitive to initial state estimation error, and inaccurate Jacobian matrix estimation may lead to filter divergence and affect stability.The use of a sliding mode observer can improve the accuracy and robustness of SOC estimation [17][18][19][20], but its performance deteriorates when there is noise in the output.The unscented Kalman filter (UKF) has a higher order of accuracy in estimating the mean and the error covariance of a state than EKF [21][22][23].UKF can also be used without calculating the Jacobian matrices to reduce the computational effort of the algorithm.However, the use of process and measurement noise covariance is critical to filter performance and stability.Uncertainty in process and measurement noise has a crucial effect on standard UKF and may result in significantly degraded performance.If the process noise covariance and the measurement noise covariance are too small at the beginning of the estimation process, the uncertainty tube around the true value will tighten, resulting in a biased solution.If the process noise covariance and the measurement noise covariance are too large, filter divergence will result [24].Therefore, adaptive extended Kalman filter (AEKF) and adaptive unscented Kalman filter (AUKF) have been studied [25][26][27][28] to improve the accuracy of EKF-based SOC estimation by adaptively updating the process and measurement noise covariance.
In this paper, we combine the idea of square root filter and a new adaptive unscented Kalman filter (ASRUKF) algorithm based on improved Sage-Husa estimation to estimate the SOC of a lithium-ion battery for electric vehicles.This method adaptively adjusts the values of the process and measurement noise covariances in the SOC estimation process to improve the accuracy of SOC estimation.It also ensures non-negative qualitative and symmetry of the matrices when the process noise variance matrix and the measured noise variance matrix are calculated, which ensures that SOC estimation results will not diverge.Experimental results show that the ASRUKF algorithm performs well in SOC estimation.The proposed method was compared with EKF and UKF approaches.The results show that it can estimate the SOC of lithium-ion battery more accurately than the other two methods.Moreover, the ASRUKF algorithm improves the robustness and convergence during SOC estimating process.The outline of this paper is as follows: Section 2 introduces the lithium-ion battery model and parameter identification.Section 3 presents the ASRUKF algorithm.Section 4 presents experimental verification and analysis.Section 5 provides a conclusion.

Lithium-Ion Battery Modelling
A battery's dynamic characteristics should be well reflected by an uncomplicated lithium-ion battery model that can be easily used in engineering.Thus, a second-order RC equivalent circuit model was chosen as a model for a lithium-ion battery, as shown in Figure 1.
linearizing a system model and filter through a Kalman filter (KF).However, the linearized approximations of Jacobian matrices used in EKF increase the implementation complexity.Additionally, its error convergence is sensitive to initial state estimation error, and inaccurate Jacobian matrix estimation may lead to filter divergence and affect stability.The use of a sliding mode observer can improve the accuracy and robustness of SOC estimation [17][18][19][20], but its performance deteriorates when there is noise in the output.The unscented Kalman filter (UKF) has a higher order of accuracy in estimating the mean and the error covariance of a state than EKF [21][22][23].UKF can also be used without calculating the Jacobian matrices to reduce the computational effort of the algorithm.However, the use of process and measurement noise covariance is critical to filter performance and stability.Uncertainty in process and measurement noise has a crucial effect on standard UKF and may result in significantly degraded performance.If the process noise covariance and the measurement noise covariance are too small at the beginning of the estimation process, the uncertainty tube around the true value will tighten, resulting in a biased solution.If the process noise covariance and the measurement noise covariance are too large, filter divergence will result [24].Therefore, adaptive extended Kalman filter (AEKF) and adaptive unscented Kalman filter (AUKF) have been studied [25][26][27][28] to improve the accuracy of EKF-based SOC estimation by adaptively updating the process and measurement noise covariance.
In this paper, we combine the idea of square root filter and a new adaptive unscented Kalman filter (ASRUKF) algorithm based on improved Sage-Husa estimation to estimate the SOC of a lithium-ion battery for electric vehicles.This method adaptively adjusts the values of the process and measurement noise covariances in the SOC estimation process to improve the accuracy of SOC estimation.It also ensures non-negative qualitative and symmetry of the matrices when the process noise variance matrix and the measured noise variance matrix are calculated, which ensures that SOC estimation results will not diverge.Experimental results show that the ASRUKF algorithm performs well in SOC estimation.The proposed method was compared with EKF and UKF approaches.The results show that it can estimate the SOC of lithium-ion battery more accurately than the other two methods.Moreover, the ASRUKF algorithm improves the robustness and convergence during SOC estimating process.The outline of this paper is as follows: Section 2 introduces the lithium-ion battery model and parameter identification.Section 3 presents the ASRUKF algorithm.Section 4 presents experimental verification and analysis.Section 5 provides a conclusion.

Lithium-Ion Battery Modelling
A battery's dynamic characteristics should be well reflected by an uncomplicated lithium-ion battery model that can be easily used in engineering.Thus, a second-order RC equivalent circuit model was chosen as a model for a lithium-ion battery, as shown in Figure 1.
The second-order RC equivalent circuit model.
In Figure 1, U 0 represents the terminal voltage of the battery, U oc represents the battery open-circuit voltage, U R represents the voltage of internal resistance, R represents the battery's internal resistance, R 1 and C 1 represent the diffusion resistance and the diffusion capacitance, respectively, and R 2 , C 2 represent the concentration polarization resistance and the concentration polarization capacitance, respectively.U 1 and U 2 are the polarization voltages.According to the model, a mathematical model equivalent to the battery circuit can be obtained as follows: SOC can be expressed as: where Q N represents the rated capacity of the battery.
The relationship between the open-circuit voltage and the SOC is described by combining the Shepherd model and the Nerst model [29] as: where k 0 , k 1 , k 2 , k 3 and k 4 are the parameters to be identified.Discrete state space equations are obtained after linearizing and discretizing the battery equivalent model.The battery state space equations are: The system matrix is: where The state space variable is The process error w, and measurement error υ, are zero-mean white noise processes with covariance matrices Q and R, respectively.

Parameter Identification
Then a pulse discharge experiment was used to obtain battery model parameters.The pulse discharge current is 0.5 C. The battery was discharged each 10% SOC and then standing for 30 m.The battery current causes a voltage response from which the battery model parameters can be obtained, which is shown in Figure 2. The voltage U 0 is reduced when the discharge pulse current is loaded, which is mainly caused by ohmic resistance.The ohm internal resistance voltage is denoted by U R .In a continuous discharge process, the voltage drops slowly as a result of a polarization reaction, which corresponds to R 1 , C 1 and R 2 , C 2 .The polarization voltage is denoted by U p = U 1 + U 2 .The voltage rises (∆U 2 ) as the discharge current is removed, which is the same value as ∆U 1 .Finally, a steady voltage, which is related to the SOC, is the open circuit voltage of the battery at this time.The voltage is denoted by U oc .

Parameter Identification
Then a pulse discharge experiment was used to obtain battery model parameters.The pulse discharge current is 0.5 C. The battery was discharged each 10% SOC and then standing for 30 m.The battery current causes a voltage response from which the battery model parameters can be obtained, which is shown in Figure 2. The voltage 0 U is reduced when the discharge pulse current is loaded, which is mainly caused by ohmic resistance.The ohm internal resistance voltage is denoted by R U .
In a continuous discharge process, the voltage drops slowly as a result of a polarization reaction, which corresponds to 1 R , 1 C and 2 R , 2 C .The polarization voltage is denoted by Through the above analysis, battery model parameters can be calculated as follows: The zero-input response of the RC circuit can be expressed as exp( ) . Thus, the voltage response at the two RC stages can be written as: 1 t is the time to remove the load current. 1 τ and 2 τ can be obtained using the least squares algorithm.
The zero-state response of the RC circuit can be expressed as 1 exp( ) . Thus, the voltage response at the two RC stages can be written as: 2 t is the start time of the polarization reaction.R1 and R2 can be obtained using the least squares algorithm.C1 and C2 can then be calculated.

Adaptive Square Root Unscented Kalman Filter
In a standard UKF, the state covariance is recursively propagated by decomposing into matrix square root, k S , for sigma point mapping at each time step where Then, the k P matrix Through the above analysis, battery model parameters can be calculated as follows: The zero-input response of the RC circuit can be expressed as U p = U exp(− t τ ).Thus, the voltage response at the two RC stages can be written as: t 1 is the time to remove the load current.τ 1 and τ 2 can be obtained using the least squares algorithm.The zero-state response of the RC circuit can be expressed as U p = U 1 − exp(− t τ ) .Thus, the voltage response at the two RC stages can be written as: t 2 is the start time of the polarization reaction.R 1 and R 2 can be obtained using the least squares algorithm.C 1 and C 2 can then be calculated.

Adaptive Square Root Unscented Kalman Filter
In a standard UKF, the state covariance is recursively propagated by decomposing into matrix square root, S k , for sigma point mapping at each time step where P k = S k S k T .Then, the P k matrix is reconstructed from all the propagated sigma points for updating purpose [30].In the ASRUKF implemention, S k will be directly propagated, avoiding the need to refactorize at each time step.Thus non-negative qualitative and symmetry of P k could be ensured.Additionally, the process values and measurement noise covariance can be adaptively adjusted by the Sage-Husa adaptive filter algorithm.The ASRUKF makes use of three linear algebra techniques for square-root covariance update and propagation: QR decomposition (qr), Cholesky factor updating (cholupdate) and efficient least squares [31].
For a system of our interest described by Equation ( 1), such state and measurement equations can be written in the discrete form as follows: where x is the n dimensional state vector, y is the m dimensional measurement vector and u is the r dimensional input vector.
The basic steps involve initialization, time-update and measurement-update, detailed computation processes of the ASRUKF algorithm are as follows: (1) Set the initial state mean x0 = [SOC U 1 U 2 ] T and covariance S 0 where chol(•) represents a Cholesky decomposition of a matrix returning a lower triangular Cholesky factor.That is to say: (2) Time update Calculate the sigma points: where γ = √ n + λ, λ = α 2 (n + z) − n is a scaling parameter, α determines the spread of the sigma points around x and is usually set to a small positive value.z is a secondary scaling parameter which is usually set to 0.
Perform a nonlinear transformation of sigma points and predict the square root of the SOC and variance: Considering that ω c 1 may be a negative value, Equation ( 15) is used to calculate the SOC covariance: where ω means the weight.
(3) Measurement update Perform a nonlinear transformation of sigma points and calculate the measured residuals: (4) Estimate measurement noise statistics where (5) Calculation of cross covariance matrix P xy,k (6) Compute the measurement covariance and its update (7) Calculation of Kalman gain K k and SOC estimate update xk through measurement (8) Solve for the square root of the posterior variance (9) Update the estimated process noise characteristics Through detailed computational processes, we can project the state of the system if random initial information is used.Combine the battery state space (4) and ( 5) and the ASRUKF and SOC can be accurately tracked.

Experimental Platform
To verify the effectiveness of the algorithm, all experiments were implemented using the AVL-Estorage experimental platform (AVL, Graz, Austria), The AVL-Estorage experimental platform is shown in Figure 3.The test subject is a lithium-ion battery pack, which is shown in Figure 4.The nominal capacity of the battery pack which is made up of 16 single batteries in series is 50 Ah, and the nominal voltage is 51.2 V.The operation status of each single battery can be monitored by the equipment.The working status of each single battery is similar.One of the 16 single batteries was chosen to be researched and analyzed in this paper.A constant-current discharge experiment and an urban dynamometer driving schedule (UDDS) test were performed using the AVL-Estorage experiment platform.The current, voltage, SOC, and temperature can be recorded via computer.

Battery Model Validation
Based on the Chinese "Technical Specification of Battery Management System for Electric Vehicles" requirements, the battery needs to measure capacity three consecutive times to determine the battery capacity.Firstly, the battery was charged to the cut-off voltage 3.65 V by 1/3 C constant current at 25 °C.Secondly, the battery was charged to the current less than 32 mA by constant voltage and then stood for 1 h.Finally, the battery was discharged to the cut-off voltage 2.7 V by 1/3 C constant current and then stood for 1 h.The battery capacity could be calculated with the amperehour method.If the deviation of three tests of the discharge capacity and its mean capacity is less than 2%, then the battery capacity test result would be effective.Otherwise it is necessary to continue the tests until the capacity results for three consecutive times to meet the confirmation conditions of the available capacity.

Battery Model Validation
Based on the Chinese "Technical Specification of Battery Management System for Electric Vehicles" requirements, the battery needs to measure capacity three consecutive times to determine the battery capacity.Firstly, the battery was charged to the cut-off voltage 3.65 V by 1/3 C constant current at 25 °C.Secondly, the battery was charged to the current less than 32 mA by constant voltage and then stood for 1 h.Finally, the battery was discharged to the cut-off voltage 2.7 V by 1/3 C constant current and then stood for 1 h.The battery capacity could be calculated with the amperehour method.If the deviation of three tests of the discharge capacity and its mean capacity is less than 2%, then the battery capacity test result would be effective.Otherwise it is necessary to continue the tests until the capacity results for three consecutive times to meet the confirmation conditions of

Battery Model Validation
Based on the Chinese "Technical Specification of Battery Management System for Electric Vehicles" requirements, the battery needs to measure capacity three consecutive times to determine the battery capacity.Firstly, the battery was charged to the cut-off voltage 3.65 V by 1/3 C constant current at 25 • C. Secondly, the battery was charged to the current less than 32 mA by constant voltage and then stood for 1 h.Finally, the battery was discharged to the cut-off voltage 2.7 V by 1/3 C constant current and then stood for 1 h.The battery capacity could be calculated with the ampere-hour method.If the deviation of three tests of the discharge capacity and its mean capacity is less than 2%, then the battery capacity test result would be effective.Otherwise it is necessary to continue the tests until the capacity results for three consecutive times to meet the confirmation conditions of the available capacity.
After the pulse discharge experiment, the relational function of U oc and SOC can be obtained using the curve-fitting tool in MATLAB.k 0 , k 1 , k 2 , k 3 , k 4 were identified which is shown in Table 1.The fitting relationship is shown in Figure 5. R, R 1 , C 1 , R 2 and C 2 were identified which is shown in Table 2.The battery model described in this paper was verified through a constant-current discharge experiment.The constant discharge current was 0.5 C. The experiment lasted 6502 s.The battery was maintained at an environmental temperature of 25 • C. The initial SOC of the battery was 0.996 and the final SOC was 0.105.The measurement terminal voltage was compared with the model terminal voltage, as shown in Figure 6, which shows that the model terminal voltage tracks the measurement voltage well.The absolute error of the model is shown in Figure 7.The maximum error was 0.036 V.The mean error was 0.0035 V and the relative error was 1.1%.Based on the results of this analysis, the established battery model was regarded to be reliable.6, which shows that the model terminal voltage tracks the measurement voltage well.The absolute error of the model is shown in Figure 7.The maximum error was 0.036 V.
The mean error was 0.0035 V and the relative error was 1.1%.Based on the results of this analysis, the established battery model was regarded to be reliable.

SOC Estimation Experimental Results under a Constant-Current Discharge
The experimental conditions used for this experiment were the same as those used in Section 4.2 with a constant discharge current of 0.5 C. The initial SOC value was assumed to be 0.9, which is different from the real SOC of 1.0.The SOC estimation result with the proposed method is shown in Figure 8 with the results of EKF and UKF, and the estimation errors are shown in Figure 9.The reference SOC is obtained using the calibrated ampere hour counting by current and sampling time recorded by the AVL E-storage test equipment.The SOC estimation result of ASRUKF is more accurate than EKF and UKF; the SOC estimation mean error is 0.5%, and the maximum error is 0.54%.The SOC estimation RMSE is less than 0.5% which improves 2.7% and 1% compared with the EKF and UKF.The SOC estimation RMSE result indicates that the ASRUKF has a better robustness than the EKF and UKF for SOC estimation.A comparison of SOC estimation errors is shown in Table 3.Furthermore, the three methods are capable of tracking the real SOC even when the initial SOC is different from the real one.However, the estimation error of ASRUKF method is more stable than the errors of the other methods, and ASRUKF is able to track the real SOC faster than the other methods studied.

SOC Estimation Experimental Results under a Constant-Current Discharge
The experimental conditions used for this experiment were the same as those used in Section 4.2 with a constant discharge current of 0.5 C. The initial SOC value was assumed to be 0.9, which is different from the real SOC of 1.0.The SOC estimation result with the proposed method is shown in Figure 8 with the results of EKF and UKF, and the estimation errors are shown in Figure 9.The reference SOC is obtained using the calibrated ampere hour counting by current and sampling time recorded by the AVL E-storage test equipment.The SOC estimation result of ASRUKF is more accurate than EKF and UKF; the SOC estimation mean error is 0.5%, and the maximum error is 0.54%.The SOC estimation RMSE is less than 0.5% which improves 2.7% and 1% compared with the EKF and UKF.The SOC estimation RMSE result indicates that the ASRUKF has a better robustness than the EKF and UKF for SOC estimation.A comparison of SOC estimation errors is shown in Table 3.Furthermore, the three methods are capable of tracking the real SOC even when the initial SOC is different from the real one.However, the estimation error of ASRUKF method is more stable than the errors of the other methods, and ASRUKF is able to track the real SOC faster than the other methods studied.

SOC Estimation Experimental Results under a Constant-Current Discharge
The experimental conditions used for this experiment were the same as those used in Section 4.2 with a constant discharge current of 0.5 C. The initial SOC value was assumed to be 0.9, which is different from the real SOC of 1.0.The SOC estimation result with the proposed method is shown in Figure 8 with the results of EKF and UKF, and the estimation errors are shown in Figure 9.The reference SOC is obtained using the calibrated ampere hour counting by current and sampling time recorded by the AVL E-storage test equipment.The SOC estimation result of ASRUKF is more accurate than EKF and UKF; the SOC estimation mean error is 0.5%, and the maximum error is 0.54%.The SOC estimation RMSE is less than 0.5% which improves 2.7% and 1% compared with the EKF and UKF.The SOC estimation RMSE result indicates that the ASRUKF has a better robustness than the EKF and UKF for SOC estimation.A comparison of SOC estimation errors is shown in Table 3.Furthermore, the three methods are capable of tracking the real SOC even when the initial SOC is different from the real one.However, the estimation error of ASRUKF method is more stable than the errors of the other methods, and ASRUKF is able to track the real SOC faster than the other methods studied.

SOC Estimation by UDDS Test
The urban dynamometer driving schedule (UDDS) is a typical driving cycle which is often used to the correctness of the algorithm.In this paper, six UDDS is employed to verify the proposed SOC estimation algorithm.According to the actual laboratory conditions of the lithium-ion battery, the operating current used in the experiment was scaled reduced.Six UDDS driving cycles were used as shown in Figure 10.The initial SOC value was assumed to be 0.9, and the results of SOC estimation by EKF, UKF, and ASRUKF are shown in Figure 11.The estimation errors are shown in Figure 12.The reference SOC is obtained using the calibrated ampere hour counting by current and sampling time recorded by the AVL E-storage test equipment.The SOC estimation result of ASRUKF was shown to be more accurate and more robust than EKF and UKF in the UDDS experiment.The mean SOC estimation error was 0.2% and the maximum error was 0.8%.It is worth noting that the SOC estimation error could be big when the battery is in the final stage of discharge, the large error mainly results from the nonlinear of battery itself.The nonlinear of lithium-ion battery is extremely strong at both ends of the SOC.Various of SOC estimation methods have low accuracy in the final stage of discharge.Nevertheless, the maximum SOC error with proposed method was 0.8% in the final stage    The urban dynamometer driving schedule (UDDS) is a typical driving cycle which is often used to the correctness of the algorithm.In this paper, six UDDS is employed to verify the proposed SOC estimation algorithm.According to the actual laboratory conditions of the lithium-ion battery, the operating current used in the experiment was scaled reduced.Six UDDS driving cycles were used as shown in Figure 10.The initial SOC value was assumed to be 0.9, and the results of SOC estimation by EKF, UKF, and ASRUKF are shown in Figure 11.The estimation errors are shown in Figure 12.The reference SOC is obtained using the calibrated ampere hour counting by current and sampling time recorded by the AVL E-storage test equipment.The SOC estimation result of ASRUKF was shown to be more accurate and more robust than EKF and UKF in the UDDS experiment.The mean SOC estimation error was 0.2% and the maximum error was 0.8%.It is worth noting that the SOC estimation error could be big when the battery is in the final stage of discharge, the large error mainly results from the nonlinear of battery itself.The nonlinear of lithium-ion battery is extremely strong at both ends of the SOC.Various of SOC estimation methods have low accuracy in the final stage of discharge.Nevertheless, the maximum SOC error with proposed method was 0.8% in the final stage  The urban dynamometer driving schedule (UDDS) is a typical driving cycle which is often used to the correctness of the algorithm.In this paper, six UDDS is employed to verify the proposed SOC estimation algorithm.According to the actual laboratory conditions of the lithium-ion battery, the operating current used in the experiment was scaled reduced.Six UDDS driving cycles were used as shown in Figure 10.The initial SOC value was assumed to be 0.9, and the results of SOC estimation by EKF, UKF, and ASRUKF are shown in Figure 11.The estimation errors are shown in Figure 12.The reference SOC is obtained using the calibrated ampere hour counting by current and sampling time recorded by the AVL E-storage test equipment.The SOC estimation result of ASRUKF was shown to be more accurate and more robust than EKF and UKF in the UDDS experiment.The mean SOC estimation error was 0.2% and the maximum error was 0.8%.It is worth noting that the SOC estimation error could be big when the battery is in the final stage of discharge, the large error mainly results from the nonlinear of battery itself.The nonlinear of lithium-ion battery is extremely strong at both ends of the SOC.Various of SOC estimation methods have low accuracy in the final stage of discharge.Nevertheless, the maximum SOC error with proposed method was 0.8% in the final stage of discharge which is smaller than that of other methods.The SOC estimation RMSE is less than 0.5% which improves 2.7% and 1.1% compared with EKF and UKF.The SOC estimation RMSE result indicates that the ASRUKF has a better robustness than the EKF and UKF for SOC estimation.A comparison of the SOC estimation error is shown in Table 4. Furthermore, the three methods were shown to be capable of tracking the real SOC even when the initial value was different from the real SOC.However, the ASRUKF error is more stable than the other tested methods and its tracking speed is the fastest one, indicating that ASRUKF has better convergence.
Energies 2017, 10, 1345 11 of 14 of discharge which is smaller than that of other methods.The SOC estimation RMSE is less than 0.5% which improves 2.7% and 1.1% compared with EKF and UKF.The SOC estimation RMSE result indicates that the ASRUKF has a better robustness than the EKF and UKF for SOC estimation.A comparison of the SOC estimation error is shown in Table 4. Furthermore, the three methods were shown to be capable of tracking the real SOC even when the initial value was different from the real SOC.However, the ASRUKF error is more stable than the other tested methods and its tracking speed is the fastest one, indicating that ASRUKF has better convergence.Energies 2017, 10, 1345 11 of 14 of discharge which is smaller than that of other methods.The SOC estimation RMSE is less than 0.5% which improves 2.7% and 1.1% compared with EKF and UKF.The SOC estimation RMSE result indicates that the ASRUKF has a better robustness than the EKF and UKF for SOC estimation.A comparison of the SOC estimation error is shown in Table 4. Furthermore, the three methods were shown to be capable of tracking the real SOC even when the initial value was different from the real SOC.However, the ASRUKF error is more stable than the other tested methods and its tracking speed is the fastest one, indicating that ASRUKF has better convergence.Energies 2017, 10, 1345 11 of 14 of discharge which is smaller than that of other methods.The SOC estimation RMSE is less than 0.5% which improves 2.7% and 1.1% compared with EKF and UKF.The SOC estimation RMSE result indicates that the ASRUKF has a better robustness than the EKF and UKF for SOC estimation.A comparison of the SOC estimation error is shown in Table 4. Furthermore, the three methods were shown to be capable of tracking the real SOC even when the initial value was different from the real SOC.However, the ASRUKF error is more stable than the other tested methods and its tracking speed is the fastest one, indicating that ASRUKF has better convergence.An adaptive unscented Kalman filter has been previously proposed [20] with an SOC estimation error of less than 1%.An adaptive Kalman filter algorithm has also been previously adopted to estimate the SOC of a lithium-ion battery [21].The maximum SOC estimation error of this method is 2.54% and the mean SOC estimation error is 1.06%.In a different study, the maximum SOC estimation error was found to be 4.96% and the mean SOC estimation error was 1.09% [23].Since the non-negative qualitative and symmetry of P k could be ensured and process values and measurement noise covariance can be adaptively adjusted with the proposed method in this paper, we have found a maximum SOC estimation error of 0.8% and a mean SOC estimation error of 0.5%.The results of our comparison show that the ASRUKF algorithm estimates SOC more accurately, more stably and more self-adaptively than other commonly-used methods.

Conclusions
This paper presents an adaptive square root unscented Kalman filter (ASRUKF) to estimate the SOC of a lithium-ion battery in electric vehicles.The commonly-used second-order RC equivalent circuit is applied to simulate the nonlinear behaviors of the lithium-ion battery and establish the battery state-space equations.The OCV-SOC relationship is fitted using the Shepherd model and the Nerst model and the other RC parameters of the battery model are determined by the least-squares algorithm.The principle of adaptive square root unscented Kalman filter for battery SOC estimation is introduced and the estimated process is presented in detail.A constant current test and the urban dynamometer driving schedule are applied to assess the performance of the proposed method by comparing with the traditional EKF and UKF algorithms.Experimental results indicates that the proposed method has superior performance on measures of accuracy, robustness, and convergence.The proposed method tracks the real SOC well, even when the initial SOC has an obvious error.Therefore, the proposed method provides a promising approach for the estimation of SOC by battery management system for electric vehicles.

Figure 1 .
Figure 1.The second-order RC equivalent circuit model.

2 U 1 UFigure 2 .
Figure 2. The single pulse discharge curve (a) the single pulse discharge current curve; (b) the single pulse discharge voltage curve.

Figure 2 .
Figure 2. The single pulse discharge curve (a) the single pulse discharge current curve; (b) the single pulse discharge voltage curve.

Energies 2017 ,
10, 1345 7 of 14 the nominal voltage is 51.2 V.The operation status of each single battery can be monitored by the equipment.The working status of each single battery is similar.One of the 16 single batteries was chosen to be researched and analyzed in this paper.A constant-current discharge experiment and an urban dynamometer driving schedule (UDDS) test were performed using the AVL-Estorage experiment platform.The current, voltage, SOC, and temperature can be recorded via computer.

Figure 6 .
Figure 6.Model voltage and measurement voltage during a constant current test.

Figure 7 .
Figure 7.The error of the measured and model terminal voltages.

Figure 6 . 14 Figure 6 .
Figure 6.Model voltage and measurement during a constant current test.

Figure 7 .
Figure 7.The error of the measured and model terminal voltages.

Figure 7 .
Figure 7.The error of the measured and model terminal voltages.

Figure 8 .
Figure 8. EKF, UKF, and ASRUKF SOC estimation results in a constant-current random discharge test.

Figure 9 .
Figure 9. EKF, UKF, and ASRUKF SOC estimation errors in a constant-current random discharge test.

Figure 8 .
Figure 8. EKF, UKF, and ASRUKF SOC estimation results in a constant-current random discharge test.

Figure 8 .
Figure 8. EKF, UKF, and ASRUKF SOC estimation results in a constant-current random discharge test.

Figure 9 .
Figure 9. EKF, UKF, and ASRUKF SOC estimation errors in a constant-current random discharge test.

Figure 9 .
Figure 9. EKF, UKF, and ASRUKF SOC estimation errors in a constant-current random discharge test.

Table 2 .
The identification result of R, R 1 , C 1 , R 2 and C 2 .The constant discharge current was 0.5 C. The experiment lasted 6502 s.The battery was maintained at an environmental temperature of 25 °C.The initial SOC of the battery was 0.996 and the final SOC was 0.105.The measurement terminal voltage was compared with the model terminal voltage, as shown in Figure

Table 3 .
Comparison of SOC estimation error in a constant-current test.

Table 3 .
Comparison of SOC estimation error in a constant-current test.

Table 3 .
Comparison of SOC estimation error in a constant-current test.

Table 4 .
Comparison of SOC estimation error in the UDDS test.