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.
Razman Ayop (2021). 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 CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!