Preprint
Article

Implementation of Deep Learning based Bi-Directional DC-DC Converter for V2V and V2G applications in Microgrid - An Experimental Investigation

Altmetrics

Downloads

226

Views

152

Comments

0

Submitted:

27 April 2023

Posted:

28 April 2023

You are already at the latest version

Alerts
Abstract
This paper presents a proposal for a non-isolated bidirectional converter (NIBC) controlled by a deep neural network (DNN) to enable vehicle-to-vehicle (V2V) and vehicle-to-grid (V2G) charging, which contributes to the development of more efficient and sustainable transportation and energy systems. The DNN controller manages power flow in both directions, making it possible to charge electric vehicles (EVs) and discharge power from EVs to the grid with improved efficiency and performance compared to traditional control methods. The non-isolated topology used in this proposal offers several benefits, including reduced cost, smaller size, and higher efficiency. To train the DNN controller, a large dataset of simulations was used, and the results were validated with a hardware setup. The real-time performance of the DNN controller was compared to a proportional-integral (PI) based controller through simulated results. The findings of the study show that the DNN controller outperforms traditional PI controllers.
Keywords: 
Subject: Engineering  -   Electrical and Electronic Engineering

1. Introduction

In recent times, there has been a significant shift towards using electric vehicles (EVs) in comparison to traditional fuel-based vehicles. This transition can be attributed to the limitations of conventional vehicles, such as their harmful impact on the environment due to increased pollution and reliance on non-renewable energy sources [1,2]. On the other hand, EVs have garnered immense popularity due to their eco-friendliness and the ability to charge them with renewable energy sources, as they can run on a direct DC supply [3]. According to the International Energy Agency (IEA), the number of electric cars on the road exceeded 15 million in 2022, up from just a few thousand a decade ago. China has become the largest EV market, accounting for about half of the world’s EV sales [4]. The United States and Europe are also experiencing significant growth in EV adoption, with countries like Norway and the Netherlands leading the charge. In India, the electric vehicle [5,6] market has experienced substantial growth, thanks to the implementation of favourable government policies and programs. It is exciting to note that between 2022 to 2030, we expect a remarkable compound annual growth rate (CAGR) of 49% for the domestic EV market in India. Despite this growth, EV adoption in India is still limited, with only 13 lakh electric vehicles currently on Indian roads as of August 2022.

1.1. Motivation

One of the biggest challenges to EV growth in India is the lack of sufficient charging stations, which leads to longer charging times and limited options for EV owners. However, a potential solution to this problem is V2V charging[7]. V2V charging enables EV owners to transfer charge between two vehicles, reducing the need for charging stations and the burden on the grid. This technology is particularly useful in emergencies or when a vehicle is parked for an extended period. Transferring excess charge from one vehicle to another can provide a quick and convenient charging solution without requiring a traditional charging station.
Moreover, V2V charging has several potential benefits, including increasing the range of electric vehicles while on the road and reducing the need for large-scale charging infrastructure, which can be expensive and take up space. Various converters are used to transfer charge between two vehicles to build a V2V charger [8]. One such converter is the NIBC, which has low losses, high efficiency, and fewer components, making it suitable for low-voltage-level applications. Apart from V2V charging, these converters are also helpful for V2G [9] applications, where vehicles can charge from the grid during off-peak hours and supply power to the grid during peak hours. This technology benefits the grid and allows EV owners to get paid for transferring the charge to the grid on a kWh basis, which could incentivize more people to adopt electric vehicles. Overall, V2V charging and bi-directional converters have the potential to revolutionize the way we charge our EVs and help accelerate the adoption of EVs in India.
Figure 1. Comprehensive functions of bi-directional converter .
Figure 1. Comprehensive functions of bi-directional converter .
Preprints 72047 g001

1.2. Literature review

