Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2024 Feb 13;14:3629. doi: 10.1038/s41598-024-53396-3

Energy management of electric vehicle using a new strategy based on slap swarm optimization and differential flatness control

Houssam Eddine Ghadbane 1,, Said Barkat 2,, Ali Djerioui 2, Azeddine Houari 3, Mihai Oproescu 4, Nicu Bizon 4,5,6
PMCID: PMC11269717  PMID: 38351166

Abstract

Optimal energy management of electric vehicles using slap swarm optimization and differential flatness control has been proposed. A battery–supercapacitor power system is adopted. Each source is connected in parallel to the DC-bus using DC–DC bidirectional converters and supplies a synchronous reluctance motor (SynRM) based drive. The proposed EMS fundamental forces lie in using a combination of complementary proprieties of two approaches, a Slap Swarm optimization Algorithm and Differential Flatness (DF). With a fast optimization mechanism, the Slap Swarm optimization algorithm allows adapting in real-time conditions the DF gains to optimize the system performances. On its side, DF uses predefined trajectories respecting the physical proprieties of the system, which is a powerful tool to guarantee the dynamic constraints of the sources when ensuring desired robust control proprieties. To check the feasibility and performance of the suggested EMS, comprehensive processor-in-the-loop co-simulations of the electric vehicle were carried out using the C2000 launchxl-f28379d DSP board. The main goal of the proposed EMS is to guarantee the DC-bus stabilization, reducing the DC-bus voltage ripples (Δv = 5 V) and the voltage overshoots 15 V (3.2%), respect the source dynamics, and satisfy the SynRM motor power demand. Furthermore, the algorithm minimizes induced harmonics by the drive (10.49%), reducing the battery current ripple by 17.15A, thereby enhancing the battery lifecycle.

Subject terms: Electrical and electronic engineering, Energy science and technology, Energy storage, Batteries, Supercapacitors

Introduction

Nowadays, the influence of the transportation system’s growth on global warming and climate change has become more and more tangible and has impacted our everyday lives1. According to2, integrating the road transport sector into the EU ETS (European Emissions Trading System) is expected to be a cost-effective CO2 reduction method. The transport sector accounted for roughly 27% of total EU greenhouse gas (GHG) emissions in 2017, with light commercial vehicles (LCVs) contributing to approximately 9% of EU transport GHG emissions3. According to the European Environment Agency (EEA), average CO2 emissions from new light-duty vehicles (LDVs) rose in 2017 for the first time since 2010 and continued to rise in 20184. The European Commission published a proposal to outlaw the sale of petrol and diesel automobiles in the EU from 20355. In this context, transportation decarbonization is primarily recognized as one of the priorities for considerably decreasing harmful emissions.

The facts presented here confirm that the automobile industry has adopted the electrified mobility vision. Several automakers have openly stated their commitment to an electric vehicle future, expecting the EV market to be poised for rapid expansion. For example, Volvo Company stated that cars with internal combustion engines have no long-term future. Volvo is firmly dedicated to becoming an all-electric vehicle manufacturer, with the transition expected to occur by 20306. By 2035, General Motors intends to eliminate tailpipe emissions from new light-duty cars7. Following a year in which Volkswagen electric vehicle sales quadrupled, the company noticed that 2020 represented a turning point in customer mood8. EV conventional power system mainly involves batteries and power electronic converters9. It is well established that these power converters’ currents contain harmonics. The detrimental effect of current harmonics on the aging of Li-ion cells was studied based on the results of the tests conducted by the authors in1015.

To provide better performance in terms of power quality, durability, and reliability, hybrid power systems (HPSs) based EVs are suggested in the literature1618. HPS comprises a battery as the primary source and a supercapacitor (SC) as an auxiliary. The battery provides most of the motor power due to its high energy density. At the same time, the SC enhances the power quality by supplying the transient periods due to its high power density. The electric machine has played a significant role throughout the evolution of EVs, regardless of the precise types of EVs provided. Different electric machines have been used in the EV design; each has advantages and disadvantages. Synchronous Reluctance Motor (SynRM) has recently gained more attention in EV applications due to its increased efficiency, reduced weight, and moderate cost1923. In addition, SynRM can provide torque enhancement by 34% more than the classical machines, which is suitable for the EV industry19. Despite the outstanding advantages described above, SynRM has several relevant disadvantages for traction applications, including torque ripple and SynRM current harmonics that affect battery lifetime (battery aging)21. The primary challenge is to provide an appropriate energy management strategy (EMS) that enhances the performance of the HPS and extends the battery lifecycle while considering different constraints.

