Next Article in Journal
Quantitative Assessment Method for Industrial Demand Response Potential Integrating STL Decomposition and Load Step Characteristics
Previous Article in Journal
Stochastic Demand-Side Management for Residential Off-Grid PV Systems Considering Battery, Fuel Cell, and PEM Electrolyzer Degradation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Optimal Integral Fast Terminal Synergetic Control Scheme for a Grid-to-Vehicle and Vehicle-to-Grid Battery Electric Vehicle Charger Based on the Black-Winged Kite Algorithm

Department of Automatic, Faculty of Electrical Engineering, University of Sciences and Technology Houari Boumediene, El Alia-Bab Ezzouar, Algiers 16111, Algeria
*
Author to whom correspondence should be addressed.
Energies 2025, 18(13), 3397; https://doi.org/10.3390/en18133397 (registering DOI)
Submission received: 23 May 2025 / Revised: 23 June 2025 / Accepted: 25 June 2025 / Published: 27 June 2025
(This article belongs to the Section D: Energy Storage and Application)

Abstract

The utilization of electric vehicles (EVs) has grown significantly and continuously in recent years, encouraging the creation of new implementation opportunities. The battery electric vehicle (BEV) charging system can be effectively used during peak load periods, for voltage regulation, and for the improvement of power system stability within the smart grid. It provides an efficient bidirectional interface for charging the battery from the grid and discharging the battery into the grid. These two operation modes are referred to as grid-to-vehicle (G2V) and vehicle-to-grid (V2G), respectively. The management of power flow in both directions is highly complex and sensitive, which requires employing a robust control scheme. In this paper, an Integral Fast Terminal Synergetic Control Scheme (IFTSC) is designed to control the BEV charger system through accurately tracking the required current and voltage in both G2V and V2G system modes. Moreover, the Black-Winged Kite Algorithm is introduced to select the optimal gains of the proposed IFTS control scheme. The system stability is checked using the Lyapunov stability method. Comprehensive simulations using MATLAB/Simulink are conducted to assess the safety and efficacy of the suggested optimal IFTSC in comparison with IFTSC, optimal integral synergetic, and conventional PID controllers. Furthermore, processor-in-the-loop (PIL) co-simulation is carried out for the studied system using the C2000 launchxl-f28379d digital signal processing (DSP) board to confirm the practicability and effectiveness of the proposed OIFTS. The analysis of the obtained quantitative comparison proves that the proposed optimal IFTSC provides higher control performance under several critical testing scenarios.

1. Introduction

Battery electric vehicles (BEVs) have increasingly proven themselves as a practical and sustainable alternative to conventional vehicles powered by internal combustion engines (ICEs). Due to their reduced energy consumption and elimination of local emissions, BEVs play a significant role in tackling environmental challenges and lowering overall energy demands [1,2]. On the other hand, we recognize that their value extends beyond transportation. These vehicles have substantial battery storage that can be repurposed as decentralized energy resources within the grid. The core of this concept is the ability to establish a suitable power converter topology with robust control between the electric grid and the BEV. Through vehicle-to-grid (V2G) technology, energy exchange becomes bi-directional, where BEVs can not only recharge via the grid, known as G2V, but also discharge power back to it when needed. This capability supports a range of grid services such as peak demand reduction, frequency stabilization, and integration of intermittent renewable sources [3,4,5]. This technology has recently been introduced as an effective solution to balance supply and demand in the green smart grid [5].
Nonetheless, deploying G2V and V2G in practical settings is far from straightforward. The system faces numerous uncertainties, including fluctuating energy demands, inconsistent renewable energy production, non-flexible consumer loads, and the dynamic nature of EV availability [6,7,8].
As illustrated in Figure 1, a typical BEV charger consists of two main power conversion stages: an AC–DC converter with power factor correction (PFC) [4], followed by a DC-DC converter stage [9]. Standard chargers are designed for unidirectional power flow. Enabling V2G operation requires a bidirectional converter architecture to support efficient and reliable two-way energy exchange.
Including V2G-enabled BEVs in the new smart grid presents significant challenges. Electricity systems are evolving into distributed, data-driven networks that must accommodate high penetration of intermittent renewable generation [10,11].
Robust control and communication frameworks are essential for managing bidirectional power flows between distributed energy resources (DERs) and the grid to ensure overall stability and reliability [12,13].
Several unknown factors—such as unpredictable EV departure times at charging stations, varying state-of-charge levels upon arrival, and fluctuating renewable output—complicate scheduling and decision-making for both G2V and V2G operations. Consequently, advanced optimization and robust control strategies are necessary [14,15].
In recent years, a multitude of control strategies have been suggested for commanding bidirectional EV chargers and enhancing their performance. One of the most widely used approaches remains the Proportional–Integral (PI) controller, often favored for its simplicity and ease of implementation. However, as Muthuramalingam et al. [16] proved, PI controllers perform poorly under dynamic conditions due to their limited adaptability and delayed response to sudden load or grid changes. These drawbacks render PI controllers insufficient for critical charging/discharging scenarios [17]. Researchers have explored artificial intelligence (AI) control strategies, such as fuzzy logic control and neural networks [18,19,20]. For example, Premalatha et al. [15] applied an Adaptive Neuro-Fuzzy Inference System (ANFIS) or an isolated bi-directional converter for G2V and V2G charging with integration of the renewable energy source. In [19], a combination of probabilistic PV forecasting and deep reinforcement learning is designed to determine the charging and discharging schedules of batteries within the VPP. However, the experimental implementation of these controllers is complex, requiring extensive training data and computational resources that are not always available under all conditions. Additionally, their effectiveness is heavily reliant on the accuracy of the system model and the quality of the training. Model Predictive Control (MPC) has also gained attention for its ability to predict system behaviour and handle multiple constraints. As presented by He et al., MPC performs well in regulating charger output within operational limits [21,22]. Nonetheless, they demand significant computational power and precise system modeling. Any discrepancies in the model can lead to degraded performance or even instability. Several researchers have investigated Sliding Mode Control (SMC) in the context of EV fast chargers due to its robustness to parameter variations and external disturbances [23,24]. Furthermore, the authors in [25] designed double integral sliding mode control (DSMC) and a variable phase-shift algorithm for a bidirectional EV (BEV) charger. Nevertheless, a significant drawback of SMC is the chattering phenomenon, which produces high-frequency oscillations that can cause wear in power electronic components and reduce system efficiency. To reduce chattering phenomena, super-twisting sliding mode control (ST-SMC) has been proposed. According to Soghomonyan [26] and I. Ahmed [27], ST-SMC reduces chattering and maintains robustness in ultra-fast charging environments. However, the tuning of the controller parameters using the trial and error method is significantly more complex than traditional SMC, requiring detailed knowledge of system bounds and careful parameter tuning to avoid instability [28,29].
To improve the effectiveness of these robust control schemes, a variety of optimization strategies have been utilized in the literature to optimize the parameters of the different control schemes. The authors in [30] design a hybrid interval Type-2 fuzzy PID + I logic controller for a multi-degree-of-freedom oil well drill-string system and optimize its gains using a practical swarm optimization (PSO) algorithm. In addition, Jain et al. employed the Genetic Algorithm (GA) to optimize the PID gains for the load frequency control (LFC) problem of a multi-area power system in a deregulated environment [31]. The Grey Wolf Optimization (GWO) algorithm is proposed in [32] to optimize condition-based super-twisting sliding mode control gains.
On the other hand, the Black-Winged Kite Algorithm (BKA) was recently proposed in [33] and compared with PSO, GWO, and several metaheuristic algorithms. Comprehensive convergence analysis and statistical comparisons confirm the algorithm’s efficacy. Furthermore, its utilization in resolving optimization problems related to constraints demonstrates a considerable competitive advantage over current optimization methodologies.
In this paper, an integral fast terminal synergetic controller is designed to satisfy the main objectives for a BEV charger in G2V and V2G shifting modes. This strategy eliminates the chattering effect and provides high stability against any fluctuations inserted in this bidirectional charger. Moreover, the gains of the proposed IFTSC are optimized using the Black-Winged Kite Algorithm (BKA). OIFTSC has been recommended in this work to achieve the suggested control objectives. The points listed below are the novel contributions of this work:
  • Design of an Integral Fast Terminal Synergetic Controller for a BEV charger.
  • The IFTSC gains are optimally selected via a Black-Winged Kite Algorithm (BKA).
  • The Optimized Integral Fast Terminal Synergetic Controller (OIFTSC) is compared with several control strategies, such as Integral Fast Terminal Synergetic Control, Optimal Integral Synergetic control (OISC), Integral Synergetic Control (ISC), and PID.
