Power Electronics, Electric Vehicles

A Comprehensive Review of Vehicle-to-Vehicle Bidirectional Emergency Charging Systems and ESP32-Controlled Four-Switch Buck-Boost Converter Architecture

Ravindra Lohar1, Raviraj Vilas Kumbhar2, Sudesh Krushnat Barkale2, Pranav Sagar Lohar2, Aditya Sanjay Randive2

1Guide, Department of Electrical Engineering, Dr. D. Y. Patil Pratishthan’s College of Engineering, Salokhenagar, Kolhapur, Maharashtra, India

2Department of Electrical Engineering, Dr. D. Y. Patil Pratishthan’s College of Engineering, Salokhenagar, Kolhapur, Maharashtra, India

Published December 2026

Abstract

The quick rise of Electric Vehicles (EVs) has made the need for local battery charging solutions stronger, as people worry about running out of power and find few roadside chargers. Vehicle-to-Vehicle (V2V) bidirectional charging gives an emergency option by letting one EV with extra stored energy give power directly to another EV that has low charge. This paper gives a technical review of V2V energy transfer methods, covering Wireless Power Transfer (WPT) systems, Vehicular Ad-hoc Network (VANET) coordination, reconfigurable wired-wireless setups, and two-way DC-DC converter designs that appear in recent papers. Building on that, the paper looks closely at the design, operation, circuit layout, part sizing, and control steps of an ESP32-controlled four-switch non-inverting buck-boost (FSBB) converter made for two 7S3P lithium-ion battery packs (25.9 V nominal, 9 Ah each). Key technical features gathered include buck and boost power flow over over-lapping 21.0–29.4 V battery voltage ranges, 40 kHz pulse-width modulation (PWM) with IR2104 half-bridge drivers, closed-loop Constant-Current Constant-Voltage (CC-CV) regulation at 3 A nominal charging current, voltage-divider and ACS712-20A current sensing, real-time State-of-Charge (SOC) display on a 16×2 I2C LCD and a Wi-Fi web dashboard, and layered protection that uses Battery Management Systems (BMS), fuses, relays, thermal sensing, and a hardware emergency stop. Calculations that give the rating (72 W output, 75.79 W input at 95% efficiency, 87.78% donor duty cycle), new FSBB soft-switching and mode-switching ideas from IEEE papers, and real-world deployment limits are put together to help future V2V emergency charger projects.

Keywords: Bidirectional DC-DC converter; constant-current constant-voltage charging; electric vehicle; ESP32 mi-crocontroller; four-switch buck-boost converter; state-of-charge estimation; vehicle-to-vehicle charging

1Introduction

Electric Vehicles, or EVs, are becoming a core element of sustainable transportation because they can cut down the use of fossil fuels and lower vehicle emissions. Even though battery chemistry and drivetrain efficiency have improved quickly, the spread of EVs is still limited by the amount of energy that can be stored in a vehicle and by the uneven distribution of charging stations. This problem is especially acute on highways and in remote areas when a vehicle runs out of charge unexpectedly.

Vehicle-to-Vehicle, or V2V, bidirectional charging can solve this problem. It allows two EVs to share electricity directly, without the need for a fixed grid-connected charging station. In a V2V session, the vehicle with spare charge acts as the donor, while the vehicle that needs power becomes the receiver. Because the power stage is symmetric, either battery pack can become the donor or the receiver whenever it is needed. This feature turns EVs into mobile emergency power banks.

2Literature review of V2V charging methodologies and bidirectional converters

2.1Wireless V2V and mobile coordination frameworks

Early studies on V2V charging focused on Wireless Power Transfer (WPT) to reduce the need for cables, avoid the wear and tear of connectors, and eliminate the risks that come with exposed conductors [1]. Mou et al. [1] developed a V2V system based on magnetic resonant coupling, showing that energy can be shared between vehicles without wires and that this can help support charging when fixed stations are not available. In another study, Mou et al. [2] built a model to analyze how much power can be transferred and how efficient the process is when one electric vehicle powers another. They used ANSYS finite-element simulations to compare different coil shapes—square, circular, and hybrid—and found that square coils paired together give better coupling and higher efficiency. They also tested compensation circuits, like LCL-LCL and LCL-P, and found these topologies keep high efficiency even when the load changes [2].

