Design and Implementation of a 4-Switch Bidirectional Synchronous Buck-Boost DC-DC Converter for Solar Charging Lights
Authors:
Anmol Govindarajpuram Krishnan, Aryan Jaljith, Mauli Rajguru
Department of Electrical and Electronics Engineering
Amrita Vishwa Vidyapeetham, Coimbatore, India
Roll Numbers: CB.EN.U4EEE23103, CB.EN.U4EEE23105, CB.EN.U4EEE23120
This report presents the design and implementation of a bidirectional four-switch synchronous buck-boost DC-DC converter for standalone solar battery charging applications. The converter enables efficient bidirectional power flow between a photovoltaic (PV) source and a 12 V lead-acid battery.
A microcontroller-based control system employs PWM switching integrated with MPPT and PID control for optimal power transfer and voltage regulation. The system performance was validated through MATLAB Simscape simulations and hardware prototyping, achieving a peak efficiency of 83%.
The converter operates in buck and buck-boost modes during PV-to-battery charging, and in buck, boost, and buck-boost modes during battery discharge. The proposed design demonstrates effective power management and high reliability for compact, renewable energy storage systems under varying solar irradiation conditions.
The repository includes two primary files related to this project:
- bidirection_buck_boost.slx — the main MATLAB/Simulink model implementing the four-switch bidirectional buck-boost converter.
- MPPT_plot.slx — a supporting file used for plotting and verifying the MPPT (Maximum Power Point Tracking) characteristics of the photovoltaic array.
These files together form the complete modeling and analysis setup for the converter design.
DC-DC converter, bidirectional converter, buck-boost converter, solar charging, MPPT algorithm, four-switch topology converter, solar battery charging
The growing demand for renewable energy has accelerated the development of efficient power conversion, especially for harvesting and storing solar energy. Standalone photovoltaic systems require reliable DC-DC converters capable of managing power flow between solar panels, energy storage devices, and loads under varying electrical and environmental conditions.
Conventional power management systems, particularly in existing solar-powered lights and search lamps, often rely on separate unidirectional converters for charging and discharging or employ isolated topologies. Such designs are bulky, complex, and suffer from increased costs and power losses, lacking the dynamics required for modern energy storage.
To address these limitations, this project introduces a bidirectional four-switch synchronous buck–boost DC–DC converter for high-power solar lighting systems. This topology offers a compact and efficient alternative that enables bidirectional energy flow — both battery charging (from solar) and discharging (to a lighting load) — using a single converter, which significantly reduces hardware complexity.
For extracting optimal power from photovoltaic modules whose output characteristics vary with irradiation and temperature, the system uses a PID feedback control strategy, eliminating the need for manual switching.
This project presents the simulated design and hardware implementation of the converter, which interfaces a Monocrystalline Silicon PV module (31.0 V, 8.08 A at maximum power) with a 12 V, 100 Ah lead-acid battery. An STM32 Nucleo G474RE microcontroller implements the PWM switching and PID control for optimal power management. The design was validated through MATLAB Simscape simulation and hardware testing, demonstrating stable operation in buck, boost, and buck–boost modes for both charging and discharging operation.
DC–DC converters are power electronic circuits that convert a fixed DC voltage into a different DC voltage level. They operate by periodically switching energy storage elements such as inductors and capacitors. The two most basic types are the buck (step-down) and boost (step-up) converters.
Buck Converter: Output voltage is lower than input voltage. [ V_{out,buck} = D \times V_{in} ]
Boost Converter: Output voltage is higher than input voltage. [ V_{out,boost} = \frac{V_{in}}{1 - D} ]
A bidirectional DC–DC converter allows power flow in both directions — from source to storage (buck) and storage to load (boost). This is crucial for systems like electric vehicles and solar charging setups.
Synchronous converters replace diodes with MOSFETs to minimize losses due to diode voltage drops. The two switches operate complementarily, enabling bidirectional current flow with reduced conduction loss.
Non-isolated converters do not use galvanic isolation. They are compact, efficient, and ideal for low-to-medium voltage systems like solar-battery setups. The input and output share a common ground.

Figure 1: Four-switch buck-boost converter circuit diagram.
The converter includes four MOSFETs (Q1–Q4), an inductor (L), and capacitors (Cin, Cout). Depending on voltage conditions, it operates in buck, boost, or buck-boost modes.
When PV voltage exceeds battery voltage: [ M_{buck} = \frac{V_{BAT}}{V_{PV}} = D ] 
[ M_{boost} = \frac{V_{BAT}}{V_{PV}} = \frac{1}{1 - D} ] This mode was not implemented for simplicity since it is rarely needed.
[ M_{buck-boost} = \frac{V_{BAT}}{V_{PV}} = \frac{D}{1 - D} ] 
Similar transitions occur in reverse:
-
Boost Mode: (Vbat < Vload)
 -
Buck Mode: (Vbat > Vload)