The performance of switched-mode DC-DC power converters is dependent on various factors, including a more comprehensive stable operating range, high accuracy in maintaining a constant output voltage, and faster dynamic response. Achieving these parameters requires the development of effective control techniques, which can be challenging. Over the years, researchers have developed various control techniques, such as the voltage mode controller [10], current mode controller [11], and sliding mode controller [12]. The most used control technique for NIBC is the proportional integral derivative (PID) based control technique [13], which industries widely use due to its robustness and simple implementation. However, tuning PID control gains can be difficult, and gains of PID control need to be changed by altering the system parameters. Fuzzy logic control [14] is another rule-based technique that has a more comprehensive operating range and is cheaper to implement. However, this technique has a slower response to dynamic changes, which can destabilize the system. In recent years, researchers have shown interest in the ANN-based control technique [15], a data-driven control technique that does not depend on system parameters. This technique decreases inaccuracy and improves the system’s stability, with a faster response to dynamic changes. In [16], the ANN-based control algorithm showed better results than other controlling techniques. With its ability to adapt to different operating conditions, ANN-based control techniques can potentially revolutionize how we control switched-mode DC-DC power converters.
While traditional control techniques such as PID control will continue to be used in industries, data-driven control techniques such as ANN are the future of power converter control. This paper presents a novel approach for V2V and V2G charging using a deep learning neural network (DNN) based controller with a non-isolated bidirectional converter (NIBC).

1.3. Key contributions:

1.
The design of a highly efficient, modular bi-directional converter for V2V charging.
2.
Design of DNN-based closed-loop control for Bi- directional V2V and V2G charger.
3.
Elimination of PI control and its comparison with proposed technology.

1.4. Organization:

This paper presents a comprehensive analysis of a NIBC for V2V charging and is structured as follows: In Section II, the operation of the converter in both charging and discharging modes is explained. Section III outlines the proposed design for the converter’s controller. Section IV presents the simulation results of the bidirectional converter with the PID controller, and we also discuss the real-time implementation of V2V charging using deep learning techniques.

2. Section II - Operation of NIBC

The NIBC (Non-Isolated Bidirectional Converter) is a circuit that consists of several components, including two switches ( Q 1 and Q 2 ) with an on-state resistance R d s o n , an inductor (L) with an internal resistance of R L P , and capacitors on both sides of the source to filter out voltage variations ( C H and C L ). The two batteries, HV (High Voltage V H ) and LV (Low Voltage V L ), are connected at either side of the converter. The HV battery, with an internal resistance of R 1 , and the LV battery, with an internal resistance of R 2 , form two voltage sources, V 1 and V 2 , respectively, as shown in Figure 2. The converter can operate in two modes: charging and discharging. In charging mode, the HV side battery charges the LV side battery. In contrast, in discharging mode, the LV side battery charges the HV side battery. Understanding these modes is crucial to developing a control strategy for the NIBC.
The operation of two modes are explained below:

2.1. Mode I:

During this mode, the HV side battery charges the LV side battery, operating as a buck mode. When the Q 1 switch is turned on, inductor L accumulates energy during the on period. Q 1 remains on for the DTs period, and the current flows from V H - Q 1 -L- V L - V H , as illustrated in Figure 3a. When Q 1 is turned off, the energy stored in the inductor is transferred to the LV side by turning on the Q 2 switch. Q 1 remains off for the (1-D) Ts period, and the current flows from L- V L - Q 2 -L, as illustrated in Figure 3b.

2.2. Mode II:

During this mode of operation, the LV side battery charges the HV side battery in a boost mode of operation. Inductor L accumulates energy from the LV side battery when Q 2 is turned on. During this period, the C H capacitor charges the HV side battery. The Q 2 switch remains on for the duration of DTs. The current path during this period is V L -L- Q 2 - V L and C H - V H - C H , as depicted in Figure 4a. When Q 2 is turned off, the energy stored in the inductor and the LV side battery combine to charge the HV side battery by turning on the Q 1 switch. The Q 2 switch remains off for the duration of (1-D) Ts. The current path during this period is V L -L- Q 1 - V H - V L , as shown in Figure 4b.
Designing a controller requires the small-signal modelling of the converter. The small-signal model for a DC-DC converter is a linearized representation of the converter around an operating point. It is used to design control systems that can regulate the converter’s output and achieve the desired performance.
To create a small-signal model for a DC-DC converter, we typically begin with the nonlinear equations that describe the converter’s behaviour, such as the current and voltage equations for the inductor and capacitor. We then linearize these equations around an operating point, which is usually the steady-state point of the converter.
From the above modes of operation, whether in charging or discharging mode, only two sub-intervals take place when Q1 and Q2 are on. The nonlinear equations for the two modes are similar. Therefore, the steady-state representation of the charging mode is:

Buck Mode(On): 