Later, Mou et al. [3] discovered a physical challenge with wireless V2V charging when coils are mounted on the front and rear bumpers. Unlike charging from the ground to a vehicle, where shifting sideways is the main problem, front-to-rear alignment causes angular misalignment. This

misalignment hurts the Power Transfer Efficiency (PTE), which led to the need for coil designs that can handle angles [3].

At the fleet level, Li et al. [4] created a system using Vehicular Ad-hoc Network (VANET) technology. This system helps coordinate vehicles that share energy while highlighting how sensitive wireless V2V links are to coil misalignment. Similarly, Nezamuddin and dos Santos [5] looked into wireless V2V charging during trips as an alternative to overhead power lines or charging coils built into the road. They suggested using semi-centralized Mobile Edge Computing (MEC) over VANET links to manage and dispatch these vehicles efficiently.

2.2Conductive, reconfigurable and bidirectional DC-DC topologies

While wireless power transfer is convenient, conductive charging is often better for emergency situations on the road. This is because conductive charging avoids the losses that come from coils, the need for two conversion stages (inverter and rectifier), and the extra magnetic components used in wireless systems. Recent studies have explored hybrid approaches. Reddimalla et al. [6] proposed a power transfer method using the vehicle’s internal network and a capacitor-link interface. Xie et al. [7] introduced a system that can switch between wired and wireless V2V modes, making it flexible and easy to use in different situations.

Overall studies of EV power electronics show that the layout of the converter and the feedback control are key to how well a charger that can charge and discharge works. Rana et al. [8] looked at Vehicle-to-Grid (V2G) converter designs and control methods, while Ahmed et al. [9] showed that nonlinear control can be very strong when moving from Grid-to-Vehicle (G2V) to V2G. To deal with changes in battery voltage, Gholami et al. [10] and Heydari-doostabad and O’Donnell [20] investigated converters that can work over a wide range of voltages and have high voltage gain. Meanwhile, Veerakgoundar et al. [11] suggested a lossless direct-path reinforced design that reduces conduction losses inside the car charger.

Both isolated and non-isolated designs have made progress. Voltage feed-forward Dual Active Bridge (DAB) converters [12] and high-voltage G2V/V2G chargers [13] give galvanic isolation, though they need more components. In contrast, single-inductor on-board designs for V2V [14] and PI-controlled SEPIC/ZETA converters [15] aim to use fewer passive parts.

2.3Advances in four-switch buck-boost (FSBB) control

Among non-isolated designs, the Four-Switch Buck-Boost (FSBB) converter stands out as uniquely well-suited to V2V battery-to-battery transfer because it preserves positive (non-inverting) output polarity, minimizes switch voltage stress to the port voltage, uses a single shared inductor, and operates symmetrically across step-down

(Vdonor > Vreceiver) and step-up (Vdonor < Vreceiver) regimes [16]. Recent IEEE studies have elevated FSBB performance through multi-variable modulation. Xiao et al. [16] combined PWM and phase-shift control to achieve Zero-Voltage Switching (ZVS) across all four switches in both forward and reverse directions, demonstrating that triggering power-flow reversal during low-side conduction eliminates current overshoot. Gallo and Caldognetto [17] formulated energy-based modeling for closed-loop output voltage and ZVS base-current regulation using compact analytical expressions. To maximize full-range efficiency, Qiu et al. [18] applied frequency-domain analysis across buck-leg duty, boost-leg duty, and phase shift, while Liao

et al. [19] introduced Lagrange-multiplier-based optimiza-

tion for four-mode modulation, reducing losses across wide voltage swings. Table 1 contrasts V2V converter paradigms

Table 1. Comparative assessment of V2V charging architectures and bidirectional DC-DC topologies.
Architecture Polarity / isolation Key advantage Primary limitation
Wireless WPT [1]–[3] Contactless / magnetic Cable-free safety and convenience Angular coil misalignment degrades PTE
Cascaded buck + boost Non-isolated, 2-stage Simple commercial modules Double conversion loss; unidirectional
Bidirectional SEPIC/ZETA [15] Non-isolated, positive Continuous port current Higher passive count; lower power density
Isolated DAB [12] Galvanically isolated High power and ZVS capability Transformer volume; 8 active switches
Non-isolated FSBB [16], [18] Non-isolated, positive Single inductor; symmetric buck/boost Requires mode transition control

2.4Four-switch bidirectional buck-boost circuit architecture

Figure 2 presents the power-stage circuit of the four-switch non-inverting bidirectional buck-boost converter. Half-Bridge A comprises high-side MOSFET Q1 and low-side MOSFET Q2 (IRF3205, 55 V, TO-220) forming

switch node SW_A, while Half-Bridge B comprises high-side MOSFET Q3 and low-side MOSFET Q4 forming

switch node SW_B. All transferred power traverses the 100 µH toroidal inductor L1 connecting SW_A to SW_B. Each port incorporates a 10 A fuse, a 30 A automotive isolation relay driven via a BC547 transistor and 1N4007 flyback diode, an ACS712-20A Hall-effect current sensor, a 100 kΩ/10 kΩ voltage divider, two parallel 1000 µF/63 V low-ESR electrolytic capacitors, and a 1 µF/100 V high-frequency film bypass capacitor.

2.5Symmetric buck-boost operating principle

Because both 7S3P battery packs operate within the 21.0–29.4 V window, a unidirectional step-down or step-up stage cannot accommodate arbitrary donor-receiver states. Under average-voltage modeling, each half-bridge acts as a controlled DC source with VSW,A = DAVA and VSW,B = DBVB, yielding steady-state inductor current:

I L = D A V A − D B V B R l o o p (1)

where Rloop = 0.30 Ω covers the total series resistance of MOSFETs, inductor winding, relays, fuses, wiring, and pack internals. Maximum duty cycle is capped at 95% so the bootstrap capacitor recharges in the IR2104 drivers during every 40 kHz switching period. Table 2 summarizes the four operating modes that allow smooth energy exchange in either direction.

Table 2. Symmetric operating modes of the four-switch buck-boost converter.
Direction Voltage condition Donor leg Receiver leg Mode
A → B VA > VB PWM (DA) High-side (95%) Buck
A → B VA < VB High-side (95%) PWM (DB) Boost
B → A VB > VA PWM (DB) High-side (95%) Buck
B → A VB < VA High-side (95%) PWM (DA) Boost

3ESP32-controlled four-switch bidirectional V2V system architecture

3.1System block diagram and functional subsystems

Figure 1 illustrates the system-level block diagram of the reviewed ESP32-controlled V2V charging platform, preserving the symmetric dual-vehicle architecture. Two identical 7S3P lithium-ion battery packs (Vehicle 1 and Vehicle 2, each rated at 21–29.4 V, 25.9 V nominal, 9 Ah) interface with sensing, protection, and half-bridge switching stages across a shared toroidal inductor L1 (100 µH, 10 A, 40 kHz). Auxiliary control power is derived via a Diode-OR network (two SR560 Schottky diodes feeding LM2596 12 V and 5 V buck regulators) connected to both vehicles so that the ESP32, gate drivers, relays, sensors, and display remain powered regardless of which pack holds the higher terminal voltage. Local monitoring is provided by a 16×2 I2C LCD, three status LEDs, and a 5 V buzzer, complemented by an ESP32 Wi-Fi web dashboard for remote direction selection and telemetry.

