Introduction

Governments are concerned about environmental pollution caused by fossil fuels, especially from conventional IC engine vehicles [1, 2]. Because of the continuous environmental catastrophe, the global economy is transforming its energy focus from a fossil fuel-based economy to one focused on renewable energy [3, 4]. To reduce range anxiety and motivate users to adopt EVs, charging station infrastructure is necessary Fig. 1. At present there are various charging standards adopted globally by different automobile companies and at the same time Government of Indian has also come up with its own charging standards [5, 6] (Refer Table 1). Currently the charging ports that are available are capable of charging vehicles efficiently but at a fixed charging level [7].

Fig. 1
figure 1

System Architecture of EV Charging Station

Table 1 Popular Charging Standards
Table 2 Simulation parameters of four stage interleaved buck converter

Charging at public charging stations is more expensive compared to domestic charging solutions, although they offer DC fast charging. Due to cost-effectiveness, users mostly prefer domestic chargers, even though their charging speed is slower. To increase the charging speed, users need to obtain a higher load rating for their connection, which is not always feasible. The current charging solutions limit user flexibility, as they only provide charging at a fixed rate. Electric vehicles can add to the grid's load and exceeding the charger's rating could lead to grid instability. Bidirectional charging can be used to address this issue by using the stored charge in the vehicle's battery to maintain power across the grid, especially when there is insufficient power to fulfil load requirements. [8].

In this paper we have proposed an EV charging solution at community level which can support variable charging rate based on availability of power across the grid. To evaluate the system with great accuracy and precision, we offer a suggestion for setting up an EV charging station for a neighborhood of different users. Actual load data from a neighborhood of four households has been considered. [9]. The proposed algorithm will estimate the power requirement at user end and based on availability of remaining power across the grid the EV charger can be used at that level in order to maintain grid stability because if every user opt for charger with high rating at same electric connection, then it will lead to grid failure and switching for electric connection with high rating is not an economically viable solution because it will increase the overall electricity bill. DC-DC Converter is a major component for various applications in renewable energy systems, battery energy storage, electric vehicles, hybrid-electric vehicles, and industrial automation. Apart from all these applications DC-DC Buck converter is a crucial component for electric vehicle charging stations because it regulates output voltage across low voltage bus to charge the vehicle’s battery [10,11,12].

For DC-DC Conversion among various topologies of converters interleaved buck converter is incorporated to fulfil the objective of step down the DC voltage by adjusting the duty cycle applied to switching devices (in most cases MOSFET’S and IGBT’S) and increase the output current to drive the load [13]. Interleaving is technique where multiple switches are connected in parallel connection and operated with relative phase shift to increase the effective pulse frequency. In simple terms main advantage of interleaving topology is that it improves the system efficiency by splitting output current in multiple stages thus reducing I2R and inductor AC losses, output ripple voltage and current which provides constant current for proper and safe charging of EV battery pack. Multi-Phase Interleaved power converters are highly beneficial for high performance electrical equipment due to low sizing of components which leads to reduction in electromagnetic emission and increase in transient response of the system [14, 15]. The mathematical modelling and controller design to maintain the required output voltage is an important aspect of DC-DC converter [16] as it helps to design a proper control scheme for the required system. Techniques such as state space averaging [17] are also used for this purpose. It is usually needed in DC-DC converters that output voltage achieved should be consistent despite variations in source voltage, load current, and component parameters. For improved stability and quick transient reaction of the system, various control approaches such fuzzy logic controller, artificial neural network (ANN), PID controller, and PI controller are applied [18, 19]. In this paper for experimental analysis specification of CCS (Combined Charging System) Type 1: DC fast charger with power rating 48 kW have been considered. It operates at input of 480V, three phase AC and consists of two stages i.e., AC-DC and DC-DC Conversion. Fast charging of EV batteries requires high current, but it leads to problem such as high distortion, low power factor and voltage drop at DC Link capacitor. To tackle the above problem of AC-DC rectification Vienna rectifier is used in place of conventional diode-based rectifier. To reduce the cost of filter capacitor delta connected Vienna rectifier is recommended [20, 21].

As discussed above a buck converter is used to step down the DC voltage whereas The main purpose to implement multi-Phase buck converter over single phase buck converter is that single-phase buck controllers work effectively for low-voltage converter applications with current rating of up to 25 A (Approx.), but at higher current rating Power dissipation and overall efficiency tends to decrease, the issue to maintain high current rating with increase in overall efficiency can be maintained using multi-phase buck converter [22]. To regulate the output of the proposed system we have utilized a classical control approach with the help of PI Controller. To tune the designed controller, we have made use of graphical based approach depending on KP and KI at specified phase margin [23, 24].

The current research on the topic of multi-phase interleaved universal charging port for electric vehicles has identified several important findings. However, there is a gap in the literature when it comes to rate of charging of domestic chargers due to economic viability. In this paper, we aim to address this gap by developing a control strategy for designed multiphase interleaved buck converter to provide EV charging solution at community level which can support variable charging rate based on availability of power across the grid.