This article is organized as follows: After an introduction, the overall system configuration is presented in Section 2. Section 3 details the design of the proposed control scheme. The stability of the proposed control scheme is demonstrated in Section 4. Then, the BK algorithm used for tuning the coefficients of the controllers is presented in Section 5. The simulation results are shown and analyzed in Section 6. In Section 7, processor-in-the-loop (PIL) co-simulation using the C2000 launchxl-f28379d digital signal processing (DSP) is carried out. Finally, the conclusions are drawn in Section 8.

2. Overall System Configuration

2.1. System Overview

The electrical schematic circuit of the studied bidirectional electric vehicle charger is presented in Figure 2. Mostly, charging can conveniently occur at home, which can help prolong the battery’s lifespan because of the reduced charging current [34,35].
The bidirectional EV charger includes two power conversion stages: a three-phase bidirectional AC-DC power converter and a bidirectional DC-DC power converter [36,37]. The first one is connected to the grid through the inductive filter (Lg, r) and to the DC-bus through a capacitive filter C v . It uses six bidirectional switches S , S 1 ¯ , S 2 , S 2 ¯ , S 3 , S 3 ¯ , each consisting of an IGBT and an antiparallel diode. In the G2V mode, the power converter acts as a controlled rectifier, while in V2G mode, it operates as an inverter. Meanwhile, the EV battery is connected to the DC-bus through a bidirectional DC-DC power converter shown in Figure 2. The latter consists of a half-bridge circuit composed of two bidirectional switches S a , S a ¯ and a single inductor having inductance L h connected to the EV battery input to smooth the input battery current. This configuration enables energy transfer in both directions, operating in buck mode for G2V operation and in boost modes during V2G operation.
The boost mode guarantees controlled and safe battery discharging, while the buck mode facilitates regulated battery charging. The typical EV batteries and EV charging architecture are both thoroughly examined in [38]. The most common batteries in EV applications are assessed, alongside the classification and configurations of EV chargers.

2.2. System Modeling

For the suggested bidirectional BEV charger, it is more efficient to consider the following averaged mathematical model when designing the controller requirements. This model was derived by averaging the instantaneous model over a single period [39], while the instantaneous model of the overall system was developed by applying various electrical principles.

2.2.1. Grid-Connected Model

From the common point (N), after applying different electrical principles such as Kirchhoff’s current and voltage laws, the mathematical model of a grid tied inverter can be expressed by the following differential equations [40]:
d d t i g d i g q = r L g i g d + ω g i g q + 1 L g v g d 1 L g v g d * r L g i g q ω g i g d + 1 L g v g q 1 L g v g q *  
This grid currents state-space equations can also be expressed as
x r = A x r + B u + F d A = r L g ω g ω g r L g ; B = 1 L g 0 0 1 L g ; F = 1 L g 0 0 1 L g ; u = v g d * v g q * ; d = v g d v g q ; x r = i g d i g q
where i g d and i g q are the d-axis and q-axis components of the grid, respectively. v g d and v g q represent the d-axis and q-axis components of the grid voltage. v g d * and v g q * are the control laws. L g is the grid-filter inductance, r is the resistance of the filter inductor, and ω g is the angular frequency of the grid voltage.

2.2.2. DC-Bus Voltage Modeling

Following the application of various electrical principles, including Kirchhoff’s laws for current and voltage, the mathematical model of the DC-bus is developed, and can be represented as [41]
d V d c d t = 1 V d c C v P r e f  
where
P r e f = 3 2 v g d i g d
where V d c is the DC-bus voltage. C v is the DC-bus capacitance. P r e f is the active power reference injected into the grid. v g d and i g d are, respectively, the d-axis components of the grid voltage and the grid current in the d q o frame.

2.2.3. Buck-Boost Converter Modeling

From the equivalent circuit of the DC-DC Buck-Boost converter system presented in Figure 2, the mathematical model in terms of duty cycle ‘ d ’ can be expressed using the averaging method presented in [42] as
d i L d t = V d c L h d + V b L h 1 d   d V b d t = i L C b 1 d V b R C b
where i L is the inductor current, V b is the capacitor voltage and d is the duty cycle. The positive constants R , L h , C b , and Vdc are the battery resistance, inductance, capacitance, and input voltage of the converter.
Energy consumption occurs during the charging of a battery. The effectiveness of a battery reduces with age or insufficient maintenance. The battery’s state of charge (SOC) is defined by [43,44]
S O C t + 1 = S O C t 1 + σ Δ t 24 P b a t η b a t t
where σ is the self-discharge coefficient of the battery; Δ t is the sampling period; η b a t is the efficiency relative to the current in charge and its inverse in discharge;   P b a t is the energy power stocked in the battery.
The following equation determines the state of discharge (SOD):
S O D t = 0 t i t t Q m a x  
where i t is the battery current and Q m a x is its maximum capacity.
The formula for the depth of discharge (DOD) is provided by:
D O D t = 1 S O C t  

3. Design of the Proposed Control Scheme

In G2V mode, the three-phase AC-DC converter operates as a boost rectifier and acts as an inverter in V2G mode. In G2V operation, the battery charging process follows and realizes a two-stage constant current-constant voltage (CC-CV) strategy, whereas, in V2G mode, a single constant current discharging process is implemented with negative current reference. The bidirectional DC-DC converter is responsible for executing the CC-CV charging/discharging profile. To ensure high-performance control, a robust nonlinear control strategy is developed as presented in Figure 3 with the following objectives:
  • Maintaining the unity power factor by keeping the three-phase grid currents and voltages sinusoidal in phase.
  • Regulating the DC-link voltage accurately to its predefined reference value.
  • Providing a safe and reliable process for charging and discharging the battery in both G2V and V2G modes.

3.1. Integral Synergetic Controller

Integral synergetic control (ISC) theory is a nonlinear state-space-based control methodology initially introduced in [45], primarily for specific applications such as DC-DC converters [46,47]. Recently, the authors in [48,49] have employed ISC theory in microgrid applications. ISC theory presents similarities with sliding mode control (SMC), notably in terms of system order reduction and the natural decoupling of system state variables. However, ISC provides several advantages over SMC, including fewer tuning parameters, mitigation of chattering effects, and complete controllability of the reaching phase. The core goal of ISC is to drive the system states into a predefined manifold known as the sliding manifold. This is achieved through the formulation of a macro-variable, which is a mathematical expression constructed based on system modeling and control objectives. This macro-variable typically combines system states or state errors. The system’s dynamic behavior is then governed by the prescribed evolution of this macro-variable toward the desired manifold. The general form of this evolution is defined as
T ψ + ψ = 0   ψ = d ψ d t x      
The macro-variable function is expressed by
ψ e = λ 1 e + λ 2 e d t  
where T is a positive definite variable gain that defines the convergence speed of the macro-variables towards the intersection of manifolds. x is the error between the state variables compared with their reference values. And λ 1 , λ 2   are real constant numbers.
The main goal of the ISC scheme is to regulate the DC-link voltage V d c , the grid current i g d , i g q and the battery current i L following their respective reference values. More details are presented in the following subsection.

3.1.1. DC-Bus Voltage Control Design

In this section, the ISC strategy is applied to regulate the DC-bus voltage to its reference value and generate the grid current   i g d reference.
The error of the state variables in this case is chosen as follows:
e = V * d c V d c
The macro-variable is written as
ψ e = λ 1 V * d c V d c + λ 2 V * d c V d c d t
Applying Equation (9), we get
T λ 1 e + λ 1 + T λ 2 e + λ 2 e d t = 0
By solving Equation (13), the control law i g d Can be found as follows:
i g d = 2    V d c   C v 3 V g d T λ 1 T λ 2 + λ 1 e + λ 2 e d t
Figure 4 shows the block diagram of ISC for DC-bus voltage control.

3.1.2. Grid-Connected Control Design

The ISC technique is used to control the i g d , i g q grid currents by defining the voltage reference values, which are used as inputs in the SVM to generate the control pulses of the three-phase AC/DC converter. In addition, these voltage reference values are calculated based on the grid current mathematical model presented in Equation (3).
In this case, the error of the state variables can be expressed as follows:
e = e d = i g d i g d *    e q = i g q i g q *  
The macro-variable is defined as
ψ e = λ 1 e + λ 2 e d t
where λ 1 and λ 2 , the diagonal matrices with positive values, are defined as
λ 1 = λ 1 p 0 0 λ 1 q
and
λ 2 = λ 2 p 0 0 λ 2 q
Also, we take
e = e d e q
Equation (18) is obtained by substituting Equation (16) in Equation (9),
T λ 1 e + λ 1 + T λ 2 e + λ 2 e d t = 0
By solving Equation (18), the control law v g d * and v g q * can be found as follows:
e = T λ 1 1 T λ 2 + λ 1 e λ 2 e d t
where
u = B 1 T λ 1 1 T λ 2 + λ 1 e + λ 2 e d t + A x r + F d
Figure 5 shows the block diagram of ISC for grid current control.

3.1.3. Bidirectional Buck-Boost Control Design