L d i L d t + i L R d s o n + R L P = V 1 V 2 R d s o n + R L P = R P
d i L d t = i L L R P + V 1 L V 2 L
C H d V 1 d t = i L + V 1 V H R 1
d V 1 d t = i L C H + V 1 R 1 · C H V H R 1 · C H
C L d V 2 d t = i L V 2 V L R 2
d V 2 d t = i L C L V 2 C L · R 2 + V L C L · R 2
i L ˙ V 1 ˙ V 2 ˙ = R P L 1 L 1 L 1 C H 1 R 1 · C H 0 1 C L 0 1 R 2 · C L · i L V 1 V 2 + 0 0 1 R 1 · C H 0 0 1 R 2 · C L · V H V L

Buck mode(Off): 

L d i L d t + i L R d s o n + R L P = V 2 R d s o n + R L P = R P
d i L d t = i L L R P V 2 L
C H d V 1 d t = V 1 V H R 1
d V 1 d t = V 1 C H · R 1 V H C H · R 1
C L d V 2 d t = i L V 2 V L R 2
d V 2 d t = i L C L V 2 R 2 · C L + V L R 2 · C L
i L ˙ V 1 ˙ V 2 ˙ = R P L 0 1 L 0 1 R 1 · C H 0 1 C L 0 1 R 2 · C L · i L V 1 V 2 + 0 0 1 R 1 · C H 0 0 1 R 2 · C L · V H V L
By averaging the two,
X ˙ = A o n · d ( t ) + A o f f · 1 d ( t ) · x ( t ) + B o n · d ( t ) + B o f f · 1 d ( t ) · u ( t )
d i L d t = i L L · R P + V 1 L V 2 L · d + i L L · R P V 2 L · 1 d
d i L d t = i L L · R P + V 1 L · d V 2 L
d V 1 d t = i L C H + V 1 R 1 · C H V H R 1 · C H · d + V 1 R 1 · C H V H R 1 · C H · 1 d
d V 1 d t = i L C H · d + V 1 R 1 · C H V H R 1 · C H
d V 2 d t = i L C L + V 2 R 2 · C L V L R 2 · C L · d + i L C L V 2 R 2 · C L V L R 2 · C L · 1 d
d V 2 d t = i L C L V 2 R 2 · C L V L R 2 · C L
i L ˙ V 1 ˙ V 2 ˙ = R P L d L 1 L d C H 1 R 1 · C H 0 1 C L 0 1 R 2 · C L · i L V 1 V 2 + 0 0 1 R 1 · C H 0 0 1 R 2 · C L · V H V L
i L V 1 V 2 = 1 0 0 0 1 0 0 0 1 · i L V 1 V 2
X ˙ = A · i L V 1 V 2 + B · V H V L & Y = C . i L V 1 V 2
A = R P L d L 1 L d C H 1 R 1 · C H 0 1 C L 0 1 R 2 · C L ; B = 0 0 1 R 1 · C H 0 0 1 R 2 · C L & C = 1 0 0 0 1 0 0 0 1
Dynamic model consists of steady state representation and small signal model Now substituting :
d = D + d ^ ; i L = I L + i L ^ ; V 1 = V 1 + V 1 ^ ; V 2 = V 2 + V 2 ^ ;
i L + i L ^ ˙ V 1 + v 1 ^ ˙ V 2 + v 2 ^ ˙ = R P L D + d ^ L 1 L D d ^ C H 1 R 1 · C H 0 1 C L 0 1 R 2 · C L i L + i L ^ V 1 + v 1 ^ V 2 + v 2 ^ + 0 0 1 R 1 C H 0 0 1 R 2 C L V H + v H ^ V L + v L ^
Now, differentiation of steady state values is zero and product of small signal models are neglected i.e.,
i L ˙ , V 1 ˙ , & V 2 ˙ = 0
and
d ^ . i L ^ , d ^ . v 1 ^ & d ^ . v 2 ^ 0
then the state space representation becomes:
i L ^ ˙ v 1 ^ ˙ v 2 ^ ˙ = R P L D L 1 L D C H 1 R 1 · C H 0 1 C L 0 1 R 2 · C L i L V 1 V 2 + R P L D L 1 L D C H 1 R 1 · C H 0 1 C L 0 1 R 2 · C L i L ^ v 1 ^ v 2 ^ + 0 d ^ L 0 d ^ C H 0 0 0 0 0 i L V 1 V 2 + 0 0 1 R 1 · C H 0 0 1 R 2 · C L V H V L + 0 0 1 R 1 · C H 0 0 1 R 2 · C L v H ^ v L ^
i L ^ ˙ v 1 ^ ˙ v 2 ^ ˙ = R P L D L 1 L D C H 1 R 1 · C H 0 1 C L 0 1 R 2 · C L i L ^ v 1 ^ v 2 ^ + 0 i L L 0 V 1 C H 0 0 0 0 0 d ^ + 0 0 1 R 1 · C H 0 0 1 R 2 · C L V H V L + 0 0 1 R 1 · C H 0 0 1 R 2 · C L v H ^ v L ^
i L ^ ˙ v 1 ^ ˙ v 2 ^ ˙ = R P L D L 1 L D C H 1 R 1 · C H 0 1 C L 0 1 R 2 · C L i L ^ v 1 ^ v 2 ^ + 0 0 I L L 1 R 1 · C H 0 V 1 C H 0 1 R 2 · C L 0 v H ^ v L ^ d ^
so, the above state space is represented as:
X ˙ = A X + B U 0 = A X + B U X = A 1 B U X s = S I A 1 B U Y s = C . S I A 1 B U s
i L ^ d ^ = 1 0 0 0 1 0 0 0 1 . S 0 0 0 S 0 0 0 S R P L D L 1 L D C H 1 R 1 · C H 0 1 C L 0 1 R 2 · C L 1 I L L V 1 C H 0
i L ^ d ^ = 1 0 0 0 1 0 0 0 1 . S + R P L D L 1 L D C H S 1 R 1 · C H 0 1 C L 0 S + 1 R 2 · C L 1 I L L V 1 C H 0
The linearized equations resulting from the small signal model provide a description of the converter’s behavior near the operating point, enabling the design of a controller to regulate the inductor current. Typically, the controller adjusts the converter’s duty cycle based on the difference between the desired and actual current, to achieve the desired response.
The small signal model is represented by a transfer function that relates the converter’s duty cycle to the desired output. This transfer function can be used to design a controller using control theory techniques, such as pole placement or optimal control.

