Improved Digital Twin of Li-Ion Battery Based on Generic MATLAB Model
Abstract
:1. Introduction
2. Li-Ion Batteries
- Do not exceed their maximal charging and discharging current
- Maintain Constant Current–Constant Voltage (CC-CV) charging algorithm
- Protect the cell from overcharging/undercharging
- Protect the cell from over-temperature by proper thermal management.
3. Testing Method of Li-Ion Batteries
3.1. Charging
- The constant current (CC) phase is the phase during which a regulated current with a constant value flows into the battery cell. A constant current in the range of 0.5–1 C is usually chosen (if the cell has a capacity of 2500 mAh 1C = 2.5 A), depending on the exact type of the battery cell. This current must be maintained by a converter with current control. Thus, the current is constant, and the voltage on the battery cell slowly begins to increase. This first phase, i.e., the constant current phase, is used until the moment when the battery cell’s maximum allowable voltage, determined by the manufacturer, appears on the battery cell terminals. In most cases, it is a value of around 4.2 V. After reaching this voltage value, the charging process continues with the next phase [35,36].
- The constant voltage phase (CV) is followed by the CC phase and is the phase during which the battery cell is no longer able to receive a current with the value used in the first phase without its output voltage increases above the maximum allowed voltage value set by the manufacturer. Since the battery cell is not yet fully charged at the beginning of this phase, the charger creates a constant voltage applied to the cell with the maximum value determined by the manufacturer. In most cases, this value is around 4.2 V. Thanks to this, the battery will not exceed this voltage value at its terminals. However, a current will start flowing to the battery cell and will charge it up to 100%. The cell current is exponentially decreasing during the CV phase. The current value decreases until the minimum current value when the battery is considered fully charged and the charging process is terminated [35,36].
3.2. Discharging
4. Device for Cyclic Testing of Battery Cells
- Charging and discharging of various types of Li-ion cells
- Possibility to charge/discharge up to 6 battery cells together in one group.
- The possibility of setting the charging and discharge profile
- Charging current max 5 A, discharging max 30 A
- Current accuracy with a sampling rate
- Protections: reverse voltage, undervoltage, overvoltage, short circuit, overheating
- Monitoring of voltage, current, temperature and battery cell DoD
4.1. Concept
4.2. Developed Test Device
- Constant current load test. Charging current to 5 A and discharging current to 20 A with auxiliary cooling.
- Possibility to load discharging profile in .csv format, which can be modified later.
- Possibility to cycle power charging/discharging cells to the defined SoH value. the SoH value can be set in a graphical user interface.
- Possibility to simulate the overcharging, undercharging and fast charging.
- Implemented protections: overvoltage, undervoltage, overheating and short circuit
5. Cell Tests
- Determining the maximum number of cycles which the battery cell can perform before its SoH drops to 80% at nominal charging and discharging current.
- Determining the influence of discharging current changes to the battery cell ageing with nominal charging current and discharging current 5A, 10A, 20A to 80% SoH.
- Determining the influence of change charging current to battery cell ageing with nominal discharging current and different charging current up to 80% SoH.
- Fast charging with maximal current and subsequent discharging with current up to 20 A till the SoH reached 80%
- Measuring of battery capacity with different charging and discharging currents and different SoH up to 80% SoH.
- Measuring shapes of charging and discharging curves for different charging and discharging currents and different SoH up to 80% SoH.
6. Proposed Model
- Current Sensor block, which measures the charging and discharging current of the battery cell model.
- Coulomb Counting and SoC evaluation—these two blocks can be combined into one block. The Coulomb counting block integrates the value of current from the current sensor over time. Subsequently, the current SoC value is determined. These phenomena can be described by the following equations:
- Average Current calculation block—the block processing the value from the current sensor and distinguishes whether it is a charging or discharging current. The output from this block are two values. The value of Idis_ave corresponds to the average discharge current in the previous cycle, and Ichar_ave corresponds to the charging current. Values of Idis_ave and Ichar_ave are calculated as average integrated current divided by the number of measured samples.
- Block DoD Calculation—the block calculates and stores the depth of discharge of the cell from the last three measured cycles. It has 4 outputs, three of which give information about three consecutive DoD states from previous cycles. The fourth output is a coefficient determining the number of transitions between the charging and discharging process.
- Actual capacity calculation block—the block recalculates the currently maximum available capacity of the battery cell based on SoH and current consumption. These values are then fed back to the SoC evaluation block. The calculations in the block are based on real measured data, which can be seen in Table 1.
- SoH evaluation block—the main goal of this block is to recalculate the SoH state during the simulation and adjust model parameters. The state of SoH changes during its ageing. The calculation of ageing in the model is based on the ageing coefficient , which assumes a value of zero at the beginning of the lifetime and 1 at its end—80% SoH for in our case.For determination of the actual SoH, we used [46]:Coefficients DoD are obtained from the DoD Calculation block, while the last unknown in this block is the value of the coefficient N, which indicates the maximum estimated number of cycles at the actual testing current and the DoD. It can be described by the following equation [46]:
- -
- H—number of cycles at standard currents and DoD = 100% after which cell achieves 80% SoH
- -
- DoD(n)—DoD value from the previous cycle
- -
- —influence DoD coefficient
- -
- ,—coefficient for value to percentage
- -
- —exponent for influence of discharge current
- -
- —exponent for influence of charging current
- -
- —median of discharging current in previous discharging cycle
- -
- —median of charging current in previous charging cycle
- Block Output voltage calculation—the output of this block is the battery cell voltage. Block is based on dependencies listed in (7).
- -
- I—actual load current (A)
- -
- SoC—state of charge (%)
- -
- SoH—state of health (%)
- -
- Q/—actual/nominal capacity of the battery cell (Ah)
7. Comparison of Model and Real Battery Cell
8. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- European Council: Fit for 55. Available online: https://www.consilium.europa.eu/en/policies/green-deal/fit-for-55-the-eu-plan-for-a-green-transition (accessed on 16 November 2022).
- European Council: Infographic-Fit for 55: Why the EU Is Toughening CO2 Emission Standards for Cars and Vans. Available online: https://www.consilium.europa.eu/en/infographics/fit-for-55-emissions-cars-and-vans (accessed on 16 November 2022).
- Vermeer, W.; Mouli, G.R.C.; Bauer, P. A Comprehensive Review on the Characteristics and Modeling of Lithium-Ion Battery Aging. IEEE Trans. Transp. Electrif. 2022, 8, 2205–2232. [Google Scholar] [CrossRef]
- Jia, J.; Liang, J.; Shi, Y.; Wen, J.; Pang, X.; Zeng, J. SoH and RUL Prediction of Lithium-Ion Batteries Based on Gaussian Process Regression with Indirect Health Indicators. Energies 2020, 13, 375. [Google Scholar] [CrossRef] [Green Version]
- Watrin, N.; Blunier, B.; AMiraoui, A. Review of adaptive systems for lithium batteries State-of-Charge and State-of-Health estimation. In Proceedings of the IEEE Transportation Electrification Conference and Expo (ITEC), Dearborn, MI, USA, 18–20 June 2012. [Google Scholar] [CrossRef]
- Kim, J.; Kowal, J. Development of a Matlab/Simulink Model for Monitoring Cell State-of-Health and State-of-Charge via Impedance of Lithium-Ion Battery Cells. Batteries 2022, 8, 8. [Google Scholar] [CrossRef]
- Theiler, M.; Schneider, S.; Endisch, C. Kalman Filter Tuning Using Multi-Objective Genetic Algorithm for State and Parameter Estimation of Lithium-Ion Cells. Batteries 2022, 8, 104. [Google Scholar] [CrossRef]
- Mao, S.; Han, M.; Han, X.; Lu, L.; Feng, X.; Su, A.; Wang, D.; Chen, Z.; Lu, Y.; Ouyang, M. An Electrical–Thermal Coupling Model with Artificial Intelligence for State of Charge and Residual Available Energy Co-Estimation of LiFePO4 Battery System under Various Temperatures. Batteries 2022, 8, 140. [Google Scholar] [CrossRef]
- Deng, Z.; Hu, X.; Lin, X.; Che, Y.; Xu, L.; Guo, W. Data-driven state of charge estimation for lithium-ion battery packs based on Gaussian process regression. Energy 2020, 205, 118000. [Google Scholar] [CrossRef]
- Dickson, N.T.; Hannah, M.A.; Lipu Hossain, M.S.; Ker, P.J. State of Charge Estimation for Lithium-ion Batteries Using Model-Based and Data-Driven Methods: A review. IEEE Access 2022, 7, 136116–136136. [Google Scholar] [CrossRef]
- Du, J.; Liu, Z.; Wang, Y.; Wen, C. A Fuzzy Logic-based Model for Li-ion Battery with SoC and Temperature Effect. In Proceedings of the 11th IEEE International Conference on Control and Automation (ICCA), Taichung, Taiwan, 18–20 June 2014. [Google Scholar] [CrossRef]
- Kuchly, J.; Goussian, A.; Merveillaut, M.; Baghdadi, I.; Franger, S.; Nelson-Gruel, D.; Nouillant, C.; Chamaillard, Y. Li-ion battery SoC estimation method using a Neural Network trained with data generated by a P2D model. IFAC-PapersOnLine 2021, 54, 336–343. [Google Scholar] [CrossRef]
- Cui, Z.; Hu, W.; Zhang, G.; Zhang, Z.; Chen, Z. An extended Kalman filter based SoC estimation method for Li-ion battery. Energy Rep. 2022, 8, 81–87. [Google Scholar] [CrossRef]
- Birkl, C. Oxford Battery Degradation Dataset 1; University of Oxford: Oxford, UK, 2017; Available online: https://ora.ox.ac.uk/objects/uuid:03ba4b01-cfed-46d3-9b1a-7d4a7bdf6fac (accessed on 25 October 2022).
- Kollmeyer, P.; Vidal, C.; Naguib, M.; Skells, M. LG 18650HG2 Li-Ion Battery Data and Example Deep Neural Network xEV SoC Estimator Script, Mendeley Data, V3. 2020. Available online: https://data.mendeley.com/datasets/cp3473x7xv/3/ (accessed on 15 October 2022). [CrossRef]
- Kollmeyer, P. Panasonic 18650PF Li-ion Battery Data, Mendeley Data, V1. 2018. Available online: https://data.mendeley.com/datasets/wykht8y7tg/1/ (accessed on 15 October 2022). [CrossRef]
- Severson, K.A.; Attia, P.M.; Jin, N.; Perkins, N.; Jiang, B.; Yang, Z.; Chen, M.H.; Aykol, M.; Herring, P.K.; Fraggedakis, D.; et al. Data-driven prediction of battery cycle life before capacity degradation. Nat. Energy 2019, 4, 383–391. [Google Scholar] [CrossRef] [Green Version]
- Omar, N.; Monem, M.A.; Firouz, Y.; Salminen, J.; Smekens, J.; Hegazy, O.; Gaulous, H.; Mulder, G.; Van den Bossche, P.; Coosemans, T.; et al. Lithium iron phosphate based battery—Assessment of the aging parameters and development of cycle life model. Appl. Energy 2014, 113, 1575–1585. [Google Scholar] [CrossRef]
- Weiping, D.; Saurabh, S.; Michael, P. Accelerated cycle life testing and capacity degradation modeling of LiCoO2-graphite cells. J. Power Sources 2019, 453, 1575–1585. [Google Scholar] [CrossRef]
- Singh, K.V.; Bansal, H.O.; Singh, D. Hardware-in-the-loop Implementation of ANFIS based Adaptive SoC Estimation of Lithium-ion Battery for Hybrid Vehicle Applications. J. Energy Storage 2020, 27, 101124. [Google Scholar] [CrossRef]
- Khanum, F.; Louback, E.; Duperly, F.; Jenkins, C.; Kollmeyer, P.J.; Emadi, A. A Kalman Filter Based Battery State of Charge Estimation MATLAB Function. In Proceedings of the 2021 IEEE Transportation Electrification Conference and Expo (ITEC), Chicago, IL, USA, 21–25 June 2021; pp. 484–489. [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]
- Surya, S.; Saldanha, C.C.; Williamson, S. Novel Technique for Estimation of Cell Parameters Using MATLAB/Simulink. Electronics 2022, 11, 117. [Google Scholar] [CrossRef]
- Kim, J.; Chun, H.; Kim, M.; Yu, J.; Kim, K.; Kim, T.; Han, S. Data-Driven State of Health Estimation of Li-Ion Batteries With RPT-Reduced Experimental Data. IEEE Access 2019, 7, 106987–106997. [Google Scholar] [CrossRef]
- Guy, B. A History of the Battery. Available online: https://batteryguy.com/kb/knowledge-base/a-history-of-the-battery (accessed on 5 October 2022).
- Arm, M.; Axmann, P.; Bresser, D.; Copley, M.; Edström, K.; Ekberg, C.; Guyomard, D.; Lestriez, B.; Novák, P.; Petranikova, M.; et al. Lithium-ion batteries—Current state of the art and anticipated developments. J. Power Sources 2020, 479, 228708. [Google Scholar] [CrossRef]
- R-Smith, N.A.Z.; Gramse, G.; Moertelmaie, R.M.; Kasper, M.; Kienberge, R.F. Advanced Self-Discharge Measurements of Lithium-Ion Cells and Comparison to Modeling. In Proceedings of the IEEE International Instrumentation and Measurement Technology Conference (I2MTC), Dubrovnik, Croatia, 25–28 May 2020; pp. 1–5. [Google Scholar] [CrossRef]
- Redondo-Iglesias, E.; Venet, P.; Pelissier, S. Measuring Reversible and Irreversible Capacity Losses on Lithium-Ion Batteries. In Proceedings of the 2016 IEEE Vehicle Power and Propulsion Conference (VPPC), Hangzhou, China, 17–20 October 2016; pp. 1–5. [Google Scholar] [CrossRef] [Green Version]
- Kraft, L.; Zünd, T.; Schreiner, D.; Wilhelm, R.; Günter, F.J.; Reinhart, G.; Gasteiger, H.A.; Jossen, A. Comparative Evaluation of LMR-NCM and NCA Cathode Active Materials in Multilayer Lithium-Ion Pouch Cells: Part II. Rate Capability, Long-Term Stability, and Thermal Behavior. J. Electrochem. Soc. 2021, 168, 020537. [Google Scholar] [CrossRef]
- Battery University. Bu-205: Types of Lithium-Ion. Available online: https://batteryuniversity.com/learn/article/types_of_lithium_ion (accessed on 7 October 2022).
- Battery University. What’s the Best Battery? Available online: https://batteryuniversity.com/learn/archive/whats_the_best_battery (accessed on 7 October 2022).
- Aditya, J.P.; Ferdowsi, M. Comparison of NiMh and li-ion batteries in automotive applications. In Proceedings of the 2008 IEEE Vehicle Power and Propulsion Conference, Harbin, China, 3–5 September 2008; pp. 1–6. [Google Scholar] [CrossRef]
- Meena, N.; Baharwani, V.; Sharma, D.; Sharma, A.; Choudhary, B.; Parmar, P.; Stephen, R.B. Charging and discharging characteristics of lead acid and li-ion batteries. In Proceedings of the 2014 Power and Energy Systems: Towards Sustainable Energy, Bangalore, India, 13–15 March 2014; pp. 1–3. [Google Scholar] [CrossRef]
- Wey, C.L.; Jui, P.C. A unitized charging and discharging smart battery management system. In Proceedings of the 2013 International Conference on Connected Vehicles and Expo (ICCVE), Las Vegas, NV, USA, 2–6 December 2013; pp. 903–909. [Google Scholar] [CrossRef]
- Khan, A.B.; Pham, V.L.; Nguyen, T.T.; Choi, W. Multistage constant-current charging method for li-ion batteries. In Proceedings of the 2016 IEEE Transportation Electrification Conference and Expo, Asia-Pacific (ITEC Asia-Pacific), Busan, Republic of Korea, 1–4 June 2016; pp. 381–385. [Google Scholar] [CrossRef]
- Luan, S.W.; Teng, J.H.; Lee, D.J.; Huang, Y.Q.; Sung, C.L. Charging/discharging monitoring and simulation platform for li-ion batteries. In Proceedings of the TENCON 2011-2011 IEEE Region 10 Conference, Bali, Indonesia, 21–24 November 2011; pp. 868–872. [Google Scholar] [CrossRef]
- Keil, P.; Jossen, A. Charging protocols for lithium-ion batteries and their impact on cycle life—An experimental study with different 18650 high-power cells. J. Energy Storage 2016, 6, 125–141. [Google Scholar] [CrossRef]
- Notten, P.H.L.; Op het Veld, J.H.G.; van Beek, J.R.G. Boostcharging Li-ion batteries: A challenging new charging concept. J. Power Sources 2005, 145, 89–94. [Google Scholar] [CrossRef]
- Tomaszewska, A.; Chu, Z.; Feng, X.; O’kane, S.; Liu, X.; Chen, J.; Ji, C.; Endler, E.; Li, R.; Liu, L.; et al. Lithium-ion battery fast charging: A review. eTransportation 2019, 1, 28. [Google Scholar] [CrossRef]
- Wan, H. High Efficiency dc-dc Converter for ev Battery Charger Using Hybrid Resonant and pwm Technique. Ph.D. Thesis, Virginia Tech, Blacksburg, VA, USA, 2012. Available online: https://vtechworks.lib.vt.edu/handle/10919/32343 (accessed on 5 September 2022).
- Simolka, M.; Heger, J.F.; Kaess, H.; Biswas, I.; Friedrich, K.A. Influence of cycling profile, depth of discharge and temperature on commercial LFP/C cell ageing: Post-mortem material analysis of structure, morphology and chemical composition. J. Appl. Electrochem. 2020, 1, 1101–1117. [Google Scholar] [CrossRef]
- Soto, A.; Alberto Berrueta, A.; Mateos, M.; Sanchis, P.; Ursúa, A. Impact of micro-cycles on the lifetime of lithium-ion batteries: An experimental study. J. Energy Storage 2022, 55, 105343. [Google Scholar] [CrossRef]
- PowerStream. Introduction of INR18650-25R. Available online: https://www.powerstream.com/p/INR18650-25R-datasheet.pdf (accessed on 8 February 2022).
- Biľanský, J.; Lacko, M. Design and simulation of cyclic battery tester. Power Electron. Drives 2020, 5, 13. [Google Scholar] [CrossRef]
- Biľanský, J.; Merva, T.; Ivan, J.; Marcinek, A.; Lacko, M. Cyclic tester of battery cells for electric vehicles. In Proceedings of the 2021 IEEE International Workshop of Electronics, Control, Measurement, Signals and Their Application to Mechatronics (ECMSM), Liberec, Czech Republic, 21–22 June 2021; pp. 1–7. [Google Scholar] [CrossRef]
- Motapon, S.N.; Lachance, E.; Dessaint, L.A.; AL-Haddad, K. A Generic Cycle Life Model for Lithium-Ion Batteries Based on Fatigue Theory and Equivalent Cycle Counting. IEEE Open J. Ind. Electron. Soc. 2020, 1, 207–217. [Google Scholar] [CrossRef]
- Movassagh, K.; Raihan, A.; Balasingam, B.; Pattipati, K. A Critical Look at Coulomb Counting Approach for State of Charge Estimation in Batteries. Energies 2019, 14, 4074. [Google Scholar] [CrossRef]
- Fang, L.; Li, J.; Peng, B. Online Estimation and Error Analysis of both SOC and SOH of Lithium-ion Battery based on DEKF Method. Energy Procedia 2019, 158, 3008–3013. [Google Scholar] [CrossRef]
SoH (%) | 100 | 94 | 89 | 85 | 79 |
---|---|---|---|---|---|
1 A | 2.5 Ah | 2.35 Ah | 2.22 Ah | 2.17 Ah | 2.05 Ah |
2.5 A | 2.48 Ah | 2.30 Ah | 2.19 Ah | 2.13 Ah | 1.98 Ah |
5 A | 2.45 Ah | 2.28 Ah | 2.17 Ah | 1.99 Ah | 1.88 Ah |
10 A | 2.43 Ah | 2.12 Ah | 2.00 Ah | 1.92 Ah | 1.79 Ah |
15 A | 2.42 Ah | 2.04 Ah | 1.96 Ah | 1.85 Ah | 1.74 Ah |
20A | 2.38 Ah | 1.96 Ah | 1.85 Ah | 1.74 Ah | 1.64 Ah |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 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
Bilansky, J.; Lacko, M.; Pastor, M.; Marcinek, A.; Durovsky, F. Improved Digital Twin of Li-Ion Battery Based on Generic MATLAB Model. Energies 2023, 16, 1194. https://doi.org/10.3390/en16031194
Bilansky J, Lacko M, Pastor M, Marcinek A, Durovsky F. Improved Digital Twin of Li-Ion Battery Based on Generic MATLAB Model. Energies. 2023; 16(3):1194. https://doi.org/10.3390/en16031194
Chicago/Turabian StyleBilansky, Juraj, Milan Lacko, Marek Pastor, Adrian Marcinek, and Frantisek Durovsky. 2023. "Improved Digital Twin of Li-Ion Battery Based on Generic MATLAB Model" Energies 16, no. 3: 1194. https://doi.org/10.3390/en16031194
APA StyleBilansky, J., Lacko, M., Pastor, M., Marcinek, A., & Durovsky, F. (2023). Improved Digital Twin of Li-Ion Battery Based on Generic MATLAB Model. Energies, 16(3), 1194. https://doi.org/10.3390/en16031194