System block diagram of the ESP32-controlled four-switch buck-boost V2V charging system.
Figure 1. System block diagram of the ESP32-controlled four-switch buck-boost V2V charging system.
Power-stage circuit schematic of the four-switch non-inverting bidirectional buck-boost V2V converter, showing the dual half-bridges (Q1-Q4), the shared inductor L1, the gate-drive inputs, the sensing circuits, the bulk capacitors, the relays and the fuses.
Figure 2. Power-stage circuit schematic of the four-switch non-inverting bidirectional buck-boost V2V converter, showing the dual half-bridges (Q1-Q4), the shared inductor L1, the gate-drive inputs, the sensing circuits, the bulk capacitors, the relays and the fuses.

3.2Operational and embedded control flow

Figure 3 depicts the embedded ESP32 firmware flowchart

executing this closed-loop 10 ms regulation and latched fault-protection sequence.

Embedded ESP32 firmware flowchart covering initialization, pre-checks, the 0.5 A/s soft start, the 10 ms CC-CV buck/boost regulation and the latched shutdown.
Figure 3. Embedded ESP32 firmware flowchart covering initialization, pre-checks, the 0.5 A/s soft start, the 10 ms CC-CV buck/boost regulation and the latched shutdown.

4Hardware selection, analytical rating calculations and safety architecture

4.1Hardware components selection

Table 3 consolidates the core hardware components specified for the dual-pack 7S3P V2V bidirectional pro-totype. Each battery pack uses 21 18650 lithium-ion cells (3000 mAh each, 42 cells total) managed by an independent 7S 20 A balancing BMS. Power switching uses four TO-220 IRF3205 MOSFETs mounted on a 60×50 mm aluminium heatsink cooled by a 12 V fan, while hardware isolation relies on dual 30 A automotive relays, 10 A fuses, and a normally closed (NC) mushroom emergency stop switch.

Table 3. Selected hardware components for the dual-7S3P V2V prototype.
Component Selected specification / model Qty
Battery cells 18650 Li-ion, 3000 mAh (dual 7S3P packs) 42
BMS 7S, 20 A with cell balancing 2
Microcontroller ESP32 DevKit V1, 38-pin, Wi-Fi 1
Power MOSFET IRF3205, 55 V, TO-220 (+2 spare) 4
Gate driver IC IR2104 half-bridge driver 2
Power inductor 100 µH, 10 A toroidal inductor 1
Bulk capacitors 1000 µF, 63 V low-ESR electrolytic 4
Bypass capacitors 1 µF, 100 V film capacitor 2
Current sensors ACS712-20A Hall-effect module 2
Voltage sensing 100 kΩ and 10 kΩ resistive dividers 2 sets
Thermal DS18B20 waterproof, 60 × 50 mm heatsink, 12 V fan 1 set
Isolation relays 30 A, 12 V automotive relay + BC547/1N4007 2 sets
Auxiliary power SR560 (5 A, 60 V) Schottky; LM2596 (12 V, 5 V) 2 ea
HMI and safety 16 × 2 I2C LCD, 5 V buzzer, 3 LEDs, NC E-stop 1 set
Interconnects XT60 pairs (3), double-sided PCB, enclosure 1 set

For the reference MATLAB/Simulink averaged DC-DC converter case (A → B buck transfer over a 600 s simulation window), the donor battery starts at VA = 27 V (initial SOC = 72.4%, 9 Ah) and the receiver battery

starts at Vʙ = 24 V (initial SOC = 41.3%, 9 Ah). With a target charging current Ichg = 3 A ramped at 0.5 A/s, the current reaches 3 A at 6.1 s. The receiver output power, donor input power (at η = 95%) and donor discharge current are:

P o u t = V B I c h g = 24 × 3 = 72 W (2)
P i n = P o u t η = 72 0.95 = 75.79 W , I A = P i n V A = 2.81 A (3)

Accounting for the loop voltage drop VR = Ichg Rloop = 3 × 0.30 = 0.9 V and holding the receiver half-bridge at DB = 0.95 (DB VB = 22.8 V), the required donor duty cycle is DA = (22.8 + 0.9)/27 = 87.78%.

0.95 (DBVB = 22.8 V), the required donor duty cycle is DA = (22.8 + 0.9)/27 = 87.78%. Across the 600 s run, the PI-controlled converter holds the charging current steady near 3 A while the donor SOC drops and the receiver SOC rises smoothly.

4.2CC-CV charging profile and hybrid SOC tracking

a 3 A (0.33C) Constant-Current stage while the receiver voltage climbs toward the CV threshold of 29.2 V (4.17 V per cell). When the CV threshold is reached, the controller locks the voltage and slowly reduces the charging current until the current falls below 0.3 A or the donor reserve is cut off.

CC-CV charging profile, showing the 0.5 A/s soft-start ramp to 3 A, the constant-current plateau, the 29.2 V constant-voltage taper and the complementary donor and receiver SOC trajectories.
Figure 4. CC-CV charging profile, showing the 0.5 A/s soft-start ramp to 3 A, the constant-current plateau, the 29.2 V constant-voltage taper and the complementary donor and receiver SOC trajectories.

4.3Three-tier safety and fault protection hierarchy

Table 4. Three-tier safety and protection hierarchy of the V2V system.
Tier Protection element Monitored condition and action
Cell level Dual 7S 20 A BMS Individual cell over/under-voltage, active cell balancing, pack cutoff
Hardware level 10 A fuses, 30 A relays, NC E-stop Short-circuit interruption; instant gate-driver shutdown, independent of ESP32
Firmware level ESP32 10 ms loop, ACS712, DS18B20 Over-current, receiver over-voltage, donor under-voltage, heatsink overheating; PWM off and relay trip

5Engineering limitations and future scope

Looking at the V2V design and recent power-electronics papers shows several limits and ways to improve later on:

6Conclusion

This paper presented a review of Vehicle-to-Vehicle bidirectional emergency charging designs. It covered resonant wireless links, VANET coordination, and both isolated and non-isolated bidirectional DC-DC converters. A key focus was an ESP32-controlled four-switch non-inverting buck-boost converter that works with two 7S3P (25.9 V, 9 Ah) lithium-ion packs.

Unlike wireless V2V links that face problems when the coils are not lined up, or a chain of one-way converters that lose power twice, the symmetrical four-switch layout makes it easy to step voltage down and boost voltage up in either direction using one 100 µH inductor. The design was checked at 3 A charging current, giving 72 W of output, 75.79 W of input, 95% efficiency and 87.78% donor duty cycle while running in closed-loop CC-CV mode. Local LCD readouts and a Wi-Fi web dashboard let users watch the system, and a three-level safety system keeps everything safe. Adding better ZVS multi-mode switching, stronger heat handling, CAN-BMS communication and real-world hardware tests will make V2V emergency help faster and easier.

Acknowledgement

The authors thank the Department of Electrical Engineering for its guidance, mentorship and constant support throughout this work. The authors also thank Campus Director Dr. Abhijeet M. Mane, Principal Dr. Suresh D. Mane, Head of Department Dr. Vidya N. Abdulpur, and the DYP Group at Dr. D. Y. Patil Pratishthan’s College of Engineering, Salokhenagar, Kolhapur, for providing the resources and research environment that supported this study.

References

  1. [1]X. Mou, R. Zhao, and D. T. Gladwin, “Vehicle to Vehicle Charging (V2V) Bases on Wireless Power Transfer Technology,” in Proc. IECON 2018 – 44th Annu. Conf. IEEE Ind. Electron. Soc., Washington, DC, USA, Oct. 2018, pp. 4862–4867.
  2. [2]X. Mou, R. Zhao, and D. T. Gladwin, “Vehicle-to-vehicle charging system fundamental and design comparison,” in Proc. IEEE Int. Conf. Ind. Technol. (ICIT), Melbourne, Australia, Feb. 2019, pp. 1628–1633.
  3. [3]X. Mou, R. Zhao, H. Sun, D. T. Gladwin, and Z. Yang, “Coil Design for Wireless Vehicle-to-Vehicle Charging Systems,” IEEE Access, vol. 8, pp. 172723–172733, 2020.
  4. [4]G. Li, J. Wu, Q. Sun, L. Boukhatem, and J. Yang, “Intelligent Vehicle-to-Vehicle Charging Navigation for Mobile Electric Ve-hicles via VANET-Based Communication,” IEEE Access, vol. 6, pp. 30676–30689, 2018.
  5. [5]O. Nezamuddin and E. C. dos Santos Jr., “Vehicle-to-Vehicle In-Route Wireless Charging System,” Dept. Elect. Comput. Eng., Purdue School of Eng. Technol., Indianapolis, IN, USA.
  6. [6]M. Reddimalla et al., “Electric Vehicle to Vehicle (V2V) Power Transfer with On-Board Network and Capacitor-Link,” 2024.
  7. [7]R. Xie et al., “A Simple Integrated Solution of Reconfigurable Wired and Wireless Vehicle-to-Vehicle (V2V) Charging Sys-tem,” Wireless Power Transfer, 2024.
  8. [8]R. Rana et al., “V2G Based Bidirectional EV Charger Topolo-gies and Its Control Techniques: A Review,” Discover Applied Sciences, vol. 6, 2024.
  9. [9]I. Ahmed et al., “Robust Nonlinear Control of Battery Electric Vehicle Charger in Grid-to-Vehicle and Vehicle-to-Grid Appli-cations,” J. Energy Storage, vol. 52, 2022.
  10. [10]Z. Gholami et al., “Bidirectional Wide Range and High Voltage Gain Buck-Boost DC-DC Converter for EV Chargers Empow-ering V2G-G2V Applications,” IET Power Electron., 2024.
  11. [11]V. Veerakgoundar, S. Subramaniam, and S. Chandrasekharan, “Lossless Direct Path Reinforced Bidirectional DC-DC Con-verter for On-Board Charger in Electric Vehicle,” Serbian J. Elect. Eng., 2024.
  12. [12]“An Efficient and Compact Voltage Feed-Forward DAB-Based Bidirectional DC-DC Converter for Onboard EV Charger,” Comput. Elect. Eng., vol. 122, 2025.
  13. [13]R. K. Prajapati and R. Kumar, “Design and Control of a High-Voltage Bidirectional Electric Vehicle Charger for G2V and V2G Applications,” Int. J. Circuit Theory Appl., 2026.
  14. [14]H. H. Mostafa et al., “Design of a Single Inductor Bidirectional DC Converter for V2V Energy Transfer: On-Board Charger Architecture,” Scientific Reports, vol. 16, 2026.
  15. [15]“Dynamic Modelling and PI Control Design for Bidirectional SEPIC/ZETA DC-DC Converter in Battery Applications,” in Proc. IEEE CONIT, 2024.
  16. [16]L. Xiao, X. Ruan, and C. K. Tse, “Smooth Reversal of Power Transfer Direction for ZVS Bidirectional Four-Switch Buck-Boost Converter,” IEEE Trans. Ind. Electron., vol. 72, no. 1, pp. 600–611, Jan. 2025.
  17. [17]E. Gallo and T. Caldognetto, “A Zero-Voltage Switching Con-trol for Four-Switch Buck–Boost Converters Using the Energy-Based Modeling,” IEEE Trans. Power Electron., vol. 40, no. 4, pp. 4759–4764, Apr. 2025.
  18. [18]G. Qiu, V. Khadkikar, B. Zahawi, and J. Liao, “Efficiency Optimization of Four-Switch Buck-Boost Converter Using Frequency-Domain Analysis,” IEEE Trans. Transport. Elec-trific., 2024.
  19. [19]J. Liao, G. Qiu, Y. Huang, and V. Khadkikar, “Lagrange-Multiplier-Based Control Method to Optimize Efficiency for Four-Switch Buck–Boost Converter Over Whole Operating Range,” IEEE Trans. Ind. Electron., vol. 70, 2023.
  20. [20]H. Heydari-doostabad and T. M. O’Donnell, “A Wide Range High Voltage Gain Bidirectional DC-DC Converter for V2G and G2V Hybrid EV Charger,” IEEE Trans. Ind. Electron., 2022.