3. Controller design

We have designed a control system based on a deep neural network (DNN), as depicted in Figure 5, to enable bidirectional flow in the converter. This controller produces a duty cycle based on the HV side battery voltage, LV side battery voltage, and current reference. The microcontroller then feeds this duty cycle to the converter [17]. The converter generates two complementary pulses based on the received duty cycle using the driver, which drives the switches in the converter, enabling them to work as intended. This DNN-based control design offers several benefits, such as improved accuracy, faster response time, and enhanced stability, making it an excellent option for various applications. By integrating the latest developments in deep learning and control systems design, this control technique opens up opportunities for more efficient and dependable converter operation
The DNN network comprises three inputs and one output, with the output being dependent on these three inputs, as shown in Equation (10):
D = f ( i r e f , V 1 , V 2 )
The power flow through the converter heavily relies on the duty cycle and direction of the current. Therefore, we have implemented a DNN-based control design to determine the duty cycle required for efficient converter operation. The duty cycle is based on two instances, which are discussed below
The first instance involves setting high and low limits for the two battery voltages. The DNN generates the duty cycle based on these limits, and the converter operates either in charging or discharging mode, depending on the battery voltages. The converter is in charging mode when the HV side battery voltage is higher than V H h i g h , and the LV side battery voltage is lower than V L l o w . Conversely, if the HV side battery voltage is lower than V H l o w , and the LV side battery voltage is higher than V L h i g h . the converter operates in discharging mode. However, this instance is rare, as the converter’s operation mainly depends on the current reference.
In the second instance, the DNN generates the duty cycle based on the current reference, which determines the mode of operation. If the current reference is positive, the converter operates in a buck or charging mode, with the HV side battery charging the LV side battery. On the other hand, if the current reference is negative, the converter operates in boost or discharging mode, with the LV side battery charging the HV side battery. Therefore, the DNN-based control design ensures that the bi-directional converter operates smoothly and efficiently, with minimal loss of power during the transition between different modes of operation.

3.1. Training and testing of proposed DNN controller:

To design a controller capable of managing a broader operating range and delivering a quicker dynamic response to the system, it is essential to consider datasets that reflect uncertainties and disturbances present in real-world scenarios. Although datasets created with past historical data can be helpful, they may not accurately reflect the uncertainties in real-time setups. To overcome this limitation, we used MATLAB software to simulate the converter and generate datasets that incorporate all uncertainties and disturbances present in the system. By incorporating this data into our models, we can design more robust and effective controllers that perform well in real-world situations. The generated datasets include both normal and abnormal data, enabling us to develop more comprehensive models that can handle a wide range of scenarios.