Specifically, our contributions are:

  • The present solutions available do not provide a degree of freedom to the user because chargers available are only able to provide charging at fixed rate. we offer a suggestion for setting up an EV charging station for a neighbourhood of different users because if every user opt for charger with high rating at same electric connection, then it will lead to grid failure.

  • The proposed algorithm will estimate the power requirement at user end and based on availability of remaining power across the grid the EV charger can be used at that level to maintain grid stability.

  • To tune the controller with better visualization of stability and performance trade-offs we made use of stability boundary locus technique. The SBL technique is based on rigorous mathematical analysis of the system's open-loop transfer function, and it provides a clear understanding of the system's stability margins and performance limitations. These contributions build on the existing literature provides new insights on various topologies of DC-DC converters which can be proved useful to fulfil the concept of universal charging, methodologies to tune the designed controller with better stability and performance, ways to develop control technique to provide variable charging rate [25, 26] as per user’s requirements. Overall, our paper aims to advance the field by promoting fast, cost and energy efficient charging of EVs at domestic level.

The proposed multi-phase interleaved universal charging port for electric vehicles presents a range of advantages centered on its dynamic charging rate adjustment capabilities. One key benefit is user prioritization, allowing users to tailor charging rates according to their preferences and urgency. For instance, individuals in need of a quick charge for immediate use can opt for a fast or ultra-fast charging rate. The system also excels in grid load management by intelligently adapting the charging rate to the current load on the electric grid. During periods of low demand or surplus energy generation, the charger can operate at an accelerated rate, contributing to grid stability. Load balancing is another advantage, as the system slows down charging during high-demand periods, preventing grid congestion and ensuring a more stable electrical infrastructure. Integration with renewable energy sources is facilitated by the ability to charge at a faster rate during periods of surplus energy, aligning with the intermittent nature of sources like solar and wind. Support for public utility is inherent in the charger's responsiveness to grid conditions, enhancing overall reliability and efficiency and reducing the risk of blackouts or overloads. The system's flexibility and adaptability, operating in different modes based on external conditions, contribute to handling variations in electricity demand and supply effectively.

This Paper is organized as follows, in section II of this paper transfer function of non-ideal single stage buck converter is estimated using the concept of mathematical modelling followed by the frequency response analysis of designed converter using Bode Plot. To improve the dynamics or the transient response of the designed system to be stable PI Controller is tuned using stability boundary locus approach.

Section III provides a logical analysis of the given algorithm through implementation of priority encoder based combinational logic along with control technique is realized to achieve the output charging rate based on the remaining power available across the grid. Section IV presents simulation and experimental results to validate the proposed hypotheses and section V gives some concluding remarks.

Methodology

A four-stage interleaved buck converter topology is shown in Fig. 2. It consists of four semiconductor switches i.e., MOSFETs (M1, M2, M3, and M4), protection diode (D1) to prevent reverse flow of current, inductor (L1, L2, L3, and L4), freewheeling diode (D2, D3, D4, and D5), output filter capacitor (C1), load resistance (R) and DC supply voltage (VIN).

Fig. 2
figure 2

Multi-Phase Interleaved Converter Topology for Priority Based Charging

The inductor windings L1, L2, L3 and L4 are directly connected from the Voltage source. There are four diodes in the circuit, three semiconductor switches (MOSFET) and an output capacitor (C), are also included in the converter architecture and are connected across the Resistive load. In order to free wheel the leakage current through the switch, a diode is also merged to the switches to freewheel the leakage current. In this study, a multi-device interleaved DC-DC buck converter has been designed and tested, comprising four identical converter phases. Each phase includes a set of components, namely MOSFETs (M1, M2, M3, and M4), a diode (D2, D3, D4, and D5), an inductor (L1, L2, L3, and L4), and the load as shown in Fig. 2. The operation of MOSFET switches M1, M2, M3, and M4 is orchestrated to be out of phase with each other. Importantly, the switches are activated based on current requirements, control circuit is dynamically adjusting the number of switches that are ON. If the current requirement increases, additional switches will be turned ON, optimizing the converter's performance. This interleaved operation effectively mitigates input and output ripple currents, while a control circuit also adjusts the duty cycles of the switches (M1, M2, M3, and M4) in response to output voltage and load conditions. The interleaved nature of the operation not only minimizes ripple effects but also distributes the load, thereby reducing stress on individual components and enhancing overall efficiency.

Analysis Of Buck Converter

A DC-DC buck converter is a type of power electronic circuit that reduces the magnitude of an applied direct current voltage. . As illustrated in Fig. 3, the buck converter circuit comprises of several elements such as an inductor, a semiconductor switch (MOSFET or IGBT), a power diode, and a filter capacitor. Let us assume the following parameter of Buck converter: VIN = 480-volt, power = 12 kW, Vo = 300 volt, switching frequency (Fsw) =25 kHz, then

Fig. 3
figure 3

Schematic of Non-Ideal buck converter

$$\frac{\Delta {V}_{o}}{{V}_{o}}=1\%=0.01$$
(1)
$${\mathrm{So}}, {V}_{o}=D{V}_{IN}$$
(2)

Let’s substitute the value of the VIN and VO in Eq. (2) to calculate the duty cycle of the DC-DC Converter:

$$D=\frac{{V}_{o}}{{V}_{IN}}=\frac{300}{480}=0.625$$
(3)

The output power of the DC-DC buck convertor for the resistive load (R) can be calculated as:

$$P=\frac{{V}_{o}^{2}}{R}$$
(4)

The value of R, L, C parameters of the DC-DC buck converters can be calculated as:

$$\mathrm{Resistance}\;\left(R\right)=\frac{V_o^2}P=\frac{300\times300}{12000}=7.5\Omega$$
(5)
$$\mathrm{Inductor}\left(L\right)=\frac{\left(1-D\right)R}{2f}=\frac{(1-0.625)\times 7.5}{2\times 25\times {10}^{3}}=56.25\mu H$$
(6)
$$\begin{array}{c}Capacitor\left(C\right)=\frac{(1-D)}{8L\left(\frac{\Delta V_o}{V_o}\right)f^2}\\C=\frac{1-0.625}{8\times56.25\times10^{-6}\times0.01\times{(25\times10^3)}^2}=133\mu F\end{array}$$
(7)

