image thumbnail

DC-DC Step-Down (Buck) Converter with Close-Loop Power Ctrl

version 1.0.1 (123 KB) by Chunpeng LI
This model demonstrates the fundamental principle of a DC-DC buck converter that controls the output power with a closed loop PI control.


Updated 11 Mar 2019

View License

One 1 V source is connected at the input of the buck converter, and a 0.5 V voltage with a 0.1 Ohm inner resistance is connected at the output to represent a battery to be charged. The output power (charging power) is under control using a closed loop PI controller. The controller is to adjust the PWM duty-ratio of the buck converter to change to the output voltage. The output V, I are measured and multiplied to be feedback to the controller to be compared with the target charging power. Accordingly, the closed loop power control is realised.

DashBoard tools are used to make the model more interesting and intuitive.

Welcome any question and suggestions by email: I'll try to reply.

Cite As

Chunpeng LI (2021). DC-DC Step-Down (Buck) Converter with Close-Loop Power Ctrl (, MATLAB Central File Exchange. Retrieved .

Li, Chunpeng, et al. “Metrology Requirements of State-of-the-Art Protection Schemes for DC Microgrids.” The Journal of Engineering, vol. 2018, no. 15, Institution of Engineering and Technology (IET), Oct. 2018, pp. 987–92, doi:10.1049/joe.2018.0254.

View more styles
MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!