To control the battery current in both modes, the ISC strategy is applied to track and force the output current into its reference value. Therefore, we take the battery current i L as a state variable that should be controlled and the duty cycle d as the control action.
We choose the error of the state variables as follows:
e = i L * i L
The expression of a macro-variable can be written as
T λ 1 e + λ 1 + T λ 2 e + λ 2 e d t = 0
The duty cycle d can be found by solving Equation (22), as follows:
d = 1 V d c + V b V b + L T λ 1 T λ 2 + λ 1 e + λ 2 e d t
The block diagram of ISC for bidirectional Buck-Boost control is presented in Figure 6.

3.2. Integral Fast Terminal Synergetic Controller

The Integral Fast Terminal Synergetic Control (IFTSC) is an advanced strategy that forces the system states to reach zero within a finite time [50,51] by reducing the reaching phase duration. This approach was enhanced in [52] through the development of a fast terminal SC by introducing an additional error term to the manifold function to guarantee the convergence to a desired manifold, as shown in [52,53]. In this work, the macro-variable used for the integral fast terminal SC is defined as follows:
ψ e = λ 1 e a b + λ 2 e + λ 3 e d t
where
λ 3 = λ 3 p 0 0 λ 3 q
It is a definite constant matrix and the parameters a and b are odd numbers satisfying 0 a b 1 such that this addition of the nonlinear term improves the transient performance of the reaching mode and robustness.
By taking the same procedure as ISC, the control system is decomposed into independent control loops as follows.

3.2.1. DC-Bus Voltage Control Design

The IFTSC strategy is designed to regulate the DC-bus voltage V d c , and provides the grid current i g d .
The selected state variable error that represents the objective of this controller is expressed as follows:
e = V * d c V d c
The macro-variable defined by IFTSC theory is written as
ψ e = λ 1 V * d c V d c a b + λ 2 V * d c V d c + λ 3 V * d c V d c d t
By applying Equation (9), Equation (27) can be represented as
T λ 1 d d t e a b + T λ 2 e + T λ 3 e + λ 1 e a b + λ 2 e + λ 3 e d t = 0
The grid current i g d can be found by solving Equation (28), as follows:
i g d = 2    V d c   C v 3 V g d T λ 2 T λ 1 d d t + λ 1 e a b + T λ 3 + λ 2 e + λ 3 e d t
The block diagram of IFTSC for DC-bus voltage control is illustrated in Figure 7.

3.2.2. Grid-Connected Control Design

The IFTSC approach regulates the i g d , i g q grid currents by establishing voltage reference values that serve as inputs for the SVM, which generate control pulses for the three-phase AC/DC converter. Furthermore, these voltage reference values are generated from the grid current controller.
We choose the error of the state variables as follows:
e = e d = i g d i g d *    e q = i g q i g q *
According to IFTSC theory, the macro-variable is defined as follows:
ψ e = λ 1 e a b + λ 2 e + λ 3 e d t
Applying the function of state variables, we get the following:
T λ 1 d d t e a b + T λ 2 e + T λ 3 e + λ 1 e a b + λ 2 e + λ 3 e d t = 0
The control low v g d * , v g q * can be described by solving Equation (31), as
e = T λ 2 1 T λ 1 d d t + λ 1 e a b T λ 3 + λ 2 e λ 3 e d t
where
u = B 1 T λ 2 1 T λ 1 d d t + λ 1 e a b + T λ 3 + λ 2 e + λ 3 e d t + A x r + F d
Figure 8 displays the block diagram of IFTSC for grid current control.

3.2.3. Bidirectional Buck-Boost Control Design

In this section, the IFTSC strategy is applied to control the battery current in both modes to a reference value. For this reason, the battery current i L is considered as a state variable and the duty cycle d as a control action.
The error of the state variable is defined as follows:
e = i L * i L
The macro-variable can be described by Equation (35)
ψ e = λ 1 i L * i L + λ 2 i L * i L d t
By substituting Equation (35) in Equation (9), Equation (9) can be rewritten as follows:
T λ 1 d d t e a b + T λ 2 e + T λ 3 e + λ 1 e a b + λ 2 e + λ 3 e d t = 0
Equation (36) is solved to obtain the control low d as
d = 1 V d c + V b V b + L T λ 2 T λ 1 d d t + λ 1 e a b + T λ 3 + λ 2 e + λ 3 e d t
The block diagram of IFTSC for bidirectional Buck-Boost control is exhibited in Figure 9.

4. Stability Proof of the Proposed Control Scheme

As a first step, we define the Lyapunov equation as the Euclidean norm of the macro-variable function, which is given as [54,55]
V ψ = 1 2 ψ 2 e = 1 2 ψ e ψ e
where
ψ 2 e 0 .
Considering the macro-variable function defined in the previous sections. The derivative of the Lyapunov equation is written as
V ψ = ψ e ψ e
Therefore, SC technique stability is guaranteed due to the negative derivative of the Lyapunov function.

4.1. Integral Synergetic Control Stability Proof

For the ISC control, we will prove the system stability for each independent control loop.

4.1.1. Stability Analysis of Grid-Connected Control Scheme Based on ISC

To prove the system when ISC for the grid current i g d , i g q controller is applied, Equation (37) is derived in the time dimension, which yields
V ψ = ψ e ψ e = ψ e λ 1 e + λ 2 e
By substituting e from its definition in Equation (19), Equation (41) leads to
V ψ = ψ e λ 1 A x r + B u + F d + λ 2 e
Replacing the low control u of Equation (20) and simplifying the resultant equations gives
V ψ = ψ e T 1 λ 1 e T 1 λ 2 e d t
After mathematical simplification, Equation (43) is written as
V ψ = ψ e T 1 λ 1 e T 1 λ 2 e d t V = T 1 ψ 2 e T 1 0 ψ Z e 0
It can be seen that the value of the time derivative V ψ in Equation (44) is negative all the time. Therefore, the suggested system with the ISC scheme is stable for any suggested values of ψ e .

4.1.2. Stability Analysis of DC-Bus Controller Based on ISC

The system stability in the case of ISC for the DC-bus voltage controller is analyzed by the derivative of the Lyapunov equation as
V ψ = ψ e ψ e = ψ e λ 1 e + λ 2 e
From Equations (13) and (45), Equation (46) can be expressed as
V = ψ e λ 1 1 V d c   C v 3 2 V g d i g d + λ 2 e
To simplify Equation (46), the control low i g d is replaced by its equation as follows:
V = ψ e λ 2 e λ 1 ( T λ 1 ) 1 T λ 2 + λ 1 e + λ 2 e d t
Equation (47) is simplified as follows:
V ψ = ψ e T 1 λ 1 e + λ 2 e d t V = T 1 ψ 2 e T 1 0 ψ Z e 0
It can be observed that the value of the time derivative V ψ in Equation (48) is negative all the time. Consequently, the studied system with the ISC DC-bus voltage controller is stable for any suggested values of ψ e .

4.1.3. Lyapunov-Based Stability Investigation for Bidirectional Buck-Boost with ISC

The derivative of the Lyapunov equation in the case of bidirectional Buck-Boost with the ISC controller is described as
V ψ = ψ e ψ e = ψ e λ 1 e + λ 2 e
By replacing e by its equation, Equation (49) can be expressed as
V = ψ e λ 1 V d c + V b L d V b L + λ 2 e
Then, Equation (50) can be rewritten by substituting the control low d by its equation as
V = ψ e λ 1 1 T λ 1 T λ 2 + λ 1 e + λ 2 e d t + λ 1 e
Equation (51) can be simplified as follows:
V ψ = ψ e T 1 λ 1 e + λ 2 e d t V = T 1 ψ 2 e T 1 0 ψ Z e 0
From Equation (52), the derivative V ψ is always negative. Then, the bidirectional Buck-Boost system with ISC scheme is stable for any suggested values of ψ e .

4.2. Integral Fast Terminal Synergetic Control Stability Proof

To simplify the stability proof, we take each independent control loop separately, where the macro-variable for this section is always given as
ψ e = λ 1 e a b + λ 2 e + λ 3 e d t

4.2.1. Stability Analysis of Grid-Connected Control Scheme Based on IFTSC

