Abstract
This paper addresses an effective, reliable and fast charging method for maximizing lithium-ion battery performance, longevity, and safety. The proposed multi-stage current charging mechanism utilizes a modified multi-stepped constant current-constant voltage based on the particle swarm optimization (MMSCC-CV-PSO) algorithm. The proposed MMSCC-CV-PSO charging strategy demonstrates a significantly faster charging performance compared to traditional charging techniques, including the widely used constant-current constant-voltage (CC–CV) method and the conventional multistage constant current (MSCC) approach. This enhanced efficiency highlights the superiority of the proposed method over existing solutions discussed in the literature. The simulation results confirm the practicality and superior performance of the proposed design strategy. Compared to the conventional MSCC method, the proposed approach achieved a considerable reduction in battery charging time, indicating a more efficient energy transfer process. Additionally, it led to a noticeable decrease in heat generation within the battery during the charging cycle, reflecting improved thermal management. These outcomes collectively demonstrate the effectiveness of the proposed method in enhancing both the speed and safety of the charging process, making it a promising solution for advanced battery management systems. The simulation model was developed and successfully implemented using the MATLAB/Simulink environment, providing a flexible platform for testing and evaluating the proposed charging strategy.
Similar content being viewed by others
Introduction
Lithium-ion batteries have emerged as the dominant energy storage solution across diverse applications, including portable electronics, electric vehicles, and renewable energy systems. Their widespread adoption stems from several superior characteristics: high energy density, extended cycle life, elevated working voltage, and absence of memory effects. Additional advantages such as cost-effectiveness, minimal self-discharge, environmental friendliness, and low self-consumption further contribute to their market dominance. These compelling benefits have positioned lithium-ion battery technology as a focal point in contemporary energy research and development1,2.
However, Lithium-ion battery technologies come with various concerns. One key issue is the need for efficient charging processes to enhance performance, extend lifespan, reduce charging times, minimize battery aging, and ensure reliable operation3,4. Another concern is related to the inescapable requirement, Due to the voltage and capacity limitations of a single cell. lithium-ion cell’s voltage is limited in the range of (2.4–4.2 V)5, To meet the demanding power and energy requirements of modern applications, battery systems are typically constructed using hundreds of individual cells connected in series or parallel configurations. These cells are combined to form battery modules, which are then integrated into complete battery packs6,7,8.
Hence, it demands to develop appropriate charging strategies. For instance, reducing battery-charging time while enhancing charging performance and prolonging battery life9. Additionally, these systems require ongoing monitoring and control to maintain optimal performance. This includes safeguarding against overcharging, over-discharging, and overheating, as well as managing the connection of cells in series to prolong their lifespan. The Battery Management System (BMS) is often referred to as the brain of the battery pack10.
Several works of literature have been published on charging methods of lithium-ion batteries. This work aims to enhance the time required for charging, rise in temperature, loss of energy, aging, and lifespan3. There are several ways to charge batteries, but the standard charging technique for lithium-ion batteries is constant current constant voltage (CC–CV)11. The (CC–CV) charging technique is widely recognized as the most widely utilized charging method for electronic items due to its ease of use and simplicity12,13. Figure 1 demonstrates the fundamentals of (CC–CV) charging technique which consist of two steps to this charging process. During the first stage of charging, a constant current (CC) is applied to the lithium-ion battery until the maximum voltage is reached, which is typically set at 4.2 V for Li-ion batteries. The second step of charging involves applying a constant voltage (CV) to the lithium-ion battery until the current hits the predetermined cut-off current value, which is usually 5% of the nominal current. At this point, the battery becomes fully charged11, While the traditional (CC–CV) charging method are more economical and easier to implement, it is incompatible with fast charging applications because it causes a striking temperature to increase in the constant current mode, and an extended charging time in the constant voltage mode which reducing battery life12,14.
Several charging techniques have been developed in the literature to address the drawbacks of the traditional (CC–CV) method. One of these techniques is the Multi-Stepped Constant Current (MSCC) method. Multi-stage charging has been found to minimize temperature rise while charging, which is important for keeping battery safety and health. It has also been demonstrated that MSCC charging techniques reduce the charging period when compared to typical constant current constant voltage (CC–CV) approaches11. The Multi-Stepped fast charging approach, which is motivated by physical degradation mechanisms, increases the batteries’ cycling lifetime by more than 200 full equivalent cycles (FEC), according to experimental results15,16. The design of a non-isolated Bidirectional DC/DC converter for lithium-ion battery charging will be thoroughly examined. The main contributions of the paper are summarized as follows:
-
1.
This study presents the design of a non-isolated Bidirectional DC/DC converter for lithium-ion battery charging.
-
2.
Create intelligent charging control to facilitate rapid charging with a suitable battery management system that keeps monitor on each cell’s temperature, voltage, and current in order to increase the longevity and safety of lithium-ion batteries.
-
3.
Comparisons of results with the traditional (CC–CV) method and MSCC method were presented.
The structure of this research includes a literature review and state of the art, which is presented in section “Related work”. Section “System design considerations and methodology” highlights the system design considerations and methodology. In section “Proposed multi-stepped charging controller design”, the proposed multi-stepped charging controller design is presented. Section “Simulation methodology and comparative analysis” provide simulation results and discussion which presents the justification set up of the proposed design algorithm and performance comparison to existing methods. Finally, Section “Conclusion and future work” provides a concise summary of the findings, their implications, and suggestions for future research in advance.
Related work
Several researchers have proposed multi-stage constant current (MSCC) charging strategies to shorten charging times and reduce temperature rise during the charging of lithium-ion batteries. For instance, Jinlei Sun17 introduced an MSCC optimization strategy incorporating lithium plating detection using electrochemical impedance spectroscopy (EIS) analysis. Compared to the traditional constant current–constant voltage (CC–CV) method, this approach reduced charging time by 21.44% and energy consumption by 15.7%, while enabling real-time monitoring of lithium plating—thereby enhancing both safety and efficiency during fast charging. Similarly, Tahir et al.16 presented a novel approach to addressing the key challenge of fast charging in electric vehicles (EVs) by optimizing the charging strategy for lithium-ion batteries (LIBs) using the Taguchi method for multi-objective optimization of the multi-stage constant current. the experimental results show that, at 25 °C, the multi-objective optimization of the multi-stage constant current charging profile enables the LIB to charge faster 12% than CCCV. Sang-Sun Yun19. introduced a multilevel multistage constant-current constant-voltage (MLMCC-CV) superfast charging technique for batteries, which adjusts the charge voltage according to the charge current The technique aims to prevent overvoltage protection activation in the battery management system (BMS) due to transient responses caused by capacity deviations between multiple cells during charging, adjusts voltage based on current to avoid these interruptions. Though it’s about 3% slower in charging rate compared to older methods, it offers a smoother, safer charge without early shutdowns.
In20 Sabarimuthu, introduced the MSCC-CV-CT charging method, which emphasizes controlling cell temperature as a key element in battery charging dynamics. The performance of electric vehicles and the lifespan of lithium-ion batteries may both be enhanced by this study’s noteworthy development in battery charging technology. Mochamad Ari Bagus Nugroho21 developed the MCC-CV method as an enhancement over the conventional CC–CV (Constant Current–Constant Voltage) charging method. The M CC–CV method increases initial charging currents by about 13% over the conventional CC–CV maximum, leading to a decrease in total charging duration of approximately 16% as demonstrated in experimental results. This translates to faster charging times while maintaining safety and battery health. Kartik Kumar22 presented an innovative approach to improve lithium-ion battery charging efficiency and lifespan through the optimization of a multistage constant current (5S-CC) charging method. The study employs Grey relational analysis (GRA) combined with Taguchi Design of Experiment to determine the optimal current levels across five distinct stages, aiming to minimize charging time while controlling temperature and heat generation. The optimized 5S-CC method achieved a significant reduction in charging duration, reaching full capacity in approximately 48.11 min, compared to 73.48 min required by the conventional CC–CV_0.05C method, as verified through experimental results.
While methods such as the Taguchi method and Grey relational analysis have been applied to optimize MSCC charging profiles, they are not inherently designed for controller parameter optimization. In contrast, Ran Li23 presented the Particle Swarm Optimization (PSO) as a population-based metaheuristic algorithm that has been widely adopted for PID tuning in nonlinear systems due to its strong global search capability, fast convergence, and relatively low computational complexity. Recent studies have shown that PSO can significantly improve the efficiency and thermal safety of Li-ion charging strategies, and Mónica Camas-Náfate24 has also been demonstrated as an effective tool for battery modeling and parameter identification compared to other algorithms such as the Grey Wolf Optimizer. These findings support the choice of PSO in this work for optimizing PID parameters in advanced charging control.
Recent advances in battery management technologies have expanded beyond traditional CC–CV and MSCC approaches. Guo et al.25 introduced a data-driven electrode aging assessment framework for efficient sorting of retired batteries, enhancing prediction of degradation and second-life utilization. Guo and Shen26 evaluated battery peak power under various operational modes, highlighting the effects of different charge/discharge strategies on performance and safety. Xu et al.27 developed an optimization-driven active cell balancing strategy to mitigate cell inconsistency and extend operational time in energy storage systems. Additionally, Guo and Shen28 provided a comprehensive overview of state-of-power estimation methods, including error source analysis and strategies for improved battery efficiency and safety Tang et al.29 investigated pulse charging currents for lithium-ion batteries in low-temperature environments, demonstrating that optimized bi-directional and positive pulse currents can significantly reduce polarization and improve temperature control compared to conventional constant-current charging. Huang et al.30 proposed a negative pulsed charging strategy using NSGA-II optimization, which enhances charging efficiency and battery capacity while mitigating adverse thermal effects through electrothermal coupling simulations. Sinusoidal charging methods have also gained attention. Huang et al.31 evaluated a CC-sinusoidal reflex charging technique, showing reduced electrode degradation and improved stability of LiCoO2 and graphite electrodes over multiple cycles3. Integrating these studies establishes a robust context for the proposed MMSCC–CV–PSO strategy, demonstrating its relevance and novelty within modern battery management research. The proposed MMSCC-CV-PSO strategy offers a complementary approach, combining multi-stage current profiles with PSO-tuned PID control for precise current regulation, balancing fast charging performance with battery safety and long-term reliability.
In this paper, a modified multi-stepped constant current-constant voltage based on the particle swarm optimization (MMSCC-CV-PSO) algorithm is proposed. It can be used to minimize charging time with decrease heat generation while battery charging while maintaining safety, battery health and improving performance.
System design considerations and methodology
Battery specifications
The experimental system utilizes an LG INR18650 B4 lithium-ion cell as the fundamental electrochemical storage unit. A high-capacity battery pack was constructed through a 7-series, 19-parallel (7S19P) configuration to meet the voltage and current requirements of the study. The cell specifications are characterized provided below in Table 132.
The battery model was implemented in MATLAB/Simulink using the Lithium-Ion Battery block from Simscape Electrical. All parameters were set according to the manufacturer’s datasheet for the INR18650 B4 (2600 mAh) lithium-ion cell, including nominal voltage, rated capacity, internal resistance, and thermal properties. The OCV–SoC curve was derived from manufacturer data and incorporated into the model. Heat generation is computed internally within the Simulink block based on electrical losses and the specified thermal capacity. This ensures that the simulated cell behavior closely matches the actual performance of the real battery32.
Non-isolated bidirectional DC–DC converter
To execute all operations efficiently, a selection of highly effective power electronic devices is essential. The most commonly utilized DC/DC converters can be categorized into isolated and non-isolated types33. The study focuses on a non-isolated bi-directional DC/DC converter34. Figure 2 shows the fundamental topology of non-isolated Bi DC/DC In this setup, a battery pack is connected to a bi-directional DC/DC converter, which is subsequently linked to a load. This selection is motivated by the need for energy transfer in both directions. The non-isolated bi-directional DC/DC converter is chosen for its compact design, lightweight nature, and high efficiency, making it particularly suitable for various applications involving lithium-ion batteries34,35.The main required parameters for Non-isolated Bidirectional DC–DC Converter determined by equations in Table 236. Table 3 presents the technical specifications of the proposed system architecture, quantifying the key design parameters and performance characteristics of the implemented solution13.
Conventional multi-stepped constant current (MSCC) charging
MSCC charging employs a stepwise current reduction strategy, where the charging process is divided into multiple discrete constant-current phases with progressively decreasing magnitudes with the design specifications of battery charging18. The initial charging phase employs elevated current levels, which are systematically reduced in subsequent stages as the battery approaches full charge capacity. MSCC charging implementations predominantly utilize two distinct control approaches: voltage-dependent and state-of-charge (SoC)-dependent strategies. Among these, voltage-based methods offer distinct advantages as they maintain consistent operational thresholds regardless of battery capacity fade, eliminating the need for periodic recalibration11,37,38. Stage transition mechanisms in voltage-based approaches are implemented through either fixed Cut-off Voltage Termination or dynamic Voltage Threshold Crossing as shown in Fig. 3a and b respectively. In addition, the critical design parameters for MSCC systems include stage quantity optimization, current magnitude selection, and phase duration criteria.
One of the most important research problems in battery management systems is creating the ideal multi-stage constant-current (MSCC) charging profile. To create optimal current-stage configurations, scholarly research has used a variety of methodological techniques that can be broadly divided into three paradigms, which are empirical techniques, computational optimization, and analytical modeling11. The optimal charging pattern by Claude Ziad El-Bayeh39 used analytical methodologies and applied to determine the optimal charging current rates are calculated numerically using Eq. (1) and subsequently verified through experimental testing.
In this case, \({I}_{n}\) indicates the current at stage n, where \({I}_{n-1}\) represents the preceding stage’s current and \({I}_{n+1}\) corresponds to the following stage’s current. Equation (1) is specifically applied when the battery manufacturer specifies both the initial and final charging currents and the total number of charging stages is an odd integer. This approach ensures systematic current reduction while maintaining operational constraints.
Proposed multi-stepped charging controller design
The proposed modified multi-stepped constant current-constant voltage based on the particle swarm optimization (MMSCC-CV-PSO) algorithm enhances conventional MSCC charging through modifying the traditional MSCC charging method by using two constant-current (CC) phases followed by a constant-voltage (CV) phase, addressing the critical limitation of full charging of battery and low heat generation in traditional multistage charging systems. As illustrated in Fig. 4, the architecture integrates charging and discharging module which dynamically adjusts switching based on pulse width modulation output from controller and current controller which modifies CC stage duration via voltage thresholds.
Control algorithm
The charging technique follows an established sequence, as shown in Fig. 5. Starting with the Initialization Phase, the optimized MSCC profile is used to apply the first Constant Current (CC) charging current, \({I}_{peak}\). This keeps happening until the first threshold voltage, \(\left({V}_{1}\right)\), is reached. This voltage stays below the cutoff voltage of the battery. This is followed by the Normal Phase, which involves applying a charging current \({I}_{charge}\) until the battery reaches the second threshold value (cutoff voltage) \(\left({V}_{\text{max}}\right)\). Ultimately, the protocol switches to a steady voltage charging technique during the Full Charge Phase, which lasts until the battery is completely charged. This systematic methodology ensures charging process efficiency and safety.
Phase transition logic and waveform characteristics
According to the charging procedure, when the battery voltage, \({(\text{V}}_{\text{battery}})\), approaches or exceeds the threshold voltage, \({(\text{V}}_{\text{threshold}})\), the current Constant Current (CC) stage should be stopped. Using the currents (\({\text{I}}_{\text{peak}})\) and \({(\text{I}}_{\text{charge}})\), the process then moves on to the following CC step, which continues until the battery is fully charged. The current and voltage characteristics during the three stages of the (MMSCC-CV-PSO) charging process are provided in Table 4. The waveform features depicted in Fig. 6 demonstrate that the current profile maintains the stepped current structure that is different of the MSCC methodology. In the mean time, the voltage envelope shows clear threshold values that mark important charging process transitions. This thorough examination highlights how well the technique controls voltage and current during the charging stages.
Optimized charging strategy: multi-stage approach
To improve charging efficiency and extend battery lifespan, this study implements the MMSCC-CV-PSO charging strategy is structured into two sequential constant-current (CC) phases followed by a constant-voltage (CV) stage, as shown in Fig. 6. In the first CC phase, the battery is charged with the peak current \({(\text{I}}_{\text{peak}})\), representing the maximum current the battery can safely tolerate according to the manufacturer’s datasheet. During the second CC phase, a normal current \({(\text{I}}_{\text{charge}})\), corresponding to the normal charging current provided in the datasheet, is applied to continue charging efficiently while maintaining safe operation. The voltage threshold \(\left({V}_{1}\right)\), controlling the transition between the two CC phases is defined as a design parameter to split the constant-current stage, allowing the initial high current to accelerate charging while the subsequent lower current reduces heat buildup before reaching the maximum battery voltage \(\left({V}_{\text{max}}\right)\). These key parameters (\({\text{I}}_{\text{peak}}\), \({\text{I}}_{\text{charge}}\), and \({V}_{1}\)) are fixed based on battery specifications and design considerations and are not part of the PSO optimization, which is exclusively used to fine-tune the PID controller gains (Kp, Ki, Kd) for optimal dynamic response. This strategy ensures a safe, efficient, and reproducible charging profile, effectively balancing charging speed, thermal management, and long-term battery reliability. In addition to the multi-stage constant current (MSCC) and constant voltage (CV) charging phases, advanced energy management strategies are employed to enhance battery longevity and operational efficiency. Specifically, adaptive thermal and power management techniques adjust the charging rate dynamically according to battery state-of-health (SoH), depth-of-discharge (DoD), and temperature. By continuously monitoring these parameters, the system optimizes the charging current and prevents excessive thermal stress, which can otherwise accelerate battery degradation. For hybrid energy storage systems incorporating supercapacitors, this adaptive approach further ensures balanced energy distribution, mitigates deep discharge of the batteries, and increases the overall energy throughput. Such optimization methods have been shown to extend battery lifetime, improve safety, and provide environmentally and economically beneficial management of lithium-based energy storage systems40,41.
Advantages
Significant advantages are provided by the (MMSCC-CV-PSO) approach in terms of dynamic performance and lifetime extension. Notably, it reduces heat generation stress in comparison to the traditional MSCC, which is important for increasing the battery’s longevity and dependability. Furthermore, the (MMSCC-CV-PSO) method offers a minor advantage over conventional approaches in terms of dynamic performance, reaching 100% State-of-Charge (SOC). It also excels in speed, charging more quickly than the CC–CV technique. The (MMSCC-CV-PSO)’s ability to maximize battery management and performance is demonstrated by these benefits.
PSO-PID optimization pseudocode
PSO is a population-based stochastic optimization technique inspired by swarm intelligence principles, first formalized by Kennedy and Eberhard (1995). The method simulates social behavior observed in biological systems, particularly the collective motion of bird flocks or fish schools, to solve complex optimization problems. Particle Swarm Optimization (PSO) is a computational technique known for its simplicity in implementation and its efficiency in quickly finding viable solutions to complex problems42. The process begins with the random selection of initial positions and velocities for each particle within the swarm as illustrated in Eqs. (2), (3). In the subsequent iteration, each particle’s performance is assessed using an objective function, and the best position it has encountered, referred to as the local best \({P}_{best}\), is recorded. When a particle achieves a fitness value that exceeds its previous best, its current position is updated, and the overall best position found by the swarm is designated as the global \({g}_{best}\). In this context, \({x}_{i}\) represents the position of the particle,\(D\) denotes the dimensionality of the search space, and \({v}_{i}\) indicates the particle’s velocity, which is usually initialized randomly.
During each iteration, the particles adjust their velocities and positions using Eqs. (4) and (5). If the stopping criteria aren’t met, each particle is reevaluated, and its velocity and position are updated again. The best position a particle has ever reached becomes its new personal best, while the best position found by any particle in the swarm becomes the new global best. This process repeats continuously until the termination conditions are fulfilled43
where \(\omega\) is the inertial weight which determines how much the particle’s previous velocity influences its current movement, \({c}_{1}\) and \({c}_{2}\) are the acceleration coefficients which represent cognitive (individual) and social (group) learning factors, respectively. \({r}_{1}\) and \({r}_{2}\) are the random numbers uniformly distributed between 0 and 1, introducing stochasticity.
To achieve optimal dynamic performance and control accuracy in the proposed charging system, a particle swarm optimization (PSO) algorithm was employed to continuously fine-tune the PID controller parameters (Kp, Ki, and Kd) through online iteration. The fitness function utilizes the Integral of Time-weighted Absolute Error (ITAE) index, which captures the relationship between error and time. As shown in Eq. (6), a smaller fitness value indicates better control performance. Figure 7 illustrates the structure of the proposed charging control system. The specific goals for performance were set to ensure rapid response times and minimal overshoot.
where e denotes the system error, and T denotes the total system runtime optimization.
Since the PID controller requires tuning three parameters (Kp, Ki, and Kd), the particle swarm optimization (PSO) algorithm operates in a three-dimensional search space. Through multiple simulation tests, the optimal PID parameters were determined and are listed in Table 544. The detailed steps for tuning the PID controller using the particle swarm optimization (PSO) algorithm are outlined in the pseudocode provided in Table 645.
The MSCC and MMSCC controllers were optimized using the same PSO–PID framework to ensure a fair comparison. The PSO objective minimized charging time while constraining temperature rise and current overshoot. Optimization was terminated either when the maximum number of iterations (nmax = 30) was reached or when the improvement in the global best cost between successive iterations fell below 0.001. The full set of PSO parameters are reported in Table 5. The final optimized (Kp, Ki, and Kd) values are reported in Table 7. Figure 8 illustrates the PSO convergence behavior, where the best objective value decreases monotonically and eventually stabilizes, confirming that both controllers were tuned to convergence under identical conditions.the MMSCC-CV-PSO controller converged to a lower objective value, consistent with its superior performance in charging time reduction, temperature rise mitigation, and SOC tracking accuracy.
Simulation methodology and comparative analysis
To evaluate the effectiveness of our proposal, we conduct numerical simulation experiments in this section. First, we outline the criteria for assessment. Next, we explain the assessment process, followed by presenting the simulation results and comparisons.
Performance evaluation metrics
The comparative analysis examined four key parameters:
-
1.
Charging dynamics Current/voltage temporal characteristics
-
2.
Thermal performance Peak heat generation and thermal gradients
-
3.
Charging efficiency Time-to-100%-SoC
-
4.
Charge completeness Maximum achievable SoC
Experimental setup
A series of experiments are implemented in the MATLAB/Simulink® tool to validate our proposed algorithms comprehensively. The experiments are carried out in an Intel Core i7 dual-core CPU with a frequency of 2.9 GHz, 16 GB of memory, and a Windows 10 operating system. The test platform comprised:
-
(1)
Lithium ion battery model.
-
(2)
Three charging controller implementations:
-
a.
CC–CV (Constant Current–Constant Voltage)
-
b.
Optimized MSCC (Multistage CC)
-
c.
Proposed MMSCC-CV-PSO
-
a.
-
(3)
Precision measurement blocks for:
-
a.
Terminal voltage (± 0.1% accuracy)
-
b.
Heat generation (± 0.5 °C resolution)
-
a.
-
(4)
State-of-Charge (Coulomb counting with < 1% error)
To ensure a fair comparison among the three charging strategies CC–CV, Optimized MSCC, and MMSCC-CV-PSO critical simulation parameters were kept identical across all scenarios. These include the initial state of charge (SOC), maximum voltage (\(Vmax\)), and cutoff current, ensuring consistency in starting conditions and termination criteria. Table 7 summarizes these parameters alongside a brief description of each charging method. The proposed MMSCC-CV-PSO method is evaluated against traditional CC–CV and Standard MSCC approaches. The Optimized MSCC parameters were selected following references11 and33 (Section “Conventional multi-stepped constant current (MSCC) charging”) with moderate tuning to ensure realistic and safe operation, without applying global optimization. This ensures a fair and representative comparison. The results demonstrate that MMSCC-CV-PSO achieves faster charging, reduced heat generation, and improved state-of-charge (SOC) accuracy compared to both benchmarks, highlighting its practical benefits under realistic conditions.
As shown in Table 8, all methods share the same initial SOC, maximum voltage, and cutoff current settings. This uniformity ensures that performance differences are directly attributed to the control strategies themselves. The proposed MMSCC–CV–PSO method introduces a novel optimization approach that improves charging efficiency and reduces stress on the battery.
Results and discussion
The proposed MMSCC-CV-PSO charging strategy was evaluated and compared against two conventional techniques—namely the Constant Current–Constant Voltage (CC–CV) method and the optimized Multi-Stepped Constant Current (MSCC) approach. The performance of each method was assessed based on key metrics such as terminal voltage behavior, current profile, heat generation, state of charge (SOC) evolution, and overall energy efficiency. The results, illustrated in Fig. 9a–d and Table 8, provide a comprehensive understanding of the enhancements achieved by the proposed technique.
As illustrated in Fig. 9a, the CC–CV method features a straightforward charging profile: a constant current phase followed by a shift to a fixed voltage plateau at 29.4 V. While this approach is simple and widely used, it lacks flexibility in adapting to battery dynamics during charging. Conversely, the optimized MSCC method adopts a stepped voltage profile, allowing more granular control over the charging process. The proposed MMSCC-CV-PSO method builds on this by introducing two constant-current (CC) phases followed by a constant-voltage (CV) phase. This multi-level voltage regulation enables the system to respond dynamically to battery needs, reducing electrical stress and potentially improving cell longevity.
The analysis of current profile dynamics and behavior further emphasizes the adaptability of the MMSCC-CV-PSO method as shown in Fig. 9b. In the CC–CV method, current decays exponentially during the constant voltage phase—a process that can be inefficient in later charging stages. The optimized MSCC method utilizes a sequence of constant current steps with fixed durations, offering improved consistency but limited responsiveness. The MMSCC-CV-PSO, however, features a hybrid approach: it divides the current profile into two major dynamic phases. This enables real-time current adjustment based on the battery’s state, enhancing control over charge flow and contributing to reduced energy losses and better thermal behavior.
Figure 9c presents the heat generation data during the charging process. The CC–CV method results in the highest thermal output, with peak heat generation reaching 100 J. This level of heat can accelerate battery degradation and limit lifespan. The MSCC method shows modest improvement with a reduced peak of 96.5 J. The MMSCC-CV-PSO approach achieves further enhancement by capping the maximum heat at 95.5 J, reflecting a 1.04% improvement over MSCC and 4.5% over CC–CV. These results underscore the method’s effectiveness in thermal regulation, which is crucial for maintaining safe and stable battery operation.
SOC analysis shown in Fig. 9d reveals clear advantages of the proposed method in terms of charging speed and completeness. The MMSCC-CV-PSO method achieves full SOC (100%) in just 41.3 min, significantly faster than the optimized MSCC (48.1 min) and CC–CV (60 min) methods. Additionally, it reaches 99% SOC approximately 29.5% faster than the CC–CV method, demonstrating its capability to deliver a quicker charge without compromising energy efficiency. This acceleration in charging time can be particularly valuable for time-sensitive energy storage applications.
Table 9 summarizes the performance metrics across the three conducted methods. These quantitative results clearly establish the superiority of the MMSCC-CV-PSO method. It consistently outperforms conventional techniques across all critical metrics, including thermal performance, charge time, SOC accuracy, and energy efficiency.
Finally, Fig. 10 presents a consolidated graphical comparison, highlighting the key simulation results for each method. The visual synthesis clearly demonstrates the enhancements offered by MMSCC-CV-PSO, validating its capability as an effective and efficient battery charging strategy. The method’s ability to combine fast charging, thermal safety, and high energy efficiency makes it a strong candidate for advanced lithium-ion battery management systems.
Impact on battery life extension
The experimental results demonstrate that the proposed multi-step fast charging strategy not only shortens the total charging time but also significantly reduces heat generation compared to conventional fast-charging profiles. Elevated cell temperature is a key accelerator of degradation mechanisms such as lithium plating, excessive SEI layer growth, and mechanical stress on active materials, all of which contribute to rapid capacity fade. By maintaining a lower thermal profile throughout the charging process, the proposed method effectively suppresses these side reactions, thereby slowing the rate of performance decay. Furthermore, controlled current transitions between charging steps reduce electrode overpotential, minimizing the risk of lithium plating even at higher charging rates. These combined effects indicate that the method can extend the battery’s service life while maintaining high charging efficiency.
Conclusion and future work
This study presents an advanced and optimized charging methodology—Modified Multi-Stepped Constant Current–Constant Voltage integrated with Particle Swarm Optimization (MMSCC-CV-PSO)—designed to enhance the performance of lithium-ion battery energy storage systems. Unlike conventional techniques such as the standard MSCC and CC–CV methods, the proposed strategy dynamically adjusts the charging profile using an intelligent optimization algorithm to minimize heat generation and improve energy transfer efficiency. Simulation results demonstrate that the MMSCC-CV-PSO approach significantly reduces peak thermal output during charging, which directly contributes to minimizing thermal stress on battery components and thus extends the battery’s operational lifespan. Furthermore, the method reliably achieves a full state of charge (100% SOC), slightly surpassing conventional approaches and ensuring optimal utilization of battery capacity without compromising safety. These performance gains are achieved while maintaining system stability and thermal safety margins, positioning the MMSCC-CV-PSO technique as a robust and effective solution for modern energy storage applications. The findings highlight the approach’s potential to support the growing demand for fast, efficient, and thermally controlled charging in electric vehicles and other battery-powered technologies.
Despite these promising results, the current validation is limited to simulations with a fresh Li-ion model and does not account for degradation mechanisms such as capacity fade, internal resistance growth, or lithium plating. As part of our future work, we plan to extend this study by implementing the proposed strategy in a hardware-in-the-loop (HIL) platform and conducting experiments on real Li-ion cells. In addition, extended cycle-life testing will be performed to evaluate the method’s impact on battery State of Health (SoH). Further improvements will also focus on enhancing the adaptability of the controller through online re-optimization or adaptive schemes to account for parameter drift caused by aging. Finally, benchmarking the PSO-based optimization against other metaheuristic algorithms will be considered to further validate its robustness and competitiveness.
Data availability
The datasets used and/or analysed during the current study available from the corresponding author on reasonable request.
References
Faria, J. P. D. et al. A new charging algorithm for li-ion battery packs based on artificial neural networks. Batteries https://doi.org/10.3390/batteries8020018 (2022).
Wang, S. et al. A critical review of improved deep learning methods for the remaining useful life prediction of lithium-ion batteries. Energy Rep. https://doi.org/10.1016/j.egyr.2021.08.182 (2021).
Xu, X. et al. Challenges and opportunities toward long-life lithium-ion batteries. J. Power Sour. 603, 234445. https://doi.org/10.1016/j.jpowsour.2024.234445 (2024).
Huang, X. et al. A review of pulsed current technique for lithium-ion batteries. Energies https://doi.org/10.3390/en13102458 (2020).
Feng, F., Hu, X., Liu, J., Lin, X. & Liu, B. A review of equalization strategies for series battery packs: variables, objectives, and algorithms. Renew. Sustain. Energy Rev. https://doi.org/10.1016/j.rser.2019.109464 (2019).
Zhou, L. et al. State estimation models of lithium-ion batteries for battery management system: Status, challenges, and future trends. Batteries https://doi.org/10.3390/batteries9020131 (2023).
Baazouzi, S. et al. Design, properties, and manufacturing of cylindrical Li-ion battery cells—A generic overview. Batteries https://doi.org/10.3390/batteries9060309 (2023).
Luo, X. et al. An enhanced multicell-to-multicell battery equalizer based on bipolar-resonant LC converter. Electronics (Switzerland) 10(3), 1–20. https://doi.org/10.3390/electronics10030293 (2021).
Ouyang, Q., Wang, Z., Liu, K., Xu, G. & Li, Y. Optimal charging control for lithium-ion battery packs: A distributed average tracking approach. IEEE Trans. Industr. Inform. 16(5), 3430–3438. https://doi.org/10.1109/TII.2019.2951060 (2020).
Abdul-Jabbar, T. A., Obed, A. A. & Abid, A. J. Real-time implementation of battery management system with different charging approaches. AIP Conf. Proc. https://doi.org/10.1063/50154220 (2023).
Usman Tahir, M., Sangwongwanich, A., Stroe, D. I. & Blaabjerg, F. Overview of multi-stage charging strategies for Li-ion batteries. J. Energy Chem. https://doi.org/10.1016/j.jechem.2023.05.023 (2023).
Chen, G. J. & Chung, W. H. Evaluation of charging methods for lithium-ion batteries. Electronics (Switzerland) https://doi.org/10.3390/electronics12194095 (2023).
Nizam, M., Maghfiroh, H., Irfani, B., Inayati, I. & Ma’arif, A. Designing and prototyping of lithium-ion charging system using multi-step constant current method. World Electric Veh. J. https://doi.org/10.3390/wevj13100178 (2022).
Alhaider, M. M. et al. New temperature-compensated multi-step constant-current charging method for reliable operation of battery energy storage systems. IEEE Access 8, 27961–27972. https://doi.org/10.1109/ACCESS.2020.2972391 (2020).
Li, Y., Guo, J., Pedersen, K., Gurevich, L. & Stroe, D. I. Investigation of multi-step fast charging protocol and aging mechanism for commercial NMC/graphite lithium-ion batteries. J. Energy Chem. 80, 237–246. https://doi.org/10.1016/j.jechem.2023.01.016 (2023).
Zhang, Y. et al. Multi-step state of health prediction of lithium-ion batteries based on multi-feature extraction and improved Transformer. J. Energy Storage https://doi.org/10.1016/j.est.2024.114538 (2025).
Sun, J. et al. A multistage constant current charging optimization control strategy based on lithium plating fast detection. J. Energy Storage https://doi.org/10.1016/j.est.2024.115189 (2025).
Tahir, M. U., Sangwongwanich, A., Stroe, D. I. & Blaabjerg, F. Multi-objective optimization for multi-stage constant current charging for Li-ion batteries. J. Energy Storage https://doi.org/10.1016/j.est.2024.111313 (2024).
Yun, S. S. & Kee, S. C. Improved multilevel multistage constant-current constant-voltage superfast charging of multiple cells. J. Electr. Eng. Technol. 17(1), 209–219. https://doi.org/10.1007/s42835-021-00896-1 (2022).
Sabarimuthu, M., Senthilnathan, N. & Kamalesh, M. S. Multi-stage constant current–constant voltage under constant temperature (MSCC-CV-CT) charging technique for lithium-ion batteries in light weight electric vehicles (EVs). Electr. Eng. 105(6), 4289–4309. https://doi.org/10.1007/s00202-023-01937-w (2023).
Nugroho, M. A. B., Alifi, A. D., Suhariningsih, E., Sunarno, E. P. & Anggriawan, D. O. Multi-step constant current-constant voltage charging method to improve CC-CV method on lead acid batteries. Telkomnika 22(6), 1564–1572. https://doi.org/10.12928/TELKOMNIKA.v22i6.25968 (2024).
Kumar, K. & Pareek, K. Fast charging of lithium-ion battery using multistage charging and optimization with Grey relational analysis. J. Energy Storage https://doi.org/10.1016/j.est.2023.107704 (2023).
Li, R., Wei, X., Sun, H., Sun, H. & Zhang, X. Fast charging optimization for lithium-ion batteries based on improved electro-thermal coupling model. Energies (Basel) https://doi.org/10.3390/en15197038 (2022).
Camas-Náfate, M., Coronado-Mendoza, A., Vargas-Salgado, C., Águila-León, J. & Alfonso-Solar, D. Optimizing lithium-ion battery modeling: A comparative analysis of PSO and GWO algorithms. Energies (Basel) https://doi.org/10.3390/en17040822 (2024).
Guo, R., Wang, F., Hu, C. & Shen, W. Toward accurate and efficient sorting of retired lithium-ion batteries: A data-driven-based electrode aging assessment approach. IEEE Trans. Transp. Electrif. 11(1), 4841–4856. https://doi.org/10.1109/TTE.2024.3471591 (2025).
Guo, R., Hu, C. & Shen, W. Battery peak power assessment under various operational scenarios: A comparative study. IEEE Trans. Transp. Electrif. 11(1), 2489–2503. https://doi.org/10.1109/TTE.2024.3423469 (2025).
Xu, Y., Ge, X., Guo, R. & Shen, W. Active cell balancing for extended operational time of lithium-ion battery systems in energy storage applications. J. Energy Storage https://doi.org/10.1016/j.est.2025.116167 (2025).
Guo, R. & Shen, W. Recent advancements in battery state of power estimation technology: A comprehensive overview and error source analysis. J. Energy Storage https://doi.org/10.1016/j.est.2024.114294 (2024).
Tang, A., Gong, P., Huang, Y., Wu, X. & Yu, Q. Research on pulse charging current of lithium-ion batteries for electric vehicles in low-temperature environment. Energy Rep. 9, 1447–1457. https://doi.org/10.1016/j.egyr.2023.04.226 (2023).
Huang, Y., Wang, S., Wang, Z. & Xu, G. Investigation of lithium-ion battery negative pulsed charging strategy using non-dominated sorting genetic algorithm II. Electronics (Switzerland) https://doi.org/10.3390/electronics13112178 (2024).
David, H. K., Chen, P. T., Yan, W. M., Sangeetha, T. & Yang, C. J. Perspective of material evolution Induced by sinusoidal reflex charging in lithium-ion batteries. Heliyon https://doi.org/10.1016/j.heliyon.2024.e30471 (2024).
LG Chem Ltd., Product Specification: Rechargeable Lithium-ion Battery, Model ICR18650 B4, 2600 mAh, Document No. LRB-PSCY2600_B4_Rev0, Version 0, April 20, 2010. Prepared and approved by LGC MED/BTC, Kim Jung Jin, and Ahn Soon Ho.
Lipu, M. S. H. et al. Battery management, key technologies, methods, issues, and future trends of electric vehicles: A pathway toward achieving sustainable development goals. Batteries https://doi.org/10.3390/batteries8090119 (2022).
Aragon-Aviles, S., Kadam, A. H., Sidhu, T. & Williamson, S. S. Modeling, analysis, design, and simulation of a bidirectional DC-DC converter with integrated snow removal functionality for solar PV electric vehicle charger applications. Energies (Basel) https://doi.org/10.3390/en15082961 (2022).
Wang, C., Xiong, R., He, H., Ding, X. & Shen, W. Efficiency analysis of a bidirectional DC/DC converter in a hybrid energy storage system for plug-in hybrid electric vehicles. Appl. Energy 183, 612–622. https://doi.org/10.1016/j.apenergy.2016.08.178 (2016).
Hagedorn, J. Basic calculations of a 4-switch buck-boost power stage application report basic calculations of a 4 switch buck-boost power stage. 2018. [Online]. Available: www.ti.com.
Balamurugan, P. et al. State-flow control based multistage constant-current battery charger for electric two-wheeler. J. Adv. Transp. https://doi.org/10.1155/2023/4554582 (2023).
Mathieu, R., Briat, O., Gyan, P. & Vinassa, J. M. Fast charging for electric vehicles applications: Numerical optimization of a multi-stage charging protocol for lithium-ion battery and impact on cycle life. J. Energy Storage https://doi.org/10.1016/j.est.2021.102756 (2021).
El-Bayeh, C. Z., Alzaareer, K., Aldaoudeyeh, A. M. I., Brahmi, B. & Zellagui, M. Charging and discharging strategies of electric vehicles: A survey. World Electr. Veh. J. https://doi.org/10.3390/wevj12010011 (2021).
Yuksek, G. & Lale, T. Improved thermal management of lithium-based batteries employing genetic algorithm optimization. Bull. Pol. Acad. Sci. Tech. Sci. https://doi.org/10.24425/bpasts.2024.151378 (2024).
Yüksek, G. & Alkaya, A. An adaptive energy management approach for battery-supercapacitor hybrid energy storage system. Bull. Pol. Acad. Sci. Tech. Sci. https://doi.org/10.24425/bpasts.2024.150203 (2024).
Priyadarshi, R. & Kumar, R. R. Evolution of swarm intelligence: A systematic review of particle swarm and ant colony optimization approaches in modern research. Arch. Comput. Methods Eng. https://doi.org/10.1007/s11831-025-10247-2 (2025).
Ibrahim, O. et al. Fuzzy logic-based particle swarm optimization for integrated energy management system considering battery storage degradation. Results Eng. https://doi.org/10.1016/j.rineng.2024.102816 (2024).
Wang, X., Tang, Y., Li, Z. & Xu, C. Research on charging strategy based on improved particle swarm optimization PID algorithm. Complex Intell. Syst. 10(5), 6421–6433. https://doi.org/10.1007/s40747-024-01487-z (2024).
Oche, J. E., Bashir, H. A. & Shima, T. J. PSO-optimized model reference adaptive PID controller for precise DC motor speed control. Niger. J. Technol. Dev. 21(4), 135–144. https://doi.org/10.4314/njtd.v21i4.2473 (2024).
Funding
Open access funding provided by The Science, Technology & Innovation Funding Authority (STDF) in cooperation with The Egyptian Knowledge Bank (EKB). This research funded by Menofia University.
Author information
Authors and Affiliations
Contributions
Essam Nabil, Mohamed Magdy and Fatma Hanafy conceived the study. Essam Nabil and Mohamed Magdy developed the theoretical framework, analyzed the system model and performed the algorithm and program code. Fatma Hanafy and Belal Abou-Zalam aided in the analysis. Essam Nabil and Fatma Hanafy supervised the research work.All authors discussed the results and contributed to the final manuscript. Essam Nabil and Mohamed Magdy developed performed the experiments/calculations/simulations, analyzed the data, and wrote the manuscript. Essam Nabil and Belal Abou-Zalam contributed to the final version of the manuscript and supervised the research work. All authors contributed to the interpretation of the results. Essam Nabil and Mohamed Magdy took the lead in writing the manuscript. All authors provided critical feedback and helped shape the research, analysis, and manuscript. Essam Nabil, Mohamed Magdy, and Fatma Hanafy designed the model and the computational framework and analyzed the data. Essam Nabil and Mohamed Magdy wrote the manuscript with input from all authors. Essam Nabil, Mohamed Magdy, and Belal Abou-Zalam contributed to the design and implementation of the research, to the analysis of the results and to the writing of the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Magdy, M., Hanafy, F., Abou-Zalam, B. et al. Optimized Multi-Stepped constant current constant voltage fast charging controller for lithium-ion batteries. Sci Rep 15, 40359 (2025). https://doi.org/10.1038/s41598-025-25924-2
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41598-025-25924-2