3.1.1. Hyper parameter selection:

Hyperparameter selection involves choosing the appropriate number of epochs, activation function, weight update rule, and network architecture parameters to train an effective neural network model that minimizes error. The activation function introduces nonlinearities in the system and improves the trained model’s efficiency for non-linear systems. Among the available activation functions,sigmoid ( A s ), tanh ( A t ) and ReLU ( A r ) are the most used.
TThe weight update policy minimizes the error between the obtained and reference output. Optimizers such as stochastic gradient descent (SGD), adaptive moment estimation (ADAM), and root mean square propagation (RMSprop) are generally used for weight updating policy.
Selecting the right hyperparameters is crucial for developing efficient deep-learning models. Root mean square error (RMSE) is a commonly used metric for evaluating the models’ performance, which measures the difference between the predicted and actual values. Choosing the optimal combination of optimization techniques and activation functions is essential for optimal performance. Table 1 provides a list of RMSE values for different combinations of these techniques and functions, with each epoch consisting of a single weight update. The RMSE values are reported for 50, 100, and 150 epochs, providing a comprehensive overview of each combination’s performance. By selecting the combination with the lowest RMSE value, we can determine the optimal hyperparameters for our deep-learning model.
According to Table 1, the ReLU activation function with SGD optimization function gives a lower RMSE compared to other combinations.
The collected dataset contains a diverse range of values, and normalizing the data between -1 to +1 or 0 to 1 is necessary for accurate and reliable analysis. The normalization process is typically done using standard scalar and min-max functions. In our case, we opted for the min-max function to normalize the data from 0 to 1 to enhance our data analysis and interpretation.
The scaled input is given in (11)
S c a l e d i n p u t = V x V x m i n V x m a x V x m i n
where V x represents the current input value of parameter x
V x m i n represents the minimum value of x and
V x m a x represents the maximum value of x
After scaling the data, we divided it into three sections for optimal utilization. The training process used 70% of the data, while 15% was used for validation and another 15% for testing. This approach helped us achieve an optimal balance between training the model, validating its performance, and testing its accuracy, ensuring the model’s predictions were reliable.

3.2. Algorithm

The DNN model comprises four layers, with one input layer consisting of three input nodes denoted as " I n ", while two hidden layers with ten nodes each represented as " H a n " and " H b n ," respectively. The output layer with one output node is indicated as " O n ". The weight parameters between " I n " and " H a n ," " H a n " and " H b n ," and " H a n " and " O n ,"are represented by m1, m2, and m3, respectively, as shown in Figure 6.
To predict the output O i ^ , the proposed model begins by learning parameters of m n , b i , and α , which are used as initial conditions. Equations (12), (13), and (14) show the output prediction.
The model is trained using the ReLU activation function and SGD optimization function, which yields better results compared to other combinations.
S 1 = m 1 I n + b 1 ; H a n = f S 1
S 2 = m 2 H a n + b 2 ; H b n = f S 2
S 3 = m 3 H b n + b 3 ; O n = f S 3 = O i ^
The RMSE metric is used for performance evaluation of proposed model and is shown in (15)
R M S E = 1 P i = 1 P ( O i O i ^ ) 2
The cost function is used to minimize RMSE between predicted and output value and is shown in (16)
C o s t J = 1 2 P i = 1 P O i ^ O i 2
Stochastic Gradient Descent (SGD) selects a small subset of training data β from the entire training state space randomly. As a result, the time taken for a single weight update iteration in SGD is significantly lower compared to gradient descent (GD).
In general, the weight update for Input and hidden layer is (16)
m m α β i β H i m T · H i + b i O i
The weight update for bias is given in (17)
m m α β i β m T · H i + b i O i
To ensure the accuracy and robustness of a DNN model, the model parameters are typically trained over multiple epochs. After the training is complete, the resulting model is tested and validated to assess its performance on new, unseen data. This iterative training, testing, and validation process allows fine-tuning of the model to achieve better results and improve its predictive power.

4. Results

In this section, we evaluate the performance of a bi-directional converter using two different controllers, namely PID and DNN. The performance of the bi-directional converter with the PID controller was simulated using MATLAB Simulink. Meanwhile, a real-time setup was used to evaluate the bi-directional converter with the DNN controller. We discuss the performance of these two different controllers in detail below.