The suggested system with grid-connected IFTSC stability is checked by the derivative of the Lyapunov equation as
V ψ = ψ e ψ e = ψ e λ 1 d d t e a b + λ 2 e + λ 3 e
The e is replaced by its expression presented in Equation (32), which leads to
V ψ = ψ e λ 1 d d t e a b + λ 2 A x r + B u + F d + λ 3 e
With substitution of the control law in Equation (33), the Lyapunov function derivation can be expressed as follows:
V ψ = ψ e λ 1 d d t e a b + λ 2 A x r + λ 2 F d + λ 3 e λ 2 B B 1 ( T λ 2 ) 1 T λ 1 d d t e a b            λ 2 B B 1 ( T λ 2 ) 1 λ 1 e a b λ 2 B B 1 ( T λ 2 ) 1 T λ 3 e λ 2 B B 1 ( T λ 2 ) 1 λ 2 e           λ 2 B B 1 ( T λ 2 ) 1 λ 3 e d t λ 2 B B 1 A x r λ 2 B B 1 F
After a few algebraic steps, Equation (56) is rewritten as
V = ψ e T 1 λ 1 e a b + λ 2 e + λ 3 e d t V = T 1 ψ 2 e T 1 0 ψ Z e 0
According to Equation (57), the proposed IFTSC meets the Lyapunov stability criteria. V ψ < 0 , which ensures the system stability for any suggested values of ψ e .

4.2.2. Stability Analysis of DC-Bus Controller Based on IFTSC

To check the stability of the studied system with a DC-bus controller based on IFTSC, the derivatives of the Lyapunov equation yield
V ψ = ψ e ψ e = ψ e λ 1 d d t e a b + λ 2 e + λ 3 e
By using Equation (27), Equation (58) is simplified as follows:
V = ψ e λ 1 d d t e a b + λ 2 1 V d c   C v 3 2 V g d i g d + λ 3 e
The grid current i g d is replaced by its expression in Equation (28) as
V = ψ e λ 1 d d t e a b + λ 3 e λ 2 ( T λ 2 ) 1 T λ 1 d d t + λ 1 e a b + T λ 3 + λ 2 e + λ 3 e d t
The Equation (60) is simplified after a few algebraic steps as
V = ψ e T 1 λ 1 e a b + λ 2 e + λ 3 e d t V = T 1 ψ 2 e T 1 0 ψ Z e 0
Equation (61) proves that V ψ is negative all the time. Then, the system with its suggested control scheme is stable for any suggested values of ψ e .

4.2.3. Lyapunov-Based Stability Investigation for Bidirectional Buck-Boost with IFTSC

In this case, the derivative of the Lyapunov equation yields
V ψ = ψ e ψ e = ψ e λ 1 d d t e a b + λ 2 e + λ 3 e
By substituting the expression of e , Equation (63) can be written as
V = ψ e λ 1 d d t e a b λ 2 V d c + V b L d V c L + λ 3 e
The duty cycle expression d is replaced in Equation (63) as
V = ψ e λ 1 d d t e a b λ 2 1 T λ 2 T λ 1 d d t + λ 1 e a b + T λ 3 + λ 2 e + λ 3 e d t + λ 3 e
Equation (64) is simplified after some algebraic steps as
V = ψ e T 1 λ 1 e a b + λ 2 e + λ 3 e d t V = T 1 ψ 2 e T 1 0 ψ Z e 0
V ψ     is always negative according to Equation (65). Then, the system with its IFTSC control scheme is stable for any suggested values of ψ e .

5. Black-Winged Kite Algorithm (BKA)

5.1. Mathematical Model of BKA

This section presents the mathematical formulation of the BKA algorithm as a straightforward and efficient meta-heuristic optimization technique, which is categorized into two fundamental features: attacking and migration behaviors [33].

5.1.1. Initialization Step

The initial phase of populating the BKA involves generating a set of random solutions. The position of each black-winged kite (BK) can be shown using the following matrix:
B K = B K 1 , 1 B K 1 , 2 B K 1 , d i m B K 21 B K 2 , 2 B K 2 , d i m B K p o p , 1 B K p o p , 2 B K p o p , d i m
where pop and dim denote the quantity of possible solutions and the size of the problem’s dimension, respectively. Each position of BKA is represented as follows:
X i = B K l b + r a n d B K u b B K l b
In the initialization process, we choose the individual with the highest fitness value as the leader X L in the original population. The mathematical representation is as follows:
f b e s t = min f X i
X L = X f i n d f b e s t = = f X i

5.1.2. Attacking Behavior

This behavior encompasses many offensive tactics for exploration and search.
Figure 10a depicts a black-winged kite suspended in the air, with its wings extended and equilibrium preserved. Figure 10a depicts the black-winged kite swiftly approaching the target. Furthermore, Figure 10a illustrates the attack posture of the black-winged kite during its aerial hover, whereas Figure 10b depicts the black-winged kite in a similar hovering state. A mathematical model representing this behavior is expressed in the following equation:
y t + 1 i , j = y t i , j + n 1 + sin ( r ) × y t i , j    f o r    p r y t i , j + n 2 r 1 × y t i , j        e l s e
n = 0.05 × e 2 × t T 2
Figure 10a depicts the attack state of the black-winged kite as it hovers in the air, while Figure 10b shows the condition of the black-winged kite as it hovers in the air.
y t i , j and y t + 1 i , j denote the location of the i t h black-winged kites in the j t h dimension. r is a random number r 0 1 . T , t represent the total number of iterations and the number of iterations that have been completed so far, respectively.

5.1.3. Migration Behavior

We present a theory about avian migration: if the fitness value of the current population is inferior to that of a random population, the leader will relinquish leadership and integrate into the migrating population, signifying an inadequacy in leading the population.
If the fitness value of the present population exceeds that of the random population, it will direct the population towards its objective. This strategy is presented in Figure 11. This technique may dynamically identify exceptional leaders to guarantee a successful migration, as seen in the following equation.
y t + 1 i , j = y t i , j + C 0 , 1 × y t i , j L t j     f o r    F i F r i y t i , j + C 0 , 1 × L t j m × y t i , j    e l s e
m = 2 × sin r + π 2
L t j represents the leading scorer in the j t h dimension of the t t h iteration so far. F i and F r i represent, respectively, the current and random positions obtained.

5.2. BKA in DC-Bus Optimized Design

To improve the control performance of the IFTSC for a G2V and V2G battery electric vehicle charger, the selection of optimal gains of the suggested control is considered in this section. The BKA algorithm is employed with IFTSC to regulate the output voltage V d c to its reference value V d c * with high-performance control. The position variable is chosen as follows:
X = λ 1 , λ 2 , λ 3 , T I F T S C , a b
To minimize
f X = 0 k 1 t V d c * V d c d t + 0 k 2 t i d * d t
where k1 and k2 are the weighting factors. They are chosen by trial and error to provide a good trade-off between minimizing the errors and ensuring that the control signal is not too big. Nevertheless, the challenge of optimally adjusting the controller coefficients may be described as a standard restricted optimization problem with five coefficients ( λ 1 , λ 2 , λ 3 , T I F T S C , a b ). The minimization of f(X) is subject to
  λ 1 m i n λ 1 λ 1 m a x
  λ 2 m i n λ 2 λ 2 m a x
λ 3 m i n λ 3 λ 3 m a x
  T I F T S C m i n T I F T S C T I F T S C m a x
a b m i n a b a b m a x
The functionality of the BK algorithm is summarized in Figure 12. The BKA uses parameter p to regulate various attack behaviors and improve the balance among these concerns. At the same time, variable n will decrease nonlinearly as the number of iterations increases, facilitating a transition in the approach from a global search to a local search, thus expediting the identification of the optimal solution and reducing the risk of converging on local optima, ultimately enhancing the resolution of practical issues.
Diversity is crucial in intelligent optimization algorithms, since it prevents the population from converging on local optima and facilitates a broader search space, hence enhancing the possibility of identifying global optima. Similarly to many advanced optimization approaches, the individuals in the initial population of this article are chosen at random within a specified range, leading to variations in their positions and eigenvalues, thereby imparting a degree of diversity to the population and enhancing the exploration of the solution space. During the algorithm’s iterative phase, the implementation of the Cauchy strategy, which is represented by C(0, 1), and the judicious configuration of parameters enhance the algorithm’s variety, augment its global search capability, and prevent convergence to local optima.

6. Test Types and Simulation Results

In this section, simulation results are presented and discussed for the proposed optimal IFTSC and other control strategies. These simulations are conducted for the G2V/V2G system using MATLAB/Simulink and SimPower System packages (R2016b, MathWorks, Natick, MA, USA). The overall system parameters are detailed in Table 1. The optimal parameters of the proposed controller are listed in Table 2. The studied system was tested under a series of step changes in the battery current reference at t = 0.3s, t = 0.6, and t = 0.9, in order to evaluate the dynamic response and robustness of the proposed control strategies.

6.1. Initial G2V Operation

At t = 0 s, the charging process begins with a battery current reference of 10 A. The OIFTSC controller ensures that the battery current tracks its reference accurately with rapid convergence. Simultaneously, the DC-bus voltage V d c is regulated to its reference value of 200 volts, exhibiting fast transient response with minimal steady-state error, as shown in Figure 13a. Furthermore, the dq grid currents follow their references precisely as illustrated in Figure 13c,d. The measured grid currents are balanced with a sinusoidal form as presented in Figure 13e and Figure 14.

6.2. Transition to V2G