Mathematical Modelling of Buck Converter

The model of power circuit of buck converter is shown in Fig. 3. All parameters are considered while designing the converter for the required operation. It is also assumed that the converter is in continuous conduction mode (CCM) with duty D and switching frequency FSW =25 kHz (assumed). As bus voltage i.e., source voltage (VIN) is at higher potential than the battery voltage Table 2. The objective of state space modelling is to get the transfer function equation of the buck converter which can be incorporated to tune PI controller which can be used for switching of semiconductor switch included in the device. In CCM two modes of buck converter are discussed below.

  • Case (a) Switch ON [0< t <DT]: When the switch is turned on, the input voltage source serves as the circuit's power supply. Therefore, the voltage equation can be calculated as:

    $${V}_{IN}\left(t\right)=L\frac{d{i}_{L}\left(t\right)}{dt}+\frac{R{V}_{C}(t)}{R+{R}_{C}}+\left({r}_{sw}+{r}_{L}+\frac{R{r}_{C}}{R+{r}_{C}}\right){i}_{L}(t)$$
    (8)

The current state variable of the inductor can be obtained by rewriting Eq. (8) as:

$$\frac{d{i}_{L}\left(t\right)}{dt}=-\frac{({r}_{{}_{sw}}+{r}_{{}_{L}}+\frac{R{r}_{{}_{C}}}{R+{r}_{{}_{C}}})}{L}{i}_{L}(t)-\frac{R}{(R+{r}_{{}_{C}})L}{V}_{C}(t)+\frac{1}{L}{V}_{IN}(t)$$
(9)

Applying KCL in Fig. 3 we get,

$$\frac{R}{R+{r}_{C}}{i}_{L}(t)=C\frac{d{V}_{C}(t)}{dt}+\frac{{V}_{C}(t)}{R+{r}_{C}}$$
(10)

Rewriting Eq. (10) as follows gives the inductor's voltage state variable:

$$\frac{d{V}_{C}\left(t\right)}{dt}=\frac{R}{(R+{r}_{C}).C}{i}_{L}(t)-\frac{{V}_{C}(t)}{(R+{r}_{C}).C}$$
(11)

The state space model of a buck converter for mode (a) can be expressed using Eqs. (9) and (11) as follows:

$$\left[\begin{array}{c}\frac{d{i}_{L}\left(t\right)}{dt}\\ \frac{d{V}_{C}\left(t\right)}{dt}\end{array}\right]=\left[\begin{array}{cc}-\frac{({r}_{sw}+{r}_{L}+\frac{R.{r}_{C}}{R+{r}_{C}})}{L}& -\frac{R}{(R+{r}_{C})L}\\ -\frac{R}{(R+{r}_{C})C}& -\frac{1}{(R+{r}_{C})C}\end{array}\right]\left[\begin{array}{c}{i}_{L}(t)\\ {V}_{C}(t)\end{array}\right]+\left[\begin{array}{c}\frac{1}{L}\\ 0\end{array}\right]\left[{V}_{iN}(t)\right]$$
(12)
$${A}_{1}=\left[\begin{array}{cc}-\frac{({r}_{sw}+{r}_{L}+\frac{R.{r}_{C}}{R+{r}_{C}})}{L}& -\frac{R}{(R+{r}_{C})L}\\ -\frac{R}{(R+{r}_{C})C}& -\frac{1}{(R+{r}_{C})C}\end{array}\right]; {B}_{1}=\left[\begin{array}{c}\frac{1}{L}\\ 0\end{array}\right]$$
(13)

A similar illustration of the buck converter output voltage for mode (a) is:

$${V}_{O}(t)=\frac{R}{R+{r}_{C}}{V}_{C}(t)+\frac{R.{r}_{C}}{R+{r}_{C}}{i}_{L}(t)$$
(14)
$${V}_{O}(t)=\left[\begin{array}{cc}\frac{R.{r}_{C}}{R+{r}_{C}}& \frac{R}{R+{r}_{C}}\end{array}\right]\left[\begin{array}{c}{i}_{L}(t)\\ {V}_{C}(t)\end{array}\right]+\left[0\right]\left[{V}_{IN}(t)\right]$$
(15)
$$C_1=\begin{bmatrix}\frac{R.r_C}{R+r_C}&\frac R{R+r_C}\end{bmatrix};\;D_1=\left[0\right]$$
(16)
  • Case (b): Switch OFF [DT< t < T]: The diode stays in the forward biased mode while the switch is OFF. Therefore, the load and inductor circuit caused the capacitor to discharge. For this mode, the voltage and current equations are as follows:

    $$\frac{R}{R+{r}_{C}}{V}_{C}\left(t\right)=\left({r}_{D}+{r}_{L}+\frac{R.{r}_{C}}{R+{r}_{C}}\right){i}_{C}\left(t\right)+L\frac{d{i}_{L}\left(t\right)}{dt}$$
    (17)

The state variable of inductor current for mode (b) can be achieved by rewriting the Eq. (17) as:

$$\frac{d{i}_{L}\left(t\right)}{dt}=-\frac{R.{V}_{C}\left(t\right)}{\left(R+{r}_{C}\right)L}-\frac{\left({r}_{D}+{r}_{L}+\frac{R.{r}_{C}}{R+{r}_{C}}\right)}{L}{i}_{L}\left(t\right)$$
(18)
$${i}_{L}(t)={i}_{C}(t)+{i}_{R}(t)$$
(19)
$$C\frac{d{V}_{C}(t)}{dt}=\frac{R}{R+{r}_{C}}{i}_{L}\left(t\right)-\frac{{V}_{C}(t)}{R+{r}_{C}}$$
(20)

Rewriting Eq. (20) as follows yields the state variable of capacitor voltage for mode (b).

$$\frac{d{V}_{C}\left(t\right)}{dt}=\frac{R}{C\left(R+{r}_{C}\right)}{i}_{L}(t)-\frac{1}{C\left(R+{r}_{C}\right)}{V}_{C}(t)$$
(21)

Using Eqs. (18) and (20), the state space model of a buck converter for mode (b) can be written as follows:

$$\left[\begin{array}{c}\frac{d{i}_{L}(t)}{dt}\\ \frac{d{V}_{C}(t)}{dt}\end{array}\right]=\left[\begin{array}{cc}-\frac{\left({r}_{D}+{r}_{L}+R{r}_{C}\right)}{\left(R+{r}_{C}\right)L}& -\frac{R}{\left(R+{r}_{C}\right)L}\\ -\frac{R}{\left(R+{r}_{C}\right)C}& -\frac{1}{\left(R+{r}_{C}\right)C}\end{array}\right]\left[\begin{array}{c}{i}_{L}(t)\\ {V}_{C}(t)\end{array}\right]+\left[\begin{array}{c}0\\ 0\end{array}\right]\left[{V}_{IN}(t)\right]$$
(22)

The DC-DC buck converter's output voltage can be expressed as:

$${V}_{o}\left(t\right)=\left[\begin{array}{cc}\frac{R.{r}_{C}}{R+{r}_{C}}& \frac{R}{R+{r}_{C}}\end{array}\right]\left[\begin{array}{c}{i}_{L}(t)\\ {V}_{C}(t)\end{array}\right]+\left[0\right]\left[{V}_{i}(t)\right]$$
(23)
$${A}_{2}=\left[\begin{array}{cc}-\frac{\left({r}_{D}+{r}_{L}+R.{r}_{C}\right)}{\left(R+{r}_{C}\right)L}& -\frac{R}{\left(R+{r}_{C}\right)L}\\ -\frac{R}{\left(R+{r}_{C}\right)C}& -\frac{1}{\left(R+{r}_{C}\right)C}\end{array}\right]$$
(24)
$${B}_{2}=\left[\begin{array}{c}0\\ 0\end{array}\right];{C}_{2}=\left[\begin{array}{cc}\frac{R.{r}_{C}}{R+{r}_{C}}& \frac{R}{R+{r}_{C}}\end{array}\right];{D}_{2}=\left[0\right]$$
(25)

The average value of Aavg, Bavg, Cavg, and Davg, can be calculated as:

$${A}_{avg}={A}_{1}D+{A}_{2}\left(1-D\right)$$
(26)
$${B}_{avg}={B}_{1}D+{B}_{2}\left(1-D\right)$$
(27)
$${C}_{avg}={C}_{1}D+{C}_{2}\left(1-D\right)$$
(28)
$${D}_{avg}={D}_{1}D+{D}_{2}\left(1-D\right)$$
(29)

After substituting the value of A1 from Eq. (13) and A2 from Eq. (24) in Eq. (26), we get the average value Aavg as:

$${A}_{avg}=\left[\begin{array}{cc}-\frac{\left({r}_{sw}+{r}_{L}+\frac{R.{r}_{C}}{R+{r}_{C}}\right)}{L}& -\frac{R}{\left(R+{r}_{C}\right)L}\\ \frac{R}{\left(R+{r}_{C}\right)C}& -\frac{1}{\left(R+{r}_{C}\right)C}\end{array}\right]$$
(30)

After substituting the value of B1 from Eq. (13) and B2 from Eq. (25) in Eq. (27), we get the average value Bavg as:

$${B}_{avg}=\left[\begin{array}{c}\frac{1}{L}\\ 0\end{array}\right]$$
(31)

After substituting the value of C1 from Eq. (16) and C2 from Eq. (25) in Eq. (28), we get the average value Cavg as

$${C}_{avg}=\left[\begin{array}{cc}\frac{R.{r}_{C}}{R+{r}_{C}}& \frac{R}{R+{r}_{C}}\end{array}\right]$$
(32)

After substituting the value of D1 from Eq. (16) 93.4◦ and D2 from Eq. (25) in Eq. (29), we get the average value Davg as

$${D}_{avg}=0$$
(33)

So, the transfer function of buck converter is as follows:

$${G}_{B1}\left(s\right)=\frac{5128.21s+128526444.43}{{s}^{2}+9469.93s+131782447.47}$$
(34)

Tuning of PI Controller

Transfer function equation of PI controller is as follows:

$${G}_{C}\left(s\right)={K}_{p}+\frac{{K}_{i}}{s}$$
(35)

The characteristics equation of closed loop system is given by:

$$1+{e}^{-j\theta }{T}_{1}(s)\times {G}_{C}(s)=0$$
(36)
$$\mathrm{where},\mathrm e^{-j\theta}=\cos\;\theta-j\;\sin\;\theta$$
(37)

Putting Eq. (35) and (37) in Eq. (36), we get:

$$1+(\cos\;\theta-j\;\sin\;\theta)\times\frac{b_1s+b_0}{a_2s^2+a_1s+a_0}\left(K_p+\frac{K_i}s\right)=0$$
(38)

