A standard closed-loop buck converter controlled using a standard 25 rules 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 converter (probably). 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.