1. Introduction
Electric vehicles (EVs) are currently replacing conventional internal combustion engine (ICE) cars [
1,
2]. Actually, ICEs have several flaws that EVs can help overcome. Compared to ICEs, EVs produce little pollution, are more energy efficient, make less noise, and require less maintenance. The infrastructure of the charging stations, the duration of the charging process, and the impact of these stations on the current electrical grid are just a few of the challenges that have yet to be overcome. Rapid charging techniques may drastically decrease the charging time to a few minutes [
3,
4]. However, these methods place heavy electrical demands and negatively affect the electricity grid. Numerous issues would be created, such as severe overload, voltage fluctuation, and voltage instability, particularly when many charging stations are connected concurrently to the utility grid [
5,
6]. The improvement of the electrical system is one remedy for these issues, but it will be expensive. Utilizing an energy storage system (ESS) that may serve as a buffer between the utility and the EV charging station (EVCS) is another superior approach [
7]. The utility grid will feel less strain with the deployment of an ESS, but there will still be difficulties due to the anticipated high number of EVCSs in the future.
If most of the grid electricity used at the charging stations comes from fossil fuels, the claim that electric vehicles are ecologically beneficial may not hold up. Therefore, it is necessary to use renewable energy sources in EVCSs to emphasize the effects of EVs on the environment. It is well known that renewable sources are typically intermittent rather than continuous. In order to resolve the discontinuity in these sources, ESSs are used.
Biogas, PV, and wind energy systems are the most often employed renewable energy sources for EV charging stations [
8,
9]. Compared to wind energy systems, PV energy systems are easier to use and more efficient. PV electricity is, therefore, more desirable for EV charging stations. PV-based charging stations have been the subject of several research articles [
10]. The authors of one study put forth a concept for an EV charging station powered by solar energy [
11]. Additionally, the authors provide a mathematical model of the charging station and employ simulation tools to evaluate the system’s performance under varying conditions. The simulation findings demonstrate that the suggested charging station can operate independently of the power grid and satisfy an EV’s charging needs. The authors of [
12] suggest a creative method for developing an EV charging station that combines vehicle-to-grid (V2G) technology with solar and wind energy. The authors‘ detailed system design includes a solar panel array, a wind turbine, a battery energy storage system, an EV charging station, and a V2G interface. The technology is meant to charge EVs and feed extra electricity generated during high demand back into the grid. According to the scientists, the suggested system can deliver dependable and sustainable energy for grid support and EV charging. The authors of [
13] propose a solar PV-powered EV charging station. To increase the efficiency of the charging process, the study discusses the design of a PV array, a DC–DC converter, and using a perturb and observe method. According to the simulation results, electric car charging at the station may be efficient and dependable. A control method that guarantees a charging station’s steady functioning while optimizing the use of renewable energy sources is suggested by [
14]. A secondary control loop optimizes the power flow between the various energy sources based on the available energy and the demand for EV charging. By contrast, a primary control loop smooths the voltage and current of the converter as part of the control strategy. Research on the viability of a hybrid system that combines solar and wind power to provide energy for a grid-connected EV charging station is presented in [
15]. The research uses HOMER software (V4.9) to simulate the system, which optimizes the system’s architecture by identifying the ideal mix of solar and wind resources, energy storage capability, and EV charging demand. According to the findings, the hybrid system is technically possible and has a respectable payback period. The report also analyzes the hybrid system’s potential advantages, such as promoting local economic growth by generating green employment, lowering emissions, and strengthening energy security. In [
16], a hybrid energy power system that uses the utility grid as a backup is utilized to charge EVs using the electric railway power system. Ref. [
17] integrated PV electricity into an EV quick charging station using PV panels and a bank of batteries using a three-level boost converter. Although output capacitor voltage balancing must be considered, this relieves some pressure on switching devices.
Several renewable energy systems have used fractional-order control (FOC), a relatively novel control method [
18]. FOC is a development of conventional integer-order control and has several benefits over traditional control methods, including higher performance, better resilience, and more flexibility. Despite these benefits, FOC has certain drawbacks as well. Its intricacy, difficulty of implementation, and computationally demanding nature are the key drawbacks. Ref. [
19] presents a survey of recent advances in FOC autotuning techniques. A method for controlling fractional-order semilinear systems that have limitations given by linear equations was introduced by [
20]. The suggested approach is used in a drug delivery system to regulate the drug concentration, and the results of extensive simulations are used to evaluate its performance. However, the technique has a complex procedure. Ref. [
21] introduces a new adaptive FOPID compensator that self-adjusts fractional instructions to get the most power possible out of a standalone PV system as the environment changes. However, the numerical computations are very tedious.
This study presents an implementation of the FOPI controller to manage and control a photovoltaic-powered autonomous EV charging station. The ESS’s battery is charged and discharged using a bidirectional converter, while the EV is charged using a unidirectional converter. The energy management and control of the proposed microgrid are based on optimal fractional-order controllers. The system’s main objective is to maintain DC bus voltage regulation, control the storage battery charging, control the EV charging, and manage the system energy. The gains of the fractional-order controller are optimally chosen based on the GWO optimization technique. Moreover, performance comparisons were carried out between the proposed FOPI controller and the traditional PI controller. The proposed EVCS microgrid was modeled and simulated using the Matlab/Simulink platform. The following are this study’s objectives:
To enhance the functionality of the suggested EV charging station, FOPI controllers were incorporated.
The suggested FOPI controller’s ideal gains were determined using the metaheuristic optimization technique GWO.
The suggested system’s performance using the FOPI controller and the traditional PI were compared. The performance of the controller was evaluated under various solar isolation disturbances.
Modeling the suggested system using Matlab. In order to determine the impact of fluctuations of the solar insolation on the microgrid’s response, the system’s performance was evaluated.
The suggested control system’s durability was explored in the face of parameter uncertainty.
This paper is organized as follows: the suggested charging station is shown in
Section 2;
Section 3 describes the microgrid modeling and design considerations of the charging station; the proposed control structure is presented in
Section 4; the outcomes of the simulation are covered in
Section 5; and, finally, the conclusions are presented in
Section 6.
4. Proposed Control Structure
The three controllers responsible for the stable operation of the proposed microgrid, as depicted in
Figure 3, include the MPPT controller, the EV converter controller, and the DC link regulator using the DC–DC converter of the battery energy storage. The primary task of the MPPT regulator is to continually capture the maximum power output from the photovoltaic (PV) array. It achieves this by calculating and providing the appropriate duty cycle to the boost converter, ensuring the MPPT is effectively maintained. On the other hand, the EV converter controller plays a crucial role in ensuring a well-regulated charging process for the electric vehicle. Additionally, the converter’s controller of the battery energy storage regulates both the DC bus voltage and the charge/discharge operations of the energy storage system (ESS). It comprises two loops: the first loop (i.e., outer loop) controls the DC bus voltage, while the second (i.e., inner loop) regulates the battery current. In this section, we will not delve into the details of the MPPT algorithm, as it is a relatively simple approach based on the perturb and observe (P&O) technique. However, maintaining the DC link voltage stable across the terminals of the EV charger is paramount for ensuring the electric vehicle’s smooth functioning during the charging process. It is crucial to understand that the EV acts as a power-consuming load, and it relies on either the photovoltaic (PV) system or the battery to provide the necessary power, based on their availability.
4.1. Proposed Fractional-Order Controller
The objective of this regulator is to maintain a steady DC link voltage (Vdc) at a specific set value (Vd-ref). To achieve this, the controller adjusts the charging and discharging processes of the battery energy storage accordingly. The proposed controller is constructed using the fractional-order proportional integral (FOPI), which is employed to design both the inner loop, which maintains the DC link stability, and the outer loop, which regulates the battery current.
The utilization of fractional operators in the controller enables the representation of any real number through a sophisticated and versatile integral or differential notation [
22]. The fundamental mathematical correlation between the FO differential and integral operator, for a certain order
q, can be expressed in the following function:
where
lb denotes the lower band and
ub denotes the upper band; when the value of the order
q is positive (that is,
q > 0), it is classified as a FO differential transfer function; conversely, when the value of the order
q is negative (that is,
q < 0), it is classified as a first-order integral.
Scholars have proposed various definitions in order to make the concept of fractional order (FO) more accessible, as it can be challenging to comprehend its physical implications. One such definition, known as the Riemann–Liouville (R-L) approach, offers a method to calculate the function’s order derivative, aiding our understanding of the underlying principles of FO [
23]:
where
n ∈ N, n − 1 <
q <
n, and the Gamma function
is defined as,
Equation (11)’s fractional derivative of R-L may be transformed using the Laplace method to provide Equation (13)’s answer [
22]. Caputo’s definition, a second definition related to the concept of FO, is used to express the time domain representation of the q order of the function
f(t), as in Equation (14) [
24].
When the Laplace transformation is applied to (14), the integral order of the equation is accompanied by an initial condition. This initial condition holds significant physical meaning and can be explained through Equation (15), where
s is the Laplace operator.
Using the FO operators in the time domain involves performing complicated math calculations. To implement FO operators, we often use the recursive approximation method [
25,
26]. The Laplace transformation of the
qth derivative is a way to represent it using a different mathematical formula, as follows:
where
and (N) is the approximation order of the Oustaloup method in the effective frequency range [
] that can be chosen as [−1000, 1000] rad/s. In the present study, we chose a value of N equivalent to 5.
The present study utilizes the FO proportional integral controller consisting of three tuning parameters: proportional gain (
Kp), integral gain (
Ki), and integral fractional order
λ. Controllers constructed with these particular parameters have been discovered to exhibit enhanced stability, transient time, and overall precision in comparison to conventional PI regulators [
27]. Furthermore, this controller offers greater adaptability and robustness in the face of system disruptions, enabling it to manage various disturbances effectively. Moreover, Equation (17) presents the comprehensive expression for the transfer function of the FOPI in Laplace form, denoted as
Gc(s), where λ is frequently in the range of [0, 1]. At the same time,
Figure 4 illustrates the basic configuration of the control structure.
The voltage across the DC link is monitored and compared to a set reference voltage. The FOPI controller is responsible for regulating the voltage difference by producing the desired battery current reference value. This reference value helps ensure proper control and management of the DC link voltage. Hence, the desired ESS’s battery current, as determined by the reference, is then compared to the actual battery current. The FOPI controller utilizes this comparison to compute and modify the duty cycle of the bidirectional DC/DC converter. The dual loop control system ensures that the current drawn from the battery remains at a safe level, thus providing protection.
4.2. Utilized Optimization Approach
Determining the FOPI parameters by trial and error can be complex, relying greatly on the practitioner’s skill and knowledge. It can be quite a daunting challenge to identify suitable values for the proposed FOPI parameters. However, it is of utmost importance to carefully carry out this process to enhance the system’s performance and ensure its stability, preventing disruptions. To achieve this, a metaheuristic optimization technique, GWO, is employed to identify the most optimal values for the FOPI controller’s parameters.
Recently, there has been a surge in the popularity of a particular optimization technique that draws inspiration from the behaviors exhibited by gray wolves. This technique, known as gray wolf optimization (GWO), is highly regarded as a meta-heuristic approach [
28]. In a wolf pack, a well-defined social structure based on dominance exists. These packs typically consist of members ranging from 5 to 12 individuals. Leading this pack is the alpha wolf (
α), who holds the highest position of authority. Assisting the alpha is the beta wolf (
β), a trusted ally who aids in making important decisions for the group. On the other end of the hierarchy, we find the omega wolf (ω) occupying the lowest rank. This wolf serves as a scapegoat and is often subjected to the blame for any mishaps or conflicts within the pack. The remaining wolves in the group are known as delta wolves (
δ), and they dutifully follow the leadership of the alphas and betas, embodying a sense of loyalty and obedience. The GWO method involves several roles, as depicted in
Figure 5. To successfully capture prey, the method consists of three primary steps: firstly, the wolves engage in a search to locate the prey and closely approach it; secondly, they encircle the prey, restricting its movement; and finally, they initiate an attack to capture and ultimately bring down the prey.
The environment in which the prey exists can be represented using Equation (18), where
is the position of the prey,
is the position of the grey wolf,
is the distance between them,
and
are vectors computed from Equations (20) and (21), respectively.
where
where
and
are random numbers in the range of zero to one. The value of the factor
gradually decreases from two to zero as the number of iterations increases. The divergence technique is employed when looking for a prey location with
, whereas the convergence technique is utilized to obtain prey in locations with
. The hunting process involves the utilization of
α, then
β, and
δ as presented in Equations (23) to (25).
4.3. Objective Function Definition
The tuning process of the FOPI gains for the dual loop of the BESS controller is presented in
Figure 6a. The following points summarize the GWO routine to find the optimal parameters of the proposed FOPI:
Initialize the population of wolves, which are considered the candidate solutions for the FOPI parameters (i.e., six values).
Simulate the proposed EVCS using the parameters generated from GWO.
Calculate the objective function based on the integral square error (ISE) to quantify the control system’s performance.
Identify the population’s alpha, beta, and delta wolves based on their fitness values. Alpha represents the best solution, beta the second-best, and delta the third-best.
Update the positions of the remaining wolves in the population.
Check the new updated positions of the grey wolves that remain within the constraints.
Repeat the process until the termination criteria are achieved.
Table 1 summarizes the associated parameters of the GWO. In Equation (26), the integral square error (ISE) is used as the fitness function for the GWO, in which
is the simulation time. The GWO algorithm was executed on a personal computer with an Intel CoreTM i5-8265U CPU running at 1.60 GHz and 16 GB of RAM. The applied GWO’s convergence curve is shown in
Figure 6b, and
Table 2 lists the best FOPI values. The GWO algorithm that has been proposed successfully attains a remarkably low fitness function value of around 0.0886. Furthermore, it is worth mentioning that the GWO algorithm can approach the optimal parameters in a relatively short period, typically within 80 iterations, when considering the
ISE objective function.
5. Simulation Results and Discussion
The suggested EVCS’s microgrid, represented in
Figure 3, is simulated using the Matlab/Simulink platform to validate the paper’s hypothesis. The microgrid’s parameters are listed in
Table 3, including the PV array, ESS battery, EV battery, and converters. The converters’ switching frequency utilized for the PWM carrier is 4 kHz.
Figure 7 displays the DC link voltage performances for FOPI and traditional PI controllers in response to step changes in solar irradiation. It may be seen in
Figure 7a that the DC bus voltage closely follows its reference value precisely for both controllers. There is no steady-state error for both the FOPI and traditional PI controller responses. Nevertheless, the FOPI controller response has the lowest overshoot (≤3.2%). On the other hand, the traditional PI controller response has an overshoot of ≤10.4%. Hence, the reduction in the system overshoot is (~1/3). Also, the settling time of the step response of DC link voltage using the FOPI controller has a lower value of ≤0.04 s. However, the settling time with the traditional PI controller is ≤ 0.1 s. Hence, the DC link voltage settling time reduction is (~2/5). These issues indicate a great improvement in the system response using the proposed FOPI controller. It is also noted that the DC link voltage response with the traditional PI controller has contaminated ripples that are not present in the response with the FOPI controller. The disturbance of solar radiation is presented in
Figure 7b.
For the same disturbance profile in solar radiation, the charging station response with the proposed FOPI controller compared to the conventional PI controller is presented in
Figure 8. The responses of the PV current corresponding to the step change in the solar radiation for both controllers are shown in
Figure 8a,b. The PV current values match the MPPT circumstances.
Figure 8c,d present the response of the PV voltage for both controllers. During the period [8 s to 9 s], the solar insolation drops to zero; therefore, the PV output voltage and current are zero.
Figure 8e,f display the ESS battery’s current response for both controllers. For both controllers, it tracks its reference fairly well. The DC bus voltage controller produces the reference value for the ESS battery’s current. The charging and discharging procedures also keep track of their references and account for the radiation changes.
Figure 8g,h display the ESS battery’s voltage for the proposed FOPI and traditional PI controllers. When charged, its voltage rises, and when discharged, it falls. The performance of the ESS battery’s SOC for the proposed FOPI and traditional PI controllers is shown in
Figure 8i,j. The response of the SOC is nearly identical for both controllers. However, the charging and discharging processes are indicated. The insolation is about 70% for the first four seconds. Therefore, The EV battery may be charged, and the reserve may be stored in the ESS battery using the generated PV power. However, the insolation during the next two seconds, [4s to 6s], is just 50%, insufficient to provide the EV with energy. In order to make up for the decrease in solar energy, the storage battery drains. The insolation is 65% in the subsequent interval [6s to 8s], barely sufficient to charge the EV battery and keep the reserve in the ESS battery. Consequently, the SOC has a modest and positive slope. The sun insolation finally disappears during the period [8s to 9s]. As a result, no energy is created, and the ESS battery empties to make up for the solar energy.
Figure 9 shows the EV charging response with the proposed FOPI controller compared to the conventional PI controller. For both controllers in
Figure 9a,b, the current of the EV closely matches its reference produced by the EV’s converter controller. However, its response with the suggested FOPI controller is the best and has no overshoots or ripples. The voltage of the EV battery is shown in
Figure 9c,d for both controllers. The replies remain the same as the EV battery charges continually.
Figure 9e,f display the SOC of the EV battery for the two controllers, respectively. The responses remain the same as the EV battery charges continuously.
Figure 10 compares the proposed FOPI controller to the conventional PI controller for PV, ESS, and EV battery power. Both controllers’ replies and how they track the PV’s MPPT level remain constant.
Figure 10a,b display the PV power responses, respectively. The irradiation in the first four seconds is around 70%. As a result, the PV energy produced is sufficient to charge the EV battery and store the remaining energy in the ESS battery. The following two seconds’ insolation, from [4 s to 6 s], is 50%, insufficient to power the EV. In the ensuing period [6 s to 8 s], the insolation is 65%, barely sufficient to charge the EV battery and maintain the reserve in the ESS battery.
The sun’s insolation completely fades between [8 s and 9 s]. As a result, no energy is produced, and to make up for the decrease in solar output, the ESS battery discharges. As seen in
Figure 10c,d, the ESS battery drains to make up for the decrease in solar energy. Also, the procedures of charging/discharging account for the radiation changes.
Figure 10e,f, which depict the two controllers, illustrate that the EV power is consistent under all circumstances. However, the proposed FOPI controller has a better response, free of disturbances and overshoots.
Table 4 summarizes the comparison of the maximum overshoot during each interval of the results using the proposed FOPI and the conventional PI controller.
Figure 11 depicts the FOPI controller’s system efficiency fluctuation with insolation level and EV battery SOC. It should be noticed that both controllers’ values for system efficiency are the same. As the
EVSOC increases, the system efficiency increases. However, that makes sense given that as the
EVSOC increases, the charging current decreases, the power losses decrease, and the EV’s power decreases. Nevertheless, the power losses vary with the square of the current, but the EV’s power is proportional to the current. Hence, microgrid efficiency increases. On the other hand, the efficiency decreases as the solar insolation level increases. That happened due to increased losses while charging the ESS battery of the EVCS’s microgrid.
The impact of a ±10% variation in the value of the filter inductors (
L1,
L2) on the performance of the DC link voltage with the suggested controller is shown in
Figure 12 to test the resilience of the proposed FOPI controller under parameter mismatches. It should be mentioned that the controller tracks the reference signal effectively. This demonstrates the control system’s resistance to parameter mismatches. On the other hand, the overshoots are somewhat decreased, but the ripples are slightly enhanced.
Despite the merits of FOPI controllers compared to traditional PI controllers, they also come with certain limitations, such as complexity, tuning difficulty, limited industrial adoption, modeling challenges, and performance trade-offs. However, the last limitation is considered the main limitation of the proposed controller. Even though they can offer more flexibility, FOPI controllers may not necessarily perform better than conventional controllers in all circumstances. If not correctly tuned, the extra degrees of freedom in FOPI controllers might result in overfitting or inadequate performance. The recommended future work is the real-world implementation of the introduced system. The proposed power system has the advantage of simple scalability to the standard EVCS rating. Though many control software and hardware platforms are built around integer-order controllers like PID, FOPI controllers might not be readily supported in these systems. Hence, their integration and implementation are more challenging tasks.