However, the main focus lies in evaluating the efficacy of the chosen EMS. To attain this objective, multiple EMSs have been documented in academic literature. Broadly, these EMSs can be categorized into optimization, rule-based, and learning-based techniques, as mentioned in24,25. Optimization-driven approaches employ optimization theory tools to solve the issue, aiming for an optimal power load distribution across the battery–supercapacitor storage system to maximize component lifespans. The methods focused on optimization can be classified as offline (global scale) or online (real-time scale). Offline optimization EMS involves determining the best control solution for a predefined condition, like a speed profile. There are two methods for this: Direct methods encompass disciplined optimum control; Indirect methods involve approaches such as the calculus of variations24, Pontryagin's Maximum Principle (PMP)26, Pontryagin's Minimum Principle27, stochastic dynamic programming (SDP)28, and dynamic programming (DP)29. The real-time application of online optimization includes determining the most efficient energy distribution in a hybrid system using specified data. The cost function factors in the system's current status, operational costs, and emissions. Model predictive control (MPC)30, equivalent consumption minimization strategy (ECMS)31, and external energy maximization strategy (EEMS)32 fall under this category. In artificial intelligence, learning-based techniques, particularly reinforcement learning (RL)33 and deep learning (DL)34, leverage machine learning advancements. These methods have exhibited effectiveness across diverse domains, notably in image categorization, leading to widespread implementation in energy management35,36. However, the unavailability of databases required for training models poses a challenge, given the lack of extensive research on this emerging subject. These databases offer no assurance of compatibility with data beyond the provided training set. Rule-based strategies are management strategies based on a sequence of IF–THEN situations. This kind of management strategy can be categorized into two types: deterministic strategies, such as state machine control (SMC) strategy27,28, and intelligent strategies, such as fuzzy logic-based EMS29,30. The fundamental disadvantage of these strategies is that developing their roles requires the designer's experience, which is not always available. They also suffer from problems related to the abrupt transitions between various operating modes that present a real challenge for conventional controllers to keep the desired power quality and system stability. A linear proportional-integral (PI) based management strategy was reported in2435. Authors in37 proposed a PI-based voltage control strategy for the common DC-bus of hybrid EVs. However, PI controller design based on linearization around an operating point suffers from robustness problems. The flatness-based management strategy (FLAT) has been widely used to manage the power flow in a multi-sources power system38,39. This strategy can provide excellent performance, but defining the trajectory parameters is challenging; the definition of flat outputs and the dependence on the reference model decreases these performances in case of essential parameter changes.The traditional approaches may offer restricted effectiveness. This research aims to evaluate the optimization of trajectory generation parameters utilizing a metaheuristic optimization technique known as the Salp Swarm Algorithm (SSA). The main benefits of SSA over other optimization strategies are faster solution convergence and fewer parameters with faster-resolving capability40. Based on the advantages of the above-mentioned optimization algorithms, this paper reports a new optimized flatness-based management strategy to manage the power flow in an EV power system while reducing battery aging. The considered hybrid power system is based on a Li-ion battery and supercapacitor as energy storage elements. The main goals of the suggested EMS are to provide DC-bus stabilization, respect the dynamics of the sources, and satisfy the SynRM motor power demand. Additionally, the algorithm allows the minimization of the effect of harmonics generated by the motor on the battery current. Thus, the main contributions can be listed as follows:

  • Stabilizing the DC-bus voltage;

  • Ensuring the proper use of the power flows between the battery and SC while respecting the SoC limits;

  • Preventing the SynRM motor from the harmonics that impact the energy storage systems’ lifetimes;

  • Reducing the battery current harmonics induced by the electric drive;

  • Minimizing the battery current ripples generated by both the SynRM and PWM inverter;

  • Combining different strategies to obtain the best performances.

The control algorithm and EMS for the proposed hybrid power system are validated by processor-in-the-loop (PIL) technology in Matlab/Simulink using embedded Matlab functions. The final generated control algorithm codes are embedded in a real target DSP (C2000 launchxl-f28379d). In this, the integrated DSP control algorithm manages all components of the hybrid power system (Bat-SC-SynRM), modeled in the host PC using SimPowerSystems (SPS) Toolbox.

The remainder of this work is arranged as follows: Sect. 2 presents modeling the electric traction chain's parts. Section 3 discusses the suggested EMS based on the optimal differential flatness. The results and interpretations of the co-simulations are presented in Sect. 4. The study's conclusion is presented in Sect. 5.

System description and modeling

Detailing the study and the proposed diagram

Finding the specific numerical values for trajectory generation parameters presents a challenge because there is not an exact model replicating the physical system. To address this, an approach involves improving these parameters through metaheuristic optimization algorithms. The main concept involves creating random potential solutions within a confined search area. These solutions will be directed to the HPS, where their behavior will be evaluated by calculating the integral square error (ISE) between the reference and actual DC bus and supercapacitor voltage and battery and the supercapacitor current. The optimizers will adjust and update the potential solutions based on this ISE, which represents the fitness value. The optimized adaptive Flatness-based EMS is described in Figure 1.

Figure 1.

Figure 1

SSA-FLAT-based EMS.

HPS topology

Three hybrid power system topologies for electric vehicles, as illustrated in Fig. 2, have been commonly reported in the literature. These topologies with distinctive qualities can be categorized as passive, semi-active, and active41.

Figure 2.

Figure 2

The HPS topologies: (a) passive topology; (b,c) semi-active topological structure ; (d) fully active topology.

The architecture of the studied HPS is based on the fully active topology, as shown in Fig. 3, Since each ESS is controlled independently, this architecture provides the maximum level of controllability. It makes it easier for the energy management plan to use the complementing traits of HPS and HES. Additionally, it supports implementing a wide range of control mechanisms42. The traction chain comprises two energy storage systems (battery and SC), their converters (bidirectional DC–DC), and a synchronous reluctance motor drive.

Figure 3.

Figure 3

Schematic structure of the proposed EV.

Power system modeling

The switching and average models are the two DC–DC converters models extensively utilized in the literature. The switching model is primarily used to investigate different forms of pulse width-modulated systems in terms of power losses and harmonics. It requires a short sampling period, making simulation time-consuming; hence, the following average model was adopted in this study.

Lbatdibatdt=Vbat-Vbusdbatt-rBatibattLscdiscdt=VSC-Vbusdsc-rSCiSCcbusdVbusdt=dbattibat+dsciSC-iLoad 1

where VSC and Vbus are the supercapacitor and DC-bus voltage, respectively; rSC and rbatt denote the internal converter resistors; LSC and Lbatt are the converter inductors; dSC and dbatt represent the duty cycle ratios; Cbus represents the DC-bus capacitance; iLoad, iSC, and ibatt are the load, the supercapacitor, and the battery currents, respectively.

The electromagnetic energy stored in the DC bus capacitance Ebus and the capacitive energy of the SC ESC are given by:

EBus=0.5cbusVbus2 2
ESC=0.5cSCVSC2 3

The total stored electromagnetic energy ET is expressed as follows:

ET=0.5cbusVbus2+0.5cSCVSC2 4

According to Fig. 1, the differential equation for power balance is43 :

E˙Bus=PBato+PSCo-PLoad 5

The supplied powers from the sources, including converter losses, are expressed by PBato and PSCo as follows:

PBato=PBat-rBatPBatVBat2 6
PSCo=PSC-rSCPSCvSC2 7

where

PSC=VSCiSC=iSC2ESC/cSC1/2 8
PLoad=VbusiLoad=iLoad2EBus/cbus1/2 9

Synchronous reluctance motor and vehicle dynamics modeling

There are currently several main rotor structures of SynRM: solid rotor, flux barrier rotor, axially laminated rotor, and magnet-assisted rotor. The structures suitable for traction applications have flux barriers since they meet performance, robustness, cost, and manufacturing requirements20. The SynRM electromechanical model is presented in the (d-q) frame as follows:

