I. Introduction
Electric vehicles (EVs) are a revolutionary and rapidly evolving class of vehicles that are changing the landscape of transportation by providing a more environmentally friendly and sustainable substitute for conventional internal combustion engine (ICE) automobiles. EVs are powered by electricity stored in on-board batteries, which drive electric motors to propel the vehicle. This innovation addresses many of the environmental, economic, and energy challenges associated with conventional gasoline or diesel-powered vehicles [
1]. In Electric Vehicles the State of Charge (SOC) Estimations determine the battery’s current energy level, which is a vital component of electric vehicles (EVs). SOC is a crucial variable for controlling and enhancing the efficiency, longevity, and range of EV batteries. Drivers and system controllers may make wise choices about charging, driving style, and energy usage with the help of accurate SOC estimations. SOC represents the remainder energy ability of a proportion of the EV battery’s overall capacity. For example, a SOC of 50% indicates that the battery is halfway discharged, while a SOC of 80% suggests that the battery still has 80% of its energy available. The amount of energy stored in a battery at a specific time is predicted using SOC estimate methods using a variety of methodologies, frequently involving mathematical models, measurements of battery voltage and current, temperature adjustment, and occasionally machine learning algorithms. To avoid over-discharging (which might harm the battery) and underutilization (which might leave wasted energy capacity), accurate SOC calculation is crucial [
2]. Battery Voltage When there is no current flowing (open-circuit conditions), battery voltage is frequently utilized as a substitute for SOC calculation. It’s important to characterize the complete link between SOC and voltage. Electric current entering or leaving the battery has an impact on its state of charge (SOC). Although it needs careful calibration and error handling, accurate measurement and integration of the current over time (coulomb counting) can yield an estimate of (SOC). The temperature of the Battery’s performance and behavior is greatly influenced by temperature. To account for differences in capacity and efficiency, temperature compensation is required. Methods for estimating SOC should take into account the battery’s temperature and how it may affect voltage and capacity. Initial SOC Knowledge for estimating algorithms, knowing the initial SOC (for example, at the beginning of a trip) is a good place to start. Errors in the estimation can be introduced by using incorrect initial SOC values [
3]. Malfunctions or errors in State-of-Charge (SOC) estimations affect Voltage Drift when the voltage-SOC relationship fluctuates over time owing to factors including temperature, battery aging, and cycling, which is one typical source of the mistake. The SOC estimation method may produce unreliable estimates if it only considers the pack.
II. Traditional Method for SOC estimations:
State of Charge (SOC) in an electric vehicle refers to the measurement of the current energy level or capacity of the vehicle’s battery pack, typically expressed as a percentage. It represents the remaining available battery energy about its overall capacity. SOC is a crucial parameter in electric vehicles as it provides information about the battery’s charging status and helps determine the range or distance the vehicle can travel before requiring a recharge. A higher SOC indicates a more fully charged battery, while a lower SOC indicates that the battery has discharged and requires recharging. Various methods can be used to estimate SOC, including open circuit voltage (OCV) measurement, coulomb counting, and model-based approach
1) Coulomb Counting: coulomb counting is a widely employed method for SOC estimation, based on combining the battery’s continuous inflow and outflow of current. The basic equation for Coulomb counting is as follows: SOC(t) = SOC(t-1) + (∫I(t) dt) (Q nominal) In this equation, SOC(t) represents the SOC at a time ‘t’, SOC(t-1) is the SOC before the previous time step, I(t) am current at a time ‘t’, ∫I(t) dt symbolizes the current’s time integral., and Q -nominal is the nominal capacity of the battery
Figure 1
2) Open-Circuit Voltage (OCV) Method: The Open-Circuit Voltage method estimates SOC by measuring the battery’s voltage when it is at rest and relating it to SOC using a per-determined voltage-SOC relationship The Equation for SOC Estimation using the OCV method is typically represented as: SOC = f(OCV)
Figure 2
3) Model-Based Approaches: A Study of Machine Learning Algorithms in State of Charge (SOC) Estimation MIT School of Engineering & Science, M-Tech Mechanical (Electric Vehicles) 4 Model-based approaches utilize mathematical models that represent the battery’s behavior and characteristics to estimate SOC.
Figure 3
4) Extended Kalman filter (EKF): In indirect approaches, data from other estimated quantities is used to evaluate the SoC. Measurements of the open circuit voltage (VOCV) can be used to calculate SoC [
4]. The VOCV of lead-acid and lithium-ion batteries is directly related to their SoC, and this relationship is typically assessed by experimentation.
Figure 4
III. SOC Estimations Errors Manipulated by Machine Learning Methods:
Creating models and techniques that let computers see patterns and make judgments without explicit programming is the goal of the artificial intelligence (AI) discipline of machine learning. Here is a broad overview of machine learning Supervised Learning A labeled dataset, consisting of paired input data and desired output, is used to train the algorithm in supervised learning. Learning a mapping function that can precisely forecast the result for a novel, unforeseen inputs is the aim. Unsupervised Learning involves working with unlabeled data [
5]. The algorithm explores the inherent structure in the data to find patterns or relationships without explicit guidance on the output. Semi-Supervised Learning: This type of learning combines supervised and unsupervised learning. The algorithm is trained on a dataset containing labeled and unlabelled data, making it possible for it to use unlabeled data for unsupervised learning and labeled data for supervised learning. Reinforcement Learning This technique entails educating an agent to make choices in a given setting [
6,
7]. Based on its behavior, the agent receives feedback in the form of rewards or penalties, and the objective is to eventually learn a policy that maximizes the cumulative reward. Algorithm Machine learning algorithms are the mathematical models or sets of rules that enable computers to learn patterns and make predictions. Examples include decision trees, support vector machines, and neural networks. Model: A model is the learned representation of patterns in the data. It can be a mathematical equation, decision tree, neural network, or any other structure that captures the relationships in the training data. The characteristics or attributes of the input data that the algorithm utilizes to generate predictions are known as features. Feature engineering involves selecting, transforming, or creating features to improve the model’s performance. Training data is the dataset used to train the machine learning model. It consists of input-output pairs for supervised learning or just input data for unsupervised learning. The loss function measures how well the model’s predictions match the actual outcomes. During training, the algorithm adjusts its parameters to minimize the loss, improving the model’s accuracy Hyperparameters are configuration settings external to the model that are set before training. Examples include learning rates, regularization parameters, and the architecture of a neural network [
7,
8]. The earlier Method for calculating SOC Estimations by Traditional Methods Such as an open circuit voltage, Columb counting method, Model-based approaches, and Indirect Kalman filter. While in this method there are errors to find in SOC estimations such as errors in Model Accuracy, Parameter Accuracy, Operating Conditions, Degradation Effects, and Cyclic Variations SOC is an important factor for many battery-operated systems since it shows how much energy is available for usage Soc Estimation is required in a battery it may manipulate the driver’s real-time conditions to avoid this problem Soc estimation uses machine learning algorithms to improve Accuracy and estimate it. In Machine Learning Algorithms we select Supervised Learning in that there are regression and Classification we compared five algorithms Decision Tree, ExtraTreesRegressor, Bagging Regressor, Neighbour’s Regressor, and Random Forest Regressor. These five algorithms compare and select the best algorithms and implement on to improve the soc estimation and accuracy [
9].
IV. Analytical Approach
The methodology in this current project work is divided into two parts, first generating data using an analytical approach and later validating it with an experimental approach. The analytical method starts to generate data from the Test Rig experiment setups such as current, temperature, voltage, and Soc Precisely calculating a battery’s state of charge (SOC) is essential in many situations, particularly when dealing with electric cars (EVs) and other battery-operated devices [
10,
11]. While non-invasive estimation via direct measurement is impractical, machine learning (ML) provides strong tools. BTMS has become a more economical and sustainable solution [
12].
1) Gathering of Data: Collect information from a range of sensors and measurements, including temperature, voltage, current, and perhaps other environmental elements that have an impact on battery operation [
13].
2) Engineering Features: Extrapolate pertinent characteristics that reflect the status of charge from the gathered data. Voltage characteristics, charge and discharge rates, temperature dependencies, and other factors pertinent to the particular battery chemistry and application are examples of features [
14,
15]
3) Selecting a Machine Learning Model: Select the right machine learning methods to estimate SoC. Typical options consist of Regression algorithms including support vector, polynomial, and linear regression [
16].
4) Training Models: Utilizing the information gathered, train the chosen machine learning models. Make use of methods like cross-validation to assess and enhance model performance [
17,
18].
5) SoC Estimation: Use the machine learning models that have been trained to estimate the condition of charge in real time. As new data becomes available, update and enhance the models frequently to increase accuracy and make them more flexible to changing operational conditions [
19,
20].
A. Datasets
The above data sets Load, Time, Speed, and Crr to test and create data sets for Soc Outputs.
Figure 5
The Test Rig System is used to generate the Data of Different loads, speeds, Time, and
Table 1, The test Rig tests the motor efficiency, VI characteristics, heat, and motor Performance. In this setup, we record and generate data such as current, temperature, and voltage. Show in
Table 2
Above the Test Rig setup is designed and developed for analysis of the load and speed effects on the motor. The Rig indicates the Current, Temperature, Voltage, and Soc Display.
V. Results and Discussions
We are using Python software for analytical purposes and testing your data sets to run the models and tests and train the models using machine learning algorithms. Using Python software is compatible with users for ML coding and libraries. etc.
Table 3
Training RMSE: 1.24
Testing RMSE: 1.37
Training Accuracy: 0.99
Testing Accuracy: 0.99
Therefore, after the combination of all the available data, we get the following results....
Training Accuracy: 99%
Testing Accuracy: 99%
The above Machine Learning Code compares the five algorithms as DecisionTreeRegressor, ExtraTreesRegressor, Bagging Regressor, KNeighborsRegressor, and Random Forest Regressor
Figure 6
The comparison of five machine learning algorithms as per given data and finalization of the decision tree regressor.
1) In a regression model, the statistical expression for the portion of the variation of a dependent variable can be accounted for by one or more independent variables as R-squared (R²) [
21]. Its range is 0 to 1, where 0 indicates that there is no explanatory power and 1 indicates that the independent variable(s) fully explains the variance in the dependent variable. [
22].
2Adjusted R-squared is a modified version of R-squared that takes the number of predictors in the model into consideration. (also known as adjusted R²) [
23]. It discourages overfitting by penalizing the inclusion of pointless predictors in the model. When a more informative predictor is introduced to the model, the adjusted R-squared usually increases or stays the same. However, if a less informative predictor is included, it usually drops [
23,
24].
3) The difference between values predicted by a model or estimator and the observed values is measured by the Root Mean Squared Error or RMSE [
25]. It is the square root of the mean squared discrepancies between the actual observation and the prediction. RMSE gives a general idea of the size of the error in the model and has the same unit of measurement as the dependent variable [
26].
Figure 7
The Above Fig shows the suitability of your data sets and provides the best accuracy for Soc estimations.
VI. Conclusion and Future Scope
The results obtained from the Machine learning model are shown in the above figure. These results are verified against the previous literature. The study will also aid in understanding how the Improve the Soc Estimation of Battery Packs. Some key points first generate data major factors for soc data are current, voltage, and temperature. SOC is linearly proportional and voltage is in continuous form. The system will get more accurate as well as increase the battery life cycle, over and under voltage protections.
The best-suited ML from the analytical calculations of Datasets was found to be Decision Tree Regressors
The battery Soc Accuracy improves by using ML Algorithms to select a Decision Tree (0.99,1.37,0.03) an analytical approach that motivates its use in experimental analysis.
The future scope of the work also lies in validating the analytical results obtained for Big Data Sets at different Battery Loads and comparing them using the results obtained through experimental analysis.
Acknowledgment
A heartfelt thank you to the authors of the School of Engineering and Sciences at MIT-ADT University for complete guidance throughout the study.
Abbreviations
SoC-state of charge
Li-ion- lithium-ion
ETR- Extra Trees Regressor
K-NR - K-Neighbors Regressor
DTR- Decision Tree Regressor
RFR- Random Forest Regressor
CC- Coulomb Counting
EKF-Extended Kalman filter
OCV- Open Circuits Voltage
MBM-Model-Based Methods
EV-Electric Vehicles
BR-Bagging Regressor
RMSE-Root mean squared error
References
- Zeebaree, D.Q.; Hasan, D.A.; Abdulazeez, A.M.; Ahmed, F.Y.H.; Hasan, R.T. Machine Learning Semi-Supervised Algorithms for Gene Selection: A Review. 2020.
- Libbrecht, M.W.; Noble, W.S. Machine learning applications in genetics and genomics. Nat. Rev. Genet. 2015, 16, 321–332. [Google Scholar] [CrossRef] [PubMed]
- J. Wang, P. J. Wang, P. Neskovic, and L. N. Cooper, “Training Data Selection for Support Vector Machines,” in Advances in Natural Computation, vol. 3610, L. Wang, K. Chen, and Y. S. Ong, Eds. Berlin, Heidelberg: Springer Berlin Heidelberg, 2005, pp. 554–564.
- Maulud, D.; Abdulazeez, A.M. A Review on Linear Regression Comprehensive in Machine Learning. J. Appl. Sci. Technol. Trends 2020, 1, 140–147. [Google Scholar] [CrossRef]
- Carleo, G.; Cirac, I.; Cranmer, K.; Daudet, L.; Schuld, M.; Tishby, N.; Vogt-Maranto, L.; Zdeborová, L. Machine learning and the physical sciences. Rev. Mod. Phys. 2019, 91, 045002. [Google Scholar] [CrossRef]
- Xiong, R.; Cao, J.; Yu, Q.; He, H.; Sun, F. Critical Review on the Battery State of Charge Estimation Methods for Electric Vehicles. IEEE Access 2017, 6, 1832–1843. [Google Scholar] [CrossRef]
- Hendrycks, Dan, Kimin Lee, and Mantas Mazeika. “Using pre-training can improve model robustness and uncertainty.” In International conference on machine learning, pp. 2712-2721. PMLR, 2019.
- Li, Y.; Guo, H.; Qi, F.; Guo, Z.; Li, M. Comparative Study of the Influence of Open Circuit Voltage Tests on State of Charge Online Estimation for Lithium-Ion Batteries. IEEE Access 2020, 8, 17535–17547. [Google Scholar] [CrossRef]
- Gong, D.; Gao, Y.; Kou, Y. Parameter and State of Charge Estimation Simultaneously for Lithium-Ion Battery Based on Improved Open Circuit Voltage Estimation Method. Energy Technol. 2021, 9. [Google Scholar] [CrossRef]
- Irshada, M.; Kumar, V. SMOTE and ExtraTreesRegressor based random forest technique for predicting Australian rainfall. Int. J. Inf. Technol. 2023, 15, 1679–1687. [Google Scholar] [CrossRef]
- Mohammadi, F. Lithium-ion battery State-of-Charge estimation based on an improved Coulomb-Counting algorithm and uncertainty evaluation. J. Energy Storage 2022, 48, 104061. [Google Scholar] [CrossRef]
- Ng, K.S.; Moo, C.-S.; Chen, Y.-P.; Hsieh, Y.-C. Enhanced coulomb counting method for estimating state-of-charge and state-of-health of lithium-ion batteries. Appl. Energy 2009, 86, 1506–1511. [Google Scholar] [CrossRef]
- Wei, Z.; Zhao, J.; He, H.; Ding, G.; Cui, H.; Liu, L. Future smart battery and management: Advanced sensing from external to embedded multi-dimensional measurement. J. Power Sources 2021, 489. [Google Scholar] [CrossRef]
- Ahn, J.-H.; Lee, B.K. High-Efficiency Adaptive-Current Charging Strategy for Electric Vehicles Considering Variation of Internal Resistance of Lithium-Ion Battery. IEEE Trans. Power Electron. 2019, 34, 3041–3052. [Google Scholar] [CrossRef]
- Xia, Z.; Abu Qahouq, J.A. State-of-Charge Balancing of Lithium-Ion Batteries With State-of-Health Awareness Capability. IEEE Trans. Ind. Appl. 2020, 57, 673–684. [Google Scholar] [CrossRef]
- Chandran, V.; Patil, C.K.; Karthick, A.; Ganeshaperumal, D.; Rahim, R.; Ghosh, A. State of Charge Estimation of Lithium-Ion Battery for Electric Vehicles Using Machine Learning Algorithms. World Electr. Veh. J. 2021, 12, 38. [Google Scholar] [CrossRef]
- D. N. T. How et al., “State-of-Charge Estimation of Li-Ion Battery in Electric Vehicles: A Deep Neural Network Approach,” IEEE Trans. Ind. Appl., vol. 56, no. 5, pp. 5565–5574, Sep. 2020.
- Zhang, J.; Wang, Q.; Meng, F.; Shi, H.; Xi, Y. New Energy Vehicle Battery SOC Evaluation Method based on Robust Extended Kalman Filterd. J. Physics: Conf. Ser. 2022, 2196. [Google Scholar] [CrossRef]
- Bates, Stephen, Trevor Hastie, and Robert Tibshirani. “Cross-validation: what does it estimate and how well does it do it?” Journal of the American Statistical Association 119, no. 546 (2024): 1434-1445.
- Hossain, M.; Haque, M.; Arif, M. Kalman filtering techniques for the online model parameters and state of charge estimation of the Li-ion batteries: A comparative analysis. J. Energy Storage 2022, 51. [Google Scholar] [CrossRef]
- Murphy, Sierra. “Regression.” In Translational Orthopedics, pp. 137-140. Academic Press, 2024.
- Yuan, H.; Han, Y.; Zhou, Y.; Chen, Z.; Du, J.; Pei, H. State of Charge Dual Estimation of a Li-ion Battery Based on Variable Forgetting Factor Recursive Least Square and Multi-Innovation Unscented Kalman Filter Algorithm. Energies 2022, 15, 1529. [Google Scholar] [CrossRef]
- Cui, Z.; Wang, L.; Li, Q.; Wang, K. A comprehensive review on the state of charge estimation for lithium-ion battery based on neural network. Int. J. Energy Res. 2021, 46, 5423–5440. [Google Scholar] [CrossRef]
- Liu, X.; Dai, Y. Energy storage battery SOC estimate based on improved BP neural network. J. Physics: Conf. Ser. 2023, 2187. [Google Scholar] [CrossRef]
- Hu, C.; Cheng, F.; Ma, L.; Li, B. State of Charge Estimation for Lithium-Ion Batteries Based on TCN-LSTM Neural Networks. J. Electrochem. Soc. 2022, 169, 030544. [Google Scholar] [CrossRef]
- Meng, J.; Luo, G.; Ricco, M.; Swierczynski, M.; Stroe, D.-I.; Teodorescu, R. Overview of Lithium-Ion Battery Modeling Methods for State-of-Charge Estimation in Electrical Vehicles. Appl. Sci. 2018, 8, 659. [Google Scholar] [CrossRef]
|
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. |
© 2024 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 (http://creativecommons.org/licenses/by/4.0/).