Abstract
The central challenge related to the development of electric vehicles (EVs) involves the effective integration of multiple input sources to create a robust and efficient power system. Recent advancements have focused on optimizing the power distribution within hybrid systems that combine batteries, supercapacitors, and renewable sources like solar PV. Conventionally, energy management systems (EMSs) have relied on rule-based algorithms or deterministic optimization methods. However, these techniques often lack adaptability under real-world driving conditions and face significant challenges regarding their generalizability and computational complexity when applied to dynamic driving cycles. Machine learning approaches are capable of modeling the complex, non-linear interactions between multiple energy sources to ensure intelligent power coordination. This paper proposes a novel Extreme Gradient Boosting (XGBoost)-based intelligent EMS for a BLDC motor-driven electric vehicle (e-bike) utilizing a hybrid battery–solar configuration with a supercapacitor for regenerative braking. The proposed system integrates a super-boost converter for efficient multi-source power delivery. The results show accurate energy source identification, effective multi-source coordination, improved energy utilization, reduced battery stress, and a rapid decision-making capability, which prove the feasibility of the proposed method for real-time electric bicycle energy management. The simulation was executed using the MATLAB/Simulink platform, and the obtained results are outlined.
1. Introduction
A move toward cleaner energy alternatives is required because the growing numbers of gasoline-powered vehicles have greatly increased environmental pollution. Electric vehicles (EVs) are a better option than traditional internal combustion engine vehicles and have become a sustainable and profitable solution [1,2]. EVs have become increasingly well known in recent years because of their lower environmental impact and long-term financial advantages [3]. In the near future, electric vehicles (EVs) will likely be the most popular alternative to gasoline-powered vehicles due to advancements in motor and converter technologies, battery efficiency, and supercapacitor systems [4,5].
High-rate power transients (HPTs) and frequent cycles of charging and discharging severely impair the longevity and health of batteries [6,7,8]. Certain strategies have been proposed to mitigate these effects, which include oversizing battery packs, integration with a high-power energy storage system (HPESS), and hybridization with battery cells [9,10,11]. Using supercapacitors (SCs), in particular an HPESS/battery hybrid configuration, has been the subject of much research. In these systems, SCs manage the HPTs, while the battery usually provides the average power demand. Nevertheless, the majority of current designs size the SC bank to partially support the energy demand of an EV [12,13].
Brushless Direct Current (BLDC) hub motors are a good option for light-duty electric vehicles, especially two-wheelers, where affordability is a top priority. This integrated motor design streamlines the drivetrain and increases overall efficiency by doing away with the need for mechanical power transmission parts like decelerators. The motor delivers positive torque straight to the wheel during propulsion. In contrast, a negative external torque needs to be applied to start deceleration. This braking torque is usually provided in electric vehicles by incorporating both a mechanical braking system and regenerative braking in the motor itself. When the motor’s regenerative torque is not enough to meet the necessary deceleration demand, the mechanical system steps in to provide efficient braking [14,15,16].
Numerous energy management strategies have been proposed for hybrid electric vehicles to coordinate power sharing between multiple energy sources. Traditional rule-based controllers are simple and computationally efficient, but need manual tuning and have limited adaptability under different driving conditions. Optimization-based methods can improve the energy efficiency, but their high computational complexity limits their real-time implementation. More recently, artificial intelligence techniques, such as artificial neural networks and reinforcement learning algorithms, have demonstrated improved adaptability by learning non-linear vehicle operating characteristics and optimizing the power distribution among multiple energy sources [17,18,19,20].
However, the existing intelligent energy management strategies generally demand massive training data, high computational resources or complicated controller design. In addition, research on lightweight machine learning algorithms for real-time energy management of battery–PV–supercapacitor hybrid energy storage systems with bidirectional super-boost converters for electric bicycles is not available. Therefore, there still exists a need for an efficient, accurate and computationally inexpensive energy management strategy that can be practically implemented. Also, because of the highly variable and uncertain load characteristics present during real-world vehicle operation, coordinating the power contributions of different storage technologies continues to be complex. To address this, a novel intelligent energy management system (EMS) with an Extreme Gradient Boosting (XGBoost) algorithm for an electric vehicle, an e-bike, driven by a BLDC hub motor is proposed. The e-bike is powered by a hybrid battery–solar photovoltaic (PV) system, augmented by a supercapacitor for storing regenerative braking energy. The main contributions of this paper are (1) a hybrid energy management framework that integrates XGBoost-based intelligent decision-making for dynamic energy source selection; (2) the incorporation of a super-boost converter to improve the efficiency of multi-source power delivery; and (3) a performance validation demonstrating the improved capability of the XGBoost-based EMS over conventional strategies in terms of energy-use effectiveness, reduced battery stress and ensuring real-time adaptability under different operating conditions.
2. Optimal Energy Management in Multi-Source Energy Storage Systems
The chopper working in bidirectional mode functions as a critical interface connecting the hybrid energy storage sources to the BLDC hub motor within an electric vehicle system [8,21,22,23]. The converter, working in buck–boost mode, effectively regulates the power flow in response to varying load and driving conditions. In motoring mode, the power converter works in boost mode, extracting energy from the battery/supercapacitor hybrid source and delivering it to the motor at the necessary voltage level. In braking mode, the converter transfers to buck mode. The bidirectional converter offers a notable benefit through its ability to facilitate regenerative braking [24]. When the vehicle slows down, the BLDC motor operates as generator that recovers the mechanical braking energy by converting it into electrical energy. The converter channels the harvested energy back to the hybrid storage units. The coordinated energy flow improves system efficiency, minimizes battery stress and enhances the durability of storage components. The bidirectional converter facilitates controlled propulsion and enables effective energy recovery, serving as a major component for improving the energy utilization efficiency of electric vehicles.
A chopper capable of bidirectional power transfer, depicted in Figure 1, includes hybrid energy sources and controlled switching devices, where the battery serves as an important storage component. The operational principle is outlined as follows. When switch T2 is activated, the battery supplies the current that flows through the inductor L and T2, completing the circuit back to the battery. When T2 is deactivated, the polarity of the inductor voltage reverses, resulting in a release of energy, which is stored in the inductor through diode D1 towards the BLDC motor, and subsequently returning to the inductor; hence, step-up operation is attained.
Figure 1.
Chopper with bidirectional power transfer capability.
The buck mode can be defined in the following manner. Upon activation of switch T1, the current is directed from the BLDC motor through T1 and the inductor L into the battery, subsequently returning to the motor side. Upon deactivation of T1, the inductor reverses its voltage polarity, allowing the current to flow through the battery and diode D2, and subsequently returning to the inductor. The energy flow in dual directions facilitated by the converter allows for the delivery of propulsion power and the recovery of energy, thereby enhancing efficient power management in the electric vehicle drivetrain.
In the context of electric cycles utilized within the Indian mobility landscape, it is essential to optimize the powertrain and energy management system to accommodate diverse terrain elevations, regular low-speed operation, and sporadic stop-and-go traffic conditions. Electric cycles in India generally utilize BLDC hub motors with power ratings ranging from 250 W to 500 W. This configuration adheres to local regulatory standards, permitting operation without the necessity of a driving license or vehicle registration [12]. The DC link voltage is typically maintained between 24 V and 48 V, which ensures an equilibrium among rider safety, system weight, and effective energy utilization. Hybrid energy storage systems (HESS) integrating a supercapacitor and battery provide distinct advantages for e-bike applications. The battery contributes high energy density, facilitating an extended driving range, while the supercapacitor offers high power density, accommodating rapid load transients, such as acceleration or hill climbing. Additionally, the incorporation of a PV panel enhances the system by supplying renewable energy and decreasing reliance on the stored battery charge. Optimal management of instantaneous power flow is critical not only to protect the battery from overload but also to improve energy use and extend the service life of the storage components [17,18,19]. Consequently, an intelligent energy management strategy is necessary to ascertain real-time power flow among the hybrid sources under varying riding conditions.
3. System Modeling and Methodology
3.1. System Architecture
The system architecture, shown in Figure 2, shows how a photovoltaic array, battery storage, and a supercapacitor are integrated into an optimized energy management system (EMS) in the powertrain of hybrid energy source-based electric vehicles. The system works by continuously gathering real-time data from a number of sensors: the solar irradiance and panel temperature determine the amount of renewable energy that is available, and the state of charge (SOC) of supercapacitor and battery show the availability and condition of the storage systems. At the same time, the factors affecting driving of an e-bike determine the BLDC motor’s immediate power demand. These factors include things like vehicle speed, terrain gradient, and accelerator position.
Figure 2.
System architecture of intelligent energy source selection.
A machine learning-based optimization algorithm—more precisely, XGBoost classifier—is trained to forecast the most efficient power source among three possibilities—solar alone, battery alone or a combined battery–supercapacitor mode. In order to determine the best power split, this ensemble learning model examines the intricate, non-linear relationships between the inputs, including temperature, driving demands, SOC levels, and irradiance. The driving condition categories include flat, uphill, downhill, and traffic. The algorithm’s output is a classificatory indication of the most efficient energy source (or combination of sources) to use at a particular moment, based on the driving pattern, energy availability, and storage states. By smoothly combining energy from the solar panel, battery, and supercapacitor, this guarantees the BLDC motor gets appropriate power, enhancing the efficiency of system, minimizing battery aging, and optimizing overall vehicle performance. A flow chart of XGBoost-based energy management method is presented in Figure 3.
Figure 3.
XGBoost-based energy management.
The algorithm utilizes both historical and experimentally acquired datasets for training, which facilitates the controller’s learning of optimal power-sharing behavior across various loading scenarios. During the validation stage, the performance evaluation metrics, including classification accuracy and prediction error, are assessed to confirm the robustness of the trained model. Integration of the XGBoost-based decision layer within the bidirectional DC-DC converter facilitates efficient energy utilization, minimizes peak current stress on the battery, and ensures stable operation across diverse terrain and usage patterns.
3.2. Super-Boost Converter
The super-boost converter serves as a key power-processing unit capable of generating substantially elevated output voltages from relatively low input sources, such as solar PV, battery, and supercapacitor. Unlike conventional boosting arrangements, this topology supports high-voltage amplification with reduced control effort, which makes it particularly suited for electric vehicle applications where multiple sources must deliver regulated power to the BLDC motor, which is connected to the electric cycle. Its operating principle lowers the required duty variation to achieve a large conversion gain, which helps increase the overall conversion efficiency while limiting switching losses and reducing electrical strain on the semiconductor switches. These features contribute to greater system robustness. Additionally, the converter’s structure eliminates the need for multiple cascaded stages, enabling a more compact, simpler, and reliable interface for coordinating the energy flow among the PV array, battery, and supercapacitor within an e-bike drivetrain. In Figure 4, V1 is the battery source, V2 is the solar PV, and V3 is the supercapacitor voltage. S1, S2, and S3 are switches and R1, R2, R3 are relays, which are active devices in different modes of converter.
Figure 4.
Super-boost converter.
The output voltage of super-boost converter, obtained from volt-second balance principle is
The duty cycle of switches S1, S2 and S3 are d1, d2 and d3, respectively; Vo is the output voltage across the capacitor. It is assumed that, instead of all sources being connected at the same time, each source is given a certain interval of the switching period. Thus, the common inductor sequentially stores energy from different sources and then releases the accumulated energy to the output during the discharge interval. The third duty ratio has a high impact on the voltage gain of the proposed three-input converter, since increasing d3 decreases a denominator term (1 − d3), causing an increased voltage conversion ratio. However, the choice of d3 closer to unity might deteriorate the converter dynamics and enhance the electrical stress on the switching devices. The first two duty cycles d1 and d2 are mainly used to define the duration of conduction intervals and the amount of power contribution of each source, with the battery being the main source of energy and the solar PV and supercapacitor providing additional power to reduce the battery loading and to support fast power transients. The duty ratios are chosen in an ordered range (where 0 < d1 < d2 < d3 < 1) for coordinated and efficient operation.
By applying the equations of state-space modeling, the concept of perturbations and the law of superposition, the transfer functions obtained are as follows.
3.3. Regenerative Braking and Supercapacitor Integration
Regenerative braking provides notable energy-saving benefits in frequently interrupted driving scenarios, where traditional friction-based braking mechanisms normally release a vehicle’s motion energy as heat. When a vehicle slows down, its momentum forces the traction machine to operate in an energy-recovery mode, transforming the vehicle’s motion into usable electrical power. Studies have shown that integrating such energy-recapture mechanisms can increase the travel capability of battery-powered vehicles by approximately 15% compared to systems that depend solely on mechanical braking. Efficiently harvesting this energy requires a power electronic interface capable of voltage conversion; however, the use of a standard unidirectional boost converter introduces increased cost, size, and control complexity. A more unified approach makes use of a dual-direction power converter capable of operating as a two-quadrant chopper. In this arrangement, the converter can work in a step-down state to route the recovered braking energy back into the battery, and in a step-up state to deliver elevated voltage levels to the motor during propulsion. This dual operational capability supports effective energy recovery and storage while simplifying the overall system architecture.
Supercapacitors offer the highest capacitive density of any capacitor available today, with densities so high that they are frequently used in battery applications. Supercapacitors are less volumetrically efficient and more expensive than batteries, but they have additional advantages that make them the preferred choice in cases where enormous quantities of energy are stored and given in bursts on a regular basis. The ability of supercapacitors to sustain repeated charge and discharge cycles without degrading is its major useful advantage over batteries.
Supercapacitors can provide power during surges or bursts because they are frequently charged and discharge quickly. A battery offers a high and constant energy source that compensates the limited energy capacity and short discharge time of supercapacitors. Such a hybrid design permits more time on the road, enhanced power supply, and better performance in conditions of low irradiance or low charge when a supercapacitor is not sufficient to supply enough power. Also, by being incorporated with a battery, fewer deep supercapacitor cycles can occur, which enhances the integrated system’s reliability and improves the operational life of the system’s storage elements.
3.4. XGBoost-Based Energy Management
Extreme Gradient Boosting (XGBoost) is well known for producing excellent predictive results in regression and classification applications based on a framework of ensemble learning. In contrast to conventional decision tree models, XGBoost builds an additive sequence of trees, each of which is tuned to fix the ensemble’s residual mistakes. The model can more accurately understand intricate non-linear interactions due to the gradient-based optimization technique. Additionally, model training is greatly accelerated by the use of distributed training and parallel processing, which makes it appropriate for real-time energy source selection in hybrid storage systems. Sequential boosting, regulated regularization, and effective computation work together to guarantee that XGBoost can make dependable and flexible choices for controlling the power flow between solar, battery, and supercapacitor units in a variety of operating scenarios.
The proposed methodology employs the XGBoost method to determine the optimal energy source by evaluating key performance metrics. The implementation process consists of the following steps.
3.4.1. Step 1: Gathering and Preparing Data
Real-time driving cycles were used to gather the important operational characteristics, such as solar irradiation, ambient temperature, battery SOC, supercapacitor SOC, vehicle load requirement, and intended BLDC motor speed. To guarantee consistent input representation, the dataset was then filtered and normalized.
3.4.2. Step 2: Partitioning the Dataset
Eighty percent of the 1000 data samples that were generated using a fixed random seed were employed for training and the remaining 20% were designated for testing. The feature space consisted of eight input features representing the driving and energy operating conditions.
3.4.3. Step 3: Initialization of the Model
The number of decision trees, maximum tree depth, and number of features assessed per split were among the hyperparameters that could be changed in the regression model. Later, these settings were adjusted to improve the model’s performance.
3.4.4. Step 4: Method of Cross-Validation
To ensure generalization capability and reduce overfitting, the dataset for training was evaluated using k-fold cross-validation. Four folds were employed for model training in each iteration, with the remaining fold functioning as a validation subset.
3.4.5. Step 5: Optimization of Hyperparameters
To find the best boosting configuration, a methodical hyperparameter search was carried out. Candidate configurations were assessed using cross-validation error trends, and parameters, such as the number of boosting iterations, regularization coefficients, and feature sampling ratios, were changed.
3.4.6. Step 6: Training the Model
To complete the decision framework for energy source selection, the XGBoost model was retrained on the entire training dataset using the ideal hyperparameter combination found in Step 5.
3.4.7. Step 7: Analysis of Results and Statistical Interpretation
To understand the prediction accuracy and energy management efficacy, the statistical results were examined. The outcomes show that under a variety of operating conditions, the XGBoost-based decision strategy reliably determined the best energy source.
4. Results and Discussion
4.1. Simulation Set up and Results
The super-boost converter-based hybrid powertrain model was realized and analyzed within a MATLAB 2018a/Simulink environment. The system configuration comprises a 22 V photovoltaic source, a 24 V battery unit, and a 30 V supercapacitor module, which collectively provide power to a 48 V, 350 W BLDC hub motor utilized in the electric bicycle. The model functions in various modes: battery-powered mode, solar-only mode, super-boost stage, regenerative braking stage, and parking (idle) stage. The selection of mode is contingent upon the current load and energy availability.
The variations in solar stage operation, battery stage operation, regeneration stage, super-boost stage, supercapacitor waveforms, solar PV waveforms and BLDC motor speed with respect to time are shown in Figure 5, Figure 6, Figure 7, Figure 8, Figure 9, Figure 10 and Figure 11.
Figure 5.
Waveforms corresponding to solar source operation.
Figure 6.
Waveforms corresponding to battery source operation.
Figure 7.
Waveforms corresponding to regeneration operation.
Figure 8.
Waveforms corresponding to super-boost operation.
Figure 9.
Current, voltage and SOC waveforms of supercapacitor.
Figure 10.
Waveforms corresponding to solar PV array.
Figure 11.
Feature-importance ranking of classifier.
When energy is delivered from the PV source, the current through the inductor shows a periodic ripple around its mean value, indicating ongoing conduction by the converter. The converter’s ability to provide a steady load current even in dynamic solar input conditions is confirmed by the output current, which stays almost constant with very small changes. The converter’s switching action, which controls the boost and buck intervals of operation, is represented by the alternating positive and negative pulses seen in the inductor voltage, but the voltage across the output exhibits little ripple and maintains a constant level, as shown in Figure 5.
Figure 6 represents the waveform corresponding to battery mode operation. Smooth energy transfer and steady current regulation are confirmed by the inductor current’s low ripple and near-constant state. The converter successfully supplies a steady current to the motor drive with negligible transient disruptions, as indicated by the output current’s uniform profile. The controlled operation of the switching devices is represented by the steady switching pattern between positive and negative levels corresponding to the voltage waveform of inductor.
The waveform corresponding to the regeneration stage of operation is indicated in Figure 7. The majority of the regenerated power is utilized to charge the battery and the output current waveform is negative. In the super-boost or high-speed operating mode, all the input sources simultaneously supply power to the BLDC motor through the multi-input super-boost converter. This hybrid energy-sharing configuration enhances the overall voltage gain and provides the additional torque required for rapid acceleration or uphill driving. The inductor current remains steady with minimal ripple and the output current maintains a higher magnitude compared to individual-source modes, confirming the combined contribution of the input sources. The inductor voltage displays a switching pattern with symmetrical positive and negative cycles, indicating effective converter operation and appropriate duty ratio control. A consistent voltage for motor drive requirements is ensured by the output voltage waveform’s stability and regulation.
The supercapacitor mode is activated during operating conditions that demand rapid charge or discharge, particularly in the regeneration mode and super-boost/high-speed mode. In the regeneration mode, the current is negative and flows into the battery/supercapacitor depending upon the value of SOC. This is indicated in the waveform as a sharp increase in the charging current, as shown in Figure 9. The corresponding voltage curve rises steeply, indicating rapid energy absorption. The SOC waveform shows an upward slope during this interval, confirming the accumulation of regenerative energy. In the super-boost/high-speed mode, the system demands a high burst of power, and the supercapacitor assists the battery in meeting this requirement. This results in a positive discharge current in the waveform.
Despite variations in irradiance, the PV voltage exhibits a relatively smoother variation, staying close to constant levels, as shown in Figure 10. These waveforms together show how well the PV array model represents the combined effects of temperature and irradiance on the electrical output. As the irradiance increases, the current generation and total power output also increases, but an increase in temperatures causes a slight decrease in voltage.
4.2. Performance Metrics for Examining Algorithm
The electric vehicle utilizes an XGBoost-based algorithm to dynamically select the most appropriate power source during operation. This can include solar only; battery only; and a battery–supercapacitor mode, a hybrid combined mode facilitating efficient power sharing and minimizing battery stress. Using a multi-class soft-probability output with three classes, a preliminary XGBoost classifier was created with a learning rate of 0.05, a maximum depth of 5, and 200 estimators. A grid search optimization was carried out over 72 parameter combinations using a four-fold cross-validation process to improve model reliability, yielding 216 total training fits. The best hyperparameters—learning_rate = 0.01, max_depth = 3, n_estimators = 200, colsample_bytree = 0.8, and subsample = 1—were found during the tuning process, and they yielded the highest classification accuracy of 99.38%, indicating the robust predictive power of the suggested EMS framework. The output class labels 0, 1, and 2 represent the selected energy sources: battery, solar photovoltaic system, and the hybrid battery–supercapacitor combination, respectively. This ideal architecture was chosen to strike a balance between model performance and realistic implementation requirements, as accuracy and real-time processing are especially crucial in electric vehicle energy management systems.
The proposed EMS aims for optimal power distribution by lessening the battery load, increasing the energy usage and operating the battery–supercapacitor within their defined operational ranges. Instead of solving the optimization problem with an iterative optimization algorithm, the proposed XGBoost model learns the intelligent energy source selection from the labeled operating data for fast real-time decision-making with low computational complexity. The dataset for the proposed XGBoost-based system was generated by using a simulation-aided approach. Firstly, the modeling of the hybrid energy storage system-based BLDC motor drive was done in MATLAB/Simulink to examine the operating characteristics of the electric bicycle under different driving cases. The simulation results were used to set realistic operating ranges for the input variables used for the machine learning model. A dataset of 1000 samples was generated in Python 2.8.2 to represent a wide variety of vehicle operating conditions based on these operating ranges. The input features were the battery state of charge (SOC), supercapacitor state of charge, solar irradiance, vehicle speed, motor torque demand, acceleration, terrain conditions and ambient temperature. The energy source label for each sample was assigned according to the proposed energy management strategy, which chose the right power source depending on the instantaneous working state of the vehicle. Then, the generated dataset was used to train and test the XGBoost classifier. The simulation-assisted approach for data generation allowed the machine learning model to learn the operating characteristics of the proposed hybrid energy storage system and offered sufficient data diversity for algorithm development and performance evaluation.
Using a feature-importance ranking, the contribution of each individual parameter to the XGBoost classifier was investigated. The most significant predictors affecting the best choice of energy source were the SOC, torque demand, and irradiance, as shown in the Figure 11. These characteristics were given significantly higher importance ratings than the other variables, emphasizing how crucial they were in deciding whether the electric vehicle should run on solar power, battery power, or a combination of supercapacitor and battery. On the other hand, variables like temperature, vehicle speed, terrain, and acceleration were relatively less significant, indicating that they had little role in the classification choice in the majority of operating situations.
SHAP (SHapley Additive exPlanation) values were calculated to make the XGBoost predictions interpretable. From Figure 12, it can be observed that the SOC and torque are the most important features influencing energy mode transitions, which indicates that they cause the largest positive and negative shifts in model output. Deeper understanding of how the classifier reacts to different operating conditions is provided by the color gradient in the SHAP plot, which illustrates how high or low feature magnitudes impact the prediction. While higher torque requirements sway the decision toward battery-dominant operation, a high SOC usually encourages solar or hybrid utilization. This behavior shows that the model internalizes the relationships that are physically meaningful and consistent with the dynamics of power flow in electric vehicles. The mean SHAP value of classifier is shown in Figure 13.
Figure 12.
SHAP value of classifier.
Figure 13.
Mean SHAP value of classifier.
By comparing the predicted and true classes, the model’s performance was further confirmed. Strong consistency between the classifier’s predictions and the ground-truth operational labels is indicated in Figure 14 which shows that most of the points are near the diagonal. A small percentage of samples show up outside the diagonal region, indicating a slight misclassification that has little bearing on the behavior of the system as a whole.
Figure 14.
Predicted vs. actual class plot.
The confusion matrix presented in Figure 15, which shows that the majority of entries are concentrated along the main diagonal, offers additional insight into the classification reliability. It shows that the three operating modes—solar, battery, and combined supercapacitor–battery mode—have a high correct classification rate. Incorrect transitions between energy modes are uncommon, as evidenced by the low frequency of off-diagonal entries. This behavior demonstrates how well the XGBoost classifier detects the correct energy state in a variety of load, environmental, and vehicle operating scenarios.
Figure 15.
Confusion matrix of classifier.
The Receiver Operating Characteristic (ROC) curves plotted on the basis of the XGBoost-based intelligent source selection model prove its great ability to distinguish between the battery, solar, and combined supercapacitor–battery modes of operation. As seen in Figure 16, the True-Positive Rate (TPR) rapidly approaches unity with an almost negligible False-Positive Rate (FPR) for all three, indicating highly reliable classification across varying thresholds. It confirms that the XGBoost-based method is consistent in determining the most appropriate source of energy to be used in powering the super-boost converter to power the e-bike system.
Figure 16.
ROC curves of classifier.
In all three operating modes—battery, solar, and the combined supercapacitor–battery mode—the model consistently exhibits high predictive capability, as observed from the values shown in Table 1. The algorithm consistently distinguishes between standalone energy sources with minimal misclassification, as indicated by the precision values of battery and solar classes and the recall values near unity. Similar to this, the supercapacitor–battery class, which stands for the hybrid mode in charge of meeting transient load demands, displays an almost perfect F1-score, demonstrating the classifier’s resilience in spotting intricate multi-source interactions. The model’s superior generalizability across unbalanced class distributions is confirmed by the convergence of the weighted average, macro average, and overall accuracy metrics at 0.99.
Table 1.
Classification report for XGBoost classifier.
A performance comparison of the proposed XGBoost model with baseline machine learning classifiers is shown in Table 2. XGBoost has the strongest classification performance across all four evaluation metrics.
Table 2.
Comparison of XGBoost model with machine learning classifiers.
5. Conclusions
A novel Extreme Gradient Boosting (XGBoost)-based method for intelligent selection of energy source for an electric vehicle powered by a battery–solar PV hybrid system with a supercapacitor for regenerative braking is proposed. The results reveal the importance of the proposed XGBoost method under varying operating conditions. Significant enhancements are attained in three critical areas: overall system energy efficiency, battery life span preservation through mitigated stress cycles, and robust real-time adaptability to unpredictable driving demands. The integration of a super-boost converter is further proven to be instrumental in achieving high-efficiency power delivery from the multiple energy sources. These results critically affirm that the robust and non-linear modeling capability of XGBoost effectively overcomes the inherent lack of adaptability that limited the performance of previous EMS frameworks. Furthermore, the ROC curves and classification report show the robustness of the proposed energy source selection mechanism and validate the strong predictive power of the XGBoost model. Future work will focus on testing the proposed XGBoost-based energy management strategy under practical conditions, including sensor noise, battery aging and different real-world driving cycles, followed by experimental validation of its performance and robustness.
Author Contributions
Conceptualization, R.C.C.C.M.; Validation, S.J.S.; Formal analysis, R.C.C.C.M. and S.J.S.; Resources, S.J.S.; Writing—original draft, R.C.C.C.M.; Supervision, S.J.S. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
Data will be made available on request.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Sulaiman, M.H.; Mustaffa, Z. State of charge estimation for electric vehicles using random forest. Green Energy Intell. Transp. 2024, 3, 100177. [Google Scholar] [CrossRef] [Scilit]
- Kumar, G.G.; Sundaramoorthy, K. Dual-Input Nonisolated DC–DC Converter With Vehicle-to-Grid Feature. IEEE J. Emerg. Sel. Top. Power Electron. 2022, 10, 3324–3336. [Google Scholar] [CrossRef] [Scilit]
- Gangavarapu, G.K.; Sundaramoorthy, K.; Athikkal, S.; Karthikeyan, V. Dual input superboost DC–DC converter for solar powered electric vehicle. IET Power Electron. 2019, 12, 2276–2284. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Y.; Cheng, X.-F.; Yin, C.; Cheng, S. A soft-switching bidirectional DC–DC converter for the battery–supercapacitor hybrid energy storage system. IEEE Trans. Ind. Electron. 2018, 65, 7856–7865. [Google Scholar] [CrossRef] [Scilit]
- Korkmaz, M. SoC estimation of lithium-ion batteries based on machine learning techniques: A filtered approach. J. Energy Storage 2023, 72, 108268. [Google Scholar] [CrossRef] [Scilit]
- Adedeji, B.P. Electric vehicles survey and a multifunctional artificial neural network for predicting energy consumption in all-electric vehicles. Results Eng. 2023, 19, 101283. [Google Scholar] [CrossRef] [Scilit]
- Mishra, R.; Kiran, M.S.N.S.; Maheswaram, M.; Upadhyay, A.; Singh, B. Investigation of optimal feature for milling chatter identification using supervised machine learning techniques. J. Eng. Res. 2023, 12, 100138. [Google Scholar] [CrossRef] [Scilit]
- de Oliveira Filho, H.M.; de Souza Oliveira, D.; Praça, P.P. Steady-state analysis of a ZVS bidirectional isolated three-phase DC–DC converter using dual phase-shift control with variable duty cycle. IEEE Trans. Power Electron. 2016, 31, 1863–1872. [Google Scholar] [CrossRef] [Scilit]
- Wu, M.; Qin, L.; Wu, G. State of charge estimation of power lithium-ion battery based on an affine iterative adaptive extended Kalman filter. J. Energy Storage 2022, 51, 104472. [Google Scholar] [CrossRef] [Scilit]
- Bhajana, V.V.; Drabek, P. A novel ZCS bidirectional buck–boost DC–DC converter for energy storage applications. In Proceedings of the 2015 IEEE International Conference on Industrial Technology (ICIT), Seville, Spain, 17–19 March 2015. [Google Scholar]
- Franceschini, G.; Lorenzani, E.; Buticchi, G. Saturation compensation strategy for grid-connected converters based on line-frequency transformers. IEEE Trans. Energy Convers. 2012, 27, 229–237. [Google Scholar] [CrossRef] [Scilit]
- Naseri, F.; Farjah, E.; Ghanbari, T. An efficient regenerative braking system based on battery/supercapacitor for electric, hybrid and plug-in hybrid electric vehicles with BLDC motor. IEEE Trans. Veh. Technol. 2017, 66, 3724–3738. [Google Scholar] [CrossRef] [Scilit]
- Lu, X.; Wang, H. Optimal sizing and energy management for cost-effective PEV hybrid energy storage systems. IEEE Trans. Ind. Inform. 2020, 16, 3407–3416. [Google Scholar] [CrossRef]
- Arabkoohsar, A.; Sadi, M. Flywheel energy storage. In Mechanical Energy Storage Technologies; Elsevier: Amsterdam, The Netherlands, 2020; pp. 101–124. [Google Scholar]
- Tziovani, L.; Hadjidemetriou, L.; Charalampous, C.; Tziakouri, M.; Timotheou, S.; Kyriakides, E. Energy management and control of a flywheel storage system for peak shaving applications. IEEE Trans. Smart Grid 2021, 12, 4195–4207. [Google Scholar] [CrossRef] [Scilit]
- Wang, W.; Li, Y.; Shi, M.; Song, Y. Optimization and control of battery–flywheel compound energy storage system during an electric vehicle braking. Energy 2021, 226, 120404. [Google Scholar] [CrossRef] [Scilit]
- Song, K.; Li, F.; Hu, X.; He, L.; Niu, W.; Lu, S.; Zhang, T. Multi-mode energy management strategy for fuel cell electric vehicles based on driving pattern identification using learning vector quantization neural network algorithm. J. Power Sources 2018, 389, 230–239. [Google Scholar] [CrossRef] [Scilit]
- Reddy, N.P.; Pasdeloup, D.; Zadeh, M.K.; Skjetne, R. Intelligent power and energy management system for fuel cell/battery hybrid electric vehicle using reinforcement learning. In Proceedings of the 2019 IEEE Transportation Electrification Conference and Expo, Detroit, MI, USA, 19–21 June 2019. [Google Scholar]
- Yang, N.; Han, L.; Xiang, C.; Liu, H.; Hou, X. Energy management for a hybrid electric vehicle based on blended reinforcement learning with backward focusing and prioritized sweeping. IEEE Trans. Veh. Technol. 2021, 70, 3136–3148. [Google Scholar] [CrossRef] [Scilit]
- Tang, X.; Chen, J.; Liu, T.; Qin, Y.; Cao, D. Distributed deep reinforcement learning-based energy and emission management strategy for hybrid electric vehicles. IEEE Trans. Veh. Technol. 2021, 70, 9922–9934. [Google Scholar] [CrossRef] [Scilit]
- Beraki, M.W.; Trovão, J.P.F.; Perdigão, M.S.; Dubois, M.R. Variable inductor based bidirectional DC–DC converter for electric vehicles. IEEE Trans. Veh. Technol. 2017, 66, 8764–8772. [Google Scholar] [CrossRef] [Scilit]
- Cornea, O.; Andreescu, G.; Muntean, N.; Hulea, D. Bidirectional power flow control in a DC microgrid through a switched-capacitor cell hybrid DC–DC converter. IEEE Trans. Ind. Electron. 2017, 64, 3012–3022. [Google Scholar] [CrossRef] [Scilit]
- Filsoof, K.; Lehn, P.W. A bidirectional multiple-input multiple-output modular multilevel DC–DC converter and its control design. IEEE Trans. Power Electron. 2016, 31, 2767–2779. [Google Scholar] [CrossRef] [Scilit]
- Ko, J.; Ko, S.; Son, H.; Yoo, B.; Cheon, J.; Kim, H. Development of brake system and regenerative braking cooperative control algorithm for automatic-transmission-based hybrid electric vehicles. IEEE Trans. Veh. Technol. 2014, 64, 431–440. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 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.