ddtisdisqΩθ=-RsLdisd+pLqLdisqΩ-RsLqisq-pLdLqisdΩ3p(Ld-Lq)isdisq2J-fJΩ-TLpΩ+1Ld00001Lq00vsdvsq 10

where vsq and vsd are the stator's quadrature and direct axis voltages, respectively. isq and isd represent their corresponding currents. The Ld and Lq are the d-q magnetizing inductances. represents the mechanical rotation speed, Rs represents the stator resistance, p denotes the number of pair poles, TL, is the rotor's torque load, f and J represent the viscous friction coefficient, and inertia moment.

The equation representing the dynamics of an electric motor is formulated as follows18:

Te-TLoad=JvedΩdt 11

The torque of the load is provided by:

TLoad=TLwheeli=ri(mvgμsign(v))+(0.5γCdAf(v+_vw)2)+_(mvgsinα)+_(kmmvdvdt) 12

where TLwheel,i, and r represent the load torque on the wheels, the transmission ratio, and the wheel radius, v and vw are the vehicle and wind speed, respectively, α represents the angle of the slop, mv is vehicle masse, µ,km , and Cd are the tire rolling resistance, the rotational inertia, and aerodynamic drag coefficient, respectively,γ and Af represent the air density and the frontal vehicle area. Respectively, g represents the earth's gravity.

Classification and comparative analysis of the energy management approach

EMSs can be partitioned into three main methods: optimization-based methods, rule-based methods, or more recently, learning-based methods, as depicted in Fig. 4.

Figure 4.

Figure 4

Classification of EMS of HPS.

The suggested EMS

The suggested EMS aims to control the motor speed effectively and stabilize the voltage of the DC bus. Indirect Field Oriented Control (IFOC) is used to control the motor speed. This strategy provides the d-q voltage references for the State Space Vector PWM (SVPWM) system. Hybridization between the differential flatness theory and metaheuristic optimization is used to control the bus voltage optimally.

SynRM drive IFOC design

The SynRM’s Indirect Field Oriented Control (IFOC), as shown in Fig. 5, comprises three control loops: an external speed control loop, an internal current control loop for isd and another loop for isq. The first loop output generates the quadrature reference current, which is compared to the current value resulting from the current measurements. Their error is applied to the input of the isq current controller. Similarly, there is a current regulation loop of direct current isd. The outputs of the two internal loops isq and isd are applied to a decoupling block generating the reference voltages vsdref and vsqref. By passing from the reference (d-q) to the reference (α,β), the two voltages reference vsαref, vsβref required by the Space Vector Modulation (SVM) block.

Figure 5.

Figure 5

Diagram of SynRM Field-oriented control.

The proposed optimal differential flatness-based EMS

The proposed EMS is based on optimal differential flatness. It is divided into two parts: a lower-level controller and a higher-level controller. The higher-level controller generates the power reference for each source. The power references created by the inverse dynamic in Eq. (16) and Eq. (18) are divided by the measured supercapacitor and battery voltages to generate the reference currents for the supercapacitor and battery converters. The lower-level controller adjusts for DC-bus current variations and compensates for the DC-bus current harmonics using a supercapacitor, which results in improved energy quality and battery lifecycle enhancement. Figure 6, illustrates the operational control structure.

Figure 6.

Figure 6

Proposed optimal differential flatness-based EMS.

Energy regulation

In the considered HPS, the flat model is expressed by its flat output y=[y1y2]T, control variable u=[u1u2]T, and state variable x=[x1x2]T,

Where:

y=EBusET,u=PSCrefPBatref,x=VbusVSC 13

From Eq. (2), the state variable x1 representing Vbus can be expressed as follows:

x1=2y1/cbus1/2=λ1(y1) 14

From Eq. (4), the state variable x2 representing VSC can be expressed as follows:

x2=2(y2-y1)/cSC1/2=λ2(y1,y2) 15

The SC power reference PSCref, considered the first input control variable, u1, is derived from Eqs. 5, 7, and 9.

u1=2PSCmax1-1-y˙1+2y1cbusiLoad-PBatoPSCmax1/2=ϑ1(y1,y˙1)=PSCref 16

with PSCmax is the SC converter's maximum power limit. It can be defined as

PSCmax=VSC2/4rSC 17

Concerning the second input, the power reference of the battery PBattref is calculated from Eqs. 5, 6, and 9 as follows:

u2=2PBatmax1-1-y˙2+2y1cbusiLoadPBatmax1/2=ϑ2(y1,y˙2)=PBatref 18

where PBattmax is defined as the maximum limiting power from the battery converter.

PBatmax=Vbat2/4rBat 19

Above all, the flat output (y1=Ebus) is the most crucial variable to control. For this, a classical PI controller is used to ensure that this flat variable is under control. Assuming the SC control loop is significantly faster than the battery control loop44, the DC-bus power stated in Eq. (7) can be approximated as:

E˙Bus=PSCo 20

The transfer function is represented as a straightforward integrator. A PI regulator is used to control this part44. Recognizing that y1=Ebus, as shown below:

y˙1=1s(kpbus+kiVbuss)y1-y1-ref 21

where kpbus,kibus are the integral and the proportional gains chosen so that the closed loop characteristic polynomial is expressed as follows:

p(s)=s2+λ1s+λ0 22

Clearly, the error e1=y1-y1-ref meets:

e¨1+kpbuse˙1+kiVbuse1=0 23

By matching the characteristic polynomial p(s) to a desired one pdes(s), given by Eq. (22), with pre-specified root positions, an adequate choice of controller parameters can be calculated by Eq. (25) and Eq. (26).

pdes(s)=s2+2ξωns+ωn2 24
kpbus=2ξωn 25
kibus=ωn2 26

where ωn represents the natural frequency, and ξ represents the dumping ratio.

The SC energy control loop depends on total energy management. A linearizing feedback control rule is used to achieve an exponential asymptotic tracking of the trajectory44 as follows:

y˙2-y˙2-ref+kpSCy2-y2-ref=0 27
kpSC=ωn2 28

where kpSC is the proportional gain of the SC voltage controller.