Substituting s=jω in Eq. (38) we get,

$$\left({K}_{p}{X}_{1}+{K}_{i}{X}_{2}\right)+j\left({K}_{p}{X}_{4}+{K}_{i}{X}_{5}\right)={X}_{3}+j{X}_{6}$$
(39)

Here,

$$X_1=b_0\omega\;\sin\;\theta-b_1\omega^2\;\cos\;\theta$$
(40)
$$X_2=b_0\;\cos\;\theta-b_1\omega\;\sin\;\theta$$
(41)
$${X}_{3}={a}_{1}{\omega }^{2}$$
(42)
$$X_4=b_1\omega^2\;\sin\;\theta+b_0\omega\;\cos\;\theta$$
(43)
$$X_5=b_1\omega\;\cos\;\theta-b_0\;\sin\;\theta$$
(44)
$${X}_{6}={a}_{2}{\omega }^{3}-{a}_{0}\omega$$
(45)

Separating real and imaginary part in Eq. (39) We get,

$$K_P\left(\omega,\theta\right)=\frac{\left[-a_2b_1\omega^3\;\sin\;\theta+\left(-a_2b_0+a_1b_1\right)\omega^2\;\cos\;\theta+\left(-a_1b_0+a_0b_1\right)\omega\;\sin\;\theta+a_0b_0\;\cos\;\theta\right]}{-\left(b_1^2\omega^2+b_0^2\right)}$$
(46)
$$K_i\left(\omega,\theta\right)=\frac{\omega\begin{bmatrix}-a_2b_1\omega^{3\;}cos\;\theta+\left(a_2b_0-a_1b_1\right)\omega^2\;cos\;\theta\\+\left(-a_1b_0+a_0b_1\right)\;\omega\;cos\;\theta-a_0b_0\;sin\;\theta\end{bmatrix}}{-\left(b_1^2\omega^2+b_0^2\right)}$$
(47)

For a required phase margin of 93.4° (Refer Fig. 4), KP verses Ki plot at varying frequency from 103 rad/sec to 04 rad/sec is obtained as shown below. From the plot (Refer Fig. 5) it is concluded that for system to be stable for 0.1<\({K}_{p}\)<0.6 and 1000<\({K}_{i}\)< 5500. To tune the controller KP=0.4 and Ki=5000 is considered.

Fig. 4
figure 4

Bode plot of designed buck converter

Fig. 5
figure 5

Stability Boundary Locus Plot

We have selected Kp = 0.4, Ki = 5000. The frequency response of the adjusted buck converter (see Fig. 6) confirms that the phase margin has been raised to 102°. This greater phase margin aids in preventing overshoot and hence provides system stability.

Fig. 6
figure 6

Frequency Response of PI Controlled Buck Converter

Control Strategy of Designed Interleaved Multi-Phase Buck Converter

PI: Transfer function of outer loop proportional integral controller, PI1, PI2, PI3. and PI4: Transfer function of inner loop Phase 1, 2, 3 and 4 proportional integral controllers

GB1, GB2, GB3, and GB4: Transfer function of buck converter for Phase 1, 2, 3 and 4

P0, P1, P2, P3: Priorities for different levels of charging

C0, C1, C2, and C3: Control signals to activate the tristate buffer for different charging levels

T1, T2, T3, and T4: Tristate buffers

PWM: Pulse Width Modulated Signal Generator

The control block diagram of a multi-phase buck converter (refer to Fig. 7) shows that it comprises of four buck converters coupled in parallel to accomplish interleaving. The proposed control strategy uses the converter output voltage (VO) as feedback and compares it to the reference voltage (VREF) to generate an error signal i.e., e(t) for the PI controller tuned using the stability locus approach. The output generated by outer loop PI controller is in terms of reference current. The inner loop of proposed controller is divided into 4 different phases, for each phase inductor current i.e., IL1, IL2, IL3 and IL4 is used as the feedback which is compared it to the reference current (IREF) generated by output of outer loop PI controller. The actuating signal generated at each phase is provided to inner loop PI Controllers. Outputs of inner loop PI controllers are provided to PWM generator to generate a gate pulse which controls the switching of MOSFETs to achieve buck operation for the respective phases. The designed converter (refer Fig. 2) is controlled by interleaved switching control i.e., gate pulses generated to activate MOSFETs have equal switching frequency but variable phase difference with an angle difference of 90°.

Fig. 7
figure 7

Schematic Representing switching controller of Interleaved Converter

The basic idea to implement four buck converters in parallel is to achieve level 1 to level 4 charging stages in a single charging port to fulfil the objective of universal charging port. For instance, during level 1 charging phase 1 of the converter will be activated, during level 2 charging, phase 1 and 2 of buck converter (refer Fig. 7) will be activated, similarly during level 3 charging, phase 1, 2, and 3 of buck converter (refer Fig. 7) will be incorporated, similarly during level 4 all 4 phases will be activated. The level of charging will be set by the user which is based on the priority set by the EV consumer. Priority encoding logic circuit (Refer Fig.) is designed in order to generate control signals to activate the required phases for the desired output in terms of charging rate. The combinational logic circuit is incorporated using 4*2 priority encoder along with 2*4 digital logic circuit (Refer Fig. 8). The digital circuit is designed using K-map approach based on truth table (Refer Table 3) of the required circuit.

Fig. 8
figure 8

Schematic Representing 4 level input priority logic combinational circuit

