Extreme Learning Machine Using Bat Optimization Algorithm for Estimating State of Health of Lithium-Ion Batteries
Abstract
:1. Introduction
- A globally optimized BA can be used to optimize the connection weights and bias of the ELM neural network. The BA-ELM model can be creatively constructed.
- The relevant data of the battery can be analyzed by Pearson and Spearman correlation; thus, the data can be determined scientifically and reasonably.
- Through a convergence analysis of the BA algorithm, the optimization effect can be further evaluated.
- Through a comparison of BA-ELM, ELM, BP, Elman, RBF, and GRNN, the effectiveness of the proposed model and the performance of SOH estimation can be comprehensively evaluated.
2. Methods for SOH Estimation
2.1. ELM
Algorithm of ELM |
---|
Step 1: The number of neurons in the input layer n, hidden layer l, and output layer m are determined separately. The connection weight ω between the hidden layer and the input layer and the bias b of the hidden layer are randomly set. |
Step 2: The activation function of the hidden layer neurons g(x) is determined, then the hidden layer output matrix H is calculated. |
Step 3: The connection weight β between the output layer and the hidden layer is calculated by the formula β = H+YT. |
2.2. BA
3. Data Acquisition and Processing
3.1. Data Acquisition
3.2. Data Processing
4. The Proposed Model
- (1).
- The data of the eight variables in the test were sorted. The sample data were normalized to the same dimension range: 70% of the data were randomly selected for training, and the remaining 30% was tested.
- (2).
- Through Pearson and Spearman correlation analysis, TI, TV, Ttotal,discharge, ΔVcharge, ΔTempdischarge, and ΔVdischarge were determined as the input variables of the model, and Caged was determined as the output variable.
- (1).
- Initialize the parameter of BA.
- (2).
- While t < the max number of iterations; calculate the frequency Qi, location Si, speed Vi, and fitness of each bat.
- (3).
- If rand > ri. Obtain an optimal solution BestS and calculate the local solutions around the optimal solution.
- (4).
- End if. Produce new solutions by change randomly.
- (5).
- If rand < Ai and Fitness (xi) < Fitness (x∗), accept the new solutions and decrease the impulse loudness Ai and increase the impulse emission rate ri.
- (6).
- End if. Sort all bats and obtain the optimal solution BestS in this iteration. Update β and Fitness.
- (7).
- End while. Accept the optimal output connection weight β.
5. Results and Discussion
5.1. Results
5.2. Discussion
Method | RMSE | MAE | MAPE |
---|---|---|---|
BA-ELM | 0.5354 | 0.4326 | 0.44 |
ELM | 2.2713 | 1.3106 | 0.20 |
BP | 3.5394 | 3.2429 | 4.06 |
Elman | 3.0750 | 2.0936 | 1.60 |
RBF | 3.8609 | 1.7217 | 1.82 |
GRNN | 3.2439 | 2.2230 | 0.29 |
Method | MAX | MIN |
---|---|---|
BA-ELM | 0.0170 | −0.0062 |
ELM | 0.0409 | −0.1212 |
BP | 0.0619 | −0.0086 |
Elman | 0.0790 | −0.0656 |
RBF | 0.1913 | −0.0434 |
GRNN | 0.0780 | −0.0980 |
Method | RMSE | MAE | MAPE | MAX | MIN |
---|---|---|---|---|---|
BA-ELM | 6 | 6 | 4 | 6 | 6 |
ELM | 5 | 4 | 6 | 5 | 1 |
BP | 2 | 1 | 1 | 4 | 5 |
Elman | 4 | 3 | 3 | 2 | 3 |
RBF | 1 | 4 | 2 | 1 | 4 |
GRNN | 3 | 2 | 5 | 3 | 2 |
6. Conclusions
- The relevant data of the battery can be analyzed by Pearson and Spearman correlation. The training time of the neural network model can be reduced by removing input variables with a low absolute value of Pearson’s and Spearman’s correlation coefficient.
- The value of the evaluation function dropped significantly using BA. The convergence speed was fast. The BA achieved the expected effect of optimization. We proposed a new concept, i.e., the average velocity modulus length. The bat’s velocity modulus became larger during the iteration. This is consistent with the fact in nature.
- The main advantages of the proposed BA-ELM model include a fast learning speed and high SOH estimation accuracy. The BA-ELM provided less scattered estimates, and its fit line equation was closer to the exact line (y = x) with a higher determination coefficient compared to other models. The connection weight and threshold of ELM were randomly set, which may cause the battery SOH estimation to be inaccurate. A globally optimized BA can be used to optimize the connection weights and bias of the ELM neural network.
- The RMSE of the BA-ELM model is 0.5354%, and the MAE is 0.4326%, which is the smallest among the 6 models. The RMSE values of the other model is 2.27%, 3.53%, 3.07%, 3.86%, and 3.24%, respectively. The estimated error of the actual battery capacity estimated using BA-ELM is less than 0.02 Ah, and the maximum error is less than 1%. Compared with the other five models, the results of BA-ELM estimation show a smaller RMSE, MAE, MAX, and MIN. It can be concluded that the estimation of the actual remaining capacity of the battery through the BA-ELM model has high accuracy and feasibility, which also makes the model have a good application prospect in the field of battery SOH.
- In this study, the proposed model was only verified on a smaller dataset containing 165 cycles. Therefore, in the future, the performance of this model should be evaluated on larger data samples.
- The ELM model can be combined with other optimization algorithms to form a new hybrid model. Therefore, in the future, BA-ELM can be further validated and compared with other hybrid ELM models.
- Recently, some other variants of the ELM model have been successfully exploited, such as OSELM and OP-ELM. In the future, BA can be used with these advanced variants of ELM models.
- In this study, the impulse emission rate increased and reached the maximum at about 18 iterations. The change law of the loudness and pulse emission rate of the standard BA did not completely fit the actual application. The rates of pulse emission and loudness can be varied in a more sophisticated manner during the iteration. This also needs to be further studied in the future.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Nomenclature
SOH | State of Health |
ELM | Extreme Learning Machine |
BA | Bat Algorithm |
BA-ELM | Bat algorithm-Extreme Learning Machine |
BP | Back Propagation |
RBF | Radial Basis Function |
GRNN | General Regression Neural Network |
RMSE | Root Mean Square Error |
MAE | Mean Absolute Error |
SOC | State of Charge |
OCV | Open-Circuit Voltage |
EIS | Electrochemical Impedance Spectroscopy |
ECM | Equivalent Circuit Model |
SVM | Support Vector Machine |
MAPE | Mean Absolute Percentage Error |
MAX | MAX error |
MIN | MIN error |
References
- Xuan, D.; Shi, Z.; Chen, J.; Zhang, C.; Wang, Y. Real-time estimation of state-of-charge in lithium-ion batteries using improved central difference transform method. J. Clean. Prod. 2020, 252, 787–797. [Google Scholar] [CrossRef]
- Lai, X.; He, L.; Wang, S.; Zhou, L.; Zhang, Y.; Sun, T. Co-estimation of state of charge and state of power for lithium-ion batteries based on fractional variable-order model. J. Clean. Prod. 2020, 255, 203–216. [Google Scholar] [CrossRef]
- Hsu, C.; Xiong, R.; Chen, N.; Li, J.; Tsou, N. Deep neural network battery life and voltage prediction by using data of one cycle only. Appl. Energy 2022, 306, 134–144. [Google Scholar] [CrossRef]
- He, H.; Xiong, R.; Guo, H. Online estimation of model parameters and state-of-charge of LiFePO4 batteries in electric vehicles. Appl. Energy 2012, 89, 413–420. [Google Scholar] [CrossRef]
- Zheng, Y.; Ouyang, M.; Li, X.; Lu, L.; Li, J.; Zhou, L.; Zhang, Z. Recording frequency optimization for massive battery data storage in battery management systems. Appl. Energy 2016, 183, 380–389. [Google Scholar] [CrossRef]
- Ge, D.; Zhang, Z.; Kong, X.; Wan, Z. Online SoC estimation of lithium-ion batteries using a new sigma points Kalman filter. Appl. Sci. 2021, 11, 11797. [Google Scholar] [CrossRef]
- Kong, X.; Plett, G.L.; Trimboli, M.S.; Zhang, Z.; Qiao, D.; Zhao, T.; Zheng, Y. Pseudo-two-dimensional model and impedance diagnosis of micro internal short circuit in lithium-ion cells. J. Energy Storage 2020, 27, 101085. [Google Scholar] [CrossRef]
- Weng, C.; Sun, J.; Peng, H. A unified open-circuit-voltage model of lithium-ion batteries for state-of-charge estimation and state-of-health monitoring. J. Power Sources 2014, 258, 228–237. [Google Scholar] [CrossRef]
- Galeotti, M.; Cina, L.; Giammanco, C.; Cordiner, S.; Di, C. Performance analysis and SOH (state of health) evaluation of lithium polymer batteries through electrochemical impedance spectroscopy. Energy 2015, 89, 678–686. [Google Scholar] [CrossRef]
- Swierczynski, M.; Stroe, D.; Stanciu, T.; Kær, S.K. Electrothermal impedance spectroscopy as a cost efficient method for determining thermal parameters of lithium ion batteries: Prospects, measurement methods and the state of knowledge. J. Clean. Prod. 2017, 155, 63–71. [Google Scholar] [CrossRef]
- Xiong, R.; Sun, F.; Chen, Z.; He, H. A data-driven multi-scale extended Kalman filtering based parameter and state estimation approach of lithium-ion polymer battery in electric vehicles. Appl. Energy 2014, 113, 463–476. [Google Scholar] [CrossRef]
- Saxena, S.; Xing, Y.; Kwon, D.; Pecht, M. Accelerated degradation model for C-rate loading of lithium-ion batteries. J. Electr. Power Energy Syst. 2019, 107, 438–445. [Google Scholar] [CrossRef]
- Mastali, M.; Farhad, S.; Farkhondeh, M.; Fraser, R.; Fowler, M. Simplified electrochemical multi-particle model for LiFePO4 cathodes in lithium-ion batteries. J. Power Sources 2015, 275, 633–643. [Google Scholar] [CrossRef]
- Li, J.; Cheng, Y.; Jia, M.; Tang, Y.; Lin, Y.; Zhang, Z.; Liu, Y. An electro chemical thermal model based on dynamic responses for lithium iron phosphate battery. J. Power Sources 2014, 255, 130–143. [Google Scholar] [CrossRef]
- Cheng, G.; Wang, X.; He, Y. Remaining useful life and state of health prediction for lithium batteries based on empirical mode decomposition and a long and short memory neural network. Energy 2021, 232, 22–32. [Google Scholar] [CrossRef]
- Kristen, A.; Peter, M. Data-driven prediction of battery cycle life before capacity degradation. Nat. Energy 2019, 4, 383–391. [Google Scholar]
- Deng, Y.; Ying, H.; Zhu, J.; Wei, K.; Chen, J.; Zhang, F.; Liao, G. Feature parameter extraction and intelligent estimation of the State-of-Health of lithium-ion batteries. Energy 2019, 176, 91–102. [Google Scholar] [CrossRef]
- Shen, S.; Sadoughi, M.; Chen, X.; Hong, M.; Hu, C. A deep learning method for online capacity estimation of lithium-ion batteries. J. Energy Storage 2019, 25, 100817. [Google Scholar] [CrossRef]
- Chen, Z.; Sun, M.; Shu, X.; Xiao, R.; Shen, J. Online state of health estimation for lithium-ion batteries based on support vector machine. Appl. Sci. 2018, 8, 925. [Google Scholar] [CrossRef] [Green Version]
- Tian, J.; Xiong, R.; Shen, W.; Wang, J.; Yang, R. Online simultaneous identification of parameters and order of a fractional order battery model. J. Clean. Prod. 2019, 247, 119147. [Google Scholar] [CrossRef]
- Yang, D.; Wang, Y.; Pan, R.; Chen, R.; Chen, Z. A neural network based state-of-health estimation of lithium-ion battery in electric vehicles. Energy Procedia 2017, 105, 2059–2064. [Google Scholar] [CrossRef]
- Li, P.; Zhang, Z.; Xiong, Q.; Ding, B.; Hou, J.; Luo, D. State-of-health estimation and remaining useful life prediction for the lithium-ion battery based on a variant long short term memory neural network. J. Power Sources 2020, 459, 228069. [Google Scholar] [CrossRef]
- Hossain, M.; Mahammad, A.; Hussain, A.; Mohamad, H.; Ayob, A.; Mohammad, N. Extreme learning machine model for state-of-charge estimation of lithium-ion battery using gravitational search algorithm. IEEE Trans. Ind. Appl. 2019, 55, 4225–4234. [Google Scholar] [CrossRef]
- Luo, X.; Sun, J.; Wang, L.; Wang, W.; Zhao, W.; Wu, J. Short-term wind speed forecasting via stacked extreme learning machine with generalized correntropy. IEEE Trans. Ind. Infor. 2018, 14, 4963–4971. [Google Scholar] [CrossRef] [Green Version]
- Liu, M.; Zhao, N.; Li, J.; Victor, C. Spectrum sensing based on maximum generalized correntropy under symmetric alpha stable noise. IEEE Trans. Veh. Technol. 2019, 68, 262–266. [Google Scholar] [CrossRef]
- Li, S.; He, H.; Li, J. Big data driven lithium-ion battery modeling method based on SDAE-ELM algorithm and data pre-processing technology. Appl. Energy 2019, 242, 1259–1273. [Google Scholar] [CrossRef]
- Wang, X.; Sun, Q.; Kou, X.; Ma, W.; Zhang, H.; Liu, R. Noise immune state of charge estimation of li-ion battery via the extreme learning machine with mixture generalized maximum correntropy criterion. Energy 2022, 239, 406–420. [Google Scholar] [CrossRef]
- Chen, L.; Wang, H.; Liu, B.; Wang, Y.; Ding, Y.; Pan, H. Battery state-of-health estimation based on a metabolic extreme learning machine combining degradation state model and error compensation. Energy 2021, 215, 78–88. [Google Scholar] [CrossRef]
- Ma, Y.; Wu, L.; Guan, Y.; Peng, Z. The capacity estimation and cycle life prediction of lithium-ion batteries using a new broad extreme learning machine approach. J. Power Sources 2020, 476, 228581. [Google Scholar] [CrossRef]
- Mariani, V.; Och, S.; Coelho, L.; Domingues, E. Pressure prediction of a spark ignition single cylinder engine using optimized extreme learning machine models. Appl. Energy 2019, 249, 204–221. [Google Scholar] [CrossRef]
- Adnan, R.; Mostafa, R.; Kisi, O.; Yaseen, Z.; Shahid, S.; Zounemat-Kermani, M. Improving streamflow prediction using a new hybrid ELM model combined with hybrid particle swarm optimization and grey wolf optimization. Knowl. Based Syst. 2021, 230, 10739. [Google Scholar] [CrossRef]
- Bardhan, A.; Samui, P.; Ghosh, K.; Gandomi, A.; Bhattacharyya, S. ELM-based adaptive neuro swarm intelligence techniques for predicting the California bearing ratio of soils in soaked conditions. Appl. Soft Comput. 2021, 110, 107595. [Google Scholar] [CrossRef]
- Hasançebi, O.; Teke, T.; Pekcan, O. A bat-inspired algorithm for structural optimization. Comput. Struct. 2013, 128, 77–90. [Google Scholar] [CrossRef]
- Bahmani-Firouzi, B.; Azizipanah-Abarghooee, R. Optimal sizing of battery energy storage for micro-grid operation management using a new improved bat algorithm. Electr. Power Energy Syst. 2014, 56, 42–54. [Google Scholar] [CrossRef]
- Pan, Z.; Quynh, N.; Ali, Z.; Dadfar, S.; Kashiwagi, T. Enhancement of maximum power point tracking technique based on PV-Battery system using hybrid BAT algorithm and fuzzy controller. J. Clean. Prod. 2020, 274, 719–734. [Google Scholar] [CrossRef]
- Yang, Q.; Dong, N.; Zhang, J. An enhanced adaptive bat algorithm for microgrid energy scheduling. Energy 2021, 232, 121014–121030. [Google Scholar] [CrossRef]
- Shivaie, M.; Mokhayeri, M.; Kiani-Moghaddam, M.; Ashouri-Zadeh, A. A reliability-constrained cost-effective model for optimal sizing of an autonomous hybrid solar/wind/diesel/battery energy system by a modified discrete bat search algorithm. Sol. Energy 2019, 189, 344–356. [Google Scholar] [CrossRef]
- Peddakapu, K.; Mohamed, M.; Srinivasarao, P.; Leung, P. Frequency stabilization in interconnected power system using bat and harmony search algorithm with coordinated controllers. Appl. Soft Comput. 2021, 113, 107986. [Google Scholar] [CrossRef]
- Huang, G.; Zhu, Q.; Siew, C. Extreme learning machine: Theory and applications. Neurocomputing 2006, 70, 489–501. [Google Scholar] [CrossRef]
- Yang, X. A new metaheuristic Bat-inspired Algorithm. Stud. Comput. Intell. 2010, 284, 65–74. [Google Scholar]
- NASA Prognostic Center of Excellence. Available online: https://ti.arc.nasa.gov/tech/dash/groups/pcoe/prognostic-data-repository/#algae (accessed on 1 March 2021).
The Pseudo Code of Bat Algorithm |
---|
Step 1: Initialize parameter settings, including the population size n, initial impulse loudness A0, initial impulse emission rate r0, maximum frequency Qmax, minimum frequency Qmin, max number of iterations N, and fitness evaluation function Fitness (x). |
Step 2: While (t < the max number of iterations) Calculate the frequency Qi, location Si, speed Vi, and fitness value Fitnessi of each bat. |
Step 3: If (rand > ri) 1. Obtain an optimal solution BestS in this iteration. 2. Calculate the local solutions around the optimal solution. |
Step 4: End if Produce new solutions by change randomly |
Step 5: if (rand < Ai and Fitness (xi) < Fitness (x∗)). 1. Accept the new solutions. 2. Decrease the impulse loudness Ai and increase the impulse emission rate ri. |
Step 6: End if Sort all bats and obtain the optimal solution BestS in this iteration. |
Step 7: End while |
The absolute value of the correlation coefficient | 0.8–1.0 | 0.6–0.8 | 0.4–0.6 | 0.2–0.4 | 0.0–0.2 |
The degree of correlation | Very strong | Strong | Medium | Weak | Very weak |
TI | TV | Ttotal,charge | Ttotal,discharge | ΔTempdischarge | ΔVcharge | ΔVdischarge | |
---|---|---|---|---|---|---|---|
Pearson | 0.9969 | −0.9412 | −0.2589 | 0.9931 | 0.9710 | −0.9828 | −0.9567 |
Spearman | 0.9986 | −0.91615 | −0.2202 | 0.9979 | 0.9579 | −0.9889 | −0.9619 |
The Pseudo Code of BA-ELM |
---|
Step 1: Data acquisition and data processing. |
Step 2: Generate the training set and the test set. |
Step 3: Initialize the parameters of BA, including the population size n, initial impulse loudness A0, initial impulse emission rate r0, maximum frequency Qmax, minimum frequency Qmin, the max number of iterations N, and fitness evaluation function Fitness (x). |
Step 4: While (t < the max number of iterations) Calculate the frequency Qi, location Si, speed Vi, fitness value Fitnessi of each bat. |
Step 5: If (rand > ri) 1. Obtain an optimal solution BestS in this iteration. 2. Calculate the local solutions around the optimal solution. |
Step 6: End if Produce new solutions by change randomly |
Step 7: If (rand < Ai and Fitness (xi) < Fitness (x∗)). 1. Accept the new solutions. 2. Decrease the impulse loudness Ai and increase the impulse emission rate ri. |
Step 8: End if Sort all bats and obtain the optimal solution BestS in this iteration. |
Step 9: End while and accept the optimal output connection weight β. |
Step 10: Determine the input connection weight ω and the bias b. Obtain the network structure of BA-ELM |
Step 11: Estimate the actual battery capacity using the BA-ELM model. |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Ge, D.; Zhang, Z.; Kong, X.; Wan, Z. Extreme Learning Machine Using Bat Optimization Algorithm for Estimating State of Health of Lithium-Ion Batteries. Appl. Sci. 2022, 12, 1398. https://doi.org/10.3390/app12031398
Ge D, Zhang Z, Kong X, Wan Z. Extreme Learning Machine Using Bat Optimization Algorithm for Estimating State of Health of Lithium-Ion Batteries. Applied Sciences. 2022; 12(3):1398. https://doi.org/10.3390/app12031398
Chicago/Turabian StyleGe, Dongdong, Zhendong Zhang, Xiangdong Kong, and Zhiping Wan. 2022. "Extreme Learning Machine Using Bat Optimization Algorithm for Estimating State of Health of Lithium-Ion Batteries" Applied Sciences 12, no. 3: 1398. https://doi.org/10.3390/app12031398
APA StyleGe, D., Zhang, Z., Kong, X., & Wan, Z. (2022). Extreme Learning Machine Using Bat Optimization Algorithm for Estimating State of Health of Lithium-Ion Batteries. Applied Sciences, 12(3), 1398. https://doi.org/10.3390/app12031398