Current control

The flat output y=[y3y4]T, control variable u=[u3u4]T, and state variable x=[x3x4]T may be written as follows:

y=ibatiSC,u=dbatdsc,x=ibatiSC 29

The control vector variables u3, u4 are evaluated from Eq. (1) and Eq. (29) as follows:

u3=1/VbusLbaty˙3-Vbat+rbatty3=υ1(y3,y˙3)=dbat 30
u4=1/VbusLscy˙4-VSC+rSCy4=υ2(y4,y˙4)=dsc 31

The first current control law, y3-ref, defines the set-point for the battery current. The closed-loop control law is written as follows37,45:

y˙3-y˙3-ref+kpbaty3-y3-ref+kibaty3-y3-refdt=0 32

where kibat and kpbat represent the controller's parameters. Let us consider the following desired dynamic polynomial46:

p1(s)=s2+2ξi1ωni1s+ωni12 33

By matching the derivative of Eq. (32) with the desired dynamic polynomial p1(s) with predetermined root locations, the appropriate controller parameters are expressed by:

kpbat=ξi1ωni1 34
kibat=ωni12 35

The second current control law based on feedback regulation is written as follows:

y˙4-y˙4-ref+kpSCy4-y4-ref+kiSCy4-y4-refdt=0 36

By matching the derivative of Eq. (36) with the following desired characteristic polynomial p2(s) with pre-specified root positions, the controller parameters can be obtained as in Eq. (38) and Eq. (39).

p2(s)=s2+2ξi2ωni2s+ωni22 37
kpSC=2ξi2ωni2 38
kiSC=ωni22 39

where y3-ref and y4-ref are the required inductor current references;kisc,kibat are the integral gains of the supercapacitor and battery current controllers, respectively.kpsc and kpbat represent the proportional gains of the supercapacitor and the battery current controllers, respectively. ωni1,ωni2 and ξi1, ξi2 represent the natural frequencies and the dumping factors, respectively.

Salp Swarm Algorithm:

Slap swarm algorithm (SSA) was proposed by Mirjalili in32 and inspired by the behavior of slaps in the ocean. It is distinguished primarily by its high precision and quick convergence capabilities. There are two sorts of agents in the agent set: leaders and followers, and their movements can be described as:

LP(n)=FP(n)+c1ub-lbc2+lbifc31/2FP(n)-c1ub-lbc2+lbifc3<1/2 40

where LP(n) and FP(n) are the leader and food position at iteration (n), respectively, and c2 and c3 are arbitrary variables [0,1].ub and lb are the higher and lower search space boundaries, respectively. The coefficient c1 is the most significant parameter that affects the algorithm performance since it balances exploration and exploitation. It is described as:

c1=2e-4n/Nmax2 41

where Nmax is the maximum number of iterations.

The movement of the follower can be expressed as:

FPi(n)=1/2FPin-1+FPi-1n 42

where FPi(n) is the position of the i-th follower. This last one updates its position based on its position and the position of the previous salp. The objectives are attenuating the battery current harmonics and DC voltage ripples, reducing the voltage overshoots, and ensuring the stable operation of the HPS. Thun, the cost function can be formulated as the integral square error (ISE) as:

f=min0tεdt 43

For the hybrid power systems (HPSs), there are four errors written as follows:

εVbus=Vbusref-VbusεVSC=VSCref-VSCεibatt=ibatref-ibattεiSC=(iSCref-ih)-iSC 44

where εVbus, εSC are the DC-bus and the supercapacitor voltage errors, respectively, εibatt and εiSC represent the battery and the supercapacitor current errors.iSCref and iSC represent the SC's reference and measured currents; ibatref and ibatt are the battery's reference and measured currents, respectively; Vbusref and Vbus denotes the DC bus's reference and measured voltages, respectively; VSCref and VSC are the SC's reference and measured voltages; and ih is the harmonic current.

Relying on the adopted cost function representing the ISE, the SSA calculates the necessary controllers’ parameters kpbus,kibus,kpSC,kisc ,kpsc ,kibat , kpbat.

PIL implementation technique description and performing steps

The PIL co-simulation technique allows the verification and validation of the proposed control algorithms by generating code onto the embedded processor core and running these algorithms in a real environment based on the C2000 launchxl-f28379d DSP board. During PIL co-simulation, the implemented control algorithm is linked to a computer on which the physical system model is carried out. Subsequently, it is possible to evaluate the performance of the system in order to assess and improve some essential factors such as storage capacity, code size, and execution of the algorithm according to the required time. As indicated in Fig. 7, during the prototyping of the PIL, based on a fixed simulation time, the power part of the power system is simulated in the Matlab/Simulink platform. At each step, the C2000 launchxl-f28379d DSP board receives the signals from the computer, implements control algorithms, and sends the control commands back to the computer to control the power system. At this point, a PIL co-simulation cycle is performed. The data exchange between the computer and the DSP board is synchronized using the serial communication of the DSP board. To perform the PIL, the following steps are needed to be carried out:

  • Connecting the C2000 launchxl-f28379d DSP board to the computer,

  • Tuning several settings and configuration parameters from the select hardware implementation tab found on Matlab/Simulink,

  • Selecting the appropriate hardware port using the defined DSP board under the Hardware implementation,

  • Selecting target hardware resources and selecting the correct device name of the adopted DSP board again,

  • Choosing the external mode to set up the serial communication.

Figure 7.

Figure 7

PIL co-simulation strategy: (a) PIL scheme, (b) PIL platform.

After that, a configuration of the PIL procedure should be performed based on multiple line codes in the command window of the Matlab software as follows:

  • Calling of the system model,

  • Setting the com port number,

  • Defining the board rates, which represent how fast the computer and the DSP board will communicate,

  • Enabling the serial communication for the PIL co-simulation,

  • Generating the PIL model that will be used for the PIL procedure.

A trial implementation in a real-time interface (RTI) utilizing a DSpace card can be conducted to enhance the proposed energy management in the electric vehicle (EV) system. This experimental evaluation aims to assess the performance of the enhanced energy management system.

