Bidirectional Battery Charger using Buck-Boost Converter

Current-controlled bidirectional buck-boost converter model for battery energy storage, demonstrating both charging and discharging modes.

You are now following this Submission

This model demonstrates a bidirectional battery charger implemented using a buck-boost DC-DC converter with current control. The converter supports controlled battery charging and discharging by regulating the inductor current magnitude and direction.
During charging, the converter operates in buck mode, stepping down the DC bus voltage to charge the battery at a commanded current. During discharging, it operates in boost mode, transferring energy from the battery to the DC bus. Boost operation is verified using a DC-link capacitor and resistive load, where the bus voltage rises above the battery voltage.

Cite As

Praveen (2026). Bidirectional Battery Charger using Buck-Boost Converter (https://www.mathworks.com/matlabcentral/fileexchange/182963-bidirectional-battery-charger-using-buck-boost-converter), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Communities
Version Published Release Notes Action
1.0.0