4.1. PID Controller:

A MATLAB simulation was conducted on a bi-directional converter with a PID controller for both charging to discharging and discharging to charging operations. For the charging operation, we used a positive current reference, and for the discharging operation, we used a negative current reference. The simulation results are presented below:

4.1.1. Charging to discharging mode:

In this case, by altering the current reference from -2A to 2A, we successfully transitioned the operation of the bi-directional converter from charging to discharging mode using the PID controller. The inductor current in the bi-directional converter reached the new reference value in a mere 138ms, as shown in Figure 7.

4.1.2. Discharging to charging mode:

Upon implementing the PID controller for the bi-directional converter, we adjusted the current reference from 2A to -2A, which caused the converter to switch from discharging to charging mode. The time taken by the inductor current to reach the reference current during this transition is illustrated in the Figure 8 , and it was measured to be 140 ms.

4.2. DNN Controller:

The real-time implementation of a bi-directional converter featuring two batteries, which are replicas of those found in two vehicles, is presented. The setup showcases a higher voltage on one end and a lower voltage on the other end of the converter, as depicted in Figure 9. This innovative approach is crucial in ensuring efficient and reliable energy transfer between the two batteries. The successful implementation of this setup represents a significant step towards improving the efficiency and reliability of bi-directional converters in real-world applications.
Real-time implementation of a bi-directional converter with a DNN controller can facilitate smooth transitions from charging to discharging and vice versa. To demonstrate the effectiveness of this setup, we have included the inductor current for both mode transitions, as well as the voltage across the two batteries. The results showcase the seamless transition between the two modes, further emphasizing the importance and efficiency of DNN controllers in the bi-directional converter setup.

4.2.1. Charging to discharging mode:

Inductor Current: 

In this case, we performed a charging-to-discharging mode transition in a bi-directional converter by changing the current reference from 2.1A to -2.1A. Figure 10 shows the waveform of the inductor current during the transition from charging to discharging mode. Impressively, the inductor current reached the new reference value in approximately 975us, significantly faster than what the PID controller achieved. This outcome highlights the superior performance of the DNN controller over the PID controller in achieving a new reference value for the inductor current.

HV Battery ( V 1 ) : 

In this case, we discuss the voltage behavior of an HV side battery during the mode transition from charging to discharging operations. When the converter is in charging mode, the HV side battery will discharge and charge the LV side battery. The voltage across the HV side battery in this mode is around 24.48V. However, when the converter switches from charging to discharging operation, the HV side battery is charged by the LV side battery, causing a slight increase in the HV side battery voltage to around 24.75V. To accurately depict these slight changes in voltage, we used a voltage scale of 0.34/Div, as shown in Figure 11.

LV Battery ( V 2 ): 

In this case, we will discuss the voltage behavior of an LV side battery during the mode transition from charging to discharging operations. When the converter operates in charging mode, the HV side battery charges the LV side battery. The voltage across the LV side battery in this mode is approximately 12.7V. However, when the converter switches from charging to discharging operation, the LV side battery discharges and charges the HV side battery, leading to a decrease in LV side battery voltage to about 12.39V. To precisely depict these slight changes in voltage, we used a voltage scale of 0.125V/Div, as demonstrated in Figure 12.

4.2.2. Discharging to charging mode:

Inductor Current: 

In this case, we conducted a mode transition from discharging to charging in a bi-directional converter. We achieved this by changing the current reference from -1.5A to 2.1A. Figure 13 illustrates the waveform of the inductor current during the transition. Impressively, the inductor current reached the new reference value in roughly 960us, which is considerably quicker than what the PID controller accomplished. This outcome highlights the DNN controller’s superior performance over the PID controller in achieving a new reference value for the inductor current.

HV Battery ( V 1 ) : 

In this case, we will discuss the voltage behavior of an HV side battery during the mode transition from discharging to charging operations. When the converter is in discharging mode, the HV side battery charges by the LV side battery. The voltage across the HV side battery in this mode is around 24.9V. However, when the converter switches from discharging to charging operation, the HV side battery discharges and charges the LV side battery, causing a slight decrease in voltage to around 24.2V. To accurately depict these slight changes in voltage, we used a voltage scale of 0.34/Div, as shown in Figure 14.

LV Battery ( V 2 ) : 

In this case, we will be discussing the voltage behavior of the LV side battery during the transition from discharging to charging operations in a bi-directional converter. While the converter is in discharging mode, the LV side battery discharges and charges the HV side battery. During which, the voltage across the LV side battery is around 12.36V. However, when the converter switches from discharging to charging operation, the LV side battery will be charged by the HV side battery, resulting in a slight increase in the voltage of the LV side battery to around 12.6V. To accurately display these slight voltage changes, we used a voltage scale of 0.125V/Div, as shown in Figure 15.

5. Conclusion

This paper presents the significance of V2V and V2G charging and proposes a novel approach that employs a DNN-based non-isolated bi-directional converter. We conducted a hardware experiment of our proposed controller and compared the transition time of inductor current with a traditional PID controller using MATLAB Simulink software. The results demonstrate that the DNN controller yields a faster response time than the PI controller. Additionally, we analyzed the behavior of HV and LV side battery voltages during the transition from charging to discharging and vice versa. The results show that the DNN-based controller outperforms conventional PID controllers in terms of performance. These findings demonstrate the potential benefits of using DNN-based controllers for V2V and V2G charging systems.

References

  1. Mai, T.; Hand, M.M.; Baldwin, S.F.; Wiser, R.H.; Brinkman, G.L.; Denholm, P.; Arent, D.J.; Porro, G.; Sandor, D.; Hostick, D.J.; et al. Renewable electricity futures for the United States. IEEE Transactions on Sustainable Energy 2013, 5, 372–378. [Google Scholar] [CrossRef]
  2. Zhang, Y.; Gatsis, N.; Giannakis, G.B. Robust Energy Management for Microgrids With High-Penetration Renewables. IEEE Transactions on Sustainable Energy 2013, 4, 944–953. [Google Scholar] [CrossRef]
  3. Haegel, N.M.; Kurtz, S.R. Global Progress Toward Renewable Electricity: Tracking the Role of Solar. IEEE Journal of Photovoltaics 2021, 11, 1335–1342. [Google Scholar] [CrossRef]
  4. Li, W.; Yang, M.; Sandu, S. Electric vehicles in China: A review of current policies. Energy & Environment 2018, 29, 1512–1524. [Google Scholar] [CrossRef]
  5. A review of energy sources and energy management system in electric vehicles. Renewable and Sustainable Energy Reviews 2013, 20, 82–102. [CrossRef]
  6. Omahne, V.; Knez, M.; Obrecht, M. Social Aspects of Electric Vehicles Research—Trends and Relations to Sustainable Development Goals. World Electric Vehicle Journal 2021, 12. [Google Scholar] [CrossRef]
  7. Yang, K.; Huang, Y.; Qin, Y.; Hu, C.; Tang, X. Potential and challenges to improve vehicle energy efficiency via V2X: Literature review. International Journal of Vehicle Performance 2021, 7, 244–265. [Google Scholar] [CrossRef]
  8. Chaitanya, M.; Vinayak, A.; Pavan, B.G.; Lakshmi, N.; Sandeep, K. A Review of Bidirectional DC-DC,DC-AC Converters for V2G and G2V Applications. In Proceedings of the 2023 International Conference on Power, Instrumentation, Energy and Control (PIECON), 2023, pp. 1–6. [CrossRef]
  9. Technical investigation on V2G, S2V, and V2I for next generation smart city planning. Journal of Electronic Science and Technology 2019, 17, 100010. [CrossRef]
  10. Mummadi, V.; Mohan, B.K. Robust digital voltage-mode controller for fifth-order boost converter. IEEE Transactions on Industrial Electronics 2010, 58, 263–277. [Google Scholar] [CrossRef]
  11. Chattopadhyay, S.; Das, S. A Digital Current-Mode Control Technique for DC–DC Converters. IEEE Transactions on Power Electronics 2006, 21, 1718–1726. [Google Scholar] [CrossRef]
  12. Sliding mode control of DC/DC converters. Journal of the Franklin Institute 2013, 350, 2146–2165. [CrossRef]
  13. Wu, H.; Su, W.; Liu, Z. PID controllers: Design and tuning methods. 2014 9th IEEE Conference on Industrial Electronics and Applications, 2014; 808–813. [Google Scholar]
  14. Mattavelli, P.; Rossetto, L.; Spiazzi, G.; Tenti, P. General-purpose fuzzy controller for DC-DC converters. IEEE Transactions on Power Electronics 1997, 12, 79–86. [Google Scholar] [CrossRef]
  15. Machina, V.S.P.; Koduru, S.S.; Madichetty, S.; Mishra, S. Design of ANN Based Controller for Cyberattack Detection in DC-DC Buck Converter. In Proceedings of the 2022 22nd National Power Systems Conference (NPSC), 2022, pp. 460–464. [CrossRef]
  16. Srikanth, R.; Venkatesan, M.; Subba Rao, M. Design and performance evaluation of PID, Fuzzy logic and ANN controllers based MPPTs for hybrid electric vehicle applications. International Journal of Ambient Energy 2022, 43, 3661–3675. [Google Scholar] [CrossRef]
  17. Banda, M.K.; Koduru, S.S.; Machina, V.S.P.; Madichetty, S. A Deep Learning Based Cyber Attack Detection and Mitigation Scheme in Synchronous Buck Converter. In Proceedings of the 2022 IEEE International Conference on Power Electronics, Drives and Energy Systems (PEDES). IEEE, 2022, pp. 1–6.
Figure 2. Circuit diagram of non-isolated bi-directional converter.
Figure 2. Circuit diagram of non-isolated bi-directional converter.
Preprints 72047 g002
Figure 3. Operation of converter in charging mode (a) switch Q 1 on (b) switch Q 1 off .
Figure 3. Operation of converter in charging mode (a) switch Q 1 on (b) switch Q 1 off .
Preprints 72047 g003
Figure 4. Operation of converter in discharging mode (a) switch Q 2 on (b) switch Q 2 off.
Figure 4. Operation of converter in discharging mode (a) switch Q 2 on (b) switch Q 2 off.
Preprints 72047 g004
Figure 5. Implementation of DNN based bi-directional converter.
Figure 5. Implementation of DNN based bi-directional converter.
Preprints 72047 g005
Figure 6. DNN model with 1.Input layer 2. Two hidden layers and 3. output layer.
Figure 6. DNN model with 1.Input layer 2. Two hidden layers and 3. output layer.
Preprints 72047 g006
Figure 7. Inductor current for mode transistion from charging to discharging using PID controller.
Figure 7. Inductor current for mode transistion from charging to discharging using PID controller.
Preprints 72047 g007
Figure 8. Inductor current for mode transistion from discharging to charging using PID controller.
Figure 8. Inductor current for mode transistion from discharging to charging using PID controller.
Preprints 72047 g008
Figure 9. Real-time setup of DNN based bi-directional converter.
Figure 9. Real-time setup of DNN based bi-directional converter.
Preprints 72047 g009
Figure 10. Inductor current during mode transition from charging to discharging using DNN.
Figure 10. Inductor current during mode transition from charging to discharging using DNN.
Preprints 72047 g010
Figure 11. Voltage of HV battery during mode transition from charging to discharging using DNN.
Figure 11. Voltage of HV battery during mode transition from charging to discharging using DNN.
Preprints 72047 g011
Figure 12. Voltage of LV battery during mode transistion from charging to discharging using DNN.
Figure 12. Voltage of LV battery during mode transistion from charging to discharging using DNN.
Preprints 72047 g012
Figure 13. Inductor current during mode transition from discharging to charging using DNN.
Figure 13. Inductor current during mode transition from discharging to charging using DNN.
Preprints 72047 g013
Figure 14. Voltage of HV battery during mode transistion from discharging to charging using DNN controller.
Figure 14. Voltage of HV battery during mode transistion from discharging to charging using DNN controller.
Preprints 72047 g014
Figure 15. Voltage of LV battery during mode transition from discharging to charging using DNN Controller.
Figure 15. Voltage of LV battery during mode transition from discharging to charging using DNN Controller.
Preprints 72047 g015
Table 1. Hyperparameter Selection
Table 1. Hyperparameter Selection
Epochs Optimizer Activation function
Sigmoid ReLU Tanh
50 Adam 0.02256 0.00082 0.003549
RMSprop 0.03945 0.00652 0.00701
SGD 0.15299 0.00091 0.00752
Adam 0.00707 0.00049 0.00089
100 RMSprop 0.03002 0.00278 0.00291
SGD 0.08281 0.00028 0.00457
Adam 0.00501 0.00161 0.00191
150 RMSprop 0.00635 0.00381 0.00514
SGD 0.04432 0.00060 0.00402
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.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2024 MDPI (Basel, Switzerland) unless otherwise stated