To maintain stability: [ L_{crit,buck-boost} = \frac{1}{\Delta i_l f_s} \cdot \frac{V_o}{1+\frac{V_o}{V_s}} ]
Traditional systems suffer from deadzones between buck and boost operation. This design avoids it via:
- Unified control algorithm
- Smooth mode transitions
- Buck-boost overlap mode
Model: Mitsubishi Electric PV-MLU250HC
- 250 W, 31 V, 8.08 A
- Voc = 37.6 V, Isc = 8.79 A
- Monocrystalline silicon
- Temp coefficient: -0.454 %/°C
Model: RS PRO 727-0427
- 12 V, 100 Ah sealed lead-acid AGM
- Float voltage: 13.5–13.8 V
- Max charge current: 30 A
- Operating: -15 °C to 50 °C
- Forward voltage: 3.72 V @ 1 A
- 120 lm at 1 A
- Thermal resistance: 9 °C/W
- Forward voltage: 2.8 V @ 350 mA
- 148 lm typical luminous flux
- Thermal resistance: 3 °C/W
Design target: 15 % ripple.
[
L_{max} = 59.629 \mu H
]
Selected: 100 µH toroidal core
Peak current: 21.5 A, RMS: 20 A
Use Litz wire to reduce skin effect.
[ C_{in} = \frac{I_o D}{8 f_s \Delta V_{in}} ] Selected: Cin = 100 µF, Cout = 500 µF.
Model: IRFZ44Z
- Vds = 100 V, Id = 20 A
- Rds(on) = 17.5 mΩ
- Losses (at 100 °C): 11.75 W per switch.
Driver: TLP250
- Peak output current: 2 A
- Built-in dead-time
- Frequency: up to 500 kHz
- Dead time: 500 ns chosen

Controller: STM32 Nucleo G474RE (ARM Cortex-M4)
- 75 kHz PWM frequency
- 4 PWM outputs with dead-time control
MPPT algorithm tracks maximum power via real-time PV I–V and P–V analysis.
PID controllers regulate PV voltage and current ensuring battery stability and smooth transitions between modes.
Automatic switching between:
- Buck (Vpv > Vbat + 2 V)
- Buck-Boost (Vpv ≈ Vbat)
- Boost (discharge mode)
-
Irradiance: 1000 W/m²


Hand-wound toroidal core, 26 AWG copper wire.

Charging Buck Mode:
Input: 24 V → Output: 12.21 V


Discharging Boost Mode:
Input: 12 V → Output: 14.71 V


Note:
The hardware implementation phase is still ongoing. Additional refinements, including closed-loop control integration, performance measurements, and PCB realization, are under active development and will be updated in future revisions of this project.
- Configuring Simscape PV and battery blocks for real-world parameters.
- Missing datasheet parameters for accurate simulation.
- Time constraints limited depth of component-level optimization.
- Open-loop control was used in hardware for simplicity; closed-loop requires additional MCU abstraction layers and signal conditioning.
- PCB design and SiC MOSFET integration.
- Hardware protection (OVP/OCP/Thermal).
- IoT-based data monitoring.
- Expansion to off-grid renewable systems and field lighting.
A 4-switch bidirectional synchronous buck-boost DC-DC converter was designed, simulated, and implemented for high-power solar lighting systems.
- Charging efficiency: 74–82 %
- Discharging efficiency: 81–83.2 %
The system successfully demonstrated stable bidirectional operation and reliable mode transitions.
The authors thank Dr. Mohanrajan S.R. for his guidance and the Department of Electrical and Electronics Engineering, Amrita Vishwa Vidyapeetham, for laboratory support and resources.
- M. H. Rashid, Power Electronics: Circuits, Devices, and Applications, 4th Ed., Pearson, 2014.
- N. Mohan, T. M. Undeland, W. P. Robbins, Power Electronics: Converters, Applications, and Design, 3rd Ed., Wiley, 2003.
- R. W. Erickson, D. Maksimovic, Fundamentals of Power Electronics, 3rd Ed., Springer, 2020.
- X. Li et al., “Four-Switch Buck–Boost Converter Based on Model Predictive Control With Smooth Mode Transition Capability,” IEEE Trans. Ind. Electronics, 68(10), 2021.
- J.-K. Shiau et al., “Circuit Simulation for Solar Power Maximum Power Point Tracking with Different Buck-Boost Converter Topologies,” Energies, 7(8), 2014.
- S. Das, “Bi-Directional Converter Topology for Solar-Battery Charging,” Int. Res. J. Modern Eng. Technol. Sci., 2(9), 2020.
- Texas Instruments, “Test Report: PMP21529 4-Switch Buck-Boost Bi-directional DC-DC Converter Reference Design,” Application Report TIDT046, 2018.
| 🧑🤝🧑 Name | 🛠️ GitHub | |
|---|---|---|
| Mauli Rajguru | ||
| Aryan Jaljith | ||
| Anmol Krishnan |