At t = 0.3 s, the battery current reference is abruptly changed from 10 A to −10 A, stimulating a transition to the discharging V2G mode. The proposed OIFTS controller reacts promptly with the battery current and converges smoothly to the set point as seen in Figure 13a. The DC-bus voltage V d c remains closely regulated around its nominal value after a small undershoot. Figure 13c,d show that the dq grid currents track their references perfectly. The grid currents effectively change the angle as shown in Figure 15 and Figure 16a, and remain in the sinusoidal form presented in Figure 13e and Figure 14.
At t = 0.6 s, the battery current reference is increased from −10 A to 15 A. Despite the aggressive step change, the OIFTS controller maintains robust performance: the battery current quickly settles to its new reference, as shown in Figure 13a. The DC-bus voltage continues to follow the 200 volts reference accurately after an overshoot. The dq grid currents are well regulated to their references as depicted in Figure 13c,d. The grid current’s amplitude is increased due to the increase in the amplitude of the battery current reference. Moreover, Figure 13e and Figure 14 show that the grid angle is changed, while preserving sinusoidal waveforms, and remains in phase with the grid voltage as presented in Figure 15 and Figure 16b.
At t = 0.9 s, the battery current reference is suddenly switched from 15 A to −15 A, introducing a high-magnitude undershoot disturbance. As shown in Figure 13a, the measured battery current rapidly converges with negligible steady-state error. This significant change in the battery current reference leads to an undershoot in the DC-bus voltage, V d c , as shown in Figure 13b. The dq-grid currents once again change polarity and track their references with high fidelity, as presented in Figure 13c,d, confirming the bidirectional operating capability of the studied system using the OIFTSC. Figure 15 and Figure 16c demonstrate that the grid currents change their angle and remain in sinusoidal form.
Table 3 demonstrates the total harmonic distortion (THD%) across all steady states of the source current with five different control strategies. The proposed optimal IFTSC reduces the THDi% of the grid current more than the other control schemes. This provides strong evidence of the effectiveness of the proposed control technique and enhances the grid current quality.
To validate the superiority of the proposed control scheme, a comparative analysis is conducted among five controllers: classical PID, Integral Synergetic Control (ISC), Integral Fast Terminal Synergetic Control (IFTS), Optimized ISC, and the proposed Optimized IFTSC. The DC-bus voltage response under three consecutive step variations in the battery current reference at t = 0.3 s, t = 0.6 s, and t = 0.9 s is illustrated in Figure 17.
The PID controller demonstrates inadequate voltage regulation with substantial undershoot, overshoot, and prolonged oscillations following each disturbance. ISC enhances the transient performance but still suffers from slow convergence and moderate deviations. IFTSC further enhances the response, reducing voltage overshoots and obtaining faster settling. Upon performing parameter adjustment, the performance of ISC is greatly improved, resulting in superior stability and disturbance rejection. However, the Optimized IFTSC demonstrates the best dynamic performance among all controllers, holding the DC-bus voltage within a narrow deviation range and promptly converging to the reference value after each transient event.
These results verify that the integration of fast terminal synergetic control with optimal tuning leads to higher voltage regulation and improved overall performance. This supports the efficiency of the proposed Optimized IFTSC for bidirectional charger applications.
For more details, the key figures obtained for the different controllers are presented in Table 4. It shows the high performance of our proposed control strategy under disturbances compared to other methods, which confirms the robustness of the proposed controller.
Despite the presence of parameter changes (80%Lg, 80%Cv, 80%Lh) and grid voltage harmonic disturbances, the proposed control strategy demonstrates strong robustness. As shown in Figure 18, the DC-link voltage remains well regulated, with only minor transient deviations, indicating effective disturbance rejection and voltage stabilization. In Figure 19, the grid voltage and current remain sinusoidal and in-phase, confirming that the controller maintains a unitary power factor, even under grid voltage harmonic perturbations. These results validate the controller’s performance in realistic grid scenarios and its capacity to operate reliably in complex environments.
The proposed OIFTSC controller demonstrates strong harmonic suppression capabilities, maintaining THD well under all tested conditions, as presented in Table 5. This confirms its robustness and effectiveness in both ideal and disturbed operating scenarios.

7. Co-Simulation Results

In this section, an efficient prototyping technique was implemented to execute the proposed control strategy that was previously mentioned in Section 3. More specifically, a processor-in-the-loop (PIL) installation was used to evaluate and validate experimentally our proposed control strategy for regulating a grid-to-vehicle and vehicle-to-grid battery electric vehicle charger. Figure 20 describes the main components and input/output signal flows in PIL co-simulation for the proposed control scheme, which is implemented using a DSP card C2000-microcontroller-LuncherPad F28379D that contains a 32-bit microcontroller with 1 Mbyte flash memory, a clock frequency of 168 MHz, a floating-point unit, DSP instructions, and 192 Kbytes SRAM. In this configuration, the control algorithm is executed in real-time on the C2000 microcontroller, while the converters, sources, and different loads of the proposed power scheme are simulated and designed in the host computer as an electric circuit in MATLAB/Simulink. The PIL simulation necessitates interaction between the host PC and the Target LAUNCHXL-F28379D, which is executed by applying a virtual serial COM port [56]. Therefore, the host PC emits the measured signals V d c , V d c * , i L , i L * , i g , V g to the LAUNCHXL F28379D kit. Then, the suggested control approach determines the optimum switching state that will be implemented in the next sampling instant. Finally, the host PC receives the control signals, S 1 , S 1 ¯ , S 2 , S 2 ¯ , S 3 , S 3 ¯ , S a , S a ¯ . This procedure is repeated each sampling time   T s .
Figure 21, Figure 22, Figure 23 and Figure 24 show the PIL experimental results of the proposed OIFTSC. Initially, the battery current is accurately tracking the reference value under the same profile perturbations that have been used in the simulation section, with a small response time. The DC-bus voltage is highly regulated to its reference with good accuracy and stability during the load changes with a drop voltage lower than 30 V in both G2V–V2G transitions. Furthermore, Figure 21c,d illustrate a rapid convergence of igd at the set point changes, while igq remains almost zero at steady state to ensure a unit power factor. Finally, the grid current exhibits perfectly sinusoidal waveforms synchronized with the grid voltage, as shown in Figure 21e, validating the robustness of the proposed control strategy.
Finally, Table 6 and Figure 25 show the effectiveness of the proposed control meeting IEEE standards 519-1992 for all operating modes, with a THD varying between 3.9% and 2.4%.

8. Conclusions

The control of power flow in both directions of grid-connected electric vehicle charging stations is studied in this paper. A robust control scheme based on an Integral Fast Terminal Synergetic (IFTS) control theory is proposed to control the BEV charger system by precisely tracking the required current and voltage in both G2V and V2G system modes. The optimal gains of the proposed IFTS control scheme are estimated using the Black-Winged Kite Algorithm. The Lyapunov stability method is used to check the system’s stability. The optimal IFTS control scheme demonstrated its performance by extensive simulations using MATLAB/Simulink and processor-in-the-loop (PIL) co-simulation using the C2000 launchxl-f28379d digital signal processing (DSP) board under diverse operation scenarios and compared to IFTS, optimal integral synergetic, integral synergetic, and conventional PID controllers. The simulation outcomes show that the optimal IFTS control scheme guarantees high dynamic performance with accurate reference tracking under a step change in the battery current reference. Furthermore, the proposed control scheme ensures a unitary power factor of the AC grid, as well as providing high grid current quality compared to other control schemes.

Author Contributions

