Closed-Loop Buck Converter using Fuzzy Logic Controller
The buck converter is designed using 20 kHz switching frequency and operates in the continuous current mode. The fuzzy logic controller is implemented using a fixed range, which is -1 to +1. Therefore, it can be used for other controller. Note that the standardization of error (E=Output/Reference) is not a standard practice. You can remove this and replace it with a standard gain.
Please cited my paper if you using this simulation:
R. Ayop, C. W. Tan, and A. L. Bukar, "A Simple and Fast Computation Photovoltaic Emulator using Shift Controller," IET Renewable Power Generation, 2020.
Cite As
Razman Ayop (2025). Closed-Loop Buck Converter using Fuzzy Logic Controller (https://www.mathworks.com/matlabcentral/fileexchange/76805-closed-loop-buck-converter-using-fuzzy-logic-controller), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.