Table 3 Truth Table of 4 Level Input Priority Encoder

The proposed encoder circuit compresses the 4bit input provided by the consumer into a 2bit binary output, encoded signal is then decoded by a 2*4 decoder to generate a 4bit output in terms of control pulses to activate tristate buffer which in turn will activate the different phases of converter. O1 and O2 are the outputs (refer Fig. 8) of the intermediate input/outputs for the digital logic circuit of the multi-phase interleaved buck converter. The C0, C1, C2 and C3 are output of the digital logic circuit to activate the tristate switch T1, T2, T3, and T4 to operate the multi-phase interleaved buck converter at various charging levels (i.e., level 1, level2, level 3 and level 4). The K-map technique is used to obtain the digital logic diagram of the control circuit from the truth table [refer Table 3]. The K-map from the truth table [refer Table 3] for the 4*2 priority encoder outputs O2 and O1 are shown in Fig. 9a and b. After solving K-maps, we get the Boolean expression for O1 and O2 as shown in Fig. 9a and b respectively.

Fig. 9
figure 9

(a) K-map for 4*2 priority encoder output O1. (b) K-map for 4*2 priority encoder output O2

From the truth table (refer Table 3), we obtain the K-map and Boolean expression for tristate input of the switches (T1, T2, T3 and T4) in term of outputs O2 and O1 respectively in Fig. 10a, b, c and d as below. The Boolean function of tristate switch (T4) input (C3) can be calculated using as:

Fig. 10
figure 10

(a) Boolean function for T1. (b) Boolean function for T2. (c) Boolean function for T3. (d) Boolean function for T4

$${\mathrm{C}}_{3}{= \mathrm{O} }_{2}{\mathrm{.O}}_{1}\mathrm{=}\left({\mathrm{P}}_{2}{+ \mathrm{P} }_{3}\right)\mathrm{.}\left({\mathrm{P}}_{3}+{\mathrm{P}}_{1}.\overline{{\mathrm{P} }_{2}}\right)={\mathrm{P}}_{2}{\mathrm{P}}_{3}+{\mathrm{P}}_{3}+{\mathrm{P}}_{3}{\mathrm{P}}_{1}.\overline{{\mathrm{P} }_{2}}={\mathrm{P}}_{3}\left(1+{\mathrm{P}}_{1}.\overline{{\mathrm{P} }_{2}}\right)={\mathrm{P}}_{3}$$
(48)

The Boolean function of tristate switch (T3) input (C2) can be calculated using as:

$${\mathrm{C}}_{2}{= \mathrm{ O} }_{2}{= \mathrm{ P} }_{2}+{\mathrm{P}}_{3}$$
(49)

The Boolean function of tristate switch (T2) input (C1) can be calculated using as:

$${\mathrm{C}}_{1}{= \mathrm{ O} }_{2}{+ \mathrm{O} }_{1}\mathrm{=}\left({\mathrm{P}}_{2}+{\mathrm{P}}_{3}\right)+\left({\mathrm{P}}_{3}+{\mathrm{P}}_{1}.\overline{{\mathrm{P} }_{2}}\right)={\mathrm{P}}_{2}+{\mathrm{P}}_{3}+{\mathrm{P}}_{1}.\overline{{\mathrm{P} }_{2}}$$
(50)

The Boolean function of tristate switch (T2) input (C1) can be calculated using as:

$${\mathrm{C}}_{0}= \mathrm{1}$$
(51)

Analysis of Proposed Algorithm

The flow chart of the priority-based control algorithm is shown in Fig. 11. The battery capacity of electric vehicle is 32.2 kWh and 100 Ah (considered) for this case study. There are four modes considered to test the performance of the proposed algorithms. Priority-based optimization is used to keep the grid power level upto 60kW. In this mode:

Fig. 11
figure 11

Flow Chart representing of the proposed algorithm

$${P}_{Net}={P}_{grid}-{P}_{Total}$$
(52)
$${P}_{EV}={P}_{Net (L)}$$
(53)

\({P}_{Net (L)}\) is the lower rate power from net power.

The charging time of the electric vehicle can be calculated as:

$${T}_{c}=\frac{{\mu }_{EV}}{{I}_{c}}$$
(54)

where Tc is charging time of electric vehicle, µEV is the battery capacity of electric vehicle, Ic is the charging current of electric vehicles.

  • Case 1 (Priority-Low Charging): When power consumed by the houses across the community lies between 36-48 kW then based on the proposed algorithm (refer Fig. 11) remaining power across the grid which is maintained at 60 kW will be in the range of 12-24 kW and this will operate the charger with low priority (P0) at that instant the priority encoder input will be 0001 (Refer Table 3). The digital control logic circuit (refer Fig. 8) generate a control signal 0001 (i.e., only C0 will be high) to activate the tristate buffers. Therefore, only tristate buffer T1 will remain high and multi-phase interleaved converter will charge the electric vehicle at level 1 of average output current of 40 amp (refer Fig. 13) at 300 volts.

In this mode, the charging current is 40 A, the charging time of the electric vehicle can be estimated as:

$${\mathrm{T}}_\mathrm{c}=\frac{\mathrm{100 Ah}}{\mathrm{40A}}\mathrm{=}2.5\;\mathrm{Hours}\;\mathrm{or}\;150\;\mathrm{minutes}$$

Therefore, the multi-phase interleaved buck converter charges the electric vehicle with average power of 12 kW in this mode and electric vehicle of 30.2 kWh battery will fully charge within 150 minutes. In this mode:

$$\begin{array}{c}P_{Net}=60-(36\;to\;48)\mathrm{kW}\\P_{Net}=12\;\mathrm{kW}\;\mathrm{to}\;24\;\mathrm{kW}\\P_{EV}=12\;kW\end{array}$$

So, to adopt the slow charging rate to balance the grid power upto 60 kW.

  • Case 2 (Priority-Medium Charging): When power consumed by the houses across the community is between 24-36Kw then based on the proposed algorithm remaining power across the grid will lie between 24-36 kW. This will lead to operation of charger at medium priority (P1) at that instant the priority encoder input will be 0010 (Refer Table 3). The digital control logic circuit (refer Fig. 8) generate a control signal 0011 (i.e., only C1 and C0 will be high) to activate the tristate buffers. Therefore, only tristate buffers T1 and T2 will remain ON, and multi-phase interleaved converter will charge the electric vehicle at level 2 (Medium) of average output current of 80 amp (refer Fig. 14) at 300 volts.

In this mode, the charging current is 80 A, the charging time of the electric vehicle can be estimated as:

Therefore, the multi-phase interleaved buck converter charges the electric vehicle with average power of 24 kW in this mode and electric vehicle of 30.2 kWh battery will fully charge within 75 minutes. In this mode:

$$\begin{array}{c}P_{Net}=60-\left(24\;to\;36\right)\mathrm{kW}\\P_{Net}=24\;\mathrm{kW}\;\mathrm{to}\;36\;\mathrm{kW}\\P_{EV}=12\;kW\\\;\end{array}$$

So to adopt the medium charging rate to balance the grid power upto 60 kW.

  • Case 3 (Priority-Fast Charging): When overall Power consumed by all the houses across the community is between 12-24 kW then remaining power that will be utilized by the charger will lie between 36-48kW. This will lead to operation of charger at Fast Charging priority (P2) at that instant the priority encoder input will be 0100 (Refer Table 3). The digital control logic circuit (refer Fig. 8) generate a control signal 0111. It means the C2, C1 and C0 will be high and C3 will remain at low state. Therefore, tristate buffers T1, T2 and T3 will remain ON, while tristate buffer remains on OFF state. So, the multi-phase interleaved converter will charge the electric vehicle at level 3 (Fast Charging) of average output current of 120 amp (refer Fig. 14) at 300 volts. In this mode, the charging current is 120 A, the charging time of the electric vehicle can be estimated as:

    $${\mathrm{T}}_\mathrm{c}=\frac{\mathrm{100Ah}}{\mathrm{120A}}=0.83\;\mathrm{Hours}\;\mathrm{or}\;\mathrm{50}\;\mathrm{minutes}$$

Therefore, the multi-phase interleaved buck converter charges the electric vehicle with average power of 36 kW in this mode and electric vehicle of 30.2 kWh battery will fully charge within 50 minutes. In this mode:

$$\begin{array}{c}P_{Net}=60-(12\;to\;24)\;\mathrm{kW}\\P_{Net}=36\;\mathrm{kW}\;\mathrm{to}\;48\;\mathrm{kW}\\P_{EV}=36\;kW\end{array}$$

So to adopt the fast charging rate to balance the grid power upto 60kW.

  • Case 4 (Priority-Ultra Fast Charging): In this case power consumed by the houses across the community is less than 12kW then remaining power as per the proposed algorithm will be operated at rating greater than 48kW and at this instant the priority level will be superfast charging i.e., P4. The digital control logic circuit (refer Fig. 8) generate a control signal 1111. It means the C2, C1 and C0 and C3 will be high. Therefore, tristate buffers T1, T2, T3 and T4 will remain ON. So, the multi-phase interleaved converter will charge the electric vehicle at level 4 (Super-Fast Charging) of average output current of 160 amp (refer Fig. 15) at 300 volts. Therefore, the multi-phase interleaved buck converter charges the electric vehicle with average power of 48 kW in this mode and electric vehicle of 30.2 kWh battery will fully charge within 37.5 minutes.

In this mode, the charging current is 160 A, the charging time of the electric vehicle can be estimated as:

The main objective behind the control strategy is to provide a cost and energy effective solution to electric vehicle consumer in terms of battery charging current to charge EV battery with up to 4 charging modes (Refer Table 4) based on availability of power across grid. As shown in Table 4, the charging time of a 30-kW electric vehicle for four different priorities is estimated. During low priority (P0) then a 30.2 kWh electric vehicle charge 100 percentage within 150 minutes, during ultra-fast charging priority the 30.2 kWh electric vehicle will charge at 4 times faster rate as compare the charging with low priority and charge 100 percent within 37.5 minutes as mentioned in Table 4.

Table 4. Battery Charging Time and Current based on EV Consumer Input

In this mode:

$$\begin{array}{c}{P}_{Net}=60-\left(12 \right){\mathrm{kW}}\\ {P}_{Net}= 48\mathrm{ kW}\\ {P}_{EV}=48 kW\end{array}$$

So, to adopt the ultra-fast-charging rate to balance the grid power upto 60kW.

Note: The charging current curves represented in Figs. 12, 13, 14 and 15 are extracted during simulation performed out with the designed Universal Interleaved EV charger, driving the variable loads within the operational range of charger i.e., 12-48 kW.

Fig. 12
figure 12

Charging Current during level 1 Charging mode

Fig. 13
figure 13

Charging Current during level 2 Charging mode

Fig. 14
figure 14

Charging Current during level 3 Charging Mode

Fig. 15
figure 15

Charging Current during level 4 Charging Mode

The cost analysis for electric vehicles (EVs), involves several factors, including peak and off-peak electricity rates, charging efficiency, and overall energy costs. Utility companies have tiered pricing for electricity, with higher rates during peak hours. Charging during peak hours can significantly increase the costs. Off-peak rates are typically lower and occur during times of lower electricity demand. Charging during off-peak hours can help save on electricity costs.

The efficiency of the charging process can impact the amount of electricity user need to charge the EV. Some energy is lost as heat during the charging process. The charging efficiency varies depending on the charger type (e.g., Level 1, Level 2, DC fast charging). The time it takes to charge the EV affects the cost. Faster charging methods like DC fast charging may be more expensive per kilowatt-hour but can save time. EV's battery capacity plays a role in the overall cost. A larger battery will require more electricity to reach a full charge, increasing your costs. Calculating the overall energy cost involves considering the electricity rates, charging efficiency, and the energy capacity of your EV's battery. The formula to calculate cost is:

$$C=\left({\eta }_{c}\times {C}_{B}\right)\times R$$
(55)

where, C is Cost, \({\eta }_{c}\) is Charging Efficiency, \({C}_{B}\) is battery capacity and \(R\) is electricity rate.

In this scenario, you can see that charging during off-peak hours is more cost-effective.

Simulation Results

This section serves to analyze the way the multi-phase interleaved universal charger that was created using the suggested algorithm performs. The algorithm's main goal is to use the EV charger as efficiently as possible given the amount of power still available on the grid. Using Simulink, a MATLABTM-based graphical programming environment for modelling, simulating, and analyzing multidomain dynamical systems, a real-time application based on the suggested technique has been simulated. All simulations provided in this research were run on a computer based on AMD Ryzen® 7, 6800H CPU 3.2GHz with 16 GB RAM operated with Microsoft Windows 11 Edition 64-bit operating system.

The performance of PI controller designed to achieve proper buck operation is also verified in this section. The control strategy for buck converter and tuning of PI controller using graphical approach is described in previous sections. To analyze that PI controller is tuned perfectly voltage curve is obtained and based on Fig. 16 it is determined that output voltage is regulated at desired level of 300V. From Fig. 11, it has been verified that tuned PI controller is able to maintain due to load variations from 3Ω-12Ω.

Fig. 16
figure 16

Output Voltage curve of multi-stage interleaved buck converter

Actual load consumption data from domestic households have been considered to create and validate the system with great accuracy and precision. To operate grid at maximum efficiency (refer Fig. 17) once the load demand across households is meet the remaining power is utilized by the EV charger to maintain grid at constant level.

Fig. 17
figure 17

Power consumption from grid

As shown in figure Fig. 18 from 0-750 minutes the load consumed by the household lies within the range of 0-10 kW whereas from 750-1440 minutes load demand increases to 20 kW. The proposed method during first phase (0-750 minutes) operates a charger at ultra-fast charging mode i.e., in the range of 40-50kW (Refer Fig. 19). Similarly, during second phase (750-1440 minutes) load demand across the household is increased and to maintain power across the grid for its stability EV charger get switched into Fast Charging mode i.e., 30-40 kW (refer Fig. 19).

Fig. 18
figure 18

Power utilized by households within community of various EV users

Fig. 19
figure 19

Power utilized by EV charger for power balancing in Grid

In automatic selection the user need not to bother about the switching the electric vehicle charging mode according to the peak load and grid supply, it will automatically select by the priority checker. However, if there is requirement of charge the vehicle in fast mode during urgency then the manual mode will be helpful but there is more swathing delay due to this.

With proper planning, investment, and a commitment to standardization, it is feasible to develop a reliable and accessible EV charging infrastructure to support the growing adoption of electric vehicles. Public-private partnerships and government support can play a significant role in making this transition smoother and more efficient. At initial stage it can be implemented in house and in offices.

Conclusion

This paper describes a 3-phase AC grid-interfaced universal electric car charger based on DC-DC interleaved buck converters. The paper provides a detailed mathematical analysis of the system, considering non-idealities in the converter elements, to create a precise mathematical representation of the suggested system. The transfer function equation of the system is derived, and the stability of the system is estimated, which shows that the system is not stable. To stabilize the system, a PI-based controller is used, and the controller's parameters are tuned using stability boundary locus technique. The proposed system offers a degree of freedom to the user, allowing them to choose from 4 different modes of EV charging based on time, financial viability, and availability of power across the grid. The performance of the system was tested under various load scenarios, and the results show that the DC bus voltage is always regulated to the desired value, and a variable charging rate is produced by varying the charging current's amplitude. The proposed system can be utilized to maintain grid stability, and the same procedure can also be followed for microgrid configurations. The aim of the proposed algorithm is to provide economic viability along with a degree of freedom in terms of EV charging rate, making the system less complicated and more user-friendly. In future it can be integrated with renewable energy resources like solar and wind. In that case the load curve will be shifted, and off-peak and peak hours will change.

The proposed multi-phase interleaved universal charging port faces a significant drawback due to its reliance on a consistent electric grid. This limits its suitability in remote or poorly connected areas where electricity access is sporadic, hindering widespread electric vehicle adoption. Infrastructure upgrades would be required in such regions, increasing complexity and cost. Users may experience reduced reliability, impacting the convenience of electric vehicles. In emergency situations or underserved areas, the charging port's dependence on a stable grid may pose challenges. Future solutions could involve integrating energy storage systems or designing grid-independent charging stations, enhancing accessibility and resilience in less reliable grid environments.