Conceptualization, I.A. and A.L.; methodology, I.A., Y.S., and A.L.; software, validation, I.A. and Y.S.; formal analysis, I.A. and A.L.; investigation, A.L. and I.A.; resources, A.L. and Y.S.; data curation, I.A., Y.S., and A.L.; writing—original draft preparation, I.A. and Y.S.; writing—review and editing, A.L.; visualization, A.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. El Fadil, H.; Belhaj, F.Z.; Rachid, A.; Giri, F.; Ahmed-Ali, T. Nonlinear modeling and observer for supercapacitors in electric vehicle applications. IFAC-PapersOnLine 2017, 50, 1898–1903. [Google Scholar] [CrossRef]
  2. Jia, C.; Liu, W.; He, H.; Chau, K.T. Superior energy management for fuel cell vehicles guided by improved DDPG algorithm: Integrating driving intention speed prediction and health-aware control. Appl. Energy 2025, 394, 126195. [Google Scholar] [CrossRef]
  3. Dubey, A.; Santoso, S. Electric vehicle charging on residential distribution systems: Impacts and mitigations. IEEE Access 2015, 3, 1871–1893. [Google Scholar] [CrossRef]
  4. Shi, L.; Lv, T.; Wang, Y. Vehicle-to-grid service development logic and management formulation. J. Mod. Power Syst. Clean Energy 2019, 7, 935–947. [Google Scholar] [CrossRef]
  5. Oad, A.; Ahmad, H.G.; Talpur, M.S.H.; Zhao, C.; Pervez, A. Green smart grid predictive analysis to integrate sustainable energy of emerging V2G in smart city technologies. Optik 2023, 272, 170146. [Google Scholar] [CrossRef]
  6. Allehyani, A.; Ajabnoor, A.; Alharbi, M. Chapter 14- demand response scheme for electric vehicles charging in smart power systems with 100% of renewable energy. In Power Systems Operation with 100% Renewable Energy Sources; Chenniappan, S., Padmanaban, S., Palanisamy, S., Eds.; Elsevier: Amsterdam, The Netherlands, 2024; pp. 247–268. [Google Scholar]
  7. Ding, B.; Li, Z.; Li, Z.; Xue, Y.; Chang, X.; Su, J.; Sun, H. Cooperative Operation for Multiagent Energy Systems Integrated with Wind, Hydrogen, and Buildings: An Asymmetric Nash Bargaining Approach. IEEE Trans. Ind. Inform. 2025, 2025, 1–12. [Google Scholar] [CrossRef]
  8. Zhai, X.; Li, Z.; Li, Z.; Xue, Y.; Chang, X.; Su, J.; Jin, X.; Wang, P.; Sun, H. Risk-averse energy management for integrated electricity and heat systems considering building heating vertical imbalance: An asynchronous decentralized approach. Appl. Energy 2025, 383, 125271. [Google Scholar] [CrossRef]
  9. Ahmed, I.; Adil, H.M.M.; Ahmed, S.; Ahmed, I.; Rehman, Z. Robust nonlinear control of battery electric vehicle charger in grid to vehicle and vehicle to grid applications. J. Energy Storage 2022, 52, 104813. [Google Scholar] [CrossRef]
  10. Kumar, P.; Channi, H.K.; Kumar, R.; Rajiv, A.; Kumari, B.; Singh, G.; Dyab, I.F.; Lozanović, J. A comprehensive review of vehicle-to-grid integration in electric vehicles: Powering the Future. Energy Convers. Manag. X 2024, 25, 100864. [Google Scholar] [CrossRef]
  11. Sultan, V.; Aryal, A.; Chang, H.; Kral, J. Integration of EVs into the smart grid: A systematic literature review. Energy Inform. 2022, 5, 65. [Google Scholar] [CrossRef]
  12. Mojumder, M.R.H.; Antara, F.A.; Hasanuzzaman, M.; Alamri, B.; Alsharef, M. Electric Vehicle-to-Grid (V2G) Technologies: Impact on the Power Grid and Battery. Sustainability 2022, 14, 13856. [Google Scholar] [CrossRef]
  13. Zabihi, A.; Parhamfar, M. Decentralized energy solutions: The impact of smart grid-enabled EV charging stations. Heliyon 2025, 19, e41815. [Google Scholar] [CrossRef]
  14. Vishnu, G.; Kaliyaperumal, D.; Jayaprakash, R.; Karthick, A.; Chinnaiyan, V.K.; Ghosh, A. Review of Challenges and Opportunities in the Integration of Electric Vehicles to the Grid. World Electr. Veh. J. 2023, 14, 259. [Google Scholar] [CrossRef]
  15. Maheriya, A.; Raval, A.S.; Panchal, S.; Borisagar, K. Empowering the Future of Smart Grids: Unveiling the Role of Electric Vehicles in V2G Integration for Sustainable Infrastructure. In E-Mobility in Electrical Energy Systems for Sustainability; Chamkha, A.J., Saidur, R., Mohammed, M.A., Eds.; IGI Global: Hershey, PA, USA, 2023; pp. 227–256. [Google Scholar] [CrossRef]
  16. Seth, A.K.; Singh, M. Plant Integrated Proportional Integrating Based Control Design for electric vehicle charger. Comput. Electr. Eng. 2023, 105, 108522. [Google Scholar] [CrossRef]
  17. Premchand, M.; Gudey, S.K. Analysis of PI, PR and SMC Controllers for Bidirectional Converter Used in Electric Vehicle. In Advances in Automation, Signal Processing, Instrumentation, and Control; Komanapalli, V.L.N., Sivakumaran, N., Hampannavar, S., Eds.; Lecture Notes in Electrical Engineering; Springer: Singapore, 2021; Volume 700, pp. 449–466. [Google Scholar] [CrossRef]
  18. Singirikonda, S.; Obulesu, Y.P.; Kannan, R.; Reddy, K.J.; Kumar, G.K.; Alhakami, W.; Baz, A.; Alhakami, H. Adaptive control-based Isolated bi-directional converter for G2V& V2G charging with integration of the renewable energy source. Energy Rep. 2022, 8, 11416–11428. [Google Scholar] [CrossRef]
  19. Goto, T.; Kodaira, D. Optimal Control of Battery System by Reinforcement Learning Considering Profitability. In Proceedings of the International Conference on Power and Renewable Energy Engineering (PREE), Tokyo, Japan, 20–22 October 2023; pp. 12–16. [Google Scholar] [CrossRef]
  20. Jia, C.; Liu, W.; He, H.; Chau, K.T. Deep reinforcement learning-based energy management strategy for fuel cell buses integrating future road information and cabin comfort control. Energy Convers. Manag. 2024, 321, 119032. [Google Scholar] [CrossRef]
  21. He, T.; Zhu, J.; Lu, D.D.C.; Zheng, L. Modified Model Predictive Control for Bidirectional Four-Quadrant EV Chargers with Extended Set of Voltage Vectors. IEEE J. Emerg. Sel. Top. Power Electron. 2019, 7, 274–281. [Google Scholar] [CrossRef]
  22. He, T.; Wu, M.; Lu, D.D.C.; Aguilera, R.P.; Zhang, J.; Zhu, J. Designed Dynamic Reference with Model Predictive Control for Bidirectional EV Chargers. IEEE Access 2019, 7, 129362–129375. [Google Scholar] [CrossRef]
  23. Mohammed, A.M.; Alalwan, S.N.H.; Taşcıkaraoğlu, A.; Catalão, J.P.S. Sliding Mode-Based Control of an Electric Vehicle Fast Charging Station in a DC Microgrid. Sustain. Energy Grid Netw. 2022, 32, 100820. [Google Scholar] [CrossRef]
  24. Cheddadi, Y.; El Idrissi, Z.; Errahimi, F.; Es-sbai, N. Robust Integral Sliding Mode Controller Design of a Bidirectional DC Charger in PV-EV Charging Station. Int. J. Digit. Signals Smart Syst. 2021, 5, 137–151. [Google Scholar] [CrossRef]
  25. Mishra, D.; Singh, B.; Panigrahi, B.K. Adaptive Current Control for a Bidirectional Interleaved EV Charger with Disturbance Rejection. IEEE Trans. Ind. Appl. 2021, 57, 4080–4090. [Google Scholar] [CrossRef]
  26. Saadaoui, A.; Ouassaid, M. Super-twisting sliding mode control approach for battery electric vehicles ultra-fast charger based on Vienna rectifier and three-phase interleaved DC/DC buck converter. J. Energy Storage 2024, 84 Pt B, 110854. [Google Scholar] [CrossRef]
  27. Ahmed, I.; Adnan, M.; Ali, M.; Kaddoum, G. Supertwisting sliding mode controller for grid-to-vehicle and vehicle-to-grid battery electric vehicle charger. J. Energy Storage 2023, 70, 107914. [Google Scholar] [CrossRef]
  28. Rajendran, S.; Jena, D.; Diaz, M.; Rodríguez, J. Terminal Integral Synergetic Control for Wind Turbine at Region II Using a Two-Mass Model. Processes 2023, 11, 616. [Google Scholar] [CrossRef]
  29. Li, Y.; Shi, B.; Qiao, W.; Du, Z. A black-winged kite optimization algorithm enhanced by osprey optimization and vertical and horizontal crossover improvement. Sci. Rep. 2025, 15, 6737. [Google Scholar] [CrossRef]
  30. Laib, A.; Talbi, B.; Krama, A.; Gharib, M. Hybrid interval type-2 fuzzy PID+ I controller for a multi-DOF oilwell drill-string system. IEEE Access 2022, 10, 67262–67275. [Google Scholar] [CrossRef]
  31. Jain, D.; Bhaskar, M.K.; Parihar, M. Optimization of Controller Parameters for Load Frequency Control Problem of Two-Area Deregulated Power System Using Soft Computing Techniques. In Proceedings of Congress on Control, Robotics, and Mechatronics; Jha, P.K., Tripathi, B., Natarajan, E., Sharma, H., Eds.; Springer Nature: Singapore, 2024; pp. 385–401. [Google Scholar] [CrossRef]
  32. Gul, B.T.; Ahmad, I.; Rehman, H.; Hasan, A. Optimized ANFIS-Based Robust Nonlinear Control of a Solar Off-Grid Charging Station for Electric Vehicles. IEEE Access 2025, 13, 20361–20373. [Google Scholar] [CrossRef]
  33. Abdel-Basset, M.; Mohamed, R.; Hezam, I.M.; Sallam, K.M.; Hameed, I.A. Parameters identification of photovoltaic models using Lambert W-function and Newton-Raphson method collaborated with AI-based optimization techniques: A comparative study. Expert Syst. Appl. 2024, 255 Pt D, 124777. [Google Scholar] [CrossRef]
  34. Mahmud, K.; Town, G.E.; Morsalin, S.; Hossain, M.J. Integration of electric vehicles and management in the internet of energy. Renew. Sustain. Energy Rev. 2018, 82 Pt 3, 4179–4203. [Google Scholar] [CrossRef]
  35. Rubino, L.; Capasso, C.; Veneri, O. Review on plug-in electric vehicle charging architectures integrated with distributed energy sources for sustainable mobility. Appl. Energy 2017, 207, 438–464. [Google Scholar] [CrossRef]
  36. Yahya, A.; El Fadil, H.; Oulcaid, M.; Ammeh, L.; Giri, F.; Guerrero, J.M. Control of grid connected photovoltaic systems with microinverters: New Theoretical Design and Numerical Evaluation. Asian J. Control. 2018, 20, 906–918. [Google Scholar] [CrossRef]
  37. Tahri, A.; El Fadil, H.; Belhaj, F.Z.; Gaouzi, K.; Rachida, A.; Giri, F.; Chaoui, F.Z. Management of fuel cell power and supercapacitor state-of-charge for electric vehicles. Electr. Power Syst. Res. 2018, 160, 89–98. [Google Scholar] [CrossRef]
  38. Rachid, A.; El Fadil, H.; Gaouzi, K.; Rachid, K.; Lassioui, A.; El Idrissi, Z.; Koundi, M. Electric vehicle charging systems: Comprehensive review. Energies 2022, 16, 255. [Google Scholar] [CrossRef]
  39. Cui, X.; Avestruz, A.T. Fast-response variable frequency DC-DC converters using switching cycle event-driven digital control. IEEE Trans. Power Electron. 2023, 38, 8190–8207. [Google Scholar] [CrossRef]
  40. Elnady, A.; Noureldin, A.; Adam, A.A. Improved Synergetic Current Control for Grid-connected Microgrids and Distributed Generation Systems. J. Mod. Power Syst. Clean Energy 2022, 10, 1302–1313. [Google Scholar] [CrossRef]
  41. Deffaf, B.; Farid, H.; Benbouhenni, H.; Medjmadj, S.; Debdouche, N. Synergetic control for three-level voltage source inverter-based shunt active power filter to improve power quality. Energy Rep. 2023, 10, 1013–1027. [Google Scholar] [CrossRef]
  42. Wang, K.; Liu, D.; Wang, L. The Implementation of Synergetic Control for a DC-DC Buck-Boost Converter. Procedia Comput. Sci. 2022, 199, 900–907. [Google Scholar] [CrossRef]
  43. Badoud, A.E.; Merahi, F.; Ould Bouamama, B.; Mekhilef, S. Bond Graph Modeling, Design and Experimental Validation of a Photovoltaic/Fuel Cell/ Electrolyzer/Battery Hybrid Power System. Int. J. Hydrog. Energy 2021, 46, 24011–24027. [Google Scholar] [CrossRef]
  44. Kanouni, B.; Badoud, A.E.; Mekhilef, S.; Bajaj, M.; Zaitsev, I. Advanced Efficient Energy Management Strategy Based on State Machine Control for Multi-Sources PV-PEMFC-Batteries System. Sci. Rep. 2024, 14, 7996. [Google Scholar] [CrossRef]
  45. Kolesnikov, A.; Veselov, G. Modern Applied Control Theory: Synergetic Approach. In Control Theory; TRTU: Taganrog, Russia, 2000; pp. 4477–4479. [Google Scholar]
  46. Kolesnikov, A.; Veselov, G.; Kolesnikov, A.; Monti, A.; Ponci, F.; Santi, E.; Dougal, R. Synergetic synthesis of DC-DC boost converter controllers: Theory and experimental analysis. In Proceedings of the APEC Seventeenth Annual IEEE Applied Power Electronics Conference and Exposition, Dallas, TX, USA, 10–14 March 2002; Volume 1, pp. 409–415. [Google Scholar] [CrossRef]
  47. Li, D.; Proddutur, K.; Santi, E.; Monti, A. Synergetic Control of a boost converter: Theory and experimental verification. In Proceedings of the IEEE Southeast Conference, Columbia, SC, USA, 5–7 April 2002; pp. 197–200. [Google Scholar] [CrossRef]
  48. Qian, J.; Li, K.; Wu, H.; Yang, J.; Li, X. Synergetic control of grid-connected photovoltaic systems. Int. J. Photoenergy 2017, 2017, 5051489. [Google Scholar] [CrossRef]
  49. Yu, Z.; Ai, Q.; Gong, J.; Piao, L. A novel secondary control for microgrid based on Synergetic Control of multi-agent system. Energies 2016, 9, 243. [Google Scholar] [CrossRef]
  50. Komurcugil, H. Adaptive terminal sliding-mode control strategy for DC-DC converters. ISA Trans. 2012, 51, 673–681. [Google Scholar] [CrossRef] [PubMed]
  51. Abderrezek, H.; Harmas, M.N. Particle swarm optimization of a terminal synergetic controllers for a DC-DC converter. Int. J. Electr. Comput. Electron. Commun. Eng. 2014, 8, 8. [Google Scholar]
  52. Zerroug, N.; Harmas, M.N.; Benaggoune, S.; Bouchama, Z.; Zehar, K. DSP-based implementation of fast-terminal synergetic control for a DC-DC Buck converter. J. Frankl. Inst. 2018, 355, 2329–2343. [Google Scholar] [CrossRef]
  53. Elnady, A.; Noureldin, A.; Adam, A.A. Integral terminal synergetic based direct power control for distributed generation systems. IEEE Trans. Smart Grids 2022, 13, 1287–1297. [Google Scholar] [CrossRef]
  54. Boudouani, S.; Yahdou, A.; Benbouhenni, H.; Boudjema, Z.; Almalki, M.M.; Alghamdi, T.A. Enhanced speed sensorless control of IPMSM using integral synergetic observer. Meas. Control. 2025, 58, 1–10. [Google Scholar] [CrossRef]
  55. Niu, H.; Lan, Q.; Liu, Y.; Xu, H. A continuous integral terminal sliding mode control approach for a class of uncertain nonlinear systems. Meas. Control. 2019, 52, 720–728. [Google Scholar] [CrossRef]
  56. Ebrahim, M.A.; Aziz, B.A.; Nashed, M.N.; Osman, F.A. Op timal design of proportional-resonant controller and its harmonic compensators for grid-integrated renewable energy sources based three-phase voltage source inverters. IET Gener. Transm. Distrib. 2021, 15, 1371–1386. [Google Scholar] [CrossRef]
  57. Zaid, S.A.; Mohamed, I.S.; Bakeer, A.; Liu, L.; Albalawi, H.; Tawfiq, M.E.; Kassem, A.M. From MPC-based to end to-end (E2E) learning-based control policy for grid-tied 3L-NPC transformerless inverter. IEEE Access 2022, 10, 57309–57326. [Google Scholar] [CrossRef]
Figure 1. Bidirectional converter between charging (G2V mode) and discharging processes (V2G mode).
Figure 1. Bidirectional converter between charging (G2V mode) and discharging processes (V2G mode).
Energies 18 03397 g001
Figure 2. Electric circuit diagram of BEV charger.
Figure 2. Electric circuit diagram of BEV charger.
Energies 18 03397 g002
Figure 3. Overall control scheme.
Figure 3. Overall control scheme.
Energies 18 03397 g003
Figure 4. Block diagram of ISC for DC-bus voltage control.
Figure 4. Block diagram of ISC for DC-bus voltage control.
Energies 18 03397 g004
Figure 5. Block diagram of ISC for grid current control.
Figure 5. Block diagram of ISC for grid current control.
Energies 18 03397 g005
Figure 6. Block diagram of ISC for bidirectional Buck-Boost control.
Figure 6. Block diagram of ISC for bidirectional Buck-Boost control.
Energies 18 03397 g006
Figure 7. Block diagram of IFTSC for DC-bus voltage control.
Figure 7. Block diagram of IFTSC for DC-bus voltage control.
Energies 18 03397 g007
Figure 8. Block diagram of IFTSC for grid current control.
Figure 8. Block diagram of IFTSC for grid current control.
Energies 18 03397 g008
Figure 9. Block diagram of IFTSC for bidirectional Buck-Boost control.
Figure 9. Block diagram of IFTSC for bidirectional Buck-Boost control.
Energies 18 03397 g009
Figure 10. Two attack strategies of black-winged kites are (a) hovering in the air, waiting for an attack, and (b) hovering in the air, searching for prey.
Figure 10. Two attack strategies of black-winged kites are (a) hovering in the air, waiting for an attack, and (b) hovering in the air, searching for prey.
Energies 18 03397 g010
Figure 11. The strategic changes of black-winged kites during migration pseudo-code of BKA.
Figure 11. The strategic changes of black-winged kites during migration pseudo-code of BKA.
Energies 18 03397 g011
Figure 12. Flowchart of the proposed BKA.
Figure 12. Flowchart of the proposed BKA.
Energies 18 03397 g012
Figure 13. Simulated different responses with OIFTS controllers during variation in reference battery current; (a) The battery current during G2V/V2G modes; (b) The DC-bus voltage during G2V/V2G modes; (c) The grid d-current during G2V/V2G modes; (d) The grid q-current during G2V/V2G modes; (e) The grid’s current during G2V/V2G modes.
Figure 13. Simulated different responses with OIFTS controllers during variation in reference battery current; (a) The battery current during G2V/V2G modes; (b) The DC-bus voltage during G2V/V2G modes; (c) The grid d-current during G2V/V2G modes; (d) The grid q-current during G2V/V2G modes; (e) The grid’s current during G2V/V2G modes.
Energies 18 03397 g013
Figure 14. Zoom out on grid current during three transitions; (a) First transition; (b) Second transition; (c) Third transition.
Figure 14. Zoom out on grid current during three transitions; (a) First transition; (b) Second transition; (c) Third transition.
Energies 18 03397 g014
Figure 15. Grid current and voltage during G2V/V2G switching modes.
Figure 15. Grid current and voltage during G2V/V2G switching modes.
Energies 18 03397 g015
Figure 16. Zoom out on grid current and voltage under three transitions; (a) First transition; (b) Second transition; (c) Third transition.
Figure 16. Zoom out on grid current and voltage under three transitions; (a) First transition; (b) Second transition; (c) Third transition.
Energies 18 03397 g016
Figure 17. Simulated DC-bus voltage responses with different controllers during variation in reference battery current.
Figure 17. Simulated DC-bus voltage responses with different controllers during variation in reference battery current.
Energies 18 03397 g017
Figure 18. DC-link waveform under parameter disturbance.
Figure 18. DC-link waveform under parameter disturbance.
Energies 18 03397 g018
Figure 19. Grid current and voltage waveforms under grid voltage harmonic disturbance.
Figure 19. Grid current and voltage waveforms under grid voltage harmonic disturbance.
Energies 18 03397 g019
Figure 20. Schematic diagram of the PIL co-simulation for the proposed system, with the main components and signal flow [57].
Figure 20. Schematic diagram of the PIL co-simulation for the proposed system, with the main components and signal flow [57].
Energies 18 03397 g020
Figure 21. Experimental responses of BEV charger system controlled by the OIFTS controller. (a) Battery current; (b) DC-bus voltage; (c) i g d and its reference   i g d * ; (d) ( i g q ) and its reference   i g q * ; (e) Three-phase grid currents under variable input current reference.
Figure 21. Experimental responses of BEV charger system controlled by the OIFTS controller. (a) Battery current; (b) DC-bus voltage; (c) i g d and its reference   i g d * ; (d) ( i g q ) and its reference   i g q * ; (e) Three-phase grid currents under variable input current reference.
Energies 18 03397 g021
Figure 22. Zoom out on the grid current during the three transitions: (a) First transition; (b) Second transition; (c) Third transition.
Figure 22. Zoom out on the grid current during the three transitions: (a) First transition; (b) Second transition; (c) Third transition.
Energies 18 03397 g022
Figure 23. Experimental results of grid current ( i g a ) , grid voltage ( v g a ) under variable input current reference.
Figure 23. Experimental results of grid current ( i g a ) , grid voltage ( v g a ) under variable input current reference.
Energies 18 03397 g023
Figure 24. Zoom out on grid current and voltage under three transitions; (a) First transition; (b) Second transition; (c) Third transition.
Figure 24. Zoom out on grid current and voltage under three transitions; (a) First transition; (b) Second transition; (c) Third transition.
Energies 18 03397 g024
Figure 25. Harmonic spectrum of the grid current results at t = 1.6 s.
Figure 25. Harmonic spectrum of the grid current results at t = 1.6 s.
Energies 18 03397 g025
Table 1. Overall system parameters.
Table 1. Overall system parameters.
ParametersValues
Inductance Lg0.01 H
Resistance Rg 0.1   Ω
Nominal grid voltage Vg85 V
Grid frequency f50 Hz
Vdc200 V
Capacitor Cv 1100   μ F
Inductance Lh0.02 H
SVM frequency fsvm40 KHz
Switching frequency fs50 KHz
Battery nominal voltage Vnom96 V
Battery capacity Cp200 ah
Resistance Rh0.0001 Ω
Battery response time1 s
Battery initial state of charge SOC50%
Table 2. Optimal IFTSC parameters.
Table 2. Optimal IFTSC parameters.
ParametersValues
λ14.5128 × 10−7
λ20.004
λ30.6520
T0.0051 s
a/b0.0075
Table 3. Performances comparison in terms of THD%.
Table 3. Performances comparison in terms of THD%.
1st Steady-State2nd Steady-State3rd Steady-State4th Steady-State
Optimized IFTSC0.620.690.510.46
Optimized ISC0.700.710.540.46
IFTSC0.840.860.560.62
ISC0.850.890.590.61
PID1.431.571.792.16
Table 4. Quantitative performance analysis of the different controllers in terms of settling time, overshoot/undershoot, and RMSE.
Table 4. Quantitative performance analysis of the different controllers in terms of settling time, overshoot/undershoot, and RMSE.
Control SchemeStep Decrease in Battery Current Reference 10 → −10 VStep Decrease in Battery Current Reference −10 → 15 VStep Decrease in Battery Current Reference −15 → 15 V
Undershoot (V)Settling Time (s)RMSE (V)Overshoot (V)Settling Time (s)RMSE (V)Undershoot (V)Settling Time (s)RMSE (V)
PID48%0.180.072250.61%0.194.765%0.277.14
ISC29%0.080.0425.7%0.123.949%0.152.28
IFTSC18%0.050.0416.61%0.060.5431%0.050.19
OISC18%0.050.0416.89%0.070.6431%0.050.21
Proposed11%0.020.039.06%0.030.047.3%0.020.06
Table 5. Total harmonic distortion (THD%) of the proposed control strategy under several conditions.
Table 5. Total harmonic distortion (THD%) of the proposed control strategy under several conditions.
OIFTSC UnderIdeal ConditionsParameters DisturbanceGrid Voltage Harmonic Disturbance
1st steady-state2nd steady-state3rd steady-state4th steady-state1st steady-state2nd steady-state3rd steady-state4th steady-state1st steady-state2nd steady-state3rd steady-state4th steady-state
THD (%)0.62%0.69%0.51%0.46%0.76%0.87%0.74%0.67%0.77%0.82%0.59%0.53%
Table 6. Analysis of grid current THD%.
Table 6. Analysis of grid current THD%.
1st Steady-State2nd Steady-State3rd Steady-State4th Steady-State
THD%3.88%3.58%2.51%2.44%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Aris, I.; Sadou, Y.; Laib, A. An Optimal Integral Fast Terminal Synergetic Control Scheme for a Grid-to-Vehicle and Vehicle-to-Grid Battery Electric Vehicle Charger Based on the Black-Winged Kite Algorithm. Energies 2025, 18, 3397. https://doi.org/10.3390/en18133397

AMA Style

Aris I, Sadou Y, Laib A. An Optimal Integral Fast Terminal Synergetic Control Scheme for a Grid-to-Vehicle and Vehicle-to-Grid Battery Electric Vehicle Charger Based on the Black-Winged Kite Algorithm. Energies. 2025; 18(13):3397. https://doi.org/10.3390/en18133397

Chicago/Turabian Style

Aris, Ishak, Yanis Sadou, and Abdelbaset Laib. 2025. "An Optimal Integral Fast Terminal Synergetic Control Scheme for a Grid-to-Vehicle and Vehicle-to-Grid Battery Electric Vehicle Charger Based on the Black-Winged Kite Algorithm" Energies 18, no. 13: 3397. https://doi.org/10.3390/en18133397

APA Style

Aris, I., Sadou, Y., & Laib, A. (2025). An Optimal Integral Fast Terminal Synergetic Control Scheme for a Grid-to-Vehicle and Vehicle-to-Grid Battery Electric Vehicle Charger Based on the Black-Winged Kite Algorithm. Energies, 18(13), 3397. https://doi.org/10.3390/en18133397

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop