원시데이터 수집 시스템
선정목록으로

A Comparative Study of Electric Vehicles Battery State of Charge Estimation Based on Machine Learning and Real Driving Data

관련 모빌리티 소재 · (3) 자동차 인테리어 소재

기본 정보

저자
  1. Salma Ariche — Engineering Systems and Applications (LISA), Cadi Ayyad University, Marrakech 40000, Morocco|||Université Paris-Saclay, ENS Paris-Saclay, CNRS, SATIE, 91110 Gif-sur-Yvette, France
  2. Zakaria Boulghasoul — Engineering Systems and Applications (LISA), Cadi Ayyad University, Marrakech 40000, Morocco
  3. Abdelhafid Elouardi — Université Paris-Saclay, ENS Paris-Saclay, CNRS, SATIE, 91110 Gif-sur-Yvette, France
  4. Abdelhadi Elbacha — Engineering Systems and Applications (LISA), Cadi Ayyad University, Marrakech 40000, Morocco
  5. Abdelouahed Tajer — Engineering Systems and Applications (LISA), Cadi Ayyad University, Marrakech 40000, Morocco
  6. Stéphane Espié — Université Gustave Eiffel, SATIE, 91190 Gif-sur-Yvette, France
DOI
10.3390/jlpea14040059
저널
Journal of Low Power Electronics and Applications
발행년도
2024
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
5
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/jlpea14040059
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4405291567

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (3) 자동차 인테리어 소재
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 자동차 인테리어 소재' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Electric vehicles (EVs) are rising in the automotive industry, replacing combustion engines and increasing their global market presence. These vehicles offer zero emissions during operation and more straightforward maintenance. However, for such systems that rely heavily on battery capacity, precisely determining the battery’s state of charge (SOC) presents a significant challenge due to its essential role in lithium-ion batteries. This research introduces a dual-phase testing approach, considering factors like HVAC use and road topography, and evaluating machine learning models such as linear regression, support vector regression, random forest regression, and neural networks using datasets from real-world driving conditions in European (Germany) and African (Morocco) contexts. The results validate that the proposed neural networks model does not overfit when evaluated using the dual-phase test method compared to previous studies. The neural networks consistently show high predictive precision across different scenarios within the datasets, outperforming other models by achieving the lowest mean squared error (MSE) and the highest R2 values.

본문 34,377자

본문 펼치기
Electric vehicles (EVs) are rising in the automotive industry, replacing combustion engines and increasing their global market presence.These vehicles offer zero emissions during operation and more straightforward maintenance.However, for such systems that rely heavily on battery capacity, precisely determining the battery's state of charge (SOC) presents a significant challenge due to its essential role in lithium-ion batteries.This research introduces a dual-phase testing approach, considering factors like HVAC use and road topography, and evaluating machine learning models such as linear regression, support vector regression, random forest regression, and neural networks using datasets from real-world driving conditions in European (Germany) and African (Morocco) contexts.The results validate that the proposed neural networks model does not overfit when evaluated using the dual-phase test method compared to previous studies.The neural networks consistently show high predictive precision across different scenarios within the datasets, outperforming other models by achieving the lowest mean squared error (MSE) and the highest R² values. Introduction Today's automotive sector is moving towards intelligent transportation, which is emerging as a pivotal global industry, wielding significant influence not only on the economic front but also in the realm of research and development.A growing array of technological components are being integrated into vehicles to enhance safety and comfort. Introduction In light of the critical imperative to combat climate change and lower air pollution levels [1], the environmental benefits of using electric vehicles (EV) are especially significant.As governments and policymakers worldwide intensify their efforts to meet these challenges, promoting EVs has become a transition towards decarbonization of the transportation system since manufacturers are electrifying their fleets to meet new legal requirements.The shift to EVs is seen as a technical advancement and a crucial step toward sustainable transportation.Advances in battery technology, charging infrastructure, and regulations supporting low-emission cars contribute to this change [2].However, despite the increased supply of EVs and improving infrastructure related to EV charging, vehicle registration statistics indicate that customers still need to embrace EVs [3]. Introduction The EV is characterized by its low noise emissions, user-friendly operation, and absence of fuel-related expenses commonly associated with traditional vehicles.Despite these advancements, their limited operating range remains a significant barrier to the broad acceptance of battery electric vehicles (BEVs).The reluctance to fully embrace BEVs is partly due to current battery technology, which is rapidly evolving yet still does not match the energy density and recharging speed of traditional gasoline engines [4].Thus, the precise assessment of the SOC of batteries has become indispensable for drivers and the energy regulation systems of these vehicles.The SOC is a vital indicator of a battery's residual charge, which not only informs the potential driving range before the necessity of recharging arises but also aids in mitigating risks associated with overcharging and undercharging [5].It is similar to the gasoline gauge in traditional automobiles but is more complex to estimate accurately due to the nature of battery chemistries [6].Over the last decades, extensive scientific research has focused on determining the SOC of batteries.Owing to the complex and non-linear electrochemical properties of batteries, their performance hinges on a variety of factors, both intrinsic and environmental.Methods for estimating the SOC leverage available data through various techniques, including open circuit voltage (OCV), the Kalman filter (KF), and artificial intelligence (AI) approaches.It is also critical to evaluate not just individual battery performance but the collective performance of the entire battery assembly.Moreover, challenges like battery degradation, lifespan, temperature variations, among others, present considerable difficulties in precisely gauging the SOC [7]. Introduction In the past few years, machine learning (ML) has become an essential tool in many areas, including the automotive industry [8,9] and energy management systems (EMS) [10,11].Using machine learning to estimate the SOC of BEVs is an important step forward in solving the problem of range anxiety.ML algorithms can learn from driving data, patterns of battery use, and environmental factors.They provide a more accurate and reliable SOC estimation than traditional methods.This enhancement is critical in improving the user experience by providing more precise range predictions and a more comfortable ride, thus fostering greater confidence and adoption of EVs among potential users.ML used in SOC estimations opens up smart energy management possibilities for BEVs.By accurately determining the SOC, the EMS can use the battery best, improve the vehicle's performance, and even make the battery last longer through efficient charging and discharging strategies [12].Therefore, precise SOC estimation not only contributes to the user's convenience but also the vehicle's overall safety.By incorporating ML-based SOC estimation into intelligent transportation systems (ITS), BEVs can establish communication with charging stations, traffic management systems, and other vehicles in order to optimize traffic flow, charging schedules, and driving routes.The research work presented in the current paper focuses on the estimation of the battery electric vehicle SOC using data-driven approaches like regression models and artificial neural networks, as well as trained real-world driving data derived from two different BEVs. Introduction The rest of this paper is organized as follows: Section 2 provides a comprehensive review of current methods for SOC estimation.Section 3 details the methodology we propose.Section 4 discusses the experimental results.The paper concludes with Section 5, which offers conclusions and future outlooks of this study. Related Work In general, battery SOC is characterized as the fraction of the remaining energy relative to the total energy capacity it can store (1).With Q c representing the residual energy and Q 0 denoting the initial energy available under specific conditions, Q T is the amount of energy that the battery has previously discharged.The SOC can, therefore, be mathematically expressed using these variables. Related Work However, this mathematical representation of the battery's available capacity does not fully capture its practical variability, as SOC is frequently affected by a variety of conditions [13].The battery SOC can be calculated using several methods, the most common of which involve the integration of current over time and voltage-based models.The methods for estimating SOC can be categorized into three groups: a. Conventional Methods Approaches that heavily depend on battery parameters, such as the straightforward look-up table methods [14], are primarily represented by the open-circuit voltage (OCV), which assumes that there is a linear relation between the voltage, the SOC and the ampere-hour (Ah) integration method.Yet, these methods exhibit a substantial estimation error and may not be well-suited for real-time estimation across different battery types.The association between the SOC and the open-circuit voltage (OCV) depends on the battery's type and capacity.A lead-acid battery, for instance, shows a direct linear relationship between SOC and OCV, unlike lithium-ion batteries with more complex and non-linear connections [15]. b. Model Based Methods Model-based approaches were presented to overcome the limitations of traditional methods that rely solely on battery parameters.The main goal of model-based SOC estimation lies in utilizing the battery model to establish a connection between battery signals.Model-based techniques such as the Electrochemical Impedance Model (EIM) and electrochemical impedance spectroscopy (EIS) [16,17] are used to discern the relationship between a battery's impedance and its state of charge (SOC).Alternatively, linking the model to cellular measurements through the use of a filtering algorithm derived from current control theory can establish a closed-loop system for estimation.This method capitalizes on the variances between the modeled and actual battery outputs to refine the state predictions, thereby reducing the discrepancy between the modeled battery and the measured signals.The Kalman filter (KF) is a popular filter-based model; however, it is applicable only to linear systems.The extended Kalman filters (EKF) and Sigma-Point Kalman filters (SPKF) extend this capability to nonlinear systems [18][19][20].The KF and its variants operate on the premise that all noises are characterized by zero mean and follow a Gaussian distribution.In contrast, the adaptive Kalman filter (AKF) estimates both the model and the noises online, while the adaptive extended Kalman filter (AEKF) is utilized to enhance state estimation accuracy [21].c. Data Driven Methods The inaccuracy of SOC estimation using model-based or traditional methods is still high when comparing the estimated output and the actual SOC recorded in the datasets.Furthermore, they are methods that are time-consuming and have low efficiency.Data-driven methods are established to accurately estimate the SOC based on recorded data; we are talking about artificial intelligence (AI) algorithms that take information from large datasets for model training [22].Machine learning (ML) models forecast battery SOC based on time-series datasets, including features that could impact the SOC over time.SOC estimation often employs regression algorithms like linear regression (LR), support vector machine (SVM), support vector regressor (SVR), Gaussian process regression (GPR), random forest regression (RF), and decision tree regression (DT), as documented in various references [23][24][25][26].The works of [27,28] introduced a hybrid SOC estimation approach combining model-based and data-driven methods for better accuracy.Deep learning (DL) or neural networks (NNs) in research have been shown to give better results related to SOC estimation [29].An artificial neural network (ANN) model is created to estimate the SOC accurately.The estimation relies on load classification, which includes post-processing and boosting techniques to prevent overfitting, as discussed in [30].Additionally, a comparative study of DL algorithms for lithium-ion SOC estimation was carried out in the works of [31,32].The papers [33][34][35] also introduce the use of a long short-term memory recurrent neural network (LSTM-RNN) for SOC estimation.In [36], a deep multilayer perceptron network was developed and assessed using different activation functions, including the Sigmoid, tanh, ReLU, and Mish activation functions.Additional studies have focused on analyzing the effects of HVAC on electric vehicles, distributed power generation, and electrical storage using AI for accurate SOC estimation and to improve range and battery lifetime [37].Statistical analysis using ARIMA models and LTSM was dedicated to SOC forecasting in micro-grid systems [38]. Data Driven Methods While offering enhanced accuracy and adaptability in SOC estimation, data-driven methods also present several challenges.One significant drawback is their dependency on vast and high-quality datasets, which may not always be available or may require extensive preprocessing to be valid.These methods can also be computationally intensive, leading to longer processing times and requiring more powerful hardware, which can increase the cost and complexity of implementation.These methods may need to be more balanced, especially in scenarios where the variability in the training data do not accurately reflect real-world conditions, which can lead the models to overfit. Data Driven Methods In this research, we evaluate the batteries' state of charge (SOC) estimation using real-world driving data, a notable departure from the controlled laboratory conditions in the existing literature.To comprehensively understand EV energy consumption, we underscore the importance of incorporating diverse driving scenarios and auxiliary components, such as HVAC systems, weather conditions, and specific route information.By leveraging datasets from European (Germany) and African (Morocco) contexts, we address the complexities of real-world EV operation, particularly highlighting the underexplored challenges of African road conditions.Furthermore, we compare four machine learning models and introduce a second testing phase to combat overfitting, ensuring model robustness and reliability across various driving conditions.This dual-phase testing enhances the practical applicability of our models, marking a significant contribution to the field. Methodology In a previous study [39], the paper analyzed how the EV's energy consumption could be affected by factors like road topography and ambient temperature when switching to comfort ride mode on Moroccan roads.However, the evaluation was insufficient for an accurate BEV range estimation in a real-life scenario, whether for a regular or a comfort ride option.Building upon the EV model in that study, the research was extended by evaluating the SOC estimation, including two crucial energy consumers as presented in Figure 1.The block diagram illustrates an electric vehicle's system, where the driver controller interprets the driver's input via the drive cycle to manage the vehicle's speed.The powertrain includes a power converter responsible for modulating the power from the battery to drive the motor, which in turn propels the vehicle.Additionally, the thermal management system (TMS) from [40][41][42], regulates the temperature for optimal performance and comfort, encompassing the HVAC system that handles air conditioning, ventilation, and heating within the vehicle's cabin and its components.The TMS takes as input parameters the target cabin temperature, the outside temperature, the number of passengers, and the vehicle's speed.Finally, the lithium-ion type battery is central to the system, providing energy to the powertrain and TMS and recovering energy through regenerative braking.The battery block uses KF and EKF for SOC estimation.The estimation results using the model-based method were not as satisfying as expected, with a significant difference when comparing the simulation output and the actual recorded SOC in the datasets.This difference might be explained by several limits related to the MATLAB/SIMULINK existing model adaptation, as listed below: Methodology (i) Model Accuracy: It can sometimes encourage idealized modeling that does not take into account all the non-linearities and uncertainties present in real systems.(ii) Documentation: It may sometimes be insufficient, particularly for advanced functionalities or custom blocks.(iii) Limited Customization: In some cases, it is impossible to introduce input parameters.(iv) Simulation parameters: Managing simulation parameters to guarantee test reproducibility is a challenge when using real datasets.(v) Performance: The simulated BEV is a model with a large number of Simulink and Simscape blocks, making simulation time-consuming and consuming a lot of system resources. Methodology As an alternative approach, in this section, we present the chosen data-driven methods used to estimate the battery SOC, tested on actual data from a Moroccan and European context.The models were trained and tested with Python 3.10.12version using ML libraries like scikit-learn (sklearn), Tensorflow, and Keras [43][44][45].The flow chart in Figure 2 illustrates the process of SOC forecasting using ML algorithms.Initially, data preprocessing is imperative to refine the collected data, involving cleaning to remove noise or irrelevant information, transformation to ensure consistency, and feature selection to identify the most relevant parameters for SOC estimation.Selecting appropriate features is crucial as it directly influences the model's accuracy and computational efficiency.The choice of algorithms-linear regression (LR), support vector regression (SVR), random forest (RF), and neural networks (NNs)-strikes a balance between simplicity and precision.LR, with its straightforward computation, offers a baseline for performance.SVR was selected because of its capacity to handle non-linear relationships.RF is included for its robustness to overfitting and its ability to rank the importance of features.At the same time, NNs were chosen because of their high potential for accuracy in complex relationships.Performance indices like mean absolute error (MAE), mean squared error (MSE), root mean squared error (RMSE), and R² are utilized to evaluate the models rigorously on an initial and second test sets.These metrics give us a comprehensive view of the model's accuracy and the variance explained by the model [46].The second test set is additional recorded trips with the same number of features.Including a secondary test set, sourced from different operational contexts, is a strategic measure to assess the generalizability of the models and safeguard against overfitting.This dual-phase testing ensures that the algorithms perform well across various scenarios, which is essential for reliable SOC estimation in the dynamic environment of electric vehicles.The algorithms enlisted for SOC estimation in battery electric vehicles are detailed as follows: Methodology 1. Methodology Linear Regression: A statistical model that describes a linear relationship between dependent and independent variables.LR is a supervised ML algorithm applied to models with continuous linear variable output.It is often used for its simplicity and performance when tested on small-or medium-sized datasets.The empirical equation of the model is: Methodology where y is the predicted variable, x 1 , x 2 , . . ., x n are the input feature values, β 0 , β 1 , . . ., β n are the coefficients, and ϵ is the error term as presented in Algorithm 1. Methodology Algorithm The chosen PIs for the algorithm evaluation are listed in Table 1. Methodology Table 1.Overview of Error Metrics. MAE (Mean Absolute Error) A metric that measures the difference between two variables that are continuous.It is determined by computing the mean of the absolute variations between the forecasted values and the actual observed data. MAE (Mean Absolute Error) Where y i is the actual value, ŷi is the predicted value, and n is the number of observations. MSE (Mean Squared Error) Computes the average of the squared differences, representing the variance between the predicted and actual values.Due to the squaring of errors, MSE is more sensitive to outliers compared to the MAE. MSE (Mean Squared Error) Where y i is the actual value, ŷi is the predicted value, and n is the number of observations. RMSE (Root Mean Squared Error) Quantifies the average magnitude of residuals, emphasizing larger errors more significantly.RMSE is particularly useful in scenarios where large errors are especially undesirable. RMSE (Root Mean Squared Error) Where y i is the actual value, ŷi is the predicted value, and n signifies the total number of observations RMSE (Root Mean Squared Error) This statistical metric reflects the proportion of variance in the dependent variable that can be attributed to the independent variables in a regression analysis.It evaluates the adequacy of the model, demonstrating the extent to which the predicted values correspond with the actual data.A perfect R 2 of 1 means the predictions match the data exactly. RMSE (Root Mean Squared Error) Where y i is the actual value, ŷi is the predicted value, ȳ is the mean of actual values, and n is the number of observations. RMSE (Root Mean Squared Error) For a comprehensive evaluation of the model's performance, the inclusion of MAE, MSE, and RMSE as complementary metrics is justified by: -MAE provides an average measure of absolute error.-MSE emphasizes more significant errors by penalizing them quadratically.-RMSE offers an interpretable error measure in the same units as the target variable, allowing us to analyze the models from different perspectives. Experimental Results In this section, we estimate the EV battery SOC based on data-driven approaches by considering impact factors that can significantly influence energy consumption.We use two different datasets [47,48] under two different contexts: Experimental Results • Dataset 1: Referred to as Munich20, it consists of 72 actual driving recorded trips in Munich, Germany, of a BMW I3 (60 Ah), highlighting the HVAC system's significant power demand.This dataset validates a comprehensive vehicle model, including the powertrain and the HVAC.Each trip contains environmental, vehicle, battery, and heating circuit data.It includes Category A (recorded trips in summer) and Category B (winter). Experimental Results • Dataset 2: known as HELECAR-D, is a dataset collected in Morocco from three routes within the cities of Rabat and Sala Al Jadida.The data were gathered using a Renault TWIZY vehicle and includes various features such as date, time, battery SOC, vehicle speed, driving mode, GPS data, weather conditions, traffic information, and speed limits.It is worth noting that two recorded trajectories took place on urban roads, and the dataset includes 3 categories: T1 (light traffic), T2 (dense traffic), and T3 (moderate traffic).The works of [27] have used this dataset for SOC forecasting using a hybrid approach as stated in the related work section. Experimental Results We reconstituted the databases for the second test evaluation as follows: Experimental Results 1. Munich20 Database: Experimental Results (a) DB_test1_Munich20: A mix of trips A (70%) and B (30%).It is divided into 2/3 for training and 1/3 for testing.(b) DB_test2_Munich20: A mix of trips A (30%) and B (70%), used entirely for testing (100%).Finally, all obtained data are normalized to mitigate fluctuations associated with the varying scales of each feature.Both datasets are split into training and testing as highlighted previously.All the chosen algorithms were tested twice on the corresponding test sets, and each algorithm's performance should be assessed using error metrics as indicated in the flow chart of the proposed evaluation methodology. Experimental Results In this study, we developed two separate neural network (NN) models for SOC estimation to account for the differences in features between the datasets.The MUNICH20 dataset includes HVAC energy consumption as a feature but does not provide information on driving modes, whereas the HELECAR-D dataset lacks HVAC energy consumption but includes driving modes.These features are critical as they are strongly correlated with SOC changes.Training a single NN model across both datasets would introduce significant bias.For instance, including the driving mode feature in the MUNICH20 model would always result in the feature's value being zero, which could skew the model's learning process.Similarly, adding HVAC energy demand to the HELECAR-D model would misrepresent the data since the vehicle used in this dataset does not have an HVAC system.To ensure accurate learning from the available features in each dataset, two independent NN models were trained, each optimized for its respective dataset. Experimental Results First, we trained regression models (LR, SVR, and RF) on both datasets.Figures 4 and 5 present the estimated SOC output.The NN training takes longer time than the previous algorithms; however, it has also performed well in the first test sets for both scenarios, as presented in Figures 6 and 7 and also in the second test sets, as in Table 2, compared to the ML performance on the second test set.These findings demonstrate that the modeled NN for both datasets can handle overfitting much better than the ML algorithms.Across most tests, neural networks (NN) consistently outperformed other algorithms, especially in Munich20, where they exhibited remarkable adaptability to various data conditions, reflected in their low error rates (MSE of 0.62) and high R² value (0.992) in the first test.Conversely, random forest's (RF) performance varied: it was outstanding in the first test of HELECAR-D (with an MSE of 1.20 and R² of 0.997) but less impressive in other scenarios, particularly in the second test of Munich20, where it had an MSE of 7.29 and an R² of 0.75.While reliable, linear regression (LR) and support vector regression (SVR) did not reach the performance levels of NN and were occasionally surpassed by RF, as seen with LR's R² of 0.56 in Munich20, Test 2. This fluctuation in effectiveness across different tests and datasets underscores the impact of specific data characteristics on the algorithms' performance.NN's strong performance is likely due to their superior capability in modeling complex and non-linear relationships, a feature less effectively captured by the other models.Although each algorithm has its advantages, NN emerged as the most flexible and effective across the conducted tests and datasets, as shown by their consistent R² values above 0.9 in all but one scenario.Specifically, in the second test of Munich20, NN achieved an MSE of 0.62 and an R² of 0.92, and in HELECAR-D, Test 2, they maintained a high R² of 0.96 despite the challenges.These findings highlight NN's robustness and adaptability in various testing conditions.In electric mobility research, accurately estimating the SOC is critical for operational reliability and efficiency.This work contributes to the field by using real-world driving data, contrasting with most existing literature, which uses battery data from controlled laboratory conditions as presented in the works of [9,24,32] or overly simplified driving scenarios.Our findings indicate that real-world data, including a more extensive range of driving scenarios and auxiliary components like HVAC systems, weather conditions, and specific route information, results in a more significant difference between Estimated SOC and Recorded SOC values from the datasets.This deviation emphasizes the complexities of real-world EV operation, as opposed to the idealized settings commonly depicted in simulation-based research.In our analysis, neural networks (NN) demonstrated superior performance in handling these complexities, especially when compared to more traditional models like linear regression (LR) and support vector regression (SVR).The NN's ability to minimize MSE and maximize R² is particularly notable in HELECAR-D.The findings align with results from [27] that employed a hybrid model using LR and LSTM networks, which also leveraged real-world data.However, our research adds more to the conversation by integrating an additional test set and additional datasets that highlight the energy consumption of HVAC systems, a critical factor that should not be overlooked in SOC estimation for BEVs.Moreover, our research incorporated an essential second testing phase, a step often neglected in related studies.This second phase is crucial for reducing the risk of overfitting, which happens when models are too fine-tuned to a particular dataset, making them less effective in real-world situations.This part of our study helps ensure that the utilized NN models are robust and can be trusted to work well across different driving conditions. Conclusions Battery state of charge (SOC) estimation in electric vehicles is crucial for intelligent energy management; therefore, in this paper, we evaluated four different algorithms: linear regression (LR), support vector regression (SVR), random forest regression (RF), and neural networks (NN) on two datasets from different contexts (European and African).With each specific number of features for SOC estimation, two tests were applied on both algorithms for each dataset.It can be concluded based on the findings that NNs consistently displayed high predictive accuracy across different in Munich20, surpassing models with the lowest MSE and highest R² values.While LR and SVR demonstrated commendable model fits with high R² values, NN generally outperformed them.RF exhibited a more variable performance, with relatively lower accuracy than LR and SVR in Munich20, but excelled in HELECAR-D, Test 1, with the best predictive results among the algorithms.However, RF's performance notably declined in other tests.SVR emerged as a robust algorithm in HELECAR-D, Test 2, showing a favorable balance between error metrics and R², suggesting a reliable performance even when other algorithms faltered.Overall, while each algorithm had strengths in specific tests, NN proved to be the most consistent regarding predictive accuracy.RF showed the ability to achieve high accuracy under certain conditions. Conclusions In upcoming projects, we plan to use the neural network (NN) models to estimate the state of charge (SOC) for a vehicle's journey.This estimation will then make intelligent decisions about distributing the vehicle's energy.By knowing the SOC in advance, we can better plan how to use the energy throughout the trip.This could help in using less power when it is not needed, which saves energy, or ensuring there is enough power for the parts of the trip that require more, like uphill stretches.The goal is to manage the vehicle's energy most effectively, making the ride smoother and the vehicle's energy use more efficient. Figure 1 . Figure 1.BEV model with powertrain and thermal management system. Figure 2 . Figure 2. Flow chart of the proposed data-driven methods to estimate battery SOC. Figure 2 . : This dataset includes a mix of trips with light traffic (T1, 50%) and dense traffic (T2, 50%).It is divided into 2/3 for training and 1/3 for testing.(b) DB_test2_HELECAR-D: This dataset comprises trips with moderate traffic (T3) and is used entirely for testing (100%).Data preprocessing consists of handling missing values and outliers of each trip and then integrating values of chosen trips to have a large dataset for better model training; the input features are then selected as presented in Figure3. Figure 3 . Figure 3. NN architecture with selected features for each driving scenario ((a) Munich20, (b) HELECAR-D 2). Figure 4 . Figure 4. Recorded SOC vs.Estimated SOCusing Munich20. Figure 5 . Figure 5. Recorded SOC vs.Estimated SOC using HELECAR-D.(a) Regression performance In the first scenario as well as the second, all the regression algorithms have performed commendably in estimating the SOC values over time on the first test sets.The RF algorithm showed a relatively lower performance compared to LR and SVR for Munich20, with an MSE of 3.44 and R² of 0.972, but was still fairly accurate.For HELECAR-D, RF excelled in the first test with the lowest MSE of 1.20 and the highest R² of 0.997, indicating very accurate estimations.However, to validate the regression models for SOC forecasting, we must consider the different input features selected in both datasets.It is prudent to test on a new set for both scenarios.Table 2 presents the performance indices (PI) of the regression models on both tests for each dataset.Notably, the second test represents actual trips considered only for a second-test model evaluation.Performance of all algorithms decreased in Test 2 compared to Test 1, with SVR maintaining the best balance of error metrics (MSE of 2.32 and MAE of 1.27) and R² (0.73), indicating relatively better predictive capability for Munich20.However, the performance on the second test set for both datasets decreases, evidenced by LR's R² dropping to 0.56 in Munich20, Test 2, even after extensive hyperparameter tuning and model regularization.Most regression models show promise when splitting the datasets into training, validation, and test sets due Figure 6 . Figure 6.Recorded SOC vs. NN-Estimated SOC using Munich20. Figure 7 . Figure 7. Recorded SOC vs. NN-Estimated SOC using HELECAR-D. Node 2: TMS Number of Passengers Outside Temperature Target Temperature Drive cycle Driver Controller SVR, or support vector regressor, is a supervised learning algorithm employed for addressing various nonlinear classification and regression challenges.It operates on a principle similar to the support vector machine (SVM) but focuses on predicting the value of the output rather than classifying it into categories.An ensemble learning strategy.Algorithm 3 functions by generating several decision trees during the training process and deriving a collective prediction from the outputs of these individual trees.This technique focuses on the aggregated knowledge obtained from various trees instead of depending on a solitary model, thereby achieving a more robust and more dependable prediction through the mean of the outcomes from every tree that forms part of the ensemble. Node 2: TMS Number of Passengers Outside Temperature Target Temperature Drive cycle Driver Controller 1: Linear Regression Input: Dataset with predictor variable x and target variable y Output: Model coefficients β 0 and β 1 Define the model: y = β 0 + β 1 x + ϵ; Estimate coefficients using least squares; Evaluate the model using R-squared, MSE, and MAE; Make predictions: Use the model to predict y for new x values; 2. Support Vector Regression: Algorithm 3: Random Forest Regression Input: Training data Output: Ensemble model for prediction Bootstrap Sampling: Create multiple random subsets of the data; Build Decision Trees: Grow decision trees using different subsets of features; Aggregate Predictions: Average the predictions from all decision trees; Predict new data points using the ensemble model;4.Neural Networks (NNs): These models are used to describe a non-linear or complex interaction using a set of input and output data.They consist of layers of interconnected nodes where each node performs a simple computation.The connections between neurons have associated weights tuned during the learning process as described in Algorithm 4. Different NN architectures exist in the literature, such as: Table 2 . Comparison of algorithm performance using Munich20 and HELECAR-D.

섹션 본문 51문단 · 33,284자

(제목 없음)

1Electric vehicles (EVs) are rising in the automotive industry, replacing combustion engines and increasing their global market presence.These vehicles offer zero emissions during operation and more straightforward maintenance.However, for such systems that rely heavily on battery capacity, precisely determining the battery's state of charge (SOC) presents a significant challenge due to its essential role in lithium-ion batteries.This research introduces a dual-phase testing approach, considering factors like HVAC use and road topography, and evaluating machine learning models such as linear regression, support vector regression, random forest regression, and neural networks using datasets from real-world driving conditions in European (Germany) and African (Morocco) contexts.The results validate that the proposed neural networks model does not overfit when evaluated using the dual-phase test method compared to previous studies.The neural networks consistently show high predictive precision across different scenarios within the datasets, outperforming other models by achieving the lowest mean squared error (MSE) and the highest R² values.

Introduction

2Today's automotive sector is moving towards intelligent transportation, which is emerging as a pivotal global industry, wielding significant influence not only on the economic front but also in the realm of research and development.A growing array of technological components are being integrated into vehicles to enhance safety and comfort.

3In light of the critical imperative to combat climate change and lower air pollution levels [1], the environmental benefits of using electric vehicles (EV) are especially significant.As governments and policymakers worldwide intensify their efforts to meet these challenges, promoting EVs has become a transition towards decarbonization of the transportation system since manufacturers are electrifying their fleets to meet new legal requirements.The shift to EVs is seen as a technical advancement and a crucial step toward sustainable transportation.Advances in battery technology, charging infrastructure, and regulations supporting low-emission cars contribute to this change [2].However, despite the increased supply of EVs and improving infrastructure related to EV charging, vehicle registration statistics indicate that customers still need to embrace EVs [3].

4The EV is characterized by its low noise emissions, user-friendly operation, and absence of fuel-related expenses commonly associated with traditional vehicles.Despite these advancements, their limited operating range remains a significant barrier to the broad acceptance of battery electric vehicles (BEVs).The reluctance to fully embrace BEVs is partly due to current battery technology, which is rapidly evolving yet still does not match the energy density and recharging speed of traditional gasoline engines [4].Thus, the precise assessment of the SOC of batteries has become indispensable for drivers and the energy regulation systems of these vehicles.The SOC is a vital indicator of a battery's residual charge, which not only informs the potential driving range before the necessity of recharging arises but also aids in mitigating risks associated with overcharging and undercharging [5].It is similar to the gasoline gauge in traditional automobiles but is more complex to estimate accurately due to the nature of battery chemistries [6].Over the last decades, extensive scientific research has focused on determining the SOC of batteries.Owing to the complex and non-linear electrochemical properties of batteries, their performance hinges on a variety of factors, both intrinsic and environmental.Methods for estimating the SOC leverage available data through various techniques, including open circuit voltage (OCV), the Kalman filter (KF), and artificial intelligence (AI) approaches.It is also critical to evaluate not just individual battery performance but the collective performance of the entire battery assembly.Moreover, challenges like battery degradation, lifespan, temperature variations, among others, present considerable difficulties in precisely gauging the SOC [7].

5In the past few years, machine learning (ML) has become an essential tool in many areas, including the automotive industry [8,9] and energy management systems (EMS) [10,11].Using machine learning to estimate the SOC of BEVs is an important step forward in solving the problem of range anxiety.ML algorithms can learn from driving data, patterns of battery use, and environmental factors.They provide a more accurate and reliable SOC estimation than traditional methods.This enhancement is critical in improving the user experience by providing more precise range predictions and a more comfortable ride, thus fostering greater confidence and adoption of EVs among potential users.ML used in SOC estimations opens up smart energy management possibilities for BEVs.By accurately determining the SOC, the EMS can use the battery best, improve the vehicle's performance, and even make the battery last longer through efficient charging and discharging strategies [12].Therefore, precise SOC estimation not only contributes to the user's convenience but also the vehicle's overall safety.By incorporating ML-based SOC estimation into intelligent transportation systems (ITS), BEVs can establish communication with charging stations, traffic management systems, and other vehicles in order to optimize traffic flow, charging schedules, and driving routes.The research work presented in the current paper focuses on the estimation of the battery electric vehicle SOC using data-driven approaches like regression models and artificial neural networks, as well as trained real-world driving data derived from two different BEVs.

6The rest of this paper is organized as follows: Section 2 provides a comprehensive review of current methods for SOC estimation.Section 3 details the methodology we propose.Section 4 discusses the experimental results.The paper concludes with Section 5, which offers conclusions and future outlooks of this study.

Related Work

7In general, battery SOC is characterized as the fraction of the remaining energy relative to the total energy capacity it can store (1).With Q c representing the residual energy and Q 0 denoting the initial energy available under specific conditions, Q T is the amount of energy that the battery has previously discharged.The SOC can, therefore, be mathematically expressed using these variables.

8However, this mathematical representation of the battery's available capacity does not fully capture its practical variability, as SOC is frequently affected by a variety of conditions [13].The battery SOC can be calculated using several methods, the most common of which involve the integration of current over time and voltage-based models.The methods for estimating SOC can be categorized into three groups: a.

Conventional Methods

9Approaches that heavily depend on battery parameters, such as the straightforward look-up table methods [14], are primarily represented by the open-circuit voltage (OCV), which assumes that there is a linear relation between the voltage, the SOC and the ampere-hour (Ah) integration method.Yet, these methods exhibit a substantial estimation error and may not be well-suited for real-time estimation across different battery types.The association between the SOC and the open-circuit voltage (OCV) depends on the battery's type and capacity.A lead-acid battery, for instance, shows a direct linear relationship between SOC and OCV, unlike lithium-ion batteries with more complex and non-linear connections [15].

b. Model Based Methods

10Model-based approaches were presented to overcome the limitations of traditional methods that rely solely on battery parameters.The main goal of model-based SOC estimation lies in utilizing the battery model to establish a connection between battery signals.Model-based techniques such as the Electrochemical Impedance Model (EIM) and electrochemical impedance spectroscopy (EIS) [16,17] are used to discern the relationship between a battery's impedance and its state of charge (SOC).Alternatively, linking the model to cellular measurements through the use of a filtering algorithm derived from current control theory can establish a closed-loop system for estimation.This method capitalizes on the variances between the modeled and actual battery outputs to refine the state predictions, thereby reducing the discrepancy between the modeled battery and the measured signals.The Kalman filter (KF) is a popular filter-based model; however, it is applicable only to linear systems.The extended Kalman filters (EKF) and Sigma-Point Kalman filters (SPKF) extend this capability to nonlinear systems [18][19][20].The KF and its variants operate on the premise that all noises are characterized by zero mean and follow a Gaussian distribution.In contrast, the adaptive Kalman filter (AKF) estimates both the model and the noises online, while the adaptive extended Kalman filter (AEKF) is utilized to enhance state estimation accuracy [21].c.

Data Driven Methods

11The inaccuracy of SOC estimation using model-based or traditional methods is still high when comparing the estimated output and the actual SOC recorded in the datasets.Furthermore, they are methods that are time-consuming and have low efficiency.Data-driven methods are established to accurately estimate the SOC based on recorded data; we are talking about artificial intelligence (AI) algorithms that take information from large datasets for model training [22].Machine learning (ML) models forecast battery SOC based on time-series datasets, including features that could impact the SOC over time.SOC estimation often employs regression algorithms like linear regression (LR), support vector machine (SVM), support vector regressor (SVR), Gaussian process regression (GPR), random forest regression (RF), and decision tree regression (DT), as documented in various references [23][24][25][26].The works of [27,28] introduced a hybrid SOC estimation approach combining model-based and data-driven methods for better accuracy.Deep learning (DL) or neural networks (NNs) in research have been shown to give better results related to SOC estimation [29].An artificial neural network (ANN) model is created to estimate the SOC accurately.The estimation relies on load classification, which includes post-processing and boosting techniques to prevent overfitting, as discussed in [30].Additionally, a comparative study of DL algorithms for lithium-ion SOC estimation was carried out in the works of [31,32].The papers [33][34][35] also introduce the use of a long short-term memory recurrent neural network (LSTM-RNN) for SOC estimation.In [36], a deep multilayer perceptron network was developed and assessed using different activation functions, including the Sigmoid, tanh, ReLU, and Mish activation functions.Additional studies have focused on analyzing the effects of HVAC on electric vehicles, distributed power generation, and electrical storage using AI for accurate SOC estimation and to improve range and battery lifetime [37].Statistical analysis using ARIMA models and LTSM was dedicated to SOC forecasting in micro-grid systems [38].

12While offering enhanced accuracy and adaptability in SOC estimation, data-driven methods also present several challenges.One significant drawback is their dependency on vast and high-quality datasets, which may not always be available or may require extensive preprocessing to be valid.These methods can also be computationally intensive, leading to longer processing times and requiring more powerful hardware, which can increase the cost and complexity of implementation.These methods may need to be more balanced, especially in scenarios where the variability in the training data do not accurately reflect real-world conditions, which can lead the models to overfit.

13In this research, we evaluate the batteries' state of charge (SOC) estimation using real-world driving data, a notable departure from the controlled laboratory conditions in the existing literature.To comprehensively understand EV energy consumption, we underscore the importance of incorporating diverse driving scenarios and auxiliary components, such as HVAC systems, weather conditions, and specific route information.By leveraging datasets from European (Germany) and African (Morocco) contexts, we address the complexities of real-world EV operation, particularly highlighting the underexplored challenges of African road conditions.Furthermore, we compare four machine learning models and introduce a second testing phase to combat overfitting, ensuring model robustness and reliability across various driving conditions.This dual-phase testing enhances the practical applicability of our models, marking a significant contribution to the field.

Methodology

14In a previous study [39], the paper analyzed how the EV's energy consumption could be affected by factors like road topography and ambient temperature when switching to comfort ride mode on Moroccan roads.However, the evaluation was insufficient for an accurate BEV range estimation in a real-life scenario, whether for a regular or a comfort ride option.Building upon the EV model in that study, the research was extended by evaluating the SOC estimation, including two crucial energy consumers as presented in Figure 1.The block diagram illustrates an electric vehicle's system, where the driver controller interprets the driver's input via the drive cycle to manage the vehicle's speed.The powertrain includes a power converter responsible for modulating the power from the battery to drive the motor, which in turn propels the vehicle.Additionally, the thermal management system (TMS) from [40][41][42], regulates the temperature for optimal performance and comfort, encompassing the HVAC system that handles air conditioning, ventilation, and heating within the vehicle's cabin and its components.The TMS takes as input parameters the target cabin temperature, the outside temperature, the number of passengers, and the vehicle's speed.Finally, the lithium-ion type battery is central to the system, providing energy to the powertrain and TMS and recovering energy through regenerative braking.The battery block uses KF and EKF for SOC estimation.The estimation results using the model-based method were not as satisfying as expected, with a significant difference when comparing the simulation output and the actual recorded SOC in the datasets.This difference might be explained by several limits related to the MATLAB/SIMULINK existing model adaptation, as listed below:

15(i) Model Accuracy: It can sometimes encourage idealized modeling that does not take into account all the non-linearities and uncertainties present in real systems.(ii) Documentation: It may sometimes be insufficient, particularly for advanced functionalities or custom blocks.(iii) Limited Customization: In some cases, it is impossible to introduce input parameters.(iv) Simulation parameters: Managing simulation parameters to guarantee test reproducibility is a challenge when using real datasets.(v) Performance: The simulated BEV is a model with a large number of Simulink and Simscape blocks, making simulation time-consuming and consuming a lot of system resources.

16As an alternative approach, in this section, we present the chosen data-driven methods used to estimate the battery SOC, tested on actual data from a Moroccan and European context.The models were trained and tested with Python 3.10.12version using ML libraries like scikit-learn (sklearn), Tensorflow, and Keras [43][44][45].The flow chart in Figure 2 illustrates the process of SOC forecasting using ML algorithms.Initially, data preprocessing is imperative to refine the collected data, involving cleaning to remove noise or irrelevant information, transformation to ensure consistency, and feature selection to identify the most relevant parameters for SOC estimation.Selecting appropriate features is crucial as it directly influences the model's accuracy and computational efficiency.The choice of algorithms-linear regression (LR), support vector regression (SVR), random forest (RF), and neural networks (NNs)-strikes a balance between simplicity and precision.LR, with its straightforward computation, offers a baseline for performance.SVR was selected because of its capacity to handle non-linear relationships.RF is included for its robustness to overfitting and its ability to rank the importance of features.At the same time, NNs were chosen because of their high potential for accuracy in complex relationships.Performance indices like mean absolute error (MAE), mean squared error (MSE), root mean squared error (RMSE), and R² are utilized to evaluate the models rigorously on an initial and second test sets.These metrics give us a comprehensive view of the model's accuracy and the variance explained by the model [46].The second test set is additional recorded trips with the same number of features.Including a secondary test set, sourced from different operational contexts, is a strategic measure to assess the generalizability of the models and safeguard against overfitting.This dual-phase testing ensures that the algorithms perform well across various scenarios, which is essential for reliable SOC estimation in the dynamic environment of electric vehicles.The algorithms enlisted for SOC estimation in battery electric vehicles are detailed as follows:

171.

18Linear Regression: A statistical model that describes a linear relationship between dependent and independent variables.LR is a supervised ML algorithm applied to models with continuous linear variable output.It is often used for its simplicity and performance when tested on small-or medium-sized datasets.The empirical equation of the model is:

19where y is the predicted variable, x 1 , x 2 , . . ., x n are the input feature values, β 0 , β 1 , . . ., β n are the coefficients, and ϵ is the error term as presented in Algorithm 1.

20Algorithm The chosen PIs for the algorithm evaluation are listed in Table 1.

21Table 1.Overview of Error Metrics.

MAE (Mean Absolute Error)

22A metric that measures the difference between two variables that are continuous.It is determined by computing the mean of the absolute variations between the forecasted values and the actual observed data.

23Where y i is the actual value, ŷi is the predicted value, and n is the number of observations.

MSE (Mean Squared Error)

24Computes the average of the squared differences, representing the variance between the predicted and actual values.Due to the squaring of errors, MSE is more sensitive to outliers compared to the MAE.

25Where y i is the actual value, ŷi is the predicted value, and n is the number of observations.

RMSE (Root Mean Squared Error)

26Quantifies the average magnitude of residuals, emphasizing larger errors more significantly.RMSE is particularly useful in scenarios where large errors are especially undesirable.

27Where y i is the actual value, ŷi is the predicted value, and n signifies the total number of observations

28This statistical metric reflects the proportion of variance in the dependent variable that can be attributed to the independent variables in a regression analysis.It evaluates the adequacy of the model, demonstrating the extent to which the predicted values correspond with the actual data.A perfect R 2 of 1 means the predictions match the data exactly.

29Where y i is the actual value, ŷi is the predicted value, ȳ is the mean of actual values, and n is the number of observations.

30For a comprehensive evaluation of the model's performance, the inclusion of MAE, MSE, and RMSE as complementary metrics is justified by: -MAE provides an average measure of absolute error.-MSE emphasizes more significant errors by penalizing them quadratically.-RMSE offers an interpretable error measure in the same units as the target variable, allowing us to analyze the models from different perspectives.

Experimental Results

31In this section, we estimate the EV battery SOC based on data-driven approaches by considering impact factors that can significantly influence energy consumption.We use two different datasets [47,48] under two different contexts:

32• Dataset 1: Referred to as Munich20, it consists of 72 actual driving recorded trips in Munich, Germany, of a BMW I3 (60 Ah), highlighting the HVAC system's significant power demand.This dataset validates a comprehensive vehicle model, including the powertrain and the HVAC.Each trip contains environmental, vehicle, battery, and heating circuit data.It includes Category A (recorded trips in summer) and Category B (winter).

33• Dataset 2: known as HELECAR-D, is a dataset collected in Morocco from three routes within the cities of Rabat and Sala Al Jadida.The data were gathered using a Renault TWIZY vehicle and includes various features such as date, time, battery SOC, vehicle speed, driving mode, GPS data, weather conditions, traffic information, and speed limits.It is worth noting that two recorded trajectories took place on urban roads, and the dataset includes 3 categories: T1 (light traffic), T2 (dense traffic), and T3 (moderate traffic).The works of [27] have used this dataset for SOC forecasting using a hybrid approach as stated in the related work section.

34We reconstituted the databases for the second test evaluation as follows:

351. Munich20 Database:

36(a) DB_test1_Munich20: A mix of trips A (70%) and B (30%).It is divided into 2/3 for training and 1/3 for testing.(b) DB_test2_Munich20: A mix of trips A (30%) and B (70%), used entirely for testing (100%).Finally, all obtained data are normalized to mitigate fluctuations associated with the varying scales of each feature.Both datasets are split into training and testing as highlighted previously.All the chosen algorithms were tested twice on the corresponding test sets, and each algorithm's performance should be assessed using error metrics as indicated in the flow chart of the proposed evaluation methodology.

37In this study, we developed two separate neural network (NN) models for SOC estimation to account for the differences in features between the datasets.The MUNICH20 dataset includes HVAC energy consumption as a feature but does not provide information on driving modes, whereas the HELECAR-D dataset lacks HVAC energy consumption but includes driving modes.These features are critical as they are strongly correlated with SOC changes.Training a single NN model across both datasets would introduce significant bias.For instance, including the driving mode feature in the MUNICH20 model would always result in the feature's value being zero, which could skew the model's learning process.Similarly, adding HVAC energy demand to the HELECAR-D model would misrepresent the data since the vehicle used in this dataset does not have an HVAC system.To ensure accurate learning from the available features in each dataset, two independent NN models were trained, each optimized for its respective dataset.

38First, we trained regression models (LR, SVR, and RF) on both datasets.Figures 4 and 5 present the estimated SOC output.The NN training takes longer time than the previous algorithms; however, it has also performed well in the first test sets for both scenarios, as presented in Figures 6 and 7 and also in the second test sets, as in Table 2, compared to the ML performance on the second test set.These findings demonstrate that the modeled NN for both datasets can handle overfitting much better than the ML algorithms.Across most tests, neural networks (NN) consistently outperformed other algorithms, especially in Munich20, where they exhibited remarkable adaptability to various data conditions, reflected in their low error rates (MSE of 0.62) and high R² value (0.992) in the first test.Conversely, random forest's (RF) performance varied: it was outstanding in the first test of HELECAR-D (with an MSE of 1.20 and R² of 0.997) but less impressive in other scenarios, particularly in the second test of Munich20, where it had an MSE of 7.29 and an R² of 0.75.While reliable, linear regression (LR) and support vector regression (SVR) did not reach the performance levels of NN and were occasionally surpassed by RF, as seen with LR's R² of 0.56 in Munich20, Test 2. This fluctuation in effectiveness across different tests and datasets underscores the impact of specific data characteristics on the algorithms' performance.NN's strong performance is likely due to their superior capability in modeling complex and non-linear relationships, a feature less effectively captured by the other models.Although each algorithm has its advantages, NN emerged as the most flexible and effective across the conducted tests and datasets, as shown by their consistent R² values above 0.9 in all but one scenario.Specifically, in the second test of Munich20, NN achieved an MSE of 0.62 and an R² of 0.92, and in HELECAR-D, Test 2, they maintained a high R² of 0.96 despite the challenges.These findings highlight NN's robustness and adaptability in various testing conditions.In electric mobility research, accurately estimating the SOC is critical for operational reliability and efficiency.This work contributes to the field by using real-world driving data, contrasting with most existing literature, which uses battery data from controlled laboratory conditions as presented in the works of [9,24,32] or overly simplified driving scenarios.Our findings indicate that real-world data, including a more extensive range of driving scenarios and auxiliary components like HVAC systems, weather conditions, and specific route information, results in a more significant difference between Estimated SOC and Recorded SOC values from the datasets.This deviation emphasizes the complexities of real-world EV operation, as opposed to the idealized settings commonly depicted in simulation-based research.In our analysis, neural networks (NN) demonstrated superior performance in handling these complexities, especially when compared to more traditional models like linear regression (LR) and support vector regression (SVR).The NN's ability to minimize MSE and maximize R² is particularly notable in HELECAR-D.The findings align with results from [27] that employed a hybrid model using LR and LSTM networks, which also leveraged real-world data.However, our research adds more to the conversation by integrating an additional test set and additional datasets that highlight the energy consumption of HVAC systems, a critical factor that should not be overlooked in SOC estimation for BEVs.Moreover, our research incorporated an essential second testing phase, a step often neglected in related studies.This second phase is crucial for reducing the risk of overfitting, which happens when models are too fine-tuned to a particular dataset, making them less effective in real-world situations.This part of our study helps ensure that the utilized NN models are robust and can be trusted to work well across different driving conditions.

Conclusions

39Battery state of charge (SOC) estimation in electric vehicles is crucial for intelligent energy management; therefore, in this paper, we evaluated four different algorithms: linear regression (LR), support vector regression (SVR), random forest regression (RF), and neural networks (NN) on two datasets from different contexts (European and African).With each specific number of features for SOC estimation, two tests were applied on both algorithms for each dataset.It can be concluded based on the findings that NNs consistently displayed high predictive accuracy across different in Munich20, surpassing models with the lowest MSE and highest R² values.While LR and SVR demonstrated commendable model fits with high R² values, NN generally outperformed them.RF exhibited a more variable performance, with relatively lower accuracy than LR and SVR in Munich20, but excelled in HELECAR-D, Test 1, with the best predictive results among the algorithms.However, RF's performance notably declined in other tests.SVR emerged as a robust algorithm in HELECAR-D, Test 2, showing a favorable balance between error metrics and R², suggesting a reliable performance even when other algorithms faltered.Overall, while each algorithm had strengths in specific tests, NN proved to be the most consistent regarding predictive accuracy.RF showed the ability to achieve high accuracy under certain conditions.

40In upcoming projects, we plan to use the neural network (NN) models to estimate the state of charge (SOC) for a vehicle's journey.This estimation will then make intelligent decisions about distributing the vehicle's energy.By knowing the SOC in advance, we can better plan how to use the energy throughout the trip.This could help in using less power when it is not needed, which saves energy, or ensuring there is enough power for the parts of the trip that require more, like uphill stretches.The goal is to manage the vehicle's energy most effectively, making the ride smoother and the vehicle's energy use more efficient.

Figure 1 .

41Figure 1.BEV model with powertrain and thermal management system.

Figure 2 .

42Figure 2. Flow chart of the proposed data-driven methods to estimate battery SOC.

43: This dataset includes a mix of trips with light traffic (T1, 50%) and dense traffic (T2, 50%).It is divided into 2/3 for training and 1/3 for testing.(b) DB_test2_HELECAR-D: This dataset comprises trips with moderate traffic (T3) and is used entirely for testing (100%).Data preprocessing consists of handling missing values and outliers of each trip and then integrating values of chosen trips to have a large dataset for better model training; the input features are then selected as presented in Figure3.

Figure 3 .

44Figure 3. NN architecture with selected features for each driving scenario ((a) Munich20, (b) HELECAR-D 2).

Figure 4 .

45Figure 4. Recorded SOC vs.Estimated SOCusing Munich20.

Figure 5 .

46Figure 5. Recorded SOC vs.Estimated SOC using HELECAR-D.(a) Regression performance In the first scenario as well as the second, all the regression algorithms have performed commendably in estimating the SOC values over time on the first test sets.The RF algorithm showed a relatively lower performance compared to LR and SVR for Munich20, with an MSE of 3.44 and R² of 0.972, but was still fairly accurate.For HELECAR-D, RF excelled in the first test with the lowest MSE of 1.20 and the highest R² of 0.997, indicating very accurate estimations.However, to validate the regression models for SOC forecasting, we must consider the different input features selected in both datasets.It is prudent to test on a new set for both scenarios.Table 2 presents the performance indices (PI) of the regression models on both tests for each dataset.Notably, the second test represents actual trips considered only for a second-test model evaluation.Performance of all algorithms decreased in Test 2 compared to Test 1, with SVR maintaining the best balance of error metrics (MSE of 2.32 and MAE of 1.27) and R² (0.73), indicating relatively better predictive capability for Munich20.However, the performance on the second test set for both datasets decreases, evidenced by LR's R² dropping to 0.56 in Munich20, Test 2, even after extensive hyperparameter tuning and model regularization.Most regression models show promise when splitting the datasets into training, validation, and test sets due

Figure 6 .

47Figure 6.Recorded SOC vs. NN-Estimated SOC using Munich20.

Figure 7 .

48Figure 7. Recorded SOC vs. NN-Estimated SOC using HELECAR-D.

Node 2: TMS Number of Passengers Outside Temperature Target Temperature Drive cycle Driver Controller

49SVR, or support vector regressor, is a supervised learning algorithm employed for addressing various nonlinear classification and regression challenges.It operates on a principle similar to the support vector machine (SVM) but focuses on predicting the value of the output rather than classifying it into categories.An ensemble learning strategy.Algorithm 3 functions by generating several decision trees during the training process and deriving a collective prediction from the outputs of these individual trees.This technique focuses on the aggregated knowledge obtained from various trees instead of depending on a solitary model, thereby achieving a more robust and more dependable prediction through the mean of the outcomes from every tree that forms part of the ensemble.

501: Linear Regression Input: Dataset with predictor variable x and target variable y Output: Model coefficients β 0 and β 1 Define the model: y = β 0 + β 1 x + ϵ; Estimate coefficients using least squares; Evaluate the model using R-squared, MSE, and MAE; Make predictions: Use the model to predict y for new x values; 2. Support Vector Regression: Algorithm 3: Random Forest Regression Input: Training data Output: Ensemble model for prediction Bootstrap Sampling: Create multiple random subsets of the data; Build Decision Trees: Grow decision trees using different subsets of features; Aggregate Predictions: Average the predictions from all decision trees; Predict new data points using the ensemble model;4.Neural Networks (NNs): These models are used to describe a non-linear or complex interaction using a set of input and output data.They consist of layers of interconnected nodes where each node performs a simple computation.The connections between neurons have associated weights tuned during the learning process as described in Algorithm 4. Different NN architectures exist in the literature, such as:

Table 2 .

51Comparison of algorithm performance using Munich20 and HELECAR-D.

참고문헌 41건

  1. Sigma-point Kalman filtering for battery management systems of LiPB-based HEV battery packs Journal of Power Sources · Elsevier BV · 2006 10.1016/j.jpowsour.2006.06.003
  2. A review on the key issues for lithium-ion battery management in electric vehicles Journal of Power Sources · Elsevier BV · 2012 10.1016/j.jpowsour.2012.10.060
  3. Scikit-learn: Machine Learning in Python arXiv (Cornell University) · Cornell University · 2012 10.48550/arxiv.1201.0490
  4. Battery-Management System (BMS) and SOC Development for Electrical Vehicles IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2010 10.1109/tvt.2010.2089647
  5. State-of-Charge Estimation for Electric Scooters by Using Learning Mechanisms IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2007 10.1109/tvt.2007.891433
  6. SOC estimation for aged lithium-ion batteries using model adaptive extended Kalman filter 2013 10.1109/itec.2013.6573479
  7. The lithium-ion battery state-of-charge estimation using random forest regression 2014 10.1109/phm.2014.6988190
  8. What are the barriers to widespread adoption of battery electric vehicles? A survey of public perception in Tianjin, China Transport Policy · Elsevier BV · 2017 10.1016/j.tranpol.2017.03.001
  9. A review of lithium-ion battery state of charge estimation and management system in electric vehicle applications: Challenges and recommendations Renewable and Sustainable Energy Reviews · Elsevier BV · 2017 10.1016/j.rser.2017.05.001
  10. State-of-charge estimation of Li-ion batteries using deep neural networks: A machine learning approach Journal of Power Sources · Elsevier BV · 2018 10.1016/j.jpowsour.2018.06.104
  11. Reinforcement Learning Based Energy Management Algorithm for Smart Energy Buildings Energies · Multidisciplinary Digital Publishing Institute · 2018 10.3390/en11082010
  12. An Assessment of Batteries form Battery Electric Vehicle Perspectives 2018 10.1109/sege.2018.8499462
  13. State of Charge Estimation for Lithium-Ion Batteries Using Model-Based and Data-Driven Methods: A Review IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2942213
  14. State of Charge Estimation using Recurrent Neural Networks with Long Short-Term Memory for Lithium-Ion Batteries IECON 2020 The 46th Annual Conference of the IEEE Industrial Electronics Society · 2019 10.1109/iecon.2019.8926815
  15. Global Governance and the Emergence of Global Institutions for the 21st Century Cambridge University Press eBooks · Cambridge University Press · 2020 10.1017/9781108569293
  16. Machine learning based system for managing energy efficiency of public sector as an approach towards smart cities International Journal of Information Management · Elsevier BV · 2020 10.1016/j.ijinfomgt.2020.102074
  17. Review on the State of Charge Estimation Methods for Electric Vehicle Battery World Electric Vehicle Journal · Multidisciplinary Digital Publishing Institute · 2020 10.3390/wevj11010023
  18. A comprehensive review of battery modeling and state estimation approaches for advanced battery management systems Renewable and Sustainable Energy Reviews · Elsevier BV · 2020 10.1016/j.rser.2020.110015
  19. Battery modelling and state of charge estimation methods for Energy Management in Electric Vehicle-A review IOP Conference Series Materials Science and Engineering · IOP Publishing · 2020 10.1088/1757-899x/937/1/012046
  20. Embedded Real-time Battery State-of-Charge Forecasting in Micro-Grid Systems Ecological Complexity · Elsevier BV · 2020 10.1016/j.ecocom.2020.100903
  21. State of Charge Estimation of Lithium-Ion Battery for Electric Vehicles Using Machine Learning Algorithms World Electric Vehicle Journal · Multidisciplinary Digital Publishing Institute · 2021 10.3390/wevj12010038
  22. Lithium-Ion Battery Pack Robust State of Charge Estimation, Cell Inconsistency, and Balancing: Review IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3068776
  23. Energy management of hybrid energy system sources based on machine learning classification algorithms Electric Power Systems Research · Elsevier BV · 2021 10.1016/j.epsr.2021.107436
  24. Review on the Battery Model and SOC Estimation Method Processes · Multidisciplinary Digital Publishing Institute · 2021 10.3390/pr9091685
  25. Error Metrics and Performance Fitness Indicators for Artificial Intelligence and Machine Learning in Engineering and Sciences Architecture Structures and Construction · Springer Nature · 2021 10.1007/s44150-021-00015-8
  26. SOC Estimation of Lithium-Ion Battery for Electric Vehicle Based on Deep Multilayer Perceptron Computational Intelligence and Neuroscience · Hindawi Publishing Corporation · 2022 10.1155/2022/3920317
  27. Advancements and Future Prospects of Electric Vehicle Technologies: A Comprehensive Review Complexity · Hindawi Publishing Corporation · 2022 10.1155/2022/3304796
  28. State of Charge Estimation for EV Batteries Using Support Vector Regression 2022 10.1109/itec53557.2022.9813811
  29. A Hybrid Approach for State-of-Charge Forecasting in Battery-Powered Electric Vehicles Sustainability · Multidisciplinary Digital Publishing Institute · 2022 10.3390/su14169993
  30. Method for SoC Estimation in Lithium-Ion Batteries Based on Multiple Linear Regression and Particle Swarm Optimization Energies · Multidisciplinary Digital Publishing Institute · 2022 10.3390/en15196881
  31. A comparative study of different deep learning algorithms for lithium-ion batteries on state-of-charge estimation Energy · Elsevier BV · 2022 10.1016/j.energy.2022.125872
  32. Machine learning for predicting battery capacity for electric vehicles eTransportation · Elsevier BV · 2022 10.1016/j.etran.2022.100214
  33. Integrating Machine Learning and Model Predictive Control for automotive applications: A review and future directions Engineering Applications of Artificial Intelligence · Elsevier BV · 2023 10.1016/j.engappai.2023.105878
  34. State of charge estimation of an electric vehicle’s battery using Deep Neural Networks: Simulation and experimental results Journal of Energy Storage · Elsevier BV · 2023 10.1016/j.est.2023.106904
  35. HELECAR-D: A dataset for urban electro mobility in Moroccan context Data in Brief · Elsevier BV · 2023 10.1016/j.dib.2023.109080
  36. Battery Parameter Analysis through Electrochemical Impedance Spectroscopy at Different State of Charge Levels Journal of Low Power Electronics and Applications · Multidisciplinary Digital Publishing Institute · 2023 10.3390/jlpea13020029
  37. Creating a Robust SoC Estimation Algorithm Based on LSTM Units and Trained with Synthetic Data World Electric Vehicle Journal · Multidisciplinary Digital Publishing Institute · 2023 10.3390/wevj14070197
  38. Research on SOC estimation method of hybrid electric vehicles battery based on the grey wolf optimized particle filter Computers & Electrical Engineering · Elsevier BV · 2023 10.1016/j.compeleceng.2023.108907
  39. Energy Consumption of a Battery Electric Vehicle for a Comfort Ride on Moroccan Roads 2023 10.1109/codit58514.2023.10284325
  40. A Comprehensive Review of Categorization and Perspectives on State-of-Charge Estimation Using Deep Learning Methods for Electric Transportation Wireless Personal Communications · Springer Science+Business Media · 2023 10.1007/s11277-023-10830-5
  41. A Novel SoC Estimation Method for Supercapacitor Cell Module Based on EKF-MF Hybrid Filtering Algorithm Journal of Electrical Engineering and Technology · Springer Science+Business Media · 2024 10.1007/s42835-024-01883-y