v2 Bidirectional Report
v2 Bidirectional Report
PROJECT REPORT
Submitted by
KAVYA M TCR21EE076
LIVIN LINTO LTCR21EE145
PARVATHY O G TCR21EE105
SREEPRIYA S TCR21EE122
MOHAMMED SUFAID K P TCR21EE090
to
The APJ Abdul Kalam Technological University
in partial fulfillment of the requirements for the award of the Degree
of
Bachelor of Technology
in
Electrical and Electronics Engineering
We, the undersigned, declare that the project report titled VEHICLE TO
VEHICLE BIDIRECTIONAL CHARGING USING DUAL ACTIVE BRIDGE
TOPOLOGY submitted for partial fulfillment of the requirements for the award of
the degree of Bachelor of Technology of the APJ Abdul Kalam Technological Uni-
versity, Kerala, is a bonafide work done by us under supervision of [Link] K.
Damodaran. This submission represents our ideas in our own words and where
ideas or words of others have been included, we have adequately and accurately
cited and referenced the sources. We also declare we have adhered to the ethics of
academic honesty and integrity and have not misrepresented or fabricated any data
or idea or fact or source in our submission. We understand that any violation of the
above will be a cause for disciplinary action by the institute and/or the University
and can also evoke penal action from the sources that have thus not been properly
cited or from whom proper permission has not been obtained. This report has not
been previously formed the basis for the award of any degree, diploma, or similar
title of any other University.
Place : Thrissur
Date : March 24, 2025
2
DEPARTMENT OF ELECTRICAL ENGINEERING
Government Engineering College Thrissur
Thrissur
680009
CERTIFICATE
KAVYA M
LIVIN LINTO
PARVATHY O G
SREEPRIYA S
MOHAMMED SUFAID K P
B. Tech. (Electrical and Electronics Engineering)
Department of Electrical Engineering
Government Engineering College Thrissur
i
ABSTRACT
ii
LIST OF ABBREVIATIONS AND SYMBOLS
Abbreviation Definition
EV Electric Vehicle
V2V Vehicle to Vehicle
ZVS Zero Voltage Switching
DAB Dual Active Bridge
V2G Vehicle to Grid
SoC State of Charge
CAN Controller Area Network
EMI Electromagnetic Interference
PWM Pulse Width Modulation
iii
CONTENTS
ACKNOWLEDGEMENT i
ABSTRACT ii
LIST OF FIGURES vi
Chapter 1. INTRODUCTION 1
1.1 BACKGROUND . . . . . . . . . . . . . . . . . . . . . . . 2
Chapter 2. 4
2.1 PROBLEM STATEMENT . . . . . . . . . . . . . . . . . . 4
2.2 OBJECTIVES . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.3 IMPORTANCE OF BIDIRECTIONAL V2V CHARGING . 4
Chapter 4. METHODOLOGY 9
4.1 SYSTEM SPECIFICATION . . . . . . . . . . . . . . . . . 9
4.2 SELECTION OF CONVERTER TOPOLOGY . . . . . . . 10
4.3 CONTROL PLAN . . . . . . . . . . . . . . . . . . . . . . 10
iv
5.1.1 ZERO VOLTAGE SWITCHING RANGE . . . 13
5.2 GALVANIC ISOLATION . . . . . . . . . . . . . . . . . . 13
5.3 BIDIRECTIONAL FLOW . . . . . . . . . . . . . . . . . . 14
5.4 SWITCHING FREQUENCY . . . . . . . . . . . . . . . . . 14
5.5 DC BLOCKING CAPACITOR . . . . . . . . . . . . . . . . 15
5.6 MODES OF OPERATION . . . . . . . . . . . . . . . . . . 15
5.6.1 MODE 1 . . . . . . . . . . . . . . . . . . . . 16
5.6.2 MODE 2 . . . . . . . . . . . . . . . . . . . . 17
5.6.3 MODE 3 . . . . . . . . . . . . . . . . . . . . 17
5.6.4 MODE 4 . . . . . . . . . . . . . . . . . . . . 18
5.6.5 ILLUSTRATION OF WAVEFORMS . . . . . 18
Chapter 6. DESIGN 21
6.1 DAB DESIGN . . . . . . . . . . . . . . . . . . . . . . . . 22
6.1.1 DESIGN OF TRANSFORMER . . . . . . . . 23
6.1.2 DESIGN OF INDUCTOR . . . . . . . . . . . 24
v
8.1.3 HCPL3120 . . . . . . . . . . . . . . . . . . . 36
8.1.4 IRF540 . . . . . . . . . . . . . . . . . . . . . 36
8.2 ALGORITHM OF PROGRAM . . . . . . . . . . . . . . . . 36
8.3 HARDWARE SETUP . . . . . . . . . . . . . . . . . . . . . 38
8.4 RESULTS . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Chapter 9. CONCLUSION 39
REFERENCES 41
vi
LIST OF FIGURES
vii
Chapter 1
INTRODUCTION
1.1 BACKGROUND
2
current switching techniques, though it faces constraints related to transformer turns
ratio utilization. Alternative topologies, such as modified half-bridge converters, of-
fer flexibility but may deal with high RMS currents. Lastly, two-stage topologies
improve voltage ratio alignment, albeit at the expense of requiring additional com-
ponents to sustain efficiency. Overall, DAB converters excel in their capacity to
manage versatile power levels and high efficiency, making them particularly well-
suited for applications like electric vehicle charging and grid integration.
3
Chapter 2
2.2 OBJECTIVES
V2V charging utilizing the Dual Active Bridge (DAB) topology facilitates
efficient, bidirectional energy transfer between electric vehicles by enabling precise
power flow control between two active H-bridges interconnected through an iso-
lated [Link] topology is well-suited for V2V due to its high efficiency,
power density, and simplified control, making it ideal for compact, vehicle-based
applications. DAB-based V2V systems optimize energy sharing, reduce reliance
on stationary chargers, and support a resilient, decentralized network for EV en-
ergy exchange.
In the proposed V2V bidirectional charging system, each electric vehicle
(Vehicle A and Vehicle B) is equipped with a battery and a DAB converter, as
illustrated in the block diagram.
When one vehicle needs to transfer energy to another, the control system
evaluates the state of charge (SOC) of both vehicles’ batteries, assesses power re-
quirements, and decides the direction of energy flow. For instance, if Vehicle A has
surplus energy and Vehicle B requires a charge, Vehicle A can initiate the transfer.
The control system coordinates the operation of the DAB converters in both
vehicles. It adjusts the power output, monitors the battery conditions, and ensures
that the energy transfer occurs within safe limits. The control algorithms are de-
signed to adapt to changing conditions, such as variations in battery voltage.
5
Chapter 3
LITERATURE SURVEY
Several charging topologies exist, each with its own advantages and disad-
vantages. Conductive charging, which includes AC and DC charging, is the most
common method. AC charging is further categorized into Level 1, Level 2, and
Level 3 (DC Fast Charging), with increasing power levels and charging speeds. In-
ductive charging, on the other hand, offers wireless charging convenience but is less
efficient and has limited power transfer capabilities.
V2V bidirectional charging allow EVs to exchange energy with each other,
creating a decentralized energy network. This technology offers several benefits, in-
cluding enhanced grid resilience, emergency charging, and optimized energy man-
agement. To fully realize the potential of V2V bidirectional charging, several ad-
vancements are required: high-power, high-efficiency power electronics, advanced
battery management systems, robust communication protocols, standardized charg-
ing interfaces, and viable economic models.
Several DC-DC converter topologies have been proposed for V2V charging
applications, each with its own advantages and disadvantages. Non-isolated topolo-
gies like the Buck-Boost and Cuk converters offer simplicity and low cost but suffer
from limited voltage gain and power density. Isolated topologies, on the other hand,
provide galvanic isolation and higher power density. The Flyback, Half-Bridge, and
Full-Bridge converters are examples of isolated topologies, each with its own trade-
offs in terms of complexity, efficiency, and power density.
Among the isolated topologies, the Dual Active Bridge (DAB) converter
stands out as a promising solution for V2V charging applications. It offers high
efficiency, high power density, and bidirectional power flow capabilities. The DAB
converter achieves high efficiency through soft-switching techniques and can han-
dle a wide range of voltage gain by adjusting the phase-shift angle between the two
bridges.
In conclusion, the selection of a suitable DC-DC converter topology for V2V
charging depends on various factors, including power level, voltage gain, efficiency,
and cost. While non-isolated topologies offer simplicity and low cost, isolated
topologies provide galvanic isolation and higher power density. Among the iso-
lated topologies, the Dual Active Bridge (DAB) converter stands out as a promising
solution due to its high efficiency, high power density, and bidirectional power flow
capabilities.
The Dual Active Bridge (DAB) converter has emerged as a highly effective
solution for bidirectional power conversion in various applications, especially in
DC microgrids and Vehicle-to-Grid (V2G) systems. Several studies have focused
on the design, simulation, and implementation of DAB converters, demonstrating
their versatility and efficiency across different domains. Joarder and Ghosh (2022)
explored the design and implementation of a DAB converter for DC microgrid ap-
plications, highlighting its ability to manage varying power flows and ensure system
stability. Their work emphasized the converter’s high efficiency, reduced current
stresses, and suitability for energy storage systems, which are crucial for enhancing
the reliability of DC microgrids. Similarly, Panchanathan et al. (2022) provided
an in-depth review of various bidirectional converter topologies for V2G systems,
underscoring the critical role of the DAB in enabling seamless power exchange
between electric vehicles and the grid. They noted the importance of optimizing
control strategies to improve power flow efficiency and mitigate reverse power loss
and harmonics in V2G systems. In addition, Yin et al. (2021) compared differ-
7
ent simulation methods for DAB converters across various simulation platforms
like MATLAB/Simulink and PSIM. Their study emphasized how different simu-
lation tools influence results, particularly in terms of accuracy and computation
time, offering valuable insights into the trade-offs between simulation approaches
for power electronics systems. A foundational contribution by Rodrı́guez Alonso
et al. (2010) provided a comprehensive study of DAB converters for bidirectional
DC/DC conversion, focusing on the principles of zero-voltage switching (ZVS)
and its impact on system efficiency. Their findings highlighted the DAB’s potential
in applications such as renewable energy integration, battery storage, and electric
vehicles, demonstrating its ability to achieve high efficiency and power density un-
der various operating conditions. Krismer and Kolar (2010) further contributed by
developing an accurate small-signal model of a bidirectional DAB converter for
automotive applications, emphasizing the importance of robust digital control to
maintain stability under dynamic load conditions. This small-signal model aids in
designing more precise control systems for automotive power electronics, where
fast response times are essential for safe and efficient operation. Collectively, these
studies highlight the significant advantages of the DAB converter, such as its bidi-
rectional power flow, high efficiency due to ZVS, and galvanic isolation, which are
essential for applications in microgrids, energy storage, and electric vehicles. How-
ever, challenges remain, including the complexity of designing control strategies
that ensure fast and stable operation, particularly in automotive and V2G applica-
tions, and the need for careful system design to mitigate parasitic losses. Further-
more, the transformer used in the DAB converter for isolation adds size and cost to
the system, which must be balanced with the performance benefits. Despite these
challenges, the DAB converter is poised for continued development, particularly in
its integration with renewable energy systems, electric vehicles, and future smart
grid applications, where bidirectional power conversion, efficiency, and reliability
are of paramount importance.
8
Chapter 4
METHODOLOGY
10
mizing the efficiency of the V2V charging system.
11
Chapter 5
DAB AND MODES OF OPERATION
The ZVS range in a DAB converter is determined by the phase shift between
the primary and secondary sides. A minimum phase shift is required to ensure ZVS
for all switching [Link] minimum phase shift depends on the input and
output voltage ratio and the inductor current.
By analyzing the inductor current waveform and the timing of the switching
transitions, it can be determined that the ZVS range is bounded by specific condi-
tions on the inductor current. These conditions ensure that the inductor current is
sufficient to discharge the output capacitances of the MOSFETs and achieve ZVS.
It’s important to note that the ZVS range is influenced by various factors,
including the load conditions, the input and output voltage levels, and the parasitic
capacitances of the MOSFETs. Careful design and control of the DAB converter
are essential to optimize ZVS operation and maximize efficiency.
Dual Active Bridge converter has ability to provide galvanic isolation be-
tween the input and output stages. This isolation is achieved through the use of a
high-frequency transformer.
Galvanic isolation offers several benefits like physically separating the in-
put and output stages, galvanic isolation significantly reduces the risk of electric
13
shock. The transformer acts as a barrier, preventing the propagation of common-
mode noise, which can interfere with sensitive electronic components. Galvanic
isolation can increase the reliability of the converter by minimizing the impact of
faults or disturbances in one stage on the other.
14
5.5 DC BLOCKING CAPACITOR
15
5.6.1 MODE 1
Here Switch S1 ,S4 and S7 ,S6 are on.I1 enters the transformer through dot
here and lives through the other dot as as I2 . The current flow in circuit as in the
loop.v1 is the primary voltage which is positive. the v2 in the secondary is negative
as per the dot convection.
As v1 positive v2 negative The voltage vL will be a large positive value the current
IL is the integral of vL which will be a rapidly increasing ramp.
vL = v12
vL = v1 − v2
v1 > 0, v2 < 0
vL = v1 − (−v2 ) = v1 + v2
1R
IL = L vL dt
16
5.6.2 MODE 2
Here Switch S1 ,S4 remains on and S5 ,S8 are turned on.I1 enters the trans-
former through dot here and lives through the other dot The current flow in circuit
as in the in the loops. v1 is the primary voltage which is positive. the v2 in the
secondary is also positive as per the dot convection and direction of current.
As v1 positive v2 positive The voltage vL will be a small positive value the current
IL is the integral of vL which will be a ramp increasing in small rate.
vL = v12
vL = v1 − v2
v1 > 0, v2 > 0
vL = v1 − (v2 ) = v1 − v2
1R
IL = L vL dt
5.6.3 MODE 3
Here Switch S2 ,S3 turned on keeping the switch S7 ,S6 on are [Link] current
flow in circuit as in the [Link] v1 is is negative and the v2 in the secondary is
positive as per the dot convection.
As v1 negative and v2 negative The voltage vL will be a large negative value as
shown in the wave form. the current IL is the integral of vL which will be a ramp
with large negative valued slope.
17
vL = v12
vL = v1 − v2
v1 < 0, v2 > 0
vL = −v1 − (v2 ) = −v1 − v2
1R
IL = L vL dt
5.6.4 MODE 4
Here Switch S2 ,S3 , S7 ,S6 are turned on. The current flow in circuit as in the
[Link] v1 is is negative and the v2 in the secondary is also negative as per the
dot convection.
As v1 negative and v2 negative The voltage vL will be a small negative value the
current IL is the integral of vL which will give a ramp of small negative slope.
vL = v12
vL = v1 − v2
v1 < 0, v2 < 0
vL = −v1 − (−v2 ) = −v1 + v2
1R
IL = L vL dt
Figure 4.6 illustrate the switching pulses given to various switches at dif-
ferent modes 1,2,3,4. Depending upon the gate pulses the primary voltage v1 and
18
Figure 5.5: Interval 4.
19
1 2 3 4
S1,S4
t
S2,S3
S5,S8
S6,S7
t
V1
V2
VL
iL
20
Chapter 6
DESIGN
Design of a dual active bridge DC-DC converter with an input voltage of 36V
and output voltage of 24V at a switching frequency of 50kHz, power as 200W
and a duty ratio of 50% with a phase shift of 90 degree for bidirectional flow.
The high frequency transformer for dual active bridge converter is designed
with primary voltage V1 as 36V secondary voltage V2 as 24V with primary
current I1 as 5.55A and secondary current I2 as [Link] power is taken
as 200W. The leakage inductance required for the DC-DC converter is pro-
vided with a leakage inductor of leakage inductance calculated from the DAB
design and considering transformer inductance.
6.1 DAB DESIGN
22
6.1.1 DESIGN OF TRANSFORMER
1
Skin depth = √π×µ×c×f = 0.3mm
We are using copper stranded wire of 24 SWG , AC = 0.25 mm2
4.2
Parallel turn in primary = 0.26 = 16 Turns
Parallel turn in secondary = 6.25
0.26 = 24 Turns
Mean Length = 69 mm
Take = 1.68 × 10−5 ohm mm
N1 l 8×1.68×10−5 ×69×10−6
Internal Resistance in primary Rp1 = A = 125×10−6
= 74.16 µohm
−5 ×69×10−6
Internal Resistance in secondary Rp2 = NA2 l = 5×1.68×10
125×10−6
= 46.35 µohm
Magnetising Inductance,
Le = 92.2 mm AC = 125mm2 µr = 1590
Le 92.2×10−3
Reluctance = µr µo AC = 1590×4×3.14×10−7 ×125×10−6
= 369159/H
N21 82 −4
Primary inductance = reluctance = 369159 = 1.73 × 10 H = 173 µH
N22 52
Secondary inductance = reluctance = 369159 = 6.77 × 10−5 H = 68 µH
36 −6 = 1.035 A
Magnetising Current = 2×1.73×10 −4 10 × 10
Energy Stored = L2m × I2m = 0.5 × 1.73 × 10−4 × 1.035 = 1.2 × 10−4 J
2
2N2 µ bW 2×82 ×4×3.14×10−7 ×(12.8×10−3 )
Leakage Inductance = 13ho = 3×2×14.2×10 −3 = 0.3093 µH [4][8]
23
6.1.2 DESIGN OF INDUCTOR
= 5.57A
q q
I21 I22 I1 I2 2×Φ 5.572 5.572
+ 5.57×5.57 1 − 2×90
ILrms = 3 + 3 + 3 1− 180 = 3 + 3 3 180
= 4.547A
Take Ip = 5.57A
Core Area calculation;
L×Ip
AC = N×Bm Bm = 0.2T
Conductor selection;
Let J = 4A/mm2
Irms 4.547
a = J = 4 = 1.1369mm2 , From SWG chart select 18SWG.
Core Window Area Calculation ;
KW = 0.4
N × a ⩽ AW × KW
L×Ip ×Irms 32.3838×10−6 ×5.57×4.547
AW AC = Bm×J×KW = 0.2×4×0.4 = 0.2544 × 104 mm4
Select the core E 42/15/21 with
Ac = 40 mm2
L×IP 32.3838×10−6 ×5.57
N= AC ×Bm = = 22.4775 ≈ 23 Turns
40 × 10−6 × 0.2
To find air gap ;
µ×N×Ip −7 ×23×5.57
Ig = Bm = 4π×10 0.2 = 0.804mm ≈ 1mm
Ig ×Bm −3
1×10 ×0.2
N= µ0×Ip = 4π×10−7 ×5.57 = 29 Turns
24
Chapter 7
SIMULATION AND RESULTS
The simulation for the dual active bridge bidirectional DC-DC converter was
implemented using MATLAB.A 36V,6Ah and 24V 9Ah batteries were used for the
simultion as per the design.A phase delay of ±5e-6 for 90°phase shift was given for
bidirectional power flow. The power flow was observed with SOC 60% and 10%.
The simulation of the Dual Active Bridge (DAB) converter was conducted with an
input voltage of 36 V and a target output voltage of 24 V. The simulation results
indicate successful operation of the converter.
The simulation results obtained are; Output Voltage: The output voltage sta-
bilized at a constant DC value of 24.96 V, confirming that the second battery
was successfully charged.
Output Current: The output current exhibited a periodic waveform, with an
average value of 7.058 A. This waveform aligns with the expected behavior
of the converter in steady-state conditions.
Power Transfer: The instantaneous and average power waveforms demon-
strate effective power transfer from the input to the output. The average power
output was measured to be 176.2 W, which is consistent with the converter’s
design objectives.
Battery Charging: A gradual increase in the State of Charge (SOC) of the sec-
ond battery was observed, indicating that the converter is efficiently charging
the battery.
Figure 7.1: Simulation diagram of positive phase shift
26
Figure 7.2: Input waveforms obtained on scope
During the experiment, a DC input voltage of 38.58V was applied to the sys-
tem. The observed input current waveform exhibited an average value of 4.708A,
while the corresponding input power waveform had an average value of 181.7W.
The system’s output was observed to have a DC voltage of 24.96V. The out-
put current waveform exhibited an average value of 7.058A, while the output power
waveform had an average value of 176.2W.
27
Figure 7.4: Inductor current and voltage across transformer of DAB for positive
phase shift
The waveforms of voltage across the primary and secondary of the trans-
former and current through the inductor were [Link] inductor current of av-
erage value 4.708A was obtained.
It is verified that switching of the MOSFET occurs when the voltage across
it is zero.
28
Figure 7.5: ZVS with positive phase shift
To observe power flow in opposite direction, the SOC of 36V battery was set
to 10% and that of 24V battery was set as 60%. a negative phase shift of 90°was
given to the converter for the powerflow. The phase daley corresponding to that is
-5 micro Seconds.
Results: Output Voltage: .
Output Current: s.
Power Transfer: T
Battery Charging: A gradual increase in the State of Charge (SOC) of the
first battery was observed, indicating that the converter is efficiently charging the
battery.
29
Figure 7.6: simulation diagram of negative phase shift
30
Figure 7.7: input waveforms of negative phase shift simulation
31
Figure 7.9: ZVS for negative phase shift
Figure 7.10: inductor current and voltage across transformer of DAB for negative
phase shift
32
7.2 CLOSED LOOP SIMULATION
nV1 δ (2 − δ )
Io , K = (7.1)
8 fs L
I0
δ 2 − 2δ + nV1
=0 (7.4)
8 fs L
s
I0
δ = 1− 1− nV1
(7.5)
8 fs L
Keeping the output current constant according to the C rating of the battery
used,different values of δ are obtained for different input voltage values.
The closed loop simulation for the dual active bridge bidirectional DC-DC
converter was implemented using MATLAB.A 36V,6Ah and 24V and a 9Ah bat-
teries were used for the simultion as per the design.A phase delay of δ calculated
based on the input voltage was given. The power flow was observed with SOC
60% and 10%. The simulation of the Dual Active Bridge (DAB) converter was
conducted with an input voltage of 36 V and a target output voltage of 24 V. The
33
simulation results indicate successful operation of the converter:
34
Chapter 8
HARDWARE AND EXPERIMENTATION
8.1 COMPONENTS
8.1.1 STM32F303RET6
36V 6Ah and 24 V 9Ah batteries are needed. Inorder to get 36V, three 12V
6Ah batteries are connected in series, similarly inorder to get 24V, two 12V 9Ah
batteries are connected in series.
8.1.3 HCPL3120
The HCPL-3120 gate drive optocouplers contain a GaAsP LED. The LED is
optically coupled to an integrated circuit with a power output stage. It is used for
driving MOSFETs. The high operating voltage range of the output stage provides
the drive voltages required by gate controlled devices.
8.1.4 IRF540
1. Initialize the STM32 HAL Library which resets peripherals, initializes the
Flash interface, and sets up the system tick timer.
36
Step 2:GPIO Configuration Enable the clock for GPIO ports A, B, and [Link]
the GPIO pins associated with TIM1 and TIM8 PWM outputs with the following
parameters:
. For TIM1, main output on PA8, complementary output on [Link] TIM 8,main
output on PC6, complementary output on PA7 .
Step 3: Timer Configuration
3. Both timers have a period of 1439 (counter rolls over at this value)
4. Both use PWM1 mode with a pulse width of 720 for 50%
Step 4:Pulse Generation The system will produce four synchronized PWM
signals:
Step 5:Infinite Execution Loop Enter an infinite while loop to allow the
STM32 microcontroller to keep [Link] timers operate independently, gener-
ating continuous PWM pulses with the specified phase shift.
37
8.3 HARDWARE SETUP
8.4 RESULTS
38
Chapter 9
CONCLUSION
• Field testing will be conducted to refine the system design and tackle prac-
tical challenges, ultimately contributing to a more effective V2V charging
solution.
BIBLIOGRAPHY
41
[6] F. Krismer and J. W. Kolar, ”Accurate Small-Signal Model for the Digi-
tal Control of an Automotive Bidirectional Dual Active Bridge,” in IEEE
Transactions on Power Electronics, vol. 24, no. 12,
42