The experimental implementation in a real-time interface (RTI) using a Dspace card for the proposed energy management optimization in an electric car system is a promising avenue for advancing research in sustainable transportation. By leveraging the computational capabilities of a Dspace card within the vehicle's infrastructure, the energy management system can dynamically optimize power distribution among various components, such as the battery, motor, and auxiliary systems, in real-time.

Results and discussion

Simulation part results

In this section, MATLAB-Simulink is utilized to construct the HPS model and validate the suggested EMS. The HPS is simulated employing the urban drive cycle ECE-15, where the HPS and SSA parameters are summarized in Table 1,2, respectively.

Table 1.

Comparative analysis of EMS47.

EM strategy Advantages Limitations Refs.

Deterministic

rule-based

Simple, reliable, and robust, low computation complexity, easy to implement

Not adaptive and poor parametric

calibration

48

Frequency

separation

Simple and easy implementation Not robust, filter design is difficult 49

Fuzzy logic

Control

Robust and good with model uncertainties and state variations, real-time implementable

Dependent on membership functions,

optimal control is not guaranteed

50
Dynamic programming Global optimal solution is found, optimal control, easy to solve nonlinear optimization problems

Not real-time implementable requires

heavy computational burden

51
Pontryagin's principle Easy to adapt and simple to implement, no additional controllers are required The computation burden is heavy 52,53

Instantaneous

optimization

The optimal value is found at each instant Not guaranteed to be optimal, 54,55

Model

predictive

control

Has potential for real-time implementations; Easy to handle constraints directly in the design procedure

Model accuracy may be compromised by using a linearized model

May need large memory for heavy

computations

30
Reinforcement Learning (RL) RL can adapt to unknown environments; DL handles complex nonlinear relationships RL requires significant exploration time. DL might lack explainability and require extensive data 56
Neural network It is more robust to new information, real time implementable

Large amount of training data is

required; stability is not guaranteed

57

Table 2.

HPS parameters.

Parameters Value
rbatt 0.1
rsc 0.1
Lbat mH 2
Lsc mH 2
Vbusref V 500
VSCref V 200
Vbatref V 100
cSC F 80
cbat Ah 340
cbus µF 2000

Notwithstanding the change in the driving cycle, the EV speed response is shown in Fig. 8.a, showing a good follow-up. The torque curve in Fig. 8.b, shows that the motor creates max torque when the vehicle's velocity attains the reference path. When it reaches a steady state, the motor provides lower torque, only enough to compensate for total load torque.

Figure 8.

Figure 8

EV traction side simulation results: (a) EV linear speed, (b) EV load torque (TL) and SynRM electromagnetic torque (Te).

The suggested energy management technique can stabilize the DC-bus voltage immediately, as depicted in Fig. 9, despite the significant load power variations. Compared to the classical differential flatness and the PSO differential flatness, the proposed EMS based on the SSA differential flatness reduces DC-bus voltage ripples and overshoots. Indeed, for a maximum load step of 21 kW, the DC-bus voltage overshoot is minimized by 15V (3.2%) and 3V (0.6%) compared to the classical differential flatness and PSO differential flatness.

Figure 9.

Figure 9

DC-bus voltage.

The battery provides most of the load power to the motor during the acceleration phases, which causes the battery SOC to decrease. It receives energy during deceleration phases when the motor torque is negative, thus increasing the SOC battery, as shown in Fig. 10.

Figure 10.

Figure 10

Battery SoC (%).

From Fig. 11, which depicts the battery current, the proposed EMS can improve the power quality by reducing the current ripple, which is the main cause of battery aging, thus enhancing the battery life cycle.

Figure 11.

Figure 11

Battery Current.

Table 3 provides the comparison study results between the proposed EMS based on optimal adaptive and classical differential flatness strategies. In this table, the battery current ripple differences ΔI1 = ΔIC_FLAT–ΔISSA_FLAT and ΔI2 = ΔIPSO_FLAT–ΔISSA_FLAT are evaluated, where ΔIC_FLAT and ΔISSA_FLAT, ΔIPSO_FLAT are the battery current ripple at the periods (Pn) for classical FLATand SSA_FLAT, PSO_FLAT, respectively. The battery current ripple is minimized by 15.5A for a maximum load step of 21kW.

Table 3.

Optimizer parameters.

gains kpbus kibus kpSC kisc kpsc kibat kpbat
Lower bound (× 10) 100^2 418.879 0.01 8.7730 × 104 8.3576 9.7478 × 103 27.8253
Upper bound (× 0.5) 100^2 418.879 0.01 8.7730 × 104 8.3576 9.7478 × 103 27.8253
Search Agents number = 30 Maximum number of iteration = 150

Figure 12, shows that the SSA differential flatness minimizes the battery current THD to 10.49% instead of 77.39% for the classical differential flatness strategy and 34.52 for the PSO differential flatness strategy. This finding suits the purpose of the proposed EMS, which is the reduction of battery current harmonics leading to battery lifecycle enhancement.

Figure 12.

Figure 12

Harmonics spectrum of battery current: (a) for SSA differential flatness strategy; (b) for PSO differential flatness strategy; (c) for classical differential flatness strategy.

As shown in Fig. 13, the battery supplies the motor power and absorbs it during braking periods, while the SC works to assist the battery during transient periods (acceleration and deceleration phases), which accords with the management strategy.

Figure 13.

Figure 13

Load, battery, and SC power curves

Figure 14, shows that the suggested EMS algorithm exhibits quicker supercapacitor voltage dynamics with fewer ripples than the classical differential flatness technique. The quick response of the proposed management system leads to enhancing the stability of the SC voltage.

Figure 14.

Figure 14

Supercapacitor voltage.

Co-simulation results

To approve and evaluate the performance of the suggested EMS, the system was modeled using embedded Matlab functions and co-simulated using the C2000 launchxl-f28379d DSP board through the processor-in-the-loop (PIL). The co-simulation is performed utilizing a reduced-time version of the ECE-15 urban drive cycle depicted in Fig. 15, based on the parameters listed in Table 4, Tables A1 and A4.

Figure 15.

Figure 15

Reduced time version of the ECE-15 urban drive cycle

Table 4.

Comparison based on battery current ripple between classical and proposed differential flatness.

Time (Pn) (s) P1 = [0,11] P2 = [28,49] P3 = [61,85] P4 = [143,155]
ΔIC_FLAT (A) 20 15 18 20
ΔIPSO_FLAT (A) 10 6 8.7 15
ΔISSA _FLAT (A) 3 2.8 2.5 2.85
ΔI1 17 12.2 15.5 17.15
ΔI2 10 9 9.3 5

The proposed EMS stabilizes the bus voltage shown in Fig. 16, against load variations. Compared to classical differential FLAT, using the SSA differential flatness, the maximum overshoot voltage is 4 V instead of 10 for the PSO differential flatness and 15 V for the classical FLAT strategy at the maximum power demanded by the electric vehicle (about 21 kW). For the classical FLAT strategy, the SSA differential flatness minimizes the voltage ripple at (ΔV = 0.5 V) instead of (ΔV = 4 V).

Figure 16.

Figure 16

DC-bus voltage.

From Fig. 17, representing the current of the battery, the ripple is minimized by the SSA differential flatness to (ΔI = 3 A) instead of (ΔI = 12 A) for PSO differential flatness and (ΔI = 20 A) for the classical differential flatness strategy at the maximum power demanded by the electric vehicle (about 21 kW).

Figure 17.

Figure 17

Battery Current

As illustrated in Fig. 18, the battery provides the average power demanded by the traction system and receives energy during the braking phases. The supercapacitor assists the battery during transient periods (acceleration and deceleration phases), which agrees with the adopted energy management strategy. These results confirm the efficiency of the suggested EMS in managing both energy storage systems.

Figure 18.

Figure 18

Load, battery, and supercapacitor power waveforms

Compared to the PSO and classical differential flatness strategy, the proposed EMS algorithm shows faster supercapacitor voltage dynamics with fewer ripples, as depicted in Fig. 19, During the acceleration and deceleration phases, the SC provides the electric vehicle power until the power provided by the battery reaches its reference, which improves the DC-bus voltage stability.

Figure 19.

Figure 19

Supercapacitor voltage.

The suggested technique adjusts its control parameters in accordance with the measured cost function, resulting in enhanced system performance for battery current harmonics, DC-bus voltage ripples, and voltage overshoots.

Conclusion and future works

This work proposed a new optimized energy management strategy for a battery/supercapacitor-based hybrid power system dedicated to an electric vehicle. Based on the optimal difference flatness, the proposed management technique seeks to manage both sources’ power well depending on the load demand. The main goal of this energy management is to optimize the power quality by reducing the current harmonics while satisfying the SynRM motor power demand, which positively impacts the battery lifecycle. Compared to the classical differential flatness strategy, the proposed optimal adaptive differential flatness strategy can protect the battery against peak current during the acceleration and deceleration phases and significantly reduce the battery current harmonics and DC-bus voltage ripples (Δv = 5 V), as well as the voltage overshoots 15 V (3.2%) for a load power of 21 kW. In addition, the online updating approach also enhances the power system behavior under unknown load changes, improving its robustness and efficiency. The obtained co-simulation results using the C2000 launchxl-f28379d DSP board confirm the effectiveness of the suggested energy management strategy.

The proposed EMS holds the potential for broader applicability across various power systems, including those reliant on fuel-cell technology within hybrid electric vehicles. Our ongoing research involves exploring alternative objective functions within the proposed EMS framework and investigating the efficacy of diverse optimization algorithms. These aspects will be further elucidated in our forthcoming publications.

Supplementary Information

Author contributions

Conceptualization, H.E.G., S.B., and A.H.; methodology, A.D., and A.H.; software, H.E.G., S.B., and A.D.; validation, S.B., and A.H.; formal analysis, M.O., and N.B.; investigation, H.E.G., S.B., A.H., and A.D.; resources, M.O., and N.B.; data curation, M.O., and N.B.; writing—original draft preparation, H.E.G., and S.B., writing—review and editing, A.H., A.D., and N.B.; visualization, M.O., and N.B.; supervision, A.H; project administration, M.O., and N.B.; funding acquisition, M.O., and N.B. All authors have read and agreed to the published version of the manuscript.

Funding

The research was carried out with partial support from Subprogramme 1.1., Institutional performance-Projects to finance excellence in RDI, Contract No. 19PFE/30.12.2021.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Contributor Information

Houssam Eddine Ghadbane, Email: ghadbane.houssameddine@univ-guelma.dz.

Said Barkat, Email: said.barkat@univ-msila.dz.

Supplementary Information

The online version contains supplementary material available at 10.1038/s41598-024-53396-3.

References

  • 1.Yao, Z., Wang, Y., Liu, B., Zhao, B. & Jiang, Y. Fuel consumption and transportation emissions evaluation of mixed traffic flow with connected automated vehicles and human-driven vehicles on expressway. Energy230, 120766 (2021). [Google Scholar]
  • 2.Heinrichs, H., Jochem, P. & Fichtner, W. Including road transport in the EU ETS (European Emissions Trading System): A model-based analysis of the German electricity and transport sector. Energy69, 708–720 (2014). [Google Scholar]
  • 3.Greenhouse gas emissions from transport in Europe—European Environment Agency. https://www.eea.europa.eu/data-and-maps/indicators/transport-emissions-of-greenhouse-gases/transport-emissions-of-greenhouse-gases-12.
  • 4.Average CO2 emissions from new cars and vans registered in Europe increased in 2018, requiring significant emission reductions to meet the 2020 targets. https://climate.ec.europa.eu/news-your-voice/news/average-co2-emissions-new-cars-and-vans-registered-europe-increased-2018-requiring-significant-2020-06-03_en.
  • 5.EU proposes effective ban for new fossil-fuel cars from 2035 - Times of India. https://timesofindia.indiatimes.com/auto/news/eu-proposes-effective-ban-for-new-fossil-fuel-cars-from-2035/articleshow/84433196.cms.
  • 6.Volvo says it will be 'fully electric' by 2030, move car sales online. https://www.cnbc.com/2021/03/02/volvo-says-it-will-be-fully-electric-by-2030-move-car-sales-online.html.
  • 7.CES 2021: GM says auto sector at 'inflection point' toward zero-emission future | S&P Global Market Intelligence. https://www.spglobal.com/marketintelligence/en/news-insights/latest-news-headlines/ces-2021-gm-says-auto-sector-at-inflection-point-toward-zero-emission-future-62081278.
  • 8.How Volkswagen's Sins Fueled Its Redemption - The New York Times. https://www.nytimes.com/2021/03/19/business/volkswagen-electric-cars-share-price.html.
  • 9.Araria, R., Negadi, K., Boudiaf, M. & Marignetti, F. Nonlinear control of DC–DC converters for battery power management in electric vehicle application 82–88. 10.15199/48.2020.03.20. (2020).
  • 10.Soares, R., Bessman, A., Wallmark, O., Lindbergh, G. & Svens, P. Measurements and analysis of battery harmonic currents in a commercial hybrid vehicle. In 2017 IEEE Transportation Electrification Conference Expo, ITEC 2017 45–50. 10.1109/ITEC.2017.7993245. (2017).
  • 11.Brand, M. J., Hofmann, M. H., Schuster, S. S., Keil, P. & Jossen, A. The influence of current ripples on the lifetime of lithium-ion batteries. IEEE Trans. Veh. Technol.67, 10438–10445 (2018). [Google Scholar]
  • 12.Bessman, A., Soares, R., Wallmark, O., Svens, P. & Lindbergh, G. Aging effects of AC harmonics on lithium-ion cells. J. Energy Storage21, 741–749 (2019). [Google Scholar]
  • 13.Uddin, K., Moore, A. D., Barai, A. & Marco, J. The effects of high frequency current ripple on electric vehicle battery performance. Appl. Energy178, 142–154 (2016). [Google Scholar]
  • 14.Juang, L. W. et al. Investigation of the influence of superimposed AC current on lithium-ion battery aging using statistical design of experiments. J. Energy Storage11, 93–103 (2017). [Google Scholar]
  • 15.Uno, M. & Tanaka, K. Influence of high-frequency charge-discharge cycling induced by cell voltage equalizers on the life performance of lithium-ion cells. IEEE Trans. Veh. Technol.60, 1505–1515 (2011). [Google Scholar]
  • 16.Lü, X. et al. Energy management of hybrid electric vehicles: A review of energy optimization of fuel cell hybrid power system based on genetic algorithm. Energy Convers. Manag.205, 112474 (2020). [Google Scholar]
  • 17.Baba, M. A., Labbadi, M., Cherkaoui, M. & Maaroufi, M. Fuel cell electric vehicles: A review of current power electronic converters topologies and technical challenges. In IOP Conference Series Earth Environmental Science785, 1–29 (2021).
  • 18.Eddine, G. H., Said, B., Houari, A., Dieroui, A. & Mesbahi, T. Integral sliding mode control of synchronous reluctance machine based electric vehicle powered by battery/supercapacitor hybrid source. In 2022 19th International Multi-Conference Systems Signals Devices 2133–2138. 10.1109/SSD54932.2022.9955985. (2022).
  • 19.Ansari, M. M. A., Cronje, W. A. & Meyer, A. Evaluation of a reluctance synchronous motor: For use in an electric mine shuttle vehicle (EMSV). In 2012 IEEE International Electric Vehicle Conference IEVC 2012. 10.1109/IEVC.2012.6183195. (2012).
  • 20.Taghavi, S. & Pillay, P. A sizing methodology of the synchronous reluctance motor for traction applications. IEEE J. Emerg. Sel. Top. Power Electron.2, 329–340 (2014). [Google Scholar]
  • 21.Kumar, G. V., Chuang, C. H., Lu, M. Z. & Liaw, C. M. Development of an electric vehicle synchronous reluctance motor drive. IEEE Trans. Veh. Technol.69, 5012–5024 (2020). [Google Scholar]
  • 22.Herrera, D. B., Galvan, E. & Carrasco, J. M. Synchronous reluctance motor design based EV powertrain with inverter integrated with redundant topology. In IECON 2015—41st Annual Conference IEEE Industrial Electronics Society 3851–3856. 10.1109/IECON.2015.7392700. (2015).
  • 23.Kim, Y. H. & Lee, J. H. Optimum design of ALA-SynRM for direct drive electric valve actuator. IEEE Trans. Magn.53, 1–4 (2017). [Google Scholar]
  • 24.Peng, H., Li, J., Löwenstein, L. & Hameyer, K. A scalable, causal, adaptive energy management strategy based on optimal control theory for a fuel cell hybrid railway vehicle. Appl. Energy267, 114987 (2020). [Google Scholar]
  • 25.Rimpas, D. et al. Materials today: Proceedings energy management and storage systems on electric vehicles: A comprehensive review. Mater. Today Proc.61, 813–819 (2022). [Google Scholar]
  • 26.Bauer, S., Suchaneck, A. & Puente León, F. Thermal and energy battery management optimization in electric vehicles using Pontryagin’s maximum principle. J. Power Sour.246, 808–818 (2014). [Google Scholar]
  • 27.Song, K., Wang, X., Li, F., Sorrentino, M. & Zheng, B. Pontryagin’s minimum principle-based real-time energy management strategy for fuel cell hybrid electric vehicle considering both fuel economy and power source durability. Energy205, 118064 (2020). [Google Scholar]
  • 28.Tona, T. L. F. V. P. Stochastic dynamic programming based energy management of HEV’s : An experimental validation. In IFAC Proceedings Volumes Vol. 47 (IFAC, 2014).
  • 29.Zhang, S. & Xiong, R. Adaptive energy management of a plug-in hybrid electric vehicle based on driving pattern recognition and dynamic programming. Appl. Energy155, 68–78 (2015). [Google Scholar]
  • 30.Lü, X. et al. Hybrid electric vehicles: A review of energy management strategies based on model predictive control. J. Energy Storage56, 106112 (2022). [Google Scholar]
  • 31.Lei, Z. et al. An adaptive equivalent consumption minimization strategy for plug-in hybrid electric vehicles based on traf fi c information. Energy190, 116409 (2020). [Google Scholar]
  • 32.Dhifli, M., Lashab, A., Guerrero, J. M. & Al-turki, Y. A. An efficient external energy maximization-based energy management strategy for a battery/supercapacitor of a micro grid system enhanced intelligent energy management system for a renewable energy-based AC microgrid. Energies10.3390/en13123268 (2020). 10.3390/en13123268 [DOI] [Google Scholar]
  • 33.Ye, Y., Zhang, J., Pilla, S., Rao, A. M. & Xu, B. Application of a new type of lithium-sulfur battery and reinforcement learning in plug-in hybrid electric vehicle energy management. J. Energy Storage59, 106546 (2023). [Google Scholar]
  • 34.Li, W. et al. Deep reinforcement learning-based energy management of hybrid battery systems in electric vehicles. J. Energy Storage36, 102355 (2021). [Google Scholar]
  • 35.Wu, C. et al. The application of machine learning based energy management strategy in multi-mode plug-in hybrid electric vehicle, part I: Twin delayed deep deterministic policy gradient algorithm design for hybrid mode. Energy262, 125084 (2023). [Google Scholar]
  • 36.Qi, C., Song, C., Xiao, F. & Song, S. Generalization ability of hybrid electric vehicle energy management strategy based on reinforcement learning method. Energy250, 123826 (2022). [Google Scholar]
  • 37.Roche, M., Shabbir, W. & Evangelou, S. A. Voltage control for enhanced power electronic efficiency in series hybrid electric vehicles. IEEE Trans. Veh. Technol.66, 3645–3658 (2017). [Google Scholar]
  • 38.Ferahtia, S., Djerioui, A., Zeghlache, S. & Houari, A. A hybrid power system based on fuel cell, photovoltaic source and supercapacitor. SN Appl. Sci.2, 1–11 (2020). [Google Scholar]
  • 39.Yodwong, B., Thounthong, P., Guilbert, D. & Bizon, N. Differential flatness-based cascade energy/current control of battery/supercapacitor hybrid source for modern e-vehicle applications. Mathematics8, 704 (2020). [Google Scholar]
  • 40.Mirjalili, S. et al. Salp Swarm Algorithm: A bio-inspired optimizer for engineering design problems. Adv. Eng. Softw.114, 163–191 (2017). [Google Scholar]
  • 41.Ferahtia, S. et al. Optimal adaptive gain LQR-based energy management strategy for battery–supercapacitor hybrid power system. Energies14, 1660 (2021). [Google Scholar]
  • 42.Babu, T. S. et al. A comprehensive review of hybrid energy storage systems: Converter topologies, control strategies and future prospects. IEEE Access8, 148702–148721 (2020). [Google Scholar]
  • 43.Thounthong, P. et al. Performance investigation of high-energy high-power densities storage devices by li-ion battery and supercapacitor for fuel cell/photovoltaic hybrid power plant for autonomous system applications. In IEEE Industry Applications Society 51st Annual Meeting IAS 2015, Conference Record. 10.1109/IAS.2015.7356844 (2015).
  • 44.Thounthong, P., Tricoli, P. & Davat, B. Performance investigation of linear and nonlinear controls for a fuel cell/supercapacitor hybrid power plant. Int. J. Electr. Power Energy Syst.54, 454–464 (2014). [Google Scholar]
  • 45.Mukherjee, N. & Strickland, D. Control of cascaded DC–DC converter-based hybrid battery energy storage systems-part I: Stability issue. IEEE Trans. Ind. Electron.63, 2340–2349 (2016). [Google Scholar]
  • 46.Thounthong, P. et al. Nonlinear differential flatness-based speed/torque control with state-observers of permanent magnet synchronous motor drives. IEEE Trans. Ind. Appl.54, 2874–2884 (2018). [Google Scholar]
  • 47.Sankarkumar, R. S. & Natarajan, R. Energy management techniques and topologies suitable for hybrid energy storage system powered electric vehicles: an overview. Int. Trans. Electr. Energy Syst.31, 1–30 (2021). [Google Scholar]
  • 48.Zhang, Q., Deng, W., Zhang, S. & Wu, J. A rule based energy management system of experimental battery/supercapacitor hybrid energy storage system for electric vehicles. J. Control Sci. Eng.2016, 18–20 (2016). [Google Scholar]
  • 49.Xun, Q., Roda, V., Liu, Y., Huang, X. & Costa-Castelló, R. An adaptive power split strategy with a load disturbance compensator for fuel cell/supercapacitor powertrains. J. Energy Storage44, 103341 (2021). [Google Scholar]
  • 50.Feng, N., Ma, T. & Chen, C. Fuzzy energy management strategy for hybrid electric vehicles on battery state-of-charge estimation by particle filter. SN Appl. Sci.4, 256 (2022). [Google Scholar]
  • 51.Song, Z., Hofmann, H., Li, J., Han, X. & Ouyang, M. Optimization for a hybrid energy storage system in electric vehicles using dynamic programing approach. Appl. Energy139, 151–162 (2015). [Google Scholar]
  • 52.Yi, F. et al. Energy management strategy for hybrid energy storage electric vehicles based on Pontryagin’s minimum principle considering battery degradation. Sustain14, 1214 (2022). [Google Scholar]
  • 53.Fu, J., Fu, Z. & Song, S. Energy management strategy integrating self-adaptive adjustment and Pontryagin’s minimum principle-based optimization for fuel-cell hybrid electric vehicle. Optim. Control Appl. Methods43, 1059–1075 (2022). [Google Scholar]
  • 54.Wieczorek, M. & Lewandowski, M. A mathematical representation of an energy management strategy for hybrid energy storage system in electric vehicle and real time optimization using a genetic algorithm. Appl. Energy192, 222–233 (2017). [Google Scholar]
  • 55.Hussaian Basha, C. H. et al. Design of GWO based fuzzy MPPT controller for fuel cell fed EV application with high voltage gain DC–DC converter. Mater. Today Proc.92, 66–72 (2023). [Google Scholar]
  • 56.Xiong, R., Cao, J. & Yu, Q. Reinforcement learning-based real-time power management for hybrid energy storage system in the plug-in hybrid electric vehicle. Appl. Energy211, 538–548 (2018). [Google Scholar]
  • 57.Automatisés, S. et al. Artificial neural networks based power management for a battery/supercapacitor and integrated photovoltaic hybrid storage system for electric vehicles. J. Eur. Syst. Autom.56, 139